1 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (Fconcord_decode_object): Try to use readable print
4 form as a key of Concord-index.
5 (Fconcord_object_get): Try to use readable print form as an ID of
7 (Fconcord_object_put): Try to use readable print form as an ID of
8 Concord-object and a feature value.
9 (Fconcord_object_spec): Try to use readable print form as an ID of
12 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * concord.c (print_concord_object): Support readable form.
16 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * emacs.c (main_1): Call `structure_type_create_concord' when
19 HAVE_CONCORD is defined.
21 * symsinit.h (structure_type_create_concord): New prototype.
23 * concord.c (Qconcord_object): New variable.
26 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
28 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
29 char*> for genre-name.
30 (Fconcord_feature_list): Likewise.
31 (Fconcord_make_object): Likewise.
32 (Fconcord_decode_object): Likewise; use <char*> instead of
33 <unsigned char*> for feature_name and strid.
34 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
35 c_obj and feature_name.
36 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
38 (struct closure_for_object_spec): Use <char*> instead of <unsigned
39 char*> for member `object_id'.
40 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
41 char*> for feature-name.
42 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
44 (func_for_each_object): Cast to avoid warnings.
45 (Fconcord_foreach_object_in_feature): Use <char*> instead of
46 <unsigned char*> for genre_name and feature_name.
47 (concord_name_validate): New function.
48 (concord_object_validate): Likewise.
49 (concord_object_instantiate): Likewise.
50 (syms_of_concord): Add new builtin symbols `concord-object',
52 (structure_type_create_concord): New function.
54 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * concord.c (Vconcord_ds_hash_table): New variable.
57 (Vconcord_genre_hash_table): New variable.
58 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
59 (Fconcord_ds_directory): New function.
60 (Fconcord_assign_genre): New function.
61 (Fconcord_genre_directory): New function.
62 (Fconcord_genre_ds): New function.
63 (Fconcord_feature_list): Allow to omit `ds'.
64 (Fconcord_make_object): Likewise.
65 (Fconcord_decode_object): Likewise.
66 (Fconcord_foreach_object_in_feature): Likewise.
67 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
68 Fconcord_assign_genre, Fconcord_genre_directory and
70 (vars_of_concord): Setup Vconcord_ds_hash_table and
71 Vconcord_genre_hash_table.
73 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * concord.c (struct closure_for_each_object): Add new member
77 (func_for_each_object): Setup the return value to
78 `for_each_object_closure->ret'.
79 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
80 returns the value instead of Qt.
82 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
84 * concord.c: New file.
86 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
89 `lrecord_type_concord_object'.
91 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * symsinit.h (syms_of_concord): New prototype.
94 (vars_of_concord): New prototype.
96 * emacs.c (main_1): Setup symbols and variable about concord if
97 HAVE_CONCORD is defined.
99 * config.h.in (HAVE_CONCORD): New macro.
101 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * chartab.c (Fput_char_attribute): For each character relation
104 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
106 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * chartab.c (Fput_char_attribute): Use
109 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
110 calling `put_char_composition'.
112 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * chartab.c (Q_halfwidth_of): New variable.
115 (put_char_composition): Return `<-halfwidth' instead of
116 `=decomposition' for compatibility mapping to single character
118 (Fput_char_attribute): Convert char-specs in value of
119 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
120 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
122 (syms_of_chartab): Add new symbol `<-halfwidth'.
124 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * chartab.c (put_char_composition): Return
127 `<-formed@{isolated|initial|medial|final}' for compatibility
128 mapping to single character tagged
129 `{isolated|initial|medial|final}'.
131 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * chartab.c (Q_compat_of): Deleted.
134 (put_char_composition): Return `<-FOO' for compatibility mapping
135 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
136 of `symbol_name (XSYMBOL(...))'.
137 (Fput_char_attribute): Convert char-specs in value of
138 `{<-|->}font[^*]*' to characters and put reverse links.
139 (Fsave_char_attribute_table): Don't refer Q_compat_of.
140 (syms_of_chartab): Delete builtin symbol `<-compat'.
142 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * chartab.c (Q_circled_of): New variable.
145 (put_char_composition): Return `<-circled' instead of
146 `=decomposition' for compatibility mapping to single character
148 (Fput_char_attribute): Convert char-specs in value of
149 `{<-|->}circled[^*]*' to characters and put reverse links.
150 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
152 (syms_of_chartab): Add new symbol `<-circled'.
154 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * chartab.c (Qto_decomposition_at_circled): New variable.
157 (put_char_composition): Return `=>decomposition@circled' instead
158 of `=decomposition' for compatibility decomposition mapping tagged
160 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
162 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * chartab.c (Q_subscript_of): New variable.
165 (put_char_composition): Return `<-subscript' instead of
166 `=decomposition' for compatibility mapping to single character
168 (Fput_char_attribute): Convert char-specs in value of
169 `{<-|->}subscript[^*]*' to characters and put reverse links.
170 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
172 (syms_of_chartab): Add new symbol `<-subscript'.
174 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * chartab.c (Q_superscript_of): New variable.
177 (put_char_composition): Return `<-superscript' instead of
178 `=decomposition' for compatibility mapping to single character
180 (Fput_char_attribute): Convert char-specs in value of
181 `{<-|->}superscript[^*]*' to characters and put reverse links.
182 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
184 (syms_of_chartab): Add new symbol `<-superscript'.
186 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * chartab.c (Qto_decomposition_at_compat): Deleted.
189 (Qto_decomposition_at_superscript): New variable.
190 (put_char_composition): Use `=>decomposition@superscript' instead
191 of `=decomposition' for compatibility decomposition mapping tagged
193 (Fput_char_attribute): Fix condition about `put_char_composition'.
194 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
195 add news symbol `=>decomposition@superscript'.
197 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
200 for compatibility decomposition mapping tagged FOO.
201 (Fput_char_attribute): Modify for `put_char_composition'.
203 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * chartab.c (Qto_decomposition_at_compat): New variable.
206 (Q_compat_of): Renamed from `Q_compatibility_of'.
207 (put_char_composition): Rename `Q_compatibility_of' to
208 `Q_compat_of'; return `=>decomposition@compat' for compatibility
209 decomposition mapping.
210 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
212 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
213 `<-compatibility' to `<-compat'.
215 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * chartab.c (Q_compatibility_of): New variable.
218 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
219 object is proved to be a cons cell; return `<-compatibility' if
220 the first element of argument `value' is `compat'.
221 (Fput_char_attribute): Eliminate the first value if
222 `put_char_composition' returns `<-compatibility'.
223 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
224 for `<-compatibility'.
225 (syms_of_chartab): Add new symbol `<-compatibility'.
227 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * chartab.c (Q_canonical): New variable.
230 (put_char_composition): Return a feature name: return
231 `->canonical' if argument `value' specifies single character.
232 (Fput_char_attribute): Use `put_char_composition' to determine
233 feature name for `=decomposition' or `->denotational'.
234 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
236 (syms_of_chartab): Add new symbol `->canonical'.
238 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * chartab.c (Qmap_decomposition): New variable.
241 (Fput_char_attribute): Convert `->decomposition' to
243 (syms_of_chartab): Add new symbol `=decomposition'.
245 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * chartab.c (Fget_range_char_table): Fix serious problem when
250 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * chartab.c (char_table_get_db): Use `read_from_c_string'.
254 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
256 * lread.c (read_from_c_string): New function.
258 * lisp.h (read_from_c_string): New prototype.
260 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * chartab.c (Fput_char_attribute): Convert char-specs in value of
263 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
264 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
265 for `{<-|->}Oracle-Bones[^*]*'.
267 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
272 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * text-coding.c (Qccs_priority_list): New variable in XEmacs
276 (Fmake_coding_system): Support new property `ccs-priority-list' in
278 (Fcoding_system_property): Likewise.
279 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
280 Vdefault_coded_charset_priority_list in XEmacs CHISE.
281 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
283 (complex_vars_of_file_coding): Define new coding-system-property
284 `ccs-priority-list' in XEmacs CHISE.
286 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
288 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
291 changed to normal function.
292 (encode_char_2): Likewise.
294 * mule-charset.c (decoding_table_put_char): Copied from
295 char-ucs.h; changed to normal function.
296 (encode_char_2): Likewise.
298 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
302 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
303 (encode_char_2_search_children): New inline function.
304 (encode_char_2): Refer
305 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
306 and use `encode_char_2_search_children'.
308 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
312 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
313 (vars_of_mule_charset): Add new variable
314 `display-coded-charset-priority-use-inheritance' and
315 `display-coded-charset-priority-use-hierarchy-order'.
317 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * char-ucs.h (Q_subsumptive): New extern.
320 (Q_denotational): Likewise.
321 (encode_char_2): Search children specified by `->subsumptive' and
324 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * mule-charset.c (complex_vars_of_mule_charset): Modify the
327 X-registry of `ucs-bmp'.
329 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (char-variants): Refer `->subsumptive',
332 `->denotational' and `->identical' as same as `->ucs-unified'.
334 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * chartab.c (Fput_char_attribute): Convert char-specs in value of
337 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
340 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * text-coding.c: Add EXFUN for `Fregexp_quote'.
343 (decode_add_er_char): Fix problem about infinite loop when a CCS
344 specified in `coded-charset-entity-reference-alist' is not
347 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
349 * mule-charset.c (syms_of_mule_charset): Rename
350 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
352 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * fns.c (simplify_char_spec): Don't allocate new character-object
355 if specified char_spec does not have any CCS-features.
357 * chartab.h: Add EXFUN for Fdefine_char.
359 * chartab.c: Delete EXFUN for Fdefine_char.
361 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * fns.c (simplify_char_spec): Use Fdefine_char instead of
364 Ffind_char for char-spec.
366 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * lisp-disunion.h (XCHARVAL): Fix condition about
371 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
375 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
376 point; use <Emchar> instead of <int> for character-id.
378 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
381 (make_char): Likewise.
382 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
384 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
385 instead of <int> as the type of return value; use <Lisp_Object>
386 instead of <Emchar> as the type of argument.
387 (XCHARVAL[macro version]): Cast the result into <Emchar>.
389 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
390 syntaxcode> instead of <int>.
392 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
394 * chartab.c (put_char_composition): Use DECODE_CHAR to get
395 character corresponding with UCS code point.
396 (Fput_char_attribute): Likewise.
398 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
399 character in the UCS decoding-table if the char-id is not equal to
402 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
405 for aliases; write `description'; write
406 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
409 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * chartab.c (Fsave_char_attribute_table): Don't use
412 `save_charset_properties'.
414 * mule-charset.c (Fsave_charset_properties): Renamed from
415 `save_charset_properties' and changed to Lisp function again;
416 write property `type' as `CCS'; write properties `final-byte' and
417 `mother' if they exists.
418 (syms_of_mule_charset): Revive builtin function
419 `save-charset-properties' when HAVE_LIBCHISE is defined.
421 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
424 instead of Vexec_directory.
425 (char_attribute_system_db_file): Likewise.
427 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * chartab.c (Fsave_char_attribute_table): Use
430 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
433 * mule-charset.c (save_charset_properties): Renamed from
434 `Fsave_charset_properties'; changed to non-Lisp function.
435 (syms_of_mule_charset): Abolish builtin function
436 `save-charset-properties'.
438 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * mule-charset.c (Fsave_charset_properties): New function when
441 HAVE_LIBCHISE is defined.
442 (syms_of_mule_charset): Add new builtin function
443 `save-charset-properties' when HAVE_LIBCHISE is defined.
445 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * chartab.c (Fput_char_attribute): Convert char-specs in value of
448 `{<-|->}ancient[^*]*' to characters and put reverse links.
449 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
450 for `{<-|->}ancient[^*]*'.
452 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * chartab.c (Fput_char_attribute): Convert char-specs in value of
455 `{<-|->}original[^*]*' to characters and put reverse links.
456 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
457 for `{<-|->}original[^*]*'.
459 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
463 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * mule-charset.c (Qsystem_char_id): New variable.
467 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
468 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
470 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * chartab.c (Fput_char_attribute): When processing a reference of
473 a character, put into the end of the reversed reference of each
476 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * chartab.c (Q_same): Deleted.
479 (Q_same_of): Deleted.
480 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
481 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
483 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
485 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * chartab.c (Q_vulgar): Deleted.
488 (Q_vulgar_of): Deleted.
489 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
490 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
492 (syms_of_chartab): Don't define `{<-|->}vulgar'.
494 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * chartab.c (Fput_char_attribute): Convert char-specs in value of
497 `{<-|->}wrong[^*]*' to characters and put reverse links.
498 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
499 for `{<-|->}wrong[^*]*'.
501 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * chartab.c (Q_vulgar): New variable.
504 (Q_vulgar_of): New variable.
505 (Fput_char_attribute): Convert char-specs in value of
506 `{->|<-}vulgar' to characters and put reverse links.
507 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
509 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
511 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * text-coding.c (decode_add_er_char): Must to quote prefix string
516 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * mule-charset.c (put_char_ccs_code_point): Store characters of
519 =ucs whose code_points >= 0xF0000.
521 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
525 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
527 (complex_vars_of_mule_charset): Add new coded-charset
528 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
529 builtin characters over 0xEFFFF.
531 * chartab.c (syms_of_chartab): Don't define symbol
532 `system-char-id' in every case.
534 * char-ucs.h (Qsystem_char_id): New extern variable.
535 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
537 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * text-coding.c (char_encode_utf8): Try to use entity-references
540 for U-000F0000 ... U-0010FFFF.
542 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * text-coding.c (ER_BUF_SIZE): New macro.
545 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
547 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
548 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
550 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (find_char_feature_in_family): New function.
553 (Fchar_feature): Use `find_char_feature_in_family' with
554 `->identical', `<-subsumptive' and `<-denotational'.
556 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * text-coding.c (char_encode_as_entity_reference): Allow prefix
559 within 8 characters; fix infinite loop.
561 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * chartab.c (Q_same): New variable.
564 (Q_same_of): New variable.
565 (Fput_char_attribute): Convert char-specs in value of
566 `{->|<-}same' to characters and put reverse links.
567 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
569 (syms_of_chartab): Add new symbols `{->|<-}same'.
571 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * chartab.c (Q_component): New variable.
574 (Q_component_of): Likewise.
575 (Fput_char_attribute): Convert char-specs in value of
576 `{->|<-}ideographic-component-forms' to characters and put reverse
578 (syms_of_chartab): Add new symbols
579 `{->|<-}ideographic-component-forms'.
581 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
583 * chartab.c (Q_identical): New variable.
584 (Q_identical_from): New variable.
585 (Fchar_feature): Regard `->identical' as a feature to find
587 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
588 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
589 for `{->|<-}identical'.
590 (syms_of_chartab): Add new symbols `{->|<-}identical'.
592 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * char-ucs.h (encode_char_2): New inline function.
595 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
597 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * chartab.c (Fput_char_attribute): Convert char-specs to
600 characters in value of `ideographic-structure'.
601 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
602 for `{<-|->}simplified(@...)'.
603 (Fdefine_char): Try to use predefined character's id.
605 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * fns.c (simplify_char_spec): Try to convert builtin chars to
610 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * chartab.c (Fput_char_attribute): Convert char-specs in value of
613 `<-simplified[^*]*' to characters and put reverse links.
615 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * chartab.c (Q_subsumptive): Renamed from Q_unified.
618 (Q_subsumptive_from): Renamed from Q_unified_from.
619 (Fchar_feature): Use `Q_subsumptive_from' instead of
621 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
623 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
624 `<-unified' to `<-subsumptive'.
626 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
628 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
629 inheritance itself; fix typo; stop recursive search if cyclic
630 inheritance is found.
632 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * chartab.c (Q_denotational): New variable.
635 (Q_denotational_from): New variable.
636 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
637 (put_char_attribute): New function.
638 (Fput_char_attribute): Use `put_char_attribute'; regard
639 `->denotational' and `<-denotational' as same as `->unified' and
641 (syms_of_chartab): Add new symbols `->denotational' and
644 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
647 `Fget_char_attribute'.
648 (Fchar_variants): Likewise.
649 (get_char_table): Likewise.
650 (Fchar_feature): New function.
651 (put_char_composition): Use `Fchar_feature' instead of
652 `Fget_char_attribute'.
653 (Fput_char_attribute): Likewise; don't put the target character
654 into its `->unified' value.
655 (syms_of_chartab): Add new builtin function `char-feature'.
657 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
660 `Fget_char_attribute'.
661 (char_encode_utf8): Likewise.
663 * chartab.h: Add an EXFUN for `Fchar_feature'.
665 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
667 * chartab.c (Vnext_defined_char_id): New variable.
668 (Fput_char_attribute): Accept characters in `->unified'.
669 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
670 new characters which are not related with builtin char-id ranges.
671 (vars_of_chartab): Add new variable `next-defined-char-id'.
673 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * chartab.c (Q_unified): New variable.
676 (Q_unified_from): New variable.
677 (Fput_char_attribute): Add code for `->unified'.
678 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
681 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
683 * mule-charset.c (decode_ccs_conversion): New function.
684 (decode_defined_char): Use `decode_ccs_conversion'.
685 (decode_builtin_char): Likewise.
687 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * char-ucs.h: Change some charset-ids of private coded-charsets.
691 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
693 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
694 (char_encode_as_entity_reference): Likewise.
695 (decode_coding_big5): Modify for `decode_defined_char' and
697 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
698 avoid compiler warning.
699 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
701 * mule-charset.c (decode_defined_char): Add new argument
702 `without_inheritance'.
703 (Fdecode_char): Add new optional argument `without_inheritance'.
704 (Fdecode_builtin_char): Modify for `Fdecode_char'.
706 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
707 (simplify_char_spec): Likewise.
709 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
712 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
713 (map_char_table): Likewise.
714 (Fdefine_char): Use `Fdecode_char' without inheritance.
715 (Ffind_char): Modify for `Fdecode_char'.
717 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
719 * char-ucs.h (decode_defined_char): Add new argument
720 `without_inheritance'.
721 (DECODE_CHAR): Likewise.
722 (MAKE_CHAR): Modify for `DECODE_CHAR'.
724 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * chartab.c (Vchise_system_db_directory): New variable.
727 (vars_of_chartab): Add new variable `chise-system-db-directory'.
729 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * chartab.c: EXFUN `Fmount_char_attribute_table'.
732 (print_chartab_range): Don't define when `UTF2000' is defined.
733 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
736 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
739 and optional argument `rehash' is specified, call
740 `open_chise_data_source_maybe' before
741 `chise_ds_foreach_char_feature_name' is called.
743 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * chartab.c (char_attribute_list_reset_map_func): New function
746 when HAVE_LIBCHISE is defined.
747 (Fchar_attribute_list): Add new optional argument `rehash' when
748 HAVE_LIBCHISE is defined.
749 (open_chise_data_source_maybe): Use "chise-db" instead of
751 (char_attribute_system_db_file): Likewise.
752 (Fload_char_attribute_table): Use
753 `chise_feature_foreach_char_with_value' instead of
754 `chise_char_feature_value_iterate'.
756 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * chartab.c (Vchise_db_directory): New variable.
759 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
761 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
764 instead of HAVE_CHISE to specify using with libchise.
766 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
768 * chartab.h: Don't use HAVE_CHISE_CLIENT.
770 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
771 defined or HAVE_LIBCHISE_LIBCHISE is defined.
772 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
774 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
775 HAVE_CHISE to specify using with libchise.
776 (syms_of_chartab): Don't define symbol `system-char-id' when
777 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
779 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
781 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
782 specify CHISE DB support.
783 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
784 of `char_attribute_system_db_file' to check feature DB file.
786 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
787 HAVE_CHISE_CLIENT to specify CHISE DB support.
789 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
790 specify CHISE DB support.
791 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
793 (Freset_char_attribute_table): Use `chise_feature_setup_db'
794 instead of `char_attribute_system_db_file' to check feature DB
797 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
802 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
804 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
805 (Fsave_charset_mapping_table): Don't use
806 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
808 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
809 (HAVE_LIBCHISE): New macro.
811 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
813 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
814 (Fsave_char_attribute_table): Don't use
815 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
817 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
821 (save_uint16_byte_table): Likewise.
822 (save_byte_table): Likewise.
823 (char_table_get_db): Use `chise_ds_load_char_feature_value'
824 instead of `chise_char_load_feature_value'.
825 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
827 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * chartab.h (struct Lisp_Char_Table): Delete member
830 `feature_table' if CHISE is defined.
832 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
833 (Fcopy_char_table): Likewise.
834 (char_table_open_db_maybe): Likewise.
835 (char_table_close_db_maybe): Likewise.
836 (char_table_get_db): Likewise.
837 (Fmount_char_attribute_table): Likewise.
838 (Fload_char_attribute_table): Likewise.
840 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * mule-charset.c (load_char_decoding_entry_maybe): Use
843 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
846 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
849 instead of `chise_open_data_source'.
850 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
853 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
856 instead of `chise_ds_open_feature_table'.
857 (char_table_close_db_maybe): Don't use `chise_ft_close'.
859 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * mule-charset.c (Fsave_charset_mapping_table): Use
862 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
863 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
864 `chise_ccs_sync' instead of `chise_ccst_close'.
865 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
867 * chartab.c (open_chise_data_source_maybe): Modify for
868 `chise_open_data_source'.
869 (char_table_open_db_maybe): Modify for
870 `chise_ds_open_feature_table'.
872 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
874 * mule-charset.c (load_char_decoding_entry_maybe): Use
875 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
878 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
880 * mule-charset.c (Fsave_charset_mapping_table): Use
881 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
882 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
883 `chise_dt_put_char' and `chise_dt_close'.
884 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
885 `chise_ccs_decode' and `chise_ccst_close' instead of
886 `chise_ds_open_decoding_table', `chise_dt_get_char' and
889 * chartab.c (char_table_get_db): Use
890 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
891 (load_char_attribute_table_map_func): Modify for
892 `chise_char_feature_value_iterate'.
893 (Fload_char_attribute_table): Use
894 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
896 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
900 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
902 * chartab.c (put_char_table): Modify for inherited coded-charsets
905 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
907 * chartab.c (Fput_char_table_map_function): Fixed.
908 (word_boundary_p): Don't check charset in XEmacs CHISE.
910 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
912 * mule-charset.c (Fsave_charset_mapping_table): Use
913 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
914 instead of `chise_open_decoding_table'; refer
915 `default_chise_data_source'; use `chise_dt_close' instead of
916 `chise_close_decoding_table'.
917 (load_char_decoding_entry_maybe): Likewise.
919 * chartab.c (default_chise_data_source): New variable when `CHISE'
921 (Fcopy_char_table): `ct->ds' is deleted.
922 (open_chise_data_source_maybe): New function.
923 (Fclose_char_data_source): New function.
924 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
925 use `chise_ds_open_feature_table' instead of
926 `chise_open_feature_table'.
927 (char_table_close_db_maybe): Use `chise_ft_close' instead of
928 `chise_close_feature_table'; `cit->ds' is deleted.
929 (syms_of_chartab): Add new builtin function
930 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
932 * chartab.h (default_chise_data_source): New extern variable.
933 (open_chise_data_source_maybe): New prototype.
934 (struct Lisp_Char_Table): Delete `ds'.
936 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
938 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
941 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
943 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
944 not defined; add code for non-libchise setting.
945 (char_table_close_db_maybe): Likewise.
946 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
948 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
949 even if `CHISE' is not defined.
950 (Freset_char_attribute_table): Likewise.
951 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
952 `char_table_close_db_maybe' even if `CHISE' is not defined; use
954 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
955 `char_table_close_db_maybe' even if `CHISE' is not defined.
957 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
959 * chartab.c (char_table_open_db_maybe): New function.
960 (char_table_close_db_maybe): New function.
961 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
962 (Freset_char_attribute_table): Likewise.
963 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
964 `char_table_close_db_maybe'.
965 (Fload_char_attribute_table): Likewise.
967 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
969 * chartab.c: Don't include <chise.h> because it is included in
971 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
973 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
975 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
977 (Fclose_char_attribute_table): Close `ct->feature_table' and
978 `ct->ds' when `CHISE' is defined.
979 (Freset_char_attribute_table): Likewise.
980 (load_char_attribute_maybe): Use `cit->ds' and
981 `cit->feature_table' when `CHISE' is defined.
982 (Fload_char_attribute_table): Likewise.
984 * chartab.h: Include <chise.h> when `CHISE' is defined.
985 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
986 when `CHISE' is defined.
988 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
990 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
992 (char_table_description): Likewise.
993 (Fmake_char_table): Likewise.
994 (Fcopy_char_table): Likewise.
995 (Fmount_char_attribute_table): Likewise.
996 (Fclose_char_attribute_table): Likewise.
997 (Freset_char_attribute_table): Likewise.
998 (load_char_attribute_maybe): Likewise.
999 (Fload_char_attribute_table): Likewise.
1001 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1004 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1006 * chartab.c (load_char_attribute_table_map_func): New function
1007 when CHISE is defined.
1008 (Qload_char_attribute_table_map_function): Don't define when CHISE
1010 (Fload_char_attribute_table_map_function): Likewise.
1011 (Fload_char_attribute_table): Use libchise when `CHISE' is
1013 (syms_of_chartab): Don't define
1014 `load-char-attribute-table-map-function' when CHISE is defined.
1016 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1018 * chartab.c: Include <chise.h> when `CHISE' is defined.
1019 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1021 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1023 * mule-charset.c (charset_code_point): Fix problem when searching
1024 in mother CCS fails with `defined_only' mode.
1026 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1028 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1029 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1030 (put_char_composition): Likewise.
1031 (Fput_char_attribute): Likewise.
1032 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1034 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1036 * chartab.c (Q_ucs): Deleted.
1037 (Fput_char_attribute): Don't refer `->ucs'.
1038 (Fdefine_char): Likewise.
1039 (Ffind_char): Likewise.
1040 (syms_of_chartab): Delete `->ucs'.
1042 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1044 * mule-charset.c (Qmap_cns11643_2): Renamed from
1045 `Qchinese_cns11643_2'.
1046 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1047 `chinese-cns11643-2'.
1048 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1051 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1053 * mule-charset.c (Qmap_cns11643_1): Renamed from
1054 `Qchinese_cns11643_1'.
1055 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1056 `chinese-cns11643-1'.
1057 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1060 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1062 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1063 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1065 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1068 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1070 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1071 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1073 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1076 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1078 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1079 (syms_of_mule_charset): Add new symbol `=big5' instead of
1081 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1083 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1086 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1088 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1091 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1093 * mule-charset.c (Qmap_jis_x0212): Renamed from
1094 `Qjapanese_jisx0212'.
1095 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1096 `japanese-jisx0212'.
1097 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1100 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1103 `Qjapanese_jisx0208'.
1104 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1105 of `japanese-jisx0208'.
1106 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1109 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1112 `Qjapanese_jisx0208_1978'.
1113 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1114 of `japanese-jisx0208-1978'.
1115 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1118 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1120 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1121 only for XEmacs CHISE.
1123 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1125 * char-ucs.h: Compact non-ISO-IR charset-ids.
1126 (LEADING_BYTE_UCS): Changed to -177.
1127 (LEADING_BYTE_CONTROL_1): Changed to -77.
1128 (LEADING_BYTE_UCS_BMP): Changed to -176.
1129 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1131 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1133 * mule-charset.c (Qiso_ir): New variable.
1134 (Fmake_charset): Recognise new property `iso-ir'.
1135 (syms_of_mule_charset): Add new symbol `iso-ir'.
1137 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1140 n to -n; charset-id of non ISO-IR sets are changed to positive
1143 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1145 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1146 for &MCS-XXXXXXXX; values.
1148 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * mule.c (Vxemacs_chise_version): Renamed from
1151 `Vutf_2000_version'.
1152 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1153 `utf-2000-version' as an alias for `xemacs-chise-version'.
1155 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1158 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1161 * config.h.in (CHISE): New macro.
1163 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1167 (Qmap_ucs): New variable.
1168 (syms_of_mule_charset): Add new symbol `=ucs'.
1169 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1171 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1172 (simplify_char_spec): Likewise.
1174 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1176 * char-ucs.h (Qmap_ucs): New extern variable.
1178 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1180 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1181 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1182 don't define it when UTF2000 is not defined.
1183 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1184 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1185 when UTF2000 is not defined.
1186 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1187 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1189 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1191 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1193 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1195 (syms_of_mule_charset): Delete `ucs-gb'.
1196 (complex_vars_of_mule_charset): Likewise.
1198 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1200 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1202 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1203 (Qucs_cns): Deleted.
1204 (syms_of_mule_charset): Delete `ucs-cns'.
1205 (complex_vars_of_mule_charset): Likewise.
1207 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1209 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1211 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1212 (Qucs_jis): Deleted.
1213 (syms_of_mule_charset): Delete `ucs-jis'.
1214 (complex_vars_of_mule_charset): Likewise.
1216 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1218 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1220 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1222 (syms_of_mule_charset): Delete `ucs-ks'.
1223 (complex_vars_of_mule_charset): Likewise.
1225 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1227 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1228 (Qideograph_daikanwa_2): Deleted.
1229 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1230 (complex_vars_of_mule_charset): Likewise.
1232 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1233 (LEADING_BYTE_DAIKANWA_1): Deleted.
1234 (LEADING_BYTE_DAIKANWA_2): Deleted.
1235 (MIN_CHAR_DAIKANWA): Deleted.
1236 (MAX_CHAR_DAIKANWA): Deleted.
1238 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1240 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1241 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1242 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1244 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1245 (Vcharset_ideograph_daikanwa): Deleted.
1246 (Qideograph_hanziku_{1..12}): Deleted.
1247 (Qideograph_daikanwa): Deleted.
1248 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1249 Vcharset_ideograph_daikanwa.
1250 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1251 `ideograph-hanziku-{1..12}'.
1252 (complex_vars_of_mule_charset): Likewise.
1254 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1256 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1258 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1259 (Qideograph_gt_pj_{1..11}): Deleted.
1260 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1261 (complex_vars_of_mule_charset): Likewise.
1263 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1266 (Vcharset_ideograph_gt): Deleted.
1267 (Qucs_big5): Deleted.
1268 (Qideograph_gt): Deleted.
1269 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1271 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1274 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1275 (LEADING_BYTE_GT): Deleted.
1276 (MIN_CHAR_GT): Deleted.
1277 (MAX_CHAR_GT): Deleted.
1279 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1283 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1285 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1286 (save_uint16_byte_table): Likewise.
1287 (save_byte_table): Likewise; convert values by it.
1288 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1289 for `ideographic-structure'.
1290 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1291 as the filter for `ideographic-structure'.
1293 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1295 * chartab.c (put_char_composition): New function.
1296 (Fput_char_attribute): Use `put_char_composition'; use
1297 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1299 * fns.c (simplify_char_spec): New function.
1300 (char_ref_simplify_spec): New function.
1301 (Fchar_refs_simplify_char_specs): New function.
1302 (syms_of_fns): Add new builtin function
1303 `char-refs-simplify-char-specs'.
1305 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1307 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1308 (Qideograph_cbeta): Deleted.
1309 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1310 (complex_vars_of_mule_charset): Likewise.
1312 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1313 (MIN_CHAR_CBETA): Comment out.
1314 (MAX_CHAR_CBETA): Likewise.
1316 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1319 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1320 CHISE client feature.
1322 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1326 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1328 * mule-charset.c (charset_lookup_description_1): Use
1329 `NUM_LEADING_BYTES' in UTF-2000.
1331 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * char-ucs.h (GC_CHARSETP): Deleted.
1335 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1337 * char-ucs.h (MAX_CHAR_GT): Updated.
1339 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1341 * text-coding.c: Sync with XEmacs 21.4.10.
1343 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1345 * mule-charset.c (Vcharset_china3_jef): Deleted.
1346 (Qchina3_jef): Deleted.
1347 (syms_of_mule_charset): Don't define `china3-jef'.
1348 (complex_vars_of_mule_charset): Likewise.
1350 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1351 (MIN_CHAR_CHINA3_JEF): Comment out.
1352 (MAX_CHAR_CHINA3_JEF): Comment out.
1354 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1356 * mule-charset.c (Vcharset_ucs_gb): New variable.
1357 (Qucs_gb): New variable.
1358 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1359 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1361 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1363 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (charset_code_point): if a coded-charset has a
1366 final-byte, don't inherit the builtin range of the mother CCS.
1368 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * mule-charset.c (charset_code_point): Fix problem about
1373 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1375 * mule-charset.c (decode_builtin_char): Reorganized.
1377 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * text-coding.c (char_encode_as_entity_reference): Modify for
1380 `charset_code_point'.
1381 (char_encode_shift_jis): Likewise.
1382 (char_encode_big5): Likewise.
1383 (char_encode_utf8): Likewise.
1384 (char_encode_iso2022): Likewise.
1386 * mule-charset.c (charset_code_point): Add new argument
1388 (Fencode_char): Add new optional argument `defined_only'.
1390 * chartab.c (put_char_table): Modify for `charset_code_point'.
1392 * char-ucs.h (charset_code_point): Add new argument
1394 (encode_char_1): Modify for `charset_code_point'.
1396 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1398 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1399 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1401 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1404 (Qjis_x0208): Likewise.
1405 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1406 XCHARSET_FINAL(charset).
1407 (charset_code_point): Modify condition for final-byte based
1409 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1410 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1411 in UTF-2000; specify `=jis-x0208' as the mother of
1412 `japanese-jisx0208-1978', `japanese-jisx0208' and
1413 `japanese-jisx0208-1990' in UTF-2000.
1415 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1417 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1419 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * text-coding.c (decode_coding_utf16): Support UTF-16.
1422 (char_encode_utf16): Fixed.
1424 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1426 * text-coding.c (Qutf16): New variable in MULE.
1427 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1428 (Fcoding_system_type): Add `utf-16' in MULE.
1429 (struct detection_state): Add a structure for utf16 in MULE.
1430 (detect_coding_type): Setup st->utf16.mask in MULE.
1431 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1433 (reset_encoding_stream): Use `char_encode_utf16' and
1434 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1435 (detect_coding_utf16): New function [incomplete].
1436 (decode_coding_utf16): New function [support only UCS-2].
1437 (char_encode_utf16): New function.
1438 (char_finish_utf16): New function.
1439 (syms_of_file_coding): Add new symbol `utf-16'; setup
1440 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1442 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1444 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1445 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1447 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1449 * chartab.c (put_char_table): When a charset is specified as a
1450 range in UTF-2000, don't support builtin characters.
1452 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1454 * mule-charset.c (decode_defined_char): Don't refer external
1455 database if Qunbound or Qnil are found.
1456 (Fsave_charset_mapping_table): Don't define it if
1457 HAVE_CHISE_CLIENT is not defined.
1458 (Freset_charset_mapping_table): New function.
1459 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1460 found in external database.
1461 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1462 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1463 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1465 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1467 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1470 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1472 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1473 Q_lowercase, Q_uppercase in UTF-2000.
1475 * chartab.c (get_char_table): Add special code for the standard
1476 case table to use character attribute `->downcase' and
1477 `->uppercase' for case operations in UTF-2000.
1479 * casetab.c (Qflippedcase): New variable in UTF-2000.
1480 (Q_lowercase): Likewise.
1481 (Q_uppercase): Likewise.
1482 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1483 and `->uppercase' in UTF-2000.
1484 (complex_vars_of_casetab): Assign attribute name `downcase' to
1485 downcase and CANON table of Vstandard_case_table in UTF-2000;
1486 assign attribute name `flippedcase' to upcase and EQV table of
1487 Vstandard_case_table in UTF-2000.
1489 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1491 * text-coding.c (decode_add_er_char): Support isolated-chars.
1492 (char_encode_as_entity_reference): Likewise.
1494 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1496 * emacs.c (Vutf_2000_lisp_directory): New variable.
1497 (Vconfigure_utf_2000_lisp_directory): Likewise.
1498 (complex_vars_of_emacs): Add new variable
1499 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1501 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1503 * char-ucs.h (DECODE_CHAR): Delete special code for
1504 `chinese-big5-1' and `chinese-big5-2'.
1506 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1507 (Qbig5_2): Likewise.
1508 (decode_defined_char): Support CONVERSION_BIG5_1 and
1510 (decode_builtin_char): Likewise.
1511 (charset_code_point): Likewise.
1512 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1513 'conversion in UTF-2000.
1514 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1515 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1516 `chinese-big5-2' as children of `chinese-big5'.
1518 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1519 (CONVERSION_BIG5_2): New macro.
1521 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * text-coding.c (char_encode_big5): Support entity-reference.
1525 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1527 * text-coding.c (char_encode_as_entity_reference): New function.
1528 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1530 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1532 * text-coding.c (decode_coding_big5): Support entity-reference
1535 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1537 * text-coding.c (allocate_coding_system): Initialize initial
1538 charsets for CODESYS_UTF8.
1539 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1540 charset-g2 for CODESYS_UTF8.
1541 (decode_coding_utf8): Use charset-g0.
1542 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1543 to force variants to map to UCS.
1545 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * text-coding.c (Qutf_8_mcs): New variable.
1548 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1549 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1550 instead of `utf-8' in UTF-2000.
1552 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1554 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1555 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1556 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1557 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1558 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1559 CONVERSION_96x96x96x96 are introduced.
1560 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1561 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1562 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1564 * char-ucs.h (CONVERSION_94): New macro.
1565 (CONVERSION_96): New macro.
1566 (CONVERSION_94x94): New macro.
1567 (CONVERSION_96x96): New macro.
1568 (CONVERSION_94x94x94): New macro.
1569 (CONVERSION_96x96x96): New macro.
1570 (CONVERSION_94x94x94x60): New macro.
1571 (CONVERSION_94x94x94x94): New macro.
1572 (CONVERSION_96x96x96x96): New macro.
1574 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1576 * chartab.c (Vcharacter_variant_table): Deleted.
1577 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1578 of `Vcharacter_variant_table'.
1579 (Fput_char_attribute): Likewise.
1580 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1581 (complex_vars_of_chartab): Likewise.
1583 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1585 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1587 * fns.c (Qideographic_structure): New variable.
1588 (Qkeyword_char): New variable.
1589 (ids_format_unit): New function.
1590 (Fideographic_structure_to_ids): New function.
1591 (syms_of_fns): Add new symbols `ideographic-structure' and
1592 `:char'; add new builtin function `ideographic-structure-to-ids'.
1594 * data.c (Fchar_ref_p): New function.
1595 (syms_of_data): Add new builtin function `char-ref-p'.
1597 * chartab.h: Add an EXFUN for `Ffind_char'.
1599 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * text-coding.c (Vcharacter_composition_table): Deleted.
1602 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1605 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1607 (Vcharacter_composition_table): Deleted.
1608 (Fget_composite_char): Use the implementation for external-DB
1609 support in every UTF-2000.
1610 (Fput_char_attribute): Likewise.
1611 (char_attribute_system_db_file): Don't define if external-DB
1612 feature is not available.
1613 (Fsave_char_attribute_table): Likewise.
1614 (Fmount_char_attribute_table): Likewise.
1615 (Fclose_char_attribute_table): Likewise.
1616 (Freset_char_attribute_table): Likewise.
1617 (Fload_char_attribute_table): Likewise.
1618 (syms_of_chartab): Don't define `save-char-attribute-table',
1619 `mount-char-attribute-table', `reset-char-attribute-table',
1620 `close-char-attribute-table' and `load-char-attribute-table' if
1621 external-DB feature is not available.
1622 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1624 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1626 * text-coding.c (Qcomposition): Add extern if external-DB feature
1628 (Vcharacter_composition_table): Don't add extern if external-DB
1629 feature is supported.
1630 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1631 character composition rule if external-DB feature is supported.
1633 * chartab.c (Vcharacter_composition_table): Don't define if
1634 external-DB feature is supported.
1635 (Qcomposition): New variable.
1636 (Fget_composite_char): New implementation for external-DB support.
1637 (Fput_char_attribute): Use `composition' property of each
1638 character instead of `Vcharacter_composition_table' to store
1639 character-composition rules if external-DB feature is supported.
1640 (syms_of_chartab): Add new symbol `composition'.
1641 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1642 external-DB feature is supported.
1644 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1646 * chartab.c (Vchar_db_stingy_mode): New variable.
1647 (load_char_attribute_maybe): Close database if
1648 Vchar_db_stingy_mode is not NIL.
1649 (Fload_char_attribute_table_map_function): Use
1650 `get_char_id_table_0' instead of `get_char_id_table'.
1651 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1653 * chartab.h (get_char_id_table_0): New inline function.
1654 (get_char_id_table): Use `get_char_id_table_0'.
1656 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1658 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1659 and `COMPOSE_ADD_CHAR'.
1660 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1662 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1664 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1665 instead of `DECODE_ADD_UCS_CHAR'.
1666 (COMPOSE_ADD_CHAR): Likewise.
1668 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1670 * text-coding.c (decode_flush_er_chars): New inline function.
1671 (decode_add_er_char): New function.
1672 (decode_coding_utf8): Use `decode_flush_er_chars' and
1673 `decode_add_er_char'.
1675 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1677 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1678 done before `decode_output_utf8_partial_char'.
1680 * mule-charset.c (complex_vars_of_mule_charset): Specify
1681 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1682 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1684 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1686 * mule-charset.c (decode_defined_char): New function; search
1688 (decode_builtin_char): Don't search mother if
1689 XCHARSET_MAX_CODE(charset) == 0.
1690 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1691 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1692 (Fdecode_char): Use `decode_defined_char' instead of
1693 `DECODE_DEFINED_CHAR'.
1694 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1695 mother of `Vcharset_ucs_jis'.
1697 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1698 instead of `DECODE_DEFINED_CHAR'.
1700 * char-ucs.h (decode_defined_char): Renamed from
1701 `DECODE_DEFINED_CHAR'; changed to normal function.
1702 (DECODE_CHAR): Use `decode_defined_char' instead of
1703 `DECODE_DEFINED_CHAR'.
1705 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1707 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1709 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1711 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1713 (Quse_entity_reference): New variable.
1717 (coding_system_description): Add description for
1718 `ccs_priority_list'.
1719 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1720 (allocate_coding_system): Initialize `ccs_priority_list' in
1722 (Fmake_coding_system): Add description about
1723 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1725 (Fcoding_system_property): Accept `disable-composition' and
1726 `use-entity-reference' in UTF-2000.
1727 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1729 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1730 (decode_coding_utf8): Decode entity-reference if
1731 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1732 (char_encode_utf8): Encode non-Unicode characters as
1733 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1735 (syms_of_file_coding): Add new symbols `use-entity-reference',
1737 (vars_of_file_coding): Add new variable
1738 `coded-charset-entity-reference-alist'.
1739 (complex_vars_of_file_coding): Declare `disable-composition' and
1740 `use-entity-reference' to be coding-system-properties in UTF-2000.
1742 * file-coding.h (struct Lisp_Coding_System): Add new member
1743 `use_entity_reference' and `ccs_priority_list'.
1744 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1745 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1746 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1748 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1750 * chartab.c (save_uint8_byte_table): Don't clear the table.
1751 (save_uint16_byte_table): Likewise.
1752 (save_byte_table): Likewise.
1753 (Fmount_char_attribute_table): New function.
1754 (syms_of_chartab): Add new builtin function
1755 `mount-char-attribute-table'.
1757 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1759 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1761 (load_char_decoding_entry_maybe): Open database as read-only mode.
1763 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1764 open database as "w+" mode.
1765 (load_char_attribute_maybe): Open database as read-only mode.
1766 (Fload_char_attribute_table): Likewise.
1768 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1770 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1771 (char_table_description): Delete member `db_file'.
1772 (Fmake_char_table): Don't refer `ct->db_file'.
1773 (Fcopy_char_table): Likewise.
1774 (Fsave_char_attribute_table): Likewise.
1775 (Fclose_char_attribute_table): Likewise.
1776 (Freset_char_attribute_table): Likewise.
1777 (load_char_attribute_maybe): Likewise.
1778 (Fload_char_attribute_table): Likewise.
1780 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1782 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1784 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1785 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1787 (load_char_attribute_maybe): Likewise.
1788 (Fload_char_attribute_table): Likewise.
1790 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1792 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1793 `ct->db_file' unconditionally.
1795 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1797 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1799 (char_table_description): Add description for `db_file' and `db'
1801 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1803 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1804 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1805 (Fclose_char_attribute_table): New function.
1806 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1807 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1809 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1810 (syms_of_chartab): Add new builtin function
1811 `Fclose_char_attribute_table'.
1813 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1815 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1817 (load_char_attribute_maybe): Change interface.
1818 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1820 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1822 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1824 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1826 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1827 instead of `DECODE_CHAR' for mother; don't use special code for
1828 chinese-big5 to use code space of chinese-big5-1 and
1830 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1831 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1833 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1834 (MAX_CHAR_BIG5_CDP): Revival.
1836 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1838 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1839 the XLFD registry-encoding name of `chinese-big5'.
1841 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1843 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1844 (Qchinese_big5_cdp): Deleted.
1845 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1846 (complex_vars_of_mule_charset): Delete coded-charset
1849 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1850 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1851 `CHARSET_ID_OFFSET - n' for private CCS.
1852 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1853 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1854 of `MIN_LEADING_BYTE'.
1855 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1856 `(CHARSET_ID_OFFSET - 97)'.
1857 (MIN_CHAR_BIG5_CDP): Deleted.
1858 (MAX_CHAR_BIG5_CDP): Deleted.
1860 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1862 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1864 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1866 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1867 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1870 * chartab.c (Vutf_2000_version): Moved to mule.c.
1871 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1873 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1875 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1876 when HAVE_CHISE_CLIENT is not defined.
1878 * mule.c (vars_of_mule): Provide feature `chise' when
1879 HAVE_CHISE_CLIENT is defined.
1881 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1883 * config.h.in (UTF2000): Add comment.
1884 (HAVE_CHISE_CLIENT): New macro.
1886 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1888 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1890 (Fput_char_attribute): Likewise.
1891 (char_attribute_system_db_file): Encode file-name of attribute.
1892 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1895 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1897 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1898 (Fsave_charset_mapping_table): Use
1899 `char_attribute_system_db_file'.
1900 (load_char_decoding_entry_maybe): Likewise.
1902 * chartab.h (Qsystem_char_id): New external variable.
1903 (char_attribute_system_db_file): New prototype.
1905 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1906 (char_attribute_system_db_file): New function.
1907 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1908 (Freset_char_attribute_table): Likewise.
1909 (load_char_attribute_maybe): Likewise.
1910 (Fload_char_attribute_table): Likewise.
1911 (syms_of_chartab): Add new symbol `system-char-id'.
1913 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1915 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1916 `XCHARSET_GRAPHIC(ccs)'.
1918 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1920 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1922 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1924 * chartab.c (Q_ucs_variants): New variable.
1925 (syms_of_chartab): Add new symbol `->ucs-variants'.
1926 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1927 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1928 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1930 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1932 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1933 `HAVE_DATABASE' is defined.
1934 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1935 `HAVE_DATABASE' is defined.
1937 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1939 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1941 (Freset_char_attribute_table): New function.
1942 (syms_of_chartab): Add new builtin function
1943 `reset-char-attribute-table'.
1945 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1947 * chartab.c (load_char_attribute_maybe): Don't make directories.
1949 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1951 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1953 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1956 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1958 * mule-charset.c (Fsave_charset_mapping_table): Use
1959 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1961 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1962 instead of `XCHARSET_CHARS'.
1964 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1966 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1967 (XCHARSET_BYTE_SIZE): Likewise.
1969 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1971 (XCHARSET_BYTE_SIZE): Likewise.
1973 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1975 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1976 data-directory to store database.
1977 (Fsave_char_attribute_table): Likewise.
1978 (load_char_attribute_maybe): Likewise.
1979 (Fload_char_attribute_table): Likewise.
1981 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1983 * mule-charset.c (Fsave_charset_mapping_table): New function.
1984 (syms_of_mule_charset): Add new builtin function
1985 `save-charset-mapping-table'.
1987 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1990 (get_ccs_octet_table): New inline function.
1991 (put_ccs_octet_table): Likewise.
1992 (decoding_table_put_char): Use `get_ccs_octet_table' and
1993 `put_ccs_octet_table'.
1994 (decoding_table_remove_char): Use `decoding_table_put_char'.
1995 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1997 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1998 into encoding_table.
1999 (make_charset): Use Qunbound instead Qnil as initial value of
2002 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2004 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2005 element is Qunloaded.
2006 (map_over_uint16_byte_table): Likewise.
2007 (map_over_byte_table): Likewise.
2008 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2009 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2010 database support, load encoding-table of the specified
2011 coded-charset if it is not loaded yet.
2012 (save_uint8_byte_table): New function of UTF-2000 with external
2014 (save_uint16_byte_table): Likewise.
2015 (save_byte_table): Likewise.
2016 (Fput_char_attribute): Don't store value into external database
2017 even if the external database feature is supported in UTF-2000;
2018 set `attribute' as name of char-table if the external database
2019 feature is supported.
2020 (Fsave_char_attribute_table): New function in UTF-2000.
2021 (syms_of_chartab): Add new builtin function
2022 `save-char-attribute-table' in UTF-2000.
2024 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2026 * chartab.c (char_attribute_table_to_put): New variable in
2028 (Qput_char_table_map_function): Likewise.
2029 (value_to_put): Likewise.
2030 (Fput_char_table_map_function): New function in UTF-2000.
2031 (put_char_table): Use `Fmap_char_attribute' for
2032 CHARTAB_RANGE_CHARSET in UTF-2000.
2033 (Fput_char_attribute): Store symbol instead of string in
2034 `XCHAR_TABLE_NAME (table)'.
2035 (load_char_attribute_maybe): Likewise.
2036 (syms_of_chartab): Add new symbol/function
2037 `put-char-table-map-function'.
2039 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2041 * database.h: Add new EXFUN for `Fmap_database'.
2043 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2044 (syms_of_database): Likewise.
2046 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2048 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2049 (XCHAR_TABLE_UNLOADED): Likewise.
2051 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2052 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2053 HAVE_DATABASE is defined.
2054 (char_attribute_table_to_load): New variable of UTF-2000 with
2055 external database support.
2056 (Qload_char_attribute_table_map_function): Likewise.
2057 (Fload_char_attribute_table_map_function): New function of
2058 UTF-2000 with external database support.
2059 (Fload_char_attribute_table): New function of UTF-2000.
2060 (Fmap_char_attribute): Call Fload_char_attribute_table if
2061 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2062 (syms_of_chartab): Add new symbol and function
2063 `load-char-attribute-table-map-function' in UTF-2000 with external
2064 database support; add new function `load-char-attribute-table' in
2067 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2069 * chartab.h (load_char_attribute_maybe): New prototype for
2070 UTF-2000 with DATABASE support.
2071 (get_char_id_table): Use `load_char_attribute_maybe' if
2072 HAVE_DATABASE is defined.
2074 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2075 with DATABASE support.
2077 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2079 * chartab.c (Fput_char_attribute): Use S-expression as key of
2082 * chartab.h (get_char_id_table): Use S-expression as key of
2085 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2088 if an element is not loaded, load the corresponding attributes
2089 from an external database.
2090 (map_over_uint16_byte_table): Likewise.
2091 (map_over_byte_table): Likewise.
2092 (map_char_table): Modify for `map_over_uint8_byte_table',
2093 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2094 element is not loaded, load the corresponding attributes from an
2096 (Fput_char_attribute): Change initial values to Qunloaded.
2098 * chartab.h (get_char_id_table): If a character attribute is not
2099 loaded and the attribute value is not found in an external
2100 database, store Qunbound as the attribute value.
2102 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2104 * chartab.c (BT_UINT8_unloaded): New macro.
2105 (UINT8_VALUE_P): Accept Qunloaded.
2106 (UINT8_ENCODE): Likewise.
2107 (UINT8_DECODE): Likewise.
2108 (BT_UINT16_unloaded): New macro.
2109 (UINT16_VALUE_P): Accept Qunloaded.
2110 (UINT16_ENCODE): Likewise.
2111 (UINT16_DECODE): Likewise.
2112 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2114 (mark_char_table): Mark `ct->name' in UTF-2000.
2115 (char_table_description): Add `name' in UTF-2000.
2116 (Fmake_char_table): Initialize `ct->name'.
2117 (Fcopy_char_table): Copy `ct->name'.
2118 (Fput_char_attribute): Store value into an external database if
2119 HAVE_DATABASE is defined.
2121 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2123 (CHAR_TABLE_NAME): New macro in UTF-2000.
2124 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2125 (get_char_id_table): Try to read an external database if Qunloaded
2126 is stored in a table.
2128 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2131 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2133 * database.h: Add EXFUN definitions for Fopen_database,
2134 Fput_database, Fget_database and Fclose_database.
2136 * data.c (Qunloaded): New variable in UTF-2000.
2138 * lisp.h (Qunloaded): New variable in UTF-2000.
2140 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2142 * mule-charset.c (put_char_ccs_code_point): Modify for
2143 `decoding_table_remove_char' and `decoding_table_put_char'.
2144 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2146 * char-ucs.h (decoding_table_remove_char): Change arguments to
2147 hide decoding_table vector.
2148 (decoding_table_put_char): Likewise.
2150 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * mule-charset.c (decoding_table_remove_char): Moved to
2154 (decoding_table_put_char): Likewise.
2156 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2157 from mule-charset.c].
2158 (decoding_table_remove_char): New inline function [moved from
2160 (decoding_table_put_char): Likewise.
2162 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2164 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2167 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2169 * mule-charset.c (decode_builtin_char): Support mother charsets.
2171 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2173 * mule-charset.c (Q94x94x60): New variable.
2174 (charset_code_point): Support conversion `94x94x60'.
2175 (Fmake_charset): Likewise.
2176 (syms_of_mule_charset): Add new symbol `94x94x60'.
2178 * char-ucs.h (CONVERSION_94x94x60): New macro.
2180 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2182 * mule-charset.c (charset_code_point): Unify code about
2185 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2187 * mule-charset.c (charset_code_point): Merge code about builtin
2188 characters into code about mother charsets; don't use
2189 `range_charset_code_point'.
2190 (range_charset_code_point): Deleted.
2192 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2194 * mule-charset.c (Qcode_offset): New variable.
2195 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2196 `max-code'; accept new property `code-offset'.
2197 (syms_of_mule_charset): Add new symbol `code-offset'.
2199 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * mule-charset.c (range_charset_code_point): Fixed.
2203 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2205 * mule-charset.c (decode_builtin_char): Change semantics of
2206 code-offset of coded-charset.
2207 (charset_code_point): Likewise.
2208 (range_charset_code_point): Likewise.
2209 (complex_vars_of_mule_charset): Modify for the change.
2211 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2213 * mule-charset.c (Fencode_char): Reverse arguments.
2215 * mule-charset.c (charset_code_point): Fixed.
2217 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2219 * mule-charset.c (Vcharset_mojikyo): Deleted.
2220 (Vcharset_mojikyo_2022_1): Deleted.
2221 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2222 (Qmin_code): New variable in UTF-2000.
2223 (Qmax_code): Likewise.
2224 (Qmother): Likewise.
2225 (Qconversion): Likewise.
2227 (Qmojikyo): Deleted.
2228 (Qmojikyo_2022_1): Deleted.
2229 (Qmojikyo_pj_{1..22}): Deleted.
2230 (mark_charset): Mark `cs->mother'.
2231 (charset_description): Add description for `mother'.
2232 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2233 new arguments `mother' and `conversion'; use
2234 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2235 (charset_code_point): Moved from char-ucs.h; support `mother'
2237 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2238 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2239 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2240 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2241 allow 2 as the value of `graphic' in UTF-2000; add new properties
2242 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2243 require `final' in UTF-2000; modify for `make_charset'.
2244 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2245 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2246 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2247 (Fencode_char): New function.
2248 (syms_of_mule_charset): Add new builtin function `encode-char' in
2249 UTF-2000; add new symbols `min-code', `max-code', `mother',
2250 `conversion' and `94x60'; delete symbols `mojikyo',
2251 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2252 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2253 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2254 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2256 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2257 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2259 * char-ucs.h (Vcharset_mojikyo): Deleted.
2260 (Vcharset_mojikyo_2022_1): Deleted.
2261 (LEADING_BYTE_MOJIKYO): Deleted.
2262 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2263 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2264 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2265 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2266 add new member `mother'; add new member `conversion'.
2267 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2268 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2269 (CHARSET_MOTHER): New macro.
2270 (CHARSET_CONVERSION): New macro.
2271 (CONVERSION_IDENTICAL): New macro.
2272 (CONVERSION_94x60): New macro.
2273 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2274 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2275 (XCHARSET_MOTHER): New macro.
2276 (XCHARSET_CONVERSION): New macro.
2277 (MIN_CHAR_MOJIKYO): Deleted.
2278 (MAX_CHAR_MOJIKYO): Deleted.
2279 (DECODE_MOJIKYO_2022): Deleted.
2280 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2281 (charset_code_point): Changed to non-inline function.
2282 (encode_char_1): Use `charset_code_point'.
2283 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2285 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2287 * lread.c (read_compiled_function): Fix prototype.
2288 (read_vector): Likewise.
2290 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * lrecord.h (struct lrecord_header): Delete `older'.
2293 (set_lheader_implementation): Delete code for `older'.
2294 (set_lheader_older_implementation): Deleted.
2295 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2296 (OLDER_RECORD_P): Deleted.
2297 (OLDER_RECORD_HEADER_P): Deleted.
2298 (alloc_older_lcrecord): Deleted.
2299 (alloc_older_lcrecord_type): Deleted.
2301 * alloc.c (all_older_lcrecords): Deleted.
2302 (alloc_older_lcrecord): Deleted.
2303 (disksave_object_finalization_1): Delete code for older objects.
2304 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2305 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2307 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2309 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2310 instead of `make_older_vector'.
2311 (put_char_ccs_code_point): Likewise.
2312 (mark_charset): Mark `cs->decoding_table'.
2313 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2315 * lisp.h (make_older_vector): Deleted.
2316 (make_vector_newer): Deleted.
2318 * config.h.in (HAVE_GGC): Deleted.
2320 * alloc.c (make_older_vector): Deleted.
2321 (make_vector_newer_1): Deleted.
2322 (make_vector_newer): Deleted.
2324 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2327 (Qideograph_daikanwa_2): New variable.
2328 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2329 (complex_vars_of_mule_charset): Add new coded-charset
2330 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2331 `LEADING_BYTE_DAIKANWA'.
2333 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2334 (LEADING_BYTE_DAIKANWA_1): New macro.
2335 (LEADING_BYTE_DAIKANWA_2): New macro.
2336 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2338 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2340 * mule-charset.c (complex_vars_of_mule_charset): Change
2341 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2342 the second revised version.
2344 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2346 * mule-charset.c (Vcharset_ucs_smp): New variable.
2347 (Vcharset_ucs_sip): New variable.
2348 (Qucs_smp): New variable.
2349 (Qucs_sip): New variable.
2350 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2351 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2352 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2353 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2354 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2355 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2357 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2358 (LEADING_BYTE_UCS_SIP): New macro.
2359 (MIN_CHAR_SMP): New macro.
2360 (MAX_CHAR_SMP): New macro.
2361 (MIN_CHAR_SIP): New macro.
2362 (MAX_CHAR_SIP): New macro.
2364 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2366 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2369 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2372 value; don't store value into `encoding_table' of `Lisp_Charset'.
2373 (mark_charset): `encoding_table' was deleted.
2374 (charset_description): Likewise.
2375 (make_charset): Likewise.
2376 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2377 `put_char_ccs_code_point'.
2379 * chartab.h (Fput_char_attribute): New EXFUN.
2381 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2382 is unified with normal symbol space.
2383 (Fget_char_attribute): Likewise.
2384 (Fput_char_attribute): Likewise; behavior of
2385 `put_char_ccs_code_point' is changed.
2387 * char-ucs.h: Include "elhash.h".
2388 (Vchar_attribute_hash_table): New external variable.
2389 (struct Lisp_Charset): Delete `encoding_table'.
2390 (CHARSET_ENCODING_TABLE): New implementation; refer
2391 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2394 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2396 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2399 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2401 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2404 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * chartab.c (uint8_byte_table_description): New constant.
2407 (uint8-byte-table): Use `uint8_byte_table_description'.
2408 (uint16_byte_table_description): New constant.
2409 (uint16-byte-table): Use `uint16_byte_table_description'.
2411 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2413 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2414 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2416 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * mule-charset.c (Vcharset_ucs_ks): New variable.
2419 (Qucs_ks): New variable.
2420 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2421 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2423 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2425 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2427 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2428 (Fdecode_char): Likewise.
2430 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2432 (Fdefine_char): Modify for Fdecode_char.
2433 (Ffind_char): Likewise.
2435 * mule-charset.c (Fdecode_char): Add new optional argument
2437 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2439 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2442 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2443 (allocate_coding_system): Initialize initial-charsets of
2444 CODESYS_BIG5 in XEmacs UTF-2000.
2445 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2446 CODESYS_BIG5 in XEmacs UTF-2000.
2447 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2448 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2450 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2452 (Qideograph_hanziku_{1 .. 12}): Likewise.
2453 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2455 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2456 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2457 `ideograph-hanziku-{1 .. 12}'.
2459 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2460 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2461 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2462 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2463 (DECODE_DEFINED_CHAR): New inline function.
2464 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2466 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2468 * mule-charset.c (Vcharset_china3_jef): Renamed from
2469 `Vcharset_japanese_jef_china3'.
2470 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2471 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2472 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2473 (syms_of_mule_charset): Rename `china3-jef' from
2474 `japanese-jef-china3'.
2475 (complex_vars_of_mule_charset): Likewise; rename
2476 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2478 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2479 `LEADING_BYTE_JEF_CHINA3'.
2480 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2481 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2483 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * mule-charset.c (encode_builtin_char_1): Comment out special code
2486 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2488 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2489 (MAX_CHAR_MOJIKYO_0): Comment out.
2490 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2491 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2492 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2493 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2495 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2497 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2498 (Qideograph_cbeta): New variable.
2499 (encode_builtin_char_1): Comment out special code for
2500 coded-charset `mojikyo' and `japanese-jef-china3'.
2501 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2502 (complex_vars_of_mule_charset): Add new coded-charset
2505 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2506 (MIN_CHAR_CBETA): New macro.
2507 (MAX_CHAR_CBETA): New macro.
2509 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2511 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2512 (LEADING_BYTE_JEF_CHINA3): New macro.
2513 (MIN_CHAR_JEF_CHINA3): New macro.
2514 (MAX_CHAR_JEF_CHINA3): Likewise.
2515 (DECODE_CHAR): Fixed.
2517 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2519 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2520 (Qjapanese_jef_china3): New variable.
2521 (encode_builtin_char_1): Support `japanese-jef-china3'.
2522 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2523 (complex_vars_of_mule_charset): Add new coded-charset
2524 `japanese-jef-china3'.
2526 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2528 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2529 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2530 94^4, 96^3, 96^4, 128^n and 256^n set.
2531 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2532 (map_char_table): Likewise.
2534 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2536 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2539 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2541 * chartab.h (get_char_id_table): New inline function.
2543 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2546 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2548 * chartab.h (decode_char_table_range): New prototype in XEmacs
2550 (put_char_id_table): New inline function in XEmacs UTF-2000.
2552 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2554 (decode_char_table_range): Delete static declaration in XEmacs
2557 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * chartab.c (put_char_id_table): Use `put_char_table'.
2561 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2564 (map_over_uint16_byte_table): Likewise.
2565 (map_over_byte_table): Likewise.
2566 (map_char_table): Modify for `map_over_uint8_byte_table',
2567 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2570 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2572 * chartab.c (struct map_char_table_for_charset_arg): New
2574 (map_char_table_for_charset_fun): New function.
2575 (map_char_table): Use `map_char_table' for encoding_table of
2578 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * chartab.c (map_char_table): Check a character is found in
2581 range->charset instead of non default value is defined in
2582 char-table when range is CHARTAB_RANGE_ROW.
2584 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2586 * chartab.c (map_char_id_table): Deleted.
2587 (Fmap_char_attribute): Use `map_char_table' instead of
2588 `map_char_id_table'.
2590 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2594 (update_syntax_table): Deleted in XEmacs UTF-2000.
2596 * syntax.c (find_defun_start): Use `syntax_table' instead of
2597 `mirror_syntax_table' in XEmacs UTF-2000.
2598 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2600 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2602 (Fmatching_paren): Likewise.
2603 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2605 (find_start_of_comment): Likewise.
2606 (find_end_of_comment): Likewise.
2607 (Fforward_comment): Likewise.
2608 (scan_lists): Likewise.
2609 (char_quoted): Likewise.
2610 (Fbackward_prefix_chars): Likewise.
2611 (scan_sexps_forward): Likewise.
2612 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2613 (update_syntax_table): Likewise.
2615 * search.c (skip_chars): Use `syntax_table' instead of
2616 `mirror_syntax_table' in XEmacs UTF-2000.
2617 (wordify): Likewise.
2618 (Freplace_match): Likewise.
2620 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2621 `mirror_syntax_table' in XEmacs UTF-2000.
2622 (WORDCHAR_P_UNSAFE): Likewise.
2623 (re_match_2_internal): Likewise.
2625 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2626 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2628 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2629 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2631 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2634 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2636 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2637 (char_table_description): Delete `mirror_table' in XEmacs
2639 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2641 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2642 (Fcopy_char_table): Likewise.
2643 (put_char_table): Don't call `update_syntax_table' in XEmacs
2646 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2647 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2648 (casify_region_internal): Likewise.
2650 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2652 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2653 `mirror_syntax_table' in XEmacs UTF-2000.
2655 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2656 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2657 (Fexpand_abbrev): Likewise.
2659 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2661 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2663 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2665 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2666 (map_over_uint16_byte_table): Likewise.
2667 (map_over_byte_table): Likewise.
2668 (get_char_id_table): Refer `cit->default_value'.
2669 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2670 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2671 of character-id ranges.
2672 (mark_char_table): Mark `ct->default_value'.
2673 (char_table_description): Add `default_value'.
2674 (fill_char_table): Use `default_value'.
2675 (decode_char_table_range): Decode `nil' as
2676 `CHARTAB_RANGE_DEFAULT'.
2677 (get_char_id_table): Refer `cit->default_value'.
2678 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2679 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2680 temporary hack; check value of char-table is bound or not.
2681 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2683 * chartab.h (struct Lisp_Char_Table): Add new member
2684 `default_value' in XEmacs UTF-2000.
2685 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2686 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2689 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2691 * chartab.h (Lisp_Char_ID_Table): Deleted.
2693 * chartab.c (char_table_description): Fix typo.
2694 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2695 `Lisp_Char_ID_Table'.
2697 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2699 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2702 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2705 * chartab.h (XCHAR_ID_TABLE): Deleted.
2706 (XSETCHAR_ID_TABLE): Deleted.
2707 (CHAR_ID_TABLE_P): Deleted.
2709 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2711 (Fget_composite_char): Likewise.
2712 (put_char_table): Likewise.
2713 (add_char_attribute_alist_mapper): Fixed.
2714 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2716 (Fget_char_attribute): Likewise.
2717 (Fget_char_attribute): Likewise.
2718 (Fmap_char_attribute): Likewise.
2720 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2722 (encode_char_1): Likewise.
2724 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2729 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2730 instead of `XCHAR_ID_TABLE'.
2731 (remove_char_ccs): Likewise.
2733 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2735 (Fget_composite_char): Likewise.
2736 (Fchar_variants): Likewise.
2737 (put_char_table): Likewise.
2738 (add_char_attribute_alist_mapper): Likewise.
2739 (Fchar_attribute_alist): Likewise.
2740 (Fget_char_attribute): Likewise.
2741 (Fput_char_attribute): Likewise.
2742 (Fmap_char_attribute): Likewise.
2743 (Fmap_char_attribute): Likewise.
2745 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2747 (encode_char_1): Likewise.
2749 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2751 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2752 `Lisp_Char_ID_Table'.
2753 (mark_char_id_table): Deleted.
2754 (print_char_id_table): Likewise.
2755 (char_id_table_equal): Likewise.
2756 (char_id_table_hash): Likewise.
2757 (char_id_table_description): Likewise.
2758 (char_id_table): Likewise.
2759 (make_char_id_table): Use `Fmake_char_table' and
2761 (get_char_id_table): Use `Lisp_Char_Table' instead of
2762 `Lisp_Char_ID_Table'.
2763 (put_char_id_table): Likewise.
2764 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2766 (Fremove_char_attribute): Likewise.
2767 (syms_of_chartab): Don't define type `char-id-table'.
2769 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2770 (char_id_table): Likewise.
2771 (GC_CHAR_ID_TABLE_P): Likewise.
2772 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2773 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2774 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2775 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2776 (get_char_id_table): Use `Lisp_Char_Table' instead of
2777 `Lisp_Char_ID_Table'.
2778 (put_char_id_table_0): Likewise.
2779 (put_char_id_table): Likewise.
2781 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2783 * chartab.h: Lisp_Byte_Table related codes are moved from
2786 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2788 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2790 * chartab.h: Don't include "chartab.h".
2791 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2792 (Lisp_Char_ID_Table): Likewise.
2793 (char_id_table): Likewise.
2794 (XCHAR_ID_TABLE): Likewise.
2795 (XSETCHAR_ID_TABLE): Likewise.
2796 (CHAR_ID_TABLE_P): Likewise.
2797 (GC_CHAR_ID_TABLE_P): Likewise.
2798 (get_char_id_table): Likewise.
2800 * char-ucs.h: Include "chartab.h".
2801 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2802 (Lisp_Char_ID_Table): Likewise.
2803 (char_id_table): Likewise.
2804 (XCHAR_ID_TABLE): Likewise.
2805 (XSETCHAR_ID_TABLE): Likewise.
2806 (CHAR_ID_TABLE_P): Likewise.
2807 (GC_CHAR_ID_TABLE_P): Likewise.
2808 (get_char_id_table): Likewise.
2810 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2812 * chartab.c (copy_uint8_byte_table): New function.
2813 (copy_uint16_byte_table): New function.
2814 (copy_byte_table): New function.
2815 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2817 (map_over_uint16_byte_table): Likewise.
2818 (map_over_byte_table): Likewise.
2819 (get_byte_table): Move prototype to chartab.h.
2820 (put_byte_table): Likewise.
2821 (put_char_id_table_0): Moved to chartab.h.
2822 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2823 (char_table_entry_equal): Likewise.
2824 (char_table_entry_hash): Likewise.
2825 (char_table_entry_description): Likewise.
2826 (char_table_entry): Likewise.
2827 (make_char_table_entry): Likewise.
2828 (copy_char_table_entry): Likewise.
2829 (get_non_ascii_char_table_value): Likewise.
2830 (map_over_charset_ascii): Likewise.
2831 (map_over_charset_control_1): Likewise.
2832 (map_over_charset_row): Likewise.
2833 (map_over_other_charset): Likewise.
2834 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2835 (print_char_table): Likewise.
2836 (char_table_equal): Likewise.
2837 (char_table_hash): Likewise.
2838 (char_table_description): Likewise.
2839 (fill_char_table): Likewise.
2840 (Fcopy_char_table): Likewise.
2841 (get_char_table): Likewise.
2842 (Fget_range_char_table): Likewise.
2843 (put_char_table): Likewise.
2844 (map_char_table): Likewise.
2845 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2848 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2850 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2851 `Vauto_fill_chars' in XEmacs UTF-2000.
2853 * chartab.h (get_byte_table): New prototype [moved from
2855 (put_byte_table): Likewise [moved from chartab.c].
2856 (put_char_id_table_0): New inline function [moved from chartab.c].
2857 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2858 (Lisp_Char_Table_Entry): Likewise.
2859 (char_table_entry): Likewise.
2860 (XCHAR_TABLE_ENTRY): Likewise.
2861 (XSETCHAR_TABLE_ENTRY): Likewise.
2862 (CHAR_TABLE_ENTRYP): Likewise.
2863 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2864 (NUM_ASCII_CHARS): Likewise.
2865 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2866 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2868 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2870 * chartab.c (get_char_id_table): Change interface.
2871 (put_char_id_table_0): New function.
2872 (put_char_id_table): Change interface; new implementation.
2873 (Fget_composite_char): Modify for interface change of
2874 `get_char_id_table'.
2875 (Fchar_variants): Likewise.
2876 (add_char_attribute_alist_mapper): Likewise.
2877 (Fchar_attribute_alist): Likewise.
2878 (Fget_char_attribute): Likewise.
2879 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2880 as same as character as the first argument like `put-char-table';
2881 modify for interface change of `put_char_id_table'.
2882 (Fremove_char_attribute): Modify for interface change of
2883 `put_char_id_table'.
2885 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2887 * text-coding.c: Sync up with XEmacs 21.2.41.
2888 (COMPOSE_ADD_CHAR): Modify for interface change of
2889 `get_char_id_table'.
2891 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2892 change of `put_char_id_table'.
2893 (remove_char_ccs): Likewise.
2895 * chartab.h (put_char_id_table): Change interface.
2897 * char-ucs.h (get_char_id_table): Change interface.
2898 (charset_code_point): Modify for interface change of
2899 `get_char_id_table'.
2900 (encode_char_1): Likewise.
2902 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2904 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2906 (map_over_uint16_byte_table): Likewise.
2907 (map_over_byte_table): Likewise.
2908 (map_char_id_table): Add new argument `range' like
2910 (Fmap_char_attribute): Add new argument `range' like
2913 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2915 * chartab.c (map_over_uint8_byte_table): Change interface of
2916 mapping function to use struct chartab_range instead of Emchar.
2917 (map_over_uint16_byte_table): Likewise.
2918 (map_over_byte_table): Likewise.
2919 (map_char_id_table): Likewise.
2920 (struct slow_map_char_id_table_arg): Deleted.
2921 (slow_map_char_id_table_fun): Deleted.
2922 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2923 function `slow_map_char_table_fun' instead of struct
2924 `slow_map_char_id_table_arg' and function
2925 `slow_map_char_id_table_fun'.
2927 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * mule-charset.c: Move char-it-table related codes to chartab.c.
2930 (Vutf_2000_version): Moved to chartab.c.
2931 (Fdefine_char): Likewise.
2932 (Ffind_char): Likewise.
2933 (syms_of_mule_charset): Move types `uint8-byte-table',
2934 `uint16-byte-table', `byte-table' and `char-id-table' to
2935 chartab.c; move functions `char_attribute_list,
2936 `find_char_attribute_table, `char_attribute_alist,
2937 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2938 `map_char_attribute, `define_char, `find_char, `char_variants and
2939 `get_composite_char to chartab.c; move symbols `=>ucs',
2940 `->decomposition', `compat', `isolated', `initial', `medial',
2941 `final', `vertical', `noBreak', `fraction', `super', `sub',
2942 `circle', `square', `wide', `narrow', `small' and `font' to
2944 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2945 setting codes for `Vcharacter_composition_table' and
2946 `Vcharacter_variant_table' to chartab.c.
2947 (complex_vars_of_mule_charset): Move setting code for
2948 `Vchar_attribute_hash_table' to chartab.c.
2950 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2951 (make_char_id_table): New prototype.
2952 (put_char_id_table): Likewise.
2953 (Fget_char_attribute): Likewise.
2955 * chartab.c: Move char-id-table related code from mule-charset.c.
2956 (Vutf_2000_version): Moved from mule-charset.c.
2958 * char-ucs.h (Qucs): New external variable.
2959 (put_char_ccs_code_point): New prototype.
2960 (remove_char_ccs): Likewise.
2962 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2964 * mule-charset.c (Vcharset_ucs_jis): New variable.
2965 (Qucs_jis): Likewise.
2966 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2967 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2969 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2971 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * mule-charset.c (map_over_uint8_byte_table): New function.
2974 (map_over_uint16_byte_table): Likewise.
2975 (map_over_byte_table): Likewise.
2976 (map_char_id_table): Likewise.
2977 (slow_map_char_id_table_fun): Likewise.
2978 (Fmap_char_attribute): Likewise.
2979 (syms_of_mule_charset): Add new function `map-char-attribute'.
2981 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2983 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2984 (syms_of_mule_charset): Add new function `find-char'.
2986 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2988 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2990 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2991 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2993 (complex_vars_of_mule_charset): Add new coded-charset
2994 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2995 `ideograph-gt-pj-*'.
2997 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2999 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3001 * mule-charset.c (encode_builtin_char_1): Purge codes about
3002 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3003 {MIN|MAX}_CHAR_HEBREW.
3004 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3005 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3007 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3008 (MAX_CHAR_GREEK): Purged.
3009 (MIN_CHAR_CYRILLIC): Purged.
3010 (MAX_CHAR_CYRILLIC): Purged.
3011 (MIN_CHAR_HEBREW): Commented out.
3012 (MAX_CHAR_HEBREW): Likewise.
3014 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3016 * mule-charset.c (Qto_ucs): New variable.
3017 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3018 (Fdefine_char): Likewise.
3019 (syms_of_mule_charset): Add new symbol `=>ucs'.
3021 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3023 * mule-charset.c (Fdecode_char): Fixed.
3025 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3027 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3028 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3031 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3033 * mule-charset.c (Vcharset_ucs_big5): New variable.
3034 (Qucs_big5): Likewise.
3035 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3036 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3038 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3040 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3042 * mule-charset.c (decode_builtin_char): Check Big5 code range
3043 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3045 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3047 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3048 (Qchinese_gb12345): Likewise.
3049 (Fdecode_builtin_char): Fixed.
3050 (syms_of_mule_charset): Add `chinese-gb12345'.
3051 (complex_vars_of_mule_charset): Add coded-charset
3054 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3055 (LEADING_BYTE_CHINESE_GB12345): New macro.
3057 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3059 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3060 and `latin-viscii-upper' for `latin-viscii'.
3062 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3064 * mule-charset.c (Fdecode_builtin_char): Comment out
3065 regularization code for ISO-IR GR representation.
3067 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3069 * mule-charset.c (decode_builtin_char): New function; renamed from
3070 `make_builtin_char'; return -1 instead of signal.
3071 (Fdecode_builtin_char): Use `decode_builtin_char'.
3073 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3074 `make_builtin_char'.
3075 (DECODE_CHAR): Use `decode_builtin_char' instead of
3076 `make_builtin_char'; use mapping table of `chinese-big5' for
3077 `chinese-big5-{1,2}'.
3079 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3081 * text-coding.c (char_encode_big5): New function.
3082 (char_finish_big5): Likewise.
3083 (reset_encoding_stream): Use `char_encode_big5' and
3084 `char_finish_big5' for CODESYS_BIG5.
3085 (mule_encode): Don't use `encode_coding_big5'.
3086 (encode_coding_big5): Deleted.
3088 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3091 0x81- in XEmacs UTF-2000.
3092 (detect_coding_big5): Likewise.
3094 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3096 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3097 generate character-id if the CCS property does not have
3098 corresponding predefined character.
3099 (make_builtin_char): Return -1 if corresponding predefined
3100 character is not found.
3101 (Fdecode_char): Return nil if corresponding character is not
3103 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3104 don't map to builtin ucs space.
3106 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3108 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3109 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3111 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3113 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3114 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3115 (Qideograph_gt): Likewise.
3116 (Qideograph_gt_pj_{1..11}): Likewise.
3117 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3118 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3119 `ideograph-gt-pj-11'.
3120 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3121 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3122 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3124 * char-ucs.h (LEADING_BYTE_GT): New macro.
3125 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3126 (MIN_CHAR_GT): Likewise.
3127 (MAX_CHAR_GT): Likewise.
3129 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3131 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3132 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3134 * doprnt.c (unsigned_int_converters): Add `c'.
3135 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3137 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3138 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3140 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3141 (MAX_CHAR_MOJIKYO_0): New macro.
3142 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3144 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3146 * mule-charset.c (Fdefine_char): Delete cemented out code.
3147 (encode_builtin_char_1): Modify for new allocation of builtin
3150 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3152 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3154 * mule-charset.c (Vcharset_ucs_cns): New variable.
3155 (Qucs_cns): New variable.
3156 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3157 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3159 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3161 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3163 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3165 * search.c (search_buffer): Make `charset_base_code' as
3166 character-id >> 6 to eliminate the corresponding last byte in
3167 UTF-8 representation [I'm not sure it is right thing].
3168 (boyer_moore): Likewise.
3170 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3172 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3173 representation in MULE.
3175 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * text-coding.c (Fmake_coding_system): Use
3178 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3179 `EXTERNAL_PROPERTY_LIST_LOOP'.
3181 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3183 * text-coding.c (decode_output_utf8_partial_char): New function.
3184 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3186 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3188 * text-coding.c (decode_coding_utf8): Output original byte
3189 sequence if it is broken; change order of conditions.
3191 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3194 * mb-multibyte.h (BYTE_ASCII_P):
3195 Use bit ops for char-signedness safety.
3196 (BYTE_C0_P): Use bit ops for char-signedness safety.
3197 (BYTE_C1_P): Use bit ops for char-signedness safety.
3199 * character.h: (XCHAR_OR_CHAR_INT):
3200 Always use inline function.
3201 Remove redundant type checking assert() - XINT will abort quite
3204 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3206 * text-coding.c: (Fencode_shift_jis_char):
3207 (Fencode_big5_char):
3208 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3209 Replace 0 with '\0' when working with bytes.
3210 Replace initial "(" with "\(" in docstrings.
3212 (Fmake_coding_system):
3213 When type is ccl and value is vector, register it with a proper
3214 symbol. And checks whether the given ccl program is valid.
3215 (mule_decode): When calling ccl_driver, if src indicates
3216 NULL pointer, set an empty string instead.
3217 (mule_encode): Likewise.
3220 (detect_coding_sjis):
3221 (decode_coding_sjis):
3222 (detect_coding_big5):
3223 (decode_coding_big5):
3224 (detect_coding_ucs4):
3225 (decode_coding_ucs4):
3226 (detect_coding_utf8):
3227 (decode_coding_utf8):
3228 (detect_coding_iso2022):
3229 (decode_coding_iso2022):
3230 (decode_coding_no_conversion):
3232 Make all detecting and decoding functions take an Extbyte * arg.
3233 (text_encode_generic):
3234 (encode_coding_big5):
3235 (encode_coding_no_conversion):
3237 Make all encoding functions take a Bufbyte * arg.
3238 Use size_t instead of unsigned int for memory sizes.
3239 Only cast to unsigned char whenever dereferencing Extbyte *.
3241 (struct lrecord_description fcd_description_1): Use countof.
3242 (complex_vars_of_file_coding):
3243 Use countof instead of sizeof.
3244 Use CHECK_NATNUM instead of CHECK_INT.
3246 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3248 * mule-charset.c (Fget_char_attribute): Add new optional argument
3250 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3251 (remove_char_ccs): Likewise.
3253 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3255 * text-coding.c (char_encode_shift_jis): New implementation in
3257 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3260 * mule-charset.c (Vcharset_chinese_big5): New variable in
3262 (Qchinese_big5): New variable in UTF-2000.
3263 (BIG5_SAME_ROW): New macro in UTF-2000.
3264 (make_builtin_char): Use builtin characters of
3265 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3266 characters of `Vcharset_chinese_big5'.
3267 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3268 (complex_vars_of_mule_charset): Add new coded-charset
3269 `chinese-big5' in UTF-2000.
3271 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3272 (Vcharset_chinese_big5): New external variable declaration.
3273 (Vcharset_japanese_jisx0208_1990): Likewise.
3275 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3277 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3279 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3281 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3283 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3284 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3285 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3288 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3290 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3292 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3294 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3297 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3299 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3300 for `CHARSET_BY_ATTRIBUTES'.
3301 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3302 `CHARSET_BY_ATTRIBUTES'.
3304 * text-coding.c (struct decoding_stream): Rename member `CH' to
3306 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3307 (decode_coding_sjis): Likewise.
3308 (decode_coding_big5): Likewise.
3309 (decode_coding_ucs4): Likewise.
3310 (decode_coding_utf8): Likewise.
3311 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3312 `CHARSET_BY_ATTRIBUTES'.
3313 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3314 `str->counter'; decode 3, 4 bytes sets.
3315 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3317 (decode_coding_no_conversion): Use `str->cpos' instead of
3320 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3321 (Qmojikyo_2022_1): New variable.
3322 (make_charset): Don't use `CHARSET_TYPE_*'.
3323 (range_charset_code_point): Support coded-charset
3325 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3326 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3327 `CHARSET_BY_ATTRIBUTES'.
3328 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3329 `CHARSET_BY_ATTRIBUTES'.
3330 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3331 (complex_vars_of_mule_charset): Add new coded-charset
3334 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3335 interface; changed to inline function.
3337 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3338 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3339 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3340 (CHARSET_TYPE_94): Deleted.
3341 (CHARSET_TYPE_94X94): Deleted.
3342 (CHARSET_TYPE_96): Deleted.
3343 (CHARSET_TYPE_96X96): Deleted.
3344 (CHARSET_TYPE_128): Deleted.
3345 (CHARSET_TYPE_128X128): Deleted.
3346 (CHARSET_TYPE_256): Deleted.
3347 (CHARSET_TYPE_256X256): Deleted.
3348 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3350 (DECODE_MOJIKYO_2022): New inline function.
3351 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3352 `Vcharset_mojikyo_2022_1'.
3354 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3356 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3358 (put_byte_table): Likewise.
3359 (char_id_table_equal): Use `get_byte_table' [new implementation].
3361 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3363 * mule-charset.c: Include <limits.h> in UTF-2000.
3364 (BT_UINT8_MIN): New macro in UTF-2000.
3365 (BT_UINT8_MAX): New macro in UTF-2000.
3366 (BT_UINT8_t): New macro in UTF-2000.
3367 (BT_UINT8_nil): New macro in UTF-2000.
3368 (BT_UINT8_unbound): New macro in UTF-2000.
3369 (INT_UINT8_P): New inline function in UTF-2000.
3370 (UINT8_VALUE_P): New inline function in UTF-2000.
3371 (UINT8_ENCODE): New inline function in UTF-2000.
3372 (UINT8_DECODE): New inline function in UTF-2000.
3373 (mark_uint8_byte_table): New function in UTF-2000.
3374 (print_uint8_byte_table): New function in UTF-2000.
3375 (uint8_byte_table_equal): New function in UTF-2000.
3376 (uint8_byte_table_hash): New function in UTF-2000.
3377 (make_uint8_byte_table): New function in UTF-2000.
3378 (uint8_byte_table_same_value_p): New function in UTF-2000.
3379 (BT_UINT16_MIN): New macro in UTF-2000.
3380 (BT_UINT16_MAX): New macro in UTF-2000.
3381 (BT_UINT16_t): New macro in UTF-2000.
3382 (BT_UINT16_nil): New macro in UTF-2000.
3383 (BT_UINT16_unbound): New macro in UTF-2000.
3384 (INT_UINT16_P): New inline function in UTF-2000.
3385 (UINT16_VALUE_P): New inline function in UTF-2000.
3386 (UINT16_ENCODE): New inline function in UTF-2000.
3387 (UINT16_DECODE): New inline function in UTF-2000.
3388 (UINT8_TO_UINT16): New inline function in UTF-2000.
3389 (mark_uint16_byte_table): New function in UTF-2000.
3390 (print_uint16_byte_table): New function in UTF-2000.
3391 (uint16_byte_table_equal): New function in UTF-2000.
3392 (uint16_byte_table_hash): New function in UTF-2000.
3393 (make_uint16_byte_table): New function in UTF-2000.
3394 (uint16_byte_table_same_value_p): New function in UTF-2000.
3395 (print_byte_table): New function in UTF-2000.
3396 (byte-table): Use `print_byte_table' as printer.
3397 (make_byte_table): Delete second argument `older'.
3398 (byte_table_same_value_p): New function in UTF-2000.
3399 (copy_byte_table): Deleted.
3400 (get_byte_table): New function in UTF-2000.
3401 (put_byte_table): New function in UTF-2000.
3402 (print_char_id_table): New function in UTF-2000.
3403 (char-id-table): Use `print_char_id_table' as printer.
3404 (make_char_id_table): Delete second argument `older'.
3405 (get_char_id_table): Use `get_byte_table [new implementation].
3406 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3408 (Ffind_char_attribute_table): New function in UTF-2000.
3409 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3410 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3411 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3412 (syms_of_mule_charset): Add new function
3413 `find-char-attribute-table' in UTF-2000.
3415 * lrecord.h (enum lrecord_type): Add
3416 `lrecord_type_uint16_byte_table' and
3417 `lrecord_type_uint8_byte_table'.
3419 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3420 (Lisp_Uint8_Byte_Table): New type.
3421 (XUINT8_BYTE_TABLE): New macro.
3422 (XSETUINT8_BYTE_TABLE): New macro.
3423 (UINT8_BYTE_TABLE_P): New macro.
3424 (GC_UINT8_BYTE_TABLE_P): New macro.
3425 (struct Lisp_Uint16_Byte_Table): New structure.
3426 (Lisp_Uint16_Byte_Table): New type.
3427 (XUINT16_BYTE_TABLE): New macro.
3428 (XSETUINT16_BYTE_TABLE): New macro.
3429 (UINT16_BYTE_TABLE_P): New macro.
3430 (GC_UINT16_BYTE_TABLE_P): New macro.
3432 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3434 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3435 (Vcharacter_ideographic_strokes_table): Deleted.
3436 (Vcharacter_total_strokes_table): Deleted.
3437 (Vcharacter_morohashi_daikanwa_table): Deleted.
3438 (Vcharacter_decomposition_table): Deleted.
3439 (Qname): Deleted because it is duplicated.
3440 (Qideographic_radical): Deleted.
3441 (Qideographic_strokes): Deleted.
3442 (Qtotal_strokes): Deleted.
3443 (Qmorohashi_daikanwa): Deleted.
3444 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3445 `ideographic-radical', `ideographic-strokes', `total-strokes',
3446 `morohashi-daikanwa' and `->decomposition'.
3447 (Fget_char_attribute): Likewise.
3448 (Fput_char_attribute): Likewise; use `make-vector' instead of
3449 `make_older_vector' for `->decomposition' value.
3450 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3451 `ideograph-daikanwa'.
3452 (syms_of_mule_charset): Delete builtin symbols `name',
3453 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3454 `morohashi-daikanwa'.
3455 (vars_of_mule_charset): Don't setup
3456 `Vcharacter_ideographic_radical_table',
3457 `Vcharacter_ideographic_strokes_table',
3458 `Vcharacter_total_strokes_table',
3459 `Vcharacter_morohashi_daikanwa_table' and
3460 `Vcharacter_decomposition_table'.
3462 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3464 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3465 `make_older_vector', `make_vector_newer_1' and
3466 `make_vector_newer'.
3468 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3469 `make_older_vector' and `make_vector_newer'.
3471 * config.h.in (HAVE_GGC): New macro.
3473 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3475 * mule-charset.c (struct char_attribute_list_closure): New
3476 structure in UTF-2000.
3477 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3478 (Fchar_attribute_list): Likewise.
3479 (Fset_charset_mapping_table): Use `make_vector_newer'.
3480 (Fdecode_builtin_char): New function in UTF-2000.
3481 (syms_of_mule_charset): Add new function `char-attribute-list' and
3482 `decode-builtin-char' in UTF-2000.
3484 * lisp.h (make_vector_newer): New prototype.
3486 * alloc.c (make_vector_newer_1): New function.
3487 (make_vector_newer): New function.
3489 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3491 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3494 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3496 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3497 (Vcharacter_attribute_table): Deleted.
3498 (Vcharacter_name_table): Deleted.
3499 (put_char_attribute): Deleted.
3500 (remove_char_attribute): Deleted.
3501 (struct char_attribute_alist_closure): New structure.
3502 (add_char_attribute_alist_mapper): New function.
3503 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3504 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3505 (Fget_char_attribute): Likewise.
3506 (Fput_char_attribute): Likewise.
3507 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3508 of `remove_char_attribute'.
3509 (Fdefine_char): Return character.
3510 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3511 and `Vcharacter_name_table'.
3512 (complex_vars_of_mule_charset): Likewise
3513 `Vchar_attribute_hash_table'.
3515 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3517 * character.h (CHARC_CHARSET): New macro.
3518 (CHARC_CHARSET_ID): New macro.
3519 (CHARC_CODE_POINT): New macro.
3520 (CHARC_COLUMNS): New macro.
3521 (CHARC_TO_CHAR): New inline function.
3522 (CHARC_EQ): New inline function.
3523 (CHARC_ASCII_EQ): New inline function.
3524 (CHARC_IS_SPACE): New inline function.
3525 (ASCII_TO_CHARC): New inline function.
3527 * char-ucs.h (encode_char_2): Deleted.
3528 (ENCODE_CHAR): Use `encode_char_1' again.
3529 (breakup_char_1): Likewise.
3530 (CHAR_TO_CHARC): New inline function.
3532 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3534 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3536 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3537 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3538 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3539 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3540 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3542 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3544 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3546 (x_output_display_block): Use `CHARC_CHARSET' and
3549 * redisplay-tty.c (tty_output_display_block): Use
3551 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3553 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3555 * insdel.c (find_charsets_in_charc_string): Use
3557 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3558 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3559 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3560 (convert_charc_string_into_malloced_string): Likewise.
3562 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3564 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3565 instead of <Emchar_dynarr *> for buf; use
3566 `convert_bufbyte_string_into_charc_dynarr' instead of
3567 `convert_bufbyte_string_into_emchar_dynarr'; use
3568 `find_charsets_in_charc_string' instead of
3569 `find_charsets_in_emchar_string'.
3572 - Include "character.h".
3573 (struct rune): New member `cglyph'; delete member `chr'.
3575 * redisplay.c (redisplay_text_width_charc_string): New function;
3576 delete `redisplay_text_width_emchar_string'.
3577 (rtw_charc_dynarr): New variable; renamed from
3578 `rtw_emchar_dynarr'.
3579 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3580 `rtw_emchar_dynarr'; use
3581 `convert_bufbyte_string_into_charc_dynarr' instead of
3582 `convert_bufbyte_string_into_emchar_dynarr'; use
3583 `redisplay_text_width_charc_string' instead of
3584 `redisplay_text_width_emchar_string'.
3585 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3586 instead of `rtw_emchar_dynarr'; use
3587 `convert_bufbyte_string_into_charc_dynarr' instead of
3588 `convert_bufbyte_string_into_emchar_dynarr'.
3589 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3590 `redisplay_text_width_charc_string' instead of
3591 `redisplay_text_width_emchar_string'.
3592 (create_text_block): Modify for <struct rune> change.
3593 (generate_formatted_string_db): Likewise.
3594 (create_string_text_block): Likewise.
3595 (pixel_to_glyph_translation): Likewise.
3597 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3598 instead of <const Emchar *>.
3599 (x_text_width): Likewise.
3600 (x_output_display_block): Use <Charc_dynarr *> instead
3601 <Emchar_dynarr *>; modify for <structure rune> change.
3602 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3605 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3606 <const Emchar *>; use `charc_string_displayed_columns' instead of
3607 `emchar_string_displayed_columns'.
3608 (tty_output_display_block): Use <Charc_dynarr *> instead of
3609 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3610 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3611 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3612 `tty_output_emchar_dynarr_dynarr'.
3613 (tty_output_charc_dynarr): New function; delete
3614 `tty_output_charc_dynarr'.
3616 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3617 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3618 <Emchar_dynarr *> for buf; use
3619 `convert_bufbyte_string_into_charc_dynarr' instead of
3620 `convert_bufbyte_string_into_emchar_dynarr'.
3622 * frame.c (title_string_charc_dynarr): New variable; renamed from
3623 `title_string_emchar_dynarr'.
3624 (generate_title_string): Use `title_string_charc_dynarr' instead
3625 of `title_string_emchar_dynarr'; use
3626 `convert_charc_string_into_malloced_string' instead of
3627 `convert_emchar_string_into_malloced_string'.
3628 (init_frame): Use `title_string_charc_dynarr' instead of
3629 `title_string_emchar_dynarr'.
3632 - Include "character.h".
3633 (struct console_methods): Use <const Charc *> instead of <const
3634 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3635 <Emchar_dynarr *> in output_string_method.
3637 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3640 * console-stream.c (stream_text_width): Use <const Charc *>
3641 instead of <const Emchar *>.
3643 * character.h (Charc_dynarr): New type.
3645 * char-ucs.h (structure Charc): New structure; define new type
3648 * char-lb.h (DECODE_CHAR): New inline function.
3649 (encode_char_1): New inline function.
3650 (ENCODE_CHAR): New macro.
3651 (structure Charc): New structure; define new type `Charc'.
3653 * char-1byte.h (Vcharset_control_1): New macro.
3654 (Vcharset_latin_iso8859_1): New macro.
3655 (DECODE_CHAR): New inline function.
3656 (encode_char_1): New inline function.
3657 (ENCODE_CHAR): New macro.
3658 (structure Charc): New structure; define new type `Charc'.
3660 * insdel.c (find_charsets_in_charc_string): New function; delete
3661 `find_charsets_in_emchar_string'.
3662 (charc_string_displayed_columns): New function; delete
3663 `emchar_string_displayed_columns'.
3664 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3665 `convert_bufbyte_string_into_emchar_dynarr'.
3666 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3667 `convert_charc_string_into_bufbyte_dynarr'.
3668 (convert_charc_string_into_malloced_string): New function; delete
3669 `convert_charc_string_into_malloced_string'.
3671 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3672 `find_charsets_in_emchar_string'.
3673 (charc_string_displayed_columns): New prototype; delete
3674 `emchar_string_displayed_columns'.
3675 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3676 `convert_charc_string_into_bufbyte_dynarr'.
3677 (convert_charc_string_into_malloced_string): New prototype; delete
3678 `convert_charc_string_into_malloced_string'.
3680 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3682 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3684 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3686 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3688 * char-ucs.h: Use <short> for <Charset_ID>.
3690 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3693 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3695 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3698 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3700 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3702 (Qmorohashi_daikanwa): New variable.
3703 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3704 for `morohashi-daikanwa' attribute.
3705 (Fget_char_attribute): Likewise.
3706 (Fput_char_attribute): Likewise.
3707 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3708 has the same value of `ideograph-daikanwa'.
3709 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3710 (vars_of_mule_charset): Setup
3711 `Vcharacter_morohashi_daikanwa_table'.
3713 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3715 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3717 (add_charset_to_list_mapper): Add `key' instead of
3718 `XCHARSET_NAME (value)' to return aliases.
3720 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3722 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3724 (Vcharacter_ideographic_strokes_table): New variable.
3725 (Qideographic_radical): New variable.
3726 (Qideographic_strokes): New variable.
3727 (Fchar_attribute_alist): Use
3728 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3729 attribute; use `Vcharacter_ideographic_strokes_table' for
3730 `ideographic-strokes' attribute.
3731 (Fget_char_attribute): Likewise.
3732 (Fput_char_attribute): Likewise.
3733 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3734 `ideographic-strokes'.
3735 (vars_of_mule_charset): Setup
3736 `Vcharacter_ideographic_radical_table' and
3737 `Vcharacter_ideographic_strokes_table'.
3739 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3741 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3742 (Qtotal_strokes): New variable.
3743 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3744 `total-strokes' attribute.
3745 (Fget_char_attribute): Likewise.
3746 (Fput_char_attribute): Likewise.
3747 (syms_of_mule_charset): Add new symbol `total-strokes'.
3748 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3750 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3752 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3753 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3755 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3756 `->decomposition' attribute.
3757 (Fput_char_attribute): Likewise.
3758 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3760 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3762 * mule-charset.c (decoding_table_check_elements): New function.
3763 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3765 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3767 * mule-charset.c (Fset_charset_mapping_table): Use
3768 `put_char_ccs_code_point'.
3770 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3772 * mule-charset.c (decoding_table_put_char): New inline function.
3773 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3775 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3777 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3778 (XCHARSET_BYTE_SIZE): New macro.
3779 (decoding_table_remove_char): New inline function.
3780 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3781 `decoding_table_remove_char'.
3782 (remove_char_ccs): Use `decoding_table_remove_char'.
3783 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3785 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3787 * mule-charset.c (Vcharacter_name_table): New variable.
3788 (Qname): New variable.
3789 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3791 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3792 `Vcharacter_name_table' for `name' attribute.
3793 (Fremove_char_attribute): Use function `remove_char_ccs'.
3794 (put_char_ccs_code_point): New function.
3795 (remove_char_ccs): New function.
3796 (syms_of_mule_charset): Add new symbol `name'.
3797 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3799 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3801 * mule-charset.c (make_byte_table): Add new argument `older'.
3802 (make_char_id_table): Likewise.
3803 (copy_char_id_table): Comment out because it is not used.
3804 (put_char_id_table): Modify for `make_byte_table'.
3805 (Fput_char_attribute): Make encoding_table as older object;
3806 inherit older bit of `Vcharacter_composition_table'.
3807 (mark_charset): Don't mark `cs->encoding_table'.
3808 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3809 normal object; make `Vcharacter_composition_table' as an older
3810 object; delete staticpro for `Vcharacter_composition_table'; make
3811 `Vcharacter_variant_table' as a normal object.
3813 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3814 (mark_object): Don't check older object in UTF-2000.
3816 * lrecord.h (struct lrecord_header): Add new member `older' in
3818 (set_lheader_implementation): Setup `SLI_header->older' in
3820 (set_lheader_older_implementation): New macro in UTF-2000.
3821 (OLDER_RECORD_P): New macro in UTF-2000.
3822 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3823 (alloc_older_lcrecord): New prototype in UTF-2000.
3824 (alloc_older_lcrecord_type): New macro in UTF-2000.
3826 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3828 * mule-charset.c (byte_table_description): Use
3829 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3830 (char_id_table_description): Delete bogus `, 1'.
3831 (Fget_char_attribute): Refer encoding_table of each coded-charset
3832 to get value of coded-charset attribute of a character.
3833 (Fput_char_attribute): Use `make_older_vector' instead of
3834 `make_vector'; use encoding_table of each coded-charset to store
3835 value of coded-charset attribute of a character.
3836 (Fremove_char_attribute): Use encoding_table of each coded-charset
3837 to store value of coded-charset attribute of a character.
3838 (mark_charset): Mark `cs->encoding_table'; don't mark
3839 `cs->decoding_table'.
3840 (charset_description): Add description of new member
3842 (make_charset): Initialize `encoding_table'.
3844 * char-ucs.h (struct Lisp_Charset): Add new member
3846 (CHARSET_ENCODING_TABLE): New macro.
3847 (XCHARSET_ENCODING_TABLE): New macro.
3848 (charset_code_point): New implementation.
3849 (encode_char_1): Likewise.
3851 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3852 (disksave_object_finalization_1): Call finalizers of
3853 `all_older_lcrecords' in UTF-2000.
3854 (make_older_vector): New function in UTF-2000.
3855 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3858 * lisp.h (make_older_vector): New prototype in UTF-2000.
3860 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3862 * lrecord.h (enum lrecord_type): Rename
3863 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3865 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3866 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3867 `get_char_code_table'.
3869 * mule-charset.c (mark_char_id_table): Renamed from
3870 `mark_char_code_table'.
3871 (char_id_table_equal): Renamed from `char_code_table_equal'.
3872 (char_id_table_hash): Renamed from `char_code_table_hash'.
3873 (make_char_id_table): Renamed from `make_char_code_table'.
3874 (copy_char_id_table): Renamed from `copy_char_code_table'.
3875 (get_char_id_table): Renamed from `get_char_code_table'.
3876 (put_char_id_table): Renamed from `put_char_code_table'.
3877 (to_char_id): Renamed from `to_char_code'.
3879 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3880 `Lisp_Char_Code_Table'.
3881 (char_id_table): Renamed from `char_code_table'.
3882 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3883 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3884 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3885 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3886 (get_char_id_table): Renamed from `get_char_code_table'.
3888 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3890 * lrecord.h (enum lrecord_type): Rename
3891 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3893 * mule-charset.c (mark_byte_table): Renamed from
3894 `mark_char_byte_table'.
3895 (byte_table_equal): Renamed from `char_byte_table_equal'.
3896 (byte_table_hash): Renamed from `byte_table_hash'.
3897 (make_byte_table): Renamed from `make_byte_table'.
3898 (copy_byte_table): Renamed from `copy_char_byte_table'.
3900 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3901 `Lisp_Char_Byte_Table'.
3902 (byte_table): Renamed from `char_byte_table'.
3903 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3904 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3905 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3906 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3908 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3910 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3911 (dfc_convert_to_internal_format): Likewise.
3913 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3914 * text-coding.c (Fcoding_system_alias_p): New function.
3915 * text-coding.c (Fcoding_system_aliasee): New function.
3916 * text-coding.c (append_suffix_to_symbol): New function.
3917 * text-coding.c (dangling_coding_system_alias_p): New function.
3918 * text-coding.c (Ffind_coding_system):
3919 * text-coding.c (Fcopy_coding_system):
3920 * text-coding.c (encode_coding_no_conversion):
3921 * text-coding.c (syms_of_file_coding):
3922 * text-coding.c (vars_of_file_coding):
3923 Rewrite coding system alias code.
3924 Allow nested aliases, like symbolic links.
3925 Allow redefinition of coding system aliases.
3926 Prevent existence of dangling coding system aliases.
3927 Eliminate convert_to_external_format.
3928 Eliminate convert_to_internal_format.
3930 * text-coding.c: Change enum eol_type to eol_type_t.
3932 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3934 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3935 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3937 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3938 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3940 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3942 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3943 `ideograph-daikanwa'.
3945 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3946 (Vcharset_ucs_bmp): Likewise.
3947 (Vcharset_mojikyo): Add new extern variable definition.
3948 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3949 (Vcharset_latin_iso8859_3): Likewise.
3950 (Vcharset_latin_iso8859_4): Likewise.
3951 (Vcharset_latin_iso8859_9): Likewise.
3952 (Vcharset_latin_viscii_lower): Likewise.
3953 (Vcharset_latin_viscii_upper): Likewise.
3954 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3955 `mojikyo' code-point is used to decode.
3956 (encode_char_2): New function [to convert `mojikyo' code-point to
3957 Mojikyo font encoding].
3958 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3959 (breakup_char_1): Likewise.
3960 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3962 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3964 * text-coding.c (Fmake_coding_system): Add document about
3965 `disable-composition' property.
3967 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3969 * text-coding.c (Qdisable_composition): New variable; delete
3971 (Fmake_coding_system): Add new property `disable-composite';
3972 delete property `composite'.
3973 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3974 instead of `!CODING_SYSTEM_COMPOSITE'.
3975 (syms_of_file_coding): Add new symbol `disable-composition';
3976 delete symbol `composite'.
3978 * file-coding.h (struct Lisp_Coding_System): Add
3979 `disable_composition'; delete `enable_composition'.
3980 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3981 `CODING_SYSTEM_COMPOSITE'.
3982 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3983 `XCODING_SYSTEM_COMPOSITE'.
3985 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3987 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3990 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3992 * text-coding.c (Qcomposite): New variable.
3993 (Fmake_coding_system): Add new property `composite'.
3994 (struct decoding_stream): Add `combined_char_count',
3995 `combined_chars' and `combining_table' in UTF-2000.
3996 (COMPOSE_FLUSH_CHARS): New macro.
3997 (COMPOSE_ADD_CHAR): New macro.
3998 (reset_decoding_stream): Reset `str->combined_char_count' and
3999 `str->combining_table' in UTF-2000.
4000 (decode_coding_iso2022): Modify for character-decomposition.
4001 (syms_of_file_coding): Add new symbol `composite'.
4003 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4005 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4006 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4007 of `Vcharacter_composition_table' if `->decomposition' property
4009 (Qlatin_tcvn5712): New variable.
4010 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4011 (complex_vars_of_mule_charset): Add new coded-charset
4014 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4016 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4018 * file-coding.h (struct Lisp_Coding_System): Add
4019 `enable_composition'.
4020 (CODING_SYSTEM_COMPOSITE): New macro.
4021 (XCODING_SYSTEM_COMPOSITE): New macro.
4023 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4025 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4027 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4029 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4030 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4032 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4034 * mule-charset.c (Vcharset_mojikyo): New variable.
4035 (Fdefine_char): Don't use coded-charset which does not have
4036 non-builtin character range to allocate character-id.
4037 (Qmojikyo): New variable.
4038 (syms_of_mule_charset): Add new symbol `mojikyo'.
4039 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4041 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4042 (LEADING_BYTE_MOJIKYO): New macro.
4043 (MIN_CHAR_MOJIKYO): New macro.
4044 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4045 (MAX_CHAR_MOJIKYO): New macro.
4047 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4049 * mule-charset.c (remove_char_attribute): Fixed.
4051 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4053 * mule-charset.c (remove_char_attribute): New function.
4054 (Fremove_char_attribute): New function.
4055 (encode_builtin_char_1): Comment out builtin-support for
4056 greek-iso8859-7 and cyrillic-iso8859-5.
4057 (Fdecode_char): Check `code' is an integer.
4058 (syms_of_mule_charset): Add `remove-char-attribute'.
4059 (MIN_CHAR_GREEK): Deleted.
4060 (MAX_CHAR_GREEK): Likewise.
4061 (MIN_CHAR_CYRILLIC): Likewise.
4062 (MAX_CHAR_CYRILLIC): Likewise.
4063 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4064 MAX_CHAR_GREEK for `greek-iso8859-7'.
4066 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4067 (MAX_CHAR_GREEK): Likewise.
4068 (MIN_CHAR_CYRILLIC): Likewise.
4069 (MAX_CHAR_CYRILLIC): Likewise.
4071 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4073 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4074 format is used without `ucs' property.
4075 (Fdecode_char): Fix problem with GR representation.
4076 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4077 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4079 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4081 * mule-charset.c (make_builtin_char): New function.
4082 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4083 (Fset_charset_mapping_table): Modify for new representation of
4085 (Fdecode_char): New function.
4086 (syms_of_mule_charset): Add new builtin function `decode-char' in
4089 * char-ucs.h (make_builtin_char): New prototype.
4090 (DECODE_CHAR): New inline function.
4091 (MAKE_CHAR): Use `DECODE_CHAR'.
4093 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4095 * text-coding.c (parse_charset_conversion_specs): Use
4096 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4098 (iso2022_designate): Likewise.
4100 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4101 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4103 * mule-charset.c (Vcharset_ucs): New variable.
4104 (print_charset): Change design; use `CHARSET_CHARS' and
4105 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4106 (make_charset): Change signature to specify `chars' and
4107 `dimension' instead of `type'.
4108 (range_charset_code_point): Modify for 256^n-set.
4109 (encode_builtin_char_1): Encode as `ucs' in default.
4110 (Fmake_charset): Modify for `make_charset'.
4111 (Fmake_reverse_direction_charset): Likewise.
4112 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4114 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4117 * char-ucs.h (Vcharset_ucs): New variable.
4118 (LEADING_BYTE_UCS): New macro.
4119 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4120 and `chars' to `unsigned short' from `unsigned int'.
4121 (CHARSET_TYPE): Deleted.
4122 (XCHARSET_TYPE): Deleted.
4124 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4126 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4128 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4129 (ENCODE_CHAR): New macro.
4131 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4133 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4134 to 0.14 (Kawachi-Katakami).
4136 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4138 * text-coding.c (char_encode_shift_jis): Modify for
4139 `charset_code_point'.
4140 (char_encode_iso2022): Likewise.
4142 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4143 (integer) instead of list of <Lisp_Object>s (integers) as the
4144 format of code-point of a coded-charset.
4145 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4146 (encode_builtin_char_1): New function; delete
4147 `split_builtin_char'.
4148 (charset_code_point): Return <int> instead of <Lisp_Object>.
4149 (Fsplit_char): Don't use `SPLIT_CHAR'.
4151 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4152 prototype for `split_builtin_char'.
4153 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4154 (charset_code_point): Likewise.
4155 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4156 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4158 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4160 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4161 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4163 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4165 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4167 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4168 (MAX_CHAR_OBS_94x94): Deleted.
4170 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4172 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4174 * char-ucs.h (MAX_CHAR_BMP): New macro.
4176 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4178 * text-coding.c: Sync with r21-2-24.
4180 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4182 * file-coding.c: Modify for UTF-2000.
4184 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4186 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4189 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4191 * mule-charset.c (split_builtin_char): Delete builtin support for
4192 `katakana-jisx0201'.
4193 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4194 BMP area in builtin representation.
4196 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4197 `Vcharset_katakana_jisx0201'.
4199 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4201 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4202 (Qisolated): New variable.
4203 (Qinitial): New variable.
4204 (Qmedial): New variable.
4205 (Qfinal): New variable.
4206 (Qvertical): New variable.
4207 (Qsmall): New variable.
4208 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4209 `Qvertical' and `Qsmall'.
4210 (Qmojikyo_pj_[1 .. 21]): New variable.
4211 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4212 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4213 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4216 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4218 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4219 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4220 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4222 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4224 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4225 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4227 (Qjapanese_jisx0208_1990): New variable.
4228 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4229 (complex_vars_of_mule_charset): Add new coded-charset
4230 `japanese-jisx0208-1990'.
4232 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4233 (MIN_CHAR_JIS_X0208_1990): New macro.
4234 (MAX_CHAR_JIS_X0208_1990): New macro.
4236 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4238 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4239 coded-charset is not found.
4241 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4243 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4244 (Fdefine_char): Use `Fmake_char'.
4246 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4248 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4249 (Vcharset_hiragana_jisx0208): Deleted.
4250 (Vcharset_katakana_jisx0208): Deleted.
4251 (Qideograph_daikanwa): New variable.
4252 (Qhiragana_jisx0208): Deleted.
4253 (Qkatakana_jisx0208): Deleted.
4254 (split_builtin_char): Split `ideograph-daikanwa'.
4255 (Fsplit_char): New implementation for UTF-2000.
4256 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4257 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4258 (complex_vars_of_mule_charset): Add new coded-charset
4259 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4260 `katakana-jisx0208'.
4262 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4263 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4264 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4265 (MIN_CHAR_DAIKANWA): New macro.
4266 (MAX_CHAR_DAIKANWA): New macro.
4268 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4270 * data.c (Fstring_to_number): Don't recognize floating point if
4273 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4277 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4279 * mule-charset.c (Qsquare): New variable.
4280 (to_char_code): Add `Qsquare'.
4281 (syms_of_mule_charset): Add new symbol `square'.
4283 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4285 * mule-charset.c (Qcircle): New variable.
4286 (to_char_code): Add `Qcircle'.
4287 (syms_of_mule_charset): Add new symbol `circle'.
4289 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4291 * mule-charset.c (Qfont): New variable.
4292 (to_char_code): Add `Qfont'.
4293 (syms_of_mule_charset): Add new symbol `font'.
4295 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4297 * mule-charset.c (Qsub): New variable.
4298 (to_char_code): Add `Qsub'.
4299 (syms_of_mule_charset): Add new symbol `sub'.
4301 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4303 * mule-charset.c (Fput_char_attribute): Convert each element of
4304 VALUE to GL position if ATTRIBUTE is a GR-set,
4306 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4308 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4309 coded-charset is a GR-set.
4311 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4313 * mule-charset.c (Fput_char_attribute): Check each element of
4314 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4316 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4318 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4320 (Qethiopic_ucs): New variable in UTF-2000.
4321 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4322 (complex_vars_of_mule_charset): Add new coded-charset
4323 `ethiopic-ucs' in UTF-2000.
4325 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4326 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4328 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4330 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4332 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4334 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4337 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4339 * mule-charset.c (Vcharacter_variant_table): New variable.
4340 (Q_ucs): New variable.
4341 (Fchar_variants): New function.
4342 (Fput_char_attribute): Register `->ucs' value to
4343 `Vcharacter_variant_table'.
4344 (syms_of_mule_charset): Add new function `char-variants' and new
4346 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4348 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4350 * mule-charset.c (get_char_code_table): Allow negative character
4352 (put_char_code_table): Likewise.
4353 (Vcharacter_composition_table): New variable.
4354 (Q_decomposition): New variable.
4355 (Qwide): New variable.
4356 (Qnarrow): New variable.
4357 (Qcompat): New variable.
4358 (QnoBreak): New variable.
4359 (Qsuper): New variable.
4360 (Qfraction): New variable.
4361 (to_char_code): New function.
4362 (Fget_composite_char): New function.
4363 (Fput_char_attribute): Register `->decomposition' value to
4364 `Vcharacter_composition_table'.
4365 (syms_of_mule_charset): Add new function `get-composite-char', new
4366 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4367 `super' and `fraction'.
4368 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4370 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4372 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4373 character; copy the return value.
4375 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4377 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4379 * mule-charset.c (range_charset_code_point): Must use make_int.
4380 (split_builtin_char): New function.
4382 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4384 * mule-charset.c (char_byte_table): Change name from
4385 "char-code-table" to "char-byte-table".
4386 (mark_char_code_table): New function.
4387 (char_code_table_equal): New function.
4388 (char_code_table_hash): New function.
4389 (char_code_table_description): New constant.
4390 (char_code_table): New type.
4391 (make_char_code_table): New function.
4392 (copy_char_code_table): New function.
4393 (get_char_code_table): Modify for `char_code_table' type.
4394 (put_char_code_table): Likewise.
4395 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4398 * char-ucs.h (char_code_table): New type.
4399 (XCHAR_CODE_TABLE): New macro.
4400 (XSETCHAR_CODE_TABLE): New macro.
4401 (CHAR_CODE_TABLE_P): New macro.
4402 (GC_CHAR_CODE_TABLE_P): New macro.
4403 (struct Lisp_Char_Code_Table): New structure.
4405 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4407 * mule-charset.c (Fmake_charset): Setup byte_offset for
4410 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4412 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4415 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4417 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4420 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4422 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4423 charset, it is regarded as a charset.
4424 (put_char_attribute): New function in UTF-2000.
4425 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4426 charset, mapping-table of the charset is modified.
4427 (Fdefine_char): New function in UTF-2000.
4428 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4429 `Fput_char_attribute'.
4430 (syms_of_mule_charset): Add new function `define-char' and new
4431 symbol `ucs' in UTF-2000.
4432 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4434 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4436 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4437 non-UTF-2000 configuration.
4439 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4441 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4442 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4444 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4446 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4447 (Fset_charset_mapping_table): Likewise.
4449 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4450 (CHARSET_ENCODING_TABLE): Delete.
4451 (XCHARSET_ENCODING_TABLE): Delete.
4452 (charset_code_point): New interface.
4454 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4456 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4457 instead of `charset_get_byte1' and `charset_get_byte2'.
4459 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4460 (charset_get_byte2): Deleted.
4462 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4464 * char-ucs.h (SPLIT_CHAR): New inline function.
4465 (breakup_char_1): Use `SPLIT_CHAR'.
4467 * mule-charset.c (range_charset_code_point): New function.
4468 (charset_code_point): New function.
4470 * char-ucs.h (range_charset_code_point): New interface.
4471 (breakup_char_1): Use `range_charset_code_point'.
4473 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4475 * mule-charset.c (Fmake_charset): Delete unused local variable
4478 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4479 (breakup_char_1): Find a charset and code-point in
4480 `Vcharacter_attribute_table'.
4482 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4484 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4487 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4489 * mule-charset.c (Vcharacter_attribute_table): New variable.
4490 (Fchar_attribute_alist): New function.
4491 (Fget_char_attribute): New function.
4492 (Fput_char_attribute): New function.
4493 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4495 (syms_of_mule_charset): Add new function `char-attribute-alist',
4496 `get-char-attribute' and `put-char-attribute'.
4497 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4499 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4501 * mule-charset.c (Fmake_charset): Just use
4502 `get_unallocated_leading_byte'.
4504 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4505 sets; don't use final-byte based number for private sets.
4507 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4509 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4512 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4514 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4517 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4519 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4520 of `CHAR_LEADING_BYTE' in UTF-2000.
4522 * insdel.c (find_charsets_in_bufbyte_string): Use
4523 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4524 (find_charsets_in_emchar_string): Likewise.
4526 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4527 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4529 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4530 (CHAR_CHARSET_ID): New macro.
4532 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4534 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4535 charset-id - MIN_LEADING_BYTE.
4536 (put_char_table): Likewise.
4538 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4540 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4541 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4542 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4543 (CHARSET_ID_OFFSET): New macro.
4544 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4545 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4546 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4547 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4549 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4551 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4552 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4553 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4554 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4555 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4557 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4559 * mule-charset.c (next_allocated_leading_byte): New variable in
4561 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4562 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4563 (get_unallocated_leading_byte): Simply use
4564 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4565 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4568 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4569 (MAX_LEADING_BYTE_PRIVATE): New macro.
4570 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4571 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4573 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4575 * mule-charset.c (Fmake_charset): Allocate final-byte based
4576 charset-id for 94-set, 96-set and 94x94-set.
4578 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4580 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4582 (Fmake_charset): Likewise.
4583 (complex_vars_of_mule_charset): Modify the font registry of
4584 `ucs-bmp' not to match `Ethiopic-Unicode'.
4586 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4588 * mule-charset.c (complex_vars_of_mule_charset): Add font
4589 registory of `ucs-bmp'.
4591 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4593 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4594 coded-charsets in `default-coded-charset-priority-list' when
4595 breaking up a character.
4597 * mule-charset.c (Vcharset_latin_viscii): New variable.
4598 (Qlatin_viscii): New variable.
4599 (make_charset): Don't use `decoding_table'.
4600 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4602 (Fset_charset_mapping_table): New implementation.
4603 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4604 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4605 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4606 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4607 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4608 charset `latin_viscii'.
4610 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4611 (CHARSET_TYPE_94X94): Change to 1 from 2.
4612 (CHARSET_TYPE_96): Change to 2 from 1.
4613 (CHARSET_TYPE_128): New macro.
4614 (CHARSET_TYPE_128X128): Change to 5 from 4.
4615 (CHARSET_TYPE_256): New macro.
4616 (CHARSET_TYPE_256X256): Change to 7 from 5.
4617 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4619 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4621 * text-coding.c (char_encode_shift_jis): Refer
4622 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4623 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4625 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4626 (char_byte_table_equal): New function in UTF-2000.
4627 (char_byte_table_hash): New function in UTF-2000.
4628 (char_byte_table_description): New constant in UTF-2000.
4629 (char_byte_table): New type in UTF-2000.
4630 (make_char_byte_table): New function in UTF-2000.
4631 (copy_char_byte_table): New function in UTF-2000.
4632 (make_char_code_table): New macro in UTF-2000.
4633 (get_char_code_table): New function in UTF-2000.
4634 (put_char_code_table): New function in UTF-2000.
4635 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4636 (charset_description): Add setting in UTF-2000.
4637 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4638 `CHARSET_TO_BYTE1_TABLE(cs)'.
4639 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4640 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4641 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4642 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4643 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4644 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4645 `CHARSET_TO_BYTE2_TABLE(cs)'.
4647 * char-ucs.h (char_byte_table): New type.
4648 (XCHAR_BYTE_TABLE): New macro.
4649 (XSETCHAR_BYTE_TABLE): New macro.
4650 (CHAR_BYTE_TABLE_P): New macro.
4651 (GC_CHAR_BYTE_TABLE_P): New macro.
4652 (struct Lisp_Char_Byte_Table): New structure.
4653 (get_char_code_table): New interface.
4654 (Emchar_to_byte_table): Deleted.
4655 (get_byte_from_character_table): Deleted.
4656 (struct Lisp_Charset): Add `encoding_table'; delete
4657 `to_byte1_table' and `to_byte2_table'.
4658 (CHARSET_ENCODING_TABLE): New macro.
4659 (CHARSET_TO_BYTE1_TABLE): Deleted.
4660 (CHARSET_TO_BYTE2_TABLE): Deleted.
4661 (XCHARSET_ENCODING_TABLE): New macro.
4662 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4663 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4665 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4667 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4668 `vietnamese-viscii-*'.
4670 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4672 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4673 (Qvietnamese_viscii_upper): New variable.
4674 (Fdefine_charset_alias): New function.
4675 (syms_of_mule_charset): Add new function `define-charset-alias'.
4676 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4677 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4680 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4682 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4683 (MAX_CHAR_OBS_94x94): New macro.
4684 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4687 * mule-charset.c (put_byte_from_character_table): Change unit size
4689 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4691 (Fmake_reverse_direction_charset): Modify dummy argument of
4692 `make_charset' for non-UTF-2000 environment.
4694 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4696 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4698 * mule-charset.c (destroy_byte_from_character_table): New macro.
4699 (latin_jisx0201_to_ucs): Deleted.
4700 (latin_iso8859_2_to_ucs): Deleted.
4701 (latin_iso8859_3_to_ucs): Deleted.
4702 (latin_iso8859_4_to_ucs): Deleted.
4703 (latin_iso8859_9_to_ucs): Deleted.
4704 (latin_viscii_lower_to_ucs): Deleted.
4705 (latin_viscii_upper_to_ucs): Deleted.
4706 (mark_charset): Mark `cs->decoding_table'.
4707 (Fcharset_mapping_table): Fix DOC-string.
4708 (Fset_charset_mapping_table): New function.
4709 (syms_of_mule_charset): Add nwe function
4710 `set-charset-mapping-table'.
4711 (complex_vars_of_mule_charset): Don't setup and use
4714 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4716 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4719 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4721 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4722 (Vcharset_katakana_jisx0208): New variable.
4723 (Qhiragana_jisx0208): New variable.
4724 (Qkatakana_jisx0208): New variable.
4725 (make_charset): Add new argument `byte_offset'.
4726 (charset_get_byte1): Modify for new coded-charset definition; use
4727 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4728 `XCHARSET_BYTE_OFFSET'.
4729 (Fmake_charset): Modify for `make_charset'.
4730 (Fmake_reverse_direction_charset): Likewise.
4731 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4732 `katakana-jisx0208'.
4733 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4734 `.' in font registry of charset `katakana-jisx0201',
4735 `latin-jisx0201', `vietnamese-viscii-lower' and
4736 `vietnamese-viscii-upper'; modify DOC-string of charset
4737 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4738 registry of charset `japanese-jisx0208' not to use font for JIS
4739 X0208:1990; add new charset `hiragana-jisx0208' and
4740 `katakana-jisx0208'.
4742 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4743 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4744 (struct Lisp_Charset): Add `byte_offset'.
4745 (CHARSET_BYTE_OFFSET): New macro.
4746 (XCHARSET_UCS_MIN): New macro.
4747 (XCHARSET_UCS_MAX): New macro.
4748 (XCHARSET_CODE_OFFSET): New macro.
4749 (XCHARSET_BYTE_OFFSET): New macro.
4750 (MIN_CHAR_HIRAGANA): New macro.
4751 (MAX_CHAR_HIRAGANA): New macro.
4752 (MIN_CHAR_KATAKANA): New macro.
4753 (MAX_CHAR_KATAKANA): New macro.
4754 (MAKE_CHAR): Modify for new coded-charset definition; use
4755 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4756 `XCHARSET_BYTE_OFFSET'.
4758 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4760 * mule-charset.c (CHAR96): Deleted.
4761 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4763 (latin_iso8859_2_to_ucs): Likewise.
4764 (latin_iso8859_3_to_ucs): Likewise.
4765 (latin_iso8859_4_to_ucs): Likewise.
4766 (latin_iso8859_9_to_ucs): Likewise.
4767 (latin_viscii_lower_to_ucs): Likewise.
4768 (latin_viscii_upper_to_ucs): Likewise.
4769 (latin_tcvn5712_to_ucs): Commented out.
4770 (make_charset): Change type of argument `decoding_table' from
4771 <Emchar*> to <Lisp_Object> [vector of characters].
4772 (Fmake_charset): Modify for `make_charset'.
4773 (Fmake_reverse_direction_charset): Likewise.
4774 (Fcharset_mapping_table): New function in UTF-2000.
4775 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4777 (complex_vars_of_mule_charset): Modify for type change of
4778 `*_to_ucs'; modify for `make_charset'.
4780 * char-ucs.h (struct Lisp_Charset): Change type of
4781 `decoding_table' from <Emchar*> to <Lisp_Object>.
4782 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4784 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4786 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4787 error with non-UTF-2000-Mule.
4789 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4791 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4793 (Vcharset_chinese_cns11643_4): Likewise.
4794 (Vcharset_chinese_cns11643_5): Likewise.
4795 (Vcharset_chinese_cns11643_6): Likewise.
4796 (Vcharset_chinese_cns11643_7): Likewise.
4797 (Qchinese_cns11643_3): Likewise.
4798 (Qchinese_cns11643_4): Likewise.
4799 (Qchinese_cns11643_5): Likewise.
4800 (Qchinese_cns11643_6): Likewise.
4801 (Qchinese_cns11643_7): Likewise.
4802 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4803 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4804 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4805 (complex_vars_of_mule_charset): Likewise.
4807 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4809 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4811 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4812 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4814 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4816 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4818 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4819 (breakup_char_1): Likewise.
4821 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4822 one of them includes the specified character.
4824 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4828 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4830 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4832 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4834 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4835 definition for non-UTF-2000 Mule.
4836 (latin_iso8859_3_to_ucs): Likewise.
4837 (latin_iso8859_4_to_ucs): Likewise.
4838 (latin_iso8859_9_to_ucs): Likewise.
4839 (latin_jisx0201_to_ucs): Likewise.
4840 (MIN_CHAR_THAI): Likewise.
4841 (MAX_CHAR_THAI): Likewise.
4842 (MIN_CHAR_GREEK): Likewise.
4843 (MAX_CHAR_GREEK): Likewise.
4844 (MIN_CHAR_HEBREW): Likewise.
4845 (MAX_CHAR_HEBREW): Likewise.
4846 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4847 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4848 (MIN_CHAR_CYRILLIC): Likewise.
4849 (MAX_CHAR_CYRILLIC): Likewise.
4851 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4853 * char-ucs.h (breakup_char_1): Use
4854 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4855 thai-tis620 and katakana-jisx0201 area.
4857 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4859 * char-ucs.h (breakup_char_1): Use
4860 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4863 * text-coding.c (reset_encoding_stream): Fixed.
4864 (char_encode_ucs4): Delete `& 255'.
4866 * char-ucs.h (breakup_char_1): Use
4867 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4869 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4871 * file-coding.c (Fmake_coding_system): Don't set up
4872 `codesys->fixed.size'.
4873 (encode_coding_no_conversion): Don't refer
4874 `str->codesys->fixed.size'.
4876 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4878 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4879 (latin_a_char_to_byte1): Deleted.
4880 (latin_a_char_to_byte2): Deleted.
4882 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4884 * mule-charset.c (make_charset): Add new argument `ucs_min',
4885 `ucs_max' and `code_offset'.
4886 (charset_get_byte1): New implementation [delete specific charset
4887 depended implementations].
4888 (Fmake_charset): Modify for `make_charset'.
4889 (Fmake_reverse_direction_charset): Likewise.
4890 (complex_vars_of_mule_charset): Likewise.
4892 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4894 (CHARSET_UCS_MIN): New macro.
4895 (CHARSET_UCS_MAX): New macro.
4896 (CHARSET_CODE_OFFSET): New macro.
4897 (MAKE_CHAR): Delete charset depended definitions [except
4900 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4902 * char-ucs.h (breakup_char_1): Use
4903 `Vdefault_coded_charset_priority_list' for C0-Controls,
4904 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4906 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4908 * char-ucs.h (charset_get_byte1): New function.
4909 (XCHARSET_GET_BYTE1): Deleted.
4910 (charset_get_byte2): New function.
4911 (XCHARSET_GET_BYTE2): Deleted.
4912 (Vdefault_coded_charset_priority_list): New external variable.
4913 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4914 `Vdefault_preferred_coded_charset_list'.
4916 * mule-charset.c (charset_get_byte1): New function.
4917 (charset_get_byte2): New function.
4918 (Vdefault_coded_charset_priority_list): New variable.
4919 (vars_of_mule_charset): Add new variable
4920 `default-coded-charset-priority-list'.
4922 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4924 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4925 (XCHARSET_GET_BYTE2): New inline function.
4926 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4927 `XCHARSET_GET_BYTE2'.
4929 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4931 * mule-charset.c (make_charset): Initialize
4932 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4933 NULL if table is not defined.
4935 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4937 * text-coding.c (char_encode_shift_jis): Use
4938 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4939 `ucs_to_latin_jisx0201'.
4941 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4942 (ucs_to_latin_iso8859_2): Deleted.
4943 (ucs_to_latin_iso8859_3): Deleted.
4944 (ucs_to_latin_iso8859_4): Deleted.
4945 (ucs_to_latin_iso8859_9): Deleted.
4946 (ucs_to_latin_viscii_lower): Deleted.
4947 (ucs_to_latin_viscii_upper): Deleted.
4948 (ucs_to_latin_tcvn5712): Deleted.
4949 (make_charset): Add new argument `decoding_table'; set up
4950 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4951 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4952 `decoding_table' is defined in UTF-2000.
4953 (Fmake_charset): Modify for `make_charset'.
4954 (Fmake_reverse_direction_charset): Likewise.
4955 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4956 and `GENERATE_96_SET'.
4958 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4959 (ucs_to_latin_jisx0201): Deleted.
4960 (latin_iso8859_2_to_ucs): Deleted.
4961 (ucs_to_latin_iso8859_2): Deleted.
4962 (latin_iso8859_3_to_ucs): Deleted.
4963 (ucs_to_latin_iso8859_3): Deleted.
4964 (latin_iso8859_4_to_ucs): Deleted.
4965 (ucs_to_latin_iso8859_4): Deleted.
4966 (latin_iso8859_9_to_ucs): Deleted.
4967 (ucs_to_latin_iso8859_9): Deleted.
4968 (latin_viscii_lower_to_ucs): Deleted.
4969 (ucs_to_latin_viscii_lower): Deleted.
4970 (latin_viscii_upper_to_ucs): Deleted.
4971 (ucs_to_latin_viscii_upper): Deleted.
4972 (struct Lisp_Charset): Renamed `encoding_table' to
4973 `to_byte1_table'; add `to_byte2_table'.
4974 (CHARSET_DECODING_TABLE): New macro.
4975 (CHARSET_TO_BYTE1_TABLE): New macro.
4976 (CHARSET_TO_BYTE2_TABLE): New macro.
4977 (XCHARSET_DECODING_TABLE): New macro.
4978 (XCHARSET_TO_BYTE1_TABLE): New macro.
4979 (XCHARSET_TO_BYTE2_TABLE): New macro.
4980 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4982 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4983 don't use `ucs_to_*' tables.
4985 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4987 * text-coding.c (Fmake_coding_system): Don't set up
4988 `codesys->fixed.size'.
4989 (encode_coding_no_conversion): Use `if' instead of `switch'.
4991 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4993 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4995 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4996 (Fmake_charset): Modify for `make_charset'.
4997 (Fmake_reverse_direction_charset): Likewise.
4998 (complex_vars_of_mule_charset): Likewise.
5000 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5002 * text-coding.c (char_encode_shift_jis): Use table
5003 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5005 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5007 * text-coding.c (text_encode_generic): Use `if' instead of
5009 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5012 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5014 * text-coding.c (encode_coding_sjis): Deleted.
5015 (char_encode_shift_jis): New function.
5016 (char_finish_shift_jis): New function.
5017 (reset_encoding_stream): Set up `encode_char' and `finish' for
5018 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5019 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5020 (char_encode_utf8): Treat `eol_type'.
5022 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5024 * file-coding.c (decode_coding_iso2022): Use
5025 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5027 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5029 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5032 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5034 * char-lb.h (CHAR_COLUMNS): New macro.
5036 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5038 * text-coding.c (char_encode_ucs4): New function.
5039 (char_finish_ucs4): New function.
5040 (encode_coding_ucs4): Deleted.
5041 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5042 (text_encode_generic): Delete local variable `charset' and `half'.
5043 (ucs_to_mule_table): Deleted.
5044 (mule_to_ucs_table): Deleted.
5045 (Fset_ucs_char): Deleted.
5046 (ucs_to_char): Deleted.
5047 (Fucs_char): Deleted.
5048 (Fset_char_ucs): Deleted.
5049 (Fchar_ucs): Deleted.
5050 (decode_ucs4): Deleted.
5051 (mule_char_to_ucs4): Deleted.
5052 (encode_ucs4): Deleted.
5053 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5054 (decode_coding_utf8): Likewise.
5055 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5056 (char_encode_iso2022): Fixed.
5057 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5058 `Fset_char_ucs' and `Fchar_ucs'.
5059 (complex_vars_of_file_coding): Don't initialize
5060 `ucs_to_mule_table'.
5062 * objects-tty.c (tty_initialize_font_instance): Don't use
5065 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5068 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5069 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5071 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5072 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5073 (emchar_string_displayed_columns): Likewise.
5075 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5076 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5077 (string_column_at_point): Likewise.
5078 (Fmove_to_column): Likewise.
5080 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5081 `encoding_table' and `decoding_table'.
5082 (CHARSET_REP_BYTES): Deleted.
5083 (XCHARSET_REP_BYTES): Deleted.
5084 (XCHARSET_COLUMNS): Deleted.
5085 (CHAR_COLUMNS): New macro.
5086 (lookup_composite_char): Deleted unconditionally.
5087 (composite_char_string): Likewise.
5089 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5091 * char-ucs.h (Emchar_to_byte_table): New type.
5092 (get_byte_from_character_table): New function interface.
5093 (Vcharset_latin_jisx0201): New variable.
5094 (latin_jisx0201_to_ucs): New variable.
5095 (ucs_to_latin_jisx0201): New variable.
5096 (Vcharset_latin_iso8859_2): New variable.
5097 (latin_iso8859_2_to_ucs): New variable.
5098 (ucs_to_latin_iso8859_2): New variable.
5099 (Vcharset_latin_iso8859_3): New variable.
5100 (latin_iso8859_3_to_ucs): New variable.
5101 (ucs_to_latin_iso8859_3): New variable.
5102 (Vcharset_latin_iso8859_4): New variable.
5103 (latin_iso8859_4_to_ucs): New variable.
5104 (ucs_to_latin_iso8859_4): New variable.
5105 (Vcharset_latin_iso8859_9): New variable.
5106 (latin_iso8859_9_to_ucs): New variable.
5107 (ucs_to_latin_iso8859_9): New variable.
5108 (Vcharset_latin_viscii_lower): New variable.
5109 (latin_viscii_lower_to_ucs): New variable.
5110 (ucs_to_latin_viscii_lower): New variable.
5111 (Vcharset_latin_viscii_upper): New variable.
5112 (latin_viscii_upper_to_ucs): New variable.
5113 (ucs_to_latin_viscii_upper): New variable.
5114 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5115 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5116 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5117 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5118 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5119 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5120 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5121 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5122 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5123 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5125 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5126 (Vcharset_latin_viscii_upper): New variable.
5127 (make_byte_from_character_table): New function.
5128 (put_byte_from_character_table): New function.
5129 (get_byte_from_character_table): New function.
5130 (CHAR96): New macro.
5131 (ucs_to_latin_jisx0201): New variable.
5132 (latin_jisx0201_to_ucs): New variable.
5133 (ucs_to_latin_iso8859_2): New variable.
5134 (latin_iso8859_2_to_ucs): New variable.
5135 (ucs_to_latin_iso8859_3): New variable.
5136 (latin_iso8859_3_to_ucs): New variable.
5137 (ucs_to_latin_iso8859_4): New variable.
5138 (latin_iso8859_4_to_ucs): New variable.
5139 (ucs_to_latin_iso8859_9): New variable.
5140 (latin_iso8859_9_to_ucs): New variable.
5141 (ucs_to_latin_viscii_lower): New variable.
5142 (latin_viscii_lower_to_ucs): New variable.
5143 (ucs_to_latin_viscii_upper): New variable.
5144 (latin_viscii_upper_to_ucs): New variable.
5145 (ucs_to_latin_tcvn5712): New variable.
5146 (latin_tcvn5712_to_ucs): New variable.
5147 (Qlatin_viscii_lower): New variable.
5148 (Qlatin_viscii_upper): New variable.
5149 (syms_of_mule_charset): Set up new symbol
5150 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5151 (complex_vars_of_mule_charset): Set up new charset
5152 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5153 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5154 `ucs_to_<CHARSET>' tables.
5156 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5158 * text-coding.c: New file.
5160 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5162 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5164 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5165 (MAKE_CHAR): Modify for `ucs-bmp'.
5166 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5167 non-MULE characters of BMP.
5169 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5171 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5174 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5177 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5178 - Include character.h for `CHAR_ASCII_P'.
5180 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5182 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5183 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5185 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5186 (BYTE_C0_P): Likewise.
5187 (BYTE_C1_P): Likewise.
5188 (Lstream_get_emchar_1): Likewise.
5189 (Lstream_fput_emchar): Likewise.
5190 (Lstream_funget_emchar): Likewise.
5191 (copy_internal_to_external): Likewise.
5192 (copy_external_to_internal): Likewise.
5194 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5195 (BYTE_C0_P): Likewise.
5196 (BYTE_C1_P): Likewise.
5197 (Lstream_get_emchar_1): Likewise.
5198 (Lstream_fput_emchar): Likewise.
5199 (Lstream_funget_emchar): Likewise.
5200 (copy_internal_to_external): Likewise.
5201 (copy_external_to_internal): Likewise.
5203 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5204 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5206 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5207 (BYTE_ASCII_P): Moved to mb-1byte.h.
5209 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5211 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5213 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5214 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5215 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5216 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5217 (VALIDATE_CHARPTR_FORWARD): Likewise.
5218 (simple_charptr_emchar): Moved to mb-multibyte.h.
5219 (simple_set_charptr_emchar): Likewise.
5220 (simple_charptr_copy_char): Likewise.
5221 (non_ascii_charptr_emchar): Likewise.
5222 (non_ascii_set_charptr_emchar): Likewise.
5223 (non_ascii_charptr_copy_char): Likewise.
5224 (charptr_emchar): Moved to mb-*byte.h.
5225 (set_charptr_emchar): Likewise.
5226 (charptr_copy_char): Likewise.
5228 * mb-1byte.h, mb-multibyte.h: New files.
5230 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5232 * mb-utf-8.h (MULTIBYTE): New macro.
5233 (MAX_EMCHAR_LEN): Moved from buffer.h.
5234 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5236 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5238 * mb-lb.h, multibyte.h: New files.
5240 * char-1byte.h (Charset_ID): Moved from buffer.h.
5241 (MIN_LEADING_BYTE): Likewise.
5242 (LEADING_BYTE_ASCII): Likewise.
5243 (NUM_LEADING_BYTES): Likewise.
5244 (CHARSETP): Likewise.
5245 (CHARSET_BY_LEADING_BYTE): Likewise.
5246 (XCHARSET_LEADING_BYTE): Likewise.
5247 (XCHARSET_GRAPHIC): Likewise.
5248 (XCHARSET_COLUMNS): Likewise.
5249 (XCHARSET_DIMENSION): Likewise.
5250 (CHAR_CHARSET): Likewise.
5251 (CHAR_LEADING_BYTE): Likewise.
5252 (BREAKUP_CHAR): Likewise.
5253 (Vcharset_ascii): Likewise.
5255 * buffer.h: Include multibyte.h unconditionally.
5256 (VALID_CHARPTR_P): Moved to multibyte.h.
5257 (ASSERT_VALID_CHARPTR): Likewise.
5258 (REAL_INC_CHARPTR): Likewise.
5259 (REAL_INC_CHARBYTIND): Likewise.
5260 (REAL_DEC_CHARPTR): Likewise.
5261 (INC_CHARPTR): Likewise.
5262 (INC_CHARBYTIND): Likewise.
5263 (DEC_CHARPTR): Likewise.
5264 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5265 (VALIDATE_CHARPTR_FORWARD): Likewise.
5266 (charptr_n_addr): Likewise.
5267 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5268 (simple_charptr_emchar): Moved to multibyte.h.
5269 (simple_set_charptr_emchar): Likewise.
5270 (simple_charptr_copy_char): Likewise.
5271 (non_ascii_charptr_emchar): Likewise.
5272 (non_ascii_set_charptr_emchar): Likewise.
5273 (non_ascii_charptr_copy_char): Likewise.
5274 (charptr_emchar): Likewise.
5275 (set_charptr_emchar): Likewise.
5276 (charptr_copy_char): Likewise.
5277 (charptr_emchar_n): Likewise.
5278 (Charset_ID): Moved to char-1byte.h.
5279 (Vcharset_ascii): Likewise.
5280 (CHAR_CHARSET): Likewise.
5281 (CHAR_LEADING_BYTE): Likewise.
5282 (LEADING_BYTE_ASCII): Likewise.
5283 (NUM_LEADING_BYTES): Likewise.
5284 (MIN_LEADING_BYTE): Likewise.
5285 (CHARSETP): Likewise.
5286 (CHARSET_BY_LEADING_BYTE): Likewise.
5287 (XCHARSET_LEADING_BYTE): Likewise.
5288 (XCHARSET_GRAPHIC): Likewise.
5289 (XCHARSET_COLUMNS): Likewise.
5290 (XCHARSET_DIMENSION): Likewise.
5291 (BREAKUP_CHAR): Likewise.
5293 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5295 * character.h: Add document about interface for characters.
5297 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5298 (MAKE_CHAR): Delete comment about
5299 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5300 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5301 (BREAKUP_CHAR): Modify name of arguments.
5302 (CHAR_CHARSET): Modify name of argument.
5304 * buffer.h: Delete document about Emchar accessors.
5306 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5308 * character.h (CHAR_INTP): Moved from buffer.h
5309 (CHAR_OR_CHAR_INTP): Likewise.
5310 (XCHAR_OR_CHAR_INT): Likewise.
5311 (CHECK_CHAR_COERCE_INT): Likewise.
5313 * buffer.h (CHAR_INTP): Moved to character.h
5314 (CHAR_OR_CHAR_INTP): Likewise.
5315 (XCHAR_OR_CHAR_INT): Likewise.
5316 (CHECK_CHAR_COERCE_INT): Likewise.
5318 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5321 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5322 - Include char-1byte.h, char-lb.h or char-ucs.h.
5324 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5326 * buffer.h: Include character unconditionally.
5327 (valid_char_p): Moved to char-*.h.
5328 (non_ascii_valid_char_p): Moved to char-lb.h.
5330 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5332 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5334 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5335 in UTF-2000 because it is not ported yet and not to use
5336 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5337 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5338 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5340 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5341 (CHAR_ASCII_P): Moved from character.h.
5343 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5344 (CHAR_ASCII_P): Likewise.
5345 (CHAR_FIELD1_MASK): Deleted.
5346 (CHAR_FIELD2_MASK): Deleted.
5347 (CHAR_FIELD3_MASK): Deleted.
5348 (MAX_CHAR_BASIC_LATIN): New macro.
5349 (CHAR_FIELD1): Deleted.
5350 (CHAR_FIELD2_INTERNAL): Deleted.
5351 (CHAR_FIELD3_INTERNAL): Deleted.
5352 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5353 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5354 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5355 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5356 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5357 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5358 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5359 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5360 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5361 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5362 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5363 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5364 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5365 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5366 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5367 (MIN_CHAR_COMPOSITION): Deleted.
5368 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5369 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5371 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5373 * buffer.h: Include mb-utf-8.h in UTF-2000.
5375 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5377 * mb-utf-8.h: New file.
5379 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5381 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5384 * mule-charset.h, buffer.h (Charset_ID): New type.
5386 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5388 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5389 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5390 instead of `MULE_CHAR_PRIVATE_OFFSET',
5391 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5392 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5393 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5395 * character.h (Vcharset_japanese_jisx0212): New variable
5398 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5400 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5401 (charset_by_attributes): Delete array about direction.
5402 (latin_a_char_to_charset): New variable in UTF-2000.
5403 (latin_a_char_to_byte1): New variable in UTF-2000.
5404 (latin_a_char_to_byte2): New variable in UTF-2000.
5405 (Qucs_bmp): New variable.
5406 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5408 (next_allocated_2_byte_leading_byte): Likewise.
5409 (non_ascii_set_charptr_emchar): Likewise.
5410 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5411 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5412 `charset_by_attributes'.
5413 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5414 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5415 and `CHARSET_BY_LEADING_BYTE'.
5416 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5417 `utf-2000-version' to `vars_of_mule_charset'.
5418 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5419 define `leading-code-private-11' in UTF-2000; move setting of
5420 `utf-2000-version' from `syms_of_mule_charset'.
5421 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5424 * character.h (Charset_ID): New type.
5425 (LEADING_BYTE_UCS_BMP): New macro.
5426 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5427 (CHARSET_ID_OFFSET_94): New macro.
5428 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5429 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5430 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5432 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5433 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5434 (CHARSET_ID_OFFSET_96): New macro.
5435 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5436 CHARSET_ID_OFFSET_96 and final-byte.
5437 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5438 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5439 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5440 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5441 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5442 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5443 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5444 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5445 (LEADING_BYTE_THAI_TIS620): Likewise.
5446 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5447 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5448 (CHARSET_ID_OFFSET_94x94): New macro.
5449 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5450 CHARSET_ID_OFFSET_94x94 and final-byte.
5451 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5452 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5453 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5454 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5455 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5456 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5457 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5458 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5459 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5460 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5461 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5462 (CHARSET_TYPE_128X128): New macro.
5463 (CHARSET_TYPE_256X256): New macro.
5464 (XCHARSET_PRIVATE_P): Delete unconditionally.
5465 (charset_by_attributes): Delete array about direction.
5466 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5467 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5468 (MIN_CHAR_94): New macro.
5469 (MAX_CHAR_94): New macro.
5470 (MIN_CHAR_96): New macro.
5471 (MAX_CHAR_96): New macro.
5472 (MIN_CHAR_94x94): New macro.
5473 (MAX_CHAR_94x94): New macro.
5474 (MIN_CHAR_96x96): New macro.
5475 (MAX_CHAR_96x96): New macro.
5476 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5477 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5478 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5480 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5481 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5482 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5483 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5484 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5485 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5486 `XCHARSET_LEADING_BYTE' to make code-point.
5487 (latin_a_char_to_charset): New variable.
5488 (latin_a_char_to_byte1): New variable.
5489 (latin_a_char_to_byte2): New variable.
5490 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5491 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5492 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5494 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5495 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5496 (find_charsets_in_emchar_string): Likewise.
5497 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5499 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5501 (decode_coding_iso2022): Likewise.
5503 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5506 * redisplay.c (redisplay_text_width_emchar_string): Use
5507 `Charset_ID' instead of `unsigned char'.
5508 (redisplay_frame_text_width_string): Likewise.
5510 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5513 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5514 instead of `unsigned char'.
5515 (face_cachel_charset_font_metric_info): Likewise.
5517 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5518 (get_non_ascii_char_table_value): Likewise.
5519 (get_char_table): Likewise.
5520 (put_char_table): Likewise.
5521 (map_over_other_charset): Likewise.
5522 (map_char_table): Likewise.
5524 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5525 instead of `unsigned char'.
5527 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5529 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5530 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5532 * mule-charset.c (leading_code_private_11): Don't define in
5535 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5536 in UTF-2000 because it is not ported yet and not to use
5537 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5539 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5541 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5543 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5545 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5548 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5549 of unsigned char to store leading-byte.
5551 * chartab.c (get_non_ascii_char_table_value): Don't use
5552 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5554 * file-coding.c (encode_coding_big5): Delete bogus implementation
5557 * character.h (LEADING_BYTE_*): Delete definition for
5559 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5560 (LEADING_BYTE_PREFIX_P): Deleted.
5561 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5562 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5563 (BUFBYTE_LEADING_BYTE_P): Deleted.
5564 (CHARSET_PRIVATE_P): Deleted unconditionally.
5565 (rep_bytes_by_first_byte): Deleted unconditionally.
5566 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5567 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5568 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5569 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5570 (CHAR_FIELD2): Deleted.
5571 (CHAR_FIELD3): Deleted.
5572 (MAKE_CHAR): Delete definition for non-UTF-2000.
5573 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5574 (breakup_char_1): New implementation.
5575 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5576 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5578 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5580 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5583 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5585 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5586 (CHARSET_PRIVATE_P): Likewise.
5587 (XCHARSET_PRIVATE_P): Likewise.
5588 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5590 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5592 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5594 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5596 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5597 (NUM_LEADING_BYTES): Changed from 128 to 256.
5598 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5599 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5601 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5603 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5605 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5606 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5607 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5608 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5609 (Qchinese_cns11643_3): New variable in UTF2000.
5610 (Qchinese_cns11643_4): New variable in UTF2000.
5611 (Qchinese_cns11643_5): New variable in UTF2000.
5612 (Qchinese_cns11643_6): New variable in UTF2000.
5613 (Qchinese_cns11643_7): New variable in UTF2000.
5614 (syms_of_mule_charset): Define `chinese-cns11643-3',
5615 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5616 and `chinese-cns11643-7' in UTF2000.
5617 (vars_of_mule_charset): Initialize
5618 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5620 (complex_vars_of_mule_charset): Setup charset
5621 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5622 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5624 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5626 * mule-charset.c: Move setting for `leading-code-private-11' from
5627 `syms_of_mule_charset' to `vars_of_mule_charset'.
5629 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5631 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5632 and `NUM_LEADING_BYTES' in assert.
5634 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5636 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5638 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5639 `NUM_LEADING_BYTES' instead of 128.
5641 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5643 * mule-charset.h (charset_by_leading_byte): Use
5644 `NUM_LEADING_BYTES' instead of 128.
5645 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5647 * mule-charset.c (charset_by_leading_byte): Use
5648 `NUM_LEADING_BYTES' instead of 128.
5649 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5651 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5654 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5656 * mule-charset.c (syms_of_mule_charset): Update to
5659 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5661 * file-coding.c (encode_coding_sjis): New implementation for
5662 UTF2000. (decode_coding_sjis): Ditto.
5664 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5666 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5667 Don't define in UTF2000.
5669 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5672 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5673 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5676 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5678 * config.h.in (CHAR_IS_UCS4): New macro.
5680 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5681 conventional MULE representation.
5682 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5684 * mule-charset.h: Reverted to original.
5686 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5687 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5688 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5690 * character.h: New file.
5692 * file-coding.c (Fmake_coding_system): Set 1 to
5693 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5695 (encode_coding_no_conversion): New implementation for UTF2000.
5697 * file-coding.h (struct Lisp_Coding_System): Add new member
5700 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5702 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5703 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5704 (encode_coding_iso2022): New implementation for UTF2000.
5706 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5708 * mule-canna.c (c2mu): New implementation for UTF2000.
5711 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5713 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5715 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5717 * file-coding.c (reset_encoding_stream): Set 0 to
5718 `str->iso2022.current_char_boundary' in UTF2000.
5719 (encode_utf8): Don't define in UTF2000.
5720 (encode_coding_utf8): New implementation for UTF-8 representation
5722 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5724 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5726 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5728 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5730 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5732 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5734 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5735 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5736 as UTF-8 in UTF2000.
5737 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5738 (non_ascii_valid_char_p): Don't define in UTF2000.
5739 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5740 (Lstream_get_emchar_1): Likewise.
5741 (utf-2000-version): New variable in UTF2000.
5743 * lread.c (read_escape): Add new reader `u'.
5745 * insdel.c (three_to_one_table): Don't define in UTF2000.
5746 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5747 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5749 (bytind_to_bufpos_func): Likewise.
5750 (buffer_mule_signal_inserted_region): Likewise.
5751 (vars_of_insdel): Don't initialize `three_to_one_table'.
5752 (init_buffer_text): Use `buf->text->mule_size' instead of
5753 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5756 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5757 UTF-8 representation in UTF2000.
5758 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5759 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5760 (decode_coding_iso2022): Don't define local variable `lb' in
5761 UTF2000; don't use LEADING_BYTE in UTF2000; use
5762 `DECODE_ADD_UCS_CHAR' in UTF2000.
5763 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5765 * config.h.in (UTF2000): New macro.
5767 * buffer.h (struct buffer_text): Add new member `mule_size' and
5768 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5769 (valid_char_p): Return always 1 in UTF2000.
5770 (MAX_EMCHAR_LEN): 6 in UTF2000.
5771 (three_to_one_table): Don't define in UTF2000.
5772 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5774 (real_bytind_to_bufpos): Likewise.
5776 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5778 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5780 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5781 representation change.
5782 (Vutf_2000_version): New variable.
5783 (leading_code_private_11): New variable.
5784 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5785 `leading-code-private-11'.
5787 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5788 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5789 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5790 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5791 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5792 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5793 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5794 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5795 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5796 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5797 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5798 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5799 (MIN_CHAR_GREEK): New macro.
5800 (MAX_CHAR_GREEK): New macro.
5801 (MIN_CHAR_CYRILLIC): New macro.
5802 (MAX_CHAR_CYRILLIC): New macro.
5803 (MIN_CHAR_HEBREW): New macro.
5804 (MAX_CHAR_HEBREW): New macro.
5805 (MIN_CHAR_THAI): New macro.
5806 (MAX_CHAR_THAI): New macro.
5807 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5808 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5809 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5810 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5811 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5812 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5813 (CHAR_FIELD2): New inline function.
5814 (CHAR_FIELD3): New inline function.
5815 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5816 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5817 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5818 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5819 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5820 (MIN_CHAR_COMPOSITION): Likewise.
5821 (CHAR_LEADING_BYTE): Modified for character representation change.
5822 (MAKE_CHAR): Likewise.
5824 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5825 (Vcharset_greek_iso8859_7): Likewise.
5826 (Vcharset_cyrillic_iso8859_5): Likewise.
5827 (Vcharset_hebrew_iso8859_8): Likewise.
5828 (Vcharset_thai_tis620): Likewise.
5829 (Vcharset_katakana_jisx0201): Likewise.
5831 2005-02-06 Vin Shelton <acs@xemacs.org>
5833 * XEmacs 21.4.17 is released
5835 2005-01-31 Ben Wing <ben@xemacs.org>
5838 Define assert_failed() always.
5840 Always define ABORT().
5842 2005-01-25 Ben Wing <ben@xemacs.org>
5845 * Makefile.in.in (%.o):
5846 Don't compile executable as Windows (-mwindows) under Cygwin.
5847 Semi-recent changes to Cygwin's executable-startup handling make
5848 it impossible to access the TTY this way.
5850 Don't use special linker file under Cygwin (cygwin.sc) except
5851 when non-PDUMP (even in this case it is highly questionable); you
5854 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5855 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5857 2005-01-29 Ben Wing <ben@xemacs.org>
5859 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5861 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5863 2005-01-29 Ben Wing <ben@xemacs.org>
5865 * bytecode.c (optimize_compiled_function):
5867 * print.c (long_to_string):
5868 Add casts to avoid warning.
5871 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5872 #### The better solution is to move the TIFF and JPEG code to
5875 * glyphs-msw.c (mswindows_xbm_instantiate):
5876 Define __STDC__ to avoid problems with compface.h.
5878 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5880 * EmacsShell-sub.c (ABORT):
5881 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5882 * EmacsShell-sub.c (RootGeometryManager):
5884 * EmacsShell.c (ABORT):
5885 * EmacsShell.c (EmacsShellUpdateSizeHints):
5886 * alloc.c (free_lcrecord):
5887 * alloca.c (i00afunc):
5888 * buffer.c (delete_from_buffer_alist):
5889 * buffer.c (MARKED_SLOT):
5890 * bytecode.c (execute_rare_opcode):
5891 * bytecode.c (optimize_byte_code):
5892 * bytecode.c (Ffetch_bytecode):
5893 * chartab.c (char_table_type_to_symbol):
5894 * chartab.c (Freset_char_table):
5895 * chartab.c (decode_char_table_range):
5896 * chartab.c (Fget_range_char_table):
5897 * chartab.c (check_valid_char_table_value):
5898 * chartab.c (map_char_table):
5899 * chartab.c (slow_map_char_table_fun):
5900 * chartab.c (chartab_instantiate):
5901 * cm.c (cmcheckmagic):
5902 * console-msw.c (DHEADER):
5903 * console.c (MARKED_SLOT):
5904 * data.c (finish_marking_weak_lists):
5905 * data.c (encode_weak_list_type):
5906 * debug.h (DASSERT):
5907 * device-gtk.c (gtk_init_device):
5908 * device-msw.c (mswindows_get_default_margin):
5909 * device-tty.c (tty_init_device):
5910 * device-x.c (get_device_from_display):
5911 * device-x.c (x_get_visual_depth):
5912 * doprnt.c (parse_doprnt_spec):
5913 * doprnt.c (get_doprnt_args):
5914 * dumper.c (pdump_get_indirect_count):
5915 * dumper.c (pdump_register_sub):
5916 * dumper.c (pdump_register_object):
5917 * dumper.c (pdump_register_struct):
5918 * dumper.c (pdump_dump_data):
5919 * dumper.c (pdump_reloc_one):
5920 * elhash.c (print_hash_table):
5921 * elhash.c (make_standard_lisp_hash_table):
5922 * elhash.c (hash_table_instantiate):
5924 * emacs.c (Fforce_debugging_signal):
5925 * emacs.c (sort_args):
5927 * emacs.c (assert_failed):
5928 * eval.c (throw_or_bomb_out):
5929 * eval.c (signal_1):
5932 * event-Xt.c (emacs_Xt_mapping_action):
5933 * event-Xt.c (Xt_process_to_emacs_event):
5935 * event-stream.c (check_event_stream_ok):
5936 * event-stream.c (Fadd_timeout):
5937 * event-stream.c (Fadd_async_timeout):
5938 * event-stream.c (Fdiscard_input):
5939 * event-stream.c (execute_internal_event):
5940 * event-stream.c (Frecent_keys):
5941 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5942 * event-stream.c (lookup_command_event):
5943 * event-unixoid.c (poll_fds_for_input):
5945 * events.c (mark_event):
5946 * events.c (event_equal):
5947 * events.c (event_hash):
5948 * events.c (Fmake_event):
5949 * events.c (Fdeallocate_event):
5950 * events.c (event_chain_find_previous):
5951 * events.c (event_to_character):
5952 * events.c (format_event_object):
5953 * events.c (Fevent_type):
5954 * events.c (event_pixel_translation):
5955 * events.c (Fevent_properties):
5956 * extents.c (extent_in_region_p):
5957 * extents.c (print_extent):
5958 * extents.c (process_extents_for_insertion_mapper):
5959 * extents.c (report_extent_modification_mapper):
5960 * extents.c (glyph_layout_to_symbol):
5961 * faces.c (face_validate):
5962 * file-coding.c (eol_type_to_symbol):
5963 * file-coding.c (subsidiary_coding_system):
5964 * file-coding.c (Fcoding_system_type):
5965 * file-coding.c (Fcoding_system_property):
5966 * file-coding.c (mule_decode):
5967 * file-coding.c (mule_encode):
5968 * file-coding.c (encode_coding_ucs4):
5969 * file-coding.c (encode_coding_utf8):
5970 * file-coding.c (parse_iso2022_esc):
5971 * file-coding.c (encode_coding_iso2022):
5976 * fns.c (Fbase64_encode_region):
5977 * fns.c (Fbase64_encode_string):
5978 * fns.c (Fbase64_decode_region):
5979 * fns.c (Fbase64_decode_string):
5980 * font-lock.c (find_context):
5981 * font-lock.c (context_to_symbol):
5982 * frame-gtk.c (gtk_set_frame_pointer):
5983 * frame-gtk.c (gtk_update_frame_external_traits):
5984 * frame-x.c (x_wm_mark_shell_size_user_specified):
5985 * frame-x.c (x_wm_mark_shell_position_user_specified):
5986 * frame-x.c (x_wm_set_shell_iconic_p):
5987 * frame-x.c (x_wm_set_cell_size):
5988 * frame-x.c (x_wm_set_variable_size):
5989 * frame-x.c (x_wm_store_class_hints):
5990 * frame-x.c (x_wm_maybe_store_wm_command):
5991 * frame-x.c (x_initialize_frame_size):
5992 * frame-x.c (x_update_frame_external_traits):
5994 * frame.c (delete_frame_internal):
5995 * frame.c (mouse_pixel_position_1):
5996 * frame.c (change_frame_size_1):
5997 * free-hook.c (check_free):
5998 * free-hook.c (check_realloc):
5999 * free-hook.c (note_block_input):
6000 * free-hook.c (log_gcpro):
6001 * gccache-gtk.c (gc_cache_lookup):
6002 * glyphs-eimage.c (tiff_memory_write):
6003 * glyphs-gtk.c (gtk_finalize_image_instance):
6004 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6005 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6006 * glyphs-gtk.c (gtk_xpm_instantiate):
6007 * glyphs-gtk.c (gtk_unmap_subwindow):
6008 * glyphs-gtk.c (gtk_map_subwindow):
6009 * glyphs-gtk.c (gtk_button_redisplay):
6011 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6012 * glyphs-x.c (init_image_instance_from_xbm_inline):
6013 * glyphs-x.c (extract_xpm_color_names):
6014 * glyphs-x.c (x_xpm_instantiate):
6015 * glyphs.c (get_image_instantiator_governing_domain):
6016 * glyphs.c (print_image_instance):
6017 * glyphs.c (image_instance_equal):
6018 * glyphs.c (image_instance_hash):
6019 * glyphs.c (encode_image_instance_type):
6020 * glyphs.c (make_image_instance_1):
6021 * glyphs.c (inherit_instantiate):
6022 * glyphs.c (image_instantiate):
6023 * glyphs.c (allocate_glyph):
6024 * glyphs.c (Fglyph_type):
6025 * glyphs.c (redisplay_subwindow):
6026 * glyphs.c (display_table_entry):
6027 * gtk-glue.c (xemacs_list_to_gtklist):
6028 * gtk-glue.c (xemacs_gtklist_to_list):
6029 * gtk-glue.c (xemacs_list_to_array):
6030 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6031 * gutter.c (gutter_was_visible):
6032 * gutter.c (get_gutter_coords):
6033 * input-method-xlib.c (get_XIM_input):
6034 * insdel.c (bufpos_to_bytind_func):
6035 * insdel.c (bytind_to_bufpos_func):
6036 * insdel.c (move_gap):
6037 * intl.c (x_get_composed_input):
6038 * keymap.c (keymap_lookup_directly):
6039 * keymap.c (keymap_delete_inverse_internal):
6040 * keymap.c (ensure_meta_prefix_char_keymapp):
6041 * keymap.c (accessible_keymaps_mapper_1):
6042 * keymap.c (where_is_recursive_mapper):
6045 * lread.c (read_atom):
6046 * lstream.c (Lstream_delete):
6047 * lstream.c (make_lisp_buffer_stream_1):
6048 * macros.c (pop_kbd_macro_event):
6049 * malloc.c (malloc):
6051 * marker.c (bi_marker_position):
6052 * marker.c (set_bi_marker_position):
6053 * menubar-gtk.c (menu_descriptor_to_widget_1):
6054 * menubar-msw.c (prune_menubar):
6055 * menubar-x.c (set_frame_menubar):
6056 * mule-charset.c (get_unallocated_leading_byte):
6057 * mule-charset.h (CHAR_LEADING_BYTE):
6058 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6059 * nt.c (init_environment):
6060 * nt.c (generate_inode_val):
6061 * ntproc.c (delete_child):
6062 * ntproc.c (_sys_read_ahead):
6063 * ntproc.c (create_child):
6064 * objects.c (color_instantiate):
6065 * objects.c (font_instantiate):
6066 * objects.c (face_boolean_instantiate):
6067 * print.c (printing_major_badness):
6068 * process-nt.c (nt_send_process):
6069 * process-unix.c (unix_send_process):
6070 * process.c (get_process):
6071 * ralloc.c (obtain):
6072 * ralloc.c (relinquish):
6073 * ralloc.c (relocate_blocs):
6074 * ralloc.c (resize_bloc):
6075 * ralloc.c (r_alloc_free):
6076 * ralloc.c (r_re_alloc):
6077 * ralloc.c (r_alloc_thaw):
6078 * ralloc.c (init_ralloc):
6079 * ralloc.c (Free_Addr_Block):
6080 * ralloc.c (r_alloc):
6081 * redisplay-gtk.c (gtk_output_display_block):
6082 * redisplay-msw.c (mswindows_output_display_block):
6083 * redisplay-output.c (get_next_display_block):
6084 * redisplay-output.c (get_cursor_size_and_location):
6085 * redisplay-output.c (redisplay_output_layout):
6086 * redisplay-output.c (redisplay_clear_region):
6087 * redisplay-tty.c (tty_output_display_block):
6088 * redisplay-x.c (x_output_display_block):
6089 * redisplay.c (add_propagation_runes):
6090 * redisplay.c (add_glyph_rune):
6091 * redisplay.c (create_text_block):
6092 * redisplay.c (add_margin_runes):
6093 * redisplay.c (create_left_glyph_block):
6094 * redisplay.c (create_right_glyph_block):
6095 * redisplay.c (create_string_text_block):
6096 * redisplay.c (regenerate_window):
6097 * redisplay.c (REGEN_INC_FIND_START_END):
6098 * redisplay.c (redisplay_frame):
6099 * redisplay.c (point_in_line_start_cache):
6102 * regex.c (re_compile_fastmap):
6103 * regex.c (re_match_2_internal):
6104 * regex.c (regerror):
6105 * scrollbar-gtk.c (gtk_scrollbar_loop):
6106 * scrollbar-gtk.c (scrollbar_cb):
6107 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6108 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6109 * scrollbar-x.c (x_update_scrollbar_instance_status):
6110 * scrollbar-x.c (x_scrollbar_loop):
6111 * scrollbar-x.c (x_update_frame_scrollbars):
6112 * search.c (search_command):
6113 * search.c (Fmatch_data):
6114 * select-x.c (motif_clipboard_cb):
6115 * signal.c (interrupt_signal):
6116 * specifier.c (specifier_add_spec):
6117 * specifier.c (specifier_instance_from_inst_list):
6118 * specifier.c (specifier_instance):
6120 * specifier.h (struct specifier_methods):
6121 * strftime.c (add_num_time_t):
6122 * sunplay.c (init_device):
6123 * symbols.c (Fsetplist):
6124 * symbols.c (do_symval_forwarding):
6125 * symbols.c (store_symval_forwarding):
6127 * symbols.c (Fbuilt_in_variable_type):
6128 * symbols.c (decode_magic_handler_type):
6129 * symbols.c (handler_type_from_function_symbol):
6130 * syntax.c (update_syntax_cache):
6131 * sysdep.c (init_baud_rate):
6132 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6133 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6134 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6135 * toolbar.c (get_toolbar_coords):
6136 * ui-gtk.c (build_gtk_boxed):
6137 * ui-gtk.c (describe_gtk_arg):
6138 * ui-gtk.c (gtk_type_to_lisp):
6139 * ui-gtk.c (lisp_to_gtk_type):
6140 * ui-gtk.c (lisp_to_gtk_ret_type):
6141 * ui-gtk.c (lisp_to_flag):
6142 * unexnt.c (read_in_bss):
6143 * unexnt.c (map_in_heap):
6144 * window.c (real_window):
6145 * window.c (window_display_lines):
6146 * window.c (window_display_buffer):
6147 * window.c (set_window_display_buffer):
6148 * window.c (window_modeline_height):
6149 * window.c (unshow_buffer):
6150 * window.c (window_loop):
6151 * window.c (Fget_lru_window):
6152 * window.c (Fsplit_window):
6153 * window.c (Fset_window_configuration):
6154 * window.c (saved_window_index):
6155 * xgccache.c (gc_cache_lookup):
6156 abort() -> ABORT(). Eliminate preprocessor games with abort()
6157 since it creates huge problems in VC7, solvable only by including
6158 massive amounts of files in every compile (and not worth it).
6162 Inclusion of process.h does not need to be before lisp.h any more.
6163 Move later and remove comment about abort().
6165 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6167 * regex.c (re_match_2_internal):
6168 Correctly initialize loop which clears uninitialized registers.
6170 2005-01-28 Vin Shelton <acs@xemacs.org>
6172 * sheap.c (more_static_core): Applied Ben's version of the long
6175 2005-01-24 Vin Shelton <acs@xemacs.org>
6177 * sheap.c (more_static_core): Reformatted printf string so
6178 gcc-3.3.3 will compile this on Cygwin.
6180 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6182 * console.c (function_key_map): Reference `key-binding'.
6184 * keymap.c (Vkey_translation_map): Improve docstring.
6186 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6188 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6189 * window.c (window_loop): [fix] Take into account
6190 `allow-deletion-of-last-visible-frame' variable.
6191 * window.c (replace-buffer-in-windows): Ditto.
6193 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6195 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6197 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6199 * event-gtk.c: Recognise AltGr as a valid modifier.
6201 2005-01-12 Ville Skyttä <scop@xemacs.org>
6203 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6205 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6207 Fix backreference bug caught by test suite.
6209 * regex.c (regex_compile):
6210 Make backref duplicate internal register.
6212 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6214 Documentation, code clarification, and warning suppression.
6216 * regex.c (regex_compile):
6218 (re_match_2_internal):
6219 Improve comments and avoid redundant braces. [Most of the big hunk
6220 at l. 4710 is indentation; use diff -w to see the real changes.]
6221 (alt_match_null_string_p):
6222 (common_op_match_null_string_p):
6223 Avoid shadowing global on Mac OS X 10.4, at least.
6225 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6227 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6228 introduced with shy groups fix). [Already applied, probably
6229 with the second "fix shy groups" patch of 2004-10-07.]
6231 2005-01-10 Steve Youngs <steve@sxemacs.org>
6233 From Andrey Slusar <anrays@gmail.com>:
6235 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6237 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6239 * Makefile (RECURSIVE_MAKE): Removed.
6240 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6241 handling parallel builds.
6243 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6245 * Makefile.in.in: Enable support for parallel builds.
6247 2005-01-09 Steve Youngs <steve@sxemacs.org>
6249 From Andrey Slusar <anrays@gmail.com>:
6251 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6252 FreeBSD version is >= 199701 _and_ < 600006.
6254 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6256 * scrollbar.c (compute_scrollbar_instance_usage):
6257 Only call device method compute_scrollbar_instance_usage() if it
6260 2004-12-05 Vin Shelton <acs@xemacs.org>
6262 * XEmacs 21.4.16 is released
6264 2004-12-04 Vin Shelton <acs@xemacs.org>
6266 * depend: Regenerated.
6268 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6270 * regex.c (re_match_2_internal): Map internal to external
6271 registers. Fixes bug identified by Steve Youngs 2004-09-30
6272 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6274 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6276 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6277 to fix a crash. Also, check the buffer is live and it
6278 really exists in buffer_list. If the buffer is not in the list,
6281 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6283 Fix shy groups by implementing recording of all groups for
6284 repetition and backtracking. Backport from 21.5.
6286 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6287 external_to_internal_register, external_to_internal_register_size,
6288 and update comments for re_nsub.
6290 * regex.c (re_opcode_t): Update comments.
6291 (print_compiled_pattern): Ouput external_to_internal_register,
6292 external_to_internal_register_size, and re_ngroups for debugging.
6293 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6294 (regex_compile): Update header comment.
6295 Ensure that all groups are recorded so that repeat matches and
6296 backtracking work correctly. Comment related warning for groups >
6298 (re_search_2): Construct map of API indexes (which count only
6299 nonshy groups) to internal register numbers, and keep it updated.
6301 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6303 * frame-gtk.c (gtk_make_frame_visible):
6304 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6305 show/hide. This is what X uses and is prevents previously hidden
6306 widgets from suddenly reappearing.
6307 * gtk-xemacs.c (gtk_xemacs_paint):
6308 * gtk-xemacs.c (gtk_xemacs_draw):
6309 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6311 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6312 size and location changes so that they can be seen before the next
6313 idle event. Without this rapid changes to scrollbar properties
6316 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6319 * console-gtk.h (struct gtk_frame):
6320 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6321 Add hash tables track tab_control callback data.
6322 Added #defines for GTK object data names.
6323 Declaration of gtk_widget_to_frame().
6324 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6325 * frame-gtk.c (gtk_widget_to_frame): New.
6326 * frame-gtk.c (gtk_create_widgets):
6327 * frame-gtk.c (allocate_gtk_frame_struct):
6328 * frame-gtk.c (gtk_mark_frame):
6329 Manage frame callbakc hash tables.
6330 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6331 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6332 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6334 * glyphs-gtk.c (gtk_widget_query_geometry): New
6335 * glyphs-gtk.c (gtk_register_gui_item): New
6336 * glyphs-gtk.c (gtk_add_tab_item): New
6337 * glyphs-gtk.c (gtk_tab_control_callback): New
6338 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6339 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6340 Use correct list when loading item.
6341 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6342 Register new methods.
6343 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6344 default size, for widgets.
6345 * gui-x.c: Improved comment.
6346 * menubar-gtk.c (__generic_button_callback): Use
6347 gtk_widget_to_frame instead of __get_channel.
6349 * ui-gtk.c: Use symbolic names for GTK object data.
6351 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6353 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6355 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6357 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6359 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6361 * malloc.c (morecore): siz is a long because in some architectures
6362 (eg ia-64) an int cannot hold the address range. Additional patch
6363 from the SuSe distribution.
6365 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6368 * malloc.c: lim_data is a long because in some architectures
6369 (eg ia-64) an int cannot hold the address range.
6370 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6371 instead of ulimit() because ulimit() always returns -1.
6373 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6375 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6377 2004-06-11 David Kastrup <dak@gnu.org>
6379 * search.c (match_limit): Don't flag an error if match-data
6380 exceeding the allocated search_regs.num_regs gets requested, just
6383 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6385 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6386 replace symbolic color entries with the real colors specified in
6387 xpm-color-symbols, before passing the XPM to gtk.
6388 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6389 instead of a GTK specific field, so that it is used in by generic
6392 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6394 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6395 coredump from deref of NULL ptr (ExtData)
6397 2004-04-19 Jerry James <james@xemacs.org>
6399 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6400 VALBITS to compute the location of the sign bit.
6401 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6402 of VALBITS with EMACS_INT_MAX.
6403 * events.c (Fevent_timestamp): Ditto.
6404 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6405 compute the halfway point to timestamp wraparound.
6406 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6407 EMACS_INT_MIN instead of using VALBITS.
6408 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6409 incorrect number with VALBITS.
6410 * fns.c (Frandom): Correct number of integer bits in docstring.
6411 Use INT_VALBITS instead of VALBITS to compute the denominator.
6412 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6413 build random numbers.
6415 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6417 * event-gtk.c (gtk_event_to_emacs_event):
6419 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6420 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6421 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6422 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6423 * menubar-gtk.c (__activate_menu):
6424 * menubar-gtk.c (convert_underscores):
6425 * menubar-gtk.c (remove_underscores):
6426 * menubar-gtk.c (menu_convert):
6427 * menubar-gtk.c (menu_descriptor_to_widget_1):
6428 * menubar-gtk.c (menu_descriptor_to_widget):
6429 * menubar-gtk.c (menu_can_reuse_widget):
6430 * menubar-gtk.c (menu_create_menubar):
6431 * menubar-gtk.c (gtk_popup_menu):
6432 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6433 Added support for Gtk menu bar and menu item mnemonics.
6435 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6437 * sysdll.c: (dll_function): Added support for finding symbols in
6438 Darwin shared libraries as well in Darwin bundles.
6439 * sysdll.c (image_for_address): New
6440 * sysdll.c (my_find_image): New
6441 * sysdll.c (search_linked_libs): New
6443 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6445 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6446 return to GTK requires a different API to marshalling data to use
6448 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6450 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6452 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6454 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6456 * glyphs.c (process_image_string_instantiator):
6457 (Fset_console_type_image_conversion_list):
6458 Stop GCC from warning about shadowing of `exp'.
6460 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6462 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6464 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6466 2004-02-03 Vin Shelton <acs@xemacs.org>
6468 * glyphs.c (image_instance_layout): Remove pointless assertion.
6469 * regex.c (regex_grow_registers): Return type is void.
6471 2004-02-02 Vin Shelton <acs@xemacs.org>
6473 * XEmacs 21.4.15 is released
6475 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6477 * device-x.c (x_error_handler): Don't call stderr_out
6479 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6481 * buffer.c (other-buffer): Clarify documentation of order of
6482 arguments for FSF Emacs.
6484 2003-10-11 Olivier Galibert <galibert@pobox.com>
6486 * window.c (Fdelete_window): Dirty the mirror structure _before_
6487 marking the window deleted.
6489 2003-09-15 Jerry James <james@xemacs.org>
6491 * event-msw.c (debug_mswin_messages): Conditionally compile
6492 messages missing from the Cygwin headers.
6494 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6496 * data.c (eq_with_ebola_notice): Fix typo in comment.
6497 (Ftrue_list_p): Improve docstring.
6499 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6501 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6503 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6505 * search.c (trivial_regexp_p): Regexps containing "\{" are
6506 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6507 Stefan Monnier for suggesting a diagnosis.
6509 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6511 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6513 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6515 * search.c (Fsearch_forward):
6517 Document negative count.
6519 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6521 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6523 2003-09-13 Martin Buchholz <martin@xemacs.org>
6525 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6527 2003-09-15 Vin Shelton <acs@xemacs.org>
6529 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6532 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6534 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6535 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6536 (re_match_2_internal): Use TRANSLATE instead of
6537 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6538 non-ASCII char case conversion.
6540 2003-09-08 Mike Sperber <mike@xemacs.org>
6542 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6543 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6545 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6547 * .gdbinit (pobj): fix printing of symbol name.
6549 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6551 * frame-x.c (x_layout_widgets): When resizing is about to cause
6552 frame size slip, mark it for redisplay.
6554 2003-08-18 Jerry James <james@xemacs.org>
6556 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6558 2003-09-03 Vin Shelton <acs@xemacs.org>
6560 * XEmacs 21.4.14 is released
6562 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6564 * config.h.in (REGEX_MALLOC): Make it configure'able.
6566 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6568 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6570 * sysdll.c (dll_init):
6571 * sysdll.c (dll_open):
6572 * sysdll.c (dll_close):
6573 * sysdll.c (dll_function):
6574 * sysdll.c (dll_variable):
6575 * sysdll.c (dll_error):
6576 Add support for loading bundles using Darwin/MacOSX
6579 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6581 * process.c (start-process-internal): Document coding systems.
6583 2003-07-30 Jerry James <james@xemacs.org>
6585 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6587 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6589 * event-msw.c (mswindows_enqueue_mouse_button_event):
6590 * event-msw.c (mswindows_wnd_proc):
6591 enqueue button event when scrollwheel event isn't handled by
6592 mswindows_handle_mousewheel_event, such as when the scrollbars
6595 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6597 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6599 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6601 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6603 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6605 * regex.c (re_match_2_internal): Fix matching degenerate word
6608 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6610 * XEmacs 21.4.13 is released
6612 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6614 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6615 * lisp.h (<inttypes.h>):
6616 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6619 2003-03-15 Martin Buchholz <martin@xemacs.org>
6621 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6622 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6623 Result: "temacs can only be run in -batch mode."
6624 Fix: Check xemacs executable candidate for directory-ness.
6626 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6628 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6629 they conflict with <sys/types.h>.
6631 2003-02-14 Martin Buchholz <martin@xemacs.org>
6633 * database.c: Berkeley DB wants __STDC__ to be defined.
6635 2003-02-13 Martin Buchholz <martin@xemacs.org>
6637 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6639 2003-02-01 Martin Buchholz <martin@xemacs.org>
6641 * process-unix.c (unix_send_process): Fix C++ compile error.
6643 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6645 * Added .dylib as an acceptable shared library file extension
6646 * to support MacOSX.
6648 2003-02-01 Martin Buchholz <martin@xemacs.org>
6650 * EmacsFrameP.h (EmacsFramePart):
6651 Kludge to allow compiling with Motif1, but linking with Motif2.
6653 2003-01-28 Martin Buchholz <martin@xemacs.org>
6655 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6658 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6660 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6662 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6664 * sysdll.c: Included lisp.h to define needed alloca_array.
6666 2003-02-13 Martin Buchholz <martin@xemacs.org>
6668 Make XEmacs redisplay 10 times faster.
6669 If, that is, you're using a slow X connection and MoveOpaque.
6670 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6671 Use compress_motion = TRUE.
6672 * EmacsFrame.c (emacsFrameClassRec):
6673 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6674 * EmacsManager.c (emacsManagerClassRec):
6675 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6677 2003-01-30 Vin Shelton <acs@xemacs.org>
6679 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6681 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6683 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6684 Patch by Martin Buchholz.
6686 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6688 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6689 Thanks to icc for warning and Martin Buchholz for reporting.
6691 2003-01-29 Vin Shelton <acs@xemacs.org>
6693 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6695 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6696 remember to multiply by the element size.
6698 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6700 * XEmacs 21.4.12 "Portable Code" is released.
6702 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6704 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6705 * s/cygwin.sc: new linker file.
6707 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6709 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6711 * redisplay-x.c (x_output_string): Use X11-specified types.
6712 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6713 * emacs.c (__free_hook): Use typeof with Intel compiler.
6714 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6716 2003-01-08 Andy Piper <andy@xemacs.org>
6718 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6719 reserve size during unexec().
6721 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6723 * process-unix.c (unix_create_process): Don't let outchannel block.
6725 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6727 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6728 Needed for IsBadReadPtr().
6730 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6732 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6734 2002-12-14 Ben Wing <ben@xemacs.org>
6736 * callint.c: Declaration error.
6738 * dumper.c (pdump_load): Warning fix.
6739 * process.c: GCPRO error.
6740 * glyphs.c (unmap_subwindow):
6741 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6742 * event-stream.c (maybe_kbd_translate): Wrong argument to
6743 character_to_event().
6745 * alloc.c (garbage_collect_1):
6747 * emacs.c (debug_can_access_memory):
6748 * emacs.c (fatal_error_signal):
6749 * emacs.c (mswindows_handle_hardware_exceptions):
6752 * emacs.c (assert_failed):
6753 * emacs.c (syms_of_emacs):
6756 * print.c (std_handle_out_va):
6757 * print.c (write_string_to_stdio_stream):
6758 * print.c (write_fmt_string):
6759 * print.c (printing_badness):
6760 * print.c (printing_major_badness):
6761 * print.c (print_internal):
6762 * print.c (debug_print_no_newline):
6763 * print.c (debug_backtrace):
6764 Be more defensive in handling bad values when printing. Add code
6765 from trunk involving inhibit_non_essential_printing_operations.
6766 When going down or in debug_print(), don't do external conversion
6767 and such and try really, really hard when printing to avoid core
6768 dumping. Add force-debugging-signal, debug_break().
6770 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6772 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6773 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6775 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6777 * database.c: Fix open_database. Berkeley DB API has changed in
6778 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6780 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6782 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6784 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6786 * event-Xt.c (Xt_timeout):
6787 (Xt_timeout_callback):
6788 (emacs_Xt_add_timeout):
6789 (emacs_Xt_remove_timeout):
6790 (Xt_timeout_to_emacs_event):
6791 Turn completed_timeouts from a stack into a queue. Fixes
6792 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6794 2002-11-07 Wolfram Gloger <wg@malloc.de>
6796 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6797 * emacs.c (main): Assert that mmap'd allocation is disabled.
6799 2002-10-14 Andy Piper <andy@xemacs.org>
6801 * glyphs-widget.c (layout_query_geometry): add in fiddle
6802 factor. Include border text in width layout calculation.
6803 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6805 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6807 * XEmacs 21.4.10 "Military Intelligence" is released.
6809 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6811 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6812 using the NAS private array SoundFileInfo that no longer exists in
6813 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6814 and earlier. This is broken for some versions between 1.5a and
6817 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6819 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6821 * emacs.c (shut_down_emacs): Improve crash message.
6823 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6825 * file-coding.c (determine_real_coding_system): Check for coding
6826 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6827 shebangs and Python PEP 263.
6829 2002-10-08 Andy Piper <andy@xemacs.org>
6831 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6832 if static sizes haven't been set.
6834 2002-08-30 Mike Alexander <mta@arbortext.com>
6836 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6839 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6841 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6843 2002-09-20 Mike Sperber <mike@xemacs.org>
6845 (This partially gets back my patch from 2002-07-20 without the
6847 * callproc.c (child_setup): Remove Ben's comment noting confusion
6848 over the file descriptors >= 3: close_process_descs() doesn't
6849 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6850 * process-unix.c (unix_create_process): Call
6851 begin_dont_check_for_quit to inhibit unwanted interaction (and
6852 thus breaking of X event synchronicity) in the child.
6854 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6856 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6859 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6861 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6862 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6863 the xemacs process did not exit, but looped infinitely here. This
6866 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6868 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6869 (find_context): Improve comments.
6871 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6872 (re_match_2): An XCHAR_TABLE operation was missing.
6874 Many of the following changes were inspired by Andy Piper's (now
6875 obsolete) patch to make syntax-table text property lookup optional.
6879 * syntax.h (top level): Document semantics of syntax flags.
6880 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6881 * syntax.c, syntax.h (top level): Document syntax cache better in
6884 [Instrument syntax caching (temporary change)]
6886 * syntax.h (enum syntax_cache_statistics_functions, struct
6887 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6888 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6889 * syntax.c (scan_words, Fforward_comment, scan_lists,
6890 Fbackward_prefix_characters):
6891 * font-lock.c (find_context):
6892 Use them to instrument syntax caching.
6893 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6894 syntax_cache_statistics_function_names): New type and variables.
6895 * syntax.c (update_syntax_cache): Update and report statistics.
6897 [Major syntax cache optimizations]
6899 syntax.c (lookup_syntax_properties): Default off.
6901 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6902 * syntax.c (update_syntax_cache):
6903 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6905 [Minor syntax cache optimizations and code clarifications]
6907 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6908 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6909 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6910 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6911 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6912 (Code clarification.)
6914 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6915 scan_lists): Compute code from syncode, use Boolean macros instead
6916 of redundant masking operations. (Code clarification; any decent
6917 compiler can do this optimization.)
6919 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6922 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6923 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6924 use F*_single_property_change instead of F*_extent_change.
6925 Currently F*_single_property_change is _much_ less efficient.
6927 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6928 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6929 syntax_cache.object properly, don't leave Qt or Qnil.
6930 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6931 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6932 tests for Qt or Qnil.
6934 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6936 * redisplay.c (point_in_line_start_cache):
6937 * extents.c (print_extent_1):
6940 * extents.c (Fset_extent_property): Document `syntax-table' property.
6942 * extents.h (Fnext_single_property_change): EXFUN it.
6944 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6946 * search.c (clear_unused_search_regs): New static function.
6950 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6951 Minor clarifications in comments.
6953 * regex.c (re_match_2_internal): Ensure no stale submatches.
6955 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6957 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6959 2002-08-29 Jerry James <james@xemacs.org>
6961 * lisp.h: structrures -> structures.
6963 2002-06-03 Andy Piper <andy@xemacs.org>
6965 * frame.c (frame_conversion_internal): add conversion appropriate
6966 for setting frame dimensions in pixels.
6968 * console.h (struct console_methods): add device-specific widget
6971 * emacs.c (main_1): initialize glyph vars.
6973 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6974 (handle_focus_event_2): new function. Allow focus to
6975 be set to a particular window and widget.
6976 (enqueue_focus_event): new function. Create a
6977 synthetic focus event.
6978 (emacs_Xt_handle_magic_event): call
6979 handle_focus_event_2.
6981 * frame.c (Fset_frame_pixel_height): new function. Allow
6982 pixel-based sizing. Does the right thing on character-oriented
6984 (Fset_frame_pixel_width): ditto.
6985 (Fset_frame_pixel_size): ditto.
6986 (syms_of_frame): declare.
6988 * general-slots.h: add :vertically-justify and
6989 :horizontally-justify.
6991 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6992 (mswindows_widget_border_width): new function.
6993 (mswindows_combo_box_instantiate): set border widths.
6994 (console_type_create_glyphs_mswindows): declare.
6997 (check_valid_justification): allow vertical and horizontal
6999 (widget_border_width): new function. Call device methods.
7000 (widget_instance_border_width): ditto.
7001 (logical_unit_height): new function. Determine the height of a
7002 logical-unit. Logical units are intended to provide grid-like
7003 layout for subcontrols in a layout. If the layout is
7004 :vertically-justify top then subcontrols will be positioned on
7005 logical-unit boundaries, thus allowing adjacent subcontrols to
7007 (widget_logical_unit_height): ditto for widgets.
7008 (redisplay_widget): misc cleanup.
7009 (widget_spacing): new function. Call device specific
7010 methods. Intended to be the default gap between adjacent widgets.
7011 (widget_query_geometry): use new spacing functions to determine
7012 appropriate geometry.
7013 (initialize_widget_image_instance): initialize horizontal and
7014 vertical justification.
7015 (widget_instantiate): use logica-units where appropriate for
7016 sizing large widgets.
7017 (button_query_geometry): use widget_instance_border_width.
7018 (tree_view_query_geometry): ditto.
7019 (tab_control_query_geometry): ditto.
7020 (edit_field_query_geometry): new function.
7021 (layout_update): pick up :justify, :horizontally-justify and
7022 :vertically-justify none of which worked previously. :justify is
7023 used as a fallback for both horizontal and vertical justification.
7024 (layout_query_geometry): use logical units to size appropriately.
7025 (layout_layout): ditto.
7026 (Fwidget_logical_to_character_width): new function. Allow users to
7027 convert from logical units to characters so that frame sizes can
7028 be set appropriately.
7029 (Fwidget_logical_to_character_height): ditto.
7030 (syms_of_glyphs_widget): declare.
7031 (image_instantiator_edit_fields): add edit_field_query_geometry.
7032 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7033 :horizontally-justify.
7034 (specifier_vars_of_glyphs_widget): new function. Declare
7035 Vwidget_border_width which is not yet used.
7037 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7038 (x_widget_border_width): new function.
7039 (x_widget_instantiate): create a sensible name for widgets.
7040 (console_type_create_glyphs_x): declare x_widget_border_width.
7042 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7043 (struct Lisp_Image_Instance): add :vertically-justify and
7044 :horizontally-justify.
7045 (LAYOUT_JUSTIFY_TOP): new.
7046 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7047 (ROUND_UP): new macro. Round argument up to next integral
7050 * redisplay-output.c (redisplay_output_layout): misc formatting.
7052 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7054 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7056 * XEmacs 21.4.9 "Informed Management" is released.
7058 2002-08-19 Andy Piper <andy@xemacs.org>
7060 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7063 * realpath.c (xrealpath): normalize drive spec also so that dir
7064 sep chars are not mixed on cygwin.
7066 2002-08-06 Jerry James <james@xemacs.org>
7068 * window.c (Fsplit_window): Count only half of the divider width
7069 against the left window when splitting horizontally.
7071 2002-06-24 Andy Piper <andy@xemacs.org>
7073 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7074 toolbar was cleared.
7076 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7077 function. Split out from mswindows_output_frame_toolbars.
7078 (mswindows_output_frame_toolbars): move clear pieces to
7079 mswindows_output_frame_toolbars.
7081 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7082 out from gtk_output_frame_toolbars.
7083 (gtk_output_frame_toolbars): move clear pieces to
7084 gtk_clear_frame_toolbars.
7086 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7087 the frame is cleared. How this ever worked before is a mystery.
7088 (x_output_frame_toolbars): Only output toolbars.
7089 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7091 * gutter.c (update_gutter_geometry):
7092 Mark frame layout changed.
7093 (update_frame_gutter_geometry, update_frame_gutters):
7094 Respect frame_layout_changed.
7096 * console.h (struct console_methods): add
7097 clear_frame_toolbars_method.
7099 * redisplay.c (redisplay_frame): call
7100 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7102 * toolbar.h: declare update_frame_toolbars_geometry.
7104 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7105 out from update_frame_toolbars. Call clear_frame_toolbars.
7106 (update_frame_toolbars): only output, do not change geometry.
7108 * redisplay.c: add frame_layout_changed.
7110 * redisplay.h: add frame_layout_changed.
7111 (CLASS_RESET_CHANGED_FLAGS): set it.
7112 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7113 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7114 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7116 * device.h (struct device): add frame_layout_changed.
7117 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7119 * frame.h (struct frame): add frame_layout_changed.
7120 (MARK_FRAME_LAYOUT_CHANGED): new.
7122 2002-06-30 Mike Alexander <mta@arbortext.com>
7124 * event-msw.c (mswindows_need_event): Don't wait for a new message
7125 if the queue is not empty. Suggested by Paul Moore.
7127 2002-06-12 Andy Piper <andy@xemacs.org>
7129 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7130 for printing on accurately.
7132 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7134 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7135 WM_ACTIVATE message. Make sure that the frame is visible if the
7136 window is visible. This seemss to fix the problem where XEmacs
7137 appears to freeze after switching desktops with certain virtual
7139 (debug_output_mswin_message): Added code to output message
7140 parameters for WM_WINDOWPOSCHANGED,
7141 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7143 2002-05-25 Andy Piper <andy@xemacs.org>
7145 * select-x.c (vars_of_select_x): Fix docstring of
7146 x-selection-strict-motif-ownership
7148 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7150 * keymap.c (get_keymap):
7151 Add comment about do_autoload GCPROs own args.
7153 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7155 * bytecode.c (execute_optimized_program): check_opcode ifdef
7156 ERROR_CHECK_BYTE_CODE.
7158 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7160 Thanks to Ben Wing and Michael Sperber.
7162 * eval.c (Fcommand_execute):
7165 (Fmacroexpand_internal):
7166 (function_argcount):
7167 callint.c (Fcall_interactively):
7168 Add comment about do_autoload GCPROs own args.
7170 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7172 * eval.c (Ffuncall): Extra braces to placate GCC.
7174 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7176 * backtrace.h (grow_specpdl):
7178 * EmacsFrame.c (EmacsFrameSetValues):
7179 * eval.c (grow_specpdl):
7180 * ExternalShell.c (hack_event_masks_1):
7181 * glyphs-x.c (convert_EImage_to_XImage):
7182 (x_finalize_image_instance):
7183 * ralloc.c (page_size):
7185 * xgccache.c (gc_cache_hash):
7186 Fix unsigned comparison warnings.
7188 2002-07-29 Jerry James <james@xemacs.org>
7190 * lread.c (locate_file): Any nonnegative return value indicates
7191 success if MODE is nonnegative.
7193 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7195 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7198 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7200 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7202 * dumper.c (pdump_get_indirect_count):
7203 (pdump_scan_by_alignment):
7204 (pdump_dump_root_struct_ptrs):
7205 (pdump_dump_rtables):
7206 (pdump_dump_root_objects):
7208 * nas.c (WaveOpenDataForReading):
7209 * fns.c (print_bit_vector):
7210 * font-lock.c (SINGLE_SYNTAX_STYLE):
7211 * glyphs.c (check_for_ignored_expose):
7212 (find_matching_subwindow):
7214 * imgproc.c (get_histogram):
7215 * redisplay.c (point_in_line_start_cache):
7216 * redisplay-output.c (redisplay_unmap_subwindows):
7217 * symbols.c (defsymbol_massage_name_1):
7218 (defkeyword_massage_name):
7219 (deferror_massage_name_and_message):
7220 * redisplay-x.c (x_output_string):
7221 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7222 * frame.h (struct frame):
7223 * filelock.c (current_lock_owner):
7224 * doprnt.c (emacs_doprnt_1):
7225 * lisp.h (struct Lisp_Bit_Vector):
7229 2002-02-13 Ben Wing <ben@xemacs.org>
7231 * event-stream.c (reset_key_echo):
7232 * event-stream.c (reset_this_command_keys):
7233 * event-stream.c (execute_command_event):
7234 If console is dead as a result of C-x 5 0, then post-command stuff
7235 needs to be careful and do only non-console-specific stuff.
7237 2002-07-01 Mike Sperber <mike@xemacs.org>
7239 * process-unix.c (unix_send_process): Mark coding_outstream as
7240 non-open upon SIGPIPE.
7242 * event-stream.c (Fnext_event): Reorder switch cases to something
7245 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7247 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7248 Don't bogusly reinitialize ascii_character property.
7250 2002-07-08 Mike Sperber <mike@xemacs.org>
7252 * process.c (Fstart_process_internal): Do error checking before we
7253 fork off the child, so the child can't muck with the state of the
7256 2002-07-08 Mike Sperber <mike@xemacs.org>
7258 * ralloc.c (init_ralloc): Allocate properly for pdump.
7260 2002-06-12 Andy Piper <andy@xemacs.org>
7262 * glyphs.c (query_string_geometry): check the string.
7264 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7267 2002-06-17 Jerry James <james@xemacs.org>
7269 * sysdll.c: Remove RTLD_GLOBAL initialization.
7270 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7272 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7274 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7276 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7278 * sysdep.c (sys_rename): Make sys_rename work for the case where
7279 Windows rename sets errno to EACCES if target file exists.
7281 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7283 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7284 Fix detection of metric units to work on Win95
7286 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7288 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7290 2002-04-25 Andy Piper <andy@xemacs.org>
7292 * redisplay.c (create_text_block): Remove extra comment trailer.
7294 2002-04-24 Andy Piper <andy@xemacs.org>
7296 * redisplay.c (create_text_block): Don't actually add propagation
7297 data if the line ends after we have added a glyph.
7299 2002-04-22 Andy Piper <andy@xemacs.org>
7301 * extents.c (extent_fragment_update): check for glyphs we have
7302 previously displayed.
7303 * extents.c (print_extent_1): warning removal.
7304 * extents.h: change prototype.
7305 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7306 widths correctly for wide glyphs.
7307 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7308 * redisplay.c (prop_type): add PROP_GLYPH.
7309 * redisplay.c (struct prop_block): add glyph type
7310 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7311 to the propagation data.
7312 * redisplay.c (create_text_block): if there is a glyph in the
7313 propagation data use it to salt extent_fragment_update.
7314 * redisplay.c (create_string_text_block): ditto.
7316 2002-04-13 Nix <nix@esperi.demon.co.uk>
7318 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7319 * redisplay-output.c (compare_runes): Compare them.
7320 * redisplay.c: Update copyright date.
7321 * redisplay.c (pos_data): Add need_baseline_computation field.
7322 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7323 need_baseline_computation; zero yoffset. Set max_pixmap_height
7324 for all pixmaps, not just automatically positioned ones.
7325 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7326 * redisplay.c (calculate_baseline): New, compute textual baseline.
7327 * redisplay.c (add_glyph_rune): Call them.
7328 * redisplay.c (create_text_block): Likewise.
7329 * redisplay.c (create_overlay_glyph_block): Likewise.
7330 * redisplay.c (add_margin_runes): Likewise.
7331 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7333 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7334 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7335 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7336 * redisplay-msw.c (mswindows_output_string): Likewise.
7337 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7338 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7339 * redisplay-x.c (x_output_display_block): Likewise.
7341 2002-03-28 Ben Wing <ben@xemacs.org>
7343 * redisplay.c: Fixed bug in redisplay
7344 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7345 and down of the lines, since they're bigger than the line
7346 size. (It was seen most obviously when there's a horizontal scroll
7347 bar, e.g. do C-h a glyph or something like that.) The problem was
7348 that the glyph-contrib-p setting on glyphs was ignored even if it
7349 was set properly, which it wasn't until now.
7351 2002-04-24 Andy Piper <andy@xemacs.org>
7353 * lisp.h (Dynarr_end): Fix definition.
7355 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7357 * redisplay.c (mark_redisplay): Remove call to
7358 update_frame_window_mirror.
7360 2001-11-15 Andy Piper <andy@xemacs.org>
7362 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7365 2002-02-13 Andy Piper <andy@xemacs.org>
7367 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7368 we did in fact enqueue the XM_MAPFRAME event.
7370 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7372 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7373 to fix problem switching between virtual desktops under virtuawin
7374 virtual window manager.
7376 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7378 * event-msw.c: Typo fix.
7379 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7380 magic XM_MAPFRAME event has been sent.
7382 2001-11-23 Andy Piper <andy@xemacs.org>
7384 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7386 2001-11-21 Andy Piper <andy@xemacs.org>
7388 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7389 mouse events outside the frame.
7391 2002-03-20 Andy Piper <andy@xemacs.org>
7393 * menubar-msw.c (mswindows_popup_menu): warning removal.
7394 * dialog-msw.c (dialog_popped_down): ditto.
7396 2001-12-11 Andy Piper <andy@xemacs.org>
7398 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7399 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7401 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7402 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7403 * menubar-msw.c (mswindows_popup_menu): ditto.
7405 2001-10-29 Andy Piper <andy@xemacs.org>
7407 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7410 2002-01-03 Andy Piper <andy@xemacs.org>
7412 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7416 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7418 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7419 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7420 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7421 Detect and handle case where machine is set up for metric units
7423 2002-04-02 Andy Piper <andy@xemacs.org>
7425 * dired-msw.c (mswindows_get_files):
7426 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7427 completely handled by XEmacs. Suggested by Thomas Vogler
7428 <mail@thomas-vogler.de>.
7430 2001-11-14 Andy Piper <andy@xemacs.org>
7432 * nt.c (REG_ROOT): change registry key to XEmacs.
7434 2002-04-27 Andy Piper <andy@xemacs.org>
7436 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7438 2002-04-26 Andy Piper <andy@xemacs.org>
7440 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7443 2002-03-14 Mike Alexander <mta@arbortext.com>
7445 * event-msw.c (mswindows_unwait_process): New, remove process from
7447 * process-nt.c (nt_finalize_process_data): Call
7448 mswindows_unwait_process
7449 * console-msw.h: Declare mswindows_unwait_process
7451 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7453 * editfns.c (Fdecode_time):
7454 (Fformat_time_string):
7455 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7456 (make_time): Warning elimination (change arg name).
7458 2001-11-24 Andy Piper <andy@xemacs.org>
7460 * window.c (Fsplit_window): Doc return type.
7462 2002-04-01 Andy Piper <andy@xemacs.org>
7464 * emacs.c (Fkill_emacs): Only output message box in interactive
7467 2002-04-26 Andy Piper <andy@xemacs.org>
7469 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7472 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7474 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7477 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7479 * XEmacs 21.4.8 "Honest Recruiter" is released.
7481 2002-05-07 Nix <nix@esperi.demon.co.uk>
7483 Supersedes 2002-04-17 patch.
7485 * process.h (PROCESS_LIVE_P): Use the process status as
7486 evidence of health, not the state of the input stream.
7487 (PROCESS_READABLE_P): Say if the process is readable
7488 from. (It may be dead nonetheless.)
7489 (CHECK_READABLE_PROCESS): Test for that condition.
7491 * process.c (create_process): Use PROCESS_READABLE_P.
7492 (read_process_output, set_process_filter): Likewise.
7494 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7495 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7497 This code is #if 0'd, this is not the time to add new functions:
7499 * process.c (Fprocess_readable_p): Report readability status.
7500 * process.c (Qprocess_readable_p): New, associated symbol...
7501 * process.c (syms_of_process): ... initialize it.
7503 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7505 * XEmacs 21.4.7 "Economic Science" is released.
7507 2002-04-17 Nix <nix@esperi.demon.co.uk>
7509 * process.h (PROCESS_LIVE_P): Use the process status as
7510 evidence of health, not the state of the input stream.
7512 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7514 * sysdep.c (sys_siglist): change "signum" to "signal"
7516 2001-04-21 Martin Buchholz <martin@xemacs.org>
7518 * s/darwin.h: New file.
7519 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7521 2002-04-23 Andreas Jaeger <aj@suse.de>
7523 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7524 which use lib64 for 64-bit libs.
7525 (START_FILES): Likewise.
7527 2002-02-11 Mike Sperber <mike@xemacs.org>
7530 (x_IO_error_handler):
7531 (x_init_device): Temporarily keep device in static variable
7532 `device_being_initialized' so we can recover gracefully from
7533 internal XOpenDevice failure. (XOpenDevice is documented to
7534 return NULL on failure, but sometimes calls the IO error handler
7537 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7539 * dired.c (Ffile_name_all_completions): Change documentation --
7540 remove reference to completion-ignored-extensions.
7541 * dired.c (vars_of_dired): Change documentation for
7542 completion-ignored-extensions -- remove reference to
7543 file-name-all-completions.
7545 2002-03-06 Jerry James <james@xemacs.org>
7547 * emodules.c (emodules_load): Fix multiple loading of same module.
7549 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7550 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7551 RTLD_LAZY to avoid incorrect symbol binding when using nested
7552 shared libraries on Solaris.
7554 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7556 * fileio.c (Ffind_file_name_handler): Improve docstring.
7558 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7560 * fns.c (Fmapconcat): Improve docstring.
7562 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7564 * device-gtk.c: Add prototype for
7565 emacs_gtk_selection_clear_event_handle.
7566 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7567 selection. Setup signal handler for "selection_clear_event"
7568 (emacs_gtk_selection_clear_event_handle).
7570 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7571 other applications owning the clipboard (based on
7572 x_handle_selection_clear).
7574 2001-12-23 William M. Perry <wmperry@gnu.org>
7576 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7578 2002-01-04 Martin Buchholz <martin@xemacs.org>
7580 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7582 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7584 * XEmacs 21.4.6 "Common Lisp" is released.
7586 2001-12-16 Torsten Duwe <duwe@caldera.de>
7588 * search.c (Freplace_match): Add missing sub-expression functionality.
7590 * buffer.c (decode_buffer): Add a check for pointer type to
7591 decode_buffer, before gcc's CSE optimization reorders a
7592 dereference in front of the allow_string test.
7594 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7596 * window.c (window_loop): Fix bug that sometimes prevented
7597 window_loop() from iterating across multiple devices. Also, at
7598 Ben's request, changed infloop-detecting code to abort() instead
7599 of silently terminating window_loop().
7601 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7603 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7604 * editfns.c (make_time): New function.
7605 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7606 * lisp.h (make_time): Prototype and comment it.
7607 * dired.c (wasteful_word_to_lisp): Deprecate.
7608 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7610 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7612 * fileio.c (auto_save_1): Use current coding system, not
7615 2001-11-13 Ben Wing <ben@xemacs.org>
7618 * window.c (window_truncation_on):
7619 * window.c (syms_of_window):
7620 truncate-partial-width-windows should respect the buffer being
7621 displayed, like other redisplay vars.
7623 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7625 * event-stream.c (Fread_key_sequence): save current buffer.
7627 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7629 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7631 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7633 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7635 2001-10-26 Mike Alexander <mta@arbortext.com>
7637 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7639 2001-10-25 Andy Piper <andy@xemacs.org>
7642 * dialog-msw.c (handle_directory_proc): new function.
7643 (handle_directory_dialog_box): new fucntion.
7644 (handle_file_dialog_box): use new directory dialog support.
7645 (mswindows_make_dialog_box_internal): ditto.
7646 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7648 (mswindows_find_frame): make global.
7649 * fileio.c (Fexpand_file_name): build fix.
7650 * general-slots.h: add Qdirectory.
7651 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7653 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7654 cygwin not leaving win32 paths unchanged.
7655 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7656 cygwin runtime to do path conversion.
7657 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7658 (syms_of_win32): add new function.
7659 * window.c (window_loop): build fix.
7661 2001-10-15 Andy Piper <andy@xemacs.org>
7663 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7665 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7667 * XEmacs 21.4.5 "Civil Service" is released.
7669 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7671 * glyphs-x.c: Force buffer-tab highlight update when moving the
7672 buffer, avoiding an ugly black border, used for keyboard focus
7673 indication, on a widget that can never have keyboard focus, the
7676 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7678 * process-unix.c (unix_open_multicast_group): Remove too much
7679 conversion between host and network byte order.
7681 2001-09-10 Nix <nix@esperi.demon.co.uk>
7683 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7684 before replacing them.
7686 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7689 * src/window.c (undedicate_windows): Use it.
7690 * src/window.h: Add prototype.
7692 2001-09-17 Ben Wing <ben@xemacs.org>
7694 * fileio.c (normalize_filename):
7695 * fileio.c (Fexpand_file_name):
7696 Fix various C++ compile errors in Andy's recent code.
7698 * callint.c (Fcall_interactively):
7699 * editfns.c (Ftemp_directory):
7700 * editfns.c (Fuser_full_name):
7701 * emacs.c (argmatch):
7702 * lread.c (locate_file_map_suffixes):
7703 * redisplay-x.c (x_ring_bell):
7704 Fix sign-compare warnings.
7706 2001-09-08 Andy Piper <andy@xemacs.org>
7708 * fileio.c (normalize_filename): copied from nt.c
7709 * (Ffile_name_directory): enable win32 paths under cygwin.
7710 * (Ffile_name_nondirectory): ditto.
7711 * (directory_file_name): ditto.
7712 * (Fexpand_file_name): ditto.
7713 * (Ffile_truename): ditto.
7714 * (Fsubstitute_in_file_name): ditto.
7715 * (Ffile_name_absolute_p): ditto.
7716 * (Ffile_readable_p): ditto.
7718 2001-09-08 Andy Piper <andy@xemacs.org>
7720 * device-msw.c (mswindows_finish_init_device): remove dde
7722 * device-msw.c (mswindows_init_dde): factor out from
7723 mswindows_finish_init_device()
7724 * device-msw.c (init_mswindows_very_early): new function
7725 initialize but don't enable dde.
7726 * emacs.c (main_1): call init_mswindows_very_early.
7728 * event-msw.c (mswindows_dde_callback): only execute when we are
7730 * symsinit.h: declare init_mswindows_very_early.
7732 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7734 [sjt: This has been in 21.5 for months with no complaints.]
7736 * console.h (struct console_methods): Added flags member.
7737 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7738 (CONMETH_IMPL_FLAG):
7739 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7740 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7742 * device.c (window_system_pixelated_geometry): Use the above macros.
7744 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7745 implememntation flag.
7746 * device.h (DEVICE_DISPLAY_P): Use it.
7748 * frame.c (delete_frame_internal): Use the above macro.
7750 * redisplay.c (redisplay_device): Use it.
7751 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7752 (redisplay_frame): Ditto.
7754 * device-msw.c (mswindows_device_implementation_flags): Removed.
7755 (msprinter_device_implementation_flags): Removed.
7756 (console_type_create_device_mswindows): Removed references to
7757 implementation_flags methods, set implementation flags here.
7758 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7760 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7761 (console_type_create_device_gtk): Removed method declaration.
7762 Added commented out statement which semantically matches the
7763 commented out statement in the above removed method.
7765 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7767 The attached patch fixes a few warnings.
7769 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7770 * src/frame-gtk.c: guard against GNOME calls in GTK only
7771 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7772 * src/select-gtk.c: prototype lisp_to_time
7774 2001-06-08 Ben Wing <ben@xemacs.org>
7776 ------ gc-in-window-procedure fixes ------
7779 * alloc.c (struct post_gc_action):
7780 * alloc.c (register_post_gc_action):
7781 * alloc.c (run_post_gc_actions):
7782 * alloc.c (garbage_collect_1):
7783 Create "post-gc actions", to avoid those dreaded "GC during window
7784 procedure" problems.
7787 Abort, clean and simple, when GC in window procedure. We want
7788 to flush these puppies out.
7791 * glyphs-msw.c (finalize_destroy_window):
7792 * glyphs-msw.c (mswindows_finalize_image_instance):
7793 Use a post-gc action when destroying subwindows.
7796 Declare register_post_gc_action().
7799 * scrollbar-msw.c (unshow_that_mofo):
7800 Use a post-gc action when unshowing scrollbar windows, if in gc.
7802 * redisplay.c (mark_redisplay):
7803 Add comment about the utter evilness of what's going down here.
7805 ------ cygwin setitimer fixes ------
7807 * Makefile.in.in (sheap_objs):
7808 * Makefile.in.in (profile_objs):
7809 * Makefile.in.in (objs):
7810 Compile profile.c only when HAVE_SETITIMER.
7812 * nt.c (mswindows_sigset):
7813 * nt.c (mswindows_sighold):
7814 * nt.c (mswindows_sigrelse):
7815 * nt.c (mswindows_sigpause):
7816 * nt.c (mswindows_raise):
7817 * nt.c (close_file_data):
7821 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7824 * profile.c (Fstart_profiling):
7825 * profile.c (Fstop_profiling):
7826 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7827 instead of just plain setitimer().
7830 * signal.c (set_one_shot_timer):
7832 Define qxe_setitimer() as an encapsulation around setitimer() --
7833 call setitimer() directly unless Cygwin or MS Win, in which case
7834 we use our simulated version in win32.c.
7837 * systime.h (struct itimerval):
7838 * systime.h (ITIMER_REAL):
7839 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7840 comment about "qxe" and the policy regarding encapsulation.
7843 * win32.c (setitimer_helper_proc):
7844 * win32.c (setitimer_helper_period):
7845 * win32.c (setitimer_helper):
7846 * win32.c (mswindows_setitimer):
7847 Move setitimer() emulation here, so Cygwin can use it.
7848 Rename a couple of functions and variables to be longer and more
7849 descriptive. In setitimer_helper_proc(), send the signal
7850 using either mswindows_raise() or (on Cygwin) kill(). If for
7851 some reason we are still getting lockups, we'll change the kill()
7852 to directly invoke the signal handlers.
7854 ------ windows shell fixes ------
7858 Comments about how these two files must die.
7860 * callproc.c (init_callproc):
7861 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7862 not just COMSPEC. (more correct and closer to FSF.) Don't
7863 force a value for SHELL into the environment. (Comments added
7864 to explain why not.)
7866 * nt.c (init_user_info):
7867 Don't shove a fabricated SHELL into the environment. See above.
7869 2001-06-01 Ben Wing <ben@xemacs.org>
7871 * Makefile.in.in (ldflags):
7872 eliminate that pesky "defaulting to 00401000" warning.
7876 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7878 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7879 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7881 2001-04-24 Jerry James <james@xemacs.org>
7883 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7886 2001-06-01 Ben Wing <ben@xemacs.org>
7888 * event-msw.c (debug_mswin_messages):
7889 conditionalize the messages that were causing compile errors.
7890 (if only macros could generate #ifdef statements ...)
7892 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7894 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7896 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7898 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7900 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7902 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7903 * process-unix.c (unix_canonicalize_host_name):
7904 sysdep.c (init_system_name):
7905 Use it to conditionally support IPv6 canonicalization.
7907 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7910 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7912 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7914 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7915 attempt is made to scroll when no scroll bar is available.
7917 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7919 * input-method-motif.c (XIM_delete_frame): New callback.
7920 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7921 got deleted from 21.4.3.)
7923 2001-06-01 Ben Wing <ben@xemacs.org>
7925 * nt.c (mswindows_utime):
7926 * nt.c (close_file_data):
7927 fix off-by-one-indirection error.
7929 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7931 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7932 because set_file_times() now takes Lisp_Object path, instead of
7934 * nt.c: Include buffer.h.
7935 * nt.c (convert_from_time_t): New.
7936 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7937 not set mtime correctly.
7938 * nt.h: Declare mswindows_utime().
7939 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7940 path, instead of char*.
7941 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7943 2001-05-30 Ben Wing <ben@xemacs.org>
7947 (Stephen, just take all event-msw.c patches. This includes
7948 the "iconify" fix below.)
7951 * event-msw.c (mswindows_dequeue_dispatch_event):
7952 * event-msw.c (assert):
7953 * event-msw.c (emacs_mswindows_quit_p):
7954 * event-msw.c (debug_mswin_messages):
7955 * event-msw.c (debug_output_mswin_message):
7956 * event-msw.c (vars_of_event_mswindows):
7957 Fix yet more problems with C-g handling.
7958 Implement debug-mswindows-events.
7960 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7962 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7964 2001-05-23 Ben Wing <ben@xemacs.org>
7966 * event-msw.c (winsock_writer):
7967 * event-msw.c (winsock_closer):
7968 prior kludgy code was clobbering the buffer, thinking it was
7969 "unused" space to store an unneeded return value; instead, use
7970 the variable we've already got staring us in the face.
7972 2001-05-17 Andy Piper <andy@xemacs.org>
7974 * sysfile.h: don't assume that file attributes are boolean
7976 2001-05-23 Ben Wing <ben@xemacs.org>
7978 * device-msw.c (msprinter_init_device):
7979 signal an error rather than crash with an unavailable network
7980 printer (from Mike Alexander).
7983 * event-msw.c (struct winsock_stream):
7984 * event-msw.c (winsock_writer):
7985 * event-msw.c (winsock_closer):
7986 * event-msw.c (make_winsock_stream_1):
7987 cleanup headers. fix (hopefully) an error with data corruption
7988 when sending to a network connection.
7990 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7991 to handle the ~user prefix by (a) always assuming we're referencing
7992 ourselves and not even verifying the user -- hence any file with
7993 a tilde as its first char is invalid! (b) if there wasn't a slash
7994 following the filename, the pointer was set *past* the end of
7995 file and we started reading from uninitialized memory. Now we
7996 simply treat these as files, always.
7998 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8000 2001-05-19 Ben Wing <ben@xemacs.org>
8002 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8005 * process-nt.c (vars_of_process_nt):
8006 remove unused mswindows-quote-process-args. rec for 21.4.
8008 2001-05-12 Ben Wing <ben@xemacs.org>
8010 * event-msw.c (mswindows_dde_callback):
8011 * event-msw.c (mswindows_wnd_proc):
8012 eliminate cygwin warnings.
8014 2001-05-06 Ben Wing <ben@xemacs.org>
8018 * device-msw.c (print_dialog_worker):
8019 * device-msw.c (mswindows_handle_print_dialog_box):
8020 * device-msw.c (syms_of_device_mswindows):
8021 * dialog-msw.c (mswindows_make_dialog_box_internal):
8023 implement printing the selection when it's selected.
8025 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8027 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8029 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8031 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8032 EMACS_INT is signed.
8034 2001-04-15 Michael Lausch <mla@1012surf.net>
8036 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8037 gtk_widget_request_size() to give scrollbar >0 width for
8040 2001-05-30 William M. Perry <wmperry@gnu.org>
8042 * event-gtk.c: Check for buttons as modifier keys.
8044 2001-05-25 Craig Lanning <CraigL@Knology.net>
8047 Properly find MinGW's <process.h> inside Cygwin's restructured
8048 include directories. Don't try to include <cygwin/version.h>
8049 since we are dropping support for MinGW in versions of Cygwin
8052 Drop support for MinGW in versions of Cygwin before b21.
8054 Properly find MinGW's <process.h> inside Cygwin's restructured
8055 include directories.
8057 Drop support for MinGW in versions of Cygwin before b21.
8059 Even though a.out.h is no longer detected by configure, allow
8060 MinGW to use it until we figure out how to do the job with Win32.
8062 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8064 * syntax.c (find_start_of_comment):
8065 Fix `unbalanced parentheses' bug when dealing with mixed comment
8066 styles in c++/java/etc. mode
8068 2001-05-29 Mike Alexander <mta@arbortext.com>
8070 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8071 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8073 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8075 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8077 2001-03-31 Mike Sperber <mike@xemacs.org>
8079 * search.c (Freplace_match): Support FSF-style specification of
8080 match subexpression when applied to a buffer.
8082 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8084 * event-stream.c (is_scrollbar_event): add missing semicolon
8086 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8088 * Makefile.in.in: Use TAR macro instead of hardcoding
8089 tar. Allows use of GNU tar instead of system tar
8091 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8093 * event-stream.c (is_scrollbar_event): add missing semicolon
8095 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8097 * XEmacs 21.4.3 "Academic Rigor" is released.
8099 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8101 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8103 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8105 * buffer.c (Vcase_fold_search): Remove obsolete
8106 comment about non ASCII case-fold-search. This
8107 bug has been fixed by case-table changes.
8109 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8111 * event-msw.c: Restore include of events-mod.h.
8113 2001-04-22 zhaoway <zw@debian.org>
8115 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8118 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8120 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8122 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8124 * mule-charset.c (Fmake_charset): Add missing else.
8126 2001-04-23 Ben Wing <ben@xemacs.org>
8128 * event-msw.c (FAKE_MOD_QUIT):
8129 * event-msw.c (mswindows_dequeue_dispatch_event):
8130 * event-msw.c (mswindows_wnd_proc):
8131 * event-msw.c (emacs_mswindows_quit_p):
8132 Get critical quit working.
8134 2001-05-05 Ben Wing <ben@xemacs.org>
8138 * device-msw.c (mswindows_get_default_margin):
8139 * frame-msw.c (mswindows_size_frame_internal):
8140 * frame-msw.c (msprinter_init_frame_1):
8141 * frame-msw.c (vars_of_frame_mswindows):
8142 Change top/bottom margin defaults to 0.5 inches.
8144 2001-05-01 Martin Buchholz <martin@xemacs.org>
8146 Fix link error with gcc 3.0 on Linux.
8147 * terminfo.c (UP): Remove.
8148 * terminfo.c (BC): Remove.
8149 * terminfo.c (PC): Remove.
8150 They weren't used, and in any case, these symbols should be
8151 defined in the *library*.
8153 2001-05-03 Martin Buchholz <martin@xemacs.org>
8155 * s/aix4.h: Fix crash with xlc -O3.
8156 Improve comment explaining how -O3 works.
8158 2001-04-15 Ben Wing <ben@xemacs.org>
8161 * event-stream.c (Fnext_event):
8162 * event-stream.c (is_scrollbar_event):
8163 * event-stream.c (execute_command_event):
8164 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8165 crash' problem. His fix introduces other problems. We filter
8166 out scrollbar events specifically, making them somewhat invisible
8167 to command-building, and not appearing in `this-command-keys'.
8168 More work is still needed (see comments in event-stream.c), but
8169 this fixes all the major problems.
8171 2001-04-20 Ben Wing <ben@xemacs.org>
8173 * .cvsignore: Added stuff for Windows.
8175 2001-04-28 Ben Wing <ben@xemacs.org>
8177 * buffer.c (Ferase_buffer):
8178 * editfns.c (buffer_insert1):
8179 * editfns.c (Finsert_before_markers):
8180 * editfns.c (Finsert_string):
8181 * editfns.c (Finsert_char):
8182 * editfns.c (Fdelete_region):
8183 * editfns.c (Fwiden):
8184 * editfns.c (Fnarrow_to_region):
8185 remove bogus lines setting zmacs_region_stays to 0.
8187 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8189 * process-unix.c (unix_open_network_stream): If connect() fails
8190 invalidate file descriptor after closing it.
8192 2001-03-08 Mike Alexander <mta@arbortext.com>
8194 * event-msw.c (mswindows_need_event_in_modal_loop):
8195 Don't dispatch a message if we didn't get one.
8196 (mswindows_need_event):
8197 Terminate the correct process when one exits instead of the first
8198 one on Vprocess_list and look for process termination when in
8199 mswindows_protect_modal_loop.
8201 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8203 * XEmacs 21.4.1 "Copyleft" is released.
8205 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8207 * input-method-motif.c (XIM_delete_frame): New callback.
8208 (XIM_init_frame): Register it.
8210 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8212 * XEmacs 21.4.0 "Solid Vapor" is released.
8214 2001-04-15 Ben Wing <ben@xemacs.org>
8216 * cmdloop.c (call_command_loop):
8217 Fix braino in bit-rotting code.
8219 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8221 * extents.c (Fset_extent_endpoints): Force creation of extent info
8222 in buffer_or_string.
8224 * extents.c (process_extents_for_insertion_mapper): Correctly
8225 check for open-open zero-length extents.
8227 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8229 * lisp.h: New typedefs Memory_count, Element_count.
8232 Sign-compare warning elimination: several unsigned -> signed.
8233 Based on work by Ben Wing <ben@xemacs.org>.
8235 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8237 * XEmacs 21.2.47 "Zephir" is released.
8239 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8241 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8243 2001-04-03 Mike Sperber <mike@xemacs.org>
8245 * search.c: Revert previous patch due because of release.
8247 2001-03-30 Ben Wing <ben@xemacs.org>
8250 Add missing killpg prototype.
8253 Add a comment about fixing problems when a new entry is added
8256 * frame-msw.c (mswindows_init_frame_1):
8257 Fix compile warnings.
8259 * menubar.c (vars_of_menubar):
8260 Provide `menu-accelerator-support' to indicate that we properly
8261 support %_ in menu specifications, so that package code can
8262 conditionalize on this (and remove %_ from menu specifications
8267 * scrollbar-msw.c (can_scroll):
8269 Fix handling of mouse wheel under Windows to follow standards --
8270 now scrolls window under pointer, not selected window.
8272 2001-03-31 Mike Sperber <mike@xemacs.org>
8274 * search.c (Freplace_match): Support FSF-style specification of
8275 match subexpression when applied to a buffer.
8277 2001-03-15 Martin Buchholz <martin@xemacs.org>
8279 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8280 function to modify KEYMAP, so map over a copy of the hash table.
8282 2001-03-21 Martin Buchholz <martin@xemacs.org>
8284 * XEmacs 21.2.46 "Urania" is released.
8286 2001-03-20 Dan Holmsand <dan@eyebee.com>
8288 * realpath.c (xrealpath): Make file-truename work with symlinks to
8289 /cygdrive paths on cygwin. Always lowercase drive-letters on
8291 (cygwin_readlink): Don't try to find canonical filename unless
8294 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8296 * ChangeLog: Log GTK merge.
8302 Revert gratuitous whitespace changes from GTK merge.
8304 * emacs.c: Document end of complex #ifdef @ l. 1495.
8307 2001-03-12 Andy Piper <andy@xemacs.org>
8309 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8310 have to do likewise.
8312 2001-03-12 Andy Piper <andy@xemacs.org>
8314 * sysdep.c: we only support mingw now.
8316 2001-03-09 Andy Piper <andy@xemacs.org>
8318 * unexcw.c (copy_executable_and_dump_data_section): making approx
8319 overrun a warning only.
8321 2001-03-10 William M. Perry <wmperry@aventail.com>
8323 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8324 satisfy Stephen's identical-after-cpp plea.
8326 2001-03-02 Ben Wing <ben@xemacs.org>
8329 * cmds.c (Fforward_char):
8333 Augment documentation of the most common motion commands to make
8334 note of the shifted-motion support.
8336 2001-03-02 Ben Wing <ben@xemacs.org>
8338 * nt.c (mswindows_fstat):
8339 * nt.c (mswindows_stat):
8340 * search.c (boyer_moore):
8341 Fix compile warnings under Windows.
8343 * sysdep.c (sys_readdir):
8344 Fix buggy filename-conversion code under Mule.
8346 2001-03-09 William M. Perry <wmperry@aventail.com>
8368 * redisplay-output.c:
8374 The Great GTK Merge.
8381 * emacs-widget-accessors.c:
8395 * native-gtk-toolbar.c:
8406 The Great GTK Merge: new files.
8408 2001-02-26 Ben Wing <ben@xemacs.org>
8410 Reapplied Lstream change.
8412 2001-02-26 Ben Wing <ben@xemacs.org>
8414 Undid the last change, since it is more controversial than I
8415 thought. It should be back in at some point soon.
8417 2001-02-25 Ben Wing <ben@xemacs.org>
8420 * callproc.c (Fold_call_process_internal):
8421 * event-msw.c (ntpipe_slurp_reader):
8422 * event-msw.c (ntpipe_shove_writer):
8423 * event-msw.c (winsock_reader):
8424 * event-msw.c (winsock_writer):
8426 * file-coding.c (detect_eol_type):
8427 * file-coding.c (detect_coding_type):
8428 * file-coding.c (determine_real_coding_system):
8429 * file-coding.c (Fdetect_coding_region):
8430 * file-coding.c (decoding_reader):
8431 * file-coding.c (decoding_writer):
8432 * file-coding.c (mule_decode):
8433 * file-coding.c (Fdecode_coding_region):
8434 * file-coding.c (encoding_reader):
8435 * file-coding.c (encoding_writer):
8436 * file-coding.c (mule_encode):
8437 * file-coding.c (Fencode_coding_region):
8438 * file-coding.c (detect_coding_sjis):
8439 * file-coding.c (decode_coding_sjis):
8440 * file-coding.c (encode_coding_sjis):
8441 * file-coding.c (detect_coding_big5):
8442 * file-coding.c (decode_coding_big5):
8443 * file-coding.c (encode_coding_big5):
8444 * file-coding.c (detect_coding_ucs4):
8445 * file-coding.c (decode_coding_ucs4):
8446 * file-coding.c (encode_coding_ucs4):
8447 * file-coding.c (detect_coding_utf8):
8448 * file-coding.c (decode_coding_utf8):
8449 * file-coding.c (encode_coding_utf8):
8450 * file-coding.c (detect_coding_iso2022):
8451 * file-coding.c (decode_coding_iso2022):
8452 * file-coding.c (encode_coding_iso2022):
8453 * file-coding.c (decode_coding_no_conversion):
8454 * file-coding.c (encode_coding_no_conversion):
8455 * glyphs-x.c (write_lisp_string_to_temp_file):
8456 * gpmevent.c (tty_get_foreign_selection):
8459 * lstream.c (Lstream_flush_out):
8460 * lstream.c (Lstream_adding):
8461 * lstream.c (Lstream_write_1):
8462 * lstream.c (Lstream_write):
8463 * lstream.c (Lstream_raw_read):
8464 * lstream.c (Lstream_read_more):
8465 * lstream.c (Lstream_read):
8466 * lstream.c (Lstream_unread):
8467 * lstream.c (Lstream_fputc):
8468 * lstream.c (stdio_reader):
8469 * lstream.c (stdio_writer):
8470 * lstream.c (filedesc_reader):
8471 * lstream.c (filedesc_writer):
8472 * lstream.c (lisp_string_reader):
8473 * lstream.c (struct fixed_buffer_stream):
8474 * lstream.c (make_fixed_buffer_input_stream):
8475 * lstream.c (make_fixed_buffer_output_stream):
8476 * lstream.c (fixed_buffer_reader):
8477 * lstream.c (fixed_buffer_writer):
8478 * lstream.c (struct resizing_buffer_stream):
8479 * lstream.c (resizing_buffer_writer):
8480 * lstream.c (dynarr_writer):
8481 * lstream.c (lisp_buffer_reader):
8482 * lstream.c (lisp_buffer_writer):
8484 * lstream.h (lstream_implementation):
8485 * lstream.h (struct lstream):
8487 * process-nt.c (nt_send_process):
8488 * process-unix.c (unix_send_process):
8490 Correct Lstream lossage due to mixing of signed and unsigned
8491 quantities. All Lstream uses of size_t and ssize_t are now a
8492 single signed data type Lstream_data_count. This fixes problems
8493 under Windows with sending large quantities of data to a process,
8494 and may well fix other subtle bugs.
8496 2001-02-23 Martin Buchholz <martin@xemacs.org>
8498 * XEmacs 21.2.45 "Thelxepeia" is released.
8500 2001-02-21 Martin Buchholz <martin@xemacs.org>
8502 * lisp-union.h (XSETINT):
8505 Reverse previous change of 2001-02-06.
8507 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8509 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8511 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8512 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8513 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8514 * regex.c (POS_AS_IN_BUFFER): removed
8515 * regex.c (re_search_2):
8516 * regex.c (re_match_2):
8517 Don't use an offset of 1 when calculating buffer positions, since
8518 `BI_BUF_BEGV' does it already.
8520 2001-02-18 Wim Dumon <wim@easics.be>
8522 * insdel.c (prepare_to_modify_buffer): Also check for
8523 supersession when clash-detection is enabled.
8525 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8527 * regex.c (re_match_2_internal):
8528 Convert temp characters from 'const unsigned char' to 're_char'.
8529 Fix crashing bug with extended characters under mule.
8530 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8531 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8532 font-lock, pdump, and new syntax-table code.
8533 * syntax.c (find_start_of_comment):
8534 (find_end_of_comment):
8536 Fix crashing bugs involving moving beyond end of buffer.
8537 * syntax.c (find_start_of_comment):
8538 Fixed logic to allow proper detection of cases where the same
8539 character is used to end both a two-char comment start and a
8540 two-char comment end sequence. Fixes `(forward-comment -1)'.
8541 * syntax.c (find_start_of_comment):
8542 Return position just past last comment-end character for all cases
8543 (previously was only done for two-char comment-end sequences).
8544 * syntax.c (forward-comment):
8545 Take value returned from `find_end_of_comment', rather than
8547 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8548 Properly deal with BUFFERP (syntax_cache.object)
8550 2001-02-17 Martin Buchholz <martin@xemacs.org>
8552 * alloc.c (Fgarbage_collect):
8553 * alloc.c (make_bit_vector_from_byte_vector):
8554 -Wsign-compare-correctness.
8556 2001-02-16 Martin Buchholz <martin@xemacs.org>
8558 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8559 (XSETCHAR): Likewise.
8560 (XSETOBJ): Likewise.
8562 2001-02-15 Martin Buchholz <martin@xemacs.org>
8564 * mule-canna.c (canna-func-delete_previous):
8565 Rename to canna-func-delete-previous.
8567 2001-02-14 Martin Buchholz <martin@xemacs.org>
8569 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8571 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8573 * font-lock.c (find_context): Fix C++ compile errors introduced by
8576 2001-02-13 Martin Buchholz <martin@xemacs.org>
8578 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8579 pragma, but earlier ones barf on the same pragma.
8581 2001-02-06 Mike Sperber <mike@xemacs.org>
8583 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8584 `configure-mule-lisp-directory'.
8586 2001-02-12 Martin Buchholz <martin@xemacs.org>
8588 Make sure dump-id.c is compiled in the same way as other .c's.
8589 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8590 * dump-id.h: Remove.
8591 * emacs.c: Move dump-id.h into dumper.h.
8592 * dumper.h: Move dump-id.h into dumper.h.
8594 Use standard .c.o rule for building dump-id.o.
8595 Remove preprocessor flags from link command.
8596 Add dump-id.o to ${otherobjs} if PDUMP.
8598 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8600 Port FSF 20.7 syntax table improvements.
8604 Fixups for new syntax table stuff.
8605 * dired.c: Include syntax.c.
8606 (Fdirectory_files): Initialize regex_match_object and
8608 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8609 and Fget_char_property.
8611 Use ported FSF 20.7 syntax table improvements.
8616 2001-02-09 Martin Buchholz <martin@xemacs.org>
8618 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8619 Unixware's enum boolean from sys/types.h.
8621 2001-02-10 Martin Buchholz <martin@xemacs.org>
8623 Fix support for building with latest Purify.
8624 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8625 (PURIFY_FLAGS): Likewise.
8627 2001-02-09 Martin Buchholz <martin@xemacs.org>
8629 * fileio.c (lisp_string_set_file_times): New.
8630 * fileio.c (Fcopy_file): Use it.
8632 (copy-file filename non-ascii-filename t t)
8633 ==> No such file or directory, non-ascii-filename
8635 2001-02-10 Martin Buchholz <martin@xemacs.org>
8637 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8638 USHRT_MAX seems clearer than ~0 anyways.
8640 2001-02-09 Martin Buchholz <martin@xemacs.org>
8642 dumper improvements. Inspired by Olivier.
8643 * dumper.c (pdump_max_align): New.
8644 * dumper.c (pdump_add_entry): Use pdump_max_align.
8645 * dumper.c (pdump_get_entry_list): Likewise.
8646 * dumper.c (pdump_scan_by_alignment): Likewise.
8647 Don't iterate through unnecessary alignments.
8648 * dumper.c (pdump_file_get): No need to align result of malloc().
8649 * dumper.c (pdump_mallocadr): Remove.
8650 The result of malloc() is guaranteed to be maximally aligned.
8651 * dumper.c: s/elmt/elt/g;
8652 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8653 * dumper.c (pdump_alert_undump_object): Likewise.
8654 * dumper.c (pdump_align_table):
8655 Don't support alignments > 64.
8656 Store ALIGNOF's, not shift counts, in table.
8658 2001-02-09 Martin Buchholz <martin@xemacs.org>
8660 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8661 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8662 * systime.h: Use HAVE_UTIME.
8663 * sysdep.c (struct utimbuf): Remove.
8664 * sysdep.c (set_file_times): Prefer utime() to utimes().
8665 * config.h.in (HAVE_UTIME): New.
8666 * config.h.in (HAVE_UTIME_H): Remove.
8667 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8669 2001-02-09 Martin Buchholz <martin@xemacs.org>
8671 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8673 2001-02-08 Martin Buchholz <martin@xemacs.org>
8675 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8677 2001-02-08 Martin Buchholz <martin@xemacs.org>
8679 * XEmacs 21.2.44 "Thalia" is released.
8681 2001-02-06 Martin Buchholz <martin@xemacs.org>
8683 Fixes crashes in kill-emacs on some systems.
8684 * process-unix.c (unix_kill_child_process):
8685 It's OK for kill() to fail with ESRCH.
8687 2001-02-07 Martin Buchholz <martin@xemacs.org>
8689 Contortions to make .gdbinit tricks work on most systems.
8690 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8691 * alloc.c (dbg_valmask): Make non-const.
8692 * alloc.c (dbg_typemask): Make non-const.
8693 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8694 * alloc.c (dbg_valbits): Make non-const.
8695 * alloc.c (dbg_gctypebits): Make non-const.
8696 * .gdbinit (decode_object): Make it work with AIX cc.
8698 2001-02-06 Martin Buchholz <martin@xemacs.org>
8700 * elhash.c (make_general_lisp_hash_table):
8701 Use simpler and more efficient calloc to clear entries.
8703 2001-02-07 Martin Buchholz <martin@xemacs.org>
8705 * window.c (window_scroll): Work around an AIX C compiler bug.
8706 Fixes 'scroll-up' does nothing problem with xlC.
8708 2001-02-05 Martin Buchholz <martin@xemacs.org>
8710 * .gdbinit: Remove obsolete comment.
8712 2001-01-31 Mike Alexander <mta@arbortext.com>
8714 * select.c (Fown_selection_internal): Set owned_p for device
8717 2001-02-01 Martin Buchholz <martin@xemacs.org>
8720 "not" cannot be used as a macro name as it is an operator in C++
8721 * config.h.in: Stop #defining `not'.
8722 * chartab.c (check_category_char): not ==> not_p
8723 * chartab.h: Likewise.
8724 * regex.c (re_match_2_internal): Likewise.
8726 2001-02-02 Martin Buchholz <martin@xemacs.org>
8728 * lisp-disunion.h: Fix up comments.
8730 2001-01-31 Martin Buchholz <martin@xemacs.org>
8732 * keymap.c (define_key_check_and_coerce_keysym):
8734 Support mouse-6 and mouse-7 bindings in the obvious way.
8736 2001-02-01 Martin Buchholz <martin@xemacs.org>
8738 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8740 2001-01-30 Martin Buchholz <martin@xemacs.org>
8742 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8743 Previous patch missed DEFVAR_INT_MAGIC.
8744 Make sure future DEFVAR_foo use correct types.
8745 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8746 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8747 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8748 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8749 * (DEFVAR_INT): Likewise.
8750 * redisplay.c (vertical_clip): Should be of type Fixnum.
8751 * redisplay.c (horizontal_clip): Likewise.
8752 * lisp.h (dump_add_opaque_int): New.
8753 (dump_add_opaque_fixnum): New.
8755 2001-01-29 Andy Piper <andy@xemacs.org>
8757 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8758 since they can be eval'ed
8760 2001-01-29 Martin Buchholz <martin@xemacs.org>
8762 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8763 Oops, XEmacs redefines `class'. Use `typename' instead.
8765 2001-01-28 Martin Buchholz <martin@xemacs.org>
8767 * dumper.c: Fix C++ compile errors.
8769 2001-01-29 Martin Buchholz <martin@xemacs.org>
8771 * tparam.c: Use correct prototypes.
8773 2001-01-28 Martin Buchholz <martin@xemacs.org>
8775 * sysproc.h: #include util.h for NetBSD's openpty.
8777 2001-01-27 Martin Buchholz <martin@xemacs.org>
8779 More 64-bit correctness.
8780 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8781 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8783 This finally finishes the 64-bit SGI port.
8784 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8785 * symbols.c: Fix up comments and type casts.
8786 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8787 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8788 * symeval.h (Fixnum): New type.
8789 * symeval.h (symbol_value_type): Fix up comment.
8805 * mule-canna.c: A million DEFVAR_INTs here...
8806 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8819 s/int/Fixnum/g in DEFVAR_INT declarations.
8821 2001-01-26 Martin Buchholz <martin@xemacs.org>
8823 Port pdump to SGI alignment-sensitive environment.
8824 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8825 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8827 Define and use aligned reading and writing macros.
8828 Use buffered stdio instead of posix i/o for faster dumping.
8829 Eliminate kludgy 256 byte space for header.
8830 Read and write from dump file using structs for alignment safety.
8831 * dumper.c (pdump_align_stream): New.
8832 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8833 * dumper.c (PDUMP_READ_ALIGNED): New.
8834 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8835 * dumper.c (pdump_static_Lisp_Object): New struct.
8836 * dumper.c (pdump_static_pointer): New struct.
8837 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8838 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8839 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8840 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8842 * dumper.c (pdump_backtrace):
8843 * dumper.c (pdump_get_indirect_count):
8844 * dumper.c (pdump_register_object):
8845 * dumper.c (pdump_register_struct):
8846 * dumper.c (pdump_reloc_one):
8847 * dumper.c (pdump_scan_by_alignment):
8848 * dumper.c (pdump_dump_from_root_struct_ptrs):
8849 * dumper.c (pdump_dump_opaques):
8850 * dumper.c (pdump_dump_rtables):
8851 * dumper.c (pdump_dump_from_root_objects):
8853 * dumper.c (pdump_load_finish):
8854 Use aligned reading and writing.
8856 * dumper.c (pdump_free): Make static.
8857 * dumper.c (pdump_hFile): Likewise.
8858 * dumper.c (pdump_hMap): Likewise.
8860 2001-01-26 Martin Buchholz <martin@xemacs.org>
8862 * XEmacs 21.2.43 "Terspichore" is released.
8864 2001-01-25 Martin Buchholz <martin@xemacs.org>
8866 Type fiddling for window_config.saved_windows_count
8867 * window.c (struct window_config):
8868 Make saved_windows_count member unsigned.
8869 * window.c (sizeof_window_config_for_n_windows):
8870 Make parameter unsigned.
8871 * window.c (mark_window_config):
8872 * window.c (window_config_equal):
8873 * window.c (free_window_configuration):
8874 * window.c (Fset_window_configuration):
8875 * window.c (count_windows):
8876 * window.c (Fcurrent_window_configuration):
8877 * window.c (reinit_vars_of_window):
8878 Update all callers and users.
8880 2001-01-25 Martin Buchholz <martin@xemacs.org>
8882 Alignment correctness for flexible arrays.
8883 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8884 Make alignment-correct. Add interesting comments.
8885 * alloc.c (size_vector):
8886 * alloc.c (make_vector_internal):
8887 * alloc.c (make_bit_vector_internal):
8888 * alloc.c (sweep_bit_vectors_1):
8889 * fns.c (size_bit_vector):
8890 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8891 * window.c (sizeof_window_config_for_n_windows):
8892 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8894 2001-01-24 Martin Buchholz <martin@xemacs.org>
8896 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8898 2001-01-23 Andy Piper <andy@xemacs.org>
8900 * select.c (Fown_selection_internal): pass owned_p
8902 * select-msw.c (mswindows_own_selection): New Signature.
8904 * console.h (struct console_methods): add owned_p to
8907 * select-x.c (x_own_selection): pass owned_p
8908 (hack_motif_clipboard_selection): use owned_p
8909 (vars_of_select_x): new variable -
8910 x_selection_strict_motif_ownership.
8912 2001-01-23 Martin Buchholz <martin@xemacs.org>
8914 * specifier.h (specifier_data_offset): Remove pointless parens.
8915 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8917 2001-01-24 Martin Buchholz <martin@xemacs.org>
8919 Make Lisp_Object sizeof methods be alignment-correct.
8920 pdump must restore objects to the same alignment as the C compiler
8921 assumes. It really matters on SGIs.
8922 * lstream.c (aligned_sizeof_lstream): New.
8923 (sizeof_lstream): Use aligned_sizeof_lstream.
8924 (Lstream_new): Likewise.
8925 * opaque.c (aligned_sizeof_opaque): New.
8926 (sizeof_opaque): Use aligned_sizeof_opaque.
8927 (make_opaque): Likewise.
8928 * specifier.c (aligned_sizeof_specifier): New.
8929 (sizeof_specifier): Use aligned_sizeof_specifier.
8930 (make_specifier_internal): Likewise.
8932 2001-01-23 Martin Buchholz <martin@xemacs.org>
8934 * lstream.h (struct lstream): Use max_align_t for trailing data.
8935 * specifier.h (struct Lisp_Specifier): Likewise.
8937 2001-01-22 Martin Buchholz <martin@xemacs.org>
8939 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8940 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8941 (CCL_SUSPEND): Likewise.
8942 (CCL_INVALID_CMD): Likewise.
8943 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8944 (ccl_driver): Likewise.
8945 (CCL_WRITE_CHAR): Macro hygiene.
8946 (CCL_WRITE_STRING): Macro hygiene.
8948 2001-01-22 Martin Buchholz <martin@xemacs.org>
8950 Port "portable" dumper to SunOS 4 and HP-UX.
8951 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8952 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8953 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8955 2001-01-22 Martin Buchholz <martin@xemacs.org>
8957 * lisp.h (ALIGNOF): A better definition for C++.
8959 2001-01-20 Martin Buchholz <martin@xemacs.org>
8962 Fix printf warnings: int format, long int arg.
8963 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8964 (PUSH_FAILURE_POINT): Use correct printf formats.
8965 (POP_FAILURE_POINT): Use correct printf formats.
8966 Use do {...} while (0)
8968 2001-01-20 Martin Buchholz <martin@xemacs.org>
8970 * XEmacs 21.2.42 "Poseidon" is released.
8972 2001-01-20 Martin Buchholz <martin@xemacs.org>
8974 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8976 2001-01-19 Martin Buchholz <martin@xemacs.org>
8978 De-kludgify FIXED_TYPE free list frobbing.
8979 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8980 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8981 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8982 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8983 * alloc.c (LRECORD_FREE_P): New.
8984 * alloc.c (MARK_LRECORD_AS_FREE): New.
8985 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8986 * alloc.c (STRUCT_FREE_P): Deleted.
8987 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8988 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8989 * alloc.c (STRING_CHARS_FREE_P): New.
8990 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8991 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8992 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8993 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8994 * alloc.c (resize_string): Use new definitions.
8995 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8996 * alloc.c (verify_string_chars_integrity): Use new definitions.
8997 * alloc.c (compact_string_chars): Use new definitions.
8998 * alloc.c: Update monster comments.
8999 * lrecord.h (lrecord_type): Add some new lrecord types for
9002 2001-01-18 Martin Buchholz <martin@xemacs.org>
9004 Improve alignment hackery.
9005 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9006 (max_align_t): Moved from opaque.h - general purpose.
9007 (ALIGN_PTR): Use size_t, not long.
9008 * opaque.h (max_align_t): Move to lisp.h.
9010 2001-01-18 Norbert Koch <nk@LF.net>
9012 * gui.h: Fix and add prototypes to fix build problems.
9014 2001-01-18 Martin Buchholz <martin@xemacs.org>
9016 temacs is going away, so `dump-temacs' is now a bad name.
9017 * .dbxrc (dump-temacs): Rename to `dmp'.
9018 * .gdbinit (dump-temacs): Rename to `dmp'.
9020 2001-01-17 Andy Piper <andy@xemacs.org>
9022 * glyphs.c (print_image_instance): comment to make martin happy.
9024 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9027 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9029 (mswindows_tab_control_redisplay): warning suppression.
9031 * glyphs-widget.c (widget_update): re-write to cope with updated
9033 (widget_instantiate): use new gui_item functions.
9034 (tab_control_update): deleted.
9035 (progress_gauge_update): deleted.
9036 (image_instantiator_progress_guage): take out update reference.
9037 (image_instantiator_tree_view): ditto.
9038 (image_instantiator_tab_control): ditto.
9040 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9042 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9043 return whether anything was changed.
9044 (update_gui_item_keywords): as it sounds.
9046 * gui.h: declare widget_gui_parse_item_keywords.
9048 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9049 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9051 2001-01-17 Martin Buchholz <martin@xemacs.org>
9053 * XEmacs 21.2.41 "Polyhymnia" is released.
9055 2001-01-16 Didier Verna <didier@xemacs.org>
9057 * glyphs.c (image_instantiate): don't use fallbacks when
9058 instantiating a face's background pixmap by inheritance.
9060 2001-01-14 Mike Sperber <mike@xemacs.org>
9062 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9063 Conditionalize accordingly.
9065 2001-01-16 Martin Buchholz <martin@xemacs.org>
9067 * dumper.c (pdump_file_get): Fix a compiler warning.
9069 2001-01-15 Martin Buchholz <martin@xemacs.org>
9071 Make Purify happy when pdumping.
9072 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9073 iniitalizing all bits of new lisp object memory.
9074 * symbols.c (Fmake_local_variable): Likewise.
9075 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9076 * symbols.c (Fdefvaralias): Likewise.
9077 * mule-charset.c (vars_of_mule_charset): Likewise.
9079 2001-01-15 Martin Buchholz <martin@xemacs.org>
9080 Add the `-nd' flag when running pre-dump operations under the debugger.
9081 * .dbxrc (run-temacs): Add `-nd'.
9082 * .dbxrc (update-elc): Likewise.
9083 * .dbxrc (dump-temacs): Likewise.
9084 * .gdbinit (run-temacs): Likewise.
9085 * .gdbinit (check-temacs): Likewise.
9086 * .gdbinit (update-elc): Likewise.
9087 * .gdbinit (dump-temacs): Likewise.
9089 2001-01-14 Martin Buchholz <martin@xemacs.org>
9091 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9092 export OBJECT_MODE=64
9093 configure --pdump --use-union-type=no
9094 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9095 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9097 * miscplay.c (sndcnv8U_2mono):
9098 Avoid two uses of `++' in the same expression.
9099 Suppresses a GCC warning.
9101 2001-01-13 Martin Buchholz <martin@xemacs.org>
9103 Make sure future compilers don't miscompile alloc.c.
9105 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9106 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9108 2001-01-12 Martin Buchholz <martin@xemacs.org>
9110 * dumper.c: A little post-pdump-rename comment fixup.
9112 2001-01-09 Jerry James <james@eecs.ku.edu>
9114 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9116 2001-01-13 Martin Buchholz <martin@xemacs.org>
9118 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9122 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9125 replace_symbol pdump_wire_lists pdump_weak_object_chains
9126 replace_symbol pdump_wire_list dump_add_weak_object_chain
9128 replace_symbol pdump_wires pdump_root_objects
9129 replace_symbol pdump_wire dump_add_root_object
9131 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9132 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9134 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9135 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9136 replace_symbol dumpstructinfo pdump_root_struct_ptr
9137 replace_symbol dumpstruct dump_add_root_struct_ptr
9139 replace_symbol dumpopaque dump_add_opaque
9140 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9141 replace_symbol dumpopaqueinfos pdump_opaques
9142 replace_symbol dumpopaqueinfo pdump_opaque
9144 replace_symbol nb_structdump nb_root_struct_ptrs
9145 replace_symbol nb_opaquedump nb_opaques
9147 replace_symbol align_table pdump_align_table
9148 replace_symbol dump_header pdump_header
9150 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9151 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9154 2001-01-12 Martin Buchholz <martin@xemacs.org>
9156 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9157 optimizing bytecount_to_charcount().
9159 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9162 (HAVE_DLFCN_H): Removed.
9163 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9165 2001-01-06 Martin Buchholz <martin@xemacs.org>
9167 Portable dumper maintainability improvements.
9168 * alloc.c (staticpro):
9169 * alloc.c (staticpro_nodump):
9170 * alloc.c (garbage_collect_1):
9171 * alloc.c (reinit_alloc_once_early):
9172 * alloc.c (init_alloc_once_early):
9173 * alloc.c: Move dumper functions to alloc.c.
9174 * dumper.c (pdump_backtrace):
9175 * dumper.c (pdump_dump_structs):
9176 * dumper.c (pdump_dump_opaques):
9177 * dumper.c (pdump_dump_rtables):
9178 * dumper.c (pdump_dump_wired):
9180 * dumper.c (pdump_load_check):
9181 * dumper.c (pdump_load_finish):
9182 * dumper.c (pdump_file_unmap):
9183 * dumper.c (pdump_file_get):
9184 * dumper.c (pdump_resource_free):
9185 * dumper.c (pdump_resource_get):
9186 * dumper.c (pdump_file_free):
9187 * dumper.c (pdump_file_try):
9188 * dumper.c (pdump_load):
9189 Remove fixed size limits on staticpro(), staticpro_nodump(),
9190 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9191 Remove custom code for dumping lrecord_implementations_table - use
9193 Remove (most of the) custom code for dumping staticpros - dump it
9194 like any other dynarr.
9196 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9197 * dumper.c: Moved functions from alloc.c.
9198 * alloc.c (dumpstruct): Moved to dumper.c.
9199 * alloc.c (dumpopaque): Likewise.
9200 * alloc.c (pdump_wire): Likewise.
9201 * alloc.c (pdump_wire_list): Likewise.
9203 * lisp.h (Dynarr_sizeof): New.
9204 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9205 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9206 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9208 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9209 * lisp.h (dumpopaque): ditto.
9210 * lisp.h (pdump_wire): ditto.
9211 * lisp.h (pdump_wire_list): ditto.
9213 2001-01-09 Martin Buchholz <martin@xemacs.org>
9215 * make-src-depend (PrintPatternDeps):
9216 Use `sort' to make output independent of perl version.
9218 2001-01-08 Martin Buchholz <martin@xemacs.org>
9221 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9222 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9224 2001-01-03 Didier Verna <didier@xemacs.org>
9226 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9227 that `focus_frame' is alive before thinking of calling
9228 `redisplay_redraw_cursor' on it.
9230 2001-01-08 Martin Buchholz <martin@xemacs.org>
9232 * XEmacs 21.2.40 is released.
9234 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9236 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9238 2001-01-06 Martin Buchholz <martin@xemacs.org>
9240 * alloc.c (dbg_valmask): Make const.
9241 * alloc.c (dbg_typemask): Make const.
9242 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9243 * alloc.c (dbg_valbits): Make const.
9244 * alloc.c (dbg_gctypebits): Make const.
9246 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9248 * redisplay-x.c (x_bevel_area):
9249 redisplay.h (struct rune):
9250 Typo fixes in comments.
9252 2001-01-05 Andy Piper <andy@xemacs.org>
9254 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9257 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9259 2001-01-05 Martin Buchholz <martin@xemacs.org>
9261 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9263 * mule-ccl.c (stack_idx_of_map_multiple):
9264 Non const global data must not be initialized!
9265 Found by MIYASHITA Hisashi.
9267 2001-01-02 Andy Piper <andy@xemacs.org>
9269 * frame.c (change_frame_size): make sure frame size is always
9272 * glyphs.c (image_instance_layout): minor code reuse.
9274 * window.c (Fcurrent_window_configuration): revert previous
9277 2001-01-02 Martin Buchholz <martin@xemacs.org>
9280 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9282 2000-12-31 Andy Piper <andy@xemacs.org>
9284 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9285 when widget gets unmapped.
9287 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9288 function. Make sure widgets losing focus don't just drop it.
9289 (handle_focus_event_1): record the widget with focus.
9291 2000-12-31 Andy Piper <andy@xemacs.org>
9293 * window.c (allocate_window): use
9294 make_image_instance_cache_hash_table.
9295 (make_dummy_parent): ditto.
9296 (Fset_window_configuration): ditto.
9298 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9300 * glyphs.c (process_image_string_instantiator): use
9302 (get_image_instantiator_governing_domain): ditto.
9303 (normalize_image_instantiator): ditto.
9304 (instantiate_image_instantiator): ditto.
9305 (make_image_instance_1): ditto.
9306 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9307 (instantiator_eq_equal): new function for use with instance hash
9309 (instantiator_eq_hash): ditto.
9310 (make_image_instance_cache_hash_table): create a suitable hash
9311 table for storing image instances.
9313 * elhash.h (hash_table_weakness): new internal weakness type
9314 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9315 declare new functions.
9317 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9318 another weakness type for glyphs.
9319 (make_standard_lisp_hash_table): new function split out from
9320 make_general_lisp_hash_table.
9321 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9322 (hash_table_instantiate): ditto.
9323 (Fmake_hash_table): ditto.
9325 2000-12-31 Martin Buchholz <martin@xemacs.org>
9327 * XEmacs 21.2.39 is released.
9329 2000-12-29 Andy Piper <andy@xemacs.org>
9331 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9333 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9334 the frame has changed so that we pick up geometry changes such as
9337 2000-12-28 Andy Piper <andy@xemacs.org>
9339 * lastfile.c (my_ebss): make a char array so we can pad the
9340 bss. Fixes cygwin unexec.
9342 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9344 2000-12-26 Andy Piper <andy@xemacs.org>
9346 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9347 comments and try and be more precise about a non-/SIGIO world.
9348 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9351 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9352 we don't normalize to zero width or height.
9354 2000-12-24 Andy Piper <andy@xemacs.org>
9356 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9358 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9360 * s/sco5.h: SCO 5 has pty support.
9362 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9364 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9365 input-method-xlib.c contains whole contents of input-method-xfs.c,
9366 so we can use input-method-xlib.c's code for USE_XFONTSET
9368 * input-method-xfs.c: removed.
9370 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9372 * file-coding.h (enum coding_category_type): reorder enumerators to
9373 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9374 (now one greater than largest real coding_category_type enumerator).
9375 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9376 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9377 Fcoding_category_list, Fset_coding_priority_list,
9378 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9379 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9381 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9383 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9384 * redisplay-output.c (redisplay_output_window): Clear top of window
9385 when face is changed.
9386 * redisplay-x.c (x_redraw_exposed_window): Call
9387 redisplay_clear_top_of_window.
9388 * redisplay.h: Publish redisplay_clear_top_of_window.
9390 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9392 * buffer.c (Fkill_buffer): Map over all devices.
9393 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9394 (list_windows): New function.
9395 (list_all_windows): Ditto.
9396 (Freplace_buffer_in_windows): Use them.
9398 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9400 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9401 (Fopen_database): Use `db_create' instead of `db_open'.
9402 (syms_of_database): Initialize Qqueue.
9404 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9406 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9407 buffer_local_face_property.
9408 * buffer.h (struct buffer): New member buffer_local_face_property.
9409 * window.c (Fset_window_buffer): Mark window's face as changed
9410 when buffer has buffer local face.
9411 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9412 * objects.c (color_after_change): Set buffer_local_face_property
9413 when locale of face specifier is buffer.
9414 * objects.c (font_after_change): Ditto.
9415 * objects.c (face_boolean_after_change): Ditto.
9416 * glyphs.c (image_after_change): Ditto.
9418 2000-12-09 Dan Holmsand <dan@eyebee.com>
9420 * nt.c (mswindows_fstat): Report file permissions, volume serial
9421 number, etc. Code adapted from FSF Emacs 20.7.
9423 2000-12-09 Dan Holmsand <dan@eyebee.com>
9425 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9426 of stat when we don't have symbolic links, to make sure
9427 mswindows_stat is called on mswindows.
9429 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9431 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9433 2000-12-12 Martin Buchholz <martin@xemacs.org>
9435 * doprnt.c (emacs_doprnt_1): More printing fixes.
9436 Make printing of numbers compatible with libc and FSF Emacs.
9437 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9438 Use the system printf to do most of the hard work of formatting,
9439 instead of doprnt_1().
9440 Calculate memory to allocate for format string.
9441 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9442 (doprnt_1): Cleaner code and documentation.
9444 2000-12-01 Jerry James <james@eecs.ukans.edu>
9446 * Makefile.in.in: Use the loop variable to install headers.
9448 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9450 * window.c (Fsplit_window): Don't invalidate face cache.
9452 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9454 * minibuf.c (Fall_completions): Undo the previous change
9455 which removed checking elements start with space.
9457 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9459 * mule-canna.c: Didier suppression.
9461 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9463 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9464 (warning suppression). Add English comment translations.
9466 2000-12-05 Martin Buchholz <martin@xemacs.org>
9468 * unexelfsgi.c (unexec): Better test for mmap failure.
9470 2000-12-05 Martin Buchholz <martin@xemacs.org>
9472 * XEmacs 21.2.38 is released.
9474 2000-12-05 Martin Buchholz <martin@xemacs.org>
9476 * redisplay.c (bar-cursor): Make a user variable.
9478 * symsinit.h: Add init_postgresql_from_environment.
9480 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9482 * regex.c: Convert to clean C.
9484 2000-12-05 Dan Holmsand <dan@eyebee.com>
9487 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9489 (sys_readlink): renamed to system_readlink to avoid conflict with
9490 the other sys_readlink.
9492 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9494 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9496 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9498 * postgresql.c (init_postgresql_from_environment): new function.
9499 (vars_of_postgresql): Move code initializing Lisp variables out and
9500 into init_postgresql_from_environment.
9501 emacs.c (main_1): Call init_postgresql_from_environment if and only
9502 if running a dumped XEmacs.
9504 2000-08-31 Dan Holmsand <dan@eyebee.com>
9506 * buffer.c: Make find-file-compare-truenames default to true on
9509 * realpath.c (win32_abs_start):
9511 (win32_readlink): New functions.
9512 (xrealpath): Return really real filenames on windows.
9514 * fileio.c (Ffile_truename): Make file-truename work on windows.
9516 2000-11-29 Didier Verna <didier@xemacs.org>
9518 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9519 * faces.c (update_face_cachel_data): use it.
9520 * faces.c (add_face_cachel): use it. Complete background pixmap
9521 frobbing in face cache if `update_face_cachel_data' has not done so.
9523 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9525 * search.c (string_match_1): Don't set last_thing_searched
9528 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9530 * buffer.c: Include casetab.h
9531 (common_init_complex_vars_of_buffer): Use new case-table object.
9532 * buffer.h: Include casetab.h
9533 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9534 (DOWNCASE_TABLE_OF): Ditto.
9535 * bufslots.h: Remove char-tables and add case-table.
9536 * casetab.c: Include casetab.h
9537 (CASE_TABLE_P): Removed.
9538 (mark_case_table): New function.
9539 (allocate_case_table): New function.
9540 (Fcase_table_p): Use new case-table.
9541 (case_table_char): New function.
9542 (Fget_case_table): Ditto.
9543 (Fput_case_table): Ditto.
9544 (Fput_case_table_pair): Ditto.
9545 (Fcopy_case_table): Ditto.
9546 (Fcurrent_case_table): Return case-table.
9547 (Fstandard_case_table): Return case-table.
9548 (Fset_case_table): Fix doc-string.
9549 (set_case_table): Use case-table
9550 (syms_of_casetab): DEFSUBR new functions.
9551 (complex_vars_of_casetab): Set up standard case-table.
9552 * casetab.h: New file.
9553 * editfns.c: Include casetab.h
9554 (Fcompare_buffer_substrings): Use case-table.
9555 * inline.c: Include casetab.h
9556 * lisp.h: Remove bogus extern.
9557 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9558 * search.c: Include casetab.h
9559 (TRANSLATE_ASCII): Removed.
9560 (TRANSLATE): Unconditionally translate character.
9561 (looking_at_1): Use case-table.
9562 (string_match_1): Ditto.
9563 (fast_string_match): Ditto.
9564 (search_command): Ditto.
9565 (search_buffer): Separate boyer_moore. Check whether
9566 boyer_moore is possible.
9567 (simple_search): New function.
9568 (boyer_moore): Separated from search_buffer. Translate char.
9570 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9572 * regex.c (RE_TR_ASCII): Removed.
9573 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9574 (PATFETCH): Call PATFETCH_RAW.
9575 (PATFETCH_RAW): Fetch Emchar.
9576 (PATUNFETCH): Decrement charptr.
9577 (GET_BUFFER_SPACE): Rename b to buf_end.
9579 (BUF_PUSH_2): Ditto.
9580 (BUF_PUSH_3): Ditto.
9581 (EXTEND_BUFFER): Ditto.
9582 (SET_LIST_BIT): Ditto.
9583 (regex_compile): Ditto. Translate non ASCII char.
9584 (compile_range): Ditto.
9585 (re_search_2): Ditto.
9586 (re_match_2_internal): Compare Emchar.
9587 (bcmp_translate): Ditto.
9589 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9591 * lisp.h (basic char/int typedefs): comment improvement.
9593 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9595 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9596 unstomp inhibit_site_lisp. Improve comments.
9598 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9600 * mule-charset.c (Fcharset_property): improve type checking, comments.
9602 2000-11-28 Andy Piper <andy@xemacs.org>
9604 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9605 clipped display for windows in the gutter also.
9606 (redisplay_display_boxes_in_window_p): change semantics of return
9607 codes to be more intuitive.
9609 * gutter.h: declare display_boxes_in_gutter_p.
9611 * gutter.c (display_boxes_in_gutter_p): new function for
9614 2000-11-22 Andy Piper <andy@xemacs.org>
9616 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9619 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9621 * callproc.c (Fold_call_process_internal):
9622 * gpm.c (Freceive_gpm_event):
9623 (tty_get_foreign_selection): Might be just warning supression.
9624 * fileio.c (Fwrite_region_internal):
9625 (Fset_visited_file_modtime):
9626 * keymap.c (event_matches_key_specifier_p):
9627 Initialize GCPROed variable.
9629 * menubar-x.c (command_builder_find_menu_accelerator):
9630 Initialize before use.
9632 2000-11-23 Andy Piper <andy@xemacs.org>
9634 * unexcw.c (unexec): make the resulting executable executable.
9636 2000-11-21 Martin Buchholz <martin@xemacs.org>
9638 * doc.c (get_doc_string):
9639 Use size_t, not int, for result of XSTRING_LENGTH.
9641 * cmds.c (Fdelete_char):
9642 * cmds.c (Fpoint_at_eol):
9643 * cmds.c (Fself_insert_command):
9644 Use EMACS_INT, not int, for result of XINT.
9645 Someday, someone will want to insert more than 2**31 identical characters.
9647 * cmds.c (Fdelete_char):
9648 * cmds.c (Fdelete_backward_char):
9649 * syntax.c (Fforward_word):
9650 * syntax.c (Fforward_comment):
9651 Make COUNT argument optional, for consistency with forward-char et al.
9653 2000-11-22 Martin Buchholz <martin@xemacs.org>
9656 * print.c (long_to_string):
9657 Return a useful value: the pointer at end of data written.
9660 Use `static const char * const' for constant strings.
9661 (union printf_arg): Delete `i', `ui' members.
9664 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9665 Do all printf-ing via the `l' specifier.
9666 Use EMACS_INT instead of int.
9669 2000-11-20 Didier Verna <didier@xemacs.org>
9671 * faces.c (update_face_cachel_data): don't frob the background
9672 pixmap when the window is being created. The face is needed but
9675 2000-11-20 Andy Piper <andy@xemacs.org>
9677 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9678 messing with a debug environment.
9680 2000-11-20 Martin Buchholz <martin@xemacs.org>
9682 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9684 2000-11-20 Martin Buchholz <martin@xemacs.org>
9686 * casetab.c (Fcase_table_p): Fix compile error and crash.
9688 2000-11-18 Philip Aston <philipa@mail.com>
9690 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9692 2000-11-18 Martin Buchholz <martin@xemacs.org>
9694 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9695 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9697 2000-11-17 Martin Buchholz <martin@xemacs.org>
9699 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9700 * unexelf.c: Use HAVE_ELF_H.
9701 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9702 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9703 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9704 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9706 So this is an unexelfsgi.c from a different line of development.
9708 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9710 * regex.c (RE_TR_ASCII): New function.
9711 (RE_TRANSLATE): Call it.
9713 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9715 * buffer.h (TRT_TABLE_OF): Remove assert.
9716 (IN_TRT_TABLE_DOMAIN): Removed.
9718 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9720 * free-hook.c (log_gcpro):
9721 (show_gcprohist): Add support for GCPRO5.
9723 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9725 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9727 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9729 * symeval.h: Declare flush_all_buffer_local_cache.
9731 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9732 (flush_buffer_local_cache): Added.
9733 (flush_all_buffer_local_cache): Added.
9735 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9737 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9738 (pdump_dump_data): Ditto.
9739 (pdump_reloc_one): Ditto.
9740 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9744 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9746 * buffer.c: Remove if 0'ed entry.
9747 * buffer.h: Rewrite TRT to use char-table.
9748 * bufslots.h: Remove mirror tables.
9749 * casetab.c: Remove mirror tables.
9750 (CASE_TABLE_P): New macro.
9751 (Fcase_table_p): Element of a case table is string or char-table.
9752 (make_mirror_trt_table): Removed.
9753 (set_case_table): Setup char-table from strings for backward
9755 * dired.c (Fdirectory_files):
9756 * dired-msw.c: (mswindows_get_files):
9757 * lisp.h: Change prototype of re_pattern_buffer.
9758 * regex.c: (RE_TRANSLATE): New macro.
9759 (TRANSLATE_P): Ditto.
9760 Change translate to type RE_TRANSLATE_TYPE.
9761 * regex.h: Define RE_TRANSLATE_TYPE
9762 * search.c (TRANSLATE): New macro.
9763 (TRANSLATE_ASCII): New macro.
9764 Translate table is changed to Lisp_Object.
9765 (signal_failure): Inhibit return.
9767 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9774 Do UNGCPRO before return.
9776 2000-11-14 Martin Buchholz <martin@xemacs.org>
9778 * XEmacs 21.2.37 is released.
9780 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9782 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9783 Add comments about discarded return value.
9785 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9788 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9790 2000-10-27 Andy Piper <andy@xemacs.org>
9792 * gutter.c (Fset_default_gutter_position): default left and right
9794 (calculate_gutter_size): calculate resonable heuristic for left
9795 and right gutter sizes.
9796 (specifier_vars_of_gutter): change left and right gutter sizes to
9798 (calculate_gutter_size_from_display_lines): new function.
9799 (output_gutter): check for resizing on left and right gutters.
9800 (clear_gutter): don't special case top and left gutters.
9801 (specifier_vars_of_gutter): use new signature for
9802 set_specifier_caching.
9804 * glyphs-x.c (x_redisplay_widget): spelling fix.
9805 * glyphs.c (specifier_vars_of_glyphs):
9806 * menubar.c (specifier_vars_of_menubar):
9807 * redisplay.c (specifier_vars_of_redisplay):
9808 * toolbar.c (specifier_vars_of_toolbar):
9809 * window.c (specifier_vars_of_window):
9810 * scrollbar.c (specifier_vars_of_scrollbar):
9811 (complex_vars_of_scrollbar): use new signature for
9812 set_specifier_caching.
9814 * specifier.c (set_specifier_caching): include recompute flag.
9815 (recompute_one_cached_specifier_in_window): always recompute if
9817 (recompute_one_cached_specifier_in_frame): ditto.
9819 * specifier.h (struct specifier_caching): add recompute flag.
9821 2000-10-24 Andy Piper <andy@xemacs.org>
9823 * unexcw.c (copy_executable_and_dump_data_section): add new
9824 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9827 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9829 * console-x.h (x_device): New member modifier_release_time.
9830 * event-Xt.c (x_handle_sticky_modifiers):
9831 Bound interval modifier keys are sticky.
9832 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9833 * events.h: extern it.
9835 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9837 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9839 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9841 * event-stream.c (execute_command_event): Preserve current_events
9842 and the like when event is misc-user-event.
9843 Inhibit quit during the call to maybe_echo_keys.
9845 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9847 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9848 symlink when buffer is killed.
9849 (inhibit_clash_detection): New variable.
9851 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9853 * console.c (Fset_input_method): Trigger redisplay on tty.
9855 2000-11-07 Martin Buchholz <martin@xemacs.org>
9857 * process.c (Fprocess_status): Revert to previous behavior:
9858 (process-status "nosuchprocess") ==> nil
9860 2000-11-06 Martin Buchholz <martin@xemacs.org>
9862 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9863 Work around another GCC 2.95.2 optimizer bug.
9865 2000-11-02 Martin Buchholz <martin@xemacs.org>
9867 * process.c (Fget_process): Use LIST_LOOP_2.
9868 (kill_buffer_processes): Use LIST_LOOP_2.
9870 * minibuf.c (Fall_completions):
9871 Delete old non-functional code for FSF fourth argument.
9873 * frame.c (frame_matches_frame_spec):
9874 Renamed from `frame_matches_frametype'. Update all callers.
9875 (device_matches_device_spec):
9876 Renamed from 'device_matches_console_spec'. Update all callers.
9878 * doc.c (Fsubstitute_command_keys):
9879 Remove buffer overflow crash. Small code cleanups.
9881 * casetab.c (check_case_table): Simpler code.
9883 * window.c (Freplace_buffer_in_windows):
9884 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9885 (and similar implementation) as Fdelete_windows_on.
9888 * alloc.c (Fmake_list):
9889 * alloc.c (make_vector):
9890 * alloc.c (Fmake_vector):
9891 * alloc.c (make_bit_vector):
9892 * alloc.c (Fmake_bit_vector):
9893 * alloc.c (Fbit_vector):
9894 * alloc.c (Fmake_string):
9895 * alloc.c (Fpurecopy):
9896 * alloc.c (Fmemory_limit):
9898 * buffer.c (Fget_buffer):
9899 * buffer.c (Fkill_buffer):
9900 * buffer.c (complex_vars_of_buffer):
9901 * bytecode.c (Fcompiled_function_stack_depth):
9902 * callint.c (Fprefix_numeric_value):
9904 * event-stream.c (Fread_key_sequence):
9906 * casetab.c (Fcase_table_p):
9907 * casetab.c (check_case_table):
9908 * casetab.c (Fset_case_table):
9909 * casetab.c (Fset_standard_case_table):
9911 * chartab.c (Fchar_table_type):
9912 * chartab.c (Freset_char_table):
9913 * chartab.c (Fget_char_table):
9914 * chartab.c (Fget_range_char_table):
9915 * chartab.c (Fput_char_table):
9916 * chartab.c (Fmap_char_table):
9917 * chartab.c (Fcategory_table_p):
9918 * chartab.c (Fcheck_category_at):
9919 * chartab.c (Fchar_in_category_p):
9920 * chartab.c (Fcategory_table):
9921 * chartab.c (Fcopy_category_table):
9922 * chartab.c (Fset_category_table):
9923 * chartab.c (Fcategory_designator_p):
9924 * chartab.c (Fcategory_table_value_p):
9925 * cmds.c (Fdelete_char):
9926 * cmds.c (Fdelete_backward_char):
9927 * cmds.c (Fself_insert_command):
9928 * cmds.c (Fself_insert_internal):
9929 * console.c (Fvalid_console_type_p):
9930 * console.c (Fcdfw_console):
9931 * console.c (Fconsole_type):
9932 * console.c (Fconsole_name):
9933 * console.c (Fconsole_device_list):
9934 * console.c (Fconsole_on_window_system_p):
9938 * data.c (Fsubr_interactive):
9939 * data.c (Fchar_to_int):
9940 * data.c (Fint_to_char):
9943 * data.c (Fnumber_to_string):
9944 * data.c (Fstring_to_number):
9946 * database.c (mark_database):
9947 * database.c (finalize_database):
9948 * database.c (Fdatabase_live_p):
9949 * database.c (Fdatabasep):
9950 * device-x.c (Fx_get_resource):
9951 * device.c (Fdfw_device):
9953 * dired.c (Ffile_name_completion):
9954 * dired.c (Ffile_name_all_completions):
9955 * dired.c (Fuser_name_completion):
9956 * dired.c (Fuser_name_completion_1):
9957 * dired.c (Fuser_name_all_completions):
9958 * doc.c (Fdocumentation):
9959 * doc.c (Fdocumentation_property):
9960 * doc.c (Fsubstitute_command_keys):
9962 * editfns.c (Fchar_to_string):
9963 * editfns.c (Fstring_to_char):
9964 * editfns.c (Ftemp_directory):
9965 * editfns.c (Finsert_char):
9966 * editfns.c (Fbuffer_substring_no_properties):
9967 * editfns.c (Fnarrow_to_region):
9968 * editfns.c (Fchar_equal):
9969 * editfns.c (Fchar_Equal):
9970 * editfns.c (Ftranspose_regions):
9971 * emacs.c (Fdump_emacs):
9973 * eval.c (Fcommand_execute):
9974 * eval.c (Fautoload):
9975 * eval.c (Fbacktrace):
9976 * eval.c (Fbacktrace_frame):
9978 * events.c (Fcopy_event):
9979 * events.c (Fcharacter_to_event):
9980 * events.c (Fevent_button):
9981 * events.c (Fevent_process):
9983 * extents.c (Fnext_extent_change):
9984 * extents.c (Fextent_property):
9986 * faces.c (Fmake_face):
9988 * file-coding.c (Fencode_shift_jis_char):
9989 * file-coding.c (Fencode_big5_char):
9990 * fileio.c (Ffile_name_directory):
9991 * fileio.c (Ffile_name_nondirectory):
9992 * fileio.c (Ffile_name_as_directory):
9993 * fileio.c (Fdirectory_file_name):
9994 * fileio.c (Ffile_truename):
9995 * fileio.c (Fsubstitute_in_file_name):
9996 * fileio.c (Ffile_modes):
9997 * fileio.c (Fset_file_modes):
9998 * fileio.c (Fset_default_file_modes):
9999 * fileio.c (Fverify_visited_file_modtime):
10000 * floatfns.c (Facos):
10001 * floatfns.c (Fasin):
10002 * floatfns.c (Fatan):
10003 * floatfns.c (Fcos):
10004 * floatfns.c (Fsin):
10005 * floatfns.c (Ftan):
10006 * floatfns.c (Fbessel_j0):
10007 * floatfns.c (Fbessel_j1):
10008 * floatfns.c (Fbessel_jn):
10009 * floatfns.c (Fbessel_y0):
10010 * floatfns.c (Fbessel_y1):
10011 * floatfns.c (Fbessel_yn):
10012 * floatfns.c (Ferf):
10013 * floatfns.c (Ferfc):
10014 * floatfns.c (Flog_gamma):
10015 * floatfns.c (Fexp):
10016 * floatfns.c (Fexpt):
10017 * floatfns.c (Flog):
10018 * floatfns.c (Flog10):
10019 * floatfns.c (Fsqrt):
10020 * floatfns.c (Fcube_root):
10021 * floatfns.c (Facosh):
10022 * floatfns.c (Fasinh):
10023 * floatfns.c (Fatanh):
10024 * floatfns.c (Fcosh):
10025 * floatfns.c (Fsinh):
10026 * floatfns.c (Ftanh):
10027 * floatfns.c (Fabs):
10028 * floatfns.c (Ffloat):
10029 * floatfns.c (Flogb):
10030 * floatfns.c (Fceiling):
10031 * floatfns.c (Ffloor):
10032 * floatfns.c (Fround):
10033 * floatfns.c (Ftruncate):
10034 * floatfns.c (Ffceiling):
10035 * floatfns.c (Fffloor):
10036 * floatfns.c (Ffround):
10037 * floatfns.c (Fftruncate):
10038 * fns.c (Fstring_equal):
10039 * fns.c (Fstring_lessp):
10042 * fns.c (vconcat2):
10043 * fns.c (vconcat3):
10044 * fns.c (Fsubstring):
10046 * fns.c (Fold_assoc):
10047 * fns.c (assoc_no_quit):
10049 * fns.c (Fold_assq):
10050 * fns.c (assq_no_quit):
10052 * fns.c (Fold_rassoc):
10054 * fns.c (Fold_rassq):
10055 * fns.c (rassq_no_quit):
10056 * fns.c (Fremassoc):
10057 * fns.c (remassoc_no_quit):
10058 * fns.c (Fremassq):
10059 * fns.c (remassq_no_quit):
10060 * fns.c (Fremrassoc):
10061 * fns.c (Fremrassq):
10062 * fns.c (remrassq_no_quit):
10064 * fns.c (Fplist_get):
10065 * fns.c (Fplist_put):
10066 * fns.c (Fplist_remprop):
10067 * fns.c (Fplist_member):
10068 * fns.c (Flax_plist_get):
10069 * fns.c (Flax_plist_put):
10070 * fns.c (Flax_plist_remprop):
10071 * fns.c (Flax_plist_member):
10073 * fns.c (Fold_equal):
10074 * fns.c (Frequire):
10075 * fns.c (Fbase64_encode_region):
10076 * fns.c (Fbase64_encode_string):
10077 * fns.c (Fbase64_decode_region):
10079 * frame.c (frame_matches_frame_spec):
10080 * frame.c (device_matches_device_spec):
10081 * frame.c (next_frame):
10082 * frame.c (previous_frame):
10083 * frame.c (Fnext_frame):
10084 * frame.c (Fprevious_frame):
10085 * frame.c (Fframe_property):
10086 * frame.c (Fset_frame_height):
10087 * frame.c (Fset_frame_size):
10091 * glyphs.c (decode_error_behavior_flag):
10092 * glyphs.c (Fmake_image_instance):
10093 * indent.c (Findent_to):
10094 * intl.c (Fignore_defer_gettext):
10095 * keymap.c (Fkeymapp):
10096 * keymap.c (Flookup_key):
10098 * lread.c (Fload_internal):
10099 * lread.c (Feval_buffer):
10100 * lread.c (Feval_region):
10101 * macros.c (Fexecute_kbd_macro):
10102 * marker.c (set_marker_internal):
10103 * marker.c (Fset_marker):
10104 * marker.c (set_marker_restricted):
10105 * marker.c (Fcopy_marker):
10106 * marker.c (noseeum_copy_marker):
10108 * menubar.c (Fpopup_menu):
10110 * mule-charset.c (Fcharset_name):
10111 * mule-charset.c (Fchar_charset):
10112 * mule-charset.c (Fchar_octet):
10113 * mule-charset.c (Fsplit_char):
10114 * mule-wnnfns.c (Fwnn_open):
10115 * mule-wnnfns.c (Fwnn_dict_comment):
10116 * mule-wnnfns.c (Fwnn_quit_henkan):
10117 * mule-wnnfns.c (Fwnn_word_toroku):
10118 * mule-wnnfns.c (Fwnn_word_sakujo):
10119 * mule-wnnfns.c (Fwnn_word_use):
10120 * mule-wnnfns.c (Fwnn_hindo_set):
10122 * objects.c (Fmake_color_instance):
10123 * objects.c (Fmake_font_instance):
10124 * print.c (Fwrite_char):
10126 * process.c (mark_process):
10127 * process.c (print_process):
10128 * process.c (get_process_from_usid):
10129 * process.c (Fprocessp):
10130 * process.c (Fprocess_live_p):
10131 * process.c (Fget_process):
10132 * process.c (Fget_buffer_process):
10133 * process.c (get_process):
10134 * process.c (Fprocess_id):
10135 * process.c (Fprocess_name):
10136 * process.c (Fprocess_command):
10137 * process.c (init_process_io_handles):
10138 * process.c (start_process_unwind):
10139 * process.c (Fstart_process_internal):
10140 * process.c (Fopen_multicast_group_internal):
10141 * process.c (Fset_process_window_size):
10142 * process.c (read_process_output):
10143 * process.c (send_process):
10144 * process.c (Fprocess_tty_name):
10145 * process.c (Fset_process_buffer):
10146 * process.c (Fprocess_buffer):
10147 * process.c (Fprocess_mark):
10148 * process.c (set_process_filter):
10149 * process.c (Fset_process_filter):
10150 * process.c (Fprocess_filter):
10151 * process.c (Fprocess_send_region):
10152 * process.c (Fprocess_send_string):
10153 * process.c (exec_sentinel):
10154 * process.c (Fset_process_sentinel):
10155 * process.c (Fprocess_sentinel):
10156 * process.c (status_notify):
10157 * process.c (Fprocess_status):
10158 * process.c (Fprocess_exit_status):
10159 * process.c (process_send_signal):
10160 * process.c (Fprocess_send_eof):
10161 * process.c (deactivate_process):
10162 * process.c (remove_process):
10163 * process.c (Fdelete_process):
10164 * process.c (kill_buffer_processes):
10165 * process.c (Fprocess_kill_without_query):
10166 * process.c (Fprocess_kill_without_query_p):
10168 * rangetab.c (Fget_range_table):
10169 * rangetab.c (Fput_range_table):
10170 * rangetab.c (Fremove_range_table):
10171 * rangetab.c (Fclear_range_table):
10173 * search.c (Fskip_chars_forward):
10174 * search.c (Fskip_chars_backward):
10175 * search.c (Fskip_syntax_forward):
10176 * search.c (Fskip_syntax_backward):
10177 * search.c (search_command):
10178 * search.c (Freplace_match):
10179 * search.c (Fregexp_quote):
10180 * select.c (Fown_selection_internal):
10181 * select.c (Fselection_owner_p):
10182 * select.c (Fselection_exists_p):
10183 * select.c (Fget_selection_internal):
10186 * symbols.c (Fintern):
10187 * symbols.c (Fintern_soft):
10188 * symbols.c (Funintern):
10189 * symbols.c (Fapropos_internal):
10190 * symbols.c (Fset_default):
10192 * syntax.c (Fsyntax_table_p):
10193 * syntax.c (Fcopy_syntax_table):
10194 * syntax.c (Fset_syntax_table):
10195 * syntax.c (Fchar_syntax):
10196 * syntax.c (syntax_match):
10197 * syntax.c (Fmatching_paren):
10198 * syntax.c (Fforward_word):
10199 * syntax.c (scan_lists):
10200 * syntax.c (Fscan_lists):
10201 * syntax.c (Fscan_sexps):
10202 * syntax.c (Fparse_partial_sexp):
10203 * toolbar.c (Fcheck_toolbar_button_syntax):
10206 * window.c (Fwindowp):
10207 * window.c (Fwindow_live_p):
10208 * window.c (Fwindow_point):
10209 * window.c (Fdelete_window):
10210 * window.c (Fnext_window):
10211 * window.c (Fprevious_window):
10212 * window.c (Fother_window):
10213 * window.c (window_loop):
10214 * window.c (Fget_lru_window):
10215 * window.c (Fsplit_window):
10216 * window.c (Fenlarge_window):
10217 * window.c (Fenlarge_window_pixels):
10218 * window.c (Fshrink_window):
10219 * window.c (Fshrink_window_pixels):
10220 * window.c (change_window_height):
10221 * window.c (Fwindow_configuration_p):
10222 * window.c (Fcurrent_window_configuration):
10224 * casefiddle.c (casify_object):
10225 * casefiddle.c (Fupcase):
10226 * casefiddle.c (Fdowncase):
10227 * casefiddle.c (Fcapitalize):
10228 * casefiddle.c (Fupcase_initials):
10229 * casefiddle.c (casify_region_internal):
10230 * casefiddle.c (casify_region):
10231 * casefiddle.c (Fupcase_region):
10232 * casefiddle.c (Fdowncase_region):
10233 * casefiddle.c (Fcapitalize_region):
10234 * casefiddle.c (Fupcase_initials_region):
10235 * casefiddle.c (Fupcase_word):
10236 * casefiddle.c (Fdowncase_word):
10237 * casefiddle.c (Fcapitalize_word):
10238 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10239 Replace 0 with '\0' when working with bytes.
10240 Replace initial "(" with "\(" in docstrings.
10242 2000-11-01 Martin Buchholz <martin@xemacs.org>
10244 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10246 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10248 2000-10-31 Martin Buchholz <martin@xemacs.org>
10250 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10252 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10254 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10257 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10259 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10260 (inhibit_auto_save_session): New variable.
10261 (vars_of_fileio): Declare and initialize them.
10262 * fileio.c (Fdo_auto_save): Don't create session file if
10263 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10265 2000-10-31 Martin Buchholz <martin@xemacs.org>
10267 * sgiplay.c (play_internal): C++ compilability.
10268 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10269 * callproc.c (Fold_call_process_internal):
10270 Remove unused vars `env', `first'.
10271 * scrollbar.c (update_scrollbar_instance):
10272 #### unused var `current_window'.
10273 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10274 etc. within #ifdef NOT_YET.
10275 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10276 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10277 * specifier.c (specifier_instance):
10278 #### unused var `tag'.
10279 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10281 2000-10-27 Martin Buchholz <martin@xemacs.org>
10283 * fns.c (Fbutlast):
10284 * fns.c (list_sort):
10285 * fns.c (Ffillarray):
10286 * fns.c (bytecode_nconc2):
10289 * fns.c (Fmapconcat):
10290 Be pedantically 64-bit correct. For the time when someone will
10291 want to have a list with length > 2**32.
10293 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10294 Work around MIPSpro compiler bug.
10296 * process-unix.c (unix_kill_child_process): Add snarky comment.
10297 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10299 * config.h.in: Oops, _getpt ==> _getpty
10301 2000-10-26 Martin Buchholz <martin@xemacs.org>
10305 Use void*, not char*, as return type of alloca().
10307 * alloc.c (free_marker): Side effect inside assert expression!
10309 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10311 * mule-charset.c (Fset_charset_ccl_program): To check
10312 if the given ccl program is valid, use setup_ccl_program()
10313 instead of CHECK_VECTOR().
10314 (Fmake_charset): Likewise.
10316 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10318 * faces.c (get_extent_fragment_face_cache_index):
10319 Fix cachel.merged_faces memory leak.
10321 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10323 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10324 Reset MSB of octets obtained by DECODE_SJIS
10325 because of the incompatibility with Emacs.
10326 (ccl_driver)<CCL_ENCODE_SJIS>:
10327 Set MSB of octets before passing them to
10328 ENCODE_SJIS because of the incompatibility
10331 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10333 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10334 (DECLARE_LRECORD): Undo the last change.
10335 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10337 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10339 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10340 the implementation to lrecord_implementations_table.
10342 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10344 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10345 initial value of `lrecord_type_##c_name' and
10346 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10347 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10348 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10349 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10350 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10352 2000-10-17 Martin Buchholz <martin@xemacs.org>
10354 * miscplay.c (sndcnv8S_2mono):
10355 (sndcnv2monounsigned):
10356 (sndcnvULaw_2linear):
10358 Remove implementation-defined behavior.
10360 2000-10-12 Martin Buchholz <martin@xemacs.org>
10362 * input-method-xlib.c: Warning suppression.
10364 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10366 * mule-ccl.c: Sync up with Emacs 21.0.90.
10367 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10369 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10371 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10372 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10373 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10374 leading char belongs to official 2-dimensional charset.
10375 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10376 write the given character as is. Otherwise,
10377 if it is a multibyte char, convert it by
10378 non_ascii_set_charptr_emchar, then write it.
10379 (CCL_WRITE_STRING): Likewise.
10380 (ccl_get_compiled_code): New function.
10381 (setup_ccl_program): When ccl_prog is invalid,
10383 (Fregister_code_conversion_map): New function.
10384 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10386 * mule-ccl.h: Sync up with Emacs 21.0.90.
10387 (Fregister_ccl_program): export it.
10389 * redisplay-msw.c (separate_textual_runs):
10390 If ccl program is not valid, don't do ccl conversion.
10392 * redisplay-x.c (separate_textual_runs): Ditto.
10394 * file-coding.c (Fmake_coding_system):
10395 When type is ccl and value is vector, register it
10396 with a proper symbol. And checks whether the
10397 given ccl program is valid.
10398 (mule_decode): When calling ccl_driver, if src indicates
10399 NULL pointer, set an empty string instead.
10400 (mule_encode): Likewise.
10402 2000-10-11 Martin Buchholz <martin@xemacs.org>
10404 The following large batch of changes gets us back to a state of
10405 C++ compilability. Extbyte is now a char, which means that
10406 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10408 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10410 * sound.c (Fplay_sound): Type correctness.
10412 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10413 (x_get_window_property): Type correctness.
10414 (receive_incremental_selection): unsigned char ==> Extbyte
10415 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10416 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10417 (Fx_store_cutbuffer_internal): Type correctness.
10419 * process-unix.c (try_to_initialize_subtty): Type correctness.
10421 * objects-x.c (x_print_color_instance): Type correctness.
10422 (x_print_font_instance): Type correctness.
10423 (x_list_fonts): SExtbyte ==> Extbyte.
10424 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10425 (x_find_charset_font): SExtbyte ==> Extbyte.
10426 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10427 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10428 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10429 Use bufbyte_strcmp.
10431 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10432 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10433 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10434 (BYTE_C0_P): Use bit ops for char-signedness safety.
10435 (BYTE_C1_P): Use bit ops for char-signedness safety.
10436 (CHARSET_BY_LEADING_BYTE):
10437 (CHARSET_BY_ATTRIBUTES):
10438 Always use inline function.
10439 Use type_checking_assert.
10442 * mule-charset.c (non_ascii_charptr_copy_char):
10443 Modify to work with both ASCII and non-ASCII characters.
10444 Improve docs and variable names.
10445 Replace over-clever fall-through switch with a simple loop.
10446 (Lstream_get_emchar_1):
10447 Replace over-clever fall-through switch with a simple loop.
10449 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10450 Warning suppression.
10452 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10453 the return value of Lstream_getc, which could be EOF as well.
10455 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10457 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10458 APIs can be used on Extbytes without casts. Risky!
10459 (SExtbyte): Remove.
10460 (UExtbyte): Remove.
10462 * input-method-xlib.c (XIM_init_device):
10463 Use Xlib.h instead of IntrinsicP.h.
10464 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10465 which will break in X11R7.
10466 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10467 to call XRegisterIMInstantiateCallback with correct types.
10469 * gui-x.c (button_item_to_widget_value): Type correctness.
10471 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10473 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10474 (xbm_instantiate_1): Type correctness.
10475 (BUILD_GLYPH_INST): Type correctness.
10477 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10480 (decode_coding_sjis):
10481 (decode_coding_big5):
10482 (decode_coding_ucs4):
10483 (decode_coding_utf8):
10484 (decode_coding_iso2022):
10485 (decode_coding_no_conversion):
10486 Make all decoding functions take an Extbyte * arg.
10487 (encode_coding_sjis):
10488 (encode_coding_big5):
10489 (encode_coding_ucs4):
10490 (encode_coding_utf8):
10491 (encode_coding_iso2022):
10492 (encode_coding_no_conversion):
10493 Make all encoding functions take a Bufbyte * arg.
10494 Use size_t instead of unsigned int for memory sizes.
10495 Only cast to unsigned char whenever dereferencing Extbyte *.
10497 * doc.c (unparesseuxify_doc_string): Type correctness.
10499 * console-x.c (split_up_display_spec):
10500 Rewrite without using details of internal string representation.
10501 (x_semi_canonicalize_device_connection): Type correctness.
10504 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10505 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10506 (HAVE_XFREE386): Removed.
10508 * buffer.h (DEC_CHARPTR): `const' correctness.
10509 (bufbyte_strcmp): New.
10510 (bufbyte_memcmp): New.
10512 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10514 * buffer.h (XCHAR_OR_CHAR_INT):
10515 Always use inline function.
10516 Remove redundant type checking assert() - XINT will abort quite nicely.
10518 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10520 * search.c (Freplace_match): Set newtext to an empty string.
10522 2000-10-10 Martin Buchholz <martin@xemacs.org>
10524 * s/decosf1-3.h: Remove #include of stropts.h
10525 * s/ptx.h: Remove #include of stropts.h
10526 * s/usg5-4.h: Remove #include of stropts.h
10529 Use stropts.h, not sys/stropts.h.
10530 Use strtio.h, not sys/strtio.h.
10532 2000-10-04 Martin Buchholz <martin@xemacs.org>
10534 * XEmacs 21.2.36 is released.
10536 2000-09-21 Andy Piper <andy@xemacs.org>
10538 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10539 changes still involve copying the widget tree.
10540 (update_widget_face): make sure a change is register in the widget
10541 tree. Call update_tab_widget_face appropriately.
10542 (update_tab_widget_face): ditto.
10543 (x_tab_control_redisplay): make sure non-structural changes still
10544 involve copying the widget tree.
10546 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10548 * lread.c (locate_file): Check the path element is non-nil.
10550 2000-10-02 Martin Buchholz <martin@xemacs.org>
10552 * lisp.h: Warning suppression for SCO compilers.
10554 * redisplay-tty.c (reset_tty_modes): Fix crash.
10555 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10557 2000-09-27 Martin Buchholz <martin@xemacs.org>
10559 Big signal/process handling overhaul. Bugs fixed:
10560 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10561 M-x comint-kill-subjob should work for both values nil and t of
10562 process-connection-type. It was broken on most platforms.
10563 Testing on Irix and Cygwin still needed. Other plaforms tested.
10564 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10565 * process-unix.c: Signal/Process handling overhaul.
10566 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10567 (allocate_pty): Use all available modern methods of allocating
10568 ptys, falling back to old style BSD allocation as a last resort.
10569 Use allegedly more secure Unix98 pty allocation by default.
10570 (allocate_pty_the_old_fashioned_way): New. the last resort.
10571 (unix_create_process): Push ptem, ldterm, ttcompat where
10572 available. Autoconfiscate.
10573 (try_to_initialize_subtty): New.
10574 (unix_kill_child_process): Proper signal handling for ptys on most
10575 platforms, using special knowledge of AIX, BSD, etc...
10576 (unix_create_process): Always disconnect_controlling_terminal() for
10577 subprocesses, whether using ptys or not.
10578 * process.h: Remove old getpt-dependent PTY code.
10579 * process.c (Fprocess_send_signal): New, obvious generic function.
10580 (decode_signal): New.
10581 (Finterrupt_process):
10585 (Fcontinue_process):
10586 (Fsignal_process): Use decode_signal.
10587 (process_send_signal):
10588 Many docstring corrections.
10589 Allow any signal to be sent to a process object.
10590 * config.h.in: Add symbols for big signal/process overhaul.
10591 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10592 * sysproc.h: Include process-related headers, where available:
10593 sys/stropts.h sys/strtio.h pty.h libutil.h
10601 Remove old S&M pty stuff.
10602 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10603 * systty.h: Simplify cpp hackery, improve comments.
10604 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10606 * editfns.c (Fformat_time_string):
10607 Be a little more paranoid with the return value of ctime.
10609 * fileio.c (check_executable):
10611 Use symbolic constants X_OK, W_OK.
10613 * console-x.c (split_up_display_spec): Fix a warning.
10615 2000-10-02 Martin Buchholz <martin@xemacs.org>
10617 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10618 * ntproc.c (sys_spawnve): make_string ==> build_string
10619 Small clarity improvements.
10621 2000-09-30 Martin Buchholz <martin@xemacs.org>
10623 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10625 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10627 * config.h.in (HAVE_STRCASECMP): Remove.
10629 2000-09-29 Martin Buchholz <martin@xemacs.org>
10631 * redisplay-output.c (redisplay_output_pixmap):
10632 Cleaner and possibly more 64-bit correct code.
10634 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10636 * dumper.c (pdump_load_finish): move restoration of
10637 `noninteractive1' to emacs.c (main_1).
10638 * emacs.c (main_1): protect LISP-visible command-line flags
10641 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10643 * Makefile.in.in (versionclean): Use EXE_TARGET and
10644 DUMP_TARGET instead of literal program names.
10646 2000-09-20 Martin Buchholz <martin@xemacs.org>
10648 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10650 2000-09-19 Martin Buchholz <martin@xemacs.org>
10652 * *: Spelling mega-patch
10654 2000-09-19 Martin Buchholz <martin@xemacs.org>
10656 * fns.c (bad_bad_turtle):
10657 Delete "Eek!" comment, since we fixed the bug to which it refers.
10659 2000-09-16 Martin Buchholz <martin@xemacs.org>
10661 * alloca.c: Replace REGISTER with register.
10663 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10665 * file-coding.c (ucs_to_char): Use countof.
10667 2000-09-16 Martin Buchholz <martin@xemacs.org>
10669 * file-coding.c: (ucs_to_char):
10670 (complex_vars_of_file_coding):
10671 Use countof instead of sizeof.
10672 Use CHECK_NATNUM instead of CHECK_INT.
10674 * sysdep.c (strcasecmp): Remove.
10675 * device-x.c (ascii_strcasecmp): New.
10676 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10677 Avoid using non-standard non-portable strcasecmp.
10679 2000-09-16 Martin Buchholz <martin@xemacs.org>
10681 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10682 * font-lock.c: remove reference to emacsfns.h.
10683 * search.c: small doc improvement.
10684 * event-Xt.c: correct file names in comments.
10685 * console-x.h Correct file names in comments.
10686 * frame.c: Correct file names in comments.
10687 * event-stream.c: remove Energize from comments.
10689 2000-09-15 Martin Buchholz <martin@xemacs.org>
10691 * symeval.h (DEFERROR_STANDARD):
10694 (DEFSYMBOL_NO_DUMP):
10695 (DEFSYMBOL_MULTIWORD_PREDICATE):
10696 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10698 The construct &##name is not sensible C.
10699 Fixes compilation errors with Unixware native compiler.
10701 2000-09-14 Martin Buchholz <martin@xemacs.org>
10703 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10704 (next_frame_internal): Removed. We now just have next_frame.
10706 Write a simpler and cleaner one-pass algorithm.
10707 Remove called_from_delete_device arg and #ifdefed-out code.
10709 Renamed from prev_frame. Update callers.
10710 Cleaned up to have an analogous implementation to next_frame.
10711 (other_visible_frames_internal): Remove the
10712 called_from_delete_device bogus arg, and hence, remove this
10713 function. Just use other_visible_frames().
10715 * window.c (Fnext_window):
10716 Prettify docstring.
10717 Since next_frame() is guaranteed to return a frame, remove check
10718 for nil inserted in previous patch.
10719 (Fprevious_window):
10720 Prettify docstring.
10721 Make code look more like Fnext_window.
10723 Respect the `console' arg when iterating through windows.
10724 Fixes bug: (get-buffer-window buffer t device) not respecting
10726 This function needs more work, as others have pointed out.
10728 * frame.h: Rename prev_frame to previous_frame.
10729 device_matches_console_spec no longer takes a `frame' arg.
10734 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10735 From "Golubev I. N." <gin@mo.msk.ru>.
10737 * make-src-depend: Fix typo.
10739 2000-09-13 Martin Buchholz <martin@xemacs.org>
10741 * window.c (Fnext_window):
10742 next_frame() might return nil, not a frame.
10744 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10746 * frame.c (next_frame_internal):
10747 We've passed a frame if we've passed its device.
10749 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10750 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10752 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10754 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10755 Allow option to suppress accelerators in menu/dialog items.
10756 (populate_or_checksum_helper): Pass dialog title through above.
10758 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10760 * event-msw.c (mswindows_key_to_emacs_keysym):
10761 Add "pause" key, fix "menu" key.
10763 2000-09-09 Martin Buchholz <martin@xemacs.org>
10765 * eval.c (reinit_vars_of_eval):
10766 Increase max_lisp_eval_depth to 1000,
10767 required for thai-xtis.el to byte-compile under some circumstances.
10769 2000-09-04 Martin Buchholz <martin@xemacs.org>
10771 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10772 From Kenichi Handa.
10774 2000-09-01 Martin Buchholz <martin@xemacs.org>
10776 * make-src-depend: Make the generated Makefiles smaller.
10778 * s/hpux.h (SETUP_SLAVE_PTY):
10779 Provide a %d in the format string for the errno argument.
10781 * editfns.c (Ftemp_directory):
10783 Avoid buffer overrun on very long file name.
10785 * input-method-xlib.c (XIM_init_device):
10786 6th parameter of XRegisterIMInstantiateCallback has different
10787 pointer types on different OSes, so simply cast to (void *).
10789 * unexhp9k800.c: Warning fixes. Fiddly changes.
10791 * sysdll.c (dll_open):
10792 shl_load will hang hard if passed a NULL filename.
10793 Simply return NULL for compatibility with dlopen.
10794 * sysdll.c: Conform to XEmacs coding standards.
10796 * sysdep.c (get_pty_max_bytes):
10797 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10799 2000-08-31 Martin Buchholz <martin@xemacs.org>
10801 * tooltalk.c: Add #include <syssignal.h>
10803 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10805 * s/hpux.h: Don't use undefined function sigunblock().
10807 2000-08-31 Martin Buchholz <martin@xemacs.org>
10809 * config.h.in: Add HAVE_BALLOON_HELP.
10810 * emacs.c: Use HAVE_BALLOON_HELP.
10811 * Makefile.in.in (x_objs):
10812 Make Balloon Help conditional on finding shape.h.
10814 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10816 * syntax.c (regex_emacs_buffer_p): New variable.
10817 * syntax.h (regex_emacs_buffer_p): extern.
10818 * search.c (looking_at_1):
10820 (fast_string_match):
10821 (search_buffer): Set regex_emacs_buffer_p.
10822 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10823 when before_dot, at_dot, after_dot.
10825 2000-08-23 Andy Piper <andy@xemacs.org>
10827 * gui-x.c (popup_selection_callback): Only set action_occurred
10828 when we really have an image instance.
10829 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10831 2000-08-23 Andy Piper <andy@xemacs.org>
10833 * gui-msw.c (mswindows_handle_gui_wm_command): set
10835 * gui-x.c (popup_selection_callback): ditto.
10837 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10838 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10839 (struct Lisp_Image_Instance): add action_occurred flag.
10841 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10842 (image_instance_changed): ditto.
10843 (reset_frame_subwindow_instance_cache): only unmap windows - do
10844 not remove them from the cache also.
10846 * glyphs-widget.c (tab_control_update): better debug.
10847 (progress_gauge_update): ditto.
10848 (layout_update): ditto.
10849 (layout_instantiate): ditto.
10850 (tab_control_order_only_changed): cope with null pending items.
10852 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10853 debug. Force selection of an item when an action occurred. Cope
10854 with null pending_items.
10855 (mswindows_progress_gauge_redisplay): better debug.
10856 * glyphs-x.c (x_tab_control_redisplay): ditto.
10858 * redisplay.c (redisplay_frame): reset the frame cache if the
10861 * window.c (Fset_window_configuration): potentially re-enable
10863 (window_unmap_subwindows): need to finalize instances here since
10864 it is only used in mark_window_as_deleted.
10866 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10868 * nas.c (SndOpenDataForReading):
10869 nas.c (WaveOpenDataForReading):
10870 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10871 Somehow escaped from the 2000-08-14 patch.
10873 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10875 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10876 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10878 2000-08-21 Andy Piper <andy@xemacs.org>
10880 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10881 window if it is not already displayed.
10883 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10884 it is not already displayed.
10886 * window.c (Fset_window_configuration): don't reset the frame
10889 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10890 instances from the frame cache if we are actually finalizing them.
10891 (reset_frame_subwindow_instance_cache): reset frame cache only
10892 after unmapping everything.
10893 (map_subwindow): set displayed flag after mapping.
10895 2000-08-21 Martin Buchholz <martin@xemacs.org>
10897 * data.c (indirect_function):
10898 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10900 * eval.c (function_argcount):
10901 Use original function when signaling errors.
10903 2000-08-18 Andy Piper <andy@xemacs.org>
10905 * frame.c (delete_frame_internal): use new
10906 free_frame_subwindow_instances name.
10908 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10909 (add_tab_item): make return type correct.
10910 (mswindows_tab_control_instantiate): assert index of tab.
10911 (mswindows_tab_control_redisplay): Re-code to use
10912 gui_item_equal_sans_selected and gui_item_list_find_selected.
10914 * glyphs-widget.c (tab_control_update): Correct comment.
10916 * window.c (window_unmap_subwindows): use new
10917 unmap_subwindow_instance_cache_mapper.
10918 (window_unmap_subwindows_cache_mapper): deleted.
10919 (Fset_window_configuration): comparisons should now be with
10920 EQ. Preserve the subwindow instance cache across configuration
10922 (allocate_window): ditto.
10923 (make_dummy_parent): ditto.
10925 * glyphs.c (free_frame_subwindow_instances): rename from
10926 free_frame_subwindow_instance_cache. finalize all instances rather
10927 than just those in the display cache.
10928 (finalize_all_subwindow_instances): walk windows unmapping and
10929 finalizing subwindows.
10930 (unmap_subwindow_instance_cache_mapper): moved from
10931 window.c. Allow finalization as well as unmapping.
10933 * gui.c (gui_item_list_find_selected): new function.
10935 * gui.h (gui_item_list_find_selected): declare.
10937 * glyphs-x.c (x_tab_control_redisplay): pick tab
10938 explicitly. Re-code to use gui_item_equal_sans_selected and
10939 gui_item_list_find_selected.
10941 * glyphs-x.h: add lwlib-utils.h
10943 * buffer.c (Frecord_buffer): undo previous change.
10945 2000-08-09 Vin Shelton <acs@xemacs.org>
10947 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10948 possible. Create temporary files more securely. The patch was
10949 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10950 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10951 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10954 2000-08-07 Ben Wing <ben@xemacs.org>
10956 * getloadavg.c: remove duplicate (and windows-breaking)
10957 includes of fcntl.h and sys/file.h.
10959 * nt.c: remove duplicate getloadavg() definition.
10961 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10964 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10966 * eval.c (function_argcount): If function needs to be autoloaded
10967 actually use the loaded definition.
10970 2000-08-05 Ben Wing <ben@xemacs.org>
10972 * getloadavg.c: add prototype for getloadavg(). remove
10973 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10974 of the code). remove duplicate header includes.
10976 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10978 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10979 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10980 useful load average.
10982 * alloc.c (reinit_alloc_once_early): removed references to
10983 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10984 the lisp vars are the only things referencing the malloc_sbrk_*
10985 vars, and they were already if 0'd out. these vars only exist
10986 in the older malloc.c, which is basically unused, and they're
10987 only for informational purposes.
10989 * m\*.h: removed useless VIRT_ADDR_VARIES.
10991 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10993 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10995 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10996 color if the image is a mono pixmap.
10998 2000-07-30 Ben Wing <ben@xemacs.org>
11000 * Makefile.in.in (release):
11003 * buffer.c (directory_is_current_directory):
11004 * dired-msw.c (mswindows_get_files):
11006 * dired.c (Fdirectory_files):
11007 * dired.c (file_name_completion_stat):
11008 * dired.c (Ffile_attributes):
11009 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11010 preprocessor tricks, to avoid problems on some machines
11013 * callproc.c (egetenv): GC docs.
11016 * console-msw.h (struct mswindows_dialog_id):
11017 * lrecord.h (lrecord_type):
11018 New object for use with MSW dialogs.
11020 * console.h (struct console_methods):
11021 New enable/disable frame methods, for proper modal dialogs.
11023 * device-msw.c (msprinter_default_printer): Fix to follow
11024 proper Mule conventions.
11027 * device-msw.c (signal_open_printer_error):
11028 * device-msw.c (msprinter_init_device):
11029 * device-msw.c (ensure_not_printing):
11030 * device-msw.c (plist_get_margin):
11031 * device-msw.c (Fmsprinter_select_settings):
11032 * device-msw.c (finalize_devmode):
11033 * device-msw.c (Fmsprinter_settings_despecialize):
11034 * device-msw.c (signal_enum_priner_error):
11035 * extents.c (decode_extent):
11036 * extents.c (decode_map_extents_flags):
11037 * extents.c (decode_extent_at_flag):
11038 * extents.c (Fextent_at):
11039 * extents.c (Fextents_at):
11040 * extents.c (symbol_to_glyph_layout):
11041 [[[[2]]]] Use structured errors.
11044 * dialog-msw.c (mswindows_is_dialog_msg):
11045 * dialog-msw.c (mark_mswindows_dialog_id):
11046 * dialog-msw.c (dialog_proc):
11047 * dialog-msw.c (handle_question_dialog_box):
11048 * dialog-msw.c (syms_of_dialog_mswindows):
11049 Define new object to clean up marking; use it as a dialog identifier.
11050 Call new delete-dialog-box-hook.
11052 * dialog-x.c (dbox_selection_callback):
11053 * dialog-x.c (dbox_descriptor_to_widget_value):
11054 * dialog-x.c (x_make_dialog_box_internal):
11055 Call new delete-dialog-box-hook.
11059 * dialog.c (syms_of_dialog):
11060 * dialog.c (vars_of_dialog):
11061 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11064 * eval.c (signal_call_debugger):
11065 when noninteractive, output stack traces on the console instead
11066 of in a (never-seen) buffer.
11068 * eval.c (signal_type_error):
11069 * eval.c (invalid_argument_2):
11071 new funs for use w/structured errors.
11074 * event-Xt.c (x_to_emacs_keysym):
11075 * event-Xt.c (describe_event):
11076 * event-Xt.c (emacs_Xt_event_handler):
11077 * event-Xt.c (vars_of_event_Xt):
11079 * event-msw.c (mswindows_wnd_proc):
11080 * event-msw.c (vars_of_event_mswindows):
11081 rename {x,mswindows}-debug-events to debug-{}-events for
11082 consistency with other debug-foo variables.
11085 document next-event more clearly.
11087 * fileio.c (Ffile_name_directory):
11088 * fileio.c (Ffile_name_nondirectory):
11089 * fileio.c (Funhandled_file_name_directory):
11090 * fileio.c (file_name_as_directory):
11091 * fileio.c (Ffile_name_as_directory):
11092 * fileio.c (directory_file_name):
11093 * fileio.c (Fdirectory_file_name):
11094 * fileio.c (Fmake_temp_name):
11095 * fileio.c (Ffile_truename):
11096 * fileio.c (Fsubstitute_in_file_name):
11097 * fileio.c (expand_and_dir_to_file):
11098 * fileio.c (barf_or_query_if_file_exists):
11099 * fileio.c (check_executable):
11100 * fileio.c (Ffile_exists_p):
11101 * fileio.c (Ffile_writable_p):
11102 * fileio.c (Ffile_directory_p):
11103 * fileio.c (Ffile_regular_p):
11104 * fileio.c (Ffile_modes):
11105 * fileio.c (Ffile_newer_than_file_p):
11106 * fileio.c (Fverify_visited_file_modtime):
11107 * fileio.c (Fset_visited_file_modtime):
11108 * fileio.c (auto_save_1):
11113 * frame-msw.c (mswindows_init_frame_1):
11114 * frame-msw.c (mswindows_enable_frame):
11115 * frame-msw.c (error_frame_unsizable):
11116 * frame-msw.c (msprinter_init_frame_1):
11117 * frame-msw.c (msprinter_init_frame_3):
11118 * frame-msw.c (console_type_create_frame_mswindows):
11120 implement new enable/disable frame methods.
11123 * frame-x.c (x_enable_frame):
11124 * frame-x.c (console_type_create_frame_x):
11125 implement new enable/disable frame methods.
11128 * frame.c (Fdisable_frame):
11129 * frame.c (syms_of_frame):
11130 * frame.h (struct frame):
11131 implement new enable/disable frame methods/functions.
11136 * glyphs-msw.c (mswindows_widget_instantiate):
11137 comment that initial-focus should be implemented.
11140 * glyphs-widget.c (check_valid_instantiator):
11141 * glyphs-widget.c (check_valid_orientation):
11142 * glyphs-widget.c (check_valid_tab_orientation):
11143 * glyphs-widget.c (check_valid_justification):
11144 * glyphs-widget.c (check_valid_border):
11145 * glyphs-widget.c (check_valid_callback):
11146 * glyphs-widget.c (check_valid_int_or_function):
11147 * glyphs-widget.c (check_valid_string_or_vector):
11148 * glyphs-widget.c (check_valid_item_list_1):
11149 * glyphs-widget.c (widget_validate):
11150 * glyphs-widget.c (combo_box_validate):
11151 * glyphs-widget.c (widget_instantiate):
11152 * glyphs-widget.c (syms_of_glyphs_widget):
11153 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11154 * glyphs-widget.c (image_instantiator_combo_box):
11155 * glyphs-widget.c (image_instantiator_scrollbar):
11156 * glyphs-widget.c (image_instantiator_tab_control):
11157 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11159 support (unimplemented) keyword initial-focus.
11160 reindent long macros.
11162 * glyphs-x.c (x_redisplay_widget):
11163 * glyphs-x.c (x_button_instantiate):
11164 * glyphs-x.c (x_button_redisplay):
11165 * glyphs-x.c (x_progress_gauge_instantiate):
11166 * glyphs-x.c (x_edit_field_instantiate):
11167 * glyphs-x.c (x_combo_box_instantiate):
11168 * glyphs-x.c (x_tab_control_instantiate):
11169 * glyphs-x.c (x_label_instantiate):
11171 * gui-x.c (button_item_to_widget_value):
11172 * gui-x.c (gui_items_to_widget_values_1):
11173 * gui-x.c (gui_item_children_to_widget_values):
11174 * gui-x.c (gui_items_to_widget_values):
11176 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11177 add new flag to gui-parsing routines to indicate whether
11178 accelerator specs should be supported.
11180 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11182 * glyphs.h (struct Lisp_Image_Instance):
11183 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11184 add initial-focus flag.
11187 * gui.c (syms_of_gui):
11188 * gui.c (vars_of_gui):
11189 clean up menu-no-selection-hook.
11192 support delete-dialog-box-hook.
11194 * lread.c (Fload_internal):
11195 * lread.c (locate_file_in_directory_mapper):
11199 * lrecord.h (struct toolbar_button):
11200 * lrecord.h (syms_of_toolbar):
11201 document how to create a new object.
11203 * menubar-msw.c (mswindows_char_is_accelerator):
11204 may be called on frames w/o menus.
11206 * menubar.c (vars_of_menubar):
11207 clean up :filter docs.
11214 * process-nt.c (validate_signal_number):
11215 * process-nt.c (signal_cannot_launch):
11216 * process-nt.c (nt_create_process):
11217 * process-nt.c (nt_send_process):
11218 * process-nt.c (nt_kill_child_process):
11219 * process-nt.c (nt_open_network_stream):
11220 * process-nt.c (syms_of_process_nt):
11222 delete quote-handling. call new lisp code that does it better.
11224 * process-unix.c (connect_to_file_descriptor):
11225 * process-unix.c (allocate_pty):
11226 * process-unix.c (unix_send_process):
11227 * process-unix.c (unix_kill_child_process):
11228 * process-unix.c (unix_open_network_stream):
11229 * process-unix.c (unix_open_multicast_group):
11233 * process.c (Fstart_process_internal):
11234 (2). need to canonicalize process path even if absolute.
11236 * select-msw.c (symbol_to_ms_cf):
11237 * select-msw.c (ms_cf_to_symbol):
11238 * select-msw.c (cf_is_autofreed):
11239 * select-msw.c (mswindows_destroy_selection):
11241 * select.c (syms_of_select):
11243 support dibv5, fix bugs. (from Mike Alexander)
11245 * select.c (Fget_selection_internal):
11246 * select.c (select_convert_out):
11249 * sysdep.c (xemacs_stat):
11252 * sysdep.c (mkdir):
11253 * sysdep.c (rmdir):
11254 but keep original stat() here because we provide encapsulation
11258 * sysfile.h (fstat):
11259 remove stat garbage.
11262 fix X/MSW conflict.
11263 don't include tchar.h. it's inappropriate because it makes
11264 compile-time distinctions when we want runtime distinctions.
11265 (we provide our own tchar replacements)
11268 use default object printer for toolbar-button.
11271 make sure we don't encapsulate.
11273 * window.c (vars_of_window):
11274 emphasize that temp-buffer-show-hook is obsolete.
11276 2000-08-05 Martin Buchholz <martin@xemacs.org>
11278 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11279 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11281 * events.c (Fevent_timestamp_lessp):
11282 Not 64-bit clean. Use EMACS_INT, not int.
11284 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11286 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11287 unsigned int and changed the last enum to
11288 lrecord_type_last_built_in_type.
11289 (lrecord_implementations_table): changed prototype to know how
11290 long the array is supposed to be.
11291 (lrecord_type_count): new unsigned int to keep track of the
11292 current number of lisp lrecord types.
11293 (DEFINE_EXTERNAL_LRECORD):
11294 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11295 dynamic-modules to declare new lisp types. They are the same
11296 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11297 int for each new type, and increment lrecord_type_count by 1.
11299 * alloc.c (lrecord_implementations_table): Changed to reference
11300 lrecord_type_last_built_in_type for the size of the array.
11301 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11303 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11305 * glyphs.h (check_valid_item_list): Renamed from
11306 check_valid_item_list_1.
11308 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11310 * select.c (Qselect_coerce): New.
11311 * select.c (Vselection_coercion_alist): New.
11312 * select.c (syms_of_select): Declare.
11313 * select.c (get-selection-internal): Use it.
11314 Use the new select-coerce functionality.
11316 * select.c (select_coerce): New.
11317 * select.h (select_coerce): Declare.
11318 New function to coerce one type of data into another.
11320 2000-08-03 Martin Buchholz <martin@xemacs.org>
11322 * callproc.c (Fcall_process_internal):
11323 (Fcall_process_internal):
11324 * process-unix.c (unix_create_process):
11325 Save and restore the value of errno, so that error messages are accurate.
11327 2000-08-01 Martin Buchholz <martin@xemacs.org>
11329 * elhash.c (print_hash_table):
11330 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11331 Prettify docstrings and indentation.
11333 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11335 * window.c (Fwindow_pixel_edges): Subtract frame border and
11338 2000-07-31 Andy Piper <andy@xemacs.org>
11340 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11341 will acknowledge the change.
11343 * glyphs.h: declare tab_control_order_only_changed.
11345 * glyphs-x.c (x_tab_control_redisplay): use
11346 tab_control_order_only_changed.
11348 * glyphs-widget.c (tab_control_order_only_changed): new function.
11350 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11351 tab_control_order_only_changed.
11353 * gui.c (gui_item_equal_sans_selected): new function.
11354 (gui_item_equal): use it.
11356 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11357 :properties in favor of :items..
11359 * glyphs-widget.c (check_valid_item_list): rename from
11360 check_valid_item_list_1.
11361 (check_valid_item_list_1): renamed.
11362 (combo_box_validate): deprecate :properties in favor of :items.
11363 (widget_instantiate): ditto.
11364 (tab_control_update): ditto.
11365 (image_instantiator_combo_box): ditto.
11366 (image_instantiator_tree_view): ditto.
11367 (image_instantiator_tab_control): ditto.
11368 (layout_post_instantiate): remove dead code.
11370 * print.c (debug_print_no_newline): only write to debugger if in
11373 * elhash.c (Fmake_hash_table): update doc string.
11375 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11376 messages whilst in GC. This at least stops XEmacs crashing but has
11377 the potential for wierd behaviour.
11379 2000-07-31 Martin Buchholz <martin@xemacs.org>
11382 Make existence of s&m files optional.
11384 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11385 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11386 * s/gnu.h: Remove HAVE_GETLOADAVG.
11387 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11388 * s/sol2.h: Remove HAVE_GETLOADAVG.
11389 * lisp.h: Remove getloadavg() declaration.
11391 Include <sys/loadavg.h> if available.
11392 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11393 * config.h.in: Group together getloadavg()-related macros.
11394 Use only configure-time tests to detect getloadavg().
11396 2000-07-30 Martin Buchholz <martin@xemacs.org>
11398 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11400 2000-07-25 Andy Piper <andy@xemacs.org>
11402 * syswindows.h: add tchar.h for native builds.
11404 * frame.c (syms_of_frame): remove set-glyph-image.
11406 * general-slots.h: add Qset_glyph_image.
11408 * glyphs-widget.c (layout_update): add domain arg to
11410 (syms_of_glyphs_widget): remove set-glyph-image.
11412 2000-07-23 Ben Wing <ben@xemacs.org>
11414 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11417 2000-07-22 Andy Piper <andy@xemacs.org>
11419 * symsinit.h: add syms_of_win32().
11421 * gui-msw.c (syms_of_gui_mswindows): remove
11422 Fmswindows_shell_execute.
11423 (Fmswindows_shell_execute): moved to win32.c.
11425 * emacs.c (main_1): add syms_of_win32 ().
11427 * win32.c (init_potentially_nonexistent_functions): rewrite in
11428 compiler-friendly terms.
11429 (Fmswindows_shell_execute): move here from gui-msw.c.
11430 (syms_of_win32): new.
11432 * device-msw.c (Fmswindows_printer_list): clean up args to
11434 Don't include tchar under cygwin or mingw.
11435 (msprinter_default_printer): make cygwin-friendly.
11437 2000-07-21 Andy Piper <andy@xemacs.org>
11439 * glyphs-widget.c (image_instantiator_tree_view): use tab
11440 control's update function.
11441 (layout_property): new function. Retrieve items.
11443 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11444 function. Re-populate the tree view from the pending items.
11446 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11447 is designated the parent if the domain is an image instance. This
11448 is needed so that dirtiness can be cascade up the hierarchy and
11449 thus for layout children to be redisplayed correctly.
11450 (allocate_image_instance): rename glyph -> parent.
11452 * redisplay.h: change redisplay_output_layout signature.
11454 * redisplay-msw.c (mswindows_output_display_block): use domain
11457 * redisplay-x.c (x_output_display_block): use domain arg.
11459 2000-07-10 Andy Piper <andy@xemacs.org>
11461 * window.c (Fset_window_configuration): add comment.
11463 * redisplay-output.c (compare_runes):
11464 (redisplay_output_subwindow): redisplay rather than update subwindow.
11465 (redisplay_output_layout): ditto.
11467 * redisplay-msw.c (mswindows_frame_output_end):
11468 (mswindows_frame_output_end): make defer window pos optional.
11470 * lisp.h: add Flast.
11472 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11473 normalize method. Change update method to be for changed
11474 instantiators. Add redisplay method. Change signature of layout
11476 (struct Lisp_Image_Instance): add instantiator.
11477 (IMAGE_INSTANCE_INSTANTIATOR): new.
11478 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11479 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11480 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11483 (find_instantiator_differences): new function.
11484 (Fset_instantiator_property): new convenience function.
11485 (check_image_instance_structure): strictly check for vector
11487 (normalize_image_instantiator): make non-static.
11488 (instantiate_image_instantiator): pass on dest_mask and use new
11489 signatures for image_instance_layout and friends.
11490 (mark_image_instance): mark the instantiator. Mark the subwindow
11491 face not the widget face.
11492 (image_instance_equal): add instantiator.
11493 (image_instance_hash): ditto.
11494 (allocate_image_instance): ditto.
11495 (Fset_image_instance_property): removed.
11496 (Fimage_instance_file_name): ditto.
11497 (Fcolorize_image_instance): ditto.
11498 (image_instance_layout): add offsets to be set.
11499 (update_image_instance): new function. update an image instance
11500 from its changed instantiator.
11501 (inherit_normalize): add dest_mask.
11502 (xbm_normalize): ditto.
11503 (xface_normalize): ditto.
11504 (xpm_normalize): ditto.
11505 (text_update): set_property -> update.
11506 (image_instantiate): use the glyph identity as a hash key, not the
11508 (glyph_width): use new image_instance_layout signature.
11509 (glyph_ascent): ditto.
11510 (glyph_descent): ditto.
11511 (glyph_height): ditto.
11512 (glyph_query_geometry): ressurrect.
11513 (glyph_layout): ditto.
11514 (redisplay_subwindow): update -> redisplay.
11515 (syms_of_glyphs): add Fset_instantiator_property.
11516 (image_instantiator_format_create): set_property -> update.
11519 (autodetect_normalize): add dest_maks to signature.
11520 (x_redisplay_subwindow): update -> redisplay.
11521 (x_redisplay_widget): ditto.
11522 (x_button_redisplay): ditto.
11523 (x_progress_gauge_redisplay): ditto.
11524 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11526 (console_type_create_glyphs_x): update -> redisplay.
11527 (image_instantiator_format_create_glyphs_x): ditto.
11530 (check_valid_instantiator): disallow glyphs in the instantiator,
11531 they must now be vectors.
11532 (check_valid_instantiator_list): ditto.
11533 (glyph_instantiator_to_glyph): use internal symbol rather than
11535 (widget_update): renamed from widget_set_property. Call cascaded
11537 (redisplay_widget): renamed from update_widget.
11538 (widget_layout): image_instance_layout now takes position as well
11540 (widget_normalize): ditto.
11541 (widget_instantiate): ditto.
11542 (tab_control_query_geometry) ditto.:
11543 (tab_control_update): renamed from tab_control_set_property.
11544 (progress_gauge_update): set_property -> update.
11545 (layout_normalize): rewrite so that child instantiators are
11547 (layout_update): new function. Create glyphs from the normalized
11548 children and cope with any other layout keywords. We do not
11549 instantiate children here that will be take care of by
11550 redisplay_output_layout.
11551 (layout_instantiate): call layout_update and not much else.
11552 (layout_post_instantiate): not sure whether this is needed
11554 (layout_query_geometry): query glyph geometry rather than
11555 image_instance geometry.
11556 (layout_layout): set offsets from pass in parameters. Use glyph
11557 geometry and layout functions rather than image instance ones.
11558 (native_layout_layout): ditto.
11559 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11560 (image_instantiator_widget): set_property -> update.
11561 (image_instantiator_buttons): ditto.
11562 (image_instantiator_progress_guage): ditto.
11563 (image_instantiator_tab_control): ditto.
11564 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11565 (image_instantiator_layout): add update method.
11567 * glyphs-msw.c (bmp_normalize):
11568 (mswindows_resource_normalize): add dest_mask so that it can be
11569 proprogated by layout_normalize.
11570 (begin_defer_window_pos): make optional because it may not be the
11571 right thing to do and it introduces differences with X.
11572 (mswindows_unmap_subwindow): ditto.
11573 (mswindows_map_subwindow): ditto.
11574 (mswindows_redisplay_subwindow): renamed from
11575 mswindows_update_subwindow.
11576 (mswindows_redisplay_widget): ditto.
11577 (mswindows_button_redisplay): renamed from
11578 mswindows_button_update. Update is now what the instantiation
11579 function does for a changed instantiator.
11580 (mswindows_progress_gauge_instantiate): set the progress value
11581 here if appropriate.
11582 (mswindows_tab_control_redisplay): cope with re-ordering of the
11583 members of the tab widget by simply selecting the new top
11584 widget. This makes things appear ok if you click on a tab.
11585 (mswindows_combo_box_instantiate): image_instance_layout now takes
11586 position as well as size.
11587 (mswindows_progress_gauge_redisplay): renamed from
11588 mswindows_progress_gauge_update.
11589 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11590 (image_instantiator_format_create_glyphs_mswindows): ditto.
11592 * glyphs-eimage.c (jpeg_normalize):
11595 (tiff_normalize): add dest_mask so that it can be proprogated by
11599 (print_hash_table):
11600 (hash_table_weakness_validate):
11601 (decode_hash_table_weakness):
11602 (Fhash_table_weakness):
11603 (Fhash_table_type):
11604 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11606 * console.h (struct console_methods): move update_* to
11609 2000-07-20 Ben Wing <ben@xemacs.org>
11611 * *.[ch] (XSETOBJ): remove unused middle argument.
11612 lisp-disunion.h: correct wrap_object() to one argument.
11614 2000-07-15 Ben Wing <ben@xemacs.org>
11617 * s/cygwin32.h (CYGWIN_CONV_PATH):
11618 Add missing logb prototype for v1.1.
11619 Use post-b20 names and alias to pre-b20 names when pre-b20.
11621 * s/windowsnt.h: [5].
11623 2000-07-15 Ben Wing <ben@xemacs.org>
11625 * Makefile.in.in (x_objs):
11626 * Makefile.in.in (sheap_objs):
11627 * Makefile.in.in (objs):
11628 added win32.o, cosmetic cleanups.
11630 * alloc.c (Fmake_byte_code):
11631 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11632 etc. macros which declare their own args now.
11634 * alloc.c (syms_of_alloc):
11635 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11638 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11640 * buffer.c (Fget_file_buffer):
11641 Fixed GCPRO problem.
11643 * buffer.c (get_truename_buffer):
11644 Fixed comment about GC checking.
11646 * buffer.c (syms_of_buffer):
11647 Undeclared those dedicated frame funs.
11651 Define convenience macros for internal/external conversions.
11652 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11653 and Qenvironment_variable_encoding for cleaner code.
11656 Remove dedicated-frame; in lisp.
11658 * bytecode.c (funcall_compiled_function):
11661 * bytecode.c (syms_of_bytecode):
11665 * console-msw.c (mswindows_show_console): Rewrote.
11667 * console-msw.c (Fmswindows_debugging_output): New.
11668 Sends to OutputDebugString (special MSWin debugger interface).
11670 * console-msw.c (Fmswindows_message_box):
11671 Fixed stupid bugs so it works when called from kill-emacs.
11673 * console-msw.c (syms_of_console_mswindows):
11674 Declare Fmswindows_debugging_output.
11677 New MSWin prototypes.
11679 * console-msw.h (struct mswindows_frame):
11680 New entry last-click-mods for improved button-modifier support.
11682 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11683 New struct entry `popup' with corresponding accessor.
11686 * console-x.c (split_up_display_spec):
11687 * console-x.c (get_display_arg_connection):
11688 * console-x.c (x_semi_canonicalize_console_connection):
11689 * console-x.c (x_canonicalize_device_connection):
11690 [[[6]]]: Change char to more specific type.
11691 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11693 * console-x.c (x_semi_canonicalize_console_connection):
11694 * console-x.c (x_canonicalize_device_connection):
11695 [[[9]]]: Fix up error signalling to use new structured error system.
11698 [[[4]]]: Define codesys aliases:
11699 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11700 Qx_color_name_encoding, Qx_display_name_encoding.
11702 * console.h (struct console_methods):
11703 New method make_dialog_box_internal supersedes older
11704 popup_dialog_box method.
11707 Define many new errors, part of new structured errors.
11709 * data.c (init_errors_once_early):
11710 * data.c (syms_of_data):
11713 * device-msw.c (mswindows_init_device):
11714 [[[5]]]: Cleanup to support NT 3.51.
11716 * device-msw.c (decode_devmode): Cleanup.
11718 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11719 * device-msw.c (mswindows_handle_print_dialog_box):
11720 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11721 * device-msw.c (syms_of_device_mswindows):
11722 Delete the dialog box primitives recently introduced by Kirill and
11723 instead interface to general dialog box interface.
11726 * device-x.c (compute_x_app_name):
11727 * device-x.c (x_init_device):
11728 * device-x.c (Fx_valid_keysym_name_p):
11729 * device-x.c (Fx_set_font_path):
11733 * device.h (wrap_device): New.
11734 First of its kind; meant to replace XSETDEVICE.
11736 * dialog-msw.c: Many file-dialog symbols.
11738 * dialog-msw.c (mswindows_register_popup_frame): New.
11739 * dialog-msw.c (mswindows_is_dialog_msg): New.
11740 For supporting kbd traversal in dialog boxes.
11742 * dialog-msw.c (dialog_proc):
11743 Support hitting ESC in dialogs.
11745 * dialog-msw.c (struct):
11746 Common dialog box errors.
11748 * dialog-msw.c (handle_file_dialog_box): New.
11749 Add file dialog code.
11751 * dialog-msw.c (handle_question_dialog_box):
11752 Redo existing code to support new question dialog syntax.
11754 * dialog-msw.c (console_type_create_dialog_mswindows):
11755 We support new dialog console method.
11757 * dialog-msw.c (syms_of_dialog_mswindows):
11758 * dialog-msw.c (vars_of_dialog_mswindows):
11759 New file dialog symbols, vars.
11762 * dialog-x.c (maybe_run_dbox_text_callback):
11763 * dialog-x.c (dbox_descriptor_to_widget_value):
11764 * dialog-x.c (x_make_dialog_box_internal):
11765 * dialog-x.c (console_type_create_dialog_x):
11766 Mule-ize entire file.
11767 Redo to support question dialog syntax.
11771 * dialog.c (Fmake_dialog_box_internal):
11772 * dialog.c (syms_of_dialog):
11773 Kill old popup-dialog-box, replace with new primitive.
11774 Just call device method or signal error.
11776 * eldap.c (Fldap_open):
11777 * eldap.c (Fldap_search_basic):
11778 * eldap.c (Fldap_add):
11779 * eldap.c (Fldap_modify):
11784 * emacs.c (make_arg_list_1):
11785 * emacs.c (make_arg_list):
11786 Mule-ize call to dll_init().
11790 * emacs.c (make_argc_argv):
11791 * emacs.c (free_argc_argv):
11792 * emacs.c (init_cmdargs):
11793 * emacs.c (main_1):
11794 * emacs.c (Fkill_emacs):
11795 * emacs.c (Fdump_emacs):
11796 Update comments about what can be used in syms_* etc.
11797 Call init_win32() when necessary.
11798 Fix up MS Win dialog box in kill-buffer to actually work right.
11809 * eval.c (condition_case_3):
11811 * eval.c (function_argcount):
11812 * eval.c (funcall_lambda):
11815 * eval.c (type_error): New.
11816 * eval.c (maybe_type_error): New.
11817 * eval.c (continuable_type_error): New.
11818 * eval.c (maybe_continuable_type_error): New.
11819 * eval.c (type_error_with_frob): New.
11820 * eval.c (maybe_type_error_with_frob): New.
11821 * eval.c (continuable_type_error_with_frob): New.
11822 * eval.c (maybe_continuable_type_error_with_frob): New.
11823 New functions for use with structured errors.
11826 * event-Xt.c (x_event_to_emacs_event):
11827 Buttons are now modifiers too.
11829 * event-Xt.c (emacs_Xt_current_event_timestamp):
11830 Implement new event method.
11831 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11834 * event-msw.c (ntpipe_shove_writer): [5].
11835 * event-msw.c (mswindows_enqueue_mouse_button_event):
11836 * event-msw.c (mswindows_drain_windows_queue):
11837 * event-msw.c (mswindows_wnd_proc): [7].
11838 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11839 * event-msw.c (mswindows_modifier_state):
11840 Throughout: support new button modifiers.
11842 * event-msw.c (emacs_mswindows_current_event_timestamp):
11843 Implement new event method.
11844 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11847 * event-stream.c (event_stream_current_event_timestamp): New.
11848 * event-stream.c (maybe_kbd_translate): New functionality.
11849 * event-stream.c (vars_of_event_stream):
11850 Document new kbd-translate-table functionality.
11852 * event-stream.c (Fcurrent_event_timestamp): New.
11853 New primitive for use in fabricated events.
11854 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11856 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11859 * events.c (Fmake_event):
11860 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11864 * events.c (format_event_object): fix gcc warnings.
11866 * events.c (Fevent_timestamp): Document new primitives.
11868 * events.c (TIMESTAMP_HALFSPACE): New.
11870 * events.c (Fevent_timestamp_lessp): New. New primitive for
11871 comparing timestamps correctly (half-space algorithm).
11873 * events.c (Fevent_modifier_bits): Doc fix.
11875 * events.c (Fevent_modifiers): Major doc addition.
11876 * events.c (event_x_y_pixel_internal): Typo fix.
11877 * events.c (syms_of_events): Declare new primitives.
11880 Update long comment for button modifiers, timestamps.
11882 * events.h (struct event_stream):
11883 New current_event_timestamp method.
11886 * extents.c (extent_in_region_p):
11887 * extents.c (decode_extent):
11888 * extents.c (Fset_extent_parent):
11889 * extents.c (decode_map_extents_flags):
11893 * extents.c (struct extent_at_arg):
11894 * extents.c (decode_extent_at_flag):
11895 * extents.c (extent_at_mapper):
11896 * extents.c (extent_at_bytind):
11897 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11898 * extents.c (Fextents_at): New primitive. [9].
11899 * extents.c (symbol_to_glyph_layout): [9].
11900 Support new primitive `extents-at'.
11903 * extents.c (get_text_property_bytind):
11904 extent_at_bytind has another arg.
11907 * extents.c (syms_of_extents): New primitive.
11909 * file-coding.c (Fmake_coding_system): [1].
11910 * file-coding.c (subsidiary_coding_system): fix gcc warning
11911 * file-coding.c (syms_of_file_coding): [2].
11913 * fileio.c (Fexpand_file_name):
11914 * fileio.c (Fsysnetunam):
11915 * fileio.c (Ffile_exists_p):
11916 * fileio.c (Ffile_executable_p):
11917 * fileio.c (Fverify_visited_file_modtime):
11920 * fileio.c (syms_of_fileio): [2].
11922 * filelock.c (lock_file_1):
11923 * filelock.c (current_lock_owner):
11924 * filelock.c (lock_if_free):
11925 * filelock.c (lock_file):
11926 * filelock.c (unlock_file):
11929 * fns.c (concat): Fix gcc warning.
11932 * fns.c (Fold_member):
11934 * fns.c (Fold_memq):
11935 * fns.c (memq_no_quit):
11937 * fns.c (Fold_assoc):
11939 * fns.c (Fold_assq):
11940 * fns.c (assq_no_quit):
11942 * fns.c (Fold_rassoc):
11944 * fns.c (Fold_rassq):
11945 * fns.c (rassq_no_quit):
11947 * fns.c (Fold_delete):
11949 * fns.c (Fold_delq):
11950 * fns.c (delq_no_quit):
11951 * fns.c (Fremassoc):
11952 * fns.c (Fremassq):
11953 * fns.c (remassq_no_quit):
11954 * fns.c (Fremrassoc):
11955 * fns.c (Fremrassq):
11956 * fns.c (remrassq_no_quit):
11957 * fns.c (Freverse):
11961 * frame-msw.c (mswindows_init_frame_1):
11962 * frame-msw.c (mswindows_delete_frame):
11963 Register popups with dialog code so keyboard traversing works.
11965 * frame-tty.c (tty_raise_frame_no_select): [1].
11968 * frame-x.c (x_set_frame_text_value):
11969 * frame-x.c (x_set_frame_properties):
11970 * frame-x.c (x_create_widgets):
11974 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11976 * frame.h (wrap_frame): New.
11977 Macro like wrap_device.
11980 * general.c (SYMBOL):
11981 * general.c (syms_of_general):
11982 Major reorg. This is now just a wrapper and symbols themselves
11983 are listed in general-slots.h.
11985 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11986 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11988 * glyphs-msw.c (mswindows_native_layout_instantiate):
11989 Add DS_CONTROL so keyboard traversal will work.
11992 * glyphs-widget.c (syms_of_glyphs_widget):
11993 Move some symbols to general-slots.h.
11996 * glyphs-x.c (xbm_instantiate_1):
11997 * glyphs-x.c (x_xbm_instantiate):
11998 * glyphs-x.c (x_xface_instantiate):
11999 * glyphs-x.c (autodetect_instantiate):
12000 * glyphs-x.c (cursor_font_instantiate):
12001 * glyphs-x.c (x_update_widget):
12002 * glyphs-x.c (x_widget_instantiate):
12003 * glyphs.c (bitmap_to_lisp_data):
12004 * glyphs.c (pixmap_to_lisp_data):
12007 * glyphs.c (syms_of_glyphs):
12011 * gui-x.c (print_widget_value):
12012 * gui-x.c (menu_separator_style_and_to_external):
12013 * gui-x.c (add_accel_and_to_external):
12014 * gui-x.c (button_item_to_widget_value):
12015 * gui-x.c (gui_items_to_widget_values_1):
12016 * gui-x.c (gui_items_to_widget_values):
12017 * gui-x.c (syms_of_gui_x):
12018 * gui-x.c (vars_of_gui_x):
12019 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12023 Muleize, prototype changes matching gui-x.c.
12026 * gui.c (separator_string_p):
12027 * gui.c (gui_item_add_keyval_pair):
12028 * gui.c (make_gui_item_from_keywords_internal):
12029 * gui.c (signal_too_long_error):
12030 * gui.c (parse_gui_item_tree_item):
12031 * gui.c (syms_of_gui):
12032 * gui.c (vars_of_gui):
12034 menu-no-selection-hook moved here (used by MSWin).
12035 Move some symbols to general-slots.h.
12039 * insdel.c (get_buffer_pos_char):
12040 * insdel.c (get_buffer_range_char):
12043 * keymap.c (keymap_lookup_directly):
12044 * keymap.c (keymap_store):
12045 * keymap.c (ensure_meta_prefix_char_keymapp):
12046 * keymap.c (describe_map):
12048 Support new button modifiers.
12050 * lisp-disunion.h (wrap_object):
12051 * lisp-disunion.h (XSETOBJ):
12052 Rename make_obj to wrap_object.
12055 * lisp-union.h (make_int):
12056 * lisp-union.h (make_char):
12057 Support wrap_object.
12060 * lisp.h (LIST_LOOP):
12061 * lisp.h (EXTERNAL_LIST_LOOP):
12062 * lisp.h (LIST_LOOP_2):
12063 * lisp.h (EXTERNAL_LIST_LOOP_1):
12064 * lisp.h (EXTERNAL_LIST_LOOP_2):
12065 * lisp.h (EXTERNAL_LIST_LOOP_3):
12066 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12067 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12068 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12069 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12070 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12071 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12072 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12073 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12074 * lisp.h (struct Lisp_Symbol):
12075 * lisp.h (maybe_continuable_error_with_frob):
12076 Fix up section comments.
12077 Add new types for char to indicate usage.
12078 Delete symbols auto-generated from general-slots.h.
12079 Add prototypes for structured error functions.
12080 Add long comments describing looping macros and change interface
12081 so that lvalues are automatically declared.
12082 Add NO_DECLARE macro in case callers want to declare lvalues
12085 * lread.c (read_syntax_error):
12086 * lread.c (continuable_read_syntax_error):
12087 * lread.c (read_structure):
12088 * lread.c (sequence_reader):
12089 * lread.c (read_list_conser):
12090 * lread.c (read_compiled_function):
12091 Rename syntax_error and continuable_syntax_error to avoid clash
12092 with same-named structured error functions.
12094 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12095 * menubar-msw.c (populate_menu_add_item):
12096 * menubar-msw.c (populate_or_checksum_helper):
12101 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12102 Mule-ize whole file.
12104 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12106 * mule-charset.c (Fmake_charset):
12107 * mule-wnnfns.c (Fwnn_set_param):
12110 * ntproc.c (create_child):
12111 * ntproc.c (Fwin32_set_current_locale):
12112 Add comments portending doom.
12115 * objects-msw.c (old_font_enum_callback_2):
12116 * objects-msw.c (font_enum_callback_1):
12117 * objects-msw.c (mswindows_enumerate_fonts):
12121 * objects-x.c (allocate_nearest_color):
12122 * objects-x.c (x_parse_nearest_color):
12123 * objects-x.c (x_initialize_color_instance):
12124 * objects-x.c (x_print_color_instance):
12125 * objects-x.c (x_finalize_color_instance):
12126 * objects-x.c (x_valid_color_name_p):
12127 * objects-x.c (x_initialize_font_instance):
12128 * objects-x.c (x_print_font_instance):
12129 * objects-x.c (valid_x_font_name_p):
12130 * objects-x.c (truename_via_FONT_prop):
12131 * objects-x.c (truename_via_random_props):
12132 * objects-x.c (truename_via_XListFonts):
12133 * objects-x.c (x_font_truename):
12134 * objects-x.c (x_font_instance_truename):
12135 * objects-x.c (x_font_instance_properties):
12136 * objects-x.c (x_list_fonts):
12137 * objects-x.c (x_find_charset_font):
12138 Mule-ize entire file.
12145 * print.c (std_handle_out_external):
12146 * print.c (debug_print_no_newline):
12147 * print.c (syms_of_print):
12148 Output to all debugger kinds in debug-print.
12149 Fix console-output code under MSWin to actually work.
12151 * process-nt.c (send_signal):
12152 * process-nt.c (nt_create_process):
12153 Use newer Unicode macros.
12155 * process-unix.c (unix_create_process):
12156 * process-unix.c (unix_canonicalize_host_name):
12157 * process-unix.c (unix_open_network_stream):
12163 * search.c (syms_of_search):
12166 * select-msw.c (mswindows_destroy_selection):
12169 * select-x.c (symbol_to_x_atom):
12172 * select.c (syms_of_select):
12175 * sound.c (Fplay_sound_file):
12179 * specifier.c (decode_specifier_type):
12180 * specifier.c (Fvalid_specifier_locale_type_p):
12181 * specifier.c (check_valid_locale_or_locale_type):
12182 * specifier.c (decode_locale):
12183 * specifier.c (decode_locale_type):
12184 * specifier.c (decode_locale_list):
12185 * specifier.c (check_valid_domain):
12186 * specifier.c (decode_specifier_tag_set):
12187 * specifier.c (Fcanonicalize_tag_set):
12188 * specifier.c (Fdefine_specifier_tag):
12189 * specifier.c (Fspecifier_tag_predicate):
12190 * specifier.c (check_valid_inst_list):
12191 * specifier.c (check_valid_spec_list):
12192 * specifier.c (decode_how_to_add_specification):
12193 * specifier.c (check_modifiable_specifier):
12194 * specifier.c (specifier_add_spec):
12195 * specifier.c (boolean_validate):
12196 * specifier.c (display_table_validate):
12199 * specifier.c (syms_of_specifier):
12200 Move some symbols to general-slots.h.
12204 * symbols.c (Fmapatoms):
12205 * symbols.c (Fapropos_internal):
12208 * symbols.c (set_default_buffer_slot_variable):
12209 * symbols.c (set_default_console_slot_variable):
12212 * symbols.c (defsymbol_massage_name_1):
12213 * symbols.c (defkeyword_massage_name):
12214 * symbols.c (deferror_1):
12215 * symbols.c (deferror):
12216 * symbols.c (deferror_massage_name_and_message):
12218 * symeval.h (DEFSYMBOL):
12219 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12221 * symbols.c (syms_of_symbols):
12225 * symsinit.h (init_win32): New.
12226 Also new is syms_of_dialog_mswindows.
12229 Add new Unicode macros, missing Cygwin wide-char functions,
12230 convenience conversion macros for Qmswindows_tstr, macros for
12231 encapsulating required MSWin <-> Cygwin filename conversions,
12232 prototype for dynamically-extracted (not in NT 3.51) functions.
12237 * tooltalk.c (Fadd_tooltalk_message_arg):
12238 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12239 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12242 * tooltalk.c (syms_of_tooltalk):
12246 * unexnt.c (unexec):
12247 Fix up headers, declaration of unexec() to be more standard.
12249 2000-07-20 Martin Buchholz <martin@xemacs.org>
12251 * offix.h: Revert change to guard macros - they're used in offix.c!
12253 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12255 * lisp.h: Defsubred Fdelete.
12257 * console-msw.h: (msprinter_default_printer): Added.
12259 * console-msw.c (msprinter_canonicalize_console_connection):
12260 (msprinter_canonicalize_device_connection): Added.
12262 * device-msw.c (msprinter_default_printer):
12263 (Fmswingows_get_default_printer):
12264 (signal_enum_priner_error):
12265 (Fmswingows_printer_list): Added.
12267 2000-07-19 Martin Buchholz <martin@xemacs.org>
12269 * XEmacs 21.2.35 is released.
12271 2000-07-19 Martin Buchholz <martin@xemacs.org>
12273 * select-x.c (x_handle_selection_request):
12274 Text selected in xemacs and pasted into xterm failed to appear.
12275 Spelling fixes and cosmetic changes.
12277 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12279 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12280 XEmacs frame (fix for doubling chars in dialog boxes).
12282 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12284 * select.c (select_convert_in, select_convert_out):
12285 Don't call intern() every time.
12287 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12288 * select.c (vars_of_select): Initialise them.
12290 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12292 * select.c (selection-coercible-types): New.
12294 * select.c (own-selection-internal):
12295 * select.c (get-selection-internal):
12296 MULE bug fix - these should default to COMPOUND_TEXT and not
12297 STRING for MULE. I think.
12299 * select.c (select_convert_out): Use selection-coercible-types
12300 to find types that we can attempt to perform coercions on.
12302 2000-07-18 Martin Buchholz <martin@xemacs.org>
12306 Add coding: cookie to identify encoding.
12308 * mule-canna.c (CANNA_mode_keys): make static.
12309 Use proper prototypes, even for functions of no arguments.
12310 Remove external prototype for Fding().
12312 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12314 * select.c (syms_of_select): Add missing DEFSUBR.
12316 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12318 * select.c (get_selection_internal, own_selection_internal):
12319 Make the type default to STRING, rather than placing a nil type
12320 into Vselection_alist.
12322 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12324 * gpmevent.c (tty_selection_exists_p):
12325 * gpmevent.c (tty_own_selection):
12326 Updated parameter lists.
12328 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12330 * select.h (selection-alist): Removed declaration.
12332 * select.h (get_local_selection):
12333 * select.c (get_local_selection):
12336 * select.h (convert_selection): Removed declaration.
12337 * select.c (convert_selection): Removed.
12338 This function belongs in Lisp.
12340 * select.h (select_convert_in): Declare.
12341 * select.h (select_convert_out): Declare.
12342 * select.c (select_convert_in): New.
12343 * select.c (select_convert_out): New.
12344 New conversion functions for other files to call.
12346 * select.h (select_notify_buffer_kill): Declare.
12347 * select.c (select_notify_buffer_kill): New.
12348 New functions that get called from kill-buffer.
12350 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12351 X-specific lisp code.
12353 * select.h: Declare some of the lisp-visible functions for
12356 * select.c (clean_local_selection_data): Removed. This was
12357 a disgusting function, and previously should have been in
12358 select-x.c in any case. The functionality is now provided
12359 in select-convert-from-integer (select.el).
12361 * select.c (available-selection-types): Fixed stupidity where
12362 INTEGER and ATOM got added twice. Also add STRING when we see an
12365 * select.c (get-selection-internal): Removed symbol stripping. No
12366 longer causes conversion when data comes from the internal cache.
12368 * select.c (syms_of_select): Added new functions.
12370 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12371 error checking - previously this called abort!
12373 * select-x.c (x_own_selection): Changed comment.
12375 * select-x.c (x_handle_selection_request): Use select_convert_out.
12376 Don't mess with selection-alist; it's an internal variable of select.c.
12378 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12380 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12381 rather than messing with selection-alist.
12383 * select-msw.c (mswindows_get_foreign_selection):
12384 Use TO_INTERNAL_FORMAT rather than hacking.
12386 2000-07-14 Martin Buchholz <martin@xemacs.org>
12388 * process-unix.c (unix_open_multicast_group):
12389 (unix_open_multicast_group): Remove useless casts.
12391 2000-07-13 Martin Buchholz <martin@xemacs.org>
12393 * sound.c (Fplay_sound): Fix `unused variable' warning.
12395 * emacs.c (main): Use correct type for _environ on SCO5.
12397 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12399 * console.h (own_selection_method):
12400 * console.h (selection_exists_p_method):
12401 * console.h (available_selection_types_method): New.
12402 * console.h (register_selection_data_type_method): New.
12403 * console.h (selection_data_type_name): New.
12405 * console-msw.h (mswindows_destroy_selection): Declare it. New
12406 function & alist to track GlobalAlloc()'d handles that need
12407 releasing when the clipboard data gets replaced or emptied.
12409 * event-msw.c (mswindows_wnd_proc): Call it.
12411 * lisp.h, general.c (Qappend): New symbol representing a
12414 * select.c (own-selection-internal):
12415 * select.c (selection-exists-p):
12416 * select.c (available-selection-types): New.
12417 * select.c (register-selection-data-type): New.
12418 * select.c (selection-data-type-name): New. New functions to deal
12419 with device-specific selection data formats.
12420 * select.c (selection-converter-out-alist): Renamed.
12421 * select.c (selection-converter-in-alist): New.
12422 * select.c (selection-appender-alist): New. Added new alists.
12423 * select.c (syms_of_select, vars_of_select): Added new symbols &
12425 * select.c (get_local_selection): Split.
12426 * select.c: Removed spurious type checking - selections may now be
12427 of any type, not just strings.
12428 * select.c (own-selection-internal):
12430 * select.h, select.c (convert_selection): New. Created
12431 convert_selection() function based on get_local_selection().
12432 * select.h, select.c (QCF_*): New symbols representing mswindows
12434 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12435 symbols representing `how-to-add' modes.
12437 * select-msw.c (x_sym_p): New.
12438 * select-msw.c (symbol_to_ms_cf): New.
12439 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12440 symbols & clipboard formats. Can also handle string names.
12441 * select-msw.c (mswindows_own_selection):
12442 * select-msw.c (mswindows_selection_exists_p):
12443 Added `data-type' parameter. Use it.
12444 * select-msw.c (mswindows_available_selection_types): New.
12445 * select-msw.c (mswindows_register_selection_data_type): New.
12446 * select-msw.c (mswindows_selection_data_type_name): New.
12447 * select-msw.c (mswindows_own_selection):
12448 * select-msw.c (mswindows_get_foreign_selection):
12449 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12450 * select-msw.c (console_create_select_mswindows): Added new methods.
12451 * select-msw.c (mswindows_destroy_selection): New.
12452 * select-msw.c (Vhandle_alist): New list.
12453 * select-msw.c (mswindows_own_selection):
12455 * select-x.c (x_own_selection):
12456 * select-x.c (x_selection_exists_p):
12457 * select-x.c: Added some comments about maybe using new
12459 * select-x.c (x_own_selection):
12461 * specifier.c: Remove definition of Qappend (now in general.c)
12462 * specifier.c (syms_of_specifier): Remove Qappend.
12464 2000-07-12 Martin Buchholz <martin@xemacs.org>
12466 * config.h.in: Add socklen_t.
12468 * s/decosf4-0.h: No special compiler flags needed or desired.
12469 In particular, undefine _BSD for DEC OSF 4.0.
12471 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12473 * redisplay-msw.c (msprinter_frame_output_end): Added.
12474 (console_type_create_redisplay_mswindows): Referred the above.
12476 * frame.c (setup_frame_without_minibuffer): Do not create a
12477 default minibuffer frame on a printer device.
12479 * frame-msw.c (apply_dc_geometry): Added.
12480 (msprinter_start_page):
12481 (msprinter_init_frame_3):
12482 (msprinter_eject_page): Use it.
12484 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12485 and removed residual duplex and orientation properties.
12487 2000-07-11 Martin Buchholz <martin@xemacs.org>
12489 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12491 * unexalpha.c: Remove system prototypes from C sources!
12493 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12495 * eval.c: Remove references to M-x edit-options in DEFUNs for
12496 `defvar' and `defconst'.
12498 2000-07-09 Martin Buchholz <martin@xemacs.org>
12500 * config.h.in: Remove SMART_INCLUDE hackery.
12502 PostgreSQL hacking:
12503 * config.h.in: Don't use SMART_INCLUDE.
12505 * postgresql.h: Include libpq-fe.h here. Fix typo.
12506 * inline.c: Simply #include "postgresql.h"
12508 - Don't use SMART_INCLUDE
12509 - Use simply "const".
12510 - Use standard doc string conventions.
12511 - Use correct type for result of PQstatus.
12513 2000-07-09 Martin Buchholz <martin@xemacs.org>
12515 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12517 C++ compilation changes.
12518 * config.h.in (EXTERN_C): Define.
12519 * config.h.in (not): This is also a C++ keyword.
12520 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12521 * cm.c: Use EXTERN_C.
12522 * redisplay-tty.c: Use EXTERN_C.
12523 * sysdep.c: Use EXTERN_C. Remove Gould support.
12525 2000-07-09 Martin Buchholz <martin@xemacs.org>
12527 * general.c: Remove duplicate definition for Qfunction.
12529 2000-07-08 Ben Wing <ben@xemacs.org>
12531 * device-msw.c (msprinter_init_device):
12532 * device-msw.c (sync_printer_with_devmode):
12533 * device-msw.c (handle_devmode_changes):
12534 * device-msw.c (print_dialog_worker):
12535 * device-msw.c (Fmsprinter_apply_settings):
12536 * device-msw.c (hash_devmode):
12537 * device-msw.c (Fmsprinter_settings_despecialize):
12538 use Qmswindows_tstr, not Qctext.
12540 * vm-limit.c (check_memory_limits):
12541 avoid infinite loop printing warning messages.
12543 2000-07-05 Craig Lanning <lanning@scra.org>
12545 * Makefile.in.in: Add support for including the Windows resources
12546 when building with the cygwin and mingw targets.
12548 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12549 not set or not correct.
12550 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12551 (init_initial_directory): Don't try to use $PWD on the
12552 WIN32_NATIVE target.
12555 [[Add -mwindows to eliminate console window.]] not required --ben
12556 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12557 (MAIL_USE_POP): removed; now handled by configure.
12559 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12560 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12561 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12562 (MAIL_USE_POP): removed; now handled by configure.
12563 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12564 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12565 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12567 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12568 up from <winsock.h> via systime.h.
12569 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12570 (getpagesize): from Dan Holmsand, added.
12571 Added #endif which was left dangling by Ben's mega patch; added
12572 comment to help prevent this in the future.
12574 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12576 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12578 * console-msw.h (struct mswindows_device): Removed unnecessary
12579 cached device geometry values.
12580 Added update_tick and an accessor macro.
12581 (Lisp_Devmode): Added lrecord declaration.
12582 (struct msprinter_device): Contain devmode as a Lisp object.
12583 Added mswindows_get_selected_frame_hwnd();
12585 * console.h (struct console_methods): Indentation nitpicking.
12587 * device-msw.c (mswindows_init_device): Do not initialize geometry
12588 cache. Initialize update tick.
12589 (mswindows_device_system_metrics): Ask the device for its geometry.
12590 (global_free_2_maybe):
12591 (devmode_to_hglobal):
12592 (handle_printer_changes):
12593 (ensure_not_printing):
12594 (print_dialog_worker):
12595 (Fmsprinter_print_setup_dialog):
12596 (Fmsprinter_print_dialog):
12597 (plist_get_margin):
12598 (plist_set_margin):
12599 (Fmsprinter_page_setup_dialog): Added functions.
12600 (sync_printer_with_devmode):
12601 (handle_devmode_changes):
12602 (Fmsprinter_get_settings):
12603 (Fmsprinter_select_settings):
12604 (Fmsprinter_apply_settings):
12605 (allocate_devmode):
12606 (Fmsprinter_settings_copy):
12607 (Fmsprinter_settings_despecialize):
12609 (finalize_devmode):
12611 (hash_devmode): Added functions
12612 (syms_of_device_mswindows): Init devmode lrecord class.
12614 * device.h: Added an exfun for find-device.
12616 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12617 geometry; although, recreate the device compatible DC.
12619 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12620 (msprinter_init_frame_3):
12621 (msprinter_frame_property):
12622 (msprinter_internal_frame_property_p):
12623 (msprinter_frame_properties):
12624 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12625 print job properties (will move to device settings).
12627 * lisp.h: Added symbols.
12629 * general.c (syms_of_general): Declared them.
12631 * hash.c (string_hash): Added.
12633 * lrecord.h (lrecord_type): Added devmode lrecord type.
12635 2000-07-02 Mike Sperber <mike@xemacs.org>
12637 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12640 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12642 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12645 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12647 * data.c (Fstring_to_number): Don't recognize floating point if
12650 2000-06-22 Martin Buchholz <martin@xemacs.org>
12652 * glyphs-widget.c (tab_control_query_geometry):
12653 (widget_query_geometry):
12654 (button_query_geometry):
12655 * glyphs.c (text_query_geometry):
12656 Enforce type correctness.
12658 2000-06-18 Martin Buchholz <martin@xemacs.org>
12660 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12661 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12663 2000-06-17 Martin Buchholz <martin@xemacs.org>
12665 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12666 conflicts with gcc's fixincluded version of FOO.h.
12668 * glyphs.h (image_instance_geometry): Remove trailing `,'
12670 2000-06-08 Mike Alexander <mta@arbortext.com>
12672 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12673 (shove_thread): Don't write the same output twice
12674 (make_ntpipe_output_stream): Increase priority of shove thread
12675 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12677 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12680 2000-06-12 Ben Wing <ben@xemacs.org>
12682 * s\mingw32.h (sigset):
12683 * s\windowsnt.h (sigset):
12684 rename msw_ to mswindows_ for consistency with general convention.
12686 2000-06-12 Ben Wing <ben@xemacs.org>
12689 * console-msw.c (mswindows_get_console_hwnd):
12690 * console-msw.c (mswindows_ensure_console_allocated):
12691 * console-msw.c (mswindows_hide_console):
12692 * console-msw.c (mswindows_show_console):
12693 * console-msw.c (mswindows_ensure_console_buffered):
12694 * console-msw.c (mswindows_output_console_string):
12695 * console-msw.c (mswindows_windows9x_p):
12697 * device-msw.c (mswindows_get_workspace_coords):
12698 * device-msw.c (mswindows_device_system_metrics):
12699 * dialog-msw.c (mswindows_popup_dialog_box):
12700 * event-msw.c (mswindows_wnd_proc):
12701 * frame-msw.c (mswindows_size_frame_internal):
12702 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12703 * menubar-msw.c (displayable_menu_item):
12704 * menubar-msw.c (mswindows_char_is_accelerator):
12706 * nt.c (mswindows_sigset):
12707 * nt.c (mswindows_sigrelse):
12708 * nt.c (mswindows_sigpause):
12709 * nt.c (mswindows_raise):
12710 * nt.c (timer_proc):
12712 * ntproc.c (find_child_console):
12713 * ntproc.c (sys_kill):
12715 * print.c (std_handle_out_external):
12716 * process-nt.c (find_child_console):
12717 * process-nt.c (send_signal_the_95_way):
12718 * process-nt.c (ensure_console_window_exists):
12719 * process-nt.c (nt_create_process):
12721 rename msw_ to mswindows_ for consistency with general convention.
12725 include nt.h, not syswindows.h.
12727 * nt.c (mswindows_fstat):
12728 * nt.c (mswindows_stat):
12729 prefix mswindows_ instead of attempting to directly override the
12730 library functions. fix declarations.
12733 include syswindows.h. move some sysdep.h stuff here.
12736 include syswindows.h, not <windows.h>.
12744 * sysdep.c (sys_fstat):
12745 * sysdep.c (sys_stat):
12746 call mswindows versions when appropriate.
12749 move mswin decls to nt.h.
12752 add long comment describing appropriate use of the various windows
12755 2000-06-11 Ben Wing <ben@xemacs.org>
12757 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12759 2000-06-10 Ben Wing <ben@xemacs.org>
12761 * Makefile.in.in (release):
12762 Correction to make sure xemacs.exe always dumped when correct.
12766 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12768 * buffer.c (set_buffer_internal):
12769 [[[[2]]]]: Remove HAVE_FEP code.
12771 * buffer.c (init_initial_directory):
12775 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12779 * callproc.c (call_process_cleanup):
12780 * callproc.c (Fold_call_process_internal):
12781 * callproc.c (child_setup):
12782 * callproc.c (getenv_internal):
12783 * callproc.c (init_callproc):
12784 * callproc.c (vars_of_callproc):
12785 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12786 __CYGWIN32__ -> CYGWIN.
12787 DOS_NT -> WIN32_NATIVE.
12788 Remove MSDOS support/references, converting to WIN32_NATIVE
12790 __MINGW32__ -> MINGW.
12791 Fix windows.h includes.
12792 Remove bogus HAVE_NTGUI.
12798 mswindows_message_outputted added for use in allowing startup
12799 errors on the console to be seen.
12801 * console-msw.c (msw_ensure_console_allocated):
12802 * console-msw.c (msw_output_console_string):
12803 * console-msw.c (DHEADER):
12804 * console-msw.c (DOPAQUE_DATA):
12805 * console-msw.c (DEVENT):
12806 * console-msw.c (DCONS):
12807 * console-msw.c (DCONSCDR):
12808 * console-msw.c (DSTRING):
12809 * console-msw.c (DVECTOR):
12810 * console-msw.c (DSYMBOL):
12811 * console-msw.c (DSYMNAME):
12814 * console-stream.c (stream_init_console):
12815 Fix text/binary problems.
12818 * device-msw.c (mswindows_finish_init_device):
12819 * device-msw.c (mswindows_delete_device):
12822 * device.c (handle_asynch_device_change):
12826 * dgif_lib.c (DGifOpenFileName):
12827 * dgif_lib.c (DGifOpenFileHandle):
12828 * dgif_lib.c (DGifGetLine):
12829 * dgif_lib.c (DGifGetPixel):
12830 Added config.h/lisp.h, fix up includes.
12837 * dired.c (file_name_completion):
12838 * dired.c (Ffile_attributes):
12839 * dired.c (syms_of_dired):
12843 * dumper.c (pdump_file_unmap):
12844 * dumper.c (pdump_load):
12848 * editfns.c (Ftemp_directory):
12849 * editfns.c (user_login_name):
12850 * editfns.c (Fuser_real_login_name):
12851 * editfns.c (get_home_directory):
12854 * elhash.c (finish_marking_weak_hash_tables):
12855 [[[[5]]]]: Fix GCC warnings.
12858 * emacs.c (mswindows_handle_hardware_exceptions):
12859 * emacs.c (make_arg_list_1):
12860 * emacs.c (main_1):
12861 * emacs.c (Fkill_emacs):
12862 * emacs.c (Fdump_emacs):
12864 Fix problems with nested crashes, add long comment.
12866 * event-Xt.c (init_event_Xt_late):
12870 * event-msw.c (mswindows_dde_callback):
12871 * event-msw.c (mswindows_handle_sticky_modifiers):
12872 * event-msw.c (mswindows_wnd_proc):
12876 * events.c (character_to_event):
12880 * fileio.c (Ffile_name_directory):
12881 * fileio.c (Ffile_name_nondirectory):
12882 * fileio.c (directory_file_name):
12883 * fileio.c (Fexpand_file_name):
12884 * fileio.c (Fsubstitute_in_file_name):
12885 * fileio.c (Ffile_name_absolute_p):
12886 * fileio.c (check_executable):
12887 * fileio.c (Ffile_readable_p):
12888 * fileio.c (Ffile_accessible_directory_p):
12889 * fileio.c (Ffile_modes):
12890 * fileio.c (Funix_sync):
12891 * fileio.c (vars_of_fileio):
12894 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12896 Expand getdefdir defn.
12897 Fix bogus rename() comment.
12899 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12900 to use standard XEmacs include files, e.g. sysfile.h, rather
12901 than system-specific includes.
12907 * frame.c (vars_of_frame):
12911 * getloadavg.c (getloadavg):
12913 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12914 (We don't use it elsewhere in the code; just add a comment.)
12921 * glyphs-msw.c (mswindows_resource_instantiate):
12924 * glyphs-x.c (x_native_layout_instantiate):
12927 * gui-msw.c (Fmswindows_shell_execute):
12936 * lread.c (locate_file_in_directory_mapper):
12943 * mem-limits.h (get_lim_data):
12955 * nt.c (rva_to_section):
12956 * nt.c (mswindows_executable_type):
12958 Fix closedir() defn.
12961 [[[[8]]]]: *_OK defs moved to sysfile.h.
12970 * print.c (std_handle_out_external):
12974 * process-nt.c (nt_create_process):
12976 try to fix process quoting somewhat.
12978 * process-unix.c (unix_create_process):
12982 * process.c (vars_of_process):
12989 * realpath.c (xrealpath):
12992 * redisplay-tty.c (init_tty_for_redisplay):
13002 * sheap.c (more_static_core):
13003 * sheap.c (report_sheap_usage):
13007 * signal.c (alarm_signal):
13014 * strftime.c (zone_name):
13017 * symsinit.h (init_sunpro):
13021 commctrl.h not in Cygwin b20.1.
13024 * sysdep.c (endif):
13025 * sysdep.c (sys_subshell):
13026 * sysdep.c (init_baud_rate):
13027 * sysdep.c (emacs_get_tty):
13028 * sysdep.c (emacs_set_tty):
13029 * sysdep.c (tty_init_sys_modes_on_device):
13030 * sysdep.c (init_system_name):
13031 * sysdep.c (sys_open):
13032 * sysdep.c (interruptible_open):
13033 * sysdep.c (sys_fopen):
13034 * sysdep.c (sys_mkdir):
13035 * sysdep.c (sys_rename):
13036 * sysdep.c (get_process_times_1):
13043 * sysdir.h (DIRENTRY_NONEMPTY):
13046 * sysdll.c (dll_init):
13052 added text/binary defs.
13058 * sysproc.h (EDESTADDRREQ):
13059 * sysproc.h (poll_fds_for_input):
13076 Always define WIN32_LEAN_AND_MEAN.
13078 * unexcw.c (unexec):
13082 * unexec.c (copy_text_and_data):
13083 * unexec.c (adjust_lnnoptrs):
13087 * unexnt.c (_start):
13090 2000-06-07 Ben Wing <ben@xemacs.org>
13092 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13093 was used only as a model. We've long since extracted any useful
13094 logic or code out of this. (I just did an exhaustive search.)
13096 * s\msdos.h: Removed.
13098 * s\windows95.h: Removed.
13100 2000-06-10 Ben Wing <ben@xemacs.org>
13104 Don't use extern with fun defs.
13108 Remove nt\inc include.
13109 Remove getdisk, getdefdir. (The former is unused, the latter
13110 expanded in fileio.h.)
13113 * s\windowsnt.h (WIN32_NATIVE):
13114 * s\windowsnt.h (HAVE_STRCASECMP):
13116 Add long comment about preprocessor changes.
13117 Remove getdisk, getdefdir. (The former is unused, the latter
13118 expanded in fileio.h.)
13120 2000-06-10 Ben Wing <ben@xemacs.org>
13129 Remove bogus/unused NO_SOCK_SIGIO.
13131 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13133 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13136 2000-06-04 Mike Sperber <mike@xemacs.org>
13138 * casetab.c (set_case_table): For `set-standard-case-table',
13139 actually deposit the new case tables where the rest of XEmacs can
13142 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13144 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13146 2000-06-05 Ben Wing <ben@xemacs.org>
13148 * callproc.c (child_setup): Don't do close_load_descs() under
13149 MS Windows. Put in a comment explaining why.
13151 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13153 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13154 Toolkit shell" which breaks `kill-compilation' on Windows NT
13155 native, retaining STDERR handling improvements.
13157 2000-06-01 Andreas Jaeger <aj@suse.de>
13159 * s/s390.h: Support for S390, based on a patch by Martin
13160 Schwidefsky <schwidefsky@de.ibm.com>.
13162 2000-05-30 Andy Piper <andy@xemacs.org>
13164 * window.c (allocate_window):
13165 (make_dummy_parent):
13166 (Fset_window_configuration): use new hashtable type.
13168 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13169 (struct image_instantiator_methods):
13170 (struct Lisp_Image_Instance): make instance geometry signed.
13172 * glyphs.c (instantiate_image_instantiator):
13173 (image_instance_query_geometry):
13174 (image_instance_layout):
13175 (image_instance_layout):
13176 (query_string_geometry):
13177 (text_query_geometry):
13178 (image_instantiate):
13179 (image_instantiate):
13180 (cache_subwindow_instance_in_frame_maybe):
13181 (subwindow_query_geometry): make instance geometry signed.
13183 * glyphs-widget.c (widget_query_geometry):
13185 (button_query_geometry):
13186 (tree_view_query_geometry):
13187 (tab_control_query_geometry):
13188 (layout_query_geometry):
13190 (native_layout_layout): make instance geometry signed.
13192 2000-05-29 Olivier Galibert <galibert@pobox.com>
13194 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13197 * general.c (syms_of_general): Add Qfull_assoc symbol.
13199 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13201 (decode_weak_list_type): Decode full-assoc type.
13202 (encode_weak_list_type): Encode full-assoc type.
13203 (Fmake_weak_list): Update doc string.
13205 2000-05-30 Andy Piper <andy@xemacs.org>
13207 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13209 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13210 (decode_hash_table_weakness): ditto.
13211 (Fhash_table_weakness): ditto.
13212 (Fhash_table_type): ditto.
13213 (finish_marking_weak_hash_tables): ditto.
13214 (hash_table_weakness_validate): ditto.
13215 (syms_of_elhash): ditto.
13217 2000-05-28 Martin Buchholz <martin@xemacs.org>
13219 * XEmacs 21.2.34 is released.
13221 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13223 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13225 (updating_line_start_cache): Gone.
13226 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13227 generic code to force a minimum of 1 line laid out in the
13230 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13232 * glyphs.c (instantiate_image_instantiator): Check for initialized
13233 height & width no longer special cases IMAGE_NOTHING.
13234 (nothing_instantiate): Set height and width of instance.
13236 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13238 * unexelf.c (unexec): Search for ".data" section.
13239 Initialize new_data2_offset from old_data_index.
13240 Remove redundant check for ElfW.
13242 2000-05-23 Andy Piper <andy@xemacs.org>
13244 * glyphs.c (get_image_instantiator_governing_domain): allow more
13245 specific domains as the governing domain rather than expecting an
13246 exact match. This fixes problems with layouts.
13248 2000-05-22 Andy Piper <andy@xemacs.org>
13250 * redisplay-output.c (compare_runes): check for non-images
13252 * glyphs.c (set_glyph_dirty_p): ditto.
13253 (update_glyph_cachel_data): ditto.
13255 * glyphs-widget.c (layout_post_instantiate): ditto.
13256 (layout_post_instantiate): ditto.
13258 * event-msw.c (mswindows_wnd_proc): warning removal.
13260 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13262 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13264 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13266 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13268 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13269 (mswindows_executable_type): mingw32 now has enough headers for
13272 2000-05-20 Andy Piper <andy@xemacs.org>
13274 * console-msw.c (mswindows_output_last_error): ; -> ,
13276 2000-05-12 Andy Piper <andy@xemacs.org>
13278 * console-msw.c (FROB): compare ints with ints.
13280 2000-05-11 Andy Piper <andy@xemacs.org>
13282 * glyphs-x.c (x_finalize_image_instance): make minimal build
13285 2000-05-20 Ben Wing <ben@xemacs.org>
13288 * event-Xt.c (vars_of_event_Xt):
13289 move modifier-keys-are-sticky to event-stream.c.
13292 * event-msw.c (mswindows_enqueue_mouse_button_event):
13293 * event-msw.c (key_needs_default_processing_p):
13294 * event-msw.c (XEMSW_LCONTROL):
13295 * event-msw.c (mswindows_handle_sticky_modifiers):
13296 * event-msw.c (FROB):
13297 * event-msw.c (clear_sticky_modifiers):
13298 * event-msw.c (output_modifier_keyboard_state):
13299 * event-msw.c (output_alt_keyboard_state):
13300 * event-msw.c (mswindows_wnd_proc):
13301 * event-msw.c (mswindows_modifier_state):
13302 * event-msw.c (emacs_mswindows_handle_magic_event):
13303 implement sticky modifiers.
13306 * event-stream.c (vars_of_event_stream):
13307 move modifier-keys-are-sticky here.
13310 add CHECK_FUNCTION.
13313 implement map-range-table.
13316 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13318 * redisplay-tty.c (reset_tty_modes):
13319 (tty_redisplay_shutdown): Adjust argument type to
13320 tty_frame_output_end.
13322 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13324 * eval.c (Fbacktrace): Don't output a line with only right
13327 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13329 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13330 (Fpq_reset_poll): Ditto.
13332 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13334 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13336 2000-05-16 Ben Wing <ben@xemacs.org>
13339 * buffer.c (dfc_convert_to/from_internal_format):
13340 * buffer.c (reinit_vars_of_buffer):
13341 Fix conversion functions to allow reentrancy.
13344 * console-msw.c (mswindows_output_last_error):
13345 New fun, generally useful -- output a human-readable
13346 version of GetLastError() on the console.
13349 * console-msw.h (struct mswindows_frame):
13350 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13352 * console-stream.c (stream_output_begin):
13353 * console-stream.c (stream_output_end):
13354 * console-stream.c (stream_output_vertical_divider):
13355 * console-stream.c (stream_clear_region):
13356 * console-stream.c (stream_flash):
13357 * console-stream.c (console_type_create_stream):
13358 Delete blank stream methods, not needed.
13360 * console.h (struct console_methods):
13361 Split begin/end methods into window and frame.
13364 * event-msw.c (mswindows_handle_paint):
13365 * event-msw.c (output_alt_keyboard_state):
13366 * event-msw.c (mswindows_wnd_proc):
13367 * event-msw.c (vars_of_event_mswindows):
13368 Comment about problems with ignored-expose.
13369 Define mswindows-debug-events; not really implemented.
13371 * frame-msw.c (mswindows_init_frame_1):
13375 * glyphs-msw.c (begin_defer_window_pos):
13376 * glyphs-msw.c (mswindows_unmap_subwindow):
13377 * glyphs-msw.c (mswindows_map_subwindow):
13378 * glyphs-msw.c (mswindows_resize_subwindow):
13379 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13381 * glyphs.c (make_image_instance_1):
13384 * gutter.c (Fredisplay_gutter_area):
13385 Use new begin/end methods.
13387 * lisp.h (Dynarr_new2):
13391 * redisplay-msw.c (mswindows_frame_output_begin):
13392 * redisplay-msw.c (mswindows_frame_output_end):
13393 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13394 New begin/end methods -- handle DeferWindowPos.
13396 * redisplay-output.c (redisplay_move_cursor):
13397 * redisplay-output.c (redraw_cursor_in_window):
13398 * redisplay-output.c (redisplay_update_line):
13399 * redisplay-output.c (redisplay_output_window):
13400 New begin/end methods.
13403 * redisplay-tty.c (tty_frame_output_begin):
13404 * redisplay-tty.c (tty_frame_output_end):
13405 * redisplay-tty.c (console_type_create_redisplay_tty):
13406 New begin/end methods.
13409 * redisplay-x.c (x_window_output_begin):
13410 * redisplay-x.c (x_window_output_end):
13411 * redisplay-x.c (console_type_create_redisplay_x):
13412 New begin/end methods.
13414 * redisplay.c (redisplay_frame):
13415 * redisplay.c (Fredisplay_echo_area):
13416 New begin/end methods.
13417 use MAYBE_DEVMETH for clear_frame; it may not exist.
13419 * window.h (WINDOW_XFRAME):
13420 WINDOW_XFOO macros -- get locale and decode struct pointer.
13423 2000-05-12 Ben Wing <ben@xemacs.org>
13426 * emacs.c (ensure_no_quitting_from_now_on):
13427 * emacs.c (fatal_error_signal):
13428 * emacs.c (mswindows_handle_hardware_exceptions):
13430 * emacs.c (Fkill_emacs):
13431 * emacs.c (shut_down_emacs):
13432 * emacs.c (assert_failed):
13433 various improvements in fatal error handling.
13436 move preparing_for_armageddon to emacs.c.
13439 declare fatal_error_in_progress.
13442 * print.c (std_handle_out_external):
13443 * print.c (std_handle_out_va):
13444 * print.c (stderr_out):
13445 * print.c (stdout_out):
13446 use console under mswin when no standard output.
13447 don't do code conversion during fatal error.
13449 * scrollbar.c (Fscrollbar_page_up):
13450 * scrollbar.c (Fscrollbar_page_down):
13451 fix missing else. reindent.
13453 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13457 * glyphs.h (GLYPH_CACHEL_DESCENT):
13458 (GLYPH_CACHEL_DESCENT):
13459 (GLYPH_CACHEL_DESCENT):
13460 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13461 used in case these are inline functions.
13462 Use more absurd values to error check.
13464 include window.h for error check functions.
13466 2000-05-11 Ben Wing <ben@xemacs.org>
13468 * cmdloop.c (Freally_early_error_handler):
13469 Display message box under windows; otherwise, message will disappear
13470 before it can be viewed.
13473 * console-msw.c (Fmswindows_message_box):
13474 * console-msw.c (FROB):
13475 * console-msw.c (syms_of_console_mswindows):
13476 Define new fun `mswindows-message-box'.
13477 #### I will merge this into `popup-dialog-box'; just give me
13481 * general.c (syms_of_general):
13482 Some new symbols used in `mswindows-message-box'.
13485 * glyphs.c (Fset_image_instance_property):
13486 put warning in this fun.
13489 * glyphs.h (GLYPH_CACHEL_WIDTH):
13490 * glyphs.h (GLYPH_CACHEL_ASCENT):
13491 * glyphs.h (GLYPH_CACHEL):
13492 * glyphs.h (GLYPH_CACHEL_GLYPH):
13493 define error-checking versions to try to catch a bug i've seen --
13494 redisplay gets in an infinite loop because the glyph width of the
13495 continuation glyph is 65535.
13498 Extern message-box stuff.
13500 * window.c (allocate_window):
13501 * window.c (make_dummy_parent):
13502 * window.c (Fset_window_configuration):
13503 Use EQUAL not EQ for subwindow caches to make them work a bit
13504 better. (Something is still very broken.)
13507 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13509 * glyphs.c (image_instantiate): Suppress gcc warnings.
13510 (Fmake_image_instance): Fix doc string.
13511 * specifier.c (Fmake_specifier): Ditto.
13513 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13515 * paths.h.in (PATH_LOCK): Removed.
13516 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13517 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13519 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13521 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13522 Document (featurep '(and xemacs 21.02)).
13524 2000-05-09 Ben Wing <ben@xemacs.org>
13526 * buffer.c (complex_vars_of_buffer):
13527 update modeline-format doc.
13530 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13533 timeline of all released versions of Emacs, for use in creating
13534 authorship comments and in synching up.
13536 * glyphs-widget.c (image_instantiator_buttons):
13537 * glyphs-widget.c (image_instantiator_edit_fields):
13538 * glyphs-widget.c (image_instantiator_combo_box):
13539 * glyphs-widget.c (image_instantiator_scrollbar):
13540 * glyphs-widget.c (image_instantiator_progress_guage):
13541 * glyphs-widget.c (image_instantiator_tree_view):
13542 * glyphs-widget.c (image_instantiator_tab_control):
13543 * glyphs-widget.c (image_instantiator_labels):
13544 * glyphs-widget.c (image_instantiator_layout):
13545 * glyphs-widget.c (image_instantiator_native_layout):
13546 rename decode_domain method to governing_domain.
13549 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13550 * glyphs.c (add_entry_to_device_ii_format_list):
13551 make sure we don't put an entry more than once into the list.
13552 * glyphs.c (check_instance_cache_mapper):
13553 *************************************************************
13554 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13556 *************************************************************
13557 * glyphs.c (get_image_instantiator_governing_domain):
13558 clean up, expand on new concept of governing domain.
13559 * glyphs.c (instantiate_image_instantiator):
13560 * glyphs.c (allocate_image_instance):
13561 use governing_domain instead of cache_domain in naming.
13562 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13563 * glyphs.c (make_image_instance_1):
13564 * glyphs.c (Fmake_image_instance):
13565 allow for any domain (not just device), and process the
13566 governing domain correctly. very big doc fix.
13567 * glyphs.c (Fimage_instance_domain):
13568 new primitive, to retrieve the governing domain of an image instance.
13569 * glyphs.c (image_instantiate):
13570 use new governing_domain stuff. this fixes a crash you could get
13571 by instantiating certain widget glyphs in frame locales. (should
13572 signal an error instead of crashing.)
13573 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13574 * glyphs.c (Fglyphp): clean up doc.
13575 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13576 * glyphs.c (syms_of_glyphs):
13577 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13578 * glyphs.c (image_instantiator_format_create): add some comments about
13580 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13581 for current-display-table. (Apparently Hrjove implemented in 1998 a
13582 design I wrote up in 1996, but didn't update the doc string.)
13584 * glyphs.h: clean up a doc string.
13585 * glyphs.h (governing_domain):
13586 * glyphs.h (struct image_instantiator_methods):
13587 changes for governing_domain stuff.
13590 * gutter.c (Fgutter_specifier_p):
13591 * gutter.c (Fgutter_size_specifier_p):
13592 * gutter.c (Fgutter_visible_specifier_p):
13594 * objects.c (Fcolor_specifier_p):
13595 * objects.c (Ffont_specifier_p):
13596 * objects.c (Fface_boolean_specifier_p):
13597 doc strings moved to make-*-specifier.
13599 * redisplay.c (add_disp_table_entry_runes_1):
13600 * redisplay.c (generate_fstring_runes):
13601 * redisplay.c (screen):
13602 add random comments and doc strings.
13605 * specifier.c (Fmake_specifier):
13606 major overhaul of this doc string.
13608 * specifier.c (Fvalid_specifier_domain_p):
13609 comment about the bogosity of image instances being domains.
13610 * specifier.c (decode_domain):
13611 now non-static, used in glyphs.c.
13612 * specifier.c (specifier_instance):
13613 comment about the bogosity of image instances being domains.
13614 * specifier.c (Fgeneric_specifier_p):
13615 move doc string to make-generic-specifier.
13616 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13620 * specifier.h (DOMAIN_FRAME):
13621 * specifier.h (DOMAIN_LIVE_P):
13622 * specifier.h (DOMAIN_XDEVICE):
13624 add comments about problems with these macros.
13625 prototype for decode_domain.
13628 * toolbar.c (Ftoolbar_specifier_p):
13629 move doc string to `make-toolbar-specifier'.
13631 * window.c (window_unmap_subwindows_cache_mapper):
13632 *************************************************************
13633 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13635 *************************************************************
13637 2000-05-09 Andy Piper <andy@xemacs.org>
13639 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13641 * window.c (Fset_window_configuration): reset the frame subwindow
13642 cache and re-initialize the window subwindow caches.
13644 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13646 2000-05-09 Ben Wing <ben@xemacs.org>
13648 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13651 2000-04-26 Mike Woolley <mike@bulsara.com>
13653 * ntheap.c: Changed recreate_heap to limit the amount reserved
13654 for the heap to that which is actually available. Also now
13655 displays a message box (with some dignostics) in the event that
13656 it still can't start.
13658 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13660 * callproc.c (Fold_call_process_internal): GCPRO path
13662 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13664 Patch by Bill Perry.
13666 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13667 back data instead of #ifdef.
13668 (Fscrollbar_page_down): ditto.
13670 2000-05-07 Ben Wing <ben@xemacs.org>
13673 Kludge for defining Qmswindows_tstr.
13676 * nt.c (open_input_file):
13677 * nt.c (open_output_file):
13678 * nt.c (rva_to_section):
13679 * nt.c (mswindows_executable_type):
13680 Move all memory-mapped-file routines here (some were in unexnt.c,
13681 which is bad because they are used by process-nt.c, and unexnt
13682 won't be around when portable dumping). Synched the above routines
13686 Removed ifdef'd out bogus code.
13687 Fixed some prototypes.
13689 * nt.h (file_data):
13690 * nt.h (OFFSET_TO_RVA):
13691 * nt.h (RVA_TO_OFFSET):
13692 * nt.h (RVA_TO_PTR):
13693 Moved the memory-mapped-file structures, macros and prototypes
13694 here, to parallel nt.c. ntheap.h should really be removed
13695 entirely, and it's a non-portable-dumper specific file.
13697 * ntheap.h (round_to_next):
13698 Moved the memory-mapped-file structures, macros and prototypes
13701 * ntproc.c (compare_env):
13702 Moved rva_to_section and mswindows_executable_type to nt.c.
13703 Moved compare_env to process-nt.c.
13704 ntproc.c will die, one day.
13706 * ntproc.c (sys_spawnve):
13707 Account for win32_ -> mswindows_.
13710 * process-nt.c (struct nt_process_data):
13711 * process-nt.c (ensure_console_window_exists):
13712 * process-nt.c (compare_env):
13713 * process-nt.c (nt_create_process):
13714 * process-nt.c (nt_kill_process_by_pid):
13715 * process-nt.c (syms_of_process_nt):
13716 * process-nt.c (vars_of_process_nt):
13717 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13718 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13719 changes). Eliminate our old `nt-quote-process-args' mechanism.
13720 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13721 Move compare_env here from ntproc.c.
13723 * process.c (Fprocess_send_region):
13724 Takes an optional fourth argument, BUFFER, which should fix some
13725 problems with call-process.
13728 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13731 Move ICC_BAR_CLASSES to syscommctrl.h.
13732 Add preliminary macros for MSWindows/Mule. More to come.
13735 * unexnt.c (unexec):
13736 open_output_file moved to nt.c.
13739 2000-05-05 Andy Piper <andy@xemacs.org>
13741 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13742 instance from the frame cache also since GC may catch up too late
13743 to make frame deletion sane.
13745 2000-05-04 Andy Piper <andy@xemacs.org>
13747 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13748 (x_finalize_image_instance): ungcpro on deletion.
13750 * glyphs.c (image_instantiator_format_create): give pointers a
13751 query geometry method so that the geometry is at least set.
13753 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13754 initialize layouts if using widgets.
13756 2000-05-03 Andy Piper <andy@xemacs.org>
13758 * nt.c: remove bogus reference to sysmmsystem.h
13760 * gui-x.c (popup_selection_callback): fix no selection abort.
13762 2000-05-02 Andy Piper <andy@xemacs.org>
13764 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13765 (mswindows_widget_instantiate): ditto.
13767 * glyphs-widget.c (initialize_widget_image_instance): initialize
13768 children correctly.
13769 (widget_instantiate): cope with children and items in the same
13772 * glyphs.c (mark_image_instance): cope with children as a first
13774 (image_instance_equal): ditto.
13775 (image_instance_hash): ditto.
13776 (image_instance_changed): ditto.
13778 2000-04-30 Andy Piper <andy@xemacs.org>
13780 * glyphs.c (subwindow_query_geometry): new function. Return some
13782 (subwindow_instantiate): don't assign dimensions if none have been
13784 (image_instantiator_format_create): add subwindow_query_geometry.
13785 (print_image_instance): cope with layouts as widgets.
13787 2000-04-29 Andy Piper <andy@xemacs.org>
13789 * frame.c (delete_frame_internal): call
13790 free_frame_subwindow_instance_cache so that all subwindows are
13791 finalized before their parent.
13792 (mark_frame): remove subwindow_cachels.
13793 (Fmake_frame): remove subwindow_cachel manipulation.
13794 (allocate_frame_core): subwindow_instance_cache is a weak list.
13795 (delete_frame_internal): set subwindow_instance_cache to nil.
13797 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13799 (mswindows_finalize_image_instance): use the device
13800 not the domain as the domain may have died already.
13802 * glyphs-x.c (x_finalize_image_instance): ditto.
13803 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13806 * redisplay-output.c (redisplay_unmap_subwindows): update for
13807 subwindow instance cache as a weak list.
13808 (redisplay_unmap_subwindows_maybe): ditto.
13809 (redisplay_unmap_subwindows_except_us): ditto.
13811 * glyphs.c (unmap_subwindow): error checking will check the domain
13812 so don't deal with it here. Don't use cachels anymore.
13813 (map_subwindow): ditto.
13814 (update_subwindow_cachel_data): remove old accessor names.
13815 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13816 (Fresize_subwindow): don't update cachel.
13817 (mark_subwindow_cachels):
13818 (update_subwindow_cachel_data):
13819 (add_subwindow_cachel):
13820 (get_subwindow_cachel_index):
13821 (update_subwindow_cachel):
13822 (reset_subwindow_cachels):
13823 (mark_subwindow_cachels_as_not_updated): deleted.
13824 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13825 subwindow instance to the frame cache.
13826 (find_matching_subwindow): update for subwindow instance cache as
13828 (update_widget_instances): ditto.
13829 (image_instance_type_to_mask):inlined.
13830 (free_frame_subwindow_instance_cache): new function. finalize all
13831 subwindows that are instantiated.
13833 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13834 of cachel information.
13835 (IMAGE_INSTANCE_DISPLAY_X):
13836 (IMAGE_INSTANCE_DISPLAY_Y):
13837 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13838 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13839 (XIMAGE_INSTANCE_DISPLAY_X):
13840 (XIMAGE_INSTANCE_DISPLAY_Y):
13841 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13842 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13843 remove subwindow_cachel structure and function references.
13844 (image_instance_type_to_mask): inline from glyphs.c
13846 * redisplay.c (redisplay_frame): remove subwindow_cachel
13849 * frame.h (struct frame): remove subwindow_cachels.
13850 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13852 * frameslots.h: add subwindow_instance_cache.
13854 * window.c (replace_window): check subwindow cache of replacement.
13855 (window_unmap_subwindows_cache_mapper):
13856 (window_unmap_subwindows): new functions. Unmap all subwindows
13857 cached on this window.
13858 (mark_window_as_deleted): unmap all subwindows.
13860 2000-04-27 Andy Piper <andy@xemacs.org>
13862 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13864 * glyphs-widget.c (widget_layout): return something.
13865 (layout_layout): return something. Fail if not initialized.
13866 (layout_query_geometry): ditto.
13867 (image_instantiator_native_layout): new function. Initialized the
13868 native layout type.
13869 (widget_instantiate): don't do layout stuff here.
13871 * glyphs.c (instantiate_image_instantiator): reorded calling or
13872 instantiate and post_instantiate with layout in between.
13873 (image_instance_layout): be more selective about deciding whether
13874 the layout has been done or not.
13876 * glyphs.h (struct image_instantiator_methods): return a value
13877 from layout_method.
13879 2000-04-26 Andy Piper <andy@xemacs.org>
13881 * glyphs.c (allocate_image_instance): make initial width and
13882 height unspecified. Set initialized to 0.
13884 * syscommctrl.h new file. Encapsulates commctrl.h.
13886 * syswindows.h new file. Encapsulates windows.h.
13888 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13890 * console-msw.h: ditto.
13892 * redisplay-tty.c (tty_output_display_block): remove layout references.
13894 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13895 window handle rather than just the frame.
13897 * glyphs.c (mark_image_instance): remove layout references.
13898 (print_image_instance): ditto.
13899 (image_instance_equal): ditto.
13900 (image_instance_hash): ditto.
13901 (decode_image_instance_type): ditto.
13902 (encode_image_instance_type): ditto.
13903 (image_instantiate): ditto.
13904 (allocate_glyph): ditto.
13905 (Fimage_instance_height): ditto.
13906 (Fimage_instance_width): ditto.
13907 (update_subwindow): ditto.
13909 * redisplay-x.c (x_output_display_block): recode for layouts as
13912 * redisplay-output.c (redisplay_output_layout): recode for layouts
13914 (compare_runes): remove layout references.
13916 * redisplay-msw.c (mswindows_output_display_block): recode for
13917 layouts as widgets.
13919 * glyphs-widget.c (image_instantiator_layout): remove
13920 layout_possible_dest_types.
13921 (layout_possible_dest_types): deleted.
13923 * glyphs.h (image_instance_type): remove layout references.
13924 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13925 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13926 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13928 2000-04-25 Andy Piper <andy@xemacs.org>
13930 * glyphs-widget.c (image_instantiator_buttons):
13931 (image_instantiator_edit_fields):
13932 (image_instantiator_combo_box):
13933 (image_instantiator_scrollbar):
13934 (image_instantiator_progress_guage):
13935 (image_instantiator_tree_view):
13936 (image_instantiator_tab_control):
13937 (image_instantiator_labels):
13938 (image_instantiator_layout): call default post_instantiate method.
13939 (widget_post_instantiate): new function. Simply lays out the
13942 * glyphs.h (struct image_instantiator_methods): add
13943 post_instantiate method.
13945 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13948 2000-04-23 Andy Piper <andy@xemacs.org>
13950 * glyphs.h (struct image_instantiator_methods): add
13951 decode_domain_method.
13952 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13953 derived from the domain.
13954 (IMAGE_INSTANCE_FRAME): new accessor.
13955 (XIMAGE_INSTANCE_FRAME): ditto.
13957 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13958 instead of _SUBWINDOW_FRAME.
13959 (finalize_image_instance): ditto.
13960 (Fimage_instance_foreground): ditto.
13961 (Fimage_instance_background): ditto.
13962 (image_instantiate): ditto.
13963 (update_subwindow_cachel): ditto.
13964 (update_subwindow): ditto.
13965 (unmap_subwindow): ditto.
13966 (map_subwindow): ditto
13967 (subwindow_instantiate): ditto.
13968 * glyphs-msw.c (mswindows_update_widget): ditto.
13969 (mswindows_progress_gauge_instantiate): ditto.
13970 (mswindows_tab_control_update): ditto.
13971 * glyphs-x.c (x_update_widget): ditto.
13972 (x_widget_instantiate): ditto.
13973 (x_tab_control_instantiate): ditto.
13974 (x_tab_control_update): ditto.
13975 * event-msw.c (mswindows_wnd_proc): ditto
13977 * glyphs-widget.c (image_instantiator_layout): use
13978 subwindow_decode_domain.
13979 (image_instantiator_buttons): ditto.
13980 (image_instantiator_edit_fields): ditto.
13981 (image_instantiator_combo_box): ditto.
13982 (image_instantiator_scrollbar): ditto.
13983 (image_instantiator_progress_guage): ditto.
13984 (image_instantiator_tree_view): ditto.
13985 (image_instantiator_tab_control): ditto.
13986 (image_instantiator_labels): ditto.
13987 (image_instantiator_layout): ditto.
13989 * glyphs.c: add instance error checking to many functions.
13990 (instantiate_image_instantiator): decode device from cache_domain.
13991 (image_instantiate): partially rewrite by using
13992 decode_image_instantiator_domain to determine what domain the
13993 instance needs to be cached in.
13994 (decode_image_instantiator_domain): new function. Determine what
13995 domain the image needs to be cached in.
13996 (check_window_subwindow_cache): new error checking function.
13997 (check_instance_cache_mapper): ditto.
13998 (check_image_instance_structure): ditto.
13999 (subwindow_decode_domain): new function. Encodes a window as a
14000 subwindow's cache domain.
14001 (image_instantiator_format_create): use it for text and
14004 2000-04-21 Andy Piper <andy@xemacs.org>
14006 * glyphs.c (image_instance_device): new function.
14007 (image_instance_frame): new function.
14008 (image_instance_window): new function.
14009 (image_instance_live_p): new function.
14011 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14014 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14015 (IMAGE_INSTANCE_DOMAIN): new accessor.
14016 (XIMAGE_INSTANCE_DOMAIN): ditto.
14018 * glyphs-x.c (x_finalize_image_instance): device->domain.
14020 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14021 (mswindows_finalize_image_instance): ditto.
14023 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14024 (gif_instantiate): ditto.
14025 (png_instantiate): ditto.
14026 (tiff_instantiate): ditto.
14028 * glyphs.c (instantiate_image_instantiator): use domain rather
14030 (mark_image_instance): device -> domain.
14031 (print_image_instance): ditto.
14032 (finalize_image_instance): ditto.
14033 (image_instance_equal): ditto.
14034 (allocate_image_instance): ditto.
14035 (Fcolorize_image_instance): ditto.
14036 (query_string_geometry): ditto.
14037 (image_instantiate): ditto
14038 (query_string_font): ditto.
14039 (image_instantiate): ditto.
14040 (update_subwindow): ditto.
14041 (unmap_subwindow): ditto.
14042 (map_subwindow): ditto.
14043 (subwindow_instantiate): ditto.
14045 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14046 (DOMAIN_FRAME): ditto.
14047 (DOMAIN_WINDOW): ditto.
14048 (DOMAIN_LIVE_P): ditto.
14049 (XDOMAIN_DEVICE): ditto.
14050 (XDOMAIN_FRAME): ditto.
14051 (XDOMAIN_WINDOW): ditto.
14053 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14054 a valid specifier domain.
14056 2000-04-19 Andy Piper <andy@xemacs.org>
14058 * glyphs-widget.c (syms_of_glyphs_widget): remove
14059 widget-callback-current-channel.
14060 (vars_of_glyphs_widget): ditto.
14063 * gui.c (get_gui_callback): revert to previous behaviour.
14065 2000-04-18 Andy Piper <andy@xemacs.org>
14067 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14068 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14069 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14071 * glyphs.c (image_instance_equal): add margin_width.
14072 (image_instance_hash): ditto.
14074 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14075 (layout_query_geometry): ditto.
14076 (layout_layout): ditto.
14077 (syms_of_glyphs_widget): add margin-width.
14078 (image_instantiator_layout): allow margin-width.
14080 * glyphs.c (update_widget_instances): make a normal function.
14081 (syms_of_glyphs): remove Qupdate_widget_instances.
14084 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14085 so that we don't corrupt ideas about the last event or
14086 command. Remove widget-callback-current-channel fiddling.
14087 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14089 2000-05-01 Martin Buchholz <martin@xemacs.org>
14091 * XEmacs 21.2.33 is released.
14093 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14095 * make-src-depend: Allow dots in header file name.
14097 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14099 * mule-charset.h (struct charset_lookup): Add
14100 next_allocated_1_byte_leading_byte and
14101 next_allocated_2_byte_leading_byte.
14102 * mule-charset.c: Move above two variables so that those values
14105 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14107 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14108 when string length is zero.
14109 (find_charsets_in_emchar_string): Ditto.
14111 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14113 * lisp.h: extern Qdialog and Qmenubar.
14115 * gui-x.c: added events.h.
14116 also fixed typo which made the file uncompilable.
14118 * general.c: Added Qmenubar and Qdialog
14120 2000-04-28 Ben Wing <ben@xemacs.org>
14122 * frame-msw.c (mswindows_init_frame_1):
14123 * frame-msw.c (mswindows_mark_frame):
14124 * event-msw.c (mswindows_enqueue_dispatch_event):
14126 * console-msw.h (struct mswindows_frame):
14127 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14128 there are now three hash tables for callbacks.
14129 mswindows_enqueue_dispatch_event is no longer static.
14131 * dialog-x.c (maybe_run_dbox_text_callback):
14132 * dialog-x.c (dbox_descriptor_to_widget_value):
14133 switch to new cons3 form for callbacks.
14135 * glyphs-msw.c (mswindows_register_gui_item):
14136 * glyphs-msw.c (mswindows_widget_instantiate):
14137 * glyphs-msw.c (add_tree_item):
14138 * glyphs-msw.c (add_tab_item):
14139 new image instance parameter, so it can be passed to callback-ex.
14140 respect :callback-ex as well as :callback.
14142 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14145 * glyphs.c (print_image_instance):
14146 prettify, e.g. now prints widget type.
14149 certain funs have new image instance parameter.
14152 * gui.c (get_gui_callback):
14153 * gui.c (gui_item_add_keyval_pair):
14154 * gui.c (gui_item_init):
14155 * gui.c (gui_add_item_keywords_to_plist):
14156 * gui.c (mark_gui_item):
14157 * gui.c (gui_item_hash):
14158 * gui.c (gui_item_equal):
14159 * gui.c (copy_gui_item):
14160 * gui.c (syms_of_gui):
14161 recognize callback-ex in a number of places.
14162 also, fix the annoying "can't get out of yes-no dialog" bug.
14165 * gui.h (struct Lisp_Gui_Item):
14166 recognize callback-ex in a number of places.
14168 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14169 new parameter in button_item_to_widget_value.
14171 * glyphs-x.c (x_update_widget):
14172 * glyphs-x.c (x_button_instantiate):
14173 * glyphs-x.c (x_button_update):
14174 * glyphs-x.c (x_progress_gauge_instantiate):
14175 * glyphs-x.c (x_edit_field_instantiate):
14176 * glyphs-x.c (x_combo_box_instantiate):
14177 * glyphs-x.c (x_tab_control_instantiate):
14178 * glyphs-x.c (x_label_instantiate):
14179 new image instance parameter in various places.
14182 * event-Xt.c (enqueue_Xt_dispatch_event):
14183 this fun gets exported.
14186 * gui-msw.c (mswindows_handle_gui_wm_command):
14187 handle both :callback and :callback-ex, and generate our own
14188 event because it's one of the callback-ex arguments.
14191 * gui-x.c (popup_selection_callback):
14192 handle both :callback and :callback-ex, and generate our own
14193 event because it's one of the callback-ex arguments.
14194 * gui-x.c (button_item_to_widget_value):
14195 * gui-x.c (gui_items_to_widget_values_1):
14196 * gui-x.c (gui_item_children_to_widget_values):
14197 * gui-x.c (gui_items_to_widget_values):
14198 new image instance parameter in various places.
14200 * fns.c (Freplace_list):
14201 fix small typo in doc string.
14204 declare enqueue_Xt_dispatch_event.
14206 2000-04-28 Ben Wing <ben@xemacs.org>
14209 * buffer.c (Frecord_buffer):
14210 * buffer.c (syms_of_buffer):
14211 delete record-buffer-hook.
14214 * fns.c (Freplace_list):
14215 * fns.c (syms_of_fns):
14216 new primitive replace-list.
14219 slot for old buffer-alist.
14222 exfun replace-list.
14225 * redisplay.c (redisplay_frame):
14226 * redisplay.c (syms_of_redisplay):
14227 * redisplay.c (vars_of_redisplay):
14228 new hook buffer-list-changed-hook.
14231 2000-04-27 Ben Wing <ben@xemacs.org>
14233 * extents.h: extern in_modeline_generation.
14235 * redisplay.c (generate_formatted_string_db): set
14236 in_modeline_generation.
14238 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14239 flags if in modeline generation. otherwise frame-modified-tick
14240 is ticked far too often.
14241 Declare in_modeline_generation.
14243 2000-04-26 Ben Wing <ben@xemacs.org>
14245 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14247 (vars_of_emacs): add quick-build as an error-checking option.
14248 A bit kludgy, but there doesn't seem much point in creating
14249 a real var for this.
14251 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14253 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14255 * redisplay.h (struct display_line): Add a new variable,
14258 * redisplay.c (create_text_block): Set dl->line_continuation if
14259 the line continues.
14260 (create_string_text_block): Ditto.
14261 (regenerate_window_incrementally): Use line_continuation instead
14262 of searching continuation glyph.
14263 (add_margin_runes): Call add_glyph_rune.
14264 (add_glyph_rune): Handle margin glyph.
14266 2000-04-20 Martin Buchholz <martin@xemacs.org>
14268 * filelock.c (fill_in_lock_file_name):
14270 Check for IS_ANY_SEP instead of '/'.
14272 Avoid generating gratuitous garbage. Call user_login_name() directly.
14273 Never check errno without first seeing that system call failed.
14274 (unlock_file): Add GCPRO.
14275 (Flock_buffer): Fix docstring.
14276 (Ffile_locked_p): Fix docstring. Add GCPRO.
14278 2000-04-19 Martin Buchholz <martin@xemacs.org>
14280 * sysdep.c (get_pty_max_bytes):
14281 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14282 strings longer than 252 bytes.
14284 * md5.c: Unconditionally include ANSI header <limits.h>
14286 * glyphs-x.c (convert_EImage_to_XImage):
14287 * lisp-union.h (union Lisp_Object):
14288 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14290 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14292 * filelock.c (current_lock_owner): Remove unused variable o, p.
14294 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14296 * callint.c: Remove multiply defined symbol Qlet
14297 (syms_of_callint): ditto.
14299 2000-04-14 Andy Piper <andy@xemacs.org>
14301 * general.c (syms_of_general): add last-command, this-command, let
14304 * lisp.h: declare various symbols.
14306 * glyphs.h: declare Qwidget_callback_current_channel;
14308 * glyphs-widget.c (syms_of_glyphs_widget): add
14309 Qgui_callback_current_channel.
14310 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14312 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14313 widget-callback-current-channel when invoking the interactive
14314 arg. Also bind last-command and next-command when invoking the
14316 * gui-x.c (popup_selection_callback): ditto.
14318 * gui.c (get_gui_callback): massage args so that we are always
14319 calling eval. This allows us to add our own variable bindings
14322 * glyphs-x.c (x_button_instantiate): use
14323 gui_items_to_widget_values since this is GC safe.
14324 (x_progress_gauge_instantiate): ditto.
14325 (x_edit_field_instantiate): ditto.
14326 (x_label_instantiate): ditto.
14328 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14329 (emacs_Xt_event_widget_focus_out): new function
14330 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14332 (emacs_Xt_event_add_widget_actions): new function. add focus
14333 functions as actions.
14334 (init_event_Xt_late): use it.
14336 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14338 * event-stream.c (Fdispatch_event): Doc fix.
14340 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14342 * postgresql.c: Remove all references to PQsetenv*.
14344 * postgresql.h: Remove references to PGsetenvHandler object.
14345 * lrecord.h (lrecord_type): Ditto.
14347 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14349 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14350 real_heigh and real_width members, and accessor macros for these.
14352 * glyphs-msw.c (init_image_instance_geometry): New function.
14353 (init_image_instance_from_dibitmap): Use it.
14354 (mswindows_resource_instantiate): Use it.
14355 (init_image_instance_from_xbm_inline): Use it.
14356 (mswindows_initialize_image_instance_mask): Use real bitmap
14358 (mswindows_create_resized_bitmap): Ditto.
14359 (mswindows_create_resized_mask): Ditto.
14361 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14362 and bitmap to their surface size.
14364 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14366 * process-unix.c (unix_send_process): Guard against process MIA
14367 after Faccept_process_output.
14369 2000-04-11 Ben Wing <ben@xemacs.org>
14371 * eval.c (unbind_to_hairy): fix brokenness introduced by
14372 nanosecond speed improvements.
14374 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14376 * sunplay.c (init_device): To play sounds correctly, the device
14377 apparently needs to be initialized at least once by XEmacs. Make
14380 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14382 * redisplay.c (add_margin_runes): Add text image glyph
14385 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14387 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14388 gcc is newer than 2.5.
14390 2000-04-06 Colin Rafferty <colin@xemacs.org>
14392 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14394 * fns.c (size_bit_vector):
14395 * alloc.c (size_vector):
14396 (make_vector_internal):
14397 (make_bit_vector_internal):
14398 (sweep_bit_vectors_1):
14399 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14401 2000-04-06 Andy Piper <andy@xemacs.org>
14403 * gmalloc.c (malloc): undo previous change.
14408 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14410 * line-number.c (buffer_line_number): Revert to former version.
14412 2000-04-06 Andy Piper <andy@xemacs.org>
14414 * gmalloc.c (malloc): add error checking.
14419 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14420 button_item_to_widget_value arg.
14422 * glyphs-x.c (x_button_instantiate): add extra
14423 button_item_to_widget_value arg.
14424 (x_progress_gauge_instantiate): ditto.
14425 (x_edit_field_instantiate): ditto.
14426 (x_label_instantiate): ditto.
14428 * gui-x.c (gui_items_to_widget_values_1): add extra
14429 button_item_to_widget_value arg.
14430 (button_item_to_widget_value): add extra menu_item_p arg.
14432 * gui-x.h: change signature of button_item_to_widget_value.
14434 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14435 button_item_to_widget_value arg.
14437 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14439 * buffer.h (struct buffer): auto_save_modified should be long.
14441 2000-04-05 Andy Piper <andy@xemacs.org>
14443 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14445 (button_query_geometry): give a little more room so that athena
14448 2000-04-05 Andy Piper <andy@xemacs.org>
14450 * faces.c (complex_vars_of_faces): The widget face should inherit
14451 the font of the gui-element face.
14453 2000-04-04 Andy Piper <andy@xemacs.org>
14455 * glyphs-x.c (x_button_update): new function. unconditionally
14456 update a button's state when the instance is dirty.
14457 (image_instantiator_format_create_glyphs_x): add x_button_update.
14458 (x_widget_instantiate): remove old resize cruft.
14460 2000-04-02 Andy Piper <andy@xemacs.org>
14462 * frame.c (change_frame_size_1): The introduction of gutters means
14463 that we need to allow 0 as a potential frame dimension.
14465 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14467 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14468 image glyph if allow_cursor.
14469 (add_hscroll_rune): Don't allow cursor to border glyph.
14470 (create_text_block): Ditto.
14472 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14473 text not in buffer.
14474 (redisplay_output_layout): Call ensure_face_cachel_complete for
14478 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14480 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14482 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14485 * redisplay-tty.c (tty_output_display_block): Delete the routine
14486 for text image glyph
14487 * redisplay-x.c (x_output_display_block): ditto
14488 * redisplay-msw.c (mswindows_output_display_block): ditto
14490 2000-02-02 Mike Alexander <mta@arbortext.com>
14492 Note: Some of these were committed by accident as part of other
14495 * regex.c (regex_compile): Avoid compiler warnings.
14497 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14499 * nt.h: Declare term_ntproc correctly.
14501 * nt.c: Remove incorrect declaration of get_home_directory which
14502 is declared correctly in lisp.h.
14504 * keymap.c (get_keyelt): Avoid compiler warnings.
14505 (raw_lookup_key_mapper): Avoid compiler warnings.
14507 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14509 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14511 * filemode.c (mode_string): Avoid compiler warnings.
14513 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14516 * events-mod.h: Undef some things that winuser.h defines differently.
14518 * data.c (Faset): Avoid compiler warnings.
14520 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14522 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14524 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14525 Fall through to simple beep on error.
14526 Replace "extern" by real header file.
14528 * linuxplay.c: Use nativesound.h
14529 (play_sound_data): Return error code. Be less verbose on error.
14531 * sunplay.c: Use nativesound.h
14532 (play_sound_data): Return error code. Be less verbose on error.
14534 * ntplay.c: Use nativesound.h
14535 (play_sound_data): Return fake error code
14537 * sgiplay.c: Use nativesound.h
14538 (play_sound_data): Return error code
14540 * hpplay.c: Use nativesound.h, partially implement
14541 new error code. Break compilation until finished.
14542 (play_sound_data): error code.
14544 * nativesound.h (play_sound_file):
14545 (play_sound_data): Prototype in new header.
14547 2000-03-31 Andy Piper <andy@xemacs.org>
14549 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14550 for toggle and radio buttons.
14551 (image_instantiator_buttons): use it.
14553 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14555 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14556 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14557 found. Scrollbar event probably belonged to some old config.
14559 2000-03-31 Andy Piper <andy@xemacs.org>
14561 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14563 (initialize_widget_image_instance): default layout to
14564 LAYOUT_HORIZONTAL rather than 0.
14565 (widget_instantiate): reverse the item list at the end rather than
14567 (layout_layout): re-code for the border text at the front of the
14568 item list rather than at the end.
14569 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14570 provided by the user.
14571 (widget_query_geometry): comment.
14573 2000-03-30 Andy Piper <andy@xemacs.org>
14575 * glyphs-widget.c (image_instantiator_layout): allow standard
14576 widget keywords in layouts.
14578 * gutter.c (output_gutter): cope with nil gutter contents.
14580 * frame.c (Fset_frame_properties): add gutter docs.
14582 2000-03-29 Andy Piper <andy@xemacs.org>
14584 * toolbar-msw.c (TBSTYLE_FLAT): add.
14585 (mswindows_output_toolbar): minor fiddling.
14587 2000-03-29 Andy Piper <andy@xemacs.org>
14589 * gutter.c (output_gutter): force gutter size recalculation if
14590 what we are trying to display won't fit.
14591 (update_gutter_geometry): new function. A per-gutter version of
14592 update_frame_gutter_geometry.
14593 (update_frame_gutter_geometry): use it.
14594 (redraw_exposed_gutter): add extra debugging output.
14596 2000-03-28 Mike Alexander <mta@arbortext.com>
14598 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14599 (pdump_file_unmap): Implement it on Windows
14600 (pdump_file_get): Save alocated handles for pdump_file_unmap
14602 2000-03-28 Andy Piper <andy@xemacs.org>
14604 * gui.c (get_gui_callback): treat Quit specially.
14606 2000-03-27 Andy Piper <andy@xemacs.org>
14608 * glyphs.c (image_instantiate): be careful to check in the same
14611 2000-03-27 Didier Verna <didier@xemacs.org>
14613 * config.h.in: define the proper SMART_INCLUDE macro.
14614 handle renaming of `foo_h_path' to `foo_h_file'.
14616 * database.c: ditto.
14620 * linuxplay.c: ditto.
14622 * terminfo.c: ditto.
14624 * tooltalk.h: ditto.
14626 2000-03-27 Andy Piper <andy@xemacs.org>
14628 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14629 gets updated whenever the face might have changed.
14631 2000-03-26 Mike Alexander <mta@arbortext.com>
14633 * dumper.c (pdump_resource_free): Fix the comment.
14635 2000-03-21 Olivier Galibert <galibert@pobox.com>
14637 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14639 2000-03-22 Mike Alexander <mta@arbortext.com>
14641 * dumper.c: Include Windows headers on Windows
14642 (pdump_resource_free): Add a body to the function
14643 (pdump_load): exe_name -> exe_path and add some comments.
14645 2000-03-25 Mike Alexander <mta@arbortext.com>
14647 * gui.c (copy_gui_item_tree): Return a value in all cases
14649 2000-03-21 Didier Verna <didier@xemacs.org>
14651 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14653 (SMART_INCLUDE): new macro.
14654 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14655 the proper location.
14657 * postgresql.c: use it.
14661 2000-03-24 Andy Piper <andy@xemacs.org>
14663 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14666 2000-03-24 Andy Piper <andy@xemacs.org>
14668 * redisplay-output.c (compare_runes): use image_instance_changed
14669 to detect changes. Do not depend on glyphs_changed, only depend on
14671 (redisplay_output_layout): add debug messages.
14672 (compare_runes): ditto.
14674 * glyphs.h: declare new functions.
14675 (struct Lisp_Image_Instance): remove percent and associated
14678 * gui.h: declare new copying functions.
14680 * gui.c (copy_gui_item_tree): new function.
14681 (copy_gui_item): new function.
14682 (gui_item_id_hash): revert to standard hash.
14683 (gui_item_hash): ditto.
14684 (gui_item_hash_internal): deleted.
14685 (mark_gui_item): mark value.
14686 (gui_item_add_keyval_pair): add value.
14687 (gui_item_init): ditto.
14688 (gui_add_item_keywords_to_plist): ditto.
14689 (gui_item_equal): ditto.
14690 (syms_of_gui): add Q_value.
14692 * glyphs-x.c (x_progress_gauge_update): use pending items and
14693 value for setting the state.
14694 (x_update_widget): don't set items from pending here.
14696 * glyphs-widget.c (update_widget): update items here.
14697 (progress_gauge_set_property): use items for storing value. Put
14698 new value in pending items.
14700 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14701 items for new value. Convert percent -> value.
14702 (mswindows_tab_control_update): don't update items here.
14704 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14705 (update_subwindow): ditto.
14706 (image_instance_changed): new function. Compare hash values and
14707 past and present widget items.
14708 (image_instantiate): We more careful about where we instantiate
14710 (image_instantiate): add error checking.
14712 * gutter.c (syms_of_gutter): use -hook.
14714 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14716 * console-tty.c (Fset_console_tty_input_coding_system): Use
14718 (Fset_console_tty_output_coding_system): Use Qterminal.
14719 (tty_init_console): Use Qkeyboard and Qterminal.
14721 2000-03-21 Ben Wing <ben@xemacs.org>
14723 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14724 From Mike Alexander <mta@arbortext.com>.
14726 2000-03-21 Ben Wing <ben@xemacs.org>
14728 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14729 process brokenness. Proper implementation to come.
14731 Rename call-process-internal to old-call-process-internal.
14732 New impl. in process.el.
14734 2000-03-21 Martin Buchholz <martin@xemacs.org>
14736 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14738 2000-03-20 Andy Piper <andy@xemacs.org>
14740 * glyphs.c (full_list_hash): make hashes of the same elements in
14741 different orders return different values.
14743 2000-03-20 Martin Buchholz <martin@xemacs.org>
14745 * XEmacs 21.2.32 is released.
14747 2000-03-20 Martin Buchholz <martin@xemacs.org>
14749 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14750 (DFC_MALLOC_USE_CONVERTED_DATA):
14751 Add aliasing-safe casts to allow use with char* or unsigned char*
14754 * eldap.c (Fldap_open):
14755 (Fldap_search_basic):
14758 Make C++-compilable.
14759 Make sure GCPRO'ed variables are initialized.
14760 Use temp variables to avoid repeated calls to Flength.
14762 2000-03-16 Martin Buchholz <martin@xemacs.org>
14765 Make sure PATH_MAX is always defined.
14766 Include limits.h for PATH_MAX.
14767 Deprecate use of MAXPATHLEN.
14769 2000-03-10 Martin Buchholz <martin@xemacs.org>
14771 * emacs.c: Add reinit_vars_of_fileio.
14772 * symsinit.h: Add reinit_vars_of_fileio.
14773 * fileio.c (reinit_vars_of_fileio): New.
14774 * fileio.c (Fmake_temp_name):
14775 Initialize temp_name random number from microseconds to make
14776 collisions even less likely. Initialize always at process startup
14777 time. (make-temp-name) used to return the same file name twice in
14779 Random stylistic fiddling.
14782 2000-03-20 Andy Piper <andy@xemacs.org>
14784 * glyphs.c (image_instantiate): allow text glyphs to be
14785 instantiated in the minibuffer window.
14787 2000-03-19 Andy Piper <andy@xemacs.org>
14789 * glyphs.c (image_instance_hash): be careful about which items we
14792 * glyphs-widget.c (tab_control_set_property): record into pending
14793 items rather than the actual items.
14795 * glyphs-x.c (x_update_widget): use pending items to update with.
14797 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14800 * glyphs.c (mark_image_instance): mark pending items.
14802 * window.c (Fset_window_configuration): record the buffer.
14803 (Fselect_window): totally revert previous change which breaks many
14806 2000-03-18 Andy Piper <andy@xemacs.org>
14808 * glyphs-msw.c (mswindows_tab_control_update): force selected
14811 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14812 window domain cache, otherwise we get inconsistencies at
14813 startup. There is something fishy at startup which can lead to the
14814 minibuffer being the selected window when the gutter content is
14817 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14819 (parse_gui_item_tree_children): ditto.
14820 (parse_gui_item_tree_item): ditto.
14822 * glyphs.c (Fupdate_widget_instances): return something.
14824 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14826 * window.c (Fselect_window): Undo 2000-03-17 change.
14828 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14830 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14831 against v7.0 libraries. Insta-coredump city until the postgres
14834 2000-03-17 Andy Piper <andy@xemacs.org>
14836 * faces.c (complex_vars_of_faces): don't give the widget face an
14837 inherited background pixmap.
14839 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14842 * event-stream.c (Fdispatch_non_command_events): return something.
14844 * gutter.c (output_gutter): use widget face.
14845 (clear_gutter): ditto.
14847 * NEWS: adjust again.
14849 * window.c (Fselect_window): make sure this runs to completion to
14850 avoid oddities with Fset_window_configuration.
14851 (Fcurrent_window_configuration): in general do not save the
14852 minibuffer as the selected window.
14854 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14856 2000-03-16 Olivier Galibert <galibert@pobox.com>
14858 * emacs.c (Frunning_temacs_p): Revert previous patch.
14859 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14861 2000-03-16 Andy Piper <andy@xemacs.org>
14863 * glyphs-x.c (x_tab_control_update): if no widget values then
14866 * NEWS: update for new features.
14868 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14869 synthetic event to the native system.
14870 (reinit_vars_of_event_Xt): set force_event_pending to
14871 emacs_Xt_force_event_pending.
14873 * events.h (struct event_stream): add force_event_pending.
14875 * specifier.c (recompute_one_cached_specifier_in_window): add
14878 * redisplay.c (redisplay_frame): don't call
14879 update_frame_subwindows. Reset subwindow cachels when
14880 subwindows_changed, removing this was an optimization too far.
14882 * redisplay-output.c (compare_runes): reorganize so that we catch
14883 glyph changes when we want them. Set optimize_output when this
14884 would help layouts.
14885 (redisplay_output_layout): remove frame_really_changed, use
14886 optimize_output instead.
14888 * redisplay-msw.c (mswindows_output_display_block): reset
14889 optimize_output after outputting a glyph.
14890 * redisplay-x.c (x_output_display_block): ditto.
14891 * redisplay-tty.c (tty_output_display_block): ditto.
14893 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14895 (gutter_specs_changed): do specific gutter positions.
14896 (top_gutter_specs_changed): new function. Only update the
14897 specified gutter specs.
14898 (bottom_gutter_specs_changed): ditto.
14899 (left_gutter_specs_changed): ditto.
14900 (right_gutter_specs_changed): ditto.
14902 * gui.c (gui_item_hash_internal): new function, does a real hash.
14903 (gui_item_id_hash): use it.
14904 (gui_item_hash): hash the eval'ed gui_item.
14906 * gui-x.c (popup_selection_callback): send an eval event to call
14907 Fupdate_widget_instances.
14909 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14910 to call Fupdate_widget_instances.
14912 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14913 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14915 * glyphs.c: (update_frame_subwindows): deleted.
14916 (Fupdate_widget_instances): new function for updating the dirty
14917 state of widgets that might have changed.
14918 (syms_of_glyphs): add Qupdate_widget_instances.
14919 (full_list_hash): hash a list completely.
14920 (image_instance_hash): use it for items and properties.
14922 * frame-msw.c (mswindows_size_frame_internal): remove unused
14925 * faces.h (struct face_cachel): fix comment.
14927 * event-stream.c (Fdispatch_non_command_events): new
14928 function. Process non-command events, forcing an event cycle
14930 (syms_of_event_stream): declare.
14931 (event_stream_force_event_pending): new function. Force an event
14932 on the native event queue so that an event cycle will occur next
14936 (struct ntpipe_shove_stream):
14937 (mswindows_enqueue_dispatch_event):
14938 (mswindows_dequeue_dispatch_event):
14939 (mswindows_cancel_dispatch_event):
14940 (mswindows_pump_outstanding_events):
14941 (mswindows_drain_windows_queue):
14942 (mswindows_handle_paint):
14943 (mswindows_wnd_proc):
14944 (mswindows_key_to_emacs_keysym):
14945 (get_process_input_waitable):
14946 (emacs_mswindows_delete_stream_pair): re-indent file.
14947 (mswindows_need_event): do not process further fds if the windows
14948 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14949 fixes the 100% cpu problem.
14950 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14952 2000-03-15 Olivier Galibert <galibert@pobox.com>
14958 * emacs.c: Moved dump file searching to dumper.c.
14959 (Frunning_temacs_p): Fixed.
14961 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14962 last_lrecord_type_index_assigned.
14964 2000-02-20 Olivier Galibert <galibert@pobox.com>
14966 * symsinit.h: Added reinit parameter to init_console_stream
14969 * lisp.h: Added file parameter to pdump_load declaration.
14971 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14972 support. Added dump file searching.
14974 * config.h.in: Added EMACS_PROGNAME.
14976 * console-stream.c (init_console_stream): Fix reinitialisation
14977 when running from temacs.
14979 * alloc.c (pdump): Add id support.
14980 (pdump_load): Add file parameter and signature/id support.
14982 * Makefile.in.in: Add full pdump support.
14984 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14986 * postgresql.c: Update documentation to reflect latest code
14988 (print_result): Show tuple counts in printed representation when
14990 (Fpq_put_nbytes): MULE-ize.
14991 (Fpq_get_line_async): Ditto.
14993 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14995 * postgresql.c (Fpq_lo_import): Fix return value.
14996 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14998 2000-03-13 Ben Wing <ben@xemacs.org>
15000 * alloc.c (pdump_load):
15001 Fix compile warning under mswin.
15003 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15005 * postgresql.c: Mule-ization, bug fixes.
15006 Use PG_CODING to encapsulate coding system name changes.
15007 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15008 (pg-coding-system): Create.
15010 (Fpq_conn_defaults): Mule-ize.
15011 (Fpq_connectdb): Mule-ize & bug fix.
15012 (Fpq_connect_start): Mule-ize.
15013 (Fpq_set_client_encoding): Mule-ize.
15014 (Fpq_finish): Document `DEAD' connection status.
15015 (Fpq_clear): Ditto.
15016 (Fpq_pgconn): Mule-ize.
15017 (Fpq_exec): Mule-ize & bug fix.
15018 (Fpq_send_query): Ditto.
15019 (Fpq_get_result): Ditto.
15020 (Fpq_res_status): Mule-ize.
15021 (Fpq_result_error_message): Mule-ize.
15022 (Fpq_ntuples): fix comments.
15023 (Fpq_fname): Mule-ize.
15024 (Fpq_fnumber): Mule-ize.
15025 (Fpq_ftype): fix comments.
15026 (Fpq_get_value): Mule-ize.
15027 (Fpq_cmd_status): Ditto.
15028 (Fpq_cmd_tuples): Ditto.
15029 (Fpq_oid_value): Ditto.
15030 (Fpq_notifies): Ditto.
15031 (Fpq_lo_import): Ditto.
15032 (Fpq_lo_export): Ditto.
15033 (Fpq_get_line): Ditto.
15034 (Fpq_put_line): Mule-ize and bug fix.
15035 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15037 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15039 * postgresql.c (vars_of_postgresql): Mule-ize.
15040 (Fpq_conn_defaults): Ditto.
15042 2000-03-12 Ben Wing <ben@xemacs.org>
15044 * alloc.c (Fmake_byte_code):
15045 * alloc.c (debug_string_purity_print):
15046 * alloc.c (pdump_backtrace):
15047 * alloc.c (pdump_get_indirect_count):
15048 * alloc.c (pdump_register_sub):
15049 * alloc.c (pdump_register_object):
15050 * alloc.c (pdump_register_struct):
15051 * alloc.c (pdump_dump_data):
15052 * alloc.c (pdump_reloc_one):
15056 * console-msw.c (GetConsoleHwnd):
15057 * console-msw.c (msw_hide_console):
15058 * console-msw.c (msw_show_console):
15059 * console-msw.c (msw_ensure_console_buffered):
15060 * console-msw.c (msw_output_console_string):
15061 * console-msw.c (console_type_create_mswindows):
15063 a) Added functions to manipulate the console window for use with
15066 b) Added support for writing text to the console, which is now
15067 used under Windows when xemacs is not being run non-interactively,
15068 to write text that would otherwise be destined for stdout because
15069 under these circumstances, text written to stdout tends to
15070 disappear and not be seen.
15074 * event-Xt.c (x_event_to_emacs_event):
15075 * event-Xt.c (describe_event_window):
15076 * events-mod.h (XEMACS_MOD_CONTROL):
15078 * events.c (Fmake_event):
15079 * events.c (character_to_event):
15080 * events.c (event_to_character):
15081 * events.c (format_event_object):
15082 * events.c (Fevent_modifiers):
15084 * events.h (struct key_data):
15085 * events.h (struct button_data):
15086 * events.h (struct misc_user_data):
15087 * frame-x.c (Fcde_start_drag_internal):
15088 * frame-x.c (Foffix_start_drag_internal):
15089 * gpmevent.c (Freceive_gpm_event):
15091 * keymap.c (bucky_sym_to_bucky_bit):
15092 * keymap.c (control_meta_superify):
15093 * keymap.c (make_key_description):
15094 * keymap.c (keymap_lookup_directly):
15095 * keymap.c (create_bucky_submap):
15096 * keymap.c (keymap_store):
15097 * keymap.c (define_key_check_and_coerce_keysym):
15098 * keymap.c (define_key_parser):
15099 * keymap.c (define_key_alternate_name):
15100 * keymap.c (Fdefine_key):
15101 * keymap.c (raw_lookup_key_mapper):
15102 * keymap.c (struct map_keymap_unsorted_closure):
15103 * keymap.c (map_keymap_unsorted_mapper):
15104 * keymap.c (map_keymap_sort_predicate):
15105 * keymap.c (map_keymap_sorted):
15106 * keymap.c (accessible_keymaps_mapper_1):
15107 * keymap.c (where_is_recursive_mapper):
15108 * keymap.c (describe_map_mapper):
15109 * keymap.c (describe_map_sort_predicate):
15110 * keymap.c (describe_map):
15111 * keymap.c (complex_vars_of_keymap):
15112 And a number of other files, the key modifier preprocessor
15113 constants that xemacs uses have names that conflict with constants
15114 defined under MS Windows for other purposes, so they were renamed
15115 to begin with the prefix XEMACS_. The variables that hold such
15116 modifiers were changed to consistently be of type int to fix
15117 various compile warnings.
15119 * console.c (complex_vars_of_console):
15122 * device-msw.c (mswindows_finish_init_device):
15123 * device-msw.c (msw_get_workspace_coords):
15124 * device-msw.c (mswindows_device_system_metrics):
15125 and various other files, added support for a new
15126 device property called offset-workspace which returns the position
15127 of the upper left corner of the workspace area and goes along with
15128 the existing size-workspace property.
15131 * dialog-msw.c (push_bufbyte_string_as_unicode):
15132 * dialog-msw.c (mswindows_popup_dialog_box):
15133 Added support for XEmacs-style accelerator specifications in
15134 button text. Note: I didn't add support for this under X Windows,
15135 and somebody needs to do this.
15138 * dialog.c (Fpopup_dialog_box):
15139 Documented the support for accelerators that was just mentioned.
15141 editfns.c (get_home_directory): Changed behavior under Windows
15142 when HOME not defined; former behavior was irretrievably broken.
15145 * emacs.c (main_1):
15147 * minibuf.c (clear_echo_area_internal):
15148 * minibuf.c (echo_area_append):
15150 * print.c (std_handle_out_external):
15151 * print.c (std_handle_out_va):
15153 * print.c (write_string_to_stdio_stream):
15154 * print.c (output_string):
15155 * print.c (debug_print):
15156 * print.c (debug_backtrace):
15157 * print.c (debug_short_backtrace):
15158 Cleaned up the code that prints text to stdout so that this can be
15159 changed to output into a console window instead under MS Windows,
15160 as described above.
15163 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15164 * eval.c (internal_catch):
15165 * eval.c (unwind_to_catch):
15166 * eval.c (throw_or_bomb_out):
15167 * eval.c (condition_case_1):
15168 * eval.c (signal_1):
15169 * eval.c (check_error_state_sanity):
15170 * eval.c (call_with_suspended_errors_1):
15171 * eval.c (call_with_suspended_errors):
15172 * eval.c (reinit_vars_of_eval):
15173 Added code to catch throw loops and check for a pesky bug that may
15177 * event-msw.c (key_needs_default_processing_p):
15178 * event-msw.c (mswindows_wnd_proc):
15179 * event-msw.c (mswindows_modifier_state):
15180 * event-msw.c (emacs_mswindows_quit_p):
15181 * event-msw.c (vars_of_event_mswindows):
15182 a) Added support for using the alt key to select menu items as is
15183 standard under MS Windows. This is controlled using the variable
15184 menu-accelerator-enabled, just like under X Windows. There is an
15185 option on the options menu to turn this support on. I really
15186 think that it should be on by default under Windows, but I'm not
15187 going to make this change yet.
15189 b) Added support for dynamic display size changes under Windows.
15192 * event-stream.c (maybe_echo_keys):
15193 * event-stream.c (Fnext_event):
15194 * event-stream.c (command_builder_find_leaf):
15195 * event-stream.c (lookup_command_event):
15196 * event-stream.c (execute_command_event):
15197 * event-stream.c (pre_command_hook):
15198 * event-stream.c (post_command_hook):
15199 * event-stream.c (syms_of_event_stream):
15200 * event-stream.c (vars_of_event_stream):
15201 * event-stream.c (complex_vars_of_event_stream):
15202 * events.h (struct command_builder):
15204 a) Tried to clean up a little bit the horribly written x-specific
15205 accelerator code that crept into this file. I moved this code
15206 into menubar-x.c where it belongs. I also needed to move the
15207 command builder structure into the file events.h because it is
15208 accessed directly by this accelerator code. What I didn't do, but
15209 which should be done at some point, is to properly abstract this
15210 code using device methods instead of the kludgy way that it
15211 currently hooks into the event code.
15213 b) Added the lisp variables this-command-properties and
15214 last-command- properties, which should be used to synchronize two
15215 adjacent commands in preference to playing games with the variable
15216 this-command, which is typically what happens.
15218 c) Added some slightly nasty code to hook into the lisp support
15219 for shifted- motion-key selection. This is actually necessary for
15220 somewhat complicated reasons, which are described in
15221 simple.el. (NB: I think the proper thing would be to have the code
15222 that calls the pre and post command hooks also call out to generic
15223 lisp functions in simple.el, where all built-in stuff could be
15224 added. I will think about this more.)
15226 * event-unixoid.c (poll_fds_for_input):
15227 * lread.c (readchar):
15228 * redisplay-tty.c (tty_clear_frame):
15229 * redisplay-x.c (x_get_gc):
15230 * signal.c (interrupt_signal):
15231 And a whole bunch of other files: fixed up places that printed
15232 directly to stderr to instead call the function stderr_out so that
15233 the changes I made under Windows work correctly.
15235 * filemode.c (mode_string):
15239 * frame-msw.c (mswindows_size_frame_internal):
15240 Fixed the computation of frame size and position to keep the frame
15241 within the workspace area, rather than within the physical
15242 dimensions of the screen, so that the frame doesn't overlap window
15243 manager decorations, such as the start menu and toolbar, typically
15244 at the bottom of the screen.
15246 * frame.c (vars_of_frame):
15247 Changed the default frame title format under MS Windows to consist
15248 of buffername-XEmacs, which is standard under MS Windows. I think
15249 it might be a good idea to change this everywhere because I think
15250 it is superior to the current frame title format, but this is the
15251 kind of change that is likely to cause some people to get annoyed,
15252 so I'm not making it.
15254 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15256 * gui-msw.c (mswindows_handle_gui_wm_command):
15257 Fixed compile warnings.
15260 * gui-x.c (strdup_and_add_accel):
15261 * gui-x.c (button_item_to_widget_value):
15263 Added code to automatically put an accelerator onto the beginning
15264 of menu items that don't have one as is now the standard, and is
15265 described more later. Also fixed things so that the menu item
15266 name can be an evaluated expression, again a new standard.
15269 * gui.c (gui_item_add_keyval_pair):
15270 * gui.c (make_gui_item_from_keywords_internal):
15271 * gui.c (gui_add_item_keywords_to_plist):
15272 * gui.c (gui_item_accelerator):
15273 * gui.c (gui_name_accelerator):
15274 * gui.c (gui_item_included_p):
15275 * gui.c (gui_item_display_flush_left):
15276 * gui.c (gui_item_display_flush_right):
15277 * gui.c (parse_gui_item_tree_item):
15278 * gui.c (parse_gui_item_tree_children):
15279 * gui.c (parse_gui_item_tree_list):
15280 Mule-ized. Cleanup. GCPRO addition.
15282 * line-number.c (buffer_line_number):
15284 * lisp.h (EMACS_INT_MAX):
15285 Added the manifest constant EMACS_INT_MIN corresponding to the
15286 existing constant EMACS_INT_MAX. This is partially to fix compile
15287 warnings under Windows, and partly for cleanliness.
15290 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15291 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15292 * menubar-msw.c (displayable_menu_item):
15293 * menubar-msw.c (populate_menu_add_item):
15294 * menubar-msw.c (populate_or_checksum_helper):
15295 * menubar-msw.c (populate_menu):
15296 * menubar-msw.c (update_frame_menubar_maybe):
15297 * menubar-msw.c (prune_menubar):
15298 * menubar-msw.c (msw_char_is_accelerator):
15299 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15300 * menubar-msw.c (mswindows_handle_wm_command):
15301 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15302 * menubar-msw.c (mswindows_handle_wm_initmenu):
15303 * menubar-msw.c (mswindows_update_frame_menubars):
15304 * menubar-msw.c (mswindows_free_frame_menubars):
15305 * menubar-msw.c (mswindows_popup_menu):
15306 Fixed a bug in handling accelerators where an extra character
15307 would be displayed in the menu item. Also generalized the
15308 function displayable_menu_item because it is now used by the
15309 dialog box code as well. And finally, added code in the functions
15310 that create the menubar to extract a list of accelerators for the
15311 top level menubar, which is used in the event code to determine
15312 whether a particular alt-key combination should be used to invoke
15313 a menu item, or should be passed through to access the standard
15314 XEmacs keymap binding for this key combination.
15316 Much needed GCPROing.
15319 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15320 * menubar-x.c (menu_item_descriptor_to_widget_value):
15321 * menubar-x.c (restore_in_menu_callback):
15322 * menubar-x.c (x_popup_menu):
15323 * menubar-x.c (menu_move_up):
15324 * menubar-x.c (menu_move_down):
15325 * menubar-x.c (menu_move_left):
15326 * menubar-x.c (menu_move_right):
15327 * menubar-x.c (menu_select_item):
15328 * menubar-x.c (command_builder_operate_menu_accelerator):
15329 * menubar-x.c (menu_accelerator_junk_on_error):
15330 * menubar-x.c (command_builder_find_menu_accelerator):
15331 * menubar-x.c (Faccelerate_menu):
15333 Moved a whole bunch of code here that was previously in
15334 event-stream.c as described above. There is also code connected
15335 to the new standard of adding an accelerator to the beginning of
15336 menu items that don't have one as described above and below.
15339 * menubar.c (menu_parse_submenu_keywords):
15340 * menubar.c (Fmenu_find_real_submenu):
15341 * menubar.c (Fnormalize_menu_item_name):
15342 * menubar.c (syms_of_menubar):
15343 * menubar.c (vars_of_menubar):
15344 * menubar.c (complex_vars_of_menubar):
15346 a) Cleaned up a bunch of documentation and improved it.
15348 b) XEmacs now automatically adds an accelerator onto the beginning
15349 of any menu items that don't have one. I did this because there
15350 will inevitably be some menu items on the main menubar that don't
15351 have accelerators on them because the package that adds that
15352 particular menu item hasn't yet been fixed up to have accelerators
15353 in them and it looked rather strange to have some items with and
15354 some items without accelerators, especially since even in items
15355 without accelerators, you can, at least under windows, still
15356 access the item through an accelerator corresponding to the first
15357 character in the item's name. If people don't like this behavior,
15358 I can add a variable to turn it off optionally, but I'm not sure
15359 this is a good idea because we really do need to have accelerators
15360 on all of the menu items, and if a package doesn't like the
15361 accelerators being put on the first character, then it should put
15362 the accelerators where they belong.
15364 c) I made a behavior change, which is that the descriptor that
15365 specifies the text of the menu item, which formerly was just a
15366 string, can now also be an evaluated expression. This makes this
15367 descriptor parallel with all of the others, which could also be
15368 evaluated expressions. This also obviates the need for the
15369 keyword :label, which was previously listed in the documentation
15370 as unimplemented, and which was for the same purpose.
15375 * ntproc.c (new_child):
15376 * ntproc.c (sys_spawnve):
15377 * ntproc.c (find_child_console):
15378 * ntproc.c (sys_kill):
15379 Fixed compile warnings. By the way, this file should really go
15380 away entirely, and this will happen as soon as Kirill makes his
15381 final round of process cleanups, which affect the function
15385 * process-nt.c (struct nt_process_data):
15386 * process-nt.c (find_process_from_pid):
15387 * process-nt.c (send_signal_the_nt_way):
15388 * process-nt.c (enable_child_signals):
15389 * process-nt.c (find_child_console):
15390 * process-nt.c (send_signal_the_95_way):
15391 * process-nt.c (nt_finalize_process_data):
15392 * process-nt.c (ensure_console_window_exists):
15393 * process-nt.c (nt_create_process):
15394 * process-nt.c (nt_kill_child_process):
15395 * process-nt.c (nt_kill_process_by_pid):
15396 * process-nt.c (nt_open_network_stream):
15397 * process-nt.c (vars_of_process_nt):
15398 Copied over code from Emacs 20.5 to correctly send signals to sub-
15399 processes under Windows 95. Also added code to automatically
15400 create and hide console window when a sub-process is created under
15401 Windows 95, which obviates the need for the separate runemacs.exe
15402 executable, and finally implemented some variables that were
15403 implemented in Emacs 20.5, but previously not in XEmacs. These
15404 include mswindows- start-process-share-console and
15405 mswindows-start-process-inherit-error-mode. (Both of these only
15406 apply to Windows 95.)
15408 * regex.c (regex_compile): Fixed a compile warning.
15411 * select-msw.c (mswindows_own_selection):
15412 * select-msw.c (mswindows_get_foreign_selection):
15413 * select-msw.c (mswindows_disown_selection):
15414 * select-msw.c (console_type_create_select_mswindows):
15415 * select-msw.c (syms_of_select_mswindows):
15416 Cleaned up the file and implemented the device method
15417 selection_exists_p, which had accidentally been left out. Also
15418 removed four lisp functions that were remnants from before the
15419 time when the selection code was properly device abstracted.
15420 These functions are no longer needed because there are generic
15421 equivalents, and because they were added recently and don't exist
15422 in FSF Emacs, I don't think there's any problem with just deleting
15426 * sysdep.c (sys_subshell):
15427 Fixed a compile warning, although in this case there's probably
15428 something wrong with this code, and it ought to be looked into
15429 more thoroughly by somebody who understands it.
15432 * window.c (Fwindow_text_area_height):
15433 * window.c (Fwindow_width):
15434 * window.c (Fwindow_full_width):
15435 * window.c (Fwindow_pixel_width):
15436 * window.c (debug_print_window):
15437 * window.c (syms_of_window):
15438 Added functions window-text-area-height and window-full-width,
15439 which are functions for returning various width and height
15440 characteristics of a window. (One of these functions is necessary
15441 for making the file dialog box work correctly, and the other one
15442 was added for completeness.) Also added a table to the
15443 documentation for window-height which describes the entire scheme
15444 for accessing width and height characteristics of a window.
15446 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15448 * nt.c (fstat): Added a comment for another problem with
15449 non-encapsulated [f]stat(), reported by Adrian Aichner
15450 <aichner@ecf.teradyne.com>.
15452 2000-03-11 Andy Piper <andy@xemacs.org>
15454 * window.c (make_dummy_parent): initialize subwindow instance
15456 (Fset_window_configuration): zero extent_modiff.
15458 2000-03-10 Andy Piper <andy@xemacs.org>
15460 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15461 more changes can be triggered.
15462 (Fredisplay_frame): ditto.
15463 (Fredraw_device): ditto.
15464 (Fredisplay_device): ditto.
15465 (redisplay_frame): make non-static.
15466 (redisplay_frame): call update_frame_gutter_geometry outside of
15469 * gutter.h: declare update_frame_gutter_geometry.
15471 * redisplay.h: declare redisplay_frame.
15473 * gutter.c (update_frame_gutter_geometry): move geometry changes
15474 in update_frame_gutters here. Geometry changes can only occur
15475 outside of redisplay.
15476 (update_frame_gutters): remove geometry change code.
15477 (Fredisplay_gutter_area): make sure that we are in display when we
15478 update and that we have flushed any size changes.
15480 2000-03-11 Andy Piper <andy@xemacs.org>
15482 * alloc.c (pdump_dump_data): remove i & count shadows.
15484 2000-02-27 Mike Alexander <mta@arbortext.com>
15486 * sysdep.h: Declare pdump_read_file
15488 * sysdep.c (pdump_read_file): New function
15490 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15493 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15495 * lrecord.h: add `lrecord_type_pgsetenv'.
15497 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15499 * symsinit.h: declare (vars|syms)_of* functions.
15500 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15502 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15504 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15506 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15509 * emacs.c (main_1): Call postgres initialization code.
15511 * postgresql.h: New file. PostgreSQL RDBMS support.
15512 * postgresql.c: New file.
15514 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15516 * redisplay-output.c (redisplay_output_display_block): Disable
15519 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15521 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15522 (Fcanna_henkan_next): Ditto.
15523 (Fcanna_bunsetu_henkou): Ditto.
15524 (Fcanna_henkan_kakutei): Ditto.
15525 (Fcanna_henkan_end): Ditto.
15526 (Fcanna_henkan_quit): Ditto.
15527 (Fcanna_henkan_next): Set retun value correctly.
15528 (c2mu): Use unsigned char instead of signed char.
15530 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15532 * emacs.c (main_1): Always call syms_of_gui.
15533 * inline.c: include gui.h
15535 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15537 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15538 converted to Lisp_Object.
15539 (Qtop_bottom): New variable.
15540 (syms_of_redisplay): Initialize it.
15541 * redisplay.h (Vvisible_bell): Ditto.
15542 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15543 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15544 only flash top and bottom.
15546 2000-03-08 Andy Piper <andy@xemacs.org>
15548 * buffer.c (Frename_buffer): record new buffer name the right way.
15550 2000-03-08 Andy Piper <andy@xemacs.org>
15552 * glyphs.c (update_subwindow): increase hash depth so that widget
15553 items get picked up properly.
15555 * redisplay-output.c (compare_runes): increase hash depth so that
15556 widget items get picked up properly.
15558 2000-03-08 Andy Piper <andy@xemacs.org>
15560 * gutter.c (output_gutter): add some debug.
15562 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15563 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15564 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15566 * redisplay-output.c (compare_runes): use display_hash to
15567 determine if glyphs really are not the same.
15569 * glyphs.c (update_subwindow): check display_hash to see if
15570 anything really needs to be updated. If not then do
15571 nothing. Record the display_hash after updating.
15572 (image_instance_equal): compare the image_instance face also.
15574 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15576 * redisplay.h: Fix comment style.
15578 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15580 * consle-msw.h (struct mswindows_frame):
15581 Added new member paint_pending to indicate whether a WM_PAINT
15582 magic event has been queued for this frame.
15584 * event-msw.c (mswindows_drain_windows_queue):
15585 Don't queue a WM_PAINT magic event if one is already queued.
15586 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15588 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15590 2000-03-07 Didier Verna <didier@xemacs.org>
15592 * dired.c: #include `regex.h' after `sysfile.h'.
15594 2000-03-06 Martin Buchholz <martin@xemacs.org>
15596 * sound.c (init_nas_sound): Fix compiler warning.
15598 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15600 (MARK_STRUCT_AS_FREE):
15601 (MARK_STRUCT_AS_NOT_FREE):
15602 Make `gcc -fstrict-aliasing' work properly.
15604 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15606 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15607 (mswindows_delete_device): Call CoUnnitialize().
15609 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15611 2000-02-25 <CraigL@DyCon.com>
15613 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15616 * sysdep.c: This extern declaration for environ prevents MinGW
15617 from finding the variable in CRTDLL.DLL.
15619 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15621 (SHGFI_EXETYPE): ..
15622 (WM_MOUSEWHEEL): ..
15623 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15625 (MMRESULT): Removed, now defined in cygwin's windows headers.
15627 (uid_t,gid_t,pid_t,ssize_t): ..
15628 (_timeb): Removed, MinGW defines both _timeb and timeb.
15629 (HAVE_H_ERRNO): Added.
15630 (HAVE_TZNAME): Added, configure is not detecting this.
15632 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15634 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15635 * syntax.c (syntax_match): Use it.
15637 * cmds.c: Import auto-fill-chars from FSF Emacs.
15638 (Vauto_fill_chars): New variables.
15639 (internal_self_insert): Check Vauto_fill_chars.
15641 Declare auto-fill-chars as a Lisp variable and initialize it.
15643 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15645 * fileio.c (Fmake_symbolic_link):
15647 Run handlers even if local machine doesn't have symlinks.
15649 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15651 * event-msw.c (mswindows_drain_windows_queue):
15652 Don't generate paint magic events for non-XEmacs frames.
15654 2000-03-05 Andy Piper <andy@xemacs.org>
15656 * redisplay.c (redisplay_frame): generate_displayable_area and
15657 friends assumes that we are not in GC, we therefore have to make
15658 sure that this doesn't happen.
15660 * gutter.c (calculate_gutter_size): generate_displayable_area
15661 assumes that we are not in GC, we therefore have to make sure that
15662 this doesn't happen.
15664 2000-03-05 Martin Buchholz <martin@xemacs.org>
15666 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15668 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15670 * redisplay.c (regenerate_window): Make sure we set a sane value
15671 for end_pos even if we jump out of the loop.
15672 (regenerate_window): Answer Ben's question :-).
15673 (start_end_of_last_line): Add may_error argument.
15674 (start_of_last_line):
15675 (end_of_last_line): Pass may_error = 0.
15676 (end_of_last_line_may_error): New function.
15677 (pixel_to_glyph_translation): Use it, so we don't crash in
15680 2000-03-04 Andy Piper <andy@xemacs.org>
15682 * window.h (struct window): add gutter_extent_modiff.
15684 * window.c (allocate_window): zero out gutter_extent_modiff.
15686 * redisplay.h: declare sync_display_line_structs.
15688 * redisplay.c (add_glyph_rune): add a better comment.
15690 * redisplay-output.c (sync_display_line_structs): made non-static.
15691 (compare_runes): remove unneccesary glyph cachel access.
15693 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15695 * gutter.c (output_gutter): don't output the gutter if extent
15696 changes only involve extents in buffers. use 4 sets of display
15698 (gutter_extent_signal_changed_region_maybe): new function. Mark
15699 extents in gutters as changed.
15700 (update_frame_gutters): use 4 sets of display lines.
15701 (reset_gutter_display_lines): ditto.
15702 (free_frame_gutters): ditto.
15703 (redraw_exposed_gutter): force output of gutters.
15705 * frame.h (struct frame): add 4 sets of gutter display lines.
15707 * extents.c: (extent_changed_for_redisplay): signal changes to
15708 extents in strings in the gutter as well as extents in buffers.
15710 2000-03-02 Andy Piper <andy@xemacs.org>
15712 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15714 * frame.c (Fmake_frame): make sure the gutters get initialized
15715 after the frame is visible.
15716 (set_frame_selected_window): re-arrange compilation macros a
15718 (change_frame_size_1): mark gutters changed.
15720 * device.c (Fset_device_class): mark gutters changed.
15722 2000-03-01 Andy Piper <andy@xemacs.org>
15724 * window.c (window_top_frame_gutter_height): deleted.
15725 (window_bottom_frame_gutter_height): ditto.
15726 (window_left_frame_gutter_height): ditto.
15727 (window_right_frame_gutter_height): ditto.
15728 (window_top_gutter_height): don't use them.
15729 (window_bottom_gutter_height): ditto.
15730 (window_left_gutter_width): ditto.
15731 (window_right_gutter_width): ditto.
15732 (Fsplit_window): ditto.
15733 (Fwindow_pixel_edges): don't use border dimensions here.
15735 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15736 (update_scrollbar_instance): ditto.
15738 * redisplay.c (generate_modeline): don't take gutters into account.
15739 (generate_modeline): ditto.
15740 (redisplay_frame): small gutter display optimization.
15742 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15744 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15745 gutters into account.
15747 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15748 for window position and type.
15750 * gutter.c (get_gutter_coords): fix for frame gutters.
15751 (update_frame_gutters): update frame geometry if the gutters have
15753 (init_frame_gutters): record current gutter geometries.
15755 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15757 (mswindows_widget_instantiate): ditto.
15759 * frame.h (struct frame): add current_gutter_bounds.
15761 * frame.c (change_frame_size_1): position window and minibuffer
15762 appropriately taking into account the frame gutters.
15764 * frame-x.c: (x_initialize_frame_size): take into account the
15767 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15769 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15771 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15773 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15775 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15777 * file-coding.c (reset_decoding_stream): Clear previous
15778 detection state when autodetect.
15780 2000-02-29 Didier Verna <didier@xemacs.org>
15782 * extents.c (set_extent_glyph_1): don't require extents to be
15785 2000-02-27 Andy Piper <andy@xemacs.org>
15787 * gutter.c (Fset_default_gutter_position): don't default left and
15788 right gutter visibility to t.
15789 (Fset_default_gutter_position): run
15790 default-gutter-position-changed-hook.
15791 (syms_of_gutter): add default-gutter-position-changed-hook.
15793 2000-02-26 Andy Piper <andy@xemacs.org>
15795 * specifier.c (Fmake_specifier): add gutter references.
15797 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15799 * lisp.h: declare Fvalid_plist_p.
15801 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15803 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15804 well as its visibility so that it gets reconstructed.
15805 (construct_window_gutter_spec): new function. Construct a string
15806 to be displayed in the gutter from a plist of strings. Take care
15807 to only use elements that are declared as visible.
15808 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15810 (gutter_validate): allow plists of strings in the specifier.
15811 (gutter_specs_changed): construct the real_gutter from the gutter
15812 specs using construct_window_gutter_spec.
15813 (gutter_visible_validate): gutter-visible is a new specifier type.
15814 (Fgutter_visible_specifier_p): new function for the new specifier.
15815 (syms_of_gutter): declare gutter-visible and
15816 Fgutter_visible_specifier_p.
15817 (specifier_type_create_gutter): intitalize new gutter-visible
15819 (reinit_specifier_type_create_gutter): ditto.
15820 (specifier_vars_of_gutter): use new specifier type for gutter
15822 (init_frame_gutters): construct real_gutter correctly.
15823 (Fgutter_specifier_p): beef up documentation.
15824 (Fgutter_size_specifier_p): ditto.
15826 * winslots.h: add real_gutter slots.
15828 2000-02-25 Andy Piper <andy@xemacs.org>
15830 * device-msw.c: Be kind to older cygwin versions. From Raymond
15831 Toy <toy@rtp.ericsson.se>.
15833 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15834 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15836 2000-02-25 Martin Buchholz <martin@xemacs.org>
15838 * elhash.c (MARK_OBJ): Practice macro hygiene.
15840 2000-02-24 Martin Buchholz <martin@xemacs.org>
15842 * miscplay.c: s/__inline__/inline/g;
15843 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15844 (get_device_compdc): INLINE ==> static inline
15845 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15846 find -name '*.h' | \
15847 xargs global-replace \
15848 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15850 2000-02-25 Andy Piper <andy@xemacs.org>
15852 * window.c (window_top_frame_gutter_height): new function.
15853 (window_top_window_gutter_height): ditto.
15854 (window_top_gutter_height): use them.
15855 (window_bottom_frame_gutter_height): new function.
15856 (window_bottom_window_gutter_height): ditto.
15857 (window_bottom_gutter_height): use them.
15858 (window_left_window_gutter_width): new function.
15859 (window_left_frame_gutter_width): ditto.
15860 (window_left_gutter_width): use them.
15861 (window_right_window_gutter_width): new function.
15862 (window_right_frame_gutter_width): ditto.
15863 (window_right_gutter_width): use them.
15864 (window_pixel_height): new function. calulate window pixel height
15865 with frame gutter involvement.
15866 (Fsplit_window): calculate new sizes taking frame gutters into
15868 (window_char_height_to_pixel_height): don't include frame gutters.
15869 (window_char_height): use window_pixel_height.
15870 (window_pixheight): rename from window_pixel_height.
15871 (change_window_height): use it.
15872 (window_pixel_height_to_char_height): don't include frame gutters.
15873 (window_char_width_to_pixel_width): ditto.
15875 2000-02-25 Andy Piper <andy@xemacs.org>
15877 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15880 2000-02-24 Martin Buchholz <martin@xemacs.org>
15882 * alloc.c (staticpro):
15883 (staticpro_nodump):
15888 (compact_string_chars):
15889 (pdump_dump_wired):
15890 Convert: if (foo) abort(); ==> assert (! foo);
15892 * eldap.c (Fldap_search_basic):
15896 Fix compiler warnings, and possible crashes if (random) return
15897 value were to be used.
15899 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15901 * device-msw.c: Workaround ResetDC failure.
15903 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15904 applying a devmode.
15906 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15907 (mswindows_text_width): Do not start printer page.
15909 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15911 * glyphs-msw.c: Added image methods to msprinter console and
15912 msprinter-specific image instantiation.
15914 2000-02-20 Mike Alexander <mta@arbortext.com>
15916 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15917 to avoid crashes when selection-sets-clipboard is on
15918 (mswindows_own_selection): ditto
15920 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15923 * redisplay-msw.c (get_frame_dc):
15924 (get_frame_compdc):
15926 * device-msw.c (mswindows_init_device):
15927 (mswindows_delete_device):
15928 (msprinter_init_device):
15929 (msprinter_delete_device):
15930 * frame-msw.c (mswindows_init_frame_1):
15931 (mswindows_delete_frame):
15932 (msprinter_init_frame_3):
15933 (msprinter_delete_frame): Move compatible DC to device object from
15934 frame object, for both mswindows and msprinter. Only one at a time
15935 is needed, it is a real waste to have one per frame!
15937 2000-02-23 Andy Piper <andy@xemacs.org>
15939 * glyphs.c: add dynamic width and height elements.
15940 (image_instance_equal): ditto.
15942 * glyphs-widget.c (widget_query_geometry): calculate width and
15943 height dynamically if required.
15944 (initialize_widget_image_instance): initialize dynamic dimensions.
15945 (widget_instantiate): pick-up dynamic dimensions.
15947 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15948 dynamic determination. Add appropriate macros.
15950 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15952 (WINDOW_GUTTER_SIZE): ditto.
15953 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15955 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15957 (get_frame_dc): ditto.
15959 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15962 2000-02-23 Martin Buchholz <martin@xemacs.org>
15964 * XEmacs 21.2.31 is released.
15966 2000-02-22 Ben Wing <ben@xemacs.org>
15968 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15970 2000-02-22 Andy Piper <andy@xemacs.org>
15972 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15974 2000-02-21 Mike Sperber <mike@xemacs.org>
15978 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15981 2000-02-21 Mike Sperber <mike@xemacs.org>
15983 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15985 2000-02-21 Martin Buchholz <martin@xemacs.org>
15987 * XEmacs 21.2.30 is released.
15989 2000-02-20 Martin Buchholz <martin@xemacs.org>
15991 Performance hacking.
15993 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15994 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15995 * emacs.c (main_1):
15997 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15998 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15999 * symeval.h (DEFVAR_SYMVAL_FWD):
16000 * symbols.c (guts_of_unbound_marker):
16001 Make all c_readonly objects also lisp_readonly and marked for life.
16002 * lrecord.h (struct lrecord_implementation):
16003 Document flags better.
16004 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16005 * lrecord.h (DECLARE_LRECORD):
16006 * lrecord.h (XSETRECORD):
16007 * lrecord.h (RECORDP):
16008 * lrecord.h (RECORD_TYPEP):
16009 * lrecord.h (RECORD_MARKER): New.
16010 * lrecord.h (error_check_*):
16011 * lrecord.h (CONCHECK_NONRECORD):
16012 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16013 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16014 * lrecord.h (set_lheader_implementation):
16015 * lrecord.h (enum lrecord_type): New.
16016 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16017 * alloc.c (disksave_object_finalization_1):
16018 * alloc.c (mark_object):
16019 * alloc.c (lrecord_type_index):
16020 * alloc.c (tick_lcrecord_stats):
16021 * alloc.c (Fgarbage_collect):
16022 * alloc.c (init_alloc_once_early):
16023 * alloc.c (pdump_load):
16024 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16025 * alloc.c (lrecord_type_index): Delete.
16026 Make lisp object type indexes be constant.
16027 Makes (byte-compile) 5% faster.
16028 Put all marker functions into their own array.
16029 Makes (garbage-collect) 5% faster.
16030 Optimize SYMBOL_VALUE_MAGIC_P.
16031 Makes (byte-compile) 2-3% faster.
16032 * config.h.in (gc_checking_assert): New.
16033 * alloc.c: Use gc_checking_assert().
16034 * .dbxrc: Make compatible with new object type implementation.
16035 * .gdbinit: Make compatible with new object type implementation.
16036 * alloc.c: Delete all symbols defined only for debugging, such as
16037 Lisp_Type_Vector and lrecord_charset.
16039 2000-02-21 Andy Piper <andy@xemacs.org>
16041 * gui-msw.c (Fmswindows_shell_execute): fix file location
16044 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16045 unshowing so that set_window_buffer doesn't undo
16046 kill_buffer_hook's hard work.
16048 * glyphs-widget.c (tab_control_query_geometry): don't count the
16049 first item when calculating geometry.
16051 * glyphs.c (map_subwindow): remove redundant code.
16052 (update_frame_subwindows): be more circumspect about when to
16055 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16056 when items haven't changed. Update faces if faces have changed as
16057 well as just the widget face.
16058 (x_tab_control_update): Update faces if faces have changed as well
16059 as just the widget face.
16061 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16063 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16065 (build_syscolor_string): Use mswindows_color_to_string to try to
16067 (mswindows_device_system_metrics): Reverse the foreground and
16068 background colors so that they match the documentation.
16070 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16071 they match the default Windows palette.
16072 (mswindows_color_to_string): New function.
16074 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16076 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16078 2000-02-18 Olivier Galibert <galibert@pobox.com>
16080 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16081 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16083 * symbols.c (init_symbols_once_early): Removed obsolete
16084 DATA_SEG_BITS related kludge.
16085 (defvar_magic): Ditto.
16087 * malloc.c: Removed obsolete DATA_SEG_BITS
16089 * mem-limits.h: Ditto.
16091 * Makefile.in.in: Removed obsolete HAVE_SHM
16094 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16096 * device-msw.c (mswindows_delete_device): Free DDE string
16099 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16101 * keymap.c (get_keyelt):
16102 * unexnt.c (unexec):
16103 * vm-limit.c (memory_warnings):
16104 * ntheap.c (recreate_heap):
16105 * ntheap.h (UNINIT_PTR):
16106 * select-msw.c (Fmswindows_get_clipboard):
16107 (Fmswindows_set_clipboard):
16108 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16110 * menubar-msw.c (displayable_menu_item):
16112 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16113 * sysdep.c (sys_subshell):
16114 * process-nt.c (nt_create_process):
16115 * nt.c (normalize_filename):
16116 (dostounix_filename):
16117 (unixtodos_filename):
16118 * ntproc.c (win32_executable_type):
16119 * ntplay.c (play_sound_data_1):
16121 * editfns.c (get_home_directory):
16122 * event-msw.c (struct winsock_stream):
16123 (mswindows_dde_callback):
16124 * device-msw.c (msprinter_init_device):
16125 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16127 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16128 mswindows_clear_toolbar were swapped!
16130 * objects-msw.c:(colormap_t):
16132 * emacs.c (struct standard_args): Fixed const jumble.
16134 * glyphs-widget.c (update_widget): Fixed comparison notation.
16136 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16138 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16139 __declspec(noreturn) syntax.
16141 2000-02-19 Martin Buchholz <martin@xemacs.org>
16143 * eldap.c (Fldap_open):
16144 (Fldap_search_basic):
16147 Use new coding system conversion macros.
16149 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16151 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16153 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16155 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16156 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16158 * eldap.c (Qadd, Qreplace): New constant symbols
16159 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16160 interruptions by XEmacs signals
16161 Remove unnecessary calls to slow_down_interrupts and
16162 speed_up_interrupts
16163 (Fldap_search_basic): Renamed from Fldap_search_internal
16164 Added new optional parameter VERBOSE that triggers the
16165 display of progress messages
16166 Remove unnecessary calls to slow_down_interrupts and
16167 speed_up_interrupts
16168 LDAP result code analysis rewritten
16169 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16170 (syms_of_eldap): Define the new symbols and functions
16173 2000-02-17 Martin Buchholz <martin@xemacs.org>
16175 * realpath.c: Determine PATH_MAX maximally portably.
16177 * insdel.c (bytecount_to_charcount): Optimize.
16178 The function used to be optimized for entirely ASCII sequences.
16179 Now it is optimized for successive characters from the same
16180 charset. This also wins big for _mostly_ ASCII sequences.
16182 * fileio.c (Ffile_truename): convert return from realpath() using
16183 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16184 - Rewrite GCPROing slightly.
16186 * sysdep.c (sys_open): Do filename conversion, like all other
16187 sys_* functions. Fixes bug:
16188 (let ((file-name-coding-system 'iso-8859-2))
16189 (write-region x y latin2-name))
16190 ==> writes filename using internal encoding.
16192 2000-02-18 Martin Buchholz <martin@xemacs.org>
16194 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16195 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16196 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16197 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16198 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16199 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16200 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16201 (CONST_IF_NOT_DEBUG): Delete.
16202 * alloc.c (this_one_is_unmarkable): Delete.
16203 (mark_object): Don't check for this_one_is_unmarkable. Use the
16204 c_readonly flag instead.
16205 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16207 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16209 * event-msw.c (mswindows_drain_windows_queue):
16210 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16211 away redundant repaint events.
16213 2000-02-17 Andy Piper <andy@xemacs.org>
16215 * redisplay.h: declare mark_redisplay_structs.
16217 * redisplay.c (redisplay_window):
16218 (redisplay_frame): don't check subwindows_state_changed.
16219 (mark_redisplay): mark gutters here.
16221 * glyphs.c: (instantiate_image_instantiator): always layout if we
16222 haven't done so already.
16223 (allocate_image_instance): don't mark as dirty.
16224 (update_subwindow): bind inhibit_quit.
16226 * gutter.c (mark_gutters): new function.
16228 * glyphs-x.c (x_update_widget): Always resize to get round a
16231 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16232 breaking absolutely everything.
16234 * gutter.h: declare mark_gutters.
16236 2000-02-16 Martin Buchholz <martin@xemacs.org>
16238 * XEmacs 21.2.29 is released.
16240 2000-02-15 Olivier Galibert <galibert@pobox.com>
16242 * fns.c (size_bit_vector): Fix computation of the size.
16244 2000-02-15 Martin Buchholz <martin@xemacs.org>
16246 * *.[ch]: Change CONST to const globally.
16247 find -name '*.[ch]' | \
16248 xargs global-replace \
16249 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16250 - Remove vestigial references to CONST_IS_LOSING
16252 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16254 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16255 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16256 events instead of dispatching them directly.
16257 (mswindows_handle_paint): New function to do repainting.
16258 (mswindows_wnd_proc):
16259 (emacs_mswindows_handle_magic_event): Call above function.
16261 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16263 * objects-msw.c (mswindows_create_font_variant): Return the new
16265 (initialize_font_instance): Get font metrics from the underlined
16266 variant of the font to cope with the case where the underlined
16267 font has a bigger descent.
16269 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16271 * gui.c (gui_item_accelerator): Return the first underlined
16272 character in item name.
16274 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16276 * lisp.h: Added Qprinter.
16278 * general.c (syms_of_general): Initialized it.
16280 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16282 (get_frame_compdc): Made inline.
16284 * console.h (struct console_methods): Added eject_page method.
16286 * frame.h: Added FRAME_DISPLAY_P and friends.
16287 Aligned backslahes in many macros in more readable fashion.
16288 Added page_number to struct frame, and an accessor macro
16291 * defice.h: Added DEVICE_DISPLAY_P and friends.
16293 * device.c (Fdevice_printer_p): Used these.
16295 * frame.c (allocate_frame_core): Initialize page number.
16296 (Fprint_job_page_number):
16297 (Fprint_job_eject_page): Implemented.
16299 * frame-msw.c (msprinter_eject_page): Added method.
16300 (msprinter_start_page): Added.
16302 * window.c (Fwindow_truncated_p): Fixed docstring.
16303 (Fwindow_last_line_visible_height): Implemented.
16305 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16307 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16309 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16311 * syntax.c (scan_words): Always advance at least one character.
16313 2000-02-13 Andy Piper <andy@xemacs.org>
16315 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16316 to make sure the glyph is in the cachels.
16318 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16319 global image instance flag.
16320 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16321 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16323 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16324 (Fset_image_instance_property): mark layout as changed.
16325 (invalidate_glyph_geometry_maybe): mark layout as changed.
16326 (glyph_width): use new NEEDS_LAYOUT macro.
16327 (glyph_ascent): ditto.
16328 (glyph_descent): ditto.
16329 (glyph_height): ditto.
16330 (image_instance_layout): mark layout as clean after laying out.
16331 (update_subwindow): don't mark layout as clean here.
16333 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16334 should no longer be needed.
16336 * glyphs-x.c (x_update_widget): sanitize asserts.
16337 (x_finalize_image_instance): sanitize assignment to widgets.
16339 * glyphs-widget.c (widget_instantiate): don't need to clear the
16342 2000-02-13 Martin Buchholz <martin@xemacs.org>
16344 * sysdep.c (getcwd): Use standard prototype.
16345 * sysdep.h (getcwd): Use standard prototype.
16347 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16348 (sequence, start, end).
16349 Remove redundant type checking.
16350 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16351 view of `caller-protects') to avoid a crash where the real fix was
16354 2000-02-12 Martin Buchholz <martin@xemacs.org>
16356 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16358 * s/sol2.h: Remove feature macro initialization.
16360 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16361 (vector_hash): New. Code from internal_hash.
16363 Fix up allocation subsystem comments.
16365 * config.h.in: Add __EXTENSIONS__ for Solaris.
16367 * systime.h (EMACS_GETTIMEOFDAY): New.
16368 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16369 Remove Solaris-specific code.
16370 Use void* for the (ignored) second arg for gettimeofday().
16372 * elhash.c (hash_table_hash): Implement it, finally.
16373 * elhash.c: Use hashcode_t.
16375 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16376 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16378 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16379 * fns.c (size_bit_vector):
16380 * alloc.c (size_vector):
16381 (make_vector_internal):
16382 (make_bit_vector_internal):
16383 (sweep_bit_vectors_1):
16384 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16386 2000-02-10 Martin Buchholz <martin@xemacs.org>
16388 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16389 Include strings.h to avoid warnings for bzero and strcasecmp.
16391 2000-02-10 Olivier Galibert <galibert@pobox.com>
16393 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16394 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16396 * fns.c (size_bit_vector): New. Declare bit vectors as a
16399 2000-02-10 Olivier Galibert <galibert@pobox.com>
16401 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16402 use a value field instead.
16403 (symbol_value_forward_forward): Use value field.
16404 (DEFVAR_SYMVAL_FWD): Use value field.
16405 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16406 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16407 (DEFVAR_CONST_INT): Ditto.
16408 (DEFVAR_BOOL): Ditto.
16409 (DEFVAR_CONST_BOOL): Ditto.
16410 (DEFVAR_INT_MAGIC): Ditto.
16411 (DEFVAR_BOOL_MAGIC): Ditto.
16413 * symbols.c (guts_of_unbound_marker): Use value field.
16414 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16415 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16417 * lisp.h: Declare dumpopaque and noninteractive1.
16419 * alloc.c (dumpopaque): Added.
16420 (pdump_dump_opaquevec): Added.
16421 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16422 (pdump_load): Reload opaque data. Sync noninteractive1 with
16425 2000-02-10 Andy Piper <andy@xemacs.org>
16427 * glyphs.c (image_instance_layout): if the size changes, mark it
16430 * redisplay-output.c (redisplay_output_layout): Update the
16432 (redisplay_output_subwindow): ditto.
16434 * glyphs.c (update_subwindow): make sure we reset flags for
16435 layouts as well as everything else.
16437 * glyphs-widget.c (layout_layout): don't need to set the instances
16440 2000-02-09 Martin Buchholz <martin@xemacs.org>
16442 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16443 not HAVE_DLOPEN, which is a lower-level thing.
16445 * .cvsignore: Ignore gmon.out
16447 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16449 * .cvsignore: Ignore portable dumper xemacs.dmp file
16451 2000-02-09 Andy Piper <andy@xemacs.org>
16453 * redisplay-output.c (redisplay_output_layout): be more clever
16454 about when we output based on the changed flags.
16456 * glyphs.h (struct image_instantiator_methods): add update_method.
16457 (struct Lisp_Image_Instance): add changed flags. Declare new
16458 macros for manipulating them.
16460 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16461 (image_instance_parent_glyph): find an image_instance's parent
16462 glyph or image_instance.
16463 (image_instance_layout): mark the size as changed.
16464 (set_image_instance_dirty_p): new function. mark an image
16465 instance, plus all of its parents, as dirty.
16466 (Fset_image_instance_property): use it.
16467 (Fglyph_animated_timeout_handler): use it.
16468 (update_subwindow): call update_widget and device methods for
16469 update_subwindow. Mark all changed flags as clean.
16470 (Fresize_subwindow): mark size as changed.
16472 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16474 (x_update_subwindow): only resize subwindows here.
16475 (x_update_widget): new function. Update all changed properties of
16477 (x_resize_subwindow): deleted.
16478 (x_widget_set_property): deleted.
16479 (x_progress_gauge_set_property): deleted.
16480 (x_progress_gauge_update): new function. Implement recorded
16482 (x_tab_control_update): ditto.
16483 (x_tab_control_set_property): deleted.
16484 (console_type_create_glyphs_x): declare new functions.
16485 (image_instantiator_format_create_glyphs_x): ditto.
16487 * glyphs-widget.c (widget_set_property): mark text changed.
16488 (update_widget): new function. Update properties of a widget.
16489 (widget_instantiate): for layouts make sure we set their
16490 children's parent correctly.
16491 (tab_control_set_property): new function. Record changes that will
16492 take place under redisplay's control.
16493 (progress_gauge_set_property): ditto.
16494 (image_instantiator_progress_guage): declare new functions.
16495 (image_instantiator_tab_control): ditto.
16497 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16499 (mswindows_update_widget): new function. Update all properties on
16500 a widget that have changed.
16501 (mswindows_button_update): new function. Update a button's set
16503 (mswindows_tab_control_update): new function. Update the items in
16505 (mswindows_tab_control_set_property): deleted.
16506 (mswindows_progress_gauge_update): new function. Update the
16507 progress gauge's progress.
16508 (mswindows_widget_set_property): deleted. This is all done
16509 asynchronously now.
16510 (mswindows_progress_gauge_set_property): ditto.
16511 (console_type_create_glyphs_mswindows): declare new methods.
16512 (image_instantiator_format_create_glyphs_mswindows): ditto.
16514 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16515 (msprinter_set_frame_properties): ditto.
16517 * console.h (struct console_methods): Add update_widget_method.
16519 2000-02-09 Andy Piper <andy@xemacs.org>
16521 * gui-msw.c (Fmswindows_shell_execute): Make
16522 mswindows-shell-execute industrial strength.
16524 2000-02-08 Martin Buchholz <martin@xemacs.org>
16526 * lrecord.h: Make macro argument `props' match member function `plist'.
16529 * fns.c (Fremprop):
16530 * fns.c (Fobject_plist):
16533 Object property list frobbing cleanup.
16534 - Allow any lisp object (compared with `eq'), not just symbols, as
16535 keys in object plists.
16536 - Move symbol plist frobbing into symbols.c, where it belongs.
16537 - Move string plist frobbing into alloc.c, where it belongs.
16538 - Everything's an lrecord now, so no need to test for symbolp, etc.
16539 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16541 * extents.c: Reorder code to remove declarations.
16543 * frame.h (store_in_alist): Remove useless declaration.
16545 2000-02-07 Martin Buchholz <martin@xemacs.org>
16547 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16548 * config.h.in: Add HAVE_XCONVERTCASE.
16550 2000-02-07 Andy Piper <andy@xemacs.org>
16552 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16553 it breaks many things.
16555 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16557 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16558 actually can start a common comment type.
16559 * src/syntax.h (SYNTAX_END_P): ditto for end.
16561 2000-02-07 Martin Buchholz <martin@xemacs.org>
16563 * XEmacs 21.2.28 is released.
16565 2000-02-06 Martin Buchholz <martin@xemacs.org>
16567 * event-Xt.c (x_keysym_to_character): New.
16568 (maybe_define_x_key_as_self_inserting_character): New.
16569 (x_has_keysym): New.
16570 Auto-define all keys on the keyboard as self-insert-key.
16572 2000-02-02 Martin Buchholz <martin@xemacs.org>
16574 * menubar.c (vars_of_menubar): A small code simplification.
16576 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16579 * ExternalClient.c:
16580 * EmacsShell-sub.c:
16583 Use consistent style for specifying X resources.
16585 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16586 This makes (dontusethis-set-symbol-value-handler) actually usable.
16588 * lrecord.h (lrecord_decription_type):
16589 * alloc.c (pdump_register_sub):
16592 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16593 Comply with XEmacs coding style.
16594 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16595 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16597 * keymap.c (Faccessible_keymaps):
16598 Make (accessible-keymaps map "\C-h") do the Right Thing.
16599 Make (accessible-keymaps map []) do the Right Thing.
16600 Make (accessible-keymaps map "") do the Right Thing.
16601 (check_keymap_definition_loop): New function.
16602 (keymap_store_internal): Keep luser from shooting self in foot,
16603 via (define-key ctl-x-4-map "p" global-map).
16604 Remove fullness slot from struct Lisp_Keymap, since hash tables
16606 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16608 2000-01-30 Martin Buchholz <martin@xemacs.org>
16610 * redisplay.c (init_redisplay): Fix small memory leak.
16612 * elhash.c (pdump_reorganize_hash_table):
16613 Rename from reorganize_hash_table. Change prototype.
16614 Reuse the original memory for hentries. Save 100k.
16615 * alloc.c (PDUMP_READ): new macro.
16616 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16617 * alloc.c: No need to #ifndef before #undef.
16619 * print.c: Allow debug_print() to print readably by modifying
16620 debug_print_readably. Use consistent variable names.
16622 * .dbxrc: Try to get things to work even if stopped in a function
16623 without source available by explicitly specifying source files.
16624 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16626 * unexnt.c (_start): Removed bogus code which caused loading heap
16627 from differrent executable file.
16628 Removed bogus assignment to _fmode, which caused inconsistencies.
16630 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16632 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16633 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16634 Do not preliminary `#define signal sigset'.
16636 * systime.h: Do not prototype environ on windows nt and cygwin,
16637 this conflicts with system header.
16639 * syssignal.h: Use correct define for WINDOWSNT
16641 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16642 with system header.
16644 * sysdep.c (near start of file): Fixed commentary and rearranged
16645 ifdefs in readable order.
16646 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16649 (end_of_data): Do not compile in if using PDUMP.
16651 * symsinit.h: Prototyped vars_of_nt().
16653 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16654 (find_child_console): Use it.
16655 (sys_kill): Use it.
16657 * ntheap.h: Do not extern os_subtype.
16659 * ntheap.c (cache_system_info): Do not cache unneeded:
16660 nt_major_version, nt_minor_version and os_subtype.
16661 (recreate_heap): Do not compile in when PDUMPing.
16663 * nt.c (geteuid and friends): Use the new varibale
16664 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16665 (init_user_info): Removed the above mentioned hackery.
16666 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16667 stat has been fixed in the C runtime.
16668 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16670 * file-coding.c (struct file_coding_dump): Do not define
16671 ucs_to_mule_table in the struct if not MULE.
16672 (struct struct lrecord_description fcd_description_1): Do not dump
16675 * emacs.c (main_1): Call vars_of_nt().
16676 (right before Fdump_emacs_data): Don't need lastfile if using both
16677 portabe dumper and system malloc.
16679 * alloc.c (Fmemory_limit): Conditionalized out.
16680 (pdump): Use OPEN_BINARY for the portable dump file.
16681 (pdump_load): Ditto.
16683 2000-02-02 Mike Alexander <mta@arbortext.com>
16685 * nt.c (convert_time): Set tm_isdst before calling mktime and
16686 avoid calling it at all if the compiler supports 64 bit integers.
16687 Also initialize utc_base_ft before using it.
16689 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16691 * frame.c (change_frame_size_1): Take f->internal_border_width
16692 into consideration when calculating the width of the frame.
16694 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16696 * window.c (frame_min_height):
16697 (frame_size_valid_p):
16698 (frame_pixsize_valid_p): Added.
16699 (check_frame_size): Generalized.
16701 * window.h: Prototyped the above.
16704 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16705 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16706 Deleted Vwin32_* and Vbinary_process_* unused variables.
16708 * device-msw.c (msprinter_init_device): Do not get printer font
16709 list; Added DEVMODE functions.
16711 * frame-msw.c: Added lots of printer code.
16713 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16716 * console-msw.h: Added more msprinter device private slots.
16718 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16720 * event-msw.c (key_needs_default_processing_p): Added.
16721 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16723 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16725 * glyphs.c (image_instance_layout): Mark image instance as clean
16727 (glyph_dirty_p): Removed redundant function.
16728 (invalidate_glyph_geometry_maybe): Added.
16729 (update_glyph_cachel_data): Call it.
16731 * glyphs.h: Prototyped it.
16733 * redisplay.c (add_glyph_rune): Call it.
16734 (redisplay_window): Reset glyphs cachels when frame faces have
16735 changed, thus forcing recomputation of built-in border glyphs.
16737 2000-01-30 Martin Buchholz <martin@xemacs.org>
16739 * Makefile.in.in: Make portable dumper and purify play well together.
16740 Add imperfect, but better than nothing, support for pdump.
16741 Remove xemacs.dmp when temacs is re-generated.
16742 Don't ignore errors when dumping xemacs.
16744 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16746 2000-01-28 Andy Piper <andy@xemacs.org>
16748 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16749 (setup_normal_frame): ditto.
16750 (setup_frame_without_minibuffer): ditto.
16751 (setup_minibuffer_frame): ditto.
16752 (delete_frame_internal): ditto.
16753 (Fmake_frame_invisible): ditto.
16754 (Ficonify_frame): ditto.
16756 * window.h: change Fset_window_buffer signature.
16758 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16759 (Fset_window_buffer): allow recording of buffer if the window is
16760 the selected window.
16761 (window_loop): Use new Fset_window signature.
16763 2000-01-23 Daniel Pittman <daniel@danann.net>
16765 * config.h.in: Added template for `HAVE_ATHENA_3D'
16767 2000-01-29 Andy Piper <andy@xemacs.org>
16769 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16771 * gutter.c (output_gutter): Don't output if the window isn't live.
16773 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16775 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16776 of 01/12/00: Moved SetFocus back here where it belongs.
16778 2000-01-23 Andy Piper <andy@xemacs.org>
16780 * s/cygwin32.h: declare printer things.
16782 2000-01-26 Andy Piper <andy@xemacs.org>
16784 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16787 2000-01-24 Andy Piper <andy@xemacs.org>
16789 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16790 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16792 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16794 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16796 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16798 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16799 (mswindows_output_display_block): Avoid local shadows.
16801 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16802 (mswindows_enqueue_mouse_button_event): ditto.
16803 (mswindows_handle_gui_wm_command): remove declaration.
16805 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16808 * console-msw.h: Avoid shadows.
16809 (mswindows_get_toolbar_button_text):
16810 (emacs_mswindows_create_stream_pair):
16811 (emacs_mswindows_delete_stream_pair):
16812 (mswindows_handle_toolbar_wm_command): declare.
16814 * device-msw.c (build_syscolor_string): Avoid shadows.
16816 2000-01-23 Andy Piper <andy@xemacs.org>
16818 * glyphs-widget.c (widget_instantiate): reverse the items for
16819 layouts so that children are in the expected order.
16821 2000-01-28 Martin Buchholz <martin@xemacs.org>
16823 * ralloc.c: safe_bcopy ==> memmove
16824 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16825 * s/msdos.h: Remove BCOPY macros.
16826 * insdel.c (gap_right): Remove BCOPY conditional code.
16827 * insdel.c (gap_left): Remove BCOPY conditional code.
16828 XEmacs demands a working ANSI C compiler - hence memmove.
16830 * regex.c (regex_compile): Remove accidental use of trigraphs.
16832 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16834 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16837 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16839 * event-msw.c (mswindows_drain_windows_queue): Added the
16841 (mswindows_need_event): Commented the call to
16842 mswindows_drain_windows_queue().
16843 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16846 * console-msw.h: Moved a few function prototypes here from
16849 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16850 parameter from unsigned short to unsigned long.
16851 (Fmswindows_shell_execute): Added return value.
16853 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16855 * sysdep.c (init_system_name):
16856 process-unix.c (unix_canonicalized_host_name):
16857 Don't call freeaddrinfo() if getaddrinfo() fails.
16859 * process-unix.c (unix_open_unix_network_stream):
16860 Moved the code to get a port # into address loop.
16862 2000-01-27 Martin Buchholz <martin@xemacs.org>
16864 * buffer.c (reinit_vars_of_buffer):
16865 The right place to initialize conversion_in_dynarr and
16866 conversion_out_dynarr.
16868 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16870 * process-unix.c (unix_canonicalize_host_name): Muleize.
16871 (unix_open_network_stream): Muleize.
16873 * buffer.h: Fix up prototypes for ralloc.c functions.
16875 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16876 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16877 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16878 instead of gethostbyname()
16879 * process-unix.c: In unix_canonicalize_host_name() and
16880 unix_open_network_stream(), add code to use getaddrinfo()
16881 instead of gethostbyname().
16883 2000-01-27 Daniel Pittman <daniel@danann.net>
16885 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16886 libs when built with flat Athena.
16888 2000-01-27 Martin Buchholz <martin@xemacs.org>
16890 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16891 Use coding standards for function prototypes.
16893 2000-01-25 Martin Buchholz <martin@xemacs.org>
16895 * dialog-msw.c (push_lisp_string_as_unicode):
16896 * doc.c (unparesseuxify_doc_string):
16897 * dired.c (Fuser_name_completion_1):
16898 * dired.c (Fuser_name_all_completions):
16899 * dired.c (free_user_cache):
16900 * dired.c (user_name_completion):
16901 * console-x.c (get_display_arg_connection):
16902 * minibuf.c (clear_echo_area_internal):
16903 * minibuf.c (echo_area_append):
16904 * eldap.c (Fldap_open):
16905 * eldap.c (Fldap_search_internal):
16906 * frame-x.c (x_set_frame_text_value):
16907 * frame-x.c (x_set_frame_properties):
16908 * frame-x.c (x_create_widgets):
16909 * redisplay-tty.c (term_get_fkeys_1):
16910 * objects-x.c (x_parse_nearest_color):
16911 * objects-x.c (x_valid_color_name_p):
16912 * objects-x.c (x_initialize_font_instance):
16913 * objects-x.c (x_list_fonts):
16914 * objects-x.c (x_find_charset_font):
16915 * tooltalk.c (Fadd_tooltalk_message_arg):
16916 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16917 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16918 * process-unix.c (unix_create_process):
16919 * ntproc.c (sys_spawnve):
16920 * sound.c (Fplay_sound_file):
16921 * sound.c (Fplay_sound):
16922 * buffer.c (init_initial_directory):
16923 * buffer.c (init_buffer):
16924 * editfns.c (init_editfns):
16925 * editfns.c (Ftemp_directory):
16926 * editfns.c (Fuser_full_name):
16927 * editfns.c (uncache_home_directory):
16928 * editfns.c (get_home_directory):
16929 * editfns.c (Fuser_home_directory):
16930 * editfns.c (Fformat_time_string):
16931 * editfns.c (Fcurrent_time_string):
16932 * gui-x.c (button_item_to_widget_value):
16933 * database.c (Fopen_database):
16934 * event-Xt.c (x_to_emacs_keysym):
16935 * event-Xt.c (x_event_to_emacs_event):
16936 * event-Xt.c (describe_event_window):
16937 * event-msw.c (mswindows_wnd_proc):
16938 * glyphs-eimage.c (jpeg_instantiate):
16939 * glyphs-eimage.c (gif_instantiate):
16940 * glyphs-eimage.c (png_instantiate):
16941 * glyphs-eimage.c (tiff_instantiate):
16942 * glyphs-x.c (xbm_instantiate_1):
16943 * glyphs-x.c (x_xbm_instantiate):
16944 * glyphs-x.c (x_xface_instantiate):
16945 * glyphs-x.c (autodetect_instantiate):
16946 * glyphs-x.c (cursor_font_instantiate):
16947 * glyphs-x.c (x_widget_instantiate):
16948 * glyphs-x.c (x_widget_set_property):
16949 * glyphs-x.c (x_widget_property):
16950 * glyphs-x.c (BUILD_GLYPH_INST):
16951 * print.c (write_string_to_stdio_stream):
16952 * print.c (output_string):
16953 * print.c (Falternate_debugging_output):
16954 * print.c (Fexternal_debugging_output):
16955 * glyphs-msw.c (extract_xpm_color_names):
16956 * glyphs-msw.c (mswindows_xpm_instantiate):
16957 * glyphs-msw.c (bmp_instantiate):
16958 * glyphs-msw.c (resource_name_to_resource):
16959 * glyphs-msw.c (mswindows_resource_instantiate):
16960 * glyphs-msw.c (xbm_instantiate_1):
16961 * glyphs-msw.c (mswindows_xbm_instantiate):
16962 * glyphs-msw.c (mswindows_xface_instantiate):
16963 * glyphs-msw.c (mswindows_widget_instantiate):
16964 * glyphs-msw.c (add_tree_item):
16965 * glyphs-msw.c (add_tab_item):
16966 * glyphs-msw.c (mswindows_combo_box_instantiate):
16967 * glyphs-msw.c (mswindows_widget_property):
16968 * glyphs-msw.c (mswindows_combo_box_property):
16969 * glyphs-msw.c (mswindows_widget_set_property):
16970 * console.c (stuff_buffered_input):
16971 * objects-msw.c (mswindows_initialize_color_instance):
16972 * objects-msw.c (mswindows_valid_color_name_p):
16973 * objects-msw.c (mswindows_list_fonts):
16974 * objects-msw.c (mswindows_font_instance_truename):
16975 * bytecode.c (optimize_compiled_function):
16976 * select-x.c (symbol_to_x_atom):
16977 * select-x.c (x_atom_to_symbol):
16978 * select-x.c (hack_motif_clipboard_selection):
16979 * select-x.c (selection_data_to_lisp_data):
16980 * select-x.c (lisp_data_to_selection_data):
16981 * select-x.c (Fx_get_cutbuffer_internal):
16982 * select-x.c (Fx_store_cutbuffer_internal):
16983 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16984 * buffer.h (TO_INTERNAL_FORMAT): New function.
16985 * emacs.c (make_arg_list_1):
16986 * emacs.c (make_argc_argv):
16987 * emacs.c (main_1):
16988 * emacs.c (Fdump_emacs):
16989 * emacs.c (split_string_by_emchar_1):
16994 * device-x.c (x_init_device):
16995 * device-x.c (Fx_valid_keysym_name_p):
16996 * device-x.c (Fx_get_font_path):
16997 * device-x.c (Fx_set_font_path):
16998 * glyphs.c (bitmap_to_lisp_data):
16999 * glyphs.c (pixmap_to_lisp_data):
17000 * alloc.c (make_ext_string): Use coding system arguments. Update
17002 * alloc.c (build_string):
17003 * callproc.c (child_setup):
17004 * callproc.c (init_callproc):
17005 * fileio.c (lisp_strerror):
17006 * fileio.c (directory_file_name):
17007 * fileio.c (Fexpand_file_name):
17008 * fileio.c (Ffile_truename):
17009 * fileio.c (Fsysnetunam):
17010 * fileio.c (Fdo_auto_save):
17011 * sysdep.c (sys_readdir):
17012 * tests.c: New file. Allow adding C tests.
17013 Replace GET_* macros with a more comprehensible and flexible
17014 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17016 Any coding system can be used to do format conversion.
17017 Eliminate enum external_data_format.
17018 Eliminate convert_to_external_format.
17019 Eliminate convert_to_internal_format.
17020 Make sure file-name, keyboard, terminal, and ctext are always
17021 defined as coding systems or aliases. Make
17022 file-name-coding-system, terminal-coding-system, and
17023 keyboard-coding-system magical variables that are equivalent to
17024 defining the corresponding coding system aliases.
17026 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17027 * file-coding.c (Fcoding_system_alias_p): New function.
17028 * file-coding.c (Fcoding_system_aliasee): New function.
17029 * file-coding.c (append_suffix_to_symbol): New function.
17030 * file-coding.c (dangling_coding_system_alias_p): New function.
17031 * file-coding.c (Ffind_coding_system):
17032 * file-coding.c (Fcopy_coding_system):
17033 * file-coding.c (encode_coding_no_conversion):
17034 * file-coding.c (syms_of_file_coding):
17035 * file-coding.c (vars_of_file_coding):
17036 Rewrite coding system alias code.
17037 Allow nested aliases, like symbolic links.
17038 Allow redefinition of coding system aliases.
17039 Prevent existence of dangling coding system aliases.
17041 * dired.c (Fuser_name_completion_1):
17042 * dired.c (Fuser_name_all_completions):
17043 A crash would happen if user did QUIT in the middle of building
17044 user_name_cache. Remove redundant code in mainline and unwind_protect.
17047 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17049 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17050 an unsigned char *. Update all callers.
17052 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17054 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17056 2000-01-25 Martin Buchholz <martin@xemacs.org>
17058 * elhash.c (hentry_description): Use more portable definition.
17059 (resize_hash_table): Initialize new hentries using
17060 xnew_array_and_zero, thereby simplifying the code.
17062 * mule-charset.c (make_charset): Make sure entire object is
17063 initialized, to avoid Purify warnings.
17065 * alloc.c (resize_string): Fix unlikely crash with big strings.
17067 2000-01-24 Martin Buchholz <martin@xemacs.org>
17069 * realpath.c (xrealpath):
17070 Don't call getwd().
17072 2000-01-25 Martin Buchholz <martin@xemacs.org>
17074 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17076 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17078 * unexelfsgi.c (unexec): Change the way we decide which segment
17079 should be extended.
17081 Assumption that .bss section should be outside the PT_LOADable
17082 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17083 it's present) is inside the 'data' segment. This would fail the
17084 test which was used to find a segment to grow and cover new
17085 heap. Instead of this assumption, I created another one - on IRIX
17086 the segment to grow should start below .bss and it's address
17087 should extent above the end of .bss. Once this segment is
17088 identified, it's grown to accommodate the new heap and new
17089 zero-length .bss section is added at the end of .data2.
17091 2000-01-25 Martin Buchholz <martin@xemacs.org>
17093 * eval.c (Feval): Wrong number of arguments should use original
17094 function, not the indirect_function version of it.
17096 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17098 * glyphs-x.c (x_button_instantiate): Don't add image if
17099 it is not a pixmap.
17100 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17103 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17105 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17107 (DEFVAR_INT_MAGIC): Ditto.
17108 (DEFVAR_BOOL_MAGIC): Ditto.
17109 * glyphs.h: Reindent backslash.
17111 2000-01-24 Martin Buchholz <martin@xemacs.org>
17113 * glyphs-widget.c (layout_query_geometry):
17114 (layout_layout): Use correct types for gheight, gwidth.
17116 2000-01-24 Martin Buchholz <martin@xemacs.org>
17118 * EmacsManager.c (QueryGeometry): Purified.
17120 2000-01-23 Martin Buchholz <martin@xemacs.org>
17122 * alloc.c (make_float): Make sure entire object is initialized, to
17123 avoid Purify warnings.
17124 (pdump_register_sub): Remove useless assignment.
17125 (pdump): Use xmalloc, not malloc.
17126 (pdump_load): Use xmalloc, not malloc.
17128 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17135 * sysdep.c: Removed redundant #include <windows.h>
17137 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17139 * frame.c (delete_frame_internal): Do not delete device when its
17140 implementation so declares.
17141 (delete_frame_internal): Set device selected frame to nil when
17142 last frame goes away.
17144 * device-msw.c (msprinter_device_system_metrics): Implemented.
17145 (mswindows_device_system_metrics): Added 'device-dpi property.
17147 * device.c: (Fdevice_printer_p): Added.
17148 Added 'offset-workspace device metric.
17150 * console.h (device_metrics): Declared DM_offset_workspace.
17152 2000-01-23 Martin Buchholz <martin@xemacs.org>
17154 * fileio.c (Ffile_truename): Remove pointless and confusing
17155 initialization of elen.
17157 * glyphs-widget.c: Compiler warning fixes.
17159 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17161 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17162 instead of a Lisp_Object as argument to make it consistent with
17163 the other LIVE_P macros.
17164 (CHECK_LIVE_PROCESS): New macro.
17166 * process.c: Declare Qprocess_live_p.
17167 (Fprocess_live_p): New function.
17168 (create_process): Use PROCESS_LIVE_P.
17169 (read_process_output): Ditto.
17170 (set_process_filter): Ditto.
17171 (Fdelete_process): Ditto.
17172 (kill_buffer_processes): Ditto
17173 (process_send_signal): Use CHECK_LIVE_PROCESS.
17174 (Fprocess_input_coding_system): Check whether process is still
17175 alive (fix PR#1061).
17176 (Fprocess_output_coding_system): Ditto.
17177 (Fprocess_coding_system): Ditto.
17178 (Fset_process_input_coding_system): Ditto.
17179 (Fset_process_output_coding_system): Ditto.
17181 2000-01-23 Andy Piper <andy@xemacs.org>
17183 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17186 * glyphs.c (mark_image_instance): take into account changed
17187 image_instance format.
17188 (image_instance_equal): ditto.
17189 (image_instance_hash): ditto.
17191 * glyphs-widget.c (widget_instantiate): Incorporate layout
17192 instantiation here. Delay layout of the layout until later.
17193 (layout_instantiate): deleted.
17194 (layout_query_geometry): new function. get the geometry of a
17196 (layout_layout): layout a layout dynamically.
17197 (image_instantiator_widget): New function - splitting up
17198 image_instantiator_format_create_glyphs_widget for netwinder
17200 (image_instantiator_buttons):
17201 (image_instantiator_edit_fields):
17202 (image_instantiator_combo_box):
17203 (image_instantiator_scrollbar):
17204 (image_instantiator_progress_guage):
17205 (image_instantiator_tree_view):
17206 (image_instantiator_tab_control):
17207 (image_instantiator_labels):
17208 (image_instantiator_layout): ditto.
17209 (image_instantiator_format_create_glyphs_widget): Call preceding
17212 2000-01-22 Martin Buchholz <martin@xemacs.org>
17214 * process.c (Fset_process_coding_system):
17215 * device-x.c (Fx_keysym_hash_table):
17218 * lstream.c (Lstream_write): Return documented value, not 0.
17220 * fileio.c (directory_file_name):
17221 (Fsubstitute_in_file_name):
17222 (Fsubstitute_insert_file_contents_internal):
17223 (Fwrite_region_internal):
17228 Remove vestigial APOLLO-conditional code.
17230 2000-01-21 Martin Buchholz <martin@xemacs.org>
17232 * getpagesize.h: Add guard macros.
17233 * libsst.h: Add guard macros.
17234 * libst.h: Add guard macros.
17235 * line-number.h: Add guard macros.
17236 * ndir.h: Add guard macros.
17237 * sysfloat.h: Add guard macros.
17238 * sysfile.h: Add guard macros.
17239 * sysproc.h: Add guard macros.
17240 * syswait.h: Add guard macros.
17241 * xintrinsic.h: Add guard macros.
17242 * xintrinsicp.h: Add guard macros.
17243 * xmmanager.h: Add guard macros.
17244 * xmmanagerp.h: Add guard macros.
17245 * xmprimitive.h: Add guard macros.
17246 * xmu.h: Add guard macros.
17247 * gpmevent.h: Add copyright statement. Add guard macros.
17248 * miscplay.h: Add guard macros.
17249 * *.h: Use consistent C-standards-approved guard macro names.
17251 * opaque.c (make_opaque): Switch parameter order.
17252 * opaque.h (make_opaque): Switch parameter order.
17253 Update all callers.
17254 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17256 * config.h.in (type_checking_assert): Added.
17257 (bufpos_checking_assert): Added.
17259 2000-01-21 Martin Buchholz <martin@xemacs.org>
17261 * alloc.c: Harmless pdump changes.
17263 - spell alignment correctly.
17264 * sysdep.c: Use countof()
17266 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17268 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17269 initially_selected_for_input() console method, default to 0.
17270 (semi_canonicalize_console_connection): Try to delegate to
17271 canonicalize_console_connection if no such console method.
17272 (canonicalize_console_connection): Vice versa.
17273 (print_console): Do not print nil connection.
17275 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17276 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17277 (XDEVIMPF_FRAMELESS_OK): Added.
17278 (CONSOLE_INHERITS_METHOD): Added.
17280 * console-msw.c (mswindows_canonicalize_console_connection):
17282 (mswindows_canonicalize_device_connection): Added.
17284 * console-msw.h (struct msprinter_device): Added this struct and
17286 (mswindows_device): Made fontlist a lisp object.
17288 * device.c (semi_canonicalize_device_connection): Try to delegate
17289 to canonicalize_device_connection if no such console method.
17290 (canonicalize_device_connection): Vice versa.
17291 (print_device): Do not print nil connection.
17293 * device-msw.c (mswindows_init_device): Call InitCommonControls
17295 (mswindows_delete_device): Removed fontlist deallocation.
17296 (mswindows_mark_device): Added.
17298 * events.c (event_equal): Added abort() at unreached code.
17299 (event_hash): Ditto.
17301 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17302 fallback tags of Windows devices.
17304 * general.c (syms_of_general): Initialized Qmsprinter.
17306 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17307 of fallback tags of Windows devices.
17309 * lisp.h: Declared Qmsprinter.
17311 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17313 (mswindows_list_fonts): Ditto.
17314 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17315 that it can be used by both mswindows and msprinter devices.
17316 (initialize_font_instance): Added.
17317 (mswindows_initialize_font_instance): Use it.
17318 (msprinter_initialize_font_instance): Added.
17320 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17321 and implementation flags check.
17322 (redisplay_without_hooks): Changed the call to the above.
17323 (Fredraw_device): Ditto.
17324 (Fredisplay_device): Ditto.
17326 * redisplay-msw.c (get_frame_dc): Implemented.
17327 (get_frame_compdc): Implemented.
17328 (many functions): Use the two functions above to get device
17329 contexts, ether for a window or a printer.
17331 2000-01-21 Olivier Galibert <galibert@pobox.com>
17333 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17334 initialization here.
17335 (init_symbols_once_early): Call it.
17336 * emacs.c (main_1): Call it.
17337 * symsinit.h: Declare it.
17339 2000-01-19 Olivier Galibert <galibert@pobox.com>
17341 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17343 (pdump_backtrace): Ditto.
17344 (pdump_register_object): Ditto. Cleanup use of the pointers.
17345 (pdump_get_entry): Abort if trying to register a null pointer.
17346 (pdump_dump_data): Cleanup types when relocating.
17347 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17348 (pdump_dump_rtables): Remove bad casts.
17349 (pdump_load): Cleanup relocation w.r.t union type. Use a
17350 Lisp_Object instead of a EMACS_INT for the hashtable
17353 2000-01-20 Martin Buchholz <martin@xemacs.org>
17355 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17357 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17359 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17361 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17363 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17365 * faces.h (FACE_STRIKETHRU_P): Added.
17367 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17370 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17371 (mswindows_set_dc_font): New function, aware of font variants,
17372 separated from mswindows_update_dc.
17374 * objects-msw.h (struct mswindows_font_instance_data): Added
17377 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17378 cached fonts and the data structure.
17379 (mswindows_initialize_font_instance): Added creation of font data
17381 (mswindows_print_font_instance): Print at least something.
17382 (mswindows_create_font_variant): Implemented.
17383 (mswindows_get_hfont): Implemented.
17385 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17387 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17388 prototyping problem with msvc.
17390 * emacs.c (main_1): added syms_of_gui_mswindows() call
17392 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17393 syms_of_gui_mswindows() function
17395 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17397 2000-01-18 Martin Buchholz <martin@xemacs.org>
17399 * XEmacs 21.2.27 is released.
17401 2000-01-18 Martin Buchholz <martin@xemacs.org>
17403 * glyphs-eimage.c (struct tiff_error_struct):
17405 (tiff_warning_func):
17406 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17411 * unexec.c: Remove vestigial Lucid C code.
17415 * libsst.c: Ansify.
17416 Remove declarations of errno and strerror().
17418 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17420 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17422 2000-01-16 Martin Buchholz <martin@xemacs.org>
17424 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17427 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17432 Change enum eol_type to eol_type_t.
17434 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17436 * gui.c (get_gui_callback): Check cons before accessing car.
17438 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17440 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17441 (XSETSPECIFIER_TYPE): Ditto.
17443 2000-01-17 Didier Verna <didier@xemacs.org>
17445 * redisplay.c (generate_fstring_runes): compute string size in
17446 characters, not bytes.
17448 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17450 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17452 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17454 * print.c (print_error_message): Call print_prepare().
17456 2000-01-14 Martin Buchholz <martin@xemacs.org>
17458 * .dbxrc: Renamed from dbxrc.
17460 * events.c (event_to_character):
17461 Use `assert (foo)' instead of `if (!foo) abort()'
17463 * .gdbinit (xtype): Add documentation.
17464 * .gdbinit (check-temacs): New function.
17465 * .gdbinit (check-xemacs): New function.
17466 * dbxrc (check-xemacs): New function.
17467 * dbxrc (check-xemacs): New function.
17469 2000-01-14 Andy Piper <andy@xemacs.org>
17471 * glyphs-widget.c (widget_query_geometry): Make sure that we
17472 calculate default dimensions correctly.
17474 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17476 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17478 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17479 pdump_wire'd variable.
17481 * emacs.c: (main_1): Conditionalized calls to
17482 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17484 2000-01-13 Martin Buchholz <martin@xemacs.org>
17486 * window.c (Fset_window_configuration):
17487 * sysdep.c (_start):
17488 * input-method-motif.c (res):
17489 * event-Xt.c (Xt_process_to_emacs_event):
17490 Simple compiler warning fixes.
17492 * bytecode.c (funcall_compiled_function): Use the original
17493 function symbol on the backtrace list in preference to the
17494 compiled_function object in error messages.
17496 2000-01-13 Andy Piper <andy@xemacs.org>
17498 * glyphs-x.c (update_widget_face): Make sure we update the widget
17499 background as well as foreground.
17501 2000-01-13 Andy Piper <andy@xemacs.org>
17503 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17504 fields to subwindow.
17505 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17506 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17507 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17508 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17510 * glyphs-widget.c (check_valid_tab_orientation): new function.
17511 (initialize_widget_image_instance): zero orientation and
17513 (widget_instantiate): pick up orientation.
17514 (tab_control_query_geometry): return appropriate values for
17517 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17518 appropriate creation flags for left, right and bottom tabs.
17520 * s/cygwin32.h: add tab definitions.
17522 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17524 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17525 frame upon hiding a subwindow.
17526 (mswindows_button_instantiate): Changed the push button style to
17528 (mswindows_button_instantiate): Removed button BS_NOTIFY
17530 (mswindows_button_instantiate): Removed redundant check for
17531 a disabled gui item.
17532 (mswindows_button_instantiate): Made use of WS_TABSTOP
17533 consistent: "operable" controls (edit, button, tree, scroll) have
17534 this style, "display-only" ones (static, progress gauge) do
17535 not. This style is currently ignored by XEmacs though. Also,
17536 removed the WS_EX_CONTROLPARENT style - it is not for children,
17537 it is for their parents!
17538 (mswindows_edit_field_instantiate): Ditto.
17539 (mswindows_progress_gauge_instantiate): Ditto.
17540 (mswindows_tree_view_instantiate): Ditto.
17541 (mswindows_tab_control_instantiate): Ditto.
17542 (mswindows_scrollbar_instantiate): Ditto.
17543 (mswindows_combo_box_instantiate): Ditto.
17544 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17545 style to the "clip" window.
17546 (mswindows_button_instantiate): Removed compilation warning by
17547 equally typing terms of the ?: operator.
17549 2000-01-12 Didier Verna <didier@xemacs.org>
17551 * redisplay.c (generate_fstring_runes): new parameter holding the
17552 last modeline-format extent.
17553 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17554 extent, fill the glyph block with it.
17555 (generate_fstring_runes): handle these parameters.
17556 (generate_formatted_string_db): ditto.
17558 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17559 glyphs'extents in the modeline.
17561 1999-01-11 Mike Woolley <mike@bulsara.com>
17563 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17564 256Mb, as a workaround for the non-starting problem many people
17567 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17569 * console-tty.c (Fset_console_tty_output_coding_system):
17570 Force redrawing tty frame.
17572 2000-01-10 Didier Verna <didier@xemacs.org>
17574 * redisplay.c (generate_fstring_runes): fix size computation bug.
17576 2000-01-09 William M. Perry <wmperry@aventail.com>
17578 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17580 2000-01-09 Andy Piper <andy@xemacs.org>
17582 * glyphs-msw.c: index -> i to avoid shadows.
17583 (xbm_create_bitmap_from_data): make static.
17584 (check_valid_string_or_int): deleted.
17585 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17587 * glyphs-x.c (x_update_subwindow): remove unused args.
17589 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17590 back pointer - this is done in allocate_image_instance.
17591 (query_string_font): return Qnil to make the compiler happy.
17592 (unmap_subwindow): set to ~0 to make the compiler happy.
17593 (glyph_query_geometry): comment out until used.
17594 (glyph_layout): ditto.
17596 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17598 * insdel.c (signal_after_change): Remove extraneous unbind_to().