1 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
6 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
11 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * chartab.c (syms_of_chartab): Define
14 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
16 * chartab.h (Q_denotational): New extern when UTF2000 or
17 HAVE_CONCORD is defined.
18 (Q_denotational_from): Likewise.
19 (Q_subsumptive): Likewise.
20 (Q_subsumptive_from): Likewise.
22 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * concord.c (concord_object_put): New function.
25 (Fconcord_object_put): Use `concord_object_put'.
27 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * concord.c (Fconcord_define_object): New function.
30 (syms_of_concord): Add new builtin function
31 `concord-define-object'.
33 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
38 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * concord.c: Add EXFUN for Fconcord_object_get.
41 (Vconcord_genre_object_hash_table): New variable.
42 (concord_genre_cache_get_object): New function.
43 (concord_genre_cache_put_object): New function.
44 (Fconcord_make_object): Use object cache; put object-ID into `=id'
46 (Fconcord_object_put): Call `concord_index_sync' after
47 `concord_index_strid_put_obj'.
48 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
50 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * concord.c (Fconcord_decode_object): Do GCPRO for
54 (func_for_each_object): Likewise; do GCPRO for
55 for_each_object_closure->function.
56 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
57 for_each_object_closure->function, for_each_object_closure->genre,
58 for_each_object_closure->ds and for_each_object_closure->ret.
59 (concord_object_validate): Do GCPRO for Fconcord_make_object.
61 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * concord.c: Add EXFUNs for Fconcord_decode_object and
65 (Fconcord_make_object): Change order of arguments.
66 (Fconcord_decode_object): Modify for Fconcord_make_object.
67 (func_for_each_object): Likewise.
68 (concord_object_validate): Likewise.
69 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
71 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
75 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * concord.c (Fconcord_decode_object): Try to use readable print
78 form as a key of Concord-index.
79 (Fconcord_object_get): Try to use readable print form as an ID of
81 (Fconcord_object_put): Try to use readable print form as an ID of
82 Concord-object and a feature value.
83 (Fconcord_object_spec): Try to use readable print form as an ID of
86 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * concord.c (print_concord_object): Support readable form.
90 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * emacs.c (main_1): Call `structure_type_create_concord' when
93 HAVE_CONCORD is defined.
95 * symsinit.h (structure_type_create_concord): New prototype.
97 * concord.c (Qconcord_object): New variable.
100 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
102 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
103 char*> for genre-name.
104 (Fconcord_feature_list): Likewise.
105 (Fconcord_make_object): Likewise.
106 (Fconcord_decode_object): Likewise; use <char*> instead of
107 <unsigned char*> for feature_name and strid.
108 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
109 c_obj and feature_name.
110 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
112 (struct closure_for_object_spec): Use <char*> instead of <unsigned
113 char*> for member `object_id'.
114 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
115 char*> for feature-name.
116 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
118 (func_for_each_object): Cast to avoid warnings.
119 (Fconcord_foreach_object_in_feature): Use <char*> instead of
120 <unsigned char*> for genre_name and feature_name.
121 (concord_name_validate): New function.
122 (concord_object_validate): Likewise.
123 (concord_object_instantiate): Likewise.
124 (syms_of_concord): Add new builtin symbols `concord-object',
126 (structure_type_create_concord): New function.
128 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * concord.c (Vconcord_ds_hash_table): New variable.
131 (Vconcord_genre_hash_table): New variable.
132 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
133 (Fconcord_ds_directory): New function.
134 (Fconcord_assign_genre): New function.
135 (Fconcord_genre_directory): New function.
136 (Fconcord_genre_ds): New function.
137 (Fconcord_feature_list): Allow to omit `ds'.
138 (Fconcord_make_object): Likewise.
139 (Fconcord_decode_object): Likewise.
140 (Fconcord_foreach_object_in_feature): Likewise.
141 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
142 Fconcord_assign_genre, Fconcord_genre_directory and
144 (vars_of_concord): Setup Vconcord_ds_hash_table and
145 Vconcord_genre_hash_table.
147 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * concord.c (struct closure_for_each_object): Add new member
151 (func_for_each_object): Setup the return value to
152 `for_each_object_closure->ret'.
153 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
154 returns the value instead of Qt.
156 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * concord.c: New file.
160 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
163 `lrecord_type_concord_object'.
165 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * symsinit.h (syms_of_concord): New prototype.
168 (vars_of_concord): New prototype.
170 * emacs.c (main_1): Setup symbols and variable about concord if
171 HAVE_CONCORD is defined.
173 * config.h.in (HAVE_CONCORD): New macro.
175 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * chartab.c (Fput_char_attribute): For each character relation
178 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
180 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * chartab.c (Fput_char_attribute): Use
183 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
184 calling `put_char_composition'.
186 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * chartab.c (Q_halfwidth_of): New variable.
189 (put_char_composition): Return `<-halfwidth' instead of
190 `=decomposition' for compatibility mapping to single character
192 (Fput_char_attribute): Convert char-specs in value of
193 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
194 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
196 (syms_of_chartab): Add new symbol `<-halfwidth'.
198 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * chartab.c (put_char_composition): Return
201 `<-formed@{isolated|initial|medial|final}' for compatibility
202 mapping to single character tagged
203 `{isolated|initial|medial|final}'.
205 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
207 * chartab.c (Q_compat_of): Deleted.
208 (put_char_composition): Return `<-FOO' for compatibility mapping
209 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
210 of `symbol_name (XSYMBOL(...))'.
211 (Fput_char_attribute): Convert char-specs in value of
212 `{<-|->}font[^*]*' to characters and put reverse links.
213 (Fsave_char_attribute_table): Don't refer Q_compat_of.
214 (syms_of_chartab): Delete builtin symbol `<-compat'.
216 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * chartab.c (Q_circled_of): New variable.
219 (put_char_composition): Return `<-circled' instead of
220 `=decomposition' for compatibility mapping to single character
222 (Fput_char_attribute): Convert char-specs in value of
223 `{<-|->}circled[^*]*' to characters and put reverse links.
224 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
226 (syms_of_chartab): Add new symbol `<-circled'.
228 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * chartab.c (Qto_decomposition_at_circled): New variable.
231 (put_char_composition): Return `=>decomposition@circled' instead
232 of `=decomposition' for compatibility decomposition mapping tagged
234 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
236 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * chartab.c (Q_subscript_of): New variable.
239 (put_char_composition): Return `<-subscript' instead of
240 `=decomposition' for compatibility mapping to single character
242 (Fput_char_attribute): Convert char-specs in value of
243 `{<-|->}subscript[^*]*' to characters and put reverse links.
244 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
246 (syms_of_chartab): Add new symbol `<-subscript'.
248 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * chartab.c (Q_superscript_of): New variable.
251 (put_char_composition): Return `<-superscript' instead of
252 `=decomposition' for compatibility mapping to single character
254 (Fput_char_attribute): Convert char-specs in value of
255 `{<-|->}superscript[^*]*' to characters and put reverse links.
256 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
258 (syms_of_chartab): Add new symbol `<-superscript'.
260 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * chartab.c (Qto_decomposition_at_compat): Deleted.
263 (Qto_decomposition_at_superscript): New variable.
264 (put_char_composition): Use `=>decomposition@superscript' instead
265 of `=decomposition' for compatibility decomposition mapping tagged
267 (Fput_char_attribute): Fix condition about `put_char_composition'.
268 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
269 add news symbol `=>decomposition@superscript'.
271 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
274 for compatibility decomposition mapping tagged FOO.
275 (Fput_char_attribute): Modify for `put_char_composition'.
277 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * chartab.c (Qto_decomposition_at_compat): New variable.
280 (Q_compat_of): Renamed from `Q_compatibility_of'.
281 (put_char_composition): Rename `Q_compatibility_of' to
282 `Q_compat_of'; return `=>decomposition@compat' for compatibility
283 decomposition mapping.
284 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
286 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
287 `<-compatibility' to `<-compat'.
289 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
291 * chartab.c (Q_compatibility_of): New variable.
292 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
293 object is proved to be a cons cell; return `<-compatibility' if
294 the first element of argument `value' is `compat'.
295 (Fput_char_attribute): Eliminate the first value if
296 `put_char_composition' returns `<-compatibility'.
297 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
298 for `<-compatibility'.
299 (syms_of_chartab): Add new symbol `<-compatibility'.
301 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
303 * chartab.c (Q_canonical): New variable.
304 (put_char_composition): Return a feature name: return
305 `->canonical' if argument `value' specifies single character.
306 (Fput_char_attribute): Use `put_char_composition' to determine
307 feature name for `=decomposition' or `->denotational'.
308 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
310 (syms_of_chartab): Add new symbol `->canonical'.
312 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * chartab.c (Qmap_decomposition): New variable.
315 (Fput_char_attribute): Convert `->decomposition' to
317 (syms_of_chartab): Add new symbol `=decomposition'.
319 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * chartab.c (Fget_range_char_table): Fix serious problem when
324 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * chartab.c (char_table_get_db): Use `read_from_c_string'.
328 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * lread.c (read_from_c_string): New function.
332 * lisp.h (read_from_c_string): New prototype.
334 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * chartab.c (Fput_char_attribute): Convert char-specs in value of
337 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
338 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
339 for `{<-|->}Oracle-Bones[^*]*'.
341 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
346 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * text-coding.c (Qccs_priority_list): New variable in XEmacs
350 (Fmake_coding_system): Support new property `ccs-priority-list' in
352 (Fcoding_system_property): Likewise.
353 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
354 Vdefault_coded_charset_priority_list in XEmacs CHISE.
355 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
357 (complex_vars_of_file_coding): Define new coding-system-property
358 `ccs-priority-list' in XEmacs CHISE.
360 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
362 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
365 changed to normal function.
366 (encode_char_2): Likewise.
368 * mule-charset.c (decoding_table_put_char): Copied from
369 char-ucs.h; changed to normal function.
370 (encode_char_2): Likewise.
372 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
376 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
377 (encode_char_2_search_children): New inline function.
378 (encode_char_2): Refer
379 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
380 and use `encode_char_2_search_children'.
382 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
386 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
387 (vars_of_mule_charset): Add new variable
388 `display-coded-charset-priority-use-inheritance' and
389 `display-coded-charset-priority-use-hierarchy-order'.
391 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
393 * char-ucs.h (Q_subsumptive): New extern.
394 (Q_denotational): Likewise.
395 (encode_char_2): Search children specified by `->subsumptive' and
398 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * mule-charset.c (complex_vars_of_mule_charset): Modify the
401 X-registry of `ucs-bmp'.
403 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * chartab.c (char-variants): Refer `->subsumptive',
406 `->denotational' and `->identical' as same as `->ucs-unified'.
408 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * chartab.c (Fput_char_attribute): Convert char-specs in value of
411 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
414 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * text-coding.c: Add EXFUN for `Fregexp_quote'.
417 (decode_add_er_char): Fix problem about infinite loop when a CCS
418 specified in `coded-charset-entity-reference-alist' is not
421 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * mule-charset.c (syms_of_mule_charset): Rename
424 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
426 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * fns.c (simplify_char_spec): Don't allocate new character-object
429 if specified char_spec does not have any CCS-features.
431 * chartab.h: Add EXFUN for Fdefine_char.
433 * chartab.c: Delete EXFUN for Fdefine_char.
435 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * fns.c (simplify_char_spec): Use Fdefine_char instead of
438 Ffind_char for char-spec.
440 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * lisp-disunion.h (XCHARVAL): Fix condition about
445 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
449 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
450 point; use <Emchar> instead of <int> for character-id.
452 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
455 (make_char): Likewise.
456 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
458 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
459 instead of <int> as the type of return value; use <Lisp_Object>
460 instead of <Emchar> as the type of argument.
461 (XCHARVAL[macro version]): Cast the result into <Emchar>.
463 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
464 syntaxcode> instead of <int>.
466 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * chartab.c (put_char_composition): Use DECODE_CHAR to get
469 character corresponding with UCS code point.
470 (Fput_char_attribute): Likewise.
472 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
473 character in the UCS decoding-table if the char-id is not equal to
476 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
479 for aliases; write `description'; write
480 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
483 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * chartab.c (Fsave_char_attribute_table): Don't use
486 `save_charset_properties'.
488 * mule-charset.c (Fsave_charset_properties): Renamed from
489 `save_charset_properties' and changed to Lisp function again;
490 write property `type' as `CCS'; write properties `final-byte' and
491 `mother' if they exists.
492 (syms_of_mule_charset): Revive builtin function
493 `save-charset-properties' when HAVE_LIBCHISE is defined.
495 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
497 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
498 instead of Vexec_directory.
499 (char_attribute_system_db_file): Likewise.
501 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * chartab.c (Fsave_char_attribute_table): Use
504 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
507 * mule-charset.c (save_charset_properties): Renamed from
508 `Fsave_charset_properties'; changed to non-Lisp function.
509 (syms_of_mule_charset): Abolish builtin function
510 `save-charset-properties'.
512 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * mule-charset.c (Fsave_charset_properties): New function when
515 HAVE_LIBCHISE is defined.
516 (syms_of_mule_charset): Add new builtin function
517 `save-charset-properties' when HAVE_LIBCHISE is defined.
519 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
521 * chartab.c (Fput_char_attribute): Convert char-specs in value of
522 `{<-|->}ancient[^*]*' to characters and put reverse links.
523 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
524 for `{<-|->}ancient[^*]*'.
526 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * chartab.c (Fput_char_attribute): Convert char-specs in value of
529 `{<-|->}original[^*]*' to characters and put reverse links.
530 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
531 for `{<-|->}original[^*]*'.
533 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
537 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * mule-charset.c (Qsystem_char_id): New variable.
541 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
542 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
544 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
546 * chartab.c (Fput_char_attribute): When processing a reference of
547 a character, put into the end of the reversed reference of each
550 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (Q_same): Deleted.
553 (Q_same_of): Deleted.
554 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
555 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
557 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
559 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * chartab.c (Q_vulgar): Deleted.
562 (Q_vulgar_of): Deleted.
563 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
564 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
566 (syms_of_chartab): Don't define `{<-|->}vulgar'.
568 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.c (Fput_char_attribute): Convert char-specs in value of
571 `{<-|->}wrong[^*]*' to characters and put reverse links.
572 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
573 for `{<-|->}wrong[^*]*'.
575 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * chartab.c (Q_vulgar): New variable.
578 (Q_vulgar_of): New variable.
579 (Fput_char_attribute): Convert char-specs in value of
580 `{->|<-}vulgar' to characters and put reverse links.
581 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
583 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
585 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * text-coding.c (decode_add_er_char): Must to quote prefix string
590 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * mule-charset.c (put_char_ccs_code_point): Store characters of
593 =ucs whose code_points >= 0xF0000.
595 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
599 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
601 (complex_vars_of_mule_charset): Add new coded-charset
602 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
603 builtin characters over 0xEFFFF.
605 * chartab.c (syms_of_chartab): Don't define symbol
606 `system-char-id' in every case.
608 * char-ucs.h (Qsystem_char_id): New extern variable.
609 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
611 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * text-coding.c (char_encode_utf8): Try to use entity-references
614 for U-000F0000 ... U-0010FFFF.
616 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * text-coding.c (ER_BUF_SIZE): New macro.
619 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
621 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
622 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
624 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * chartab.c (find_char_feature_in_family): New function.
627 (Fchar_feature): Use `find_char_feature_in_family' with
628 `->identical', `<-subsumptive' and `<-denotational'.
630 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * text-coding.c (char_encode_as_entity_reference): Allow prefix
633 within 8 characters; fix infinite loop.
635 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * chartab.c (Q_same): New variable.
638 (Q_same_of): New variable.
639 (Fput_char_attribute): Convert char-specs in value of
640 `{->|<-}same' to characters and put reverse links.
641 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
643 (syms_of_chartab): Add new symbols `{->|<-}same'.
645 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (Q_component): New variable.
648 (Q_component_of): Likewise.
649 (Fput_char_attribute): Convert char-specs in value of
650 `{->|<-}ideographic-component-forms' to characters and put reverse
652 (syms_of_chartab): Add new symbols
653 `{->|<-}ideographic-component-forms'.
655 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
657 * chartab.c (Q_identical): New variable.
658 (Q_identical_from): New variable.
659 (Fchar_feature): Regard `->identical' as a feature to find
661 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
662 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
663 for `{->|<-}identical'.
664 (syms_of_chartab): Add new symbols `{->|<-}identical'.
666 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * char-ucs.h (encode_char_2): New inline function.
669 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
671 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * chartab.c (Fput_char_attribute): Convert char-specs to
674 characters in value of `ideographic-structure'.
675 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
676 for `{<-|->}simplified(@...)'.
677 (Fdefine_char): Try to use predefined character's id.
679 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * fns.c (simplify_char_spec): Try to convert builtin chars to
684 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * chartab.c (Fput_char_attribute): Convert char-specs in value of
687 `<-simplified[^*]*' to characters and put reverse links.
689 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * chartab.c (Q_subsumptive): Renamed from Q_unified.
692 (Q_subsumptive_from): Renamed from Q_unified_from.
693 (Fchar_feature): Use `Q_subsumptive_from' instead of
695 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
697 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
698 `<-unified' to `<-subsumptive'.
700 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
703 inheritance itself; fix typo; stop recursive search if cyclic
704 inheritance is found.
706 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * chartab.c (Q_denotational): New variable.
709 (Q_denotational_from): New variable.
710 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
711 (put_char_attribute): New function.
712 (Fput_char_attribute): Use `put_char_attribute'; regard
713 `->denotational' and `<-denotational' as same as `->unified' and
715 (syms_of_chartab): Add new symbols `->denotational' and
718 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
721 `Fget_char_attribute'.
722 (Fchar_variants): Likewise.
723 (get_char_table): Likewise.
724 (Fchar_feature): New function.
725 (put_char_composition): Use `Fchar_feature' instead of
726 `Fget_char_attribute'.
727 (Fput_char_attribute): Likewise; don't put the target character
728 into its `->unified' value.
729 (syms_of_chartab): Add new builtin function `char-feature'.
731 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
733 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
734 `Fget_char_attribute'.
735 (char_encode_utf8): Likewise.
737 * chartab.h: Add an EXFUN for `Fchar_feature'.
739 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * chartab.c (Vnext_defined_char_id): New variable.
742 (Fput_char_attribute): Accept characters in `->unified'.
743 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
744 new characters which are not related with builtin char-id ranges.
745 (vars_of_chartab): Add new variable `next-defined-char-id'.
747 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * chartab.c (Q_unified): New variable.
750 (Q_unified_from): New variable.
751 (Fput_char_attribute): Add code for `->unified'.
752 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
755 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * mule-charset.c (decode_ccs_conversion): New function.
758 (decode_defined_char): Use `decode_ccs_conversion'.
759 (decode_builtin_char): Likewise.
761 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * char-ucs.h: Change some charset-ids of private coded-charsets.
765 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
768 (char_encode_as_entity_reference): Likewise.
769 (decode_coding_big5): Modify for `decode_defined_char' and
771 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
772 avoid compiler warning.
773 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
775 * mule-charset.c (decode_defined_char): Add new argument
776 `without_inheritance'.
777 (Fdecode_char): Add new optional argument `without_inheritance'.
778 (Fdecode_builtin_char): Modify for `Fdecode_char'.
780 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
781 (simplify_char_spec): Likewise.
783 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
786 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
787 (map_char_table): Likewise.
788 (Fdefine_char): Use `Fdecode_char' without inheritance.
789 (Ffind_char): Modify for `Fdecode_char'.
791 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
793 * char-ucs.h (decode_defined_char): Add new argument
794 `without_inheritance'.
795 (DECODE_CHAR): Likewise.
796 (MAKE_CHAR): Modify for `DECODE_CHAR'.
798 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * chartab.c (Vchise_system_db_directory): New variable.
801 (vars_of_chartab): Add new variable `chise-system-db-directory'.
803 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c: EXFUN `Fmount_char_attribute_table'.
806 (print_chartab_range): Don't define when `UTF2000' is defined.
807 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
810 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
813 and optional argument `rehash' is specified, call
814 `open_chise_data_source_maybe' before
815 `chise_ds_foreach_char_feature_name' is called.
817 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * chartab.c (char_attribute_list_reset_map_func): New function
820 when HAVE_LIBCHISE is defined.
821 (Fchar_attribute_list): Add new optional argument `rehash' when
822 HAVE_LIBCHISE is defined.
823 (open_chise_data_source_maybe): Use "chise-db" instead of
825 (char_attribute_system_db_file): Likewise.
826 (Fload_char_attribute_table): Use
827 `chise_feature_foreach_char_with_value' instead of
828 `chise_char_feature_value_iterate'.
830 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
832 * chartab.c (Vchise_db_directory): New variable.
833 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
835 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
838 instead of HAVE_CHISE to specify using with libchise.
840 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
842 * chartab.h: Don't use HAVE_CHISE_CLIENT.
844 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
845 defined or HAVE_LIBCHISE_LIBCHISE is defined.
846 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
848 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
849 HAVE_CHISE to specify using with libchise.
850 (syms_of_chartab): Don't define symbol `system-char-id' when
851 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
853 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
856 specify CHISE DB support.
857 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
858 of `char_attribute_system_db_file' to check feature DB file.
860 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
861 HAVE_CHISE_CLIENT to specify CHISE DB support.
863 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
864 specify CHISE DB support.
865 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
867 (Freset_char_attribute_table): Use `chise_feature_setup_db'
868 instead of `char_attribute_system_db_file' to check feature DB
871 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
876 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
878 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
879 (Fsave_charset_mapping_table): Don't use
880 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
882 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
883 (HAVE_LIBCHISE): New macro.
885 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
887 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
888 (Fsave_char_attribute_table): Don't use
889 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
891 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
893 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
895 (save_uint16_byte_table): Likewise.
896 (save_byte_table): Likewise.
897 (char_table_get_db): Use `chise_ds_load_char_feature_value'
898 instead of `chise_char_load_feature_value'.
899 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
901 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * chartab.h (struct Lisp_Char_Table): Delete member
904 `feature_table' if CHISE is defined.
906 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
907 (Fcopy_char_table): Likewise.
908 (char_table_open_db_maybe): Likewise.
909 (char_table_close_db_maybe): Likewise.
910 (char_table_get_db): Likewise.
911 (Fmount_char_attribute_table): Likewise.
912 (Fload_char_attribute_table): Likewise.
914 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
916 * mule-charset.c (load_char_decoding_entry_maybe): Use
917 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
920 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
923 instead of `chise_open_data_source'.
924 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
927 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
930 instead of `chise_ds_open_feature_table'.
931 (char_table_close_db_maybe): Don't use `chise_ft_close'.
933 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * mule-charset.c (Fsave_charset_mapping_table): Use
936 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
937 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
938 `chise_ccs_sync' instead of `chise_ccst_close'.
939 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
941 * chartab.c (open_chise_data_source_maybe): Modify for
942 `chise_open_data_source'.
943 (char_table_open_db_maybe): Modify for
944 `chise_ds_open_feature_table'.
946 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
948 * mule-charset.c (load_char_decoding_entry_maybe): Use
949 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
952 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
954 * mule-charset.c (Fsave_charset_mapping_table): Use
955 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
956 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
957 `chise_dt_put_char' and `chise_dt_close'.
958 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
959 `chise_ccs_decode' and `chise_ccst_close' instead of
960 `chise_ds_open_decoding_table', `chise_dt_get_char' and
963 * chartab.c (char_table_get_db): Use
964 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
965 (load_char_attribute_table_map_func): Modify for
966 `chise_char_feature_value_iterate'.
967 (Fload_char_attribute_table): Use
968 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
970 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
972 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
974 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
976 * chartab.c (put_char_table): Modify for inherited coded-charsets
979 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * chartab.c (Fput_char_table_map_function): Fixed.
982 (word_boundary_p): Don't check charset in XEmacs CHISE.
984 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * mule-charset.c (Fsave_charset_mapping_table): Use
987 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
988 instead of `chise_open_decoding_table'; refer
989 `default_chise_data_source'; use `chise_dt_close' instead of
990 `chise_close_decoding_table'.
991 (load_char_decoding_entry_maybe): Likewise.
993 * chartab.c (default_chise_data_source): New variable when `CHISE'
995 (Fcopy_char_table): `ct->ds' is deleted.
996 (open_chise_data_source_maybe): New function.
997 (Fclose_char_data_source): New function.
998 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
999 use `chise_ds_open_feature_table' instead of
1000 `chise_open_feature_table'.
1001 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1002 `chise_close_feature_table'; `cit->ds' is deleted.
1003 (syms_of_chartab): Add new builtin function
1004 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1006 * chartab.h (default_chise_data_source): New extern variable.
1007 (open_chise_data_source_maybe): New prototype.
1008 (struct Lisp_Char_Table): Delete `ds'.
1010 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1012 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1015 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1017 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1018 not defined; add code for non-libchise setting.
1019 (char_table_close_db_maybe): Likewise.
1020 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1022 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1023 even if `CHISE' is not defined.
1024 (Freset_char_attribute_table): Likewise.
1025 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1026 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1027 `char_table_get_db'.
1028 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1029 `char_table_close_db_maybe' even if `CHISE' is not defined.
1031 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * chartab.c (char_table_open_db_maybe): New function.
1034 (char_table_close_db_maybe): New function.
1035 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1036 (Freset_char_attribute_table): Likewise.
1037 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1038 `char_table_close_db_maybe'.
1039 (Fload_char_attribute_table): Likewise.
1041 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1043 * chartab.c: Don't include <chise.h> because it is included in
1045 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1047 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1049 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1051 (Fclose_char_attribute_table): Close `ct->feature_table' and
1052 `ct->ds' when `CHISE' is defined.
1053 (Freset_char_attribute_table): Likewise.
1054 (load_char_attribute_maybe): Use `cit->ds' and
1055 `cit->feature_table' when `CHISE' is defined.
1056 (Fload_char_attribute_table): Likewise.
1058 * chartab.h: Include <chise.h> when `CHISE' is defined.
1059 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1060 when `CHISE' is defined.
1062 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1064 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1066 (char_table_description): Likewise.
1067 (Fmake_char_table): Likewise.
1068 (Fcopy_char_table): Likewise.
1069 (Fmount_char_attribute_table): Likewise.
1070 (Fclose_char_attribute_table): Likewise.
1071 (Freset_char_attribute_table): Likewise.
1072 (load_char_attribute_maybe): Likewise.
1073 (Fload_char_attribute_table): Likewise.
1075 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1078 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1080 * chartab.c (load_char_attribute_table_map_func): New function
1081 when CHISE is defined.
1082 (Qload_char_attribute_table_map_function): Don't define when CHISE
1084 (Fload_char_attribute_table_map_function): Likewise.
1085 (Fload_char_attribute_table): Use libchise when `CHISE' is
1087 (syms_of_chartab): Don't define
1088 `load-char-attribute-table-map-function' when CHISE is defined.
1090 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1092 * chartab.c: Include <chise.h> when `CHISE' is defined.
1093 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1095 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * mule-charset.c (charset_code_point): Fix problem when searching
1098 in mother CCS fails with `defined_only' mode.
1100 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1103 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1104 (put_char_composition): Likewise.
1105 (Fput_char_attribute): Likewise.
1106 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1108 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1110 * chartab.c (Q_ucs): Deleted.
1111 (Fput_char_attribute): Don't refer `->ucs'.
1112 (Fdefine_char): Likewise.
1113 (Ffind_char): Likewise.
1114 (syms_of_chartab): Delete `->ucs'.
1116 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1118 * mule-charset.c (Qmap_cns11643_2): Renamed from
1119 `Qchinese_cns11643_2'.
1120 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1121 `chinese-cns11643-2'.
1122 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1125 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1127 * mule-charset.c (Qmap_cns11643_1): Renamed from
1128 `Qchinese_cns11643_1'.
1129 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1130 `chinese-cns11643-1'.
1131 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1134 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1136 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1137 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1139 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1142 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1144 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1145 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1147 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1150 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1152 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1153 (syms_of_mule_charset): Add new symbol `=big5' instead of
1155 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1157 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1160 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1162 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1165 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1167 * mule-charset.c (Qmap_jis_x0212): Renamed from
1168 `Qjapanese_jisx0212'.
1169 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1170 `japanese-jisx0212'.
1171 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1174 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1176 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1177 `Qjapanese_jisx0208'.
1178 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1179 of `japanese-jisx0208'.
1180 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1183 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1185 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1186 `Qjapanese_jisx0208_1978'.
1187 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1188 of `japanese-jisx0208-1978'.
1189 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1192 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1194 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1195 only for XEmacs CHISE.
1197 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1199 * char-ucs.h: Compact non-ISO-IR charset-ids.
1200 (LEADING_BYTE_UCS): Changed to -177.
1201 (LEADING_BYTE_CONTROL_1): Changed to -77.
1202 (LEADING_BYTE_UCS_BMP): Changed to -176.
1203 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1205 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c (Qiso_ir): New variable.
1208 (Fmake_charset): Recognise new property `iso-ir'.
1209 (syms_of_mule_charset): Add new symbol `iso-ir'.
1211 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1213 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1214 n to -n; charset-id of non ISO-IR sets are changed to positive
1217 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1220 for &MCS-XXXXXXXX; values.
1222 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1224 * mule.c (Vxemacs_chise_version): Renamed from
1225 `Vutf_2000_version'.
1226 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1227 `utf-2000-version' as an alias for `xemacs-chise-version'.
1229 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1231 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1232 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1235 * config.h.in (CHISE): New macro.
1237 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1239 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1241 (Qmap_ucs): New variable.
1242 (syms_of_mule_charset): Add new symbol `=ucs'.
1243 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1245 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1246 (simplify_char_spec): Likewise.
1248 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1250 * char-ucs.h (Qmap_ucs): New extern variable.
1252 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1255 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1256 don't define it when UTF2000 is not defined.
1257 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1258 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1259 when UTF2000 is not defined.
1260 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1261 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1263 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1267 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1269 (syms_of_mule_charset): Delete `ucs-gb'.
1270 (complex_vars_of_mule_charset): Likewise.
1272 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1274 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1276 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1277 (Qucs_cns): Deleted.
1278 (syms_of_mule_charset): Delete `ucs-cns'.
1279 (complex_vars_of_mule_charset): Likewise.
1281 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1283 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1285 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1286 (Qucs_jis): Deleted.
1287 (syms_of_mule_charset): Delete `ucs-jis'.
1288 (complex_vars_of_mule_charset): Likewise.
1290 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1292 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1294 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1296 (syms_of_mule_charset): Delete `ucs-ks'.
1297 (complex_vars_of_mule_charset): Likewise.
1299 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1301 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1302 (Qideograph_daikanwa_2): Deleted.
1303 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1304 (complex_vars_of_mule_charset): Likewise.
1306 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1307 (LEADING_BYTE_DAIKANWA_1): Deleted.
1308 (LEADING_BYTE_DAIKANWA_2): Deleted.
1309 (MIN_CHAR_DAIKANWA): Deleted.
1310 (MAX_CHAR_DAIKANWA): Deleted.
1312 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1314 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1315 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1316 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1318 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1319 (Vcharset_ideograph_daikanwa): Deleted.
1320 (Qideograph_hanziku_{1..12}): Deleted.
1321 (Qideograph_daikanwa): Deleted.
1322 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1323 Vcharset_ideograph_daikanwa.
1324 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1325 `ideograph-hanziku-{1..12}'.
1326 (complex_vars_of_mule_charset): Likewise.
1328 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1332 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1333 (Qideograph_gt_pj_{1..11}): Deleted.
1334 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1335 (complex_vars_of_mule_charset): Likewise.
1337 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1340 (Vcharset_ideograph_gt): Deleted.
1341 (Qucs_big5): Deleted.
1342 (Qideograph_gt): Deleted.
1343 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1345 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1348 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1349 (LEADING_BYTE_GT): Deleted.
1350 (MIN_CHAR_GT): Deleted.
1351 (MAX_CHAR_GT): Deleted.
1353 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1355 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1357 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1359 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1360 (save_uint16_byte_table): Likewise.
1361 (save_byte_table): Likewise; convert values by it.
1362 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1363 for `ideographic-structure'.
1364 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1365 as the filter for `ideographic-structure'.
1367 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * chartab.c (put_char_composition): New function.
1370 (Fput_char_attribute): Use `put_char_composition'; use
1371 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1373 * fns.c (simplify_char_spec): New function.
1374 (char_ref_simplify_spec): New function.
1375 (Fchar_refs_simplify_char_specs): New function.
1376 (syms_of_fns): Add new builtin function
1377 `char-refs-simplify-char-specs'.
1379 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1381 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1382 (Qideograph_cbeta): Deleted.
1383 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1384 (complex_vars_of_mule_charset): Likewise.
1386 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1387 (MIN_CHAR_CBETA): Comment out.
1388 (MAX_CHAR_CBETA): Likewise.
1390 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1392 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1393 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1394 CHISE client feature.
1396 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1398 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1400 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * mule-charset.c (charset_lookup_description_1): Use
1403 `NUM_LEADING_BYTES' in UTF-2000.
1405 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1407 * char-ucs.h (GC_CHARSETP): Deleted.
1409 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * char-ucs.h (MAX_CHAR_GT): Updated.
1413 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1415 * text-coding.c: Sync with XEmacs 21.4.10.
1417 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1419 * mule-charset.c (Vcharset_china3_jef): Deleted.
1420 (Qchina3_jef): Deleted.
1421 (syms_of_mule_charset): Don't define `china3-jef'.
1422 (complex_vars_of_mule_charset): Likewise.
1424 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1425 (MIN_CHAR_CHINA3_JEF): Comment out.
1426 (MAX_CHAR_CHINA3_JEF): Comment out.
1428 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1430 * mule-charset.c (Vcharset_ucs_gb): New variable.
1431 (Qucs_gb): New variable.
1432 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1433 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1435 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1437 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1439 * mule-charset.c (charset_code_point): if a coded-charset has a
1440 final-byte, don't inherit the builtin range of the mother CCS.
1442 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (charset_code_point): Fix problem about
1447 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1449 * mule-charset.c (decode_builtin_char): Reorganized.
1451 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1453 * text-coding.c (char_encode_as_entity_reference): Modify for
1454 `charset_code_point'.
1455 (char_encode_shift_jis): Likewise.
1456 (char_encode_big5): Likewise.
1457 (char_encode_utf8): Likewise.
1458 (char_encode_iso2022): Likewise.
1460 * mule-charset.c (charset_code_point): Add new argument
1462 (Fencode_char): Add new optional argument `defined_only'.
1464 * chartab.c (put_char_table): Modify for `charset_code_point'.
1466 * char-ucs.h (charset_code_point): Add new argument
1468 (encode_char_1): Modify for `charset_code_point'.
1470 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1472 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1473 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1475 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1478 (Qjis_x0208): Likewise.
1479 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1480 XCHARSET_FINAL(charset).
1481 (charset_code_point): Modify condition for final-byte based
1483 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1484 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1485 in UTF-2000; specify `=jis-x0208' as the mother of
1486 `japanese-jisx0208-1978', `japanese-jisx0208' and
1487 `japanese-jisx0208-1990' in UTF-2000.
1489 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1491 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1493 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1495 * text-coding.c (decode_coding_utf16): Support UTF-16.
1496 (char_encode_utf16): Fixed.
1498 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * text-coding.c (Qutf16): New variable in MULE.
1501 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1502 (Fcoding_system_type): Add `utf-16' in MULE.
1503 (struct detection_state): Add a structure for utf16 in MULE.
1504 (detect_coding_type): Setup st->utf16.mask in MULE.
1505 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1507 (reset_encoding_stream): Use `char_encode_utf16' and
1508 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1509 (detect_coding_utf16): New function [incomplete].
1510 (decode_coding_utf16): New function [support only UCS-2].
1511 (char_encode_utf16): New function.
1512 (char_finish_utf16): New function.
1513 (syms_of_file_coding): Add new symbol `utf-16'; setup
1514 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1516 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1518 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1519 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1521 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * chartab.c (put_char_table): When a charset is specified as a
1524 range in UTF-2000, don't support builtin characters.
1526 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1528 * mule-charset.c (decode_defined_char): Don't refer external
1529 database if Qunbound or Qnil are found.
1530 (Fsave_charset_mapping_table): Don't define it if
1531 HAVE_CHISE_CLIENT is not defined.
1532 (Freset_charset_mapping_table): New function.
1533 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1534 found in external database.
1535 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1536 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1537 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1539 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1541 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1544 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1547 Q_lowercase, Q_uppercase in UTF-2000.
1549 * chartab.c (get_char_table): Add special code for the standard
1550 case table to use character attribute `->downcase' and
1551 `->uppercase' for case operations in UTF-2000.
1553 * casetab.c (Qflippedcase): New variable in UTF-2000.
1554 (Q_lowercase): Likewise.
1555 (Q_uppercase): Likewise.
1556 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1557 and `->uppercase' in UTF-2000.
1558 (complex_vars_of_casetab): Assign attribute name `downcase' to
1559 downcase and CANON table of Vstandard_case_table in UTF-2000;
1560 assign attribute name `flippedcase' to upcase and EQV table of
1561 Vstandard_case_table in UTF-2000.
1563 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1565 * text-coding.c (decode_add_er_char): Support isolated-chars.
1566 (char_encode_as_entity_reference): Likewise.
1568 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1570 * emacs.c (Vutf_2000_lisp_directory): New variable.
1571 (Vconfigure_utf_2000_lisp_directory): Likewise.
1572 (complex_vars_of_emacs): Add new variable
1573 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1575 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1577 * char-ucs.h (DECODE_CHAR): Delete special code for
1578 `chinese-big5-1' and `chinese-big5-2'.
1580 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1581 (Qbig5_2): Likewise.
1582 (decode_defined_char): Support CONVERSION_BIG5_1 and
1584 (decode_builtin_char): Likewise.
1585 (charset_code_point): Likewise.
1586 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1587 'conversion in UTF-2000.
1588 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1589 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1590 `chinese-big5-2' as children of `chinese-big5'.
1592 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1593 (CONVERSION_BIG5_2): New macro.
1595 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1597 * text-coding.c (char_encode_big5): Support entity-reference.
1599 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * text-coding.c (char_encode_as_entity_reference): New function.
1602 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1604 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1606 * text-coding.c (decode_coding_big5): Support entity-reference
1609 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1611 * text-coding.c (allocate_coding_system): Initialize initial
1612 charsets for CODESYS_UTF8.
1613 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1614 charset-g2 for CODESYS_UTF8.
1615 (decode_coding_utf8): Use charset-g0.
1616 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1617 to force variants to map to UCS.
1619 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1621 * text-coding.c (Qutf_8_mcs): New variable.
1622 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1623 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1624 instead of `utf-8' in UTF-2000.
1626 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1628 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1629 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1630 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1631 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1632 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1633 CONVERSION_96x96x96x96 are introduced.
1634 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1635 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1636 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1638 * char-ucs.h (CONVERSION_94): New macro.
1639 (CONVERSION_96): New macro.
1640 (CONVERSION_94x94): New macro.
1641 (CONVERSION_96x96): New macro.
1642 (CONVERSION_94x94x94): New macro.
1643 (CONVERSION_96x96x96): New macro.
1644 (CONVERSION_94x94x94x60): New macro.
1645 (CONVERSION_94x94x94x94): New macro.
1646 (CONVERSION_96x96x96x96): New macro.
1648 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1650 * chartab.c (Vcharacter_variant_table): Deleted.
1651 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1652 of `Vcharacter_variant_table'.
1653 (Fput_char_attribute): Likewise.
1654 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1655 (complex_vars_of_chartab): Likewise.
1657 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1659 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1661 * fns.c (Qideographic_structure): New variable.
1662 (Qkeyword_char): New variable.
1663 (ids_format_unit): New function.
1664 (Fideographic_structure_to_ids): New function.
1665 (syms_of_fns): Add new symbols `ideographic-structure' and
1666 `:char'; add new builtin function `ideographic-structure-to-ids'.
1668 * data.c (Fchar_ref_p): New function.
1669 (syms_of_data): Add new builtin function `char-ref-p'.
1671 * chartab.h: Add an EXFUN for `Ffind_char'.
1673 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1675 * text-coding.c (Vcharacter_composition_table): Deleted.
1676 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1679 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1681 (Vcharacter_composition_table): Deleted.
1682 (Fget_composite_char): Use the implementation for external-DB
1683 support in every UTF-2000.
1684 (Fput_char_attribute): Likewise.
1685 (char_attribute_system_db_file): Don't define if external-DB
1686 feature is not available.
1687 (Fsave_char_attribute_table): Likewise.
1688 (Fmount_char_attribute_table): Likewise.
1689 (Fclose_char_attribute_table): Likewise.
1690 (Freset_char_attribute_table): Likewise.
1691 (Fload_char_attribute_table): Likewise.
1692 (syms_of_chartab): Don't define `save-char-attribute-table',
1693 `mount-char-attribute-table', `reset-char-attribute-table',
1694 `close-char-attribute-table' and `load-char-attribute-table' if
1695 external-DB feature is not available.
1696 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1698 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1700 * text-coding.c (Qcomposition): Add extern if external-DB feature
1702 (Vcharacter_composition_table): Don't add extern if external-DB
1703 feature is supported.
1704 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1705 character composition rule if external-DB feature is supported.
1707 * chartab.c (Vcharacter_composition_table): Don't define if
1708 external-DB feature is supported.
1709 (Qcomposition): New variable.
1710 (Fget_composite_char): New implementation for external-DB support.
1711 (Fput_char_attribute): Use `composition' property of each
1712 character instead of `Vcharacter_composition_table' to store
1713 character-composition rules if external-DB feature is supported.
1714 (syms_of_chartab): Add new symbol `composition'.
1715 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1716 external-DB feature is supported.
1718 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1720 * chartab.c (Vchar_db_stingy_mode): New variable.
1721 (load_char_attribute_maybe): Close database if
1722 Vchar_db_stingy_mode is not NIL.
1723 (Fload_char_attribute_table_map_function): Use
1724 `get_char_id_table_0' instead of `get_char_id_table'.
1725 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1727 * chartab.h (get_char_id_table_0): New inline function.
1728 (get_char_id_table): Use `get_char_id_table_0'.
1730 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1732 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1733 and `COMPOSE_ADD_CHAR'.
1734 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1736 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1738 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1739 instead of `DECODE_ADD_UCS_CHAR'.
1740 (COMPOSE_ADD_CHAR): Likewise.
1742 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * text-coding.c (decode_flush_er_chars): New inline function.
1745 (decode_add_er_char): New function.
1746 (decode_coding_utf8): Use `decode_flush_er_chars' and
1747 `decode_add_er_char'.
1749 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1751 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1752 done before `decode_output_utf8_partial_char'.
1754 * mule-charset.c (complex_vars_of_mule_charset): Specify
1755 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1756 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1758 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1760 * mule-charset.c (decode_defined_char): New function; search
1762 (decode_builtin_char): Don't search mother if
1763 XCHARSET_MAX_CODE(charset) == 0.
1764 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1765 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1766 (Fdecode_char): Use `decode_defined_char' instead of
1767 `DECODE_DEFINED_CHAR'.
1768 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1769 mother of `Vcharset_ucs_jis'.
1771 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1772 instead of `DECODE_DEFINED_CHAR'.
1774 * char-ucs.h (decode_defined_char): Renamed from
1775 `DECODE_DEFINED_CHAR'; changed to normal function.
1776 (DECODE_CHAR): Use `decode_defined_char' instead of
1777 `DECODE_DEFINED_CHAR'.
1779 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1781 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1783 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1785 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1787 (Quse_entity_reference): New variable.
1791 (coding_system_description): Add description for
1792 `ccs_priority_list'.
1793 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1794 (allocate_coding_system): Initialize `ccs_priority_list' in
1796 (Fmake_coding_system): Add description about
1797 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1799 (Fcoding_system_property): Accept `disable-composition' and
1800 `use-entity-reference' in UTF-2000.
1801 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1803 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1804 (decode_coding_utf8): Decode entity-reference if
1805 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1806 (char_encode_utf8): Encode non-Unicode characters as
1807 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1809 (syms_of_file_coding): Add new symbols `use-entity-reference',
1811 (vars_of_file_coding): Add new variable
1812 `coded-charset-entity-reference-alist'.
1813 (complex_vars_of_file_coding): Declare `disable-composition' and
1814 `use-entity-reference' to be coding-system-properties in UTF-2000.
1816 * file-coding.h (struct Lisp_Coding_System): Add new member
1817 `use_entity_reference' and `ccs_priority_list'.
1818 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1819 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1820 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1822 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1824 * chartab.c (save_uint8_byte_table): Don't clear the table.
1825 (save_uint16_byte_table): Likewise.
1826 (save_byte_table): Likewise.
1827 (Fmount_char_attribute_table): New function.
1828 (syms_of_chartab): Add new builtin function
1829 `mount-char-attribute-table'.
1831 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1833 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1835 (load_char_decoding_entry_maybe): Open database as read-only mode.
1837 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1838 open database as "w+" mode.
1839 (load_char_attribute_maybe): Open database as read-only mode.
1840 (Fload_char_attribute_table): Likewise.
1842 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1844 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1845 (char_table_description): Delete member `db_file'.
1846 (Fmake_char_table): Don't refer `ct->db_file'.
1847 (Fcopy_char_table): Likewise.
1848 (Fsave_char_attribute_table): Likewise.
1849 (Fclose_char_attribute_table): Likewise.
1850 (Freset_char_attribute_table): Likewise.
1851 (load_char_attribute_maybe): Likewise.
1852 (Fload_char_attribute_table): Likewise.
1854 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1856 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1859 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1861 (load_char_attribute_maybe): Likewise.
1862 (Fload_char_attribute_table): Likewise.
1864 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1866 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1867 `ct->db_file' unconditionally.
1869 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1871 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1873 (char_table_description): Add description for `db_file' and `db'
1875 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1877 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1878 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1879 (Fclose_char_attribute_table): New function.
1880 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1881 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1883 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1884 (syms_of_chartab): Add new builtin function
1885 `Fclose_char_attribute_table'.
1887 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1889 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1891 (load_char_attribute_maybe): Change interface.
1892 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1894 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1896 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1898 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1900 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1901 instead of `DECODE_CHAR' for mother; don't use special code for
1902 chinese-big5 to use code space of chinese-big5-1 and
1904 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1905 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1907 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1908 (MAX_CHAR_BIG5_CDP): Revival.
1910 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1912 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1913 the XLFD registry-encoding name of `chinese-big5'.
1915 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1917 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1918 (Qchinese_big5_cdp): Deleted.
1919 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1920 (complex_vars_of_mule_charset): Delete coded-charset
1923 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1924 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1925 `CHARSET_ID_OFFSET - n' for private CCS.
1926 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1927 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1928 of `MIN_LEADING_BYTE'.
1929 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1930 `(CHARSET_ID_OFFSET - 97)'.
1931 (MIN_CHAR_BIG5_CDP): Deleted.
1932 (MAX_CHAR_BIG5_CDP): Deleted.
1934 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1936 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1938 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1940 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1941 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1944 * chartab.c (Vutf_2000_version): Moved to mule.c.
1945 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1947 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1949 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1950 when HAVE_CHISE_CLIENT is not defined.
1952 * mule.c (vars_of_mule): Provide feature `chise' when
1953 HAVE_CHISE_CLIENT is defined.
1955 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1957 * config.h.in (UTF2000): Add comment.
1958 (HAVE_CHISE_CLIENT): New macro.
1960 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1962 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1964 (Fput_char_attribute): Likewise.
1965 (char_attribute_system_db_file): Encode file-name of attribute.
1966 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1969 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1971 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1972 (Fsave_charset_mapping_table): Use
1973 `char_attribute_system_db_file'.
1974 (load_char_decoding_entry_maybe): Likewise.
1976 * chartab.h (Qsystem_char_id): New external variable.
1977 (char_attribute_system_db_file): New prototype.
1979 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1980 (char_attribute_system_db_file): New function.
1981 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1982 (Freset_char_attribute_table): Likewise.
1983 (load_char_attribute_maybe): Likewise.
1984 (Fload_char_attribute_table): Likewise.
1985 (syms_of_chartab): Add new symbol `system-char-id'.
1987 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1989 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1990 `XCHARSET_GRAPHIC(ccs)'.
1992 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1994 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1996 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1998 * chartab.c (Q_ucs_variants): New variable.
1999 (syms_of_chartab): Add new symbol `->ucs-variants'.
2000 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2001 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2002 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2004 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2006 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2007 `HAVE_DATABASE' is defined.
2008 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2009 `HAVE_DATABASE' is defined.
2011 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2013 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2015 (Freset_char_attribute_table): New function.
2016 (syms_of_chartab): Add new builtin function
2017 `reset-char-attribute-table'.
2019 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2021 * chartab.c (load_char_attribute_maybe): Don't make directories.
2023 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2025 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2027 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2030 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2032 * mule-charset.c (Fsave_charset_mapping_table): Use
2033 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2035 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2036 instead of `XCHARSET_CHARS'.
2038 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2040 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2041 (XCHARSET_BYTE_SIZE): Likewise.
2043 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2045 (XCHARSET_BYTE_SIZE): Likewise.
2047 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2049 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2050 data-directory to store database.
2051 (Fsave_char_attribute_table): Likewise.
2052 (load_char_attribute_maybe): Likewise.
2053 (Fload_char_attribute_table): Likewise.
2055 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2057 * mule-charset.c (Fsave_charset_mapping_table): New function.
2058 (syms_of_mule_charset): Add new builtin function
2059 `save-charset-mapping-table'.
2061 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2063 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2064 (get_ccs_octet_table): New inline function.
2065 (put_ccs_octet_table): Likewise.
2066 (decoding_table_put_char): Use `get_ccs_octet_table' and
2067 `put_ccs_octet_table'.
2068 (decoding_table_remove_char): Use `decoding_table_put_char'.
2069 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2071 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2072 into encoding_table.
2073 (make_charset): Use Qunbound instead Qnil as initial value of
2076 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2078 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2079 element is Qunloaded.
2080 (map_over_uint16_byte_table): Likewise.
2081 (map_over_byte_table): Likewise.
2082 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2083 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2084 database support, load encoding-table of the specified
2085 coded-charset if it is not loaded yet.
2086 (save_uint8_byte_table): New function of UTF-2000 with external
2088 (save_uint16_byte_table): Likewise.
2089 (save_byte_table): Likewise.
2090 (Fput_char_attribute): Don't store value into external database
2091 even if the external database feature is supported in UTF-2000;
2092 set `attribute' as name of char-table if the external database
2093 feature is supported.
2094 (Fsave_char_attribute_table): New function in UTF-2000.
2095 (syms_of_chartab): Add new builtin function
2096 `save-char-attribute-table' in UTF-2000.
2098 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2100 * chartab.c (char_attribute_table_to_put): New variable in
2102 (Qput_char_table_map_function): Likewise.
2103 (value_to_put): Likewise.
2104 (Fput_char_table_map_function): New function in UTF-2000.
2105 (put_char_table): Use `Fmap_char_attribute' for
2106 CHARTAB_RANGE_CHARSET in UTF-2000.
2107 (Fput_char_attribute): Store symbol instead of string in
2108 `XCHAR_TABLE_NAME (table)'.
2109 (load_char_attribute_maybe): Likewise.
2110 (syms_of_chartab): Add new symbol/function
2111 `put-char-table-map-function'.
2113 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2115 * database.h: Add new EXFUN for `Fmap_database'.
2117 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2118 (syms_of_database): Likewise.
2120 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2122 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2123 (XCHAR_TABLE_UNLOADED): Likewise.
2125 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2126 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2127 HAVE_DATABASE is defined.
2128 (char_attribute_table_to_load): New variable of UTF-2000 with
2129 external database support.
2130 (Qload_char_attribute_table_map_function): Likewise.
2131 (Fload_char_attribute_table_map_function): New function of
2132 UTF-2000 with external database support.
2133 (Fload_char_attribute_table): New function of UTF-2000.
2134 (Fmap_char_attribute): Call Fload_char_attribute_table if
2135 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2136 (syms_of_chartab): Add new symbol and function
2137 `load-char-attribute-table-map-function' in UTF-2000 with external
2138 database support; add new function `load-char-attribute-table' in
2141 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * chartab.h (load_char_attribute_maybe): New prototype for
2144 UTF-2000 with DATABASE support.
2145 (get_char_id_table): Use `load_char_attribute_maybe' if
2146 HAVE_DATABASE is defined.
2148 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2149 with DATABASE support.
2151 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * chartab.c (Fput_char_attribute): Use S-expression as key of
2156 * chartab.h (get_char_id_table): Use S-expression as key of
2159 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2161 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2162 if an element is not loaded, load the corresponding attributes
2163 from an external database.
2164 (map_over_uint16_byte_table): Likewise.
2165 (map_over_byte_table): Likewise.
2166 (map_char_table): Modify for `map_over_uint8_byte_table',
2167 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2168 element is not loaded, load the corresponding attributes from an
2170 (Fput_char_attribute): Change initial values to Qunloaded.
2172 * chartab.h (get_char_id_table): If a character attribute is not
2173 loaded and the attribute value is not found in an external
2174 database, store Qunbound as the attribute value.
2176 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2178 * chartab.c (BT_UINT8_unloaded): New macro.
2179 (UINT8_VALUE_P): Accept Qunloaded.
2180 (UINT8_ENCODE): Likewise.
2181 (UINT8_DECODE): Likewise.
2182 (BT_UINT16_unloaded): New macro.
2183 (UINT16_VALUE_P): Accept Qunloaded.
2184 (UINT16_ENCODE): Likewise.
2185 (UINT16_DECODE): Likewise.
2186 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2188 (mark_char_table): Mark `ct->name' in UTF-2000.
2189 (char_table_description): Add `name' in UTF-2000.
2190 (Fmake_char_table): Initialize `ct->name'.
2191 (Fcopy_char_table): Copy `ct->name'.
2192 (Fput_char_attribute): Store value into an external database if
2193 HAVE_DATABASE is defined.
2195 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2197 (CHAR_TABLE_NAME): New macro in UTF-2000.
2198 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2199 (get_char_id_table): Try to read an external database if Qunloaded
2200 is stored in a table.
2202 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2205 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2207 * database.h: Add EXFUN definitions for Fopen_database,
2208 Fput_database, Fget_database and Fclose_database.
2210 * data.c (Qunloaded): New variable in UTF-2000.
2212 * lisp.h (Qunloaded): New variable in UTF-2000.
2214 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * mule-charset.c (put_char_ccs_code_point): Modify for
2217 `decoding_table_remove_char' and `decoding_table_put_char'.
2218 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2220 * char-ucs.h (decoding_table_remove_char): Change arguments to
2221 hide decoding_table vector.
2222 (decoding_table_put_char): Likewise.
2224 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * mule-charset.c (decoding_table_remove_char): Moved to
2228 (decoding_table_put_char): Likewise.
2230 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2231 from mule-charset.c].
2232 (decoding_table_remove_char): New inline function [moved from
2234 (decoding_table_put_char): Likewise.
2236 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2238 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2241 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2243 * mule-charset.c (decode_builtin_char): Support mother charsets.
2245 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2247 * mule-charset.c (Q94x94x60): New variable.
2248 (charset_code_point): Support conversion `94x94x60'.
2249 (Fmake_charset): Likewise.
2250 (syms_of_mule_charset): Add new symbol `94x94x60'.
2252 * char-ucs.h (CONVERSION_94x94x60): New macro.
2254 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2256 * mule-charset.c (charset_code_point): Unify code about
2259 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2261 * mule-charset.c (charset_code_point): Merge code about builtin
2262 characters into code about mother charsets; don't use
2263 `range_charset_code_point'.
2264 (range_charset_code_point): Deleted.
2266 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2268 * mule-charset.c (Qcode_offset): New variable.
2269 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2270 `max-code'; accept new property `code-offset'.
2271 (syms_of_mule_charset): Add new symbol `code-offset'.
2273 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2275 * mule-charset.c (range_charset_code_point): Fixed.
2277 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * mule-charset.c (decode_builtin_char): Change semantics of
2280 code-offset of coded-charset.
2281 (charset_code_point): Likewise.
2282 (range_charset_code_point): Likewise.
2283 (complex_vars_of_mule_charset): Modify for the change.
2285 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2287 * mule-charset.c (Fencode_char): Reverse arguments.
2289 * mule-charset.c (charset_code_point): Fixed.
2291 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2293 * mule-charset.c (Vcharset_mojikyo): Deleted.
2294 (Vcharset_mojikyo_2022_1): Deleted.
2295 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2296 (Qmin_code): New variable in UTF-2000.
2297 (Qmax_code): Likewise.
2298 (Qmother): Likewise.
2299 (Qconversion): Likewise.
2301 (Qmojikyo): Deleted.
2302 (Qmojikyo_2022_1): Deleted.
2303 (Qmojikyo_pj_{1..22}): Deleted.
2304 (mark_charset): Mark `cs->mother'.
2305 (charset_description): Add description for `mother'.
2306 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2307 new arguments `mother' and `conversion'; use
2308 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2309 (charset_code_point): Moved from char-ucs.h; support `mother'
2311 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2312 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2313 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2314 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2315 allow 2 as the value of `graphic' in UTF-2000; add new properties
2316 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2317 require `final' in UTF-2000; modify for `make_charset'.
2318 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2319 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2320 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2321 (Fencode_char): New function.
2322 (syms_of_mule_charset): Add new builtin function `encode-char' in
2323 UTF-2000; add new symbols `min-code', `max-code', `mother',
2324 `conversion' and `94x60'; delete symbols `mojikyo',
2325 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2326 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2327 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2328 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2330 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2331 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2333 * char-ucs.h (Vcharset_mojikyo): Deleted.
2334 (Vcharset_mojikyo_2022_1): Deleted.
2335 (LEADING_BYTE_MOJIKYO): Deleted.
2336 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2337 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2338 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2339 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2340 add new member `mother'; add new member `conversion'.
2341 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2342 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2343 (CHARSET_MOTHER): New macro.
2344 (CHARSET_CONVERSION): New macro.
2345 (CONVERSION_IDENTICAL): New macro.
2346 (CONVERSION_94x60): New macro.
2347 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2348 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2349 (XCHARSET_MOTHER): New macro.
2350 (XCHARSET_CONVERSION): New macro.
2351 (MIN_CHAR_MOJIKYO): Deleted.
2352 (MAX_CHAR_MOJIKYO): Deleted.
2353 (DECODE_MOJIKYO_2022): Deleted.
2354 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2355 (charset_code_point): Changed to non-inline function.
2356 (encode_char_1): Use `charset_code_point'.
2357 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2359 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2361 * lread.c (read_compiled_function): Fix prototype.
2362 (read_vector): Likewise.
2364 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2366 * lrecord.h (struct lrecord_header): Delete `older'.
2367 (set_lheader_implementation): Delete code for `older'.
2368 (set_lheader_older_implementation): Deleted.
2369 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2370 (OLDER_RECORD_P): Deleted.
2371 (OLDER_RECORD_HEADER_P): Deleted.
2372 (alloc_older_lcrecord): Deleted.
2373 (alloc_older_lcrecord_type): Deleted.
2375 * alloc.c (all_older_lcrecords): Deleted.
2376 (alloc_older_lcrecord): Deleted.
2377 (disksave_object_finalization_1): Delete code for older objects.
2378 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2379 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2381 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2383 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2384 instead of `make_older_vector'.
2385 (put_char_ccs_code_point): Likewise.
2386 (mark_charset): Mark `cs->decoding_table'.
2387 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2389 * lisp.h (make_older_vector): Deleted.
2390 (make_vector_newer): Deleted.
2392 * config.h.in (HAVE_GGC): Deleted.
2394 * alloc.c (make_older_vector): Deleted.
2395 (make_vector_newer_1): Deleted.
2396 (make_vector_newer): Deleted.
2398 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2401 (Qideograph_daikanwa_2): New variable.
2402 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2403 (complex_vars_of_mule_charset): Add new coded-charset
2404 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2405 `LEADING_BYTE_DAIKANWA'.
2407 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2408 (LEADING_BYTE_DAIKANWA_1): New macro.
2409 (LEADING_BYTE_DAIKANWA_2): New macro.
2410 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2412 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2414 * mule-charset.c (complex_vars_of_mule_charset): Change
2415 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2416 the second revised version.
2418 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2420 * mule-charset.c (Vcharset_ucs_smp): New variable.
2421 (Vcharset_ucs_sip): New variable.
2422 (Qucs_smp): New variable.
2423 (Qucs_sip): New variable.
2424 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2425 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2426 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2427 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2428 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2429 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2431 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2432 (LEADING_BYTE_UCS_SIP): New macro.
2433 (MIN_CHAR_SMP): New macro.
2434 (MAX_CHAR_SMP): New macro.
2435 (MIN_CHAR_SIP): New macro.
2436 (MAX_CHAR_SIP): New macro.
2438 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2440 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2443 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2445 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2446 value; don't store value into `encoding_table' of `Lisp_Charset'.
2447 (mark_charset): `encoding_table' was deleted.
2448 (charset_description): Likewise.
2449 (make_charset): Likewise.
2450 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2451 `put_char_ccs_code_point'.
2453 * chartab.h (Fput_char_attribute): New EXFUN.
2455 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2456 is unified with normal symbol space.
2457 (Fget_char_attribute): Likewise.
2458 (Fput_char_attribute): Likewise; behavior of
2459 `put_char_ccs_code_point' is changed.
2461 * char-ucs.h: Include "elhash.h".
2462 (Vchar_attribute_hash_table): New external variable.
2463 (struct Lisp_Charset): Delete `encoding_table'.
2464 (CHARSET_ENCODING_TABLE): New implementation; refer
2465 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2468 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2470 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2473 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2478 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * chartab.c (uint8_byte_table_description): New constant.
2481 (uint8-byte-table): Use `uint8_byte_table_description'.
2482 (uint16_byte_table_description): New constant.
2483 (uint16-byte-table): Use `uint16_byte_table_description'.
2485 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2487 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2488 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2490 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * mule-charset.c (Vcharset_ucs_ks): New variable.
2493 (Qucs_ks): New variable.
2494 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2495 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2497 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2499 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2501 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2502 (Fdecode_char): Likewise.
2504 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2506 (Fdefine_char): Modify for Fdecode_char.
2507 (Ffind_char): Likewise.
2509 * mule-charset.c (Fdecode_char): Add new optional argument
2511 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2513 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2515 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2516 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2517 (allocate_coding_system): Initialize initial-charsets of
2518 CODESYS_BIG5 in XEmacs UTF-2000.
2519 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2520 CODESYS_BIG5 in XEmacs UTF-2000.
2521 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2522 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2524 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2526 (Qideograph_hanziku_{1 .. 12}): Likewise.
2527 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2529 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2530 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2531 `ideograph-hanziku-{1 .. 12}'.
2533 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2534 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2535 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2536 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2537 (DECODE_DEFINED_CHAR): New inline function.
2538 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2540 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2542 * mule-charset.c (Vcharset_china3_jef): Renamed from
2543 `Vcharset_japanese_jef_china3'.
2544 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2545 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2546 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2547 (syms_of_mule_charset): Rename `china3-jef' from
2548 `japanese-jef-china3'.
2549 (complex_vars_of_mule_charset): Likewise; rename
2550 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2552 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2553 `LEADING_BYTE_JEF_CHINA3'.
2554 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2555 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2557 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * mule-charset.c (encode_builtin_char_1): Comment out special code
2560 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2562 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2563 (MAX_CHAR_MOJIKYO_0): Comment out.
2564 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2565 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2566 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2567 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2569 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2571 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2572 (Qideograph_cbeta): New variable.
2573 (encode_builtin_char_1): Comment out special code for
2574 coded-charset `mojikyo' and `japanese-jef-china3'.
2575 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2576 (complex_vars_of_mule_charset): Add new coded-charset
2579 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2580 (MIN_CHAR_CBETA): New macro.
2581 (MAX_CHAR_CBETA): New macro.
2583 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2585 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2586 (LEADING_BYTE_JEF_CHINA3): New macro.
2587 (MIN_CHAR_JEF_CHINA3): New macro.
2588 (MAX_CHAR_JEF_CHINA3): Likewise.
2589 (DECODE_CHAR): Fixed.
2591 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2593 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2594 (Qjapanese_jef_china3): New variable.
2595 (encode_builtin_char_1): Support `japanese-jef-china3'.
2596 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2597 (complex_vars_of_mule_charset): Add new coded-charset
2598 `japanese-jef-china3'.
2600 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2602 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2603 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2604 94^4, 96^3, 96^4, 128^n and 256^n set.
2605 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2606 (map_char_table): Likewise.
2608 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2610 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2613 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2615 * chartab.h (get_char_id_table): New inline function.
2617 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2620 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2622 * chartab.h (decode_char_table_range): New prototype in XEmacs
2624 (put_char_id_table): New inline function in XEmacs UTF-2000.
2626 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2628 (decode_char_table_range): Delete static declaration in XEmacs
2631 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * chartab.c (put_char_id_table): Use `put_char_table'.
2635 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2637 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2638 (map_over_uint16_byte_table): Likewise.
2639 (map_over_byte_table): Likewise.
2640 (map_char_table): Modify for `map_over_uint8_byte_table',
2641 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2644 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2646 * chartab.c (struct map_char_table_for_charset_arg): New
2648 (map_char_table_for_charset_fun): New function.
2649 (map_char_table): Use `map_char_table' for encoding_table of
2652 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2654 * chartab.c (map_char_table): Check a character is found in
2655 range->charset instead of non default value is defined in
2656 char-table when range is CHARTAB_RANGE_ROW.
2658 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * chartab.c (map_char_id_table): Deleted.
2661 (Fmap_char_attribute): Use `map_char_table' instead of
2662 `map_char_id_table'.
2664 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2668 (update_syntax_table): Deleted in XEmacs UTF-2000.
2670 * syntax.c (find_defun_start): Use `syntax_table' instead of
2671 `mirror_syntax_table' in XEmacs UTF-2000.
2672 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2674 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2676 (Fmatching_paren): Likewise.
2677 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2679 (find_start_of_comment): Likewise.
2680 (find_end_of_comment): Likewise.
2681 (Fforward_comment): Likewise.
2682 (scan_lists): Likewise.
2683 (char_quoted): Likewise.
2684 (Fbackward_prefix_chars): Likewise.
2685 (scan_sexps_forward): Likewise.
2686 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2687 (update_syntax_table): Likewise.
2689 * search.c (skip_chars): Use `syntax_table' instead of
2690 `mirror_syntax_table' in XEmacs UTF-2000.
2691 (wordify): Likewise.
2692 (Freplace_match): Likewise.
2694 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2695 `mirror_syntax_table' in XEmacs UTF-2000.
2696 (WORDCHAR_P_UNSAFE): Likewise.
2697 (re_match_2_internal): Likewise.
2699 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2700 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2702 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2703 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2705 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2708 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2710 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2711 (char_table_description): Delete `mirror_table' in XEmacs
2713 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2715 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2716 (Fcopy_char_table): Likewise.
2717 (put_char_table): Don't call `update_syntax_table' in XEmacs
2720 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2721 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2722 (casify_region_internal): Likewise.
2724 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2726 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2727 `mirror_syntax_table' in XEmacs UTF-2000.
2729 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2730 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2731 (Fexpand_abbrev): Likewise.
2733 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2735 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2737 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2740 (map_over_uint16_byte_table): Likewise.
2741 (map_over_byte_table): Likewise.
2742 (get_char_id_table): Refer `cit->default_value'.
2743 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2744 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2745 of character-id ranges.
2746 (mark_char_table): Mark `ct->default_value'.
2747 (char_table_description): Add `default_value'.
2748 (fill_char_table): Use `default_value'.
2749 (decode_char_table_range): Decode `nil' as
2750 `CHARTAB_RANGE_DEFAULT'.
2751 (get_char_id_table): Refer `cit->default_value'.
2752 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2753 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2754 temporary hack; check value of char-table is bound or not.
2755 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2757 * chartab.h (struct Lisp_Char_Table): Add new member
2758 `default_value' in XEmacs UTF-2000.
2759 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2760 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2763 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2765 * chartab.h (Lisp_Char_ID_Table): Deleted.
2767 * chartab.c (char_table_description): Fix typo.
2768 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2769 `Lisp_Char_ID_Table'.
2771 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2773 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2776 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2779 * chartab.h (XCHAR_ID_TABLE): Deleted.
2780 (XSETCHAR_ID_TABLE): Deleted.
2781 (CHAR_ID_TABLE_P): Deleted.
2783 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2785 (Fget_composite_char): Likewise.
2786 (put_char_table): Likewise.
2787 (add_char_attribute_alist_mapper): Fixed.
2788 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2790 (Fget_char_attribute): Likewise.
2791 (Fget_char_attribute): Likewise.
2792 (Fmap_char_attribute): Likewise.
2794 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2796 (encode_char_1): Likewise.
2798 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2800 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2803 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2804 instead of `XCHAR_ID_TABLE'.
2805 (remove_char_ccs): Likewise.
2807 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2809 (Fget_composite_char): Likewise.
2810 (Fchar_variants): Likewise.
2811 (put_char_table): Likewise.
2812 (add_char_attribute_alist_mapper): Likewise.
2813 (Fchar_attribute_alist): Likewise.
2814 (Fget_char_attribute): Likewise.
2815 (Fput_char_attribute): Likewise.
2816 (Fmap_char_attribute): Likewise.
2817 (Fmap_char_attribute): Likewise.
2819 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2821 (encode_char_1): Likewise.
2823 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2825 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2826 `Lisp_Char_ID_Table'.
2827 (mark_char_id_table): Deleted.
2828 (print_char_id_table): Likewise.
2829 (char_id_table_equal): Likewise.
2830 (char_id_table_hash): Likewise.
2831 (char_id_table_description): Likewise.
2832 (char_id_table): Likewise.
2833 (make_char_id_table): Use `Fmake_char_table' and
2835 (get_char_id_table): Use `Lisp_Char_Table' instead of
2836 `Lisp_Char_ID_Table'.
2837 (put_char_id_table): Likewise.
2838 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2840 (Fremove_char_attribute): Likewise.
2841 (syms_of_chartab): Don't define type `char-id-table'.
2843 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2844 (char_id_table): Likewise.
2845 (GC_CHAR_ID_TABLE_P): Likewise.
2846 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2847 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2848 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2849 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2850 (get_char_id_table): Use `Lisp_Char_Table' instead of
2851 `Lisp_Char_ID_Table'.
2852 (put_char_id_table_0): Likewise.
2853 (put_char_id_table): Likewise.
2855 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2857 * chartab.h: Lisp_Byte_Table related codes are moved from
2860 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2862 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2864 * chartab.h: Don't include "chartab.h".
2865 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2866 (Lisp_Char_ID_Table): Likewise.
2867 (char_id_table): Likewise.
2868 (XCHAR_ID_TABLE): Likewise.
2869 (XSETCHAR_ID_TABLE): Likewise.
2870 (CHAR_ID_TABLE_P): Likewise.
2871 (GC_CHAR_ID_TABLE_P): Likewise.
2872 (get_char_id_table): Likewise.
2874 * char-ucs.h: Include "chartab.h".
2875 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2876 (Lisp_Char_ID_Table): Likewise.
2877 (char_id_table): Likewise.
2878 (XCHAR_ID_TABLE): Likewise.
2879 (XSETCHAR_ID_TABLE): Likewise.
2880 (CHAR_ID_TABLE_P): Likewise.
2881 (GC_CHAR_ID_TABLE_P): Likewise.
2882 (get_char_id_table): Likewise.
2884 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2886 * chartab.c (copy_uint8_byte_table): New function.
2887 (copy_uint16_byte_table): New function.
2888 (copy_byte_table): New function.
2889 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2891 (map_over_uint16_byte_table): Likewise.
2892 (map_over_byte_table): Likewise.
2893 (get_byte_table): Move prototype to chartab.h.
2894 (put_byte_table): Likewise.
2895 (put_char_id_table_0): Moved to chartab.h.
2896 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2897 (char_table_entry_equal): Likewise.
2898 (char_table_entry_hash): Likewise.
2899 (char_table_entry_description): Likewise.
2900 (char_table_entry): Likewise.
2901 (make_char_table_entry): Likewise.
2902 (copy_char_table_entry): Likewise.
2903 (get_non_ascii_char_table_value): Likewise.
2904 (map_over_charset_ascii): Likewise.
2905 (map_over_charset_control_1): Likewise.
2906 (map_over_charset_row): Likewise.
2907 (map_over_other_charset): Likewise.
2908 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2909 (print_char_table): Likewise.
2910 (char_table_equal): Likewise.
2911 (char_table_hash): Likewise.
2912 (char_table_description): Likewise.
2913 (fill_char_table): Likewise.
2914 (Fcopy_char_table): Likewise.
2915 (get_char_table): Likewise.
2916 (Fget_range_char_table): Likewise.
2917 (put_char_table): Likewise.
2918 (map_char_table): Likewise.
2919 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2922 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2924 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2925 `Vauto_fill_chars' in XEmacs UTF-2000.
2927 * chartab.h (get_byte_table): New prototype [moved from
2929 (put_byte_table): Likewise [moved from chartab.c].
2930 (put_char_id_table_0): New inline function [moved from chartab.c].
2931 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2932 (Lisp_Char_Table_Entry): Likewise.
2933 (char_table_entry): Likewise.
2934 (XCHAR_TABLE_ENTRY): Likewise.
2935 (XSETCHAR_TABLE_ENTRY): Likewise.
2936 (CHAR_TABLE_ENTRYP): Likewise.
2937 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2938 (NUM_ASCII_CHARS): Likewise.
2939 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2940 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2942 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2944 * chartab.c (get_char_id_table): Change interface.
2945 (put_char_id_table_0): New function.
2946 (put_char_id_table): Change interface; new implementation.
2947 (Fget_composite_char): Modify for interface change of
2948 `get_char_id_table'.
2949 (Fchar_variants): Likewise.
2950 (add_char_attribute_alist_mapper): Likewise.
2951 (Fchar_attribute_alist): Likewise.
2952 (Fget_char_attribute): Likewise.
2953 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2954 as same as character as the first argument like `put-char-table';
2955 modify for interface change of `put_char_id_table'.
2956 (Fremove_char_attribute): Modify for interface change of
2957 `put_char_id_table'.
2959 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2961 * text-coding.c: Sync up with XEmacs 21.2.41.
2962 (COMPOSE_ADD_CHAR): Modify for interface change of
2963 `get_char_id_table'.
2965 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2966 change of `put_char_id_table'.
2967 (remove_char_ccs): Likewise.
2969 * chartab.h (put_char_id_table): Change interface.
2971 * char-ucs.h (get_char_id_table): Change interface.
2972 (charset_code_point): Modify for interface change of
2973 `get_char_id_table'.
2974 (encode_char_1): Likewise.
2976 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2978 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2980 (map_over_uint16_byte_table): Likewise.
2981 (map_over_byte_table): Likewise.
2982 (map_char_id_table): Add new argument `range' like
2984 (Fmap_char_attribute): Add new argument `range' like
2987 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2989 * chartab.c (map_over_uint8_byte_table): Change interface of
2990 mapping function to use struct chartab_range instead of Emchar.
2991 (map_over_uint16_byte_table): Likewise.
2992 (map_over_byte_table): Likewise.
2993 (map_char_id_table): Likewise.
2994 (struct slow_map_char_id_table_arg): Deleted.
2995 (slow_map_char_id_table_fun): Deleted.
2996 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2997 function `slow_map_char_table_fun' instead of struct
2998 `slow_map_char_id_table_arg' and function
2999 `slow_map_char_id_table_fun'.
3001 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3003 * mule-charset.c: Move char-it-table related codes to chartab.c.
3004 (Vutf_2000_version): Moved to chartab.c.
3005 (Fdefine_char): Likewise.
3006 (Ffind_char): Likewise.
3007 (syms_of_mule_charset): Move types `uint8-byte-table',
3008 `uint16-byte-table', `byte-table' and `char-id-table' to
3009 chartab.c; move functions `char_attribute_list,
3010 `find_char_attribute_table, `char_attribute_alist,
3011 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3012 `map_char_attribute, `define_char, `find_char, `char_variants and
3013 `get_composite_char to chartab.c; move symbols `=>ucs',
3014 `->decomposition', `compat', `isolated', `initial', `medial',
3015 `final', `vertical', `noBreak', `fraction', `super', `sub',
3016 `circle', `square', `wide', `narrow', `small' and `font' to
3018 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3019 setting codes for `Vcharacter_composition_table' and
3020 `Vcharacter_variant_table' to chartab.c.
3021 (complex_vars_of_mule_charset): Move setting code for
3022 `Vchar_attribute_hash_table' to chartab.c.
3024 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3025 (make_char_id_table): New prototype.
3026 (put_char_id_table): Likewise.
3027 (Fget_char_attribute): Likewise.
3029 * chartab.c: Move char-id-table related code from mule-charset.c.
3030 (Vutf_2000_version): Moved from mule-charset.c.
3032 * char-ucs.h (Qucs): New external variable.
3033 (put_char_ccs_code_point): New prototype.
3034 (remove_char_ccs): Likewise.
3036 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3038 * mule-charset.c (Vcharset_ucs_jis): New variable.
3039 (Qucs_jis): Likewise.
3040 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3041 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3043 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3045 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3047 * mule-charset.c (map_over_uint8_byte_table): New function.
3048 (map_over_uint16_byte_table): Likewise.
3049 (map_over_byte_table): Likewise.
3050 (map_char_id_table): Likewise.
3051 (slow_map_char_id_table_fun): Likewise.
3052 (Fmap_char_attribute): Likewise.
3053 (syms_of_mule_charset): Add new function `map-char-attribute'.
3055 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3057 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3058 (syms_of_mule_charset): Add new function `find-char'.
3060 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3064 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3065 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3067 (complex_vars_of_mule_charset): Add new coded-charset
3068 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3069 `ideograph-gt-pj-*'.
3071 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3073 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3075 * mule-charset.c (encode_builtin_char_1): Purge codes about
3076 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3077 {MIN|MAX}_CHAR_HEBREW.
3078 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3079 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3081 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3082 (MAX_CHAR_GREEK): Purged.
3083 (MIN_CHAR_CYRILLIC): Purged.
3084 (MAX_CHAR_CYRILLIC): Purged.
3085 (MIN_CHAR_HEBREW): Commented out.
3086 (MAX_CHAR_HEBREW): Likewise.
3088 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * mule-charset.c (Qto_ucs): New variable.
3091 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3092 (Fdefine_char): Likewise.
3093 (syms_of_mule_charset): Add new symbol `=>ucs'.
3095 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * mule-charset.c (Fdecode_char): Fixed.
3099 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3101 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3102 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3105 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3107 * mule-charset.c (Vcharset_ucs_big5): New variable.
3108 (Qucs_big5): Likewise.
3109 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3110 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3112 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3114 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * mule-charset.c (decode_builtin_char): Check Big5 code range
3117 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3119 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3121 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3122 (Qchinese_gb12345): Likewise.
3123 (Fdecode_builtin_char): Fixed.
3124 (syms_of_mule_charset): Add `chinese-gb12345'.
3125 (complex_vars_of_mule_charset): Add coded-charset
3128 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3129 (LEADING_BYTE_CHINESE_GB12345): New macro.
3131 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3133 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3134 and `latin-viscii-upper' for `latin-viscii'.
3136 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (Fdecode_builtin_char): Comment out
3139 regularization code for ISO-IR GR representation.
3141 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3143 * mule-charset.c (decode_builtin_char): New function; renamed from
3144 `make_builtin_char'; return -1 instead of signal.
3145 (Fdecode_builtin_char): Use `decode_builtin_char'.
3147 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3148 `make_builtin_char'.
3149 (DECODE_CHAR): Use `decode_builtin_char' instead of
3150 `make_builtin_char'; use mapping table of `chinese-big5' for
3151 `chinese-big5-{1,2}'.
3153 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3155 * text-coding.c (char_encode_big5): New function.
3156 (char_finish_big5): Likewise.
3157 (reset_encoding_stream): Use `char_encode_big5' and
3158 `char_finish_big5' for CODESYS_BIG5.
3159 (mule_encode): Don't use `encode_coding_big5'.
3160 (encode_coding_big5): Deleted.
3162 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3164 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3165 0x81- in XEmacs UTF-2000.
3166 (detect_coding_big5): Likewise.
3168 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3170 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3171 generate character-id if the CCS property does not have
3172 corresponding predefined character.
3173 (make_builtin_char): Return -1 if corresponding predefined
3174 character is not found.
3175 (Fdecode_char): Return nil if corresponding character is not
3177 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3178 don't map to builtin ucs space.
3180 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3183 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3185 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3187 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3188 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3189 (Qideograph_gt): Likewise.
3190 (Qideograph_gt_pj_{1..11}): Likewise.
3191 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3192 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3193 `ideograph-gt-pj-11'.
3194 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3195 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3196 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3198 * char-ucs.h (LEADING_BYTE_GT): New macro.
3199 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3200 (MIN_CHAR_GT): Likewise.
3201 (MAX_CHAR_GT): Likewise.
3203 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3205 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3206 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3208 * doprnt.c (unsigned_int_converters): Add `c'.
3209 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3211 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3212 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3214 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3215 (MAX_CHAR_MOJIKYO_0): New macro.
3216 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3218 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3220 * mule-charset.c (Fdefine_char): Delete cemented out code.
3221 (encode_builtin_char_1): Modify for new allocation of builtin
3224 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3226 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3228 * mule-charset.c (Vcharset_ucs_cns): New variable.
3229 (Qucs_cns): New variable.
3230 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3231 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3233 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3235 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3237 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3239 * search.c (search_buffer): Make `charset_base_code' as
3240 character-id >> 6 to eliminate the corresponding last byte in
3241 UTF-8 representation [I'm not sure it is right thing].
3242 (boyer_moore): Likewise.
3244 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3246 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3247 representation in MULE.
3249 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3251 * text-coding.c (Fmake_coding_system): Use
3252 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3253 `EXTERNAL_PROPERTY_LIST_LOOP'.
3255 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3257 * text-coding.c (decode_output_utf8_partial_char): New function.
3258 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3260 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3262 * text-coding.c (decode_coding_utf8): Output original byte
3263 sequence if it is broken; change order of conditions.
3265 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3268 * mb-multibyte.h (BYTE_ASCII_P):
3269 Use bit ops for char-signedness safety.
3270 (BYTE_C0_P): Use bit ops for char-signedness safety.
3271 (BYTE_C1_P): Use bit ops for char-signedness safety.
3273 * character.h: (XCHAR_OR_CHAR_INT):
3274 Always use inline function.
3275 Remove redundant type checking assert() - XINT will abort quite
3278 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3280 * text-coding.c: (Fencode_shift_jis_char):
3281 (Fencode_big5_char):
3282 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3283 Replace 0 with '\0' when working with bytes.
3284 Replace initial "(" with "\(" in docstrings.
3286 (Fmake_coding_system):
3287 When type is ccl and value is vector, register it with a proper
3288 symbol. And checks whether the given ccl program is valid.
3289 (mule_decode): When calling ccl_driver, if src indicates
3290 NULL pointer, set an empty string instead.
3291 (mule_encode): Likewise.
3294 (detect_coding_sjis):
3295 (decode_coding_sjis):
3296 (detect_coding_big5):
3297 (decode_coding_big5):
3298 (detect_coding_ucs4):
3299 (decode_coding_ucs4):
3300 (detect_coding_utf8):
3301 (decode_coding_utf8):
3302 (detect_coding_iso2022):
3303 (decode_coding_iso2022):
3304 (decode_coding_no_conversion):
3306 Make all detecting and decoding functions take an Extbyte * arg.
3307 (text_encode_generic):
3308 (encode_coding_big5):
3309 (encode_coding_no_conversion):
3311 Make all encoding functions take a Bufbyte * arg.
3312 Use size_t instead of unsigned int for memory sizes.
3313 Only cast to unsigned char whenever dereferencing Extbyte *.
3315 (struct lrecord_description fcd_description_1): Use countof.
3316 (complex_vars_of_file_coding):
3317 Use countof instead of sizeof.
3318 Use CHECK_NATNUM instead of CHECK_INT.
3320 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3322 * mule-charset.c (Fget_char_attribute): Add new optional argument
3324 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3325 (remove_char_ccs): Likewise.
3327 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3329 * text-coding.c (char_encode_shift_jis): New implementation in
3331 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3334 * mule-charset.c (Vcharset_chinese_big5): New variable in
3336 (Qchinese_big5): New variable in UTF-2000.
3337 (BIG5_SAME_ROW): New macro in UTF-2000.
3338 (make_builtin_char): Use builtin characters of
3339 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3340 characters of `Vcharset_chinese_big5'.
3341 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3342 (complex_vars_of_mule_charset): Add new coded-charset
3343 `chinese-big5' in UTF-2000.
3345 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3346 (Vcharset_chinese_big5): New external variable declaration.
3347 (Vcharset_japanese_jisx0208_1990): Likewise.
3349 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3351 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3353 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3355 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3357 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3358 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3359 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3362 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3364 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3366 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3368 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3371 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3373 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3374 for `CHARSET_BY_ATTRIBUTES'.
3375 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3376 `CHARSET_BY_ATTRIBUTES'.
3378 * text-coding.c (struct decoding_stream): Rename member `CH' to
3380 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3381 (decode_coding_sjis): Likewise.
3382 (decode_coding_big5): Likewise.
3383 (decode_coding_ucs4): Likewise.
3384 (decode_coding_utf8): Likewise.
3385 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3386 `CHARSET_BY_ATTRIBUTES'.
3387 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3388 `str->counter'; decode 3, 4 bytes sets.
3389 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3391 (decode_coding_no_conversion): Use `str->cpos' instead of
3394 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3395 (Qmojikyo_2022_1): New variable.
3396 (make_charset): Don't use `CHARSET_TYPE_*'.
3397 (range_charset_code_point): Support coded-charset
3399 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3400 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3401 `CHARSET_BY_ATTRIBUTES'.
3402 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3403 `CHARSET_BY_ATTRIBUTES'.
3404 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3405 (complex_vars_of_mule_charset): Add new coded-charset
3408 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3409 interface; changed to inline function.
3411 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3412 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3413 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3414 (CHARSET_TYPE_94): Deleted.
3415 (CHARSET_TYPE_94X94): Deleted.
3416 (CHARSET_TYPE_96): Deleted.
3417 (CHARSET_TYPE_96X96): Deleted.
3418 (CHARSET_TYPE_128): Deleted.
3419 (CHARSET_TYPE_128X128): Deleted.
3420 (CHARSET_TYPE_256): Deleted.
3421 (CHARSET_TYPE_256X256): Deleted.
3422 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3424 (DECODE_MOJIKYO_2022): New inline function.
3425 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3426 `Vcharset_mojikyo_2022_1'.
3428 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3430 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3432 (put_byte_table): Likewise.
3433 (char_id_table_equal): Use `get_byte_table' [new implementation].
3435 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3437 * mule-charset.c: Include <limits.h> in UTF-2000.
3438 (BT_UINT8_MIN): New macro in UTF-2000.
3439 (BT_UINT8_MAX): New macro in UTF-2000.
3440 (BT_UINT8_t): New macro in UTF-2000.
3441 (BT_UINT8_nil): New macro in UTF-2000.
3442 (BT_UINT8_unbound): New macro in UTF-2000.
3443 (INT_UINT8_P): New inline function in UTF-2000.
3444 (UINT8_VALUE_P): New inline function in UTF-2000.
3445 (UINT8_ENCODE): New inline function in UTF-2000.
3446 (UINT8_DECODE): New inline function in UTF-2000.
3447 (mark_uint8_byte_table): New function in UTF-2000.
3448 (print_uint8_byte_table): New function in UTF-2000.
3449 (uint8_byte_table_equal): New function in UTF-2000.
3450 (uint8_byte_table_hash): New function in UTF-2000.
3451 (make_uint8_byte_table): New function in UTF-2000.
3452 (uint8_byte_table_same_value_p): New function in UTF-2000.
3453 (BT_UINT16_MIN): New macro in UTF-2000.
3454 (BT_UINT16_MAX): New macro in UTF-2000.
3455 (BT_UINT16_t): New macro in UTF-2000.
3456 (BT_UINT16_nil): New macro in UTF-2000.
3457 (BT_UINT16_unbound): New macro in UTF-2000.
3458 (INT_UINT16_P): New inline function in UTF-2000.
3459 (UINT16_VALUE_P): New inline function in UTF-2000.
3460 (UINT16_ENCODE): New inline function in UTF-2000.
3461 (UINT16_DECODE): New inline function in UTF-2000.
3462 (UINT8_TO_UINT16): New inline function in UTF-2000.
3463 (mark_uint16_byte_table): New function in UTF-2000.
3464 (print_uint16_byte_table): New function in UTF-2000.
3465 (uint16_byte_table_equal): New function in UTF-2000.
3466 (uint16_byte_table_hash): New function in UTF-2000.
3467 (make_uint16_byte_table): New function in UTF-2000.
3468 (uint16_byte_table_same_value_p): New function in UTF-2000.
3469 (print_byte_table): New function in UTF-2000.
3470 (byte-table): Use `print_byte_table' as printer.
3471 (make_byte_table): Delete second argument `older'.
3472 (byte_table_same_value_p): New function in UTF-2000.
3473 (copy_byte_table): Deleted.
3474 (get_byte_table): New function in UTF-2000.
3475 (put_byte_table): New function in UTF-2000.
3476 (print_char_id_table): New function in UTF-2000.
3477 (char-id-table): Use `print_char_id_table' as printer.
3478 (make_char_id_table): Delete second argument `older'.
3479 (get_char_id_table): Use `get_byte_table [new implementation].
3480 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3482 (Ffind_char_attribute_table): New function in UTF-2000.
3483 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3484 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3485 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3486 (syms_of_mule_charset): Add new function
3487 `find-char-attribute-table' in UTF-2000.
3489 * lrecord.h (enum lrecord_type): Add
3490 `lrecord_type_uint16_byte_table' and
3491 `lrecord_type_uint8_byte_table'.
3493 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3494 (Lisp_Uint8_Byte_Table): New type.
3495 (XUINT8_BYTE_TABLE): New macro.
3496 (XSETUINT8_BYTE_TABLE): New macro.
3497 (UINT8_BYTE_TABLE_P): New macro.
3498 (GC_UINT8_BYTE_TABLE_P): New macro.
3499 (struct Lisp_Uint16_Byte_Table): New structure.
3500 (Lisp_Uint16_Byte_Table): New type.
3501 (XUINT16_BYTE_TABLE): New macro.
3502 (XSETUINT16_BYTE_TABLE): New macro.
3503 (UINT16_BYTE_TABLE_P): New macro.
3504 (GC_UINT16_BYTE_TABLE_P): New macro.
3506 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3508 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3509 (Vcharacter_ideographic_strokes_table): Deleted.
3510 (Vcharacter_total_strokes_table): Deleted.
3511 (Vcharacter_morohashi_daikanwa_table): Deleted.
3512 (Vcharacter_decomposition_table): Deleted.
3513 (Qname): Deleted because it is duplicated.
3514 (Qideographic_radical): Deleted.
3515 (Qideographic_strokes): Deleted.
3516 (Qtotal_strokes): Deleted.
3517 (Qmorohashi_daikanwa): Deleted.
3518 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3519 `ideographic-radical', `ideographic-strokes', `total-strokes',
3520 `morohashi-daikanwa' and `->decomposition'.
3521 (Fget_char_attribute): Likewise.
3522 (Fput_char_attribute): Likewise; use `make-vector' instead of
3523 `make_older_vector' for `->decomposition' value.
3524 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3525 `ideograph-daikanwa'.
3526 (syms_of_mule_charset): Delete builtin symbols `name',
3527 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3528 `morohashi-daikanwa'.
3529 (vars_of_mule_charset): Don't setup
3530 `Vcharacter_ideographic_radical_table',
3531 `Vcharacter_ideographic_strokes_table',
3532 `Vcharacter_total_strokes_table',
3533 `Vcharacter_morohashi_daikanwa_table' and
3534 `Vcharacter_decomposition_table'.
3536 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3538 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3539 `make_older_vector', `make_vector_newer_1' and
3540 `make_vector_newer'.
3542 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3543 `make_older_vector' and `make_vector_newer'.
3545 * config.h.in (HAVE_GGC): New macro.
3547 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3549 * mule-charset.c (struct char_attribute_list_closure): New
3550 structure in UTF-2000.
3551 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3552 (Fchar_attribute_list): Likewise.
3553 (Fset_charset_mapping_table): Use `make_vector_newer'.
3554 (Fdecode_builtin_char): New function in UTF-2000.
3555 (syms_of_mule_charset): Add new function `char-attribute-list' and
3556 `decode-builtin-char' in UTF-2000.
3558 * lisp.h (make_vector_newer): New prototype.
3560 * alloc.c (make_vector_newer_1): New function.
3561 (make_vector_newer): New function.
3563 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3565 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3568 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3570 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3571 (Vcharacter_attribute_table): Deleted.
3572 (Vcharacter_name_table): Deleted.
3573 (put_char_attribute): Deleted.
3574 (remove_char_attribute): Deleted.
3575 (struct char_attribute_alist_closure): New structure.
3576 (add_char_attribute_alist_mapper): New function.
3577 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3578 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3579 (Fget_char_attribute): Likewise.
3580 (Fput_char_attribute): Likewise.
3581 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3582 of `remove_char_attribute'.
3583 (Fdefine_char): Return character.
3584 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3585 and `Vcharacter_name_table'.
3586 (complex_vars_of_mule_charset): Likewise
3587 `Vchar_attribute_hash_table'.
3589 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3591 * character.h (CHARC_CHARSET): New macro.
3592 (CHARC_CHARSET_ID): New macro.
3593 (CHARC_CODE_POINT): New macro.
3594 (CHARC_COLUMNS): New macro.
3595 (CHARC_TO_CHAR): New inline function.
3596 (CHARC_EQ): New inline function.
3597 (CHARC_ASCII_EQ): New inline function.
3598 (CHARC_IS_SPACE): New inline function.
3599 (ASCII_TO_CHARC): New inline function.
3601 * char-ucs.h (encode_char_2): Deleted.
3602 (ENCODE_CHAR): Use `encode_char_1' again.
3603 (breakup_char_1): Likewise.
3604 (CHAR_TO_CHARC): New inline function.
3606 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3608 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3610 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3611 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3612 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3613 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3614 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3616 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3618 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3620 (x_output_display_block): Use `CHARC_CHARSET' and
3623 * redisplay-tty.c (tty_output_display_block): Use
3625 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3627 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3629 * insdel.c (find_charsets_in_charc_string): Use
3631 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3632 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3633 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3634 (convert_charc_string_into_malloced_string): Likewise.
3636 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3638 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3639 instead of <Emchar_dynarr *> for buf; use
3640 `convert_bufbyte_string_into_charc_dynarr' instead of
3641 `convert_bufbyte_string_into_emchar_dynarr'; use
3642 `find_charsets_in_charc_string' instead of
3643 `find_charsets_in_emchar_string'.
3646 - Include "character.h".
3647 (struct rune): New member `cglyph'; delete member `chr'.
3649 * redisplay.c (redisplay_text_width_charc_string): New function;
3650 delete `redisplay_text_width_emchar_string'.
3651 (rtw_charc_dynarr): New variable; renamed from
3652 `rtw_emchar_dynarr'.
3653 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3654 `rtw_emchar_dynarr'; use
3655 `convert_bufbyte_string_into_charc_dynarr' instead of
3656 `convert_bufbyte_string_into_emchar_dynarr'; use
3657 `redisplay_text_width_charc_string' instead of
3658 `redisplay_text_width_emchar_string'.
3659 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3660 instead of `rtw_emchar_dynarr'; use
3661 `convert_bufbyte_string_into_charc_dynarr' instead of
3662 `convert_bufbyte_string_into_emchar_dynarr'.
3663 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3664 `redisplay_text_width_charc_string' instead of
3665 `redisplay_text_width_emchar_string'.
3666 (create_text_block): Modify for <struct rune> change.
3667 (generate_formatted_string_db): Likewise.
3668 (create_string_text_block): Likewise.
3669 (pixel_to_glyph_translation): Likewise.
3671 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3672 instead of <const Emchar *>.
3673 (x_text_width): Likewise.
3674 (x_output_display_block): Use <Charc_dynarr *> instead
3675 <Emchar_dynarr *>; modify for <structure rune> change.
3676 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3679 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3680 <const Emchar *>; use `charc_string_displayed_columns' instead of
3681 `emchar_string_displayed_columns'.
3682 (tty_output_display_block): Use <Charc_dynarr *> instead of
3683 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3684 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3685 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3686 `tty_output_emchar_dynarr_dynarr'.
3687 (tty_output_charc_dynarr): New function; delete
3688 `tty_output_charc_dynarr'.
3690 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3691 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3692 <Emchar_dynarr *> for buf; use
3693 `convert_bufbyte_string_into_charc_dynarr' instead of
3694 `convert_bufbyte_string_into_emchar_dynarr'.
3696 * frame.c (title_string_charc_dynarr): New variable; renamed from
3697 `title_string_emchar_dynarr'.
3698 (generate_title_string): Use `title_string_charc_dynarr' instead
3699 of `title_string_emchar_dynarr'; use
3700 `convert_charc_string_into_malloced_string' instead of
3701 `convert_emchar_string_into_malloced_string'.
3702 (init_frame): Use `title_string_charc_dynarr' instead of
3703 `title_string_emchar_dynarr'.
3706 - Include "character.h".
3707 (struct console_methods): Use <const Charc *> instead of <const
3708 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3709 <Emchar_dynarr *> in output_string_method.
3711 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3714 * console-stream.c (stream_text_width): Use <const Charc *>
3715 instead of <const Emchar *>.
3717 * character.h (Charc_dynarr): New type.
3719 * char-ucs.h (structure Charc): New structure; define new type
3722 * char-lb.h (DECODE_CHAR): New inline function.
3723 (encode_char_1): New inline function.
3724 (ENCODE_CHAR): New macro.
3725 (structure Charc): New structure; define new type `Charc'.
3727 * char-1byte.h (Vcharset_control_1): New macro.
3728 (Vcharset_latin_iso8859_1): New macro.
3729 (DECODE_CHAR): New inline function.
3730 (encode_char_1): New inline function.
3731 (ENCODE_CHAR): New macro.
3732 (structure Charc): New structure; define new type `Charc'.
3734 * insdel.c (find_charsets_in_charc_string): New function; delete
3735 `find_charsets_in_emchar_string'.
3736 (charc_string_displayed_columns): New function; delete
3737 `emchar_string_displayed_columns'.
3738 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3739 `convert_bufbyte_string_into_emchar_dynarr'.
3740 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3741 `convert_charc_string_into_bufbyte_dynarr'.
3742 (convert_charc_string_into_malloced_string): New function; delete
3743 `convert_charc_string_into_malloced_string'.
3745 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3746 `find_charsets_in_emchar_string'.
3747 (charc_string_displayed_columns): New prototype; delete
3748 `emchar_string_displayed_columns'.
3749 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3750 `convert_charc_string_into_bufbyte_dynarr'.
3751 (convert_charc_string_into_malloced_string): New prototype; delete
3752 `convert_charc_string_into_malloced_string'.
3754 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3756 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3758 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3760 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3762 * char-ucs.h: Use <short> for <Charset_ID>.
3764 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3767 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3769 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3772 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3774 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3776 (Qmorohashi_daikanwa): New variable.
3777 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3778 for `morohashi-daikanwa' attribute.
3779 (Fget_char_attribute): Likewise.
3780 (Fput_char_attribute): Likewise.
3781 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3782 has the same value of `ideograph-daikanwa'.
3783 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3784 (vars_of_mule_charset): Setup
3785 `Vcharacter_morohashi_daikanwa_table'.
3787 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3789 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3791 (add_charset_to_list_mapper): Add `key' instead of
3792 `XCHARSET_NAME (value)' to return aliases.
3794 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3796 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3798 (Vcharacter_ideographic_strokes_table): New variable.
3799 (Qideographic_radical): New variable.
3800 (Qideographic_strokes): New variable.
3801 (Fchar_attribute_alist): Use
3802 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3803 attribute; use `Vcharacter_ideographic_strokes_table' for
3804 `ideographic-strokes' attribute.
3805 (Fget_char_attribute): Likewise.
3806 (Fput_char_attribute): Likewise.
3807 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3808 `ideographic-strokes'.
3809 (vars_of_mule_charset): Setup
3810 `Vcharacter_ideographic_radical_table' and
3811 `Vcharacter_ideographic_strokes_table'.
3813 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3815 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3816 (Qtotal_strokes): New variable.
3817 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3818 `total-strokes' attribute.
3819 (Fget_char_attribute): Likewise.
3820 (Fput_char_attribute): Likewise.
3821 (syms_of_mule_charset): Add new symbol `total-strokes'.
3822 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3824 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3826 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3827 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3829 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3830 `->decomposition' attribute.
3831 (Fput_char_attribute): Likewise.
3832 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3834 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (decoding_table_check_elements): New function.
3837 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3839 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * mule-charset.c (Fset_charset_mapping_table): Use
3842 `put_char_ccs_code_point'.
3844 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3846 * mule-charset.c (decoding_table_put_char): New inline function.
3847 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3849 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3851 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3852 (XCHARSET_BYTE_SIZE): New macro.
3853 (decoding_table_remove_char): New inline function.
3854 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3855 `decoding_table_remove_char'.
3856 (remove_char_ccs): Use `decoding_table_remove_char'.
3857 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3859 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3861 * mule-charset.c (Vcharacter_name_table): New variable.
3862 (Qname): New variable.
3863 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3865 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3866 `Vcharacter_name_table' for `name' attribute.
3867 (Fremove_char_attribute): Use function `remove_char_ccs'.
3868 (put_char_ccs_code_point): New function.
3869 (remove_char_ccs): New function.
3870 (syms_of_mule_charset): Add new symbol `name'.
3871 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3873 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3875 * mule-charset.c (make_byte_table): Add new argument `older'.
3876 (make_char_id_table): Likewise.
3877 (copy_char_id_table): Comment out because it is not used.
3878 (put_char_id_table): Modify for `make_byte_table'.
3879 (Fput_char_attribute): Make encoding_table as older object;
3880 inherit older bit of `Vcharacter_composition_table'.
3881 (mark_charset): Don't mark `cs->encoding_table'.
3882 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3883 normal object; make `Vcharacter_composition_table' as an older
3884 object; delete staticpro for `Vcharacter_composition_table'; make
3885 `Vcharacter_variant_table' as a normal object.
3887 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3888 (mark_object): Don't check older object in UTF-2000.
3890 * lrecord.h (struct lrecord_header): Add new member `older' in
3892 (set_lheader_implementation): Setup `SLI_header->older' in
3894 (set_lheader_older_implementation): New macro in UTF-2000.
3895 (OLDER_RECORD_P): New macro in UTF-2000.
3896 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3897 (alloc_older_lcrecord): New prototype in UTF-2000.
3898 (alloc_older_lcrecord_type): New macro in UTF-2000.
3900 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3902 * mule-charset.c (byte_table_description): Use
3903 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3904 (char_id_table_description): Delete bogus `, 1'.
3905 (Fget_char_attribute): Refer encoding_table of each coded-charset
3906 to get value of coded-charset attribute of a character.
3907 (Fput_char_attribute): Use `make_older_vector' instead of
3908 `make_vector'; use encoding_table of each coded-charset to store
3909 value of coded-charset attribute of a character.
3910 (Fremove_char_attribute): Use encoding_table of each coded-charset
3911 to store value of coded-charset attribute of a character.
3912 (mark_charset): Mark `cs->encoding_table'; don't mark
3913 `cs->decoding_table'.
3914 (charset_description): Add description of new member
3916 (make_charset): Initialize `encoding_table'.
3918 * char-ucs.h (struct Lisp_Charset): Add new member
3920 (CHARSET_ENCODING_TABLE): New macro.
3921 (XCHARSET_ENCODING_TABLE): New macro.
3922 (charset_code_point): New implementation.
3923 (encode_char_1): Likewise.
3925 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3926 (disksave_object_finalization_1): Call finalizers of
3927 `all_older_lcrecords' in UTF-2000.
3928 (make_older_vector): New function in UTF-2000.
3929 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3932 * lisp.h (make_older_vector): New prototype in UTF-2000.
3934 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3936 * lrecord.h (enum lrecord_type): Rename
3937 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3939 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3940 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3941 `get_char_code_table'.
3943 * mule-charset.c (mark_char_id_table): Renamed from
3944 `mark_char_code_table'.
3945 (char_id_table_equal): Renamed from `char_code_table_equal'.
3946 (char_id_table_hash): Renamed from `char_code_table_hash'.
3947 (make_char_id_table): Renamed from `make_char_code_table'.
3948 (copy_char_id_table): Renamed from `copy_char_code_table'.
3949 (get_char_id_table): Renamed from `get_char_code_table'.
3950 (put_char_id_table): Renamed from `put_char_code_table'.
3951 (to_char_id): Renamed from `to_char_code'.
3953 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3954 `Lisp_Char_Code_Table'.
3955 (char_id_table): Renamed from `char_code_table'.
3956 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3957 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3958 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3959 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3960 (get_char_id_table): Renamed from `get_char_code_table'.
3962 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3964 * lrecord.h (enum lrecord_type): Rename
3965 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3967 * mule-charset.c (mark_byte_table): Renamed from
3968 `mark_char_byte_table'.
3969 (byte_table_equal): Renamed from `char_byte_table_equal'.
3970 (byte_table_hash): Renamed from `byte_table_hash'.
3971 (make_byte_table): Renamed from `make_byte_table'.
3972 (copy_byte_table): Renamed from `copy_char_byte_table'.
3974 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3975 `Lisp_Char_Byte_Table'.
3976 (byte_table): Renamed from `char_byte_table'.
3977 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3978 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3979 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3980 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3982 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3984 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3985 (dfc_convert_to_internal_format): Likewise.
3987 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3988 * text-coding.c (Fcoding_system_alias_p): New function.
3989 * text-coding.c (Fcoding_system_aliasee): New function.
3990 * text-coding.c (append_suffix_to_symbol): New function.
3991 * text-coding.c (dangling_coding_system_alias_p): New function.
3992 * text-coding.c (Ffind_coding_system):
3993 * text-coding.c (Fcopy_coding_system):
3994 * text-coding.c (encode_coding_no_conversion):
3995 * text-coding.c (syms_of_file_coding):
3996 * text-coding.c (vars_of_file_coding):
3997 Rewrite coding system alias code.
3998 Allow nested aliases, like symbolic links.
3999 Allow redefinition of coding system aliases.
4000 Prevent existence of dangling coding system aliases.
4001 Eliminate convert_to_external_format.
4002 Eliminate convert_to_internal_format.
4004 * text-coding.c: Change enum eol_type to eol_type_t.
4006 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4008 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4009 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4011 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4012 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4014 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4016 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4017 `ideograph-daikanwa'.
4019 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4020 (Vcharset_ucs_bmp): Likewise.
4021 (Vcharset_mojikyo): Add new extern variable definition.
4022 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4023 (Vcharset_latin_iso8859_3): Likewise.
4024 (Vcharset_latin_iso8859_4): Likewise.
4025 (Vcharset_latin_iso8859_9): Likewise.
4026 (Vcharset_latin_viscii_lower): Likewise.
4027 (Vcharset_latin_viscii_upper): Likewise.
4028 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4029 `mojikyo' code-point is used to decode.
4030 (encode_char_2): New function [to convert `mojikyo' code-point to
4031 Mojikyo font encoding].
4032 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4033 (breakup_char_1): Likewise.
4034 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4036 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4038 * text-coding.c (Fmake_coding_system): Add document about
4039 `disable-composition' property.
4041 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4043 * text-coding.c (Qdisable_composition): New variable; delete
4045 (Fmake_coding_system): Add new property `disable-composite';
4046 delete property `composite'.
4047 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4048 instead of `!CODING_SYSTEM_COMPOSITE'.
4049 (syms_of_file_coding): Add new symbol `disable-composition';
4050 delete symbol `composite'.
4052 * file-coding.h (struct Lisp_Coding_System): Add
4053 `disable_composition'; delete `enable_composition'.
4054 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4055 `CODING_SYSTEM_COMPOSITE'.
4056 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4057 `XCODING_SYSTEM_COMPOSITE'.
4059 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4061 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4064 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4066 * text-coding.c (Qcomposite): New variable.
4067 (Fmake_coding_system): Add new property `composite'.
4068 (struct decoding_stream): Add `combined_char_count',
4069 `combined_chars' and `combining_table' in UTF-2000.
4070 (COMPOSE_FLUSH_CHARS): New macro.
4071 (COMPOSE_ADD_CHAR): New macro.
4072 (reset_decoding_stream): Reset `str->combined_char_count' and
4073 `str->combining_table' in UTF-2000.
4074 (decode_coding_iso2022): Modify for character-decomposition.
4075 (syms_of_file_coding): Add new symbol `composite'.
4077 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4079 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4080 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4081 of `Vcharacter_composition_table' if `->decomposition' property
4083 (Qlatin_tcvn5712): New variable.
4084 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4085 (complex_vars_of_mule_charset): Add new coded-charset
4088 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4090 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4092 * file-coding.h (struct Lisp_Coding_System): Add
4093 `enable_composition'.
4094 (CODING_SYSTEM_COMPOSITE): New macro.
4095 (XCODING_SYSTEM_COMPOSITE): New macro.
4097 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4099 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4101 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4103 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4104 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4106 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4108 * mule-charset.c (Vcharset_mojikyo): New variable.
4109 (Fdefine_char): Don't use coded-charset which does not have
4110 non-builtin character range to allocate character-id.
4111 (Qmojikyo): New variable.
4112 (syms_of_mule_charset): Add new symbol `mojikyo'.
4113 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4115 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4116 (LEADING_BYTE_MOJIKYO): New macro.
4117 (MIN_CHAR_MOJIKYO): New macro.
4118 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4119 (MAX_CHAR_MOJIKYO): New macro.
4121 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4123 * mule-charset.c (remove_char_attribute): Fixed.
4125 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4127 * mule-charset.c (remove_char_attribute): New function.
4128 (Fremove_char_attribute): New function.
4129 (encode_builtin_char_1): Comment out builtin-support for
4130 greek-iso8859-7 and cyrillic-iso8859-5.
4131 (Fdecode_char): Check `code' is an integer.
4132 (syms_of_mule_charset): Add `remove-char-attribute'.
4133 (MIN_CHAR_GREEK): Deleted.
4134 (MAX_CHAR_GREEK): Likewise.
4135 (MIN_CHAR_CYRILLIC): Likewise.
4136 (MAX_CHAR_CYRILLIC): Likewise.
4137 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4138 MAX_CHAR_GREEK for `greek-iso8859-7'.
4140 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4141 (MAX_CHAR_GREEK): Likewise.
4142 (MIN_CHAR_CYRILLIC): Likewise.
4143 (MAX_CHAR_CYRILLIC): Likewise.
4145 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4147 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4148 format is used without `ucs' property.
4149 (Fdecode_char): Fix problem with GR representation.
4150 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4151 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4153 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4155 * mule-charset.c (make_builtin_char): New function.
4156 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4157 (Fset_charset_mapping_table): Modify for new representation of
4159 (Fdecode_char): New function.
4160 (syms_of_mule_charset): Add new builtin function `decode-char' in
4163 * char-ucs.h (make_builtin_char): New prototype.
4164 (DECODE_CHAR): New inline function.
4165 (MAKE_CHAR): Use `DECODE_CHAR'.
4167 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4169 * text-coding.c (parse_charset_conversion_specs): Use
4170 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4172 (iso2022_designate): Likewise.
4174 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4175 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4177 * mule-charset.c (Vcharset_ucs): New variable.
4178 (print_charset): Change design; use `CHARSET_CHARS' and
4179 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4180 (make_charset): Change signature to specify `chars' and
4181 `dimension' instead of `type'.
4182 (range_charset_code_point): Modify for 256^n-set.
4183 (encode_builtin_char_1): Encode as `ucs' in default.
4184 (Fmake_charset): Modify for `make_charset'.
4185 (Fmake_reverse_direction_charset): Likewise.
4186 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4188 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4191 * char-ucs.h (Vcharset_ucs): New variable.
4192 (LEADING_BYTE_UCS): New macro.
4193 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4194 and `chars' to `unsigned short' from `unsigned int'.
4195 (CHARSET_TYPE): Deleted.
4196 (XCHARSET_TYPE): Deleted.
4198 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4200 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4202 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4203 (ENCODE_CHAR): New macro.
4205 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4207 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4208 to 0.14 (Kawachi-Katakami).
4210 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4212 * text-coding.c (char_encode_shift_jis): Modify for
4213 `charset_code_point'.
4214 (char_encode_iso2022): Likewise.
4216 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4217 (integer) instead of list of <Lisp_Object>s (integers) as the
4218 format of code-point of a coded-charset.
4219 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4220 (encode_builtin_char_1): New function; delete
4221 `split_builtin_char'.
4222 (charset_code_point): Return <int> instead of <Lisp_Object>.
4223 (Fsplit_char): Don't use `SPLIT_CHAR'.
4225 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4226 prototype for `split_builtin_char'.
4227 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4228 (charset_code_point): Likewise.
4229 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4230 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4232 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4234 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4235 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4237 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4239 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4241 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4242 (MAX_CHAR_OBS_94x94): Deleted.
4244 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4246 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4248 * char-ucs.h (MAX_CHAR_BMP): New macro.
4250 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4252 * text-coding.c: Sync with r21-2-24.
4254 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4256 * file-coding.c: Modify for UTF-2000.
4258 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4263 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * mule-charset.c (split_builtin_char): Delete builtin support for
4266 `katakana-jisx0201'.
4267 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4268 BMP area in builtin representation.
4270 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4271 `Vcharset_katakana_jisx0201'.
4273 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4275 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4276 (Qisolated): New variable.
4277 (Qinitial): New variable.
4278 (Qmedial): New variable.
4279 (Qfinal): New variable.
4280 (Qvertical): New variable.
4281 (Qsmall): New variable.
4282 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4283 `Qvertical' and `Qsmall'.
4284 (Qmojikyo_pj_[1 .. 21]): New variable.
4285 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4286 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4287 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4290 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4292 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4293 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4294 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4296 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4298 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4299 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4301 (Qjapanese_jisx0208_1990): New variable.
4302 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4303 (complex_vars_of_mule_charset): Add new coded-charset
4304 `japanese-jisx0208-1990'.
4306 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4307 (MIN_CHAR_JIS_X0208_1990): New macro.
4308 (MAX_CHAR_JIS_X0208_1990): New macro.
4310 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4312 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4313 coded-charset is not found.
4315 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4317 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4318 (Fdefine_char): Use `Fmake_char'.
4320 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4322 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4323 (Vcharset_hiragana_jisx0208): Deleted.
4324 (Vcharset_katakana_jisx0208): Deleted.
4325 (Qideograph_daikanwa): New variable.
4326 (Qhiragana_jisx0208): Deleted.
4327 (Qkatakana_jisx0208): Deleted.
4328 (split_builtin_char): Split `ideograph-daikanwa'.
4329 (Fsplit_char): New implementation for UTF-2000.
4330 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4331 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4332 (complex_vars_of_mule_charset): Add new coded-charset
4333 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4334 `katakana-jisx0208'.
4336 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4337 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4338 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4339 (MIN_CHAR_DAIKANWA): New macro.
4340 (MAX_CHAR_DAIKANWA): New macro.
4342 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4344 * data.c (Fstring_to_number): Don't recognize floating point if
4347 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4349 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4351 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4353 * mule-charset.c (Qsquare): New variable.
4354 (to_char_code): Add `Qsquare'.
4355 (syms_of_mule_charset): Add new symbol `square'.
4357 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4359 * mule-charset.c (Qcircle): New variable.
4360 (to_char_code): Add `Qcircle'.
4361 (syms_of_mule_charset): Add new symbol `circle'.
4363 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4365 * mule-charset.c (Qfont): New variable.
4366 (to_char_code): Add `Qfont'.
4367 (syms_of_mule_charset): Add new symbol `font'.
4369 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4371 * mule-charset.c (Qsub): New variable.
4372 (to_char_code): Add `Qsub'.
4373 (syms_of_mule_charset): Add new symbol `sub'.
4375 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4377 * mule-charset.c (Fput_char_attribute): Convert each element of
4378 VALUE to GL position if ATTRIBUTE is a GR-set,
4380 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4382 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4383 coded-charset is a GR-set.
4385 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * mule-charset.c (Fput_char_attribute): Check each element of
4388 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4390 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4392 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4394 (Qethiopic_ucs): New variable in UTF-2000.
4395 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4396 (complex_vars_of_mule_charset): Add new coded-charset
4397 `ethiopic-ucs' in UTF-2000.
4399 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4400 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4402 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4404 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4406 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4408 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4411 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4413 * mule-charset.c (Vcharacter_variant_table): New variable.
4414 (Q_ucs): New variable.
4415 (Fchar_variants): New function.
4416 (Fput_char_attribute): Register `->ucs' value to
4417 `Vcharacter_variant_table'.
4418 (syms_of_mule_charset): Add new function `char-variants' and new
4420 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4422 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4424 * mule-charset.c (get_char_code_table): Allow negative character
4426 (put_char_code_table): Likewise.
4427 (Vcharacter_composition_table): New variable.
4428 (Q_decomposition): New variable.
4429 (Qwide): New variable.
4430 (Qnarrow): New variable.
4431 (Qcompat): New variable.
4432 (QnoBreak): New variable.
4433 (Qsuper): New variable.
4434 (Qfraction): New variable.
4435 (to_char_code): New function.
4436 (Fget_composite_char): New function.
4437 (Fput_char_attribute): Register `->decomposition' value to
4438 `Vcharacter_composition_table'.
4439 (syms_of_mule_charset): Add new function `get-composite-char', new
4440 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4441 `super' and `fraction'.
4442 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4444 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4446 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4447 character; copy the return value.
4449 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4451 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4453 * mule-charset.c (range_charset_code_point): Must use make_int.
4454 (split_builtin_char): New function.
4456 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4458 * mule-charset.c (char_byte_table): Change name from
4459 "char-code-table" to "char-byte-table".
4460 (mark_char_code_table): New function.
4461 (char_code_table_equal): New function.
4462 (char_code_table_hash): New function.
4463 (char_code_table_description): New constant.
4464 (char_code_table): New type.
4465 (make_char_code_table): New function.
4466 (copy_char_code_table): New function.
4467 (get_char_code_table): Modify for `char_code_table' type.
4468 (put_char_code_table): Likewise.
4469 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4472 * char-ucs.h (char_code_table): New type.
4473 (XCHAR_CODE_TABLE): New macro.
4474 (XSETCHAR_CODE_TABLE): New macro.
4475 (CHAR_CODE_TABLE_P): New macro.
4476 (GC_CHAR_CODE_TABLE_P): New macro.
4477 (struct Lisp_Char_Code_Table): New structure.
4479 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4481 * mule-charset.c (Fmake_charset): Setup byte_offset for
4484 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4486 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4489 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4491 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4494 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4496 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4497 charset, it is regarded as a charset.
4498 (put_char_attribute): New function in UTF-2000.
4499 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4500 charset, mapping-table of the charset is modified.
4501 (Fdefine_char): New function in UTF-2000.
4502 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4503 `Fput_char_attribute'.
4504 (syms_of_mule_charset): Add new function `define-char' and new
4505 symbol `ucs' in UTF-2000.
4506 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4508 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4510 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4511 non-UTF-2000 configuration.
4513 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4515 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4516 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4518 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4520 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4521 (Fset_charset_mapping_table): Likewise.
4523 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4524 (CHARSET_ENCODING_TABLE): Delete.
4525 (XCHARSET_ENCODING_TABLE): Delete.
4526 (charset_code_point): New interface.
4528 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4530 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4531 instead of `charset_get_byte1' and `charset_get_byte2'.
4533 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4534 (charset_get_byte2): Deleted.
4536 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4538 * char-ucs.h (SPLIT_CHAR): New inline function.
4539 (breakup_char_1): Use `SPLIT_CHAR'.
4541 * mule-charset.c (range_charset_code_point): New function.
4542 (charset_code_point): New function.
4544 * char-ucs.h (range_charset_code_point): New interface.
4545 (breakup_char_1): Use `range_charset_code_point'.
4547 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4549 * mule-charset.c (Fmake_charset): Delete unused local variable
4552 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4553 (breakup_char_1): Find a charset and code-point in
4554 `Vcharacter_attribute_table'.
4556 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4561 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4563 * mule-charset.c (Vcharacter_attribute_table): New variable.
4564 (Fchar_attribute_alist): New function.
4565 (Fget_char_attribute): New function.
4566 (Fput_char_attribute): New function.
4567 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4569 (syms_of_mule_charset): Add new function `char-attribute-alist',
4570 `get-char-attribute' and `put-char-attribute'.
4571 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4573 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4575 * mule-charset.c (Fmake_charset): Just use
4576 `get_unallocated_leading_byte'.
4578 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4579 sets; don't use final-byte based number for private sets.
4581 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4583 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4586 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4588 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4591 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4593 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4594 of `CHAR_LEADING_BYTE' in UTF-2000.
4596 * insdel.c (find_charsets_in_bufbyte_string): Use
4597 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4598 (find_charsets_in_emchar_string): Likewise.
4600 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4601 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4603 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4604 (CHAR_CHARSET_ID): New macro.
4606 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4608 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4609 charset-id - MIN_LEADING_BYTE.
4610 (put_char_table): Likewise.
4612 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4614 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4615 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4616 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4617 (CHARSET_ID_OFFSET): New macro.
4618 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4619 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4620 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4621 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4623 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4625 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4626 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4627 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4628 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4629 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4631 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4633 * mule-charset.c (next_allocated_leading_byte): New variable in
4635 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4636 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4637 (get_unallocated_leading_byte): Simply use
4638 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4639 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4642 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4643 (MAX_LEADING_BYTE_PRIVATE): New macro.
4644 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4645 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4647 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4649 * mule-charset.c (Fmake_charset): Allocate final-byte based
4650 charset-id for 94-set, 96-set and 94x94-set.
4652 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4654 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4656 (Fmake_charset): Likewise.
4657 (complex_vars_of_mule_charset): Modify the font registry of
4658 `ucs-bmp' not to match `Ethiopic-Unicode'.
4660 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * mule-charset.c (complex_vars_of_mule_charset): Add font
4663 registory of `ucs-bmp'.
4665 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4667 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4668 coded-charsets in `default-coded-charset-priority-list' when
4669 breaking up a character.
4671 * mule-charset.c (Vcharset_latin_viscii): New variable.
4672 (Qlatin_viscii): New variable.
4673 (make_charset): Don't use `decoding_table'.
4674 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4676 (Fset_charset_mapping_table): New implementation.
4677 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4678 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4679 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4680 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4681 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4682 charset `latin_viscii'.
4684 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4685 (CHARSET_TYPE_94X94): Change to 1 from 2.
4686 (CHARSET_TYPE_96): Change to 2 from 1.
4687 (CHARSET_TYPE_128): New macro.
4688 (CHARSET_TYPE_128X128): Change to 5 from 4.
4689 (CHARSET_TYPE_256): New macro.
4690 (CHARSET_TYPE_256X256): Change to 7 from 5.
4691 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4693 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4695 * text-coding.c (char_encode_shift_jis): Refer
4696 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4697 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4699 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4700 (char_byte_table_equal): New function in UTF-2000.
4701 (char_byte_table_hash): New function in UTF-2000.
4702 (char_byte_table_description): New constant in UTF-2000.
4703 (char_byte_table): New type in UTF-2000.
4704 (make_char_byte_table): New function in UTF-2000.
4705 (copy_char_byte_table): New function in UTF-2000.
4706 (make_char_code_table): New macro in UTF-2000.
4707 (get_char_code_table): New function in UTF-2000.
4708 (put_char_code_table): New function in UTF-2000.
4709 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4710 (charset_description): Add setting in UTF-2000.
4711 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4712 `CHARSET_TO_BYTE1_TABLE(cs)'.
4713 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4714 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4715 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4716 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4717 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4718 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4719 `CHARSET_TO_BYTE2_TABLE(cs)'.
4721 * char-ucs.h (char_byte_table): New type.
4722 (XCHAR_BYTE_TABLE): New macro.
4723 (XSETCHAR_BYTE_TABLE): New macro.
4724 (CHAR_BYTE_TABLE_P): New macro.
4725 (GC_CHAR_BYTE_TABLE_P): New macro.
4726 (struct Lisp_Char_Byte_Table): New structure.
4727 (get_char_code_table): New interface.
4728 (Emchar_to_byte_table): Deleted.
4729 (get_byte_from_character_table): Deleted.
4730 (struct Lisp_Charset): Add `encoding_table'; delete
4731 `to_byte1_table' and `to_byte2_table'.
4732 (CHARSET_ENCODING_TABLE): New macro.
4733 (CHARSET_TO_BYTE1_TABLE): Deleted.
4734 (CHARSET_TO_BYTE2_TABLE): Deleted.
4735 (XCHARSET_ENCODING_TABLE): New macro.
4736 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4737 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4739 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4741 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4742 `vietnamese-viscii-*'.
4744 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4746 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4747 (Qvietnamese_viscii_upper): New variable.
4748 (Fdefine_charset_alias): New function.
4749 (syms_of_mule_charset): Add new function `define-charset-alias'.
4750 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4751 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4754 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4756 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4757 (MAX_CHAR_OBS_94x94): New macro.
4758 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4761 * mule-charset.c (put_byte_from_character_table): Change unit size
4763 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4765 (Fmake_reverse_direction_charset): Modify dummy argument of
4766 `make_charset' for non-UTF-2000 environment.
4768 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4770 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4772 * mule-charset.c (destroy_byte_from_character_table): New macro.
4773 (latin_jisx0201_to_ucs): Deleted.
4774 (latin_iso8859_2_to_ucs): Deleted.
4775 (latin_iso8859_3_to_ucs): Deleted.
4776 (latin_iso8859_4_to_ucs): Deleted.
4777 (latin_iso8859_9_to_ucs): Deleted.
4778 (latin_viscii_lower_to_ucs): Deleted.
4779 (latin_viscii_upper_to_ucs): Deleted.
4780 (mark_charset): Mark `cs->decoding_table'.
4781 (Fcharset_mapping_table): Fix DOC-string.
4782 (Fset_charset_mapping_table): New function.
4783 (syms_of_mule_charset): Add nwe function
4784 `set-charset-mapping-table'.
4785 (complex_vars_of_mule_charset): Don't setup and use
4788 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4790 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4793 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4795 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4796 (Vcharset_katakana_jisx0208): New variable.
4797 (Qhiragana_jisx0208): New variable.
4798 (Qkatakana_jisx0208): New variable.
4799 (make_charset): Add new argument `byte_offset'.
4800 (charset_get_byte1): Modify for new coded-charset definition; use
4801 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4802 `XCHARSET_BYTE_OFFSET'.
4803 (Fmake_charset): Modify for `make_charset'.
4804 (Fmake_reverse_direction_charset): Likewise.
4805 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4806 `katakana-jisx0208'.
4807 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4808 `.' in font registry of charset `katakana-jisx0201',
4809 `latin-jisx0201', `vietnamese-viscii-lower' and
4810 `vietnamese-viscii-upper'; modify DOC-string of charset
4811 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4812 registry of charset `japanese-jisx0208' not to use font for JIS
4813 X0208:1990; add new charset `hiragana-jisx0208' and
4814 `katakana-jisx0208'.
4816 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4817 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4818 (struct Lisp_Charset): Add `byte_offset'.
4819 (CHARSET_BYTE_OFFSET): New macro.
4820 (XCHARSET_UCS_MIN): New macro.
4821 (XCHARSET_UCS_MAX): New macro.
4822 (XCHARSET_CODE_OFFSET): New macro.
4823 (XCHARSET_BYTE_OFFSET): New macro.
4824 (MIN_CHAR_HIRAGANA): New macro.
4825 (MAX_CHAR_HIRAGANA): New macro.
4826 (MIN_CHAR_KATAKANA): New macro.
4827 (MAX_CHAR_KATAKANA): New macro.
4828 (MAKE_CHAR): Modify for new coded-charset definition; use
4829 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4830 `XCHARSET_BYTE_OFFSET'.
4832 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4834 * mule-charset.c (CHAR96): Deleted.
4835 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4837 (latin_iso8859_2_to_ucs): Likewise.
4838 (latin_iso8859_3_to_ucs): Likewise.
4839 (latin_iso8859_4_to_ucs): Likewise.
4840 (latin_iso8859_9_to_ucs): Likewise.
4841 (latin_viscii_lower_to_ucs): Likewise.
4842 (latin_viscii_upper_to_ucs): Likewise.
4843 (latin_tcvn5712_to_ucs): Commented out.
4844 (make_charset): Change type of argument `decoding_table' from
4845 <Emchar*> to <Lisp_Object> [vector of characters].
4846 (Fmake_charset): Modify for `make_charset'.
4847 (Fmake_reverse_direction_charset): Likewise.
4848 (Fcharset_mapping_table): New function in UTF-2000.
4849 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4851 (complex_vars_of_mule_charset): Modify for type change of
4852 `*_to_ucs'; modify for `make_charset'.
4854 * char-ucs.h (struct Lisp_Charset): Change type of
4855 `decoding_table' from <Emchar*> to <Lisp_Object>.
4856 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4858 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4860 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4861 error with non-UTF-2000-Mule.
4863 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4865 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4867 (Vcharset_chinese_cns11643_4): Likewise.
4868 (Vcharset_chinese_cns11643_5): Likewise.
4869 (Vcharset_chinese_cns11643_6): Likewise.
4870 (Vcharset_chinese_cns11643_7): Likewise.
4871 (Qchinese_cns11643_3): Likewise.
4872 (Qchinese_cns11643_4): Likewise.
4873 (Qchinese_cns11643_5): Likewise.
4874 (Qchinese_cns11643_6): Likewise.
4875 (Qchinese_cns11643_7): Likewise.
4876 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4877 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4878 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4879 (complex_vars_of_mule_charset): Likewise.
4881 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4883 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4885 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4886 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4888 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4890 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4892 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4893 (breakup_char_1): Likewise.
4895 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4896 one of them includes the specified character.
4898 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4900 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4902 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4904 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4906 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4908 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4909 definition for non-UTF-2000 Mule.
4910 (latin_iso8859_3_to_ucs): Likewise.
4911 (latin_iso8859_4_to_ucs): Likewise.
4912 (latin_iso8859_9_to_ucs): Likewise.
4913 (latin_jisx0201_to_ucs): Likewise.
4914 (MIN_CHAR_THAI): Likewise.
4915 (MAX_CHAR_THAI): Likewise.
4916 (MIN_CHAR_GREEK): Likewise.
4917 (MAX_CHAR_GREEK): Likewise.
4918 (MIN_CHAR_HEBREW): Likewise.
4919 (MAX_CHAR_HEBREW): Likewise.
4920 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4921 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4922 (MIN_CHAR_CYRILLIC): Likewise.
4923 (MAX_CHAR_CYRILLIC): Likewise.
4925 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4927 * char-ucs.h (breakup_char_1): Use
4928 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4929 thai-tis620 and katakana-jisx0201 area.
4931 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4933 * char-ucs.h (breakup_char_1): Use
4934 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4937 * text-coding.c (reset_encoding_stream): Fixed.
4938 (char_encode_ucs4): Delete `& 255'.
4940 * char-ucs.h (breakup_char_1): Use
4941 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4943 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4945 * file-coding.c (Fmake_coding_system): Don't set up
4946 `codesys->fixed.size'.
4947 (encode_coding_no_conversion): Don't refer
4948 `str->codesys->fixed.size'.
4950 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4952 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4953 (latin_a_char_to_byte1): Deleted.
4954 (latin_a_char_to_byte2): Deleted.
4956 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4958 * mule-charset.c (make_charset): Add new argument `ucs_min',
4959 `ucs_max' and `code_offset'.
4960 (charset_get_byte1): New implementation [delete specific charset
4961 depended implementations].
4962 (Fmake_charset): Modify for `make_charset'.
4963 (Fmake_reverse_direction_charset): Likewise.
4964 (complex_vars_of_mule_charset): Likewise.
4966 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4968 (CHARSET_UCS_MIN): New macro.
4969 (CHARSET_UCS_MAX): New macro.
4970 (CHARSET_CODE_OFFSET): New macro.
4971 (MAKE_CHAR): Delete charset depended definitions [except
4974 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4976 * char-ucs.h (breakup_char_1): Use
4977 `Vdefault_coded_charset_priority_list' for C0-Controls,
4978 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4980 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4982 * char-ucs.h (charset_get_byte1): New function.
4983 (XCHARSET_GET_BYTE1): Deleted.
4984 (charset_get_byte2): New function.
4985 (XCHARSET_GET_BYTE2): Deleted.
4986 (Vdefault_coded_charset_priority_list): New external variable.
4987 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4988 `Vdefault_preferred_coded_charset_list'.
4990 * mule-charset.c (charset_get_byte1): New function.
4991 (charset_get_byte2): New function.
4992 (Vdefault_coded_charset_priority_list): New variable.
4993 (vars_of_mule_charset): Add new variable
4994 `default-coded-charset-priority-list'.
4996 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4998 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4999 (XCHARSET_GET_BYTE2): New inline function.
5000 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5001 `XCHARSET_GET_BYTE2'.
5003 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5005 * mule-charset.c (make_charset): Initialize
5006 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5007 NULL if table is not defined.
5009 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5011 * text-coding.c (char_encode_shift_jis): Use
5012 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5013 `ucs_to_latin_jisx0201'.
5015 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5016 (ucs_to_latin_iso8859_2): Deleted.
5017 (ucs_to_latin_iso8859_3): Deleted.
5018 (ucs_to_latin_iso8859_4): Deleted.
5019 (ucs_to_latin_iso8859_9): Deleted.
5020 (ucs_to_latin_viscii_lower): Deleted.
5021 (ucs_to_latin_viscii_upper): Deleted.
5022 (ucs_to_latin_tcvn5712): Deleted.
5023 (make_charset): Add new argument `decoding_table'; set up
5024 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5025 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5026 `decoding_table' is defined in UTF-2000.
5027 (Fmake_charset): Modify for `make_charset'.
5028 (Fmake_reverse_direction_charset): Likewise.
5029 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5030 and `GENERATE_96_SET'.
5032 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5033 (ucs_to_latin_jisx0201): Deleted.
5034 (latin_iso8859_2_to_ucs): Deleted.
5035 (ucs_to_latin_iso8859_2): Deleted.
5036 (latin_iso8859_3_to_ucs): Deleted.
5037 (ucs_to_latin_iso8859_3): Deleted.
5038 (latin_iso8859_4_to_ucs): Deleted.
5039 (ucs_to_latin_iso8859_4): Deleted.
5040 (latin_iso8859_9_to_ucs): Deleted.
5041 (ucs_to_latin_iso8859_9): Deleted.
5042 (latin_viscii_lower_to_ucs): Deleted.
5043 (ucs_to_latin_viscii_lower): Deleted.
5044 (latin_viscii_upper_to_ucs): Deleted.
5045 (ucs_to_latin_viscii_upper): Deleted.
5046 (struct Lisp_Charset): Renamed `encoding_table' to
5047 `to_byte1_table'; add `to_byte2_table'.
5048 (CHARSET_DECODING_TABLE): New macro.
5049 (CHARSET_TO_BYTE1_TABLE): New macro.
5050 (CHARSET_TO_BYTE2_TABLE): New macro.
5051 (XCHARSET_DECODING_TABLE): New macro.
5052 (XCHARSET_TO_BYTE1_TABLE): New macro.
5053 (XCHARSET_TO_BYTE2_TABLE): New macro.
5054 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5056 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5057 don't use `ucs_to_*' tables.
5059 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5061 * text-coding.c (Fmake_coding_system): Don't set up
5062 `codesys->fixed.size'.
5063 (encode_coding_no_conversion): Use `if' instead of `switch'.
5065 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5067 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5069 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5070 (Fmake_charset): Modify for `make_charset'.
5071 (Fmake_reverse_direction_charset): Likewise.
5072 (complex_vars_of_mule_charset): Likewise.
5074 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5076 * text-coding.c (char_encode_shift_jis): Use table
5077 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5079 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5081 * text-coding.c (text_encode_generic): Use `if' instead of
5083 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5086 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5088 * text-coding.c (encode_coding_sjis): Deleted.
5089 (char_encode_shift_jis): New function.
5090 (char_finish_shift_jis): New function.
5091 (reset_encoding_stream): Set up `encode_char' and `finish' for
5092 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5093 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5094 (char_encode_utf8): Treat `eol_type'.
5096 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * file-coding.c (decode_coding_iso2022): Use
5099 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5101 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5103 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5106 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * char-lb.h (CHAR_COLUMNS): New macro.
5110 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5112 * text-coding.c (char_encode_ucs4): New function.
5113 (char_finish_ucs4): New function.
5114 (encode_coding_ucs4): Deleted.
5115 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5116 (text_encode_generic): Delete local variable `charset' and `half'.
5117 (ucs_to_mule_table): Deleted.
5118 (mule_to_ucs_table): Deleted.
5119 (Fset_ucs_char): Deleted.
5120 (ucs_to_char): Deleted.
5121 (Fucs_char): Deleted.
5122 (Fset_char_ucs): Deleted.
5123 (Fchar_ucs): Deleted.
5124 (decode_ucs4): Deleted.
5125 (mule_char_to_ucs4): Deleted.
5126 (encode_ucs4): Deleted.
5127 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5128 (decode_coding_utf8): Likewise.
5129 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5130 (char_encode_iso2022): Fixed.
5131 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5132 `Fset_char_ucs' and `Fchar_ucs'.
5133 (complex_vars_of_file_coding): Don't initialize
5134 `ucs_to_mule_table'.
5136 * objects-tty.c (tty_initialize_font_instance): Don't use
5139 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5142 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5143 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5145 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5146 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5147 (emchar_string_displayed_columns): Likewise.
5149 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5150 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5151 (string_column_at_point): Likewise.
5152 (Fmove_to_column): Likewise.
5154 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5155 `encoding_table' and `decoding_table'.
5156 (CHARSET_REP_BYTES): Deleted.
5157 (XCHARSET_REP_BYTES): Deleted.
5158 (XCHARSET_COLUMNS): Deleted.
5159 (CHAR_COLUMNS): New macro.
5160 (lookup_composite_char): Deleted unconditionally.
5161 (composite_char_string): Likewise.
5163 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5165 * char-ucs.h (Emchar_to_byte_table): New type.
5166 (get_byte_from_character_table): New function interface.
5167 (Vcharset_latin_jisx0201): New variable.
5168 (latin_jisx0201_to_ucs): New variable.
5169 (ucs_to_latin_jisx0201): New variable.
5170 (Vcharset_latin_iso8859_2): New variable.
5171 (latin_iso8859_2_to_ucs): New variable.
5172 (ucs_to_latin_iso8859_2): New variable.
5173 (Vcharset_latin_iso8859_3): New variable.
5174 (latin_iso8859_3_to_ucs): New variable.
5175 (ucs_to_latin_iso8859_3): New variable.
5176 (Vcharset_latin_iso8859_4): New variable.
5177 (latin_iso8859_4_to_ucs): New variable.
5178 (ucs_to_latin_iso8859_4): New variable.
5179 (Vcharset_latin_iso8859_9): New variable.
5180 (latin_iso8859_9_to_ucs): New variable.
5181 (ucs_to_latin_iso8859_9): New variable.
5182 (Vcharset_latin_viscii_lower): New variable.
5183 (latin_viscii_lower_to_ucs): New variable.
5184 (ucs_to_latin_viscii_lower): New variable.
5185 (Vcharset_latin_viscii_upper): New variable.
5186 (latin_viscii_upper_to_ucs): New variable.
5187 (ucs_to_latin_viscii_upper): New variable.
5188 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5189 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5190 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5191 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5192 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5193 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5194 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5195 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5196 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5197 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5199 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5200 (Vcharset_latin_viscii_upper): New variable.
5201 (make_byte_from_character_table): New function.
5202 (put_byte_from_character_table): New function.
5203 (get_byte_from_character_table): New function.
5204 (CHAR96): New macro.
5205 (ucs_to_latin_jisx0201): New variable.
5206 (latin_jisx0201_to_ucs): New variable.
5207 (ucs_to_latin_iso8859_2): New variable.
5208 (latin_iso8859_2_to_ucs): New variable.
5209 (ucs_to_latin_iso8859_3): New variable.
5210 (latin_iso8859_3_to_ucs): New variable.
5211 (ucs_to_latin_iso8859_4): New variable.
5212 (latin_iso8859_4_to_ucs): New variable.
5213 (ucs_to_latin_iso8859_9): New variable.
5214 (latin_iso8859_9_to_ucs): New variable.
5215 (ucs_to_latin_viscii_lower): New variable.
5216 (latin_viscii_lower_to_ucs): New variable.
5217 (ucs_to_latin_viscii_upper): New variable.
5218 (latin_viscii_upper_to_ucs): New variable.
5219 (ucs_to_latin_tcvn5712): New variable.
5220 (latin_tcvn5712_to_ucs): New variable.
5221 (Qlatin_viscii_lower): New variable.
5222 (Qlatin_viscii_upper): New variable.
5223 (syms_of_mule_charset): Set up new symbol
5224 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5225 (complex_vars_of_mule_charset): Set up new charset
5226 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5227 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5228 `ucs_to_<CHARSET>' tables.
5230 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5232 * text-coding.c: New file.
5234 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5236 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5238 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5239 (MAKE_CHAR): Modify for `ucs-bmp'.
5240 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5241 non-MULE characters of BMP.
5243 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5245 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5248 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5251 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5252 - Include character.h for `CHAR_ASCII_P'.
5254 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5256 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5257 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5259 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5260 (BYTE_C0_P): Likewise.
5261 (BYTE_C1_P): Likewise.
5262 (Lstream_get_emchar_1): Likewise.
5263 (Lstream_fput_emchar): Likewise.
5264 (Lstream_funget_emchar): Likewise.
5265 (copy_internal_to_external): Likewise.
5266 (copy_external_to_internal): Likewise.
5268 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5269 (BYTE_C0_P): Likewise.
5270 (BYTE_C1_P): Likewise.
5271 (Lstream_get_emchar_1): Likewise.
5272 (Lstream_fput_emchar): Likewise.
5273 (Lstream_funget_emchar): Likewise.
5274 (copy_internal_to_external): Likewise.
5275 (copy_external_to_internal): Likewise.
5277 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5278 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5280 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5281 (BYTE_ASCII_P): Moved to mb-1byte.h.
5283 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5285 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5287 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5288 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5289 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5290 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5291 (VALIDATE_CHARPTR_FORWARD): Likewise.
5292 (simple_charptr_emchar): Moved to mb-multibyte.h.
5293 (simple_set_charptr_emchar): Likewise.
5294 (simple_charptr_copy_char): Likewise.
5295 (non_ascii_charptr_emchar): Likewise.
5296 (non_ascii_set_charptr_emchar): Likewise.
5297 (non_ascii_charptr_copy_char): Likewise.
5298 (charptr_emchar): Moved to mb-*byte.h.
5299 (set_charptr_emchar): Likewise.
5300 (charptr_copy_char): Likewise.
5302 * mb-1byte.h, mb-multibyte.h: New files.
5304 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5306 * mb-utf-8.h (MULTIBYTE): New macro.
5307 (MAX_EMCHAR_LEN): Moved from buffer.h.
5308 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5310 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5312 * mb-lb.h, multibyte.h: New files.
5314 * char-1byte.h (Charset_ID): Moved from buffer.h.
5315 (MIN_LEADING_BYTE): Likewise.
5316 (LEADING_BYTE_ASCII): Likewise.
5317 (NUM_LEADING_BYTES): Likewise.
5318 (CHARSETP): Likewise.
5319 (CHARSET_BY_LEADING_BYTE): Likewise.
5320 (XCHARSET_LEADING_BYTE): Likewise.
5321 (XCHARSET_GRAPHIC): Likewise.
5322 (XCHARSET_COLUMNS): Likewise.
5323 (XCHARSET_DIMENSION): Likewise.
5324 (CHAR_CHARSET): Likewise.
5325 (CHAR_LEADING_BYTE): Likewise.
5326 (BREAKUP_CHAR): Likewise.
5327 (Vcharset_ascii): Likewise.
5329 * buffer.h: Include multibyte.h unconditionally.
5330 (VALID_CHARPTR_P): Moved to multibyte.h.
5331 (ASSERT_VALID_CHARPTR): Likewise.
5332 (REAL_INC_CHARPTR): Likewise.
5333 (REAL_INC_CHARBYTIND): Likewise.
5334 (REAL_DEC_CHARPTR): Likewise.
5335 (INC_CHARPTR): Likewise.
5336 (INC_CHARBYTIND): Likewise.
5337 (DEC_CHARPTR): Likewise.
5338 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5339 (VALIDATE_CHARPTR_FORWARD): Likewise.
5340 (charptr_n_addr): Likewise.
5341 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5342 (simple_charptr_emchar): Moved to multibyte.h.
5343 (simple_set_charptr_emchar): Likewise.
5344 (simple_charptr_copy_char): Likewise.
5345 (non_ascii_charptr_emchar): Likewise.
5346 (non_ascii_set_charptr_emchar): Likewise.
5347 (non_ascii_charptr_copy_char): Likewise.
5348 (charptr_emchar): Likewise.
5349 (set_charptr_emchar): Likewise.
5350 (charptr_copy_char): Likewise.
5351 (charptr_emchar_n): Likewise.
5352 (Charset_ID): Moved to char-1byte.h.
5353 (Vcharset_ascii): Likewise.
5354 (CHAR_CHARSET): Likewise.
5355 (CHAR_LEADING_BYTE): Likewise.
5356 (LEADING_BYTE_ASCII): Likewise.
5357 (NUM_LEADING_BYTES): Likewise.
5358 (MIN_LEADING_BYTE): Likewise.
5359 (CHARSETP): Likewise.
5360 (CHARSET_BY_LEADING_BYTE): Likewise.
5361 (XCHARSET_LEADING_BYTE): Likewise.
5362 (XCHARSET_GRAPHIC): Likewise.
5363 (XCHARSET_COLUMNS): Likewise.
5364 (XCHARSET_DIMENSION): Likewise.
5365 (BREAKUP_CHAR): Likewise.
5367 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5369 * character.h: Add document about interface for characters.
5371 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5372 (MAKE_CHAR): Delete comment about
5373 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5374 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5375 (BREAKUP_CHAR): Modify name of arguments.
5376 (CHAR_CHARSET): Modify name of argument.
5378 * buffer.h: Delete document about Emchar accessors.
5380 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5382 * character.h (CHAR_INTP): Moved from buffer.h
5383 (CHAR_OR_CHAR_INTP): Likewise.
5384 (XCHAR_OR_CHAR_INT): Likewise.
5385 (CHECK_CHAR_COERCE_INT): Likewise.
5387 * buffer.h (CHAR_INTP): Moved to character.h
5388 (CHAR_OR_CHAR_INTP): Likewise.
5389 (XCHAR_OR_CHAR_INT): Likewise.
5390 (CHECK_CHAR_COERCE_INT): Likewise.
5392 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5395 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5396 - Include char-1byte.h, char-lb.h or char-ucs.h.
5398 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5400 * buffer.h: Include character unconditionally.
5401 (valid_char_p): Moved to char-*.h.
5402 (non_ascii_valid_char_p): Moved to char-lb.h.
5404 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5406 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5408 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5409 in UTF-2000 because it is not ported yet and not to use
5410 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5411 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5412 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5414 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5415 (CHAR_ASCII_P): Moved from character.h.
5417 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5418 (CHAR_ASCII_P): Likewise.
5419 (CHAR_FIELD1_MASK): Deleted.
5420 (CHAR_FIELD2_MASK): Deleted.
5421 (CHAR_FIELD3_MASK): Deleted.
5422 (MAX_CHAR_BASIC_LATIN): New macro.
5423 (CHAR_FIELD1): Deleted.
5424 (CHAR_FIELD2_INTERNAL): Deleted.
5425 (CHAR_FIELD3_INTERNAL): Deleted.
5426 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5427 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5428 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5429 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5430 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5431 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5432 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5433 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5434 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5435 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5436 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5437 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5438 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5439 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5440 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5441 (MIN_CHAR_COMPOSITION): Deleted.
5442 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5443 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5445 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5447 * buffer.h: Include mb-utf-8.h in UTF-2000.
5449 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5451 * mb-utf-8.h: New file.
5453 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5455 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5458 * mule-charset.h, buffer.h (Charset_ID): New type.
5460 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5462 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5463 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5464 instead of `MULE_CHAR_PRIVATE_OFFSET',
5465 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5466 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5467 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5469 * character.h (Vcharset_japanese_jisx0212): New variable
5472 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5474 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5475 (charset_by_attributes): Delete array about direction.
5476 (latin_a_char_to_charset): New variable in UTF-2000.
5477 (latin_a_char_to_byte1): New variable in UTF-2000.
5478 (latin_a_char_to_byte2): New variable in UTF-2000.
5479 (Qucs_bmp): New variable.
5480 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5482 (next_allocated_2_byte_leading_byte): Likewise.
5483 (non_ascii_set_charptr_emchar): Likewise.
5484 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5485 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5486 `charset_by_attributes'.
5487 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5488 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5489 and `CHARSET_BY_LEADING_BYTE'.
5490 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5491 `utf-2000-version' to `vars_of_mule_charset'.
5492 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5493 define `leading-code-private-11' in UTF-2000; move setting of
5494 `utf-2000-version' from `syms_of_mule_charset'.
5495 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5498 * character.h (Charset_ID): New type.
5499 (LEADING_BYTE_UCS_BMP): New macro.
5500 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5501 (CHARSET_ID_OFFSET_94): New macro.
5502 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5503 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5504 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5506 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5507 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5508 (CHARSET_ID_OFFSET_96): New macro.
5509 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5510 CHARSET_ID_OFFSET_96 and final-byte.
5511 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5512 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5513 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5514 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5515 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5516 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5517 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5518 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5519 (LEADING_BYTE_THAI_TIS620): Likewise.
5520 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5521 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5522 (CHARSET_ID_OFFSET_94x94): New macro.
5523 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5524 CHARSET_ID_OFFSET_94x94 and final-byte.
5525 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5526 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5527 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5528 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5529 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5530 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5531 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5532 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5533 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5534 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5535 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5536 (CHARSET_TYPE_128X128): New macro.
5537 (CHARSET_TYPE_256X256): New macro.
5538 (XCHARSET_PRIVATE_P): Delete unconditionally.
5539 (charset_by_attributes): Delete array about direction.
5540 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5541 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5542 (MIN_CHAR_94): New macro.
5543 (MAX_CHAR_94): New macro.
5544 (MIN_CHAR_96): New macro.
5545 (MAX_CHAR_96): New macro.
5546 (MIN_CHAR_94x94): New macro.
5547 (MAX_CHAR_94x94): New macro.
5548 (MIN_CHAR_96x96): New macro.
5549 (MAX_CHAR_96x96): New macro.
5550 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5551 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5552 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5554 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5555 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5556 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5557 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5558 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5559 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5560 `XCHARSET_LEADING_BYTE' to make code-point.
5561 (latin_a_char_to_charset): New variable.
5562 (latin_a_char_to_byte1): New variable.
5563 (latin_a_char_to_byte2): New variable.
5564 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5565 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5566 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5568 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5569 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5570 (find_charsets_in_emchar_string): Likewise.
5571 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5573 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5575 (decode_coding_iso2022): Likewise.
5577 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5580 * redisplay.c (redisplay_text_width_emchar_string): Use
5581 `Charset_ID' instead of `unsigned char'.
5582 (redisplay_frame_text_width_string): Likewise.
5584 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5587 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5588 instead of `unsigned char'.
5589 (face_cachel_charset_font_metric_info): Likewise.
5591 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5592 (get_non_ascii_char_table_value): Likewise.
5593 (get_char_table): Likewise.
5594 (put_char_table): Likewise.
5595 (map_over_other_charset): Likewise.
5596 (map_char_table): Likewise.
5598 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5599 instead of `unsigned char'.
5601 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5603 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5604 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5606 * mule-charset.c (leading_code_private_11): Don't define in
5609 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5610 in UTF-2000 because it is not ported yet and not to use
5611 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5613 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5615 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5617 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5619 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5622 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5623 of unsigned char to store leading-byte.
5625 * chartab.c (get_non_ascii_char_table_value): Don't use
5626 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5628 * file-coding.c (encode_coding_big5): Delete bogus implementation
5631 * character.h (LEADING_BYTE_*): Delete definition for
5633 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5634 (LEADING_BYTE_PREFIX_P): Deleted.
5635 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5636 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5637 (BUFBYTE_LEADING_BYTE_P): Deleted.
5638 (CHARSET_PRIVATE_P): Deleted unconditionally.
5639 (rep_bytes_by_first_byte): Deleted unconditionally.
5640 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5641 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5642 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5643 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5644 (CHAR_FIELD2): Deleted.
5645 (CHAR_FIELD3): Deleted.
5646 (MAKE_CHAR): Delete definition for non-UTF-2000.
5647 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5648 (breakup_char_1): New implementation.
5649 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5650 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5652 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5654 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5657 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5659 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5660 (CHARSET_PRIVATE_P): Likewise.
5661 (XCHARSET_PRIVATE_P): Likewise.
5662 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5664 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5666 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5668 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5670 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5671 (NUM_LEADING_BYTES): Changed from 128 to 256.
5672 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5673 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5675 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5677 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5679 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5680 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5681 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5682 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5683 (Qchinese_cns11643_3): New variable in UTF2000.
5684 (Qchinese_cns11643_4): New variable in UTF2000.
5685 (Qchinese_cns11643_5): New variable in UTF2000.
5686 (Qchinese_cns11643_6): New variable in UTF2000.
5687 (Qchinese_cns11643_7): New variable in UTF2000.
5688 (syms_of_mule_charset): Define `chinese-cns11643-3',
5689 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5690 and `chinese-cns11643-7' in UTF2000.
5691 (vars_of_mule_charset): Initialize
5692 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5694 (complex_vars_of_mule_charset): Setup charset
5695 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5696 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5698 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5700 * mule-charset.c: Move setting for `leading-code-private-11' from
5701 `syms_of_mule_charset' to `vars_of_mule_charset'.
5703 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5705 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5706 and `NUM_LEADING_BYTES' in assert.
5708 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5710 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5712 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5713 `NUM_LEADING_BYTES' instead of 128.
5715 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5717 * mule-charset.h (charset_by_leading_byte): Use
5718 `NUM_LEADING_BYTES' instead of 128.
5719 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5721 * mule-charset.c (charset_by_leading_byte): Use
5722 `NUM_LEADING_BYTES' instead of 128.
5723 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5725 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5728 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5730 * mule-charset.c (syms_of_mule_charset): Update to
5733 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5735 * file-coding.c (encode_coding_sjis): New implementation for
5736 UTF2000. (decode_coding_sjis): Ditto.
5738 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5740 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5741 Don't define in UTF2000.
5743 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5746 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5747 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5750 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5752 * config.h.in (CHAR_IS_UCS4): New macro.
5754 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5755 conventional MULE representation.
5756 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5758 * mule-charset.h: Reverted to original.
5760 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5761 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5762 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5764 * character.h: New file.
5766 * file-coding.c (Fmake_coding_system): Set 1 to
5767 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5769 (encode_coding_no_conversion): New implementation for UTF2000.
5771 * file-coding.h (struct Lisp_Coding_System): Add new member
5774 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5776 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5777 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5778 (encode_coding_iso2022): New implementation for UTF2000.
5780 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5782 * mule-canna.c (c2mu): New implementation for UTF2000.
5785 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5787 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5789 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5791 * file-coding.c (reset_encoding_stream): Set 0 to
5792 `str->iso2022.current_char_boundary' in UTF2000.
5793 (encode_utf8): Don't define in UTF2000.
5794 (encode_coding_utf8): New implementation for UTF-8 representation
5796 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5798 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5800 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5802 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5804 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5806 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5808 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5809 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5810 as UTF-8 in UTF2000.
5811 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5812 (non_ascii_valid_char_p): Don't define in UTF2000.
5813 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5814 (Lstream_get_emchar_1): Likewise.
5815 (utf-2000-version): New variable in UTF2000.
5817 * lread.c (read_escape): Add new reader `u'.
5819 * insdel.c (three_to_one_table): Don't define in UTF2000.
5820 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5821 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5823 (bytind_to_bufpos_func): Likewise.
5824 (buffer_mule_signal_inserted_region): Likewise.
5825 (vars_of_insdel): Don't initialize `three_to_one_table'.
5826 (init_buffer_text): Use `buf->text->mule_size' instead of
5827 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5830 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5831 UTF-8 representation in UTF2000.
5832 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5833 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5834 (decode_coding_iso2022): Don't define local variable `lb' in
5835 UTF2000; don't use LEADING_BYTE in UTF2000; use
5836 `DECODE_ADD_UCS_CHAR' in UTF2000.
5837 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5839 * config.h.in (UTF2000): New macro.
5841 * buffer.h (struct buffer_text): Add new member `mule_size' and
5842 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5843 (valid_char_p): Return always 1 in UTF2000.
5844 (MAX_EMCHAR_LEN): 6 in UTF2000.
5845 (three_to_one_table): Don't define in UTF2000.
5846 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5848 (real_bytind_to_bufpos): Likewise.
5850 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5852 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5854 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5855 representation change.
5856 (Vutf_2000_version): New variable.
5857 (leading_code_private_11): New variable.
5858 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5859 `leading-code-private-11'.
5861 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5862 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5863 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5864 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5865 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5866 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5867 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5868 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5869 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5870 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5871 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5872 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5873 (MIN_CHAR_GREEK): New macro.
5874 (MAX_CHAR_GREEK): New macro.
5875 (MIN_CHAR_CYRILLIC): New macro.
5876 (MAX_CHAR_CYRILLIC): New macro.
5877 (MIN_CHAR_HEBREW): New macro.
5878 (MAX_CHAR_HEBREW): New macro.
5879 (MIN_CHAR_THAI): New macro.
5880 (MAX_CHAR_THAI): New macro.
5881 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5882 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5883 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5884 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5885 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5886 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5887 (CHAR_FIELD2): New inline function.
5888 (CHAR_FIELD3): New inline function.
5889 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5890 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5891 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5892 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5893 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5894 (MIN_CHAR_COMPOSITION): Likewise.
5895 (CHAR_LEADING_BYTE): Modified for character representation change.
5896 (MAKE_CHAR): Likewise.
5898 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5899 (Vcharset_greek_iso8859_7): Likewise.
5900 (Vcharset_cyrillic_iso8859_5): Likewise.
5901 (Vcharset_hebrew_iso8859_8): Likewise.
5902 (Vcharset_thai_tis620): Likewise.
5903 (Vcharset_katakana_jisx0201): Likewise.
5905 2006-12-09 Vin Shelton <acs@xemacs.org>
5907 * XEmacs 21.4.20 is released
5909 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
5911 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
5912 relocated the definitions to be used sooner in file.
5913 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
5914 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
5917 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
5919 * sound.c (init_native_sound):
5920 Only X11 and GTK devices can possibly not be on the console of the
5921 associated machine. Fixes a crash when init_native_sound is called
5922 on a msprinter device.
5924 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
5926 * buffer.c (buffer-file-name): Document invariant.
5927 (buffer-file-truename): Sync wording to buffer-file-name.
5928 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
5931 2006-11-19 Benson Margulies <benson@dchbk.us>
5933 * fileio.c: Add code to use full Win32 API to check for write
5934 access. Win32 has the general design policy that you aren't
5935 supposed to ask this question, since security checks change
5936 depending on asynchronous processes. Nonetheless, there is a way,
5937 by acting as if we are a server doing interpretive access
5940 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
5942 * bytecode.c: Use xnew_array instead of alloca.
5944 2006-07-04 Vin Shelton <acs@xemacs.org>
5946 * redisplay-msw.c: Fix tiny, but crucial typo.
5948 2006-06-22 Jerry James <james@xemacs.org>
5950 * EmacsShell-sub.c (ChangeManaged):
5951 * device-x.c (x_IO_error_handler): Do not dereference d if it is
5953 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
5954 checking if it is NULL. Also fix a memory leak.
5955 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
5956 dereference it, not the other way around.
5957 * dumper.c (pdump_register_object): Fix off-by-one array bounds
5959 * dumper.c (pdump_register_struct): Ditto.
5960 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
5961 to (short) warnpath overflow warnpath.
5962 * extents.c (detach_all_extents): Call extent_list_delete_all with
5963 a non-NULL parameter only.
5964 * glyphs-widget.c (widget_query_geometry): Guard against possibly
5965 NULL width and height.
5966 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
5967 xic before checking if they are NULL.
5968 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
5970 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
5971 * nas.c (Err): Fix a memory leak.
5972 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
5973 Don't create the buffer if there is nothing to do.
5974 * redisplay-msw.c (mswindows_output_display_block): Ditto.
5975 * redisplay-output.c (redisplay_output_layout): Ditto.
5976 * redisplay-tty.c (tty_output_display_block): Ditto.
5977 * redisplay-x.c (x_output_display_block): Ditto.
5978 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
5979 dereference instance->scrollbar_data if it is NULL.
5980 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
5981 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
5982 for sb->scrollbar_data.
5983 * sound.c (init_native_sound): Avoid a buffer overflow by
5984 allocating a buffer with the appropriate size.
5986 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
5988 * EmacsShell-sub.c (RootGeometryManager):
5989 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
5990 Based on a suggestion by Francois L'Archeveque.
5992 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
5994 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
5995 current values found in GNU Emacs.
5997 2006-03-17 Vin Shelton <acs@xemacs.org>
5999 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6000 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6002 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6003 'hex_initialized' because it conflicts with 'initialized' in
6006 2006-01-28 Vin Shelton <acs@xemacs.org>
6008 * XEmacs 21.4.19 is released
6010 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6012 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6014 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6016 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6019 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6021 * database.c: Suppress compiler warning under Cygwin.
6022 * database.c: Removed __FreeBSD__ check, should be handled by
6023 HAVE_U_xxx_T defines.
6025 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6027 * console.c (stuff_buffered_input): Compile body only if
6030 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6032 * callproc.c: #include sysdir.h, so that any appropriate Mule
6033 magic happens with the chdir() call when calling a subprocess.
6035 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6037 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6038 * mule-ccl.c: Check that a character set exists before using it
6039 to create a character.
6041 2005-12-06 Vin Shelton <acs@xemacs.org>
6043 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6046 2005-12-03 Vin Shelton <acs@xemacs.org>
6048 * XEmacs 21.4.18 is released
6050 2005-11-27 Kean Johnston <kean@armory.com>
6052 * redisplay-tty.c (set_tty_modes):
6053 (reset_tty_modes): disable auto-margins if the terminal supports
6055 (init_tty_for_redisplay): fix cursor shape.
6057 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6059 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6060 for control-1 characters properly, both when reading multibyte
6061 characters and writing them.
6063 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6065 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6066 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6067 were seeing with incremental selection transfer failing.
6069 2005-11-26 Vin Shelton <acs@xemacs.org>
6071 * callproc.c (Fold_call_process_internal): Create the buffer if it
6072 does not already exist. The original patch came from Ben Wing in
6073 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6075 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6077 * callproc.c: Process-related docstring improvements spurred by
6080 2005-11-25 Vin Shelton <acs@xemacs.org>
6082 * depend: Regenerated.
6084 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6086 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6087 says it clashes with a global with the same name.
6089 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6091 * sysdll.c (dll_open): Under MacOS X return NULL under the
6092 filename is NULL. Fixes problems finding local symbols under 10.4
6095 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6097 * config.h.in: New HAVE_U_INT*_T defines.
6099 * database.c: Only use u_int*_t typedefs if not already
6102 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6104 * src/process-unix.c (unix_open_network_stream): moved
6105 'portbuf' buffer out of an inner block as it is used in the
6106 entire function. With gcc4, the stack may get corrupted
6107 after leaving this block. This patches adjusts the size of
6108 the used buffer also; static '128' bytes are far too much
6109 currently and might not suffice for future architectures
6110 (e.g. for 512 bit ones ;)). Instead of, use only the really
6111 required space (max octets * ln(256)/ln(10) chars + space
6112 for '\0' and the sign)
6114 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6116 * callproc.c: Include sysdir.h, so any necessary Mule processing
6117 is done on the current directory name before starting a new
6120 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6122 * chartab.c (Fchar_table_p):
6123 (Fget_range_char_table):
6126 Describe range representation and fix typo.
6128 2005-02-12 Vin Shelton <acs@xemacs.org>
6130 * emacs.c (shut_down_emacs): Advise users to send email to the
6131 xemacs-beta list instead of crashes@xemacs.org.
6133 2005-02-03 David Evers <extsw@appliedgenerics.com>
6135 * process-unix.c (unix_send_process): Flush the last chunk, even
6136 when the pipe is blocked.
6138 2005-02-06 Vin Shelton <acs@xemacs.org>
6140 * XEmacs 21.4.17 is released
6142 2005-01-31 Ben Wing <ben@xemacs.org>
6145 Define assert_failed() always.
6147 Always define ABORT().
6149 2005-01-25 Ben Wing <ben@xemacs.org>
6152 * Makefile.in.in (%.o):
6153 Don't compile executable as Windows (-mwindows) under Cygwin.
6154 Semi-recent changes to Cygwin's executable-startup handling make
6155 it impossible to access the TTY this way.
6157 Don't use special linker file under Cygwin (cygwin.sc) except
6158 when non-PDUMP (even in this case it is highly questionable); you
6161 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6162 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6164 2005-01-29 Ben Wing <ben@xemacs.org>
6166 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6168 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6170 2005-01-29 Ben Wing <ben@xemacs.org>
6172 * bytecode.c (optimize_compiled_function):
6174 * print.c (long_to_string):
6175 Add casts to avoid warning.
6178 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6179 #### The better solution is to move the TIFF and JPEG code to
6182 * glyphs-msw.c (mswindows_xbm_instantiate):
6183 Define __STDC__ to avoid problems with compface.h.
6185 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6187 * EmacsShell-sub.c (ABORT):
6188 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6189 * EmacsShell-sub.c (RootGeometryManager):
6191 * EmacsShell.c (ABORT):
6192 * EmacsShell.c (EmacsShellUpdateSizeHints):
6193 * alloc.c (free_lcrecord):
6194 * alloca.c (i00afunc):
6195 * buffer.c (delete_from_buffer_alist):
6196 * buffer.c (MARKED_SLOT):
6197 * bytecode.c (execute_rare_opcode):
6198 * bytecode.c (optimize_byte_code):
6199 * bytecode.c (Ffetch_bytecode):
6200 * chartab.c (char_table_type_to_symbol):
6201 * chartab.c (Freset_char_table):
6202 * chartab.c (decode_char_table_range):
6203 * chartab.c (Fget_range_char_table):
6204 * chartab.c (check_valid_char_table_value):
6205 * chartab.c (map_char_table):
6206 * chartab.c (slow_map_char_table_fun):
6207 * chartab.c (chartab_instantiate):
6208 * cm.c (cmcheckmagic):
6209 * console-msw.c (DHEADER):
6210 * console.c (MARKED_SLOT):
6211 * data.c (finish_marking_weak_lists):
6212 * data.c (encode_weak_list_type):
6213 * debug.h (DASSERT):
6214 * device-gtk.c (gtk_init_device):
6215 * device-msw.c (mswindows_get_default_margin):
6216 * device-tty.c (tty_init_device):
6217 * device-x.c (get_device_from_display):
6218 * device-x.c (x_get_visual_depth):
6219 * doprnt.c (parse_doprnt_spec):
6220 * doprnt.c (get_doprnt_args):
6221 * dumper.c (pdump_get_indirect_count):
6222 * dumper.c (pdump_register_sub):
6223 * dumper.c (pdump_register_object):
6224 * dumper.c (pdump_register_struct):
6225 * dumper.c (pdump_dump_data):
6226 * dumper.c (pdump_reloc_one):
6227 * elhash.c (print_hash_table):
6228 * elhash.c (make_standard_lisp_hash_table):
6229 * elhash.c (hash_table_instantiate):
6231 * emacs.c (Fforce_debugging_signal):
6232 * emacs.c (sort_args):
6234 * emacs.c (assert_failed):
6235 * eval.c (throw_or_bomb_out):
6236 * eval.c (signal_1):
6239 * event-Xt.c (emacs_Xt_mapping_action):
6240 * event-Xt.c (Xt_process_to_emacs_event):
6242 * event-stream.c (check_event_stream_ok):
6243 * event-stream.c (Fadd_timeout):
6244 * event-stream.c (Fadd_async_timeout):
6245 * event-stream.c (Fdiscard_input):
6246 * event-stream.c (execute_internal_event):
6247 * event-stream.c (Frecent_keys):
6248 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6249 * event-stream.c (lookup_command_event):
6250 * event-unixoid.c (poll_fds_for_input):
6252 * events.c (mark_event):
6253 * events.c (event_equal):
6254 * events.c (event_hash):
6255 * events.c (Fmake_event):
6256 * events.c (Fdeallocate_event):
6257 * events.c (event_chain_find_previous):
6258 * events.c (event_to_character):
6259 * events.c (format_event_object):
6260 * events.c (Fevent_type):
6261 * events.c (event_pixel_translation):
6262 * events.c (Fevent_properties):
6263 * extents.c (extent_in_region_p):
6264 * extents.c (print_extent):
6265 * extents.c (process_extents_for_insertion_mapper):
6266 * extents.c (report_extent_modification_mapper):
6267 * extents.c (glyph_layout_to_symbol):
6268 * faces.c (face_validate):
6269 * file-coding.c (eol_type_to_symbol):
6270 * file-coding.c (subsidiary_coding_system):
6271 * file-coding.c (Fcoding_system_type):
6272 * file-coding.c (Fcoding_system_property):
6273 * file-coding.c (mule_decode):
6274 * file-coding.c (mule_encode):
6275 * file-coding.c (encode_coding_ucs4):
6276 * file-coding.c (encode_coding_utf8):
6277 * file-coding.c (parse_iso2022_esc):
6278 * file-coding.c (encode_coding_iso2022):
6283 * fns.c (Fbase64_encode_region):
6284 * fns.c (Fbase64_encode_string):
6285 * fns.c (Fbase64_decode_region):
6286 * fns.c (Fbase64_decode_string):
6287 * font-lock.c (find_context):
6288 * font-lock.c (context_to_symbol):
6289 * frame-gtk.c (gtk_set_frame_pointer):
6290 * frame-gtk.c (gtk_update_frame_external_traits):
6291 * frame-x.c (x_wm_mark_shell_size_user_specified):
6292 * frame-x.c (x_wm_mark_shell_position_user_specified):
6293 * frame-x.c (x_wm_set_shell_iconic_p):
6294 * frame-x.c (x_wm_set_cell_size):
6295 * frame-x.c (x_wm_set_variable_size):
6296 * frame-x.c (x_wm_store_class_hints):
6297 * frame-x.c (x_wm_maybe_store_wm_command):
6298 * frame-x.c (x_initialize_frame_size):
6299 * frame-x.c (x_update_frame_external_traits):
6301 * frame.c (delete_frame_internal):
6302 * frame.c (mouse_pixel_position_1):
6303 * frame.c (change_frame_size_1):
6304 * free-hook.c (check_free):
6305 * free-hook.c (check_realloc):
6306 * free-hook.c (note_block_input):
6307 * free-hook.c (log_gcpro):
6308 * gccache-gtk.c (gc_cache_lookup):
6309 * glyphs-eimage.c (tiff_memory_write):
6310 * glyphs-gtk.c (gtk_finalize_image_instance):
6311 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6312 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6313 * glyphs-gtk.c (gtk_xpm_instantiate):
6314 * glyphs-gtk.c (gtk_unmap_subwindow):
6315 * glyphs-gtk.c (gtk_map_subwindow):
6316 * glyphs-gtk.c (gtk_button_redisplay):
6318 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6319 * glyphs-x.c (init_image_instance_from_xbm_inline):
6320 * glyphs-x.c (extract_xpm_color_names):
6321 * glyphs-x.c (x_xpm_instantiate):
6322 * glyphs.c (get_image_instantiator_governing_domain):
6323 * glyphs.c (print_image_instance):
6324 * glyphs.c (image_instance_equal):
6325 * glyphs.c (image_instance_hash):
6326 * glyphs.c (encode_image_instance_type):
6327 * glyphs.c (make_image_instance_1):
6328 * glyphs.c (inherit_instantiate):
6329 * glyphs.c (image_instantiate):
6330 * glyphs.c (allocate_glyph):
6331 * glyphs.c (Fglyph_type):
6332 * glyphs.c (redisplay_subwindow):
6333 * glyphs.c (display_table_entry):
6334 * gtk-glue.c (xemacs_list_to_gtklist):
6335 * gtk-glue.c (xemacs_gtklist_to_list):
6336 * gtk-glue.c (xemacs_list_to_array):
6337 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6338 * gutter.c (gutter_was_visible):
6339 * gutter.c (get_gutter_coords):
6340 * input-method-xlib.c (get_XIM_input):
6341 * insdel.c (bufpos_to_bytind_func):
6342 * insdel.c (bytind_to_bufpos_func):
6343 * insdel.c (move_gap):
6344 * intl.c (x_get_composed_input):
6345 * keymap.c (keymap_lookup_directly):
6346 * keymap.c (keymap_delete_inverse_internal):
6347 * keymap.c (ensure_meta_prefix_char_keymapp):
6348 * keymap.c (accessible_keymaps_mapper_1):
6349 * keymap.c (where_is_recursive_mapper):
6352 * lread.c (read_atom):
6353 * lstream.c (Lstream_delete):
6354 * lstream.c (make_lisp_buffer_stream_1):
6355 * macros.c (pop_kbd_macro_event):
6356 * malloc.c (malloc):
6358 * marker.c (bi_marker_position):
6359 * marker.c (set_bi_marker_position):
6360 * menubar-gtk.c (menu_descriptor_to_widget_1):
6361 * menubar-msw.c (prune_menubar):
6362 * menubar-x.c (set_frame_menubar):
6363 * mule-charset.c (get_unallocated_leading_byte):
6364 * mule-charset.h (CHAR_LEADING_BYTE):
6365 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6366 * nt.c (init_environment):
6367 * nt.c (generate_inode_val):
6368 * ntproc.c (delete_child):
6369 * ntproc.c (_sys_read_ahead):
6370 * ntproc.c (create_child):
6371 * objects.c (color_instantiate):
6372 * objects.c (font_instantiate):
6373 * objects.c (face_boolean_instantiate):
6374 * print.c (printing_major_badness):
6375 * process-nt.c (nt_send_process):
6376 * process-unix.c (unix_send_process):
6377 * process.c (get_process):
6378 * ralloc.c (obtain):
6379 * ralloc.c (relinquish):
6380 * ralloc.c (relocate_blocs):
6381 * ralloc.c (resize_bloc):
6382 * ralloc.c (r_alloc_free):
6383 * ralloc.c (r_re_alloc):
6384 * ralloc.c (r_alloc_thaw):
6385 * ralloc.c (init_ralloc):
6386 * ralloc.c (Free_Addr_Block):
6387 * ralloc.c (r_alloc):
6388 * redisplay-gtk.c (gtk_output_display_block):
6389 * redisplay-msw.c (mswindows_output_display_block):
6390 * redisplay-output.c (get_next_display_block):
6391 * redisplay-output.c (get_cursor_size_and_location):
6392 * redisplay-output.c (redisplay_output_layout):
6393 * redisplay-output.c (redisplay_clear_region):
6394 * redisplay-tty.c (tty_output_display_block):
6395 * redisplay-x.c (x_output_display_block):
6396 * redisplay.c (add_propagation_runes):
6397 * redisplay.c (add_glyph_rune):
6398 * redisplay.c (create_text_block):
6399 * redisplay.c (add_margin_runes):
6400 * redisplay.c (create_left_glyph_block):
6401 * redisplay.c (create_right_glyph_block):
6402 * redisplay.c (create_string_text_block):
6403 * redisplay.c (regenerate_window):
6404 * redisplay.c (REGEN_INC_FIND_START_END):
6405 * redisplay.c (redisplay_frame):
6406 * redisplay.c (point_in_line_start_cache):
6409 * regex.c (re_compile_fastmap):
6410 * regex.c (re_match_2_internal):
6411 * regex.c (regerror):
6412 * scrollbar-gtk.c (gtk_scrollbar_loop):
6413 * scrollbar-gtk.c (scrollbar_cb):
6414 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6415 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6416 * scrollbar-x.c (x_update_scrollbar_instance_status):
6417 * scrollbar-x.c (x_scrollbar_loop):
6418 * scrollbar-x.c (x_update_frame_scrollbars):
6419 * search.c (search_command):
6420 * search.c (Fmatch_data):
6421 * select-x.c (motif_clipboard_cb):
6422 * signal.c (interrupt_signal):
6423 * specifier.c (specifier_add_spec):
6424 * specifier.c (specifier_instance_from_inst_list):
6425 * specifier.c (specifier_instance):
6427 * specifier.h (struct specifier_methods):
6428 * strftime.c (add_num_time_t):
6429 * sunplay.c (init_device):
6430 * symbols.c (Fsetplist):
6431 * symbols.c (do_symval_forwarding):
6432 * symbols.c (store_symval_forwarding):
6434 * symbols.c (Fbuilt_in_variable_type):
6435 * symbols.c (decode_magic_handler_type):
6436 * symbols.c (handler_type_from_function_symbol):
6437 * syntax.c (update_syntax_cache):
6438 * sysdep.c (init_baud_rate):
6439 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6440 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6441 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6442 * toolbar.c (get_toolbar_coords):
6443 * ui-gtk.c (build_gtk_boxed):
6444 * ui-gtk.c (describe_gtk_arg):
6445 * ui-gtk.c (gtk_type_to_lisp):
6446 * ui-gtk.c (lisp_to_gtk_type):
6447 * ui-gtk.c (lisp_to_gtk_ret_type):
6448 * ui-gtk.c (lisp_to_flag):
6449 * unexnt.c (read_in_bss):
6450 * unexnt.c (map_in_heap):
6451 * window.c (real_window):
6452 * window.c (window_display_lines):
6453 * window.c (window_display_buffer):
6454 * window.c (set_window_display_buffer):
6455 * window.c (window_modeline_height):
6456 * window.c (unshow_buffer):
6457 * window.c (window_loop):
6458 * window.c (Fget_lru_window):
6459 * window.c (Fsplit_window):
6460 * window.c (Fset_window_configuration):
6461 * window.c (saved_window_index):
6462 * xgccache.c (gc_cache_lookup):
6463 abort() -> ABORT(). Eliminate preprocessor games with abort()
6464 since it creates huge problems in VC7, solvable only by including
6465 massive amounts of files in every compile (and not worth it).
6469 Inclusion of process.h does not need to be before lisp.h any more.
6470 Move later and remove comment about abort().
6472 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6474 * regex.c (re_match_2_internal):
6475 Correctly initialize loop which clears uninitialized registers.
6477 2005-01-28 Vin Shelton <acs@xemacs.org>
6479 * sheap.c (more_static_core): Applied Ben's version of the long
6482 2005-01-24 Vin Shelton <acs@xemacs.org>
6484 * sheap.c (more_static_core): Reformatted printf string so
6485 gcc-3.3.3 will compile this on Cygwin.
6487 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6489 * console.c (function_key_map): Reference `key-binding'.
6491 * keymap.c (Vkey_translation_map): Improve docstring.
6493 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6495 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6496 * window.c (window_loop): [fix] Take into account
6497 `allow-deletion-of-last-visible-frame' variable.
6498 * window.c (replace-buffer-in-windows): Ditto.
6500 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6502 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6504 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6506 * event-gtk.c: Recognise AltGr as a valid modifier.
6508 2005-01-12 Ville Skyttä <scop@xemacs.org>
6510 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6512 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6514 Fix backreference bug caught by test suite.
6516 * regex.c (regex_compile):
6517 Make backref duplicate internal register.
6519 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6521 Documentation, code clarification, and warning suppression.
6523 * regex.c (regex_compile):
6525 (re_match_2_internal):
6526 Improve comments and avoid redundant braces. [Most of the big hunk
6527 at l. 4710 is indentation; use diff -w to see the real changes.]
6528 (alt_match_null_string_p):
6529 (common_op_match_null_string_p):
6530 Avoid shadowing global on Mac OS X 10.4, at least.
6532 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6534 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6535 introduced with shy groups fix). [Already applied, probably
6536 with the second "fix shy groups" patch of 2004-10-07.]
6538 2005-01-10 Steve Youngs <steve@sxemacs.org>
6540 From Andrey Slusar <anrays@gmail.com>:
6542 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6544 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6546 * Makefile (RECURSIVE_MAKE): Removed.
6547 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6548 handling parallel builds.
6550 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6552 * Makefile.in.in: Enable support for parallel builds.
6554 2005-01-09 Steve Youngs <steve@sxemacs.org>
6556 From Andrey Slusar <anrays@gmail.com>:
6558 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6559 FreeBSD version is >= 199701 _and_ < 600006.
6561 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6563 * scrollbar.c (compute_scrollbar_instance_usage):
6564 Only call device method compute_scrollbar_instance_usage() if it
6567 2004-12-05 Vin Shelton <acs@xemacs.org>
6569 * XEmacs 21.4.16 is released
6571 2004-12-04 Vin Shelton <acs@xemacs.org>
6573 * depend: Regenerated.
6575 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6577 * regex.c (re_match_2_internal): Map internal to external
6578 registers. Fixes bug identified by Steve Youngs 2004-09-30
6579 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6581 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6583 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6584 to fix a crash. Also, check the buffer is live and it
6585 really exists in buffer_list. If the buffer is not in the list,
6588 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6590 Fix shy groups by implementing recording of all groups for
6591 repetition and backtracking. Backport from 21.5.
6593 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6594 external_to_internal_register, external_to_internal_register_size,
6595 and update comments for re_nsub.
6597 * regex.c (re_opcode_t): Update comments.
6598 (print_compiled_pattern): Ouput external_to_internal_register,
6599 external_to_internal_register_size, and re_ngroups for debugging.
6600 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6601 (regex_compile): Update header comment.
6602 Ensure that all groups are recorded so that repeat matches and
6603 backtracking work correctly. Comment related warning for groups >
6605 (re_search_2): Construct map of API indexes (which count only
6606 nonshy groups) to internal register numbers, and keep it updated.
6608 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6610 * frame-gtk.c (gtk_make_frame_visible):
6611 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6612 show/hide. This is what X uses and is prevents previously hidden
6613 widgets from suddenly reappearing.
6614 * gtk-xemacs.c (gtk_xemacs_paint):
6615 * gtk-xemacs.c (gtk_xemacs_draw):
6616 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6618 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6619 size and location changes so that they can be seen before the next
6620 idle event. Without this rapid changes to scrollbar properties
6623 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6626 * console-gtk.h (struct gtk_frame):
6627 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6628 Add hash tables track tab_control callback data.
6629 Added #defines for GTK object data names.
6630 Declaration of gtk_widget_to_frame().
6631 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6632 * frame-gtk.c (gtk_widget_to_frame): New.
6633 * frame-gtk.c (gtk_create_widgets):
6634 * frame-gtk.c (allocate_gtk_frame_struct):
6635 * frame-gtk.c (gtk_mark_frame):
6636 Manage frame callbakc hash tables.
6637 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6638 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6639 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6641 * glyphs-gtk.c (gtk_widget_query_geometry): New
6642 * glyphs-gtk.c (gtk_register_gui_item): New
6643 * glyphs-gtk.c (gtk_add_tab_item): New
6644 * glyphs-gtk.c (gtk_tab_control_callback): New
6645 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6646 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6647 Use correct list when loading item.
6648 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6649 Register new methods.
6650 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6651 default size, for widgets.
6652 * gui-x.c: Improved comment.
6653 * menubar-gtk.c (__generic_button_callback): Use
6654 gtk_widget_to_frame instead of __get_channel.
6656 * ui-gtk.c: Use symbolic names for GTK object data.
6658 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6660 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6662 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6664 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6666 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6668 * malloc.c (morecore): siz is a long because in some architectures
6669 (eg ia-64) an int cannot hold the address range. Additional patch
6670 from the SuSe distribution.
6672 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6675 * malloc.c: lim_data is a long because in some architectures
6676 (eg ia-64) an int cannot hold the address range.
6677 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6678 instead of ulimit() because ulimit() always returns -1.
6680 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6682 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6684 2004-06-11 David Kastrup <dak@gnu.org>
6686 * search.c (match_limit): Don't flag an error if match-data
6687 exceeding the allocated search_regs.num_regs gets requested, just
6690 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6692 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6693 replace symbolic color entries with the real colors specified in
6694 xpm-color-symbols, before passing the XPM to gtk.
6695 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6696 instead of a GTK specific field, so that it is used in by generic
6699 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6701 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6702 coredump from deref of NULL ptr (ExtData)
6704 2004-04-19 Jerry James <james@xemacs.org>
6706 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6707 VALBITS to compute the location of the sign bit.
6708 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6709 of VALBITS with EMACS_INT_MAX.
6710 * events.c (Fevent_timestamp): Ditto.
6711 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6712 compute the halfway point to timestamp wraparound.
6713 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6714 EMACS_INT_MIN instead of using VALBITS.
6715 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6716 incorrect number with VALBITS.
6717 * fns.c (Frandom): Correct number of integer bits in docstring.
6718 Use INT_VALBITS instead of VALBITS to compute the denominator.
6719 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6720 build random numbers.
6722 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6724 * event-gtk.c (gtk_event_to_emacs_event):
6726 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6727 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6728 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6729 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6730 * menubar-gtk.c (__activate_menu):
6731 * menubar-gtk.c (convert_underscores):
6732 * menubar-gtk.c (remove_underscores):
6733 * menubar-gtk.c (menu_convert):
6734 * menubar-gtk.c (menu_descriptor_to_widget_1):
6735 * menubar-gtk.c (menu_descriptor_to_widget):
6736 * menubar-gtk.c (menu_can_reuse_widget):
6737 * menubar-gtk.c (menu_create_menubar):
6738 * menubar-gtk.c (gtk_popup_menu):
6739 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6740 Added support for Gtk menu bar and menu item mnemonics.
6742 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6744 * sysdll.c: (dll_function): Added support for finding symbols in
6745 Darwin shared libraries as well in Darwin bundles.
6746 * sysdll.c (image_for_address): New
6747 * sysdll.c (my_find_image): New
6748 * sysdll.c (search_linked_libs): New
6750 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6752 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6753 return to GTK requires a different API to marshalling data to use
6755 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6757 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6759 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6761 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6763 * glyphs.c (process_image_string_instantiator):
6764 (Fset_console_type_image_conversion_list):
6765 Stop GCC from warning about shadowing of `exp'.
6767 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6769 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6771 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6773 2004-02-03 Vin Shelton <acs@xemacs.org>
6775 * glyphs.c (image_instance_layout): Remove pointless assertion.
6776 * regex.c (regex_grow_registers): Return type is void.
6778 2004-02-02 Vin Shelton <acs@xemacs.org>
6780 * XEmacs 21.4.15 is released
6782 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6784 * device-x.c (x_error_handler): Don't call stderr_out
6786 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6788 * buffer.c (other-buffer): Clarify documentation of order of
6789 arguments for FSF Emacs.
6791 2003-10-11 Olivier Galibert <galibert@pobox.com>
6793 * window.c (Fdelete_window): Dirty the mirror structure _before_
6794 marking the window deleted.
6796 2003-09-15 Jerry James <james@xemacs.org>
6798 * event-msw.c (debug_mswin_messages): Conditionally compile
6799 messages missing from the Cygwin headers.
6801 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6803 * data.c (eq_with_ebola_notice): Fix typo in comment.
6804 (Ftrue_list_p): Improve docstring.
6806 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6808 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6810 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6812 * search.c (trivial_regexp_p): Regexps containing "\{" are
6813 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6814 Stefan Monnier for suggesting a diagnosis.
6816 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6818 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6820 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6822 * search.c (Fsearch_forward):
6824 Document negative count.
6826 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6828 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6830 2003-09-13 Martin Buchholz <martin@xemacs.org>
6832 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6834 2003-09-15 Vin Shelton <acs@xemacs.org>
6836 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6839 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6841 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6842 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6843 (re_match_2_internal): Use TRANSLATE instead of
6844 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6845 non-ASCII char case conversion.
6847 2003-09-08 Mike Sperber <mike@xemacs.org>
6849 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6850 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6852 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6854 * .gdbinit (pobj): fix printing of symbol name.
6856 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6858 * frame-x.c (x_layout_widgets): When resizing is about to cause
6859 frame size slip, mark it for redisplay.
6861 2003-08-18 Jerry James <james@xemacs.org>
6863 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6865 2003-09-03 Vin Shelton <acs@xemacs.org>
6867 * XEmacs 21.4.14 is released
6869 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6871 * config.h.in (REGEX_MALLOC): Make it configure'able.
6873 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6875 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6877 * sysdll.c (dll_init):
6878 * sysdll.c (dll_open):
6879 * sysdll.c (dll_close):
6880 * sysdll.c (dll_function):
6881 * sysdll.c (dll_variable):
6882 * sysdll.c (dll_error):
6883 Add support for loading bundles using Darwin/MacOSX
6886 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6888 * process.c (start-process-internal): Document coding systems.
6890 2003-07-30 Jerry James <james@xemacs.org>
6892 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6894 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6896 * event-msw.c (mswindows_enqueue_mouse_button_event):
6897 * event-msw.c (mswindows_wnd_proc):
6898 enqueue button event when scrollwheel event isn't handled by
6899 mswindows_handle_mousewheel_event, such as when the scrollbars
6902 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6904 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6906 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6908 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6910 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6912 * regex.c (re_match_2_internal): Fix matching degenerate word
6915 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6917 * XEmacs 21.4.13 is released
6919 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6921 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6922 * lisp.h (<inttypes.h>):
6923 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6926 2003-03-15 Martin Buchholz <martin@xemacs.org>
6928 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6929 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6930 Result: "temacs can only be run in -batch mode."
6931 Fix: Check xemacs executable candidate for directory-ness.
6933 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6935 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6936 they conflict with <sys/types.h>.
6938 2003-02-14 Martin Buchholz <martin@xemacs.org>
6940 * database.c: Berkeley DB wants __STDC__ to be defined.
6942 2003-02-13 Martin Buchholz <martin@xemacs.org>
6944 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6946 2003-02-01 Martin Buchholz <martin@xemacs.org>
6948 * process-unix.c (unix_send_process): Fix C++ compile error.
6950 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6952 * Added .dylib as an acceptable shared library file extension
6953 * to support MacOSX.
6955 2003-02-01 Martin Buchholz <martin@xemacs.org>
6957 * EmacsFrameP.h (EmacsFramePart):
6958 Kludge to allow compiling with Motif1, but linking with Motif2.
6960 2003-01-28 Martin Buchholz <martin@xemacs.org>
6962 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6965 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6967 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6969 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6971 * sysdll.c: Included lisp.h to define needed alloca_array.
6973 2003-02-13 Martin Buchholz <martin@xemacs.org>
6975 Make XEmacs redisplay 10 times faster.
6976 If, that is, you're using a slow X connection and MoveOpaque.
6977 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6978 Use compress_motion = TRUE.
6979 * EmacsFrame.c (emacsFrameClassRec):
6980 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6981 * EmacsManager.c (emacsManagerClassRec):
6982 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6984 2003-01-30 Vin Shelton <acs@xemacs.org>
6986 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6988 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6990 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6991 Patch by Martin Buchholz.
6993 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6995 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6996 Thanks to icc for warning and Martin Buchholz for reporting.
6998 2003-01-29 Vin Shelton <acs@xemacs.org>
7000 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7002 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7003 remember to multiply by the element size.
7005 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7007 * XEmacs 21.4.12 "Portable Code" is released.
7009 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7011 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7012 * s/cygwin.sc: new linker file.
7014 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7016 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7018 * redisplay-x.c (x_output_string): Use X11-specified types.
7019 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7020 * emacs.c (__free_hook): Use typeof with Intel compiler.
7021 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7023 2003-01-08 Andy Piper <andy@xemacs.org>
7025 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7026 reserve size during unexec().
7028 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7030 * process-unix.c (unix_create_process): Don't let outchannel block.
7032 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7034 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7035 Needed for IsBadReadPtr().
7037 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7039 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7041 2002-12-14 Ben Wing <ben@xemacs.org>
7043 * callint.c: Declaration error.
7045 * dumper.c (pdump_load): Warning fix.
7046 * process.c: GCPRO error.
7047 * glyphs.c (unmap_subwindow):
7048 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7049 * event-stream.c (maybe_kbd_translate): Wrong argument to
7050 character_to_event().
7052 * alloc.c (garbage_collect_1):
7054 * emacs.c (debug_can_access_memory):
7055 * emacs.c (fatal_error_signal):
7056 * emacs.c (mswindows_handle_hardware_exceptions):
7059 * emacs.c (assert_failed):
7060 * emacs.c (syms_of_emacs):
7063 * print.c (std_handle_out_va):
7064 * print.c (write_string_to_stdio_stream):
7065 * print.c (write_fmt_string):
7066 * print.c (printing_badness):
7067 * print.c (printing_major_badness):
7068 * print.c (print_internal):
7069 * print.c (debug_print_no_newline):
7070 * print.c (debug_backtrace):
7071 Be more defensive in handling bad values when printing. Add code
7072 from trunk involving inhibit_non_essential_printing_operations.
7073 When going down or in debug_print(), don't do external conversion
7074 and such and try really, really hard when printing to avoid core
7075 dumping. Add force-debugging-signal, debug_break().
7077 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7079 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7080 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7082 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7084 * database.c: Fix open_database. Berkeley DB API has changed in
7085 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7087 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7089 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7091 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7093 * event-Xt.c (Xt_timeout):
7094 (Xt_timeout_callback):
7095 (emacs_Xt_add_timeout):
7096 (emacs_Xt_remove_timeout):
7097 (Xt_timeout_to_emacs_event):
7098 Turn completed_timeouts from a stack into a queue. Fixes
7099 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7101 2002-11-07 Wolfram Gloger <wg@malloc.de>
7103 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7104 * emacs.c (main): Assert that mmap'd allocation is disabled.
7106 2002-10-14 Andy Piper <andy@xemacs.org>
7108 * glyphs-widget.c (layout_query_geometry): add in fiddle
7109 factor. Include border text in width layout calculation.
7110 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7112 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7114 * XEmacs 21.4.10 "Military Intelligence" is released.
7116 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7118 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7119 using the NAS private array SoundFileInfo that no longer exists in
7120 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7121 and earlier. This is broken for some versions between 1.5a and
7124 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7126 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7128 * emacs.c (shut_down_emacs): Improve crash message.
7130 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7132 * file-coding.c (determine_real_coding_system): Check for coding
7133 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7134 shebangs and Python PEP 263.
7136 2002-10-08 Andy Piper <andy@xemacs.org>
7138 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7139 if static sizes haven't been set.
7141 2002-08-30 Mike Alexander <mta@arbortext.com>
7143 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7146 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7148 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7150 2002-09-20 Mike Sperber <mike@xemacs.org>
7152 (This partially gets back my patch from 2002-07-20 without the
7154 * callproc.c (child_setup): Remove Ben's comment noting confusion
7155 over the file descriptors >= 3: close_process_descs() doesn't
7156 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7157 * process-unix.c (unix_create_process): Call
7158 begin_dont_check_for_quit to inhibit unwanted interaction (and
7159 thus breaking of X event synchronicity) in the child.
7161 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7163 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7166 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7168 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7169 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7170 the xemacs process did not exit, but looped infinitely here. This
7173 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7175 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7176 (find_context): Improve comments.
7178 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7179 (re_match_2): An XCHAR_TABLE operation was missing.
7181 Many of the following changes were inspired by Andy Piper's (now
7182 obsolete) patch to make syntax-table text property lookup optional.
7186 * syntax.h (top level): Document semantics of syntax flags.
7187 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7188 * syntax.c, syntax.h (top level): Document syntax cache better in
7191 [Instrument syntax caching (temporary change)]
7193 * syntax.h (enum syntax_cache_statistics_functions, struct
7194 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7195 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7196 * syntax.c (scan_words, Fforward_comment, scan_lists,
7197 Fbackward_prefix_characters):
7198 * font-lock.c (find_context):
7199 Use them to instrument syntax caching.
7200 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7201 syntax_cache_statistics_function_names): New type and variables.
7202 * syntax.c (update_syntax_cache): Update and report statistics.
7204 [Major syntax cache optimizations]
7206 syntax.c (lookup_syntax_properties): Default off.
7208 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7209 * syntax.c (update_syntax_cache):
7210 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7212 [Minor syntax cache optimizations and code clarifications]
7214 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7215 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7216 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7217 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7218 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7219 (Code clarification.)
7221 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7222 scan_lists): Compute code from syncode, use Boolean macros instead
7223 of redundant masking operations. (Code clarification; any decent
7224 compiler can do this optimization.)
7226 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7229 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7230 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7231 use F*_single_property_change instead of F*_extent_change.
7232 Currently F*_single_property_change is _much_ less efficient.
7234 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7235 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7236 syntax_cache.object properly, don't leave Qt or Qnil.
7237 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7238 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7239 tests for Qt or Qnil.
7241 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7243 * redisplay.c (point_in_line_start_cache):
7244 * extents.c (print_extent_1):
7247 * extents.c (Fset_extent_property): Document `syntax-table' property.
7249 * extents.h (Fnext_single_property_change): EXFUN it.
7251 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7253 * search.c (clear_unused_search_regs): New static function.
7257 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7258 Minor clarifications in comments.
7260 * regex.c (re_match_2_internal): Ensure no stale submatches.
7262 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7264 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7266 2002-08-29 Jerry James <james@xemacs.org>
7268 * lisp.h: structrures -> structures.
7270 2002-06-03 Andy Piper <andy@xemacs.org>
7272 * frame.c (frame_conversion_internal): add conversion appropriate
7273 for setting frame dimensions in pixels.
7275 * console.h (struct console_methods): add device-specific widget
7278 * emacs.c (main_1): initialize glyph vars.
7280 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7281 (handle_focus_event_2): new function. Allow focus to
7282 be set to a particular window and widget.
7283 (enqueue_focus_event): new function. Create a
7284 synthetic focus event.
7285 (emacs_Xt_handle_magic_event): call
7286 handle_focus_event_2.
7288 * frame.c (Fset_frame_pixel_height): new function. Allow
7289 pixel-based sizing. Does the right thing on character-oriented
7291 (Fset_frame_pixel_width): ditto.
7292 (Fset_frame_pixel_size): ditto.
7293 (syms_of_frame): declare.
7295 * general-slots.h: add :vertically-justify and
7296 :horizontally-justify.
7298 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7299 (mswindows_widget_border_width): new function.
7300 (mswindows_combo_box_instantiate): set border widths.
7301 (console_type_create_glyphs_mswindows): declare.
7304 (check_valid_justification): allow vertical and horizontal
7306 (widget_border_width): new function. Call device methods.
7307 (widget_instance_border_width): ditto.
7308 (logical_unit_height): new function. Determine the height of a
7309 logical-unit. Logical units are intended to provide grid-like
7310 layout for subcontrols in a layout. If the layout is
7311 :vertically-justify top then subcontrols will be positioned on
7312 logical-unit boundaries, thus allowing adjacent subcontrols to
7314 (widget_logical_unit_height): ditto for widgets.
7315 (redisplay_widget): misc cleanup.
7316 (widget_spacing): new function. Call device specific
7317 methods. Intended to be the default gap between adjacent widgets.
7318 (widget_query_geometry): use new spacing functions to determine
7319 appropriate geometry.
7320 (initialize_widget_image_instance): initialize horizontal and
7321 vertical justification.
7322 (widget_instantiate): use logica-units where appropriate for
7323 sizing large widgets.
7324 (button_query_geometry): use widget_instance_border_width.
7325 (tree_view_query_geometry): ditto.
7326 (tab_control_query_geometry): ditto.
7327 (edit_field_query_geometry): new function.
7328 (layout_update): pick up :justify, :horizontally-justify and
7329 :vertically-justify none of which worked previously. :justify is
7330 used as a fallback for both horizontal and vertical justification.
7331 (layout_query_geometry): use logical units to size appropriately.
7332 (layout_layout): ditto.
7333 (Fwidget_logical_to_character_width): new function. Allow users to
7334 convert from logical units to characters so that frame sizes can
7335 be set appropriately.
7336 (Fwidget_logical_to_character_height): ditto.
7337 (syms_of_glyphs_widget): declare.
7338 (image_instantiator_edit_fields): add edit_field_query_geometry.
7339 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7340 :horizontally-justify.
7341 (specifier_vars_of_glyphs_widget): new function. Declare
7342 Vwidget_border_width which is not yet used.
7344 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7345 (x_widget_border_width): new function.
7346 (x_widget_instantiate): create a sensible name for widgets.
7347 (console_type_create_glyphs_x): declare x_widget_border_width.
7349 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7350 (struct Lisp_Image_Instance): add :vertically-justify and
7351 :horizontally-justify.
7352 (LAYOUT_JUSTIFY_TOP): new.
7353 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7354 (ROUND_UP): new macro. Round argument up to next integral
7357 * redisplay-output.c (redisplay_output_layout): misc formatting.
7359 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7361 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7363 * XEmacs 21.4.9 "Informed Management" is released.
7365 2002-08-19 Andy Piper <andy@xemacs.org>
7367 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7370 * realpath.c (xrealpath): normalize drive spec also so that dir
7371 sep chars are not mixed on cygwin.
7373 2002-08-06 Jerry James <james@xemacs.org>
7375 * window.c (Fsplit_window): Count only half of the divider width
7376 against the left window when splitting horizontally.
7378 2002-06-24 Andy Piper <andy@xemacs.org>
7380 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7381 toolbar was cleared.
7383 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7384 function. Split out from mswindows_output_frame_toolbars.
7385 (mswindows_output_frame_toolbars): move clear pieces to
7386 mswindows_output_frame_toolbars.
7388 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7389 out from gtk_output_frame_toolbars.
7390 (gtk_output_frame_toolbars): move clear pieces to
7391 gtk_clear_frame_toolbars.
7393 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7394 the frame is cleared. How this ever worked before is a mystery.
7395 (x_output_frame_toolbars): Only output toolbars.
7396 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7398 * gutter.c (update_gutter_geometry):
7399 Mark frame layout changed.
7400 (update_frame_gutter_geometry, update_frame_gutters):
7401 Respect frame_layout_changed.
7403 * console.h (struct console_methods): add
7404 clear_frame_toolbars_method.
7406 * redisplay.c (redisplay_frame): call
7407 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7409 * toolbar.h: declare update_frame_toolbars_geometry.
7411 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7412 out from update_frame_toolbars. Call clear_frame_toolbars.
7413 (update_frame_toolbars): only output, do not change geometry.
7415 * redisplay.c: add frame_layout_changed.
7417 * redisplay.h: add frame_layout_changed.
7418 (CLASS_RESET_CHANGED_FLAGS): set it.
7419 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7420 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7421 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7423 * device.h (struct device): add frame_layout_changed.
7424 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7426 * frame.h (struct frame): add frame_layout_changed.
7427 (MARK_FRAME_LAYOUT_CHANGED): new.
7429 2002-06-30 Mike Alexander <mta@arbortext.com>
7431 * event-msw.c (mswindows_need_event): Don't wait for a new message
7432 if the queue is not empty. Suggested by Paul Moore.
7434 2002-06-12 Andy Piper <andy@xemacs.org>
7436 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7437 for printing on accurately.
7439 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7441 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7442 WM_ACTIVATE message. Make sure that the frame is visible if the
7443 window is visible. This seemss to fix the problem where XEmacs
7444 appears to freeze after switching desktops with certain virtual
7446 (debug_output_mswin_message): Added code to output message
7447 parameters for WM_WINDOWPOSCHANGED,
7448 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7450 2002-05-25 Andy Piper <andy@xemacs.org>
7452 * select-x.c (vars_of_select_x): Fix docstring of
7453 x-selection-strict-motif-ownership
7455 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7457 * keymap.c (get_keymap):
7458 Add comment about do_autoload GCPROs own args.
7460 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7462 * bytecode.c (execute_optimized_program): check_opcode ifdef
7463 ERROR_CHECK_BYTE_CODE.
7465 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7467 Thanks to Ben Wing and Michael Sperber.
7469 * eval.c (Fcommand_execute):
7472 (Fmacroexpand_internal):
7473 (function_argcount):
7474 callint.c (Fcall_interactively):
7475 Add comment about do_autoload GCPROs own args.
7477 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7479 * eval.c (Ffuncall): Extra braces to placate GCC.
7481 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7483 * backtrace.h (grow_specpdl):
7485 * EmacsFrame.c (EmacsFrameSetValues):
7486 * eval.c (grow_specpdl):
7487 * ExternalShell.c (hack_event_masks_1):
7488 * glyphs-x.c (convert_EImage_to_XImage):
7489 (x_finalize_image_instance):
7490 * ralloc.c (page_size):
7492 * xgccache.c (gc_cache_hash):
7493 Fix unsigned comparison warnings.
7495 2002-07-29 Jerry James <james@xemacs.org>
7497 * lread.c (locate_file): Any nonnegative return value indicates
7498 success if MODE is nonnegative.
7500 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7502 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7505 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7507 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7509 * dumper.c (pdump_get_indirect_count):
7510 (pdump_scan_by_alignment):
7511 (pdump_dump_root_struct_ptrs):
7512 (pdump_dump_rtables):
7513 (pdump_dump_root_objects):
7515 * nas.c (WaveOpenDataForReading):
7516 * fns.c (print_bit_vector):
7517 * font-lock.c (SINGLE_SYNTAX_STYLE):
7518 * glyphs.c (check_for_ignored_expose):
7519 (find_matching_subwindow):
7521 * imgproc.c (get_histogram):
7522 * redisplay.c (point_in_line_start_cache):
7523 * redisplay-output.c (redisplay_unmap_subwindows):
7524 * symbols.c (defsymbol_massage_name_1):
7525 (defkeyword_massage_name):
7526 (deferror_massage_name_and_message):
7527 * redisplay-x.c (x_output_string):
7528 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7529 * frame.h (struct frame):
7530 * filelock.c (current_lock_owner):
7531 * doprnt.c (emacs_doprnt_1):
7532 * lisp.h (struct Lisp_Bit_Vector):
7536 2002-02-13 Ben Wing <ben@xemacs.org>
7538 * event-stream.c (reset_key_echo):
7539 * event-stream.c (reset_this_command_keys):
7540 * event-stream.c (execute_command_event):
7541 If console is dead as a result of C-x 5 0, then post-command stuff
7542 needs to be careful and do only non-console-specific stuff.
7544 2002-07-01 Mike Sperber <mike@xemacs.org>
7546 * process-unix.c (unix_send_process): Mark coding_outstream as
7547 non-open upon SIGPIPE.
7549 * event-stream.c (Fnext_event): Reorder switch cases to something
7552 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7554 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7555 Don't bogusly reinitialize ascii_character property.
7557 2002-07-08 Mike Sperber <mike@xemacs.org>
7559 * process.c (Fstart_process_internal): Do error checking before we
7560 fork off the child, so the child can't muck with the state of the
7563 2002-07-08 Mike Sperber <mike@xemacs.org>
7565 * ralloc.c (init_ralloc): Allocate properly for pdump.
7567 2002-06-12 Andy Piper <andy@xemacs.org>
7569 * glyphs.c (query_string_geometry): check the string.
7571 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7574 2002-06-17 Jerry James <james@xemacs.org>
7576 * sysdll.c: Remove RTLD_GLOBAL initialization.
7577 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7579 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7581 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7583 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7585 * sysdep.c (sys_rename): Make sys_rename work for the case where
7586 Windows rename sets errno to EACCES if target file exists.
7588 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7590 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7591 Fix detection of metric units to work on Win95
7593 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7595 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7597 2002-04-25 Andy Piper <andy@xemacs.org>
7599 * redisplay.c (create_text_block): Remove extra comment trailer.
7601 2002-04-24 Andy Piper <andy@xemacs.org>
7603 * redisplay.c (create_text_block): Don't actually add propagation
7604 data if the line ends after we have added a glyph.
7606 2002-04-22 Andy Piper <andy@xemacs.org>
7608 * extents.c (extent_fragment_update): check for glyphs we have
7609 previously displayed.
7610 * extents.c (print_extent_1): warning removal.
7611 * extents.h: change prototype.
7612 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7613 widths correctly for wide glyphs.
7614 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7615 * redisplay.c (prop_type): add PROP_GLYPH.
7616 * redisplay.c (struct prop_block): add glyph type
7617 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7618 to the propagation data.
7619 * redisplay.c (create_text_block): if there is a glyph in the
7620 propagation data use it to salt extent_fragment_update.
7621 * redisplay.c (create_string_text_block): ditto.
7623 2002-04-13 Nix <nix@esperi.demon.co.uk>
7625 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7626 * redisplay-output.c (compare_runes): Compare them.
7627 * redisplay.c: Update copyright date.
7628 * redisplay.c (pos_data): Add need_baseline_computation field.
7629 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7630 need_baseline_computation; zero yoffset. Set max_pixmap_height
7631 for all pixmaps, not just automatically positioned ones.
7632 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7633 * redisplay.c (calculate_baseline): New, compute textual baseline.
7634 * redisplay.c (add_glyph_rune): Call them.
7635 * redisplay.c (create_text_block): Likewise.
7636 * redisplay.c (create_overlay_glyph_block): Likewise.
7637 * redisplay.c (add_margin_runes): Likewise.
7638 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7640 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7641 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7642 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7643 * redisplay-msw.c (mswindows_output_string): Likewise.
7644 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7645 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7646 * redisplay-x.c (x_output_display_block): Likewise.
7648 2002-03-28 Ben Wing <ben@xemacs.org>
7650 * redisplay.c: Fixed bug in redisplay
7651 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7652 and down of the lines, since they're bigger than the line
7653 size. (It was seen most obviously when there's a horizontal scroll
7654 bar, e.g. do C-h a glyph or something like that.) The problem was
7655 that the glyph-contrib-p setting on glyphs was ignored even if it
7656 was set properly, which it wasn't until now.
7658 2002-04-24 Andy Piper <andy@xemacs.org>
7660 * lisp.h (Dynarr_end): Fix definition.
7662 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7664 * redisplay.c (mark_redisplay): Remove call to
7665 update_frame_window_mirror.
7667 2001-11-15 Andy Piper <andy@xemacs.org>
7669 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7672 2002-02-13 Andy Piper <andy@xemacs.org>
7674 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7675 we did in fact enqueue the XM_MAPFRAME event.
7677 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7679 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7680 to fix problem switching between virtual desktops under virtuawin
7681 virtual window manager.
7683 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7685 * event-msw.c: Typo fix.
7686 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7687 magic XM_MAPFRAME event has been sent.
7689 2001-11-23 Andy Piper <andy@xemacs.org>
7691 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7693 2001-11-21 Andy Piper <andy@xemacs.org>
7695 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7696 mouse events outside the frame.
7698 2002-03-20 Andy Piper <andy@xemacs.org>
7700 * menubar-msw.c (mswindows_popup_menu): warning removal.
7701 * dialog-msw.c (dialog_popped_down): ditto.
7703 2001-12-11 Andy Piper <andy@xemacs.org>
7705 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7706 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7708 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7709 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7710 * menubar-msw.c (mswindows_popup_menu): ditto.
7712 2001-10-29 Andy Piper <andy@xemacs.org>
7714 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7717 2002-01-03 Andy Piper <andy@xemacs.org>
7719 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7723 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7725 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7726 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7727 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7728 Detect and handle case where machine is set up for metric units
7730 2002-04-02 Andy Piper <andy@xemacs.org>
7732 * dired-msw.c (mswindows_get_files):
7733 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7734 completely handled by XEmacs. Suggested by Thomas Vogler
7735 <mail@thomas-vogler.de>.
7737 2001-11-14 Andy Piper <andy@xemacs.org>
7739 * nt.c (REG_ROOT): change registry key to XEmacs.
7741 2002-04-27 Andy Piper <andy@xemacs.org>
7743 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7745 2002-04-26 Andy Piper <andy@xemacs.org>
7747 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7750 2002-03-14 Mike Alexander <mta@arbortext.com>
7752 * event-msw.c (mswindows_unwait_process): New, remove process from
7754 * process-nt.c (nt_finalize_process_data): Call
7755 mswindows_unwait_process
7756 * console-msw.h: Declare mswindows_unwait_process
7758 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7760 * editfns.c (Fdecode_time):
7761 (Fformat_time_string):
7762 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7763 (make_time): Warning elimination (change arg name).
7765 2001-11-24 Andy Piper <andy@xemacs.org>
7767 * window.c (Fsplit_window): Doc return type.
7769 2002-04-01 Andy Piper <andy@xemacs.org>
7771 * emacs.c (Fkill_emacs): Only output message box in interactive
7774 2002-04-26 Andy Piper <andy@xemacs.org>
7776 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7779 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7781 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7784 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7786 * XEmacs 21.4.8 "Honest Recruiter" is released.
7788 2002-05-07 Nix <nix@esperi.demon.co.uk>
7790 Supersedes 2002-04-17 patch.
7792 * process.h (PROCESS_LIVE_P): Use the process status as
7793 evidence of health, not the state of the input stream.
7794 (PROCESS_READABLE_P): Say if the process is readable
7795 from. (It may be dead nonetheless.)
7796 (CHECK_READABLE_PROCESS): Test for that condition.
7798 * process.c (create_process): Use PROCESS_READABLE_P.
7799 (read_process_output, set_process_filter): Likewise.
7801 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7802 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7804 This code is #if 0'd, this is not the time to add new functions:
7806 * process.c (Fprocess_readable_p): Report readability status.
7807 * process.c (Qprocess_readable_p): New, associated symbol...
7808 * process.c (syms_of_process): ... initialize it.
7810 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7812 * XEmacs 21.4.7 "Economic Science" is released.
7814 2002-04-17 Nix <nix@esperi.demon.co.uk>
7816 * process.h (PROCESS_LIVE_P): Use the process status as
7817 evidence of health, not the state of the input stream.
7819 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7821 * sysdep.c (sys_siglist): change "signum" to "signal"
7823 2001-04-21 Martin Buchholz <martin@xemacs.org>
7825 * s/darwin.h: New file.
7826 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7828 2002-04-23 Andreas Jaeger <aj@suse.de>
7830 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7831 which use lib64 for 64-bit libs.
7832 (START_FILES): Likewise.
7834 2002-02-11 Mike Sperber <mike@xemacs.org>
7837 (x_IO_error_handler):
7838 (x_init_device): Temporarily keep device in static variable
7839 `device_being_initialized' so we can recover gracefully from
7840 internal XOpenDevice failure. (XOpenDevice is documented to
7841 return NULL on failure, but sometimes calls the IO error handler
7844 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7846 * dired.c (Ffile_name_all_completions): Change documentation --
7847 remove reference to completion-ignored-extensions.
7848 * dired.c (vars_of_dired): Change documentation for
7849 completion-ignored-extensions -- remove reference to
7850 file-name-all-completions.
7852 2002-03-06 Jerry James <james@xemacs.org>
7854 * emodules.c (emodules_load): Fix multiple loading of same module.
7856 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7857 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7858 RTLD_LAZY to avoid incorrect symbol binding when using nested
7859 shared libraries on Solaris.
7861 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7863 * fileio.c (Ffind_file_name_handler): Improve docstring.
7865 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7867 * fns.c (Fmapconcat): Improve docstring.
7869 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7871 * device-gtk.c: Add prototype for
7872 emacs_gtk_selection_clear_event_handle.
7873 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7874 selection. Setup signal handler for "selection_clear_event"
7875 (emacs_gtk_selection_clear_event_handle).
7877 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7878 other applications owning the clipboard (based on
7879 x_handle_selection_clear).
7881 2001-12-23 William M. Perry <wmperry@gnu.org>
7883 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7885 2002-01-04 Martin Buchholz <martin@xemacs.org>
7887 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7889 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7891 * XEmacs 21.4.6 "Common Lisp" is released.
7893 2001-12-16 Torsten Duwe <duwe@caldera.de>
7895 * search.c (Freplace_match): Add missing sub-expression functionality.
7897 * buffer.c (decode_buffer): Add a check for pointer type to
7898 decode_buffer, before gcc's CSE optimization reorders a
7899 dereference in front of the allow_string test.
7901 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7903 * window.c (window_loop): Fix bug that sometimes prevented
7904 window_loop() from iterating across multiple devices. Also, at
7905 Ben's request, changed infloop-detecting code to abort() instead
7906 of silently terminating window_loop().
7908 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7910 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7911 * editfns.c (make_time): New function.
7912 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7913 * lisp.h (make_time): Prototype and comment it.
7914 * dired.c (wasteful_word_to_lisp): Deprecate.
7915 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7917 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7919 * fileio.c (auto_save_1): Use current coding system, not
7922 2001-11-13 Ben Wing <ben@xemacs.org>
7925 * window.c (window_truncation_on):
7926 * window.c (syms_of_window):
7927 truncate-partial-width-windows should respect the buffer being
7928 displayed, like other redisplay vars.
7930 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7932 * event-stream.c (Fread_key_sequence): save current buffer.
7934 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7936 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7938 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7940 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7942 2001-10-26 Mike Alexander <mta@arbortext.com>
7944 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7946 2001-10-25 Andy Piper <andy@xemacs.org>
7949 * dialog-msw.c (handle_directory_proc): new function.
7950 (handle_directory_dialog_box): new fucntion.
7951 (handle_file_dialog_box): use new directory dialog support.
7952 (mswindows_make_dialog_box_internal): ditto.
7953 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7955 (mswindows_find_frame): make global.
7956 * fileio.c (Fexpand_file_name): build fix.
7957 * general-slots.h: add Qdirectory.
7958 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7960 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7961 cygwin not leaving win32 paths unchanged.
7962 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7963 cygwin runtime to do path conversion.
7964 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7965 (syms_of_win32): add new function.
7966 * window.c (window_loop): build fix.
7968 2001-10-15 Andy Piper <andy@xemacs.org>
7970 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7972 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7974 * XEmacs 21.4.5 "Civil Service" is released.
7976 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7978 * glyphs-x.c: Force buffer-tab highlight update when moving the
7979 buffer, avoiding an ugly black border, used for keyboard focus
7980 indication, on a widget that can never have keyboard focus, the
7983 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7985 * process-unix.c (unix_open_multicast_group): Remove too much
7986 conversion between host and network byte order.
7988 2001-09-10 Nix <nix@esperi.demon.co.uk>
7990 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7991 before replacing them.
7993 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7996 * src/window.c (undedicate_windows): Use it.
7997 * src/window.h: Add prototype.
7999 2001-09-17 Ben Wing <ben@xemacs.org>
8001 * fileio.c (normalize_filename):
8002 * fileio.c (Fexpand_file_name):
8003 Fix various C++ compile errors in Andy's recent code.
8005 * callint.c (Fcall_interactively):
8006 * editfns.c (Ftemp_directory):
8007 * editfns.c (Fuser_full_name):
8008 * emacs.c (argmatch):
8009 * lread.c (locate_file_map_suffixes):
8010 * redisplay-x.c (x_ring_bell):
8011 Fix sign-compare warnings.
8013 2001-09-08 Andy Piper <andy@xemacs.org>
8015 * fileio.c (normalize_filename): copied from nt.c
8016 * (Ffile_name_directory): enable win32 paths under cygwin.
8017 * (Ffile_name_nondirectory): ditto.
8018 * (directory_file_name): ditto.
8019 * (Fexpand_file_name): ditto.
8020 * (Ffile_truename): ditto.
8021 * (Fsubstitute_in_file_name): ditto.
8022 * (Ffile_name_absolute_p): ditto.
8023 * (Ffile_readable_p): ditto.
8025 2001-09-08 Andy Piper <andy@xemacs.org>
8027 * device-msw.c (mswindows_finish_init_device): remove dde
8029 * device-msw.c (mswindows_init_dde): factor out from
8030 mswindows_finish_init_device()
8031 * device-msw.c (init_mswindows_very_early): new function
8032 initialize but don't enable dde.
8033 * emacs.c (main_1): call init_mswindows_very_early.
8035 * event-msw.c (mswindows_dde_callback): only execute when we are
8037 * symsinit.h: declare init_mswindows_very_early.
8039 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8041 [sjt: This has been in 21.5 for months with no complaints.]
8043 * console.h (struct console_methods): Added flags member.
8044 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8045 (CONMETH_IMPL_FLAG):
8046 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8047 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8049 * device.c (window_system_pixelated_geometry): Use the above macros.
8051 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8052 implememntation flag.
8053 * device.h (DEVICE_DISPLAY_P): Use it.
8055 * frame.c (delete_frame_internal): Use the above macro.
8057 * redisplay.c (redisplay_device): Use it.
8058 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8059 (redisplay_frame): Ditto.
8061 * device-msw.c (mswindows_device_implementation_flags): Removed.
8062 (msprinter_device_implementation_flags): Removed.
8063 (console_type_create_device_mswindows): Removed references to
8064 implementation_flags methods, set implementation flags here.
8065 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8067 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8068 (console_type_create_device_gtk): Removed method declaration.
8069 Added commented out statement which semantically matches the
8070 commented out statement in the above removed method.
8072 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8074 The attached patch fixes a few warnings.
8076 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8077 * src/frame-gtk.c: guard against GNOME calls in GTK only
8078 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8079 * src/select-gtk.c: prototype lisp_to_time
8081 2001-06-08 Ben Wing <ben@xemacs.org>
8083 ------ gc-in-window-procedure fixes ------
8086 * alloc.c (struct post_gc_action):
8087 * alloc.c (register_post_gc_action):
8088 * alloc.c (run_post_gc_actions):
8089 * alloc.c (garbage_collect_1):
8090 Create "post-gc actions", to avoid those dreaded "GC during window
8091 procedure" problems.
8094 Abort, clean and simple, when GC in window procedure. We want
8095 to flush these puppies out.
8098 * glyphs-msw.c (finalize_destroy_window):
8099 * glyphs-msw.c (mswindows_finalize_image_instance):
8100 Use a post-gc action when destroying subwindows.
8103 Declare register_post_gc_action().
8106 * scrollbar-msw.c (unshow_that_mofo):
8107 Use a post-gc action when unshowing scrollbar windows, if in gc.
8109 * redisplay.c (mark_redisplay):
8110 Add comment about the utter evilness of what's going down here.
8112 ------ cygwin setitimer fixes ------
8114 * Makefile.in.in (sheap_objs):
8115 * Makefile.in.in (profile_objs):
8116 * Makefile.in.in (objs):
8117 Compile profile.c only when HAVE_SETITIMER.
8119 * nt.c (mswindows_sigset):
8120 * nt.c (mswindows_sighold):
8121 * nt.c (mswindows_sigrelse):
8122 * nt.c (mswindows_sigpause):
8123 * nt.c (mswindows_raise):
8124 * nt.c (close_file_data):
8128 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8131 * profile.c (Fstart_profiling):
8132 * profile.c (Fstop_profiling):
8133 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8134 instead of just plain setitimer().
8137 * signal.c (set_one_shot_timer):
8139 Define qxe_setitimer() as an encapsulation around setitimer() --
8140 call setitimer() directly unless Cygwin or MS Win, in which case
8141 we use our simulated version in win32.c.
8144 * systime.h (struct itimerval):
8145 * systime.h (ITIMER_REAL):
8146 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8147 comment about "qxe" and the policy regarding encapsulation.
8150 * win32.c (setitimer_helper_proc):
8151 * win32.c (setitimer_helper_period):
8152 * win32.c (setitimer_helper):
8153 * win32.c (mswindows_setitimer):
8154 Move setitimer() emulation here, so Cygwin can use it.
8155 Rename a couple of functions and variables to be longer and more
8156 descriptive. In setitimer_helper_proc(), send the signal
8157 using either mswindows_raise() or (on Cygwin) kill(). If for
8158 some reason we are still getting lockups, we'll change the kill()
8159 to directly invoke the signal handlers.
8161 ------ windows shell fixes ------
8165 Comments about how these two files must die.
8167 * callproc.c (init_callproc):
8168 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8169 not just COMSPEC. (more correct and closer to FSF.) Don't
8170 force a value for SHELL into the environment. (Comments added
8171 to explain why not.)
8173 * nt.c (init_user_info):
8174 Don't shove a fabricated SHELL into the environment. See above.
8176 2001-06-01 Ben Wing <ben@xemacs.org>
8178 * Makefile.in.in (ldflags):
8179 eliminate that pesky "defaulting to 00401000" warning.
8183 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8185 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8186 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8188 2001-04-24 Jerry James <james@xemacs.org>
8190 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8193 2001-06-01 Ben Wing <ben@xemacs.org>
8195 * event-msw.c (debug_mswin_messages):
8196 conditionalize the messages that were causing compile errors.
8197 (if only macros could generate #ifdef statements ...)
8199 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8201 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8203 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8205 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8207 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8209 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8210 * process-unix.c (unix_canonicalize_host_name):
8211 sysdep.c (init_system_name):
8212 Use it to conditionally support IPv6 canonicalization.
8214 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8217 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8219 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8221 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8222 attempt is made to scroll when no scroll bar is available.
8224 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8226 * input-method-motif.c (XIM_delete_frame): New callback.
8227 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8228 got deleted from 21.4.3.)
8230 2001-06-01 Ben Wing <ben@xemacs.org>
8232 * nt.c (mswindows_utime):
8233 * nt.c (close_file_data):
8234 fix off-by-one-indirection error.
8236 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8238 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8239 because set_file_times() now takes Lisp_Object path, instead of
8241 * nt.c: Include buffer.h.
8242 * nt.c (convert_from_time_t): New.
8243 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8244 not set mtime correctly.
8245 * nt.h: Declare mswindows_utime().
8246 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8247 path, instead of char*.
8248 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8250 2001-05-30 Ben Wing <ben@xemacs.org>
8254 (Stephen, just take all event-msw.c patches. This includes
8255 the "iconify" fix below.)
8258 * event-msw.c (mswindows_dequeue_dispatch_event):
8259 * event-msw.c (assert):
8260 * event-msw.c (emacs_mswindows_quit_p):
8261 * event-msw.c (debug_mswin_messages):
8262 * event-msw.c (debug_output_mswin_message):
8263 * event-msw.c (vars_of_event_mswindows):
8264 Fix yet more problems with C-g handling.
8265 Implement debug-mswindows-events.
8267 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8269 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8271 2001-05-23 Ben Wing <ben@xemacs.org>
8273 * event-msw.c (winsock_writer):
8274 * event-msw.c (winsock_closer):
8275 prior kludgy code was clobbering the buffer, thinking it was
8276 "unused" space to store an unneeded return value; instead, use
8277 the variable we've already got staring us in the face.
8279 2001-05-17 Andy Piper <andy@xemacs.org>
8281 * sysfile.h: don't assume that file attributes are boolean
8283 2001-05-23 Ben Wing <ben@xemacs.org>
8285 * device-msw.c (msprinter_init_device):
8286 signal an error rather than crash with an unavailable network
8287 printer (from Mike Alexander).
8290 * event-msw.c (struct winsock_stream):
8291 * event-msw.c (winsock_writer):
8292 * event-msw.c (winsock_closer):
8293 * event-msw.c (make_winsock_stream_1):
8294 cleanup headers. fix (hopefully) an error with data corruption
8295 when sending to a network connection.
8297 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8298 to handle the ~user prefix by (a) always assuming we're referencing
8299 ourselves and not even verifying the user -- hence any file with
8300 a tilde as its first char is invalid! (b) if there wasn't a slash
8301 following the filename, the pointer was set *past* the end of
8302 file and we started reading from uninitialized memory. Now we
8303 simply treat these as files, always.
8305 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8307 2001-05-19 Ben Wing <ben@xemacs.org>
8309 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8312 * process-nt.c (vars_of_process_nt):
8313 remove unused mswindows-quote-process-args. rec for 21.4.
8315 2001-05-12 Ben Wing <ben@xemacs.org>
8317 * event-msw.c (mswindows_dde_callback):
8318 * event-msw.c (mswindows_wnd_proc):
8319 eliminate cygwin warnings.
8321 2001-05-06 Ben Wing <ben@xemacs.org>
8325 * device-msw.c (print_dialog_worker):
8326 * device-msw.c (mswindows_handle_print_dialog_box):
8327 * device-msw.c (syms_of_device_mswindows):
8328 * dialog-msw.c (mswindows_make_dialog_box_internal):
8330 implement printing the selection when it's selected.
8332 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8334 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8336 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8338 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8339 EMACS_INT is signed.
8341 2001-04-15 Michael Lausch <mla@1012surf.net>
8343 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8344 gtk_widget_request_size() to give scrollbar >0 width for
8347 2001-05-30 William M. Perry <wmperry@gnu.org>
8349 * event-gtk.c: Check for buttons as modifier keys.
8351 2001-05-25 Craig Lanning <CraigL@Knology.net>
8354 Properly find MinGW's <process.h> inside Cygwin's restructured
8355 include directories. Don't try to include <cygwin/version.h>
8356 since we are dropping support for MinGW in versions of Cygwin
8359 Drop support for MinGW in versions of Cygwin before b21.
8361 Properly find MinGW's <process.h> inside Cygwin's restructured
8362 include directories.
8364 Drop support for MinGW in versions of Cygwin before b21.
8366 Even though a.out.h is no longer detected by configure, allow
8367 MinGW to use it until we figure out how to do the job with Win32.
8369 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8371 * syntax.c (find_start_of_comment):
8372 Fix `unbalanced parentheses' bug when dealing with mixed comment
8373 styles in c++/java/etc. mode
8375 2001-05-29 Mike Alexander <mta@arbortext.com>
8377 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8378 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8380 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8382 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8384 2001-03-31 Mike Sperber <mike@xemacs.org>
8386 * search.c (Freplace_match): Support FSF-style specification of
8387 match subexpression when applied to a buffer.
8389 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8391 * event-stream.c (is_scrollbar_event): add missing semicolon
8393 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8395 * Makefile.in.in: Use TAR macro instead of hardcoding
8396 tar. Allows use of GNU tar instead of system tar
8398 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8400 * event-stream.c (is_scrollbar_event): add missing semicolon
8402 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8404 * XEmacs 21.4.3 "Academic Rigor" is released.
8406 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8408 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8410 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8412 * buffer.c (Vcase_fold_search): Remove obsolete
8413 comment about non ASCII case-fold-search. This
8414 bug has been fixed by case-table changes.
8416 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8418 * event-msw.c: Restore include of events-mod.h.
8420 2001-04-22 zhaoway <zw@debian.org>
8422 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8425 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8427 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8429 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8431 * mule-charset.c (Fmake_charset): Add missing else.
8433 2001-04-23 Ben Wing <ben@xemacs.org>
8435 * event-msw.c (FAKE_MOD_QUIT):
8436 * event-msw.c (mswindows_dequeue_dispatch_event):
8437 * event-msw.c (mswindows_wnd_proc):
8438 * event-msw.c (emacs_mswindows_quit_p):
8439 Get critical quit working.
8441 2001-05-05 Ben Wing <ben@xemacs.org>
8445 * device-msw.c (mswindows_get_default_margin):
8446 * frame-msw.c (mswindows_size_frame_internal):
8447 * frame-msw.c (msprinter_init_frame_1):
8448 * frame-msw.c (vars_of_frame_mswindows):
8449 Change top/bottom margin defaults to 0.5 inches.
8451 2001-05-01 Martin Buchholz <martin@xemacs.org>
8453 Fix link error with gcc 3.0 on Linux.
8454 * terminfo.c (UP): Remove.
8455 * terminfo.c (BC): Remove.
8456 * terminfo.c (PC): Remove.
8457 They weren't used, and in any case, these symbols should be
8458 defined in the *library*.
8460 2001-05-03 Martin Buchholz <martin@xemacs.org>
8462 * s/aix4.h: Fix crash with xlc -O3.
8463 Improve comment explaining how -O3 works.
8465 2001-04-15 Ben Wing <ben@xemacs.org>
8468 * event-stream.c (Fnext_event):
8469 * event-stream.c (is_scrollbar_event):
8470 * event-stream.c (execute_command_event):
8471 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8472 crash' problem. His fix introduces other problems. We filter
8473 out scrollbar events specifically, making them somewhat invisible
8474 to command-building, and not appearing in `this-command-keys'.
8475 More work is still needed (see comments in event-stream.c), but
8476 this fixes all the major problems.
8478 2001-04-20 Ben Wing <ben@xemacs.org>
8480 * .cvsignore: Added stuff for Windows.
8482 2001-04-28 Ben Wing <ben@xemacs.org>
8484 * buffer.c (Ferase_buffer):
8485 * editfns.c (buffer_insert1):
8486 * editfns.c (Finsert_before_markers):
8487 * editfns.c (Finsert_string):
8488 * editfns.c (Finsert_char):
8489 * editfns.c (Fdelete_region):
8490 * editfns.c (Fwiden):
8491 * editfns.c (Fnarrow_to_region):
8492 remove bogus lines setting zmacs_region_stays to 0.
8494 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8496 * process-unix.c (unix_open_network_stream): If connect() fails
8497 invalidate file descriptor after closing it.
8499 2001-03-08 Mike Alexander <mta@arbortext.com>
8501 * event-msw.c (mswindows_need_event_in_modal_loop):
8502 Don't dispatch a message if we didn't get one.
8503 (mswindows_need_event):
8504 Terminate the correct process when one exits instead of the first
8505 one on Vprocess_list and look for process termination when in
8506 mswindows_protect_modal_loop.
8508 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8510 * XEmacs 21.4.1 "Copyleft" is released.
8512 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8514 * input-method-motif.c (XIM_delete_frame): New callback.
8515 (XIM_init_frame): Register it.
8517 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8519 * XEmacs 21.4.0 "Solid Vapor" is released.
8521 2001-04-15 Ben Wing <ben@xemacs.org>
8523 * cmdloop.c (call_command_loop):
8524 Fix braino in bit-rotting code.
8526 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8528 * extents.c (Fset_extent_endpoints): Force creation of extent info
8529 in buffer_or_string.
8531 * extents.c (process_extents_for_insertion_mapper): Correctly
8532 check for open-open zero-length extents.
8534 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8536 * lisp.h: New typedefs Memory_count, Element_count.
8539 Sign-compare warning elimination: several unsigned -> signed.
8540 Based on work by Ben Wing <ben@xemacs.org>.
8542 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8544 * XEmacs 21.2.47 "Zephir" is released.
8546 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8548 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8550 2001-04-03 Mike Sperber <mike@xemacs.org>
8552 * search.c: Revert previous patch due because of release.
8554 2001-03-30 Ben Wing <ben@xemacs.org>
8557 Add missing killpg prototype.
8560 Add a comment about fixing problems when a new entry is added
8563 * frame-msw.c (mswindows_init_frame_1):
8564 Fix compile warnings.
8566 * menubar.c (vars_of_menubar):
8567 Provide `menu-accelerator-support' to indicate that we properly
8568 support %_ in menu specifications, so that package code can
8569 conditionalize on this (and remove %_ from menu specifications
8574 * scrollbar-msw.c (can_scroll):
8576 Fix handling of mouse wheel under Windows to follow standards --
8577 now scrolls window under pointer, not selected window.
8579 2001-03-31 Mike Sperber <mike@xemacs.org>
8581 * search.c (Freplace_match): Support FSF-style specification of
8582 match subexpression when applied to a buffer.
8584 2001-03-15 Martin Buchholz <martin@xemacs.org>
8586 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8587 function to modify KEYMAP, so map over a copy of the hash table.
8589 2001-03-21 Martin Buchholz <martin@xemacs.org>
8591 * XEmacs 21.2.46 "Urania" is released.
8593 2001-03-20 Dan Holmsand <dan@eyebee.com>
8595 * realpath.c (xrealpath): Make file-truename work with symlinks to
8596 /cygdrive paths on cygwin. Always lowercase drive-letters on
8598 (cygwin_readlink): Don't try to find canonical filename unless
8601 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8603 * ChangeLog: Log GTK merge.
8609 Revert gratuitous whitespace changes from GTK merge.
8611 * emacs.c: Document end of complex #ifdef @ l. 1495.
8614 2001-03-12 Andy Piper <andy@xemacs.org>
8616 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8617 have to do likewise.
8619 2001-03-12 Andy Piper <andy@xemacs.org>
8621 * sysdep.c: we only support mingw now.
8623 2001-03-09 Andy Piper <andy@xemacs.org>
8625 * unexcw.c (copy_executable_and_dump_data_section): making approx
8626 overrun a warning only.
8628 2001-03-10 William M. Perry <wmperry@aventail.com>
8630 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8631 satisfy Stephen's identical-after-cpp plea.
8633 2001-03-02 Ben Wing <ben@xemacs.org>
8636 * cmds.c (Fforward_char):
8640 Augment documentation of the most common motion commands to make
8641 note of the shifted-motion support.
8643 2001-03-02 Ben Wing <ben@xemacs.org>
8645 * nt.c (mswindows_fstat):
8646 * nt.c (mswindows_stat):
8647 * search.c (boyer_moore):
8648 Fix compile warnings under Windows.
8650 * sysdep.c (sys_readdir):
8651 Fix buggy filename-conversion code under Mule.
8653 2001-03-09 William M. Perry <wmperry@aventail.com>
8675 * redisplay-output.c:
8681 The Great GTK Merge.
8688 * emacs-widget-accessors.c:
8702 * native-gtk-toolbar.c:
8713 The Great GTK Merge: new files.
8715 2001-02-26 Ben Wing <ben@xemacs.org>
8717 Reapplied Lstream change.
8719 2001-02-26 Ben Wing <ben@xemacs.org>
8721 Undid the last change, since it is more controversial than I
8722 thought. It should be back in at some point soon.
8724 2001-02-25 Ben Wing <ben@xemacs.org>
8727 * callproc.c (Fold_call_process_internal):
8728 * event-msw.c (ntpipe_slurp_reader):
8729 * event-msw.c (ntpipe_shove_writer):
8730 * event-msw.c (winsock_reader):
8731 * event-msw.c (winsock_writer):
8733 * file-coding.c (detect_eol_type):
8734 * file-coding.c (detect_coding_type):
8735 * file-coding.c (determine_real_coding_system):
8736 * file-coding.c (Fdetect_coding_region):
8737 * file-coding.c (decoding_reader):
8738 * file-coding.c (decoding_writer):
8739 * file-coding.c (mule_decode):
8740 * file-coding.c (Fdecode_coding_region):
8741 * file-coding.c (encoding_reader):
8742 * file-coding.c (encoding_writer):
8743 * file-coding.c (mule_encode):
8744 * file-coding.c (Fencode_coding_region):
8745 * file-coding.c (detect_coding_sjis):
8746 * file-coding.c (decode_coding_sjis):
8747 * file-coding.c (encode_coding_sjis):
8748 * file-coding.c (detect_coding_big5):
8749 * file-coding.c (decode_coding_big5):
8750 * file-coding.c (encode_coding_big5):
8751 * file-coding.c (detect_coding_ucs4):
8752 * file-coding.c (decode_coding_ucs4):
8753 * file-coding.c (encode_coding_ucs4):
8754 * file-coding.c (detect_coding_utf8):
8755 * file-coding.c (decode_coding_utf8):
8756 * file-coding.c (encode_coding_utf8):
8757 * file-coding.c (detect_coding_iso2022):
8758 * file-coding.c (decode_coding_iso2022):
8759 * file-coding.c (encode_coding_iso2022):
8760 * file-coding.c (decode_coding_no_conversion):
8761 * file-coding.c (encode_coding_no_conversion):
8762 * glyphs-x.c (write_lisp_string_to_temp_file):
8763 * gpmevent.c (tty_get_foreign_selection):
8766 * lstream.c (Lstream_flush_out):
8767 * lstream.c (Lstream_adding):
8768 * lstream.c (Lstream_write_1):
8769 * lstream.c (Lstream_write):
8770 * lstream.c (Lstream_raw_read):
8771 * lstream.c (Lstream_read_more):
8772 * lstream.c (Lstream_read):
8773 * lstream.c (Lstream_unread):
8774 * lstream.c (Lstream_fputc):
8775 * lstream.c (stdio_reader):
8776 * lstream.c (stdio_writer):
8777 * lstream.c (filedesc_reader):
8778 * lstream.c (filedesc_writer):
8779 * lstream.c (lisp_string_reader):
8780 * lstream.c (struct fixed_buffer_stream):
8781 * lstream.c (make_fixed_buffer_input_stream):
8782 * lstream.c (make_fixed_buffer_output_stream):
8783 * lstream.c (fixed_buffer_reader):
8784 * lstream.c (fixed_buffer_writer):
8785 * lstream.c (struct resizing_buffer_stream):
8786 * lstream.c (resizing_buffer_writer):
8787 * lstream.c (dynarr_writer):
8788 * lstream.c (lisp_buffer_reader):
8789 * lstream.c (lisp_buffer_writer):
8791 * lstream.h (lstream_implementation):
8792 * lstream.h (struct lstream):
8794 * process-nt.c (nt_send_process):
8795 * process-unix.c (unix_send_process):
8797 Correct Lstream lossage due to mixing of signed and unsigned
8798 quantities. All Lstream uses of size_t and ssize_t are now a
8799 single signed data type Lstream_data_count. This fixes problems
8800 under Windows with sending large quantities of data to a process,
8801 and may well fix other subtle bugs.
8803 2001-02-23 Martin Buchholz <martin@xemacs.org>
8805 * XEmacs 21.2.45 "Thelxepeia" is released.
8807 2001-02-21 Martin Buchholz <martin@xemacs.org>
8809 * lisp-union.h (XSETINT):
8812 Reverse previous change of 2001-02-06.
8814 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8816 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8818 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8819 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8820 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8821 * regex.c (POS_AS_IN_BUFFER): removed
8822 * regex.c (re_search_2):
8823 * regex.c (re_match_2):
8824 Don't use an offset of 1 when calculating buffer positions, since
8825 `BI_BUF_BEGV' does it already.
8827 2001-02-18 Wim Dumon <wim@easics.be>
8829 * insdel.c (prepare_to_modify_buffer): Also check for
8830 supersession when clash-detection is enabled.
8832 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8834 * regex.c (re_match_2_internal):
8835 Convert temp characters from 'const unsigned char' to 're_char'.
8836 Fix crashing bug with extended characters under mule.
8837 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8838 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8839 font-lock, pdump, and new syntax-table code.
8840 * syntax.c (find_start_of_comment):
8841 (find_end_of_comment):
8843 Fix crashing bugs involving moving beyond end of buffer.
8844 * syntax.c (find_start_of_comment):
8845 Fixed logic to allow proper detection of cases where the same
8846 character is used to end both a two-char comment start and a
8847 two-char comment end sequence. Fixes `(forward-comment -1)'.
8848 * syntax.c (find_start_of_comment):
8849 Return position just past last comment-end character for all cases
8850 (previously was only done for two-char comment-end sequences).
8851 * syntax.c (forward-comment):
8852 Take value returned from `find_end_of_comment', rather than
8854 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8855 Properly deal with BUFFERP (syntax_cache.object)
8857 2001-02-17 Martin Buchholz <martin@xemacs.org>
8859 * alloc.c (Fgarbage_collect):
8860 * alloc.c (make_bit_vector_from_byte_vector):
8861 -Wsign-compare-correctness.
8863 2001-02-16 Martin Buchholz <martin@xemacs.org>
8865 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8866 (XSETCHAR): Likewise.
8867 (XSETOBJ): Likewise.
8869 2001-02-15 Martin Buchholz <martin@xemacs.org>
8871 * mule-canna.c (canna-func-delete_previous):
8872 Rename to canna-func-delete-previous.
8874 2001-02-14 Martin Buchholz <martin@xemacs.org>
8876 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8878 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8880 * font-lock.c (find_context): Fix C++ compile errors introduced by
8883 2001-02-13 Martin Buchholz <martin@xemacs.org>
8885 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8886 pragma, but earlier ones barf on the same pragma.
8888 2001-02-06 Mike Sperber <mike@xemacs.org>
8890 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8891 `configure-mule-lisp-directory'.
8893 2001-02-12 Martin Buchholz <martin@xemacs.org>
8895 Make sure dump-id.c is compiled in the same way as other .c's.
8896 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8897 * dump-id.h: Remove.
8898 * emacs.c: Move dump-id.h into dumper.h.
8899 * dumper.h: Move dump-id.h into dumper.h.
8901 Use standard .c.o rule for building dump-id.o.
8902 Remove preprocessor flags from link command.
8903 Add dump-id.o to ${otherobjs} if PDUMP.
8905 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8907 Port FSF 20.7 syntax table improvements.
8911 Fixups for new syntax table stuff.
8912 * dired.c: Include syntax.c.
8913 (Fdirectory_files): Initialize regex_match_object and
8915 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8916 and Fget_char_property.
8918 Use ported FSF 20.7 syntax table improvements.
8923 2001-02-09 Martin Buchholz <martin@xemacs.org>
8925 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8926 Unixware's enum boolean from sys/types.h.
8928 2001-02-10 Martin Buchholz <martin@xemacs.org>
8930 Fix support for building with latest Purify.
8931 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8932 (PURIFY_FLAGS): Likewise.
8934 2001-02-09 Martin Buchholz <martin@xemacs.org>
8936 * fileio.c (lisp_string_set_file_times): New.
8937 * fileio.c (Fcopy_file): Use it.
8939 (copy-file filename non-ascii-filename t t)
8940 ==> No such file or directory, non-ascii-filename
8942 2001-02-10 Martin Buchholz <martin@xemacs.org>
8944 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8945 USHRT_MAX seems clearer than ~0 anyways.
8947 2001-02-09 Martin Buchholz <martin@xemacs.org>
8949 dumper improvements. Inspired by Olivier.
8950 * dumper.c (pdump_max_align): New.
8951 * dumper.c (pdump_add_entry): Use pdump_max_align.
8952 * dumper.c (pdump_get_entry_list): Likewise.
8953 * dumper.c (pdump_scan_by_alignment): Likewise.
8954 Don't iterate through unnecessary alignments.
8955 * dumper.c (pdump_file_get): No need to align result of malloc().
8956 * dumper.c (pdump_mallocadr): Remove.
8957 The result of malloc() is guaranteed to be maximally aligned.
8958 * dumper.c: s/elmt/elt/g;
8959 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8960 * dumper.c (pdump_alert_undump_object): Likewise.
8961 * dumper.c (pdump_align_table):
8962 Don't support alignments > 64.
8963 Store ALIGNOF's, not shift counts, in table.
8965 2001-02-09 Martin Buchholz <martin@xemacs.org>
8967 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8968 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8969 * systime.h: Use HAVE_UTIME.
8970 * sysdep.c (struct utimbuf): Remove.
8971 * sysdep.c (set_file_times): Prefer utime() to utimes().
8972 * config.h.in (HAVE_UTIME): New.
8973 * config.h.in (HAVE_UTIME_H): Remove.
8974 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8976 2001-02-09 Martin Buchholz <martin@xemacs.org>
8978 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8980 2001-02-08 Martin Buchholz <martin@xemacs.org>
8982 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8984 2001-02-08 Martin Buchholz <martin@xemacs.org>
8986 * XEmacs 21.2.44 "Thalia" is released.
8988 2001-02-06 Martin Buchholz <martin@xemacs.org>
8990 Fixes crashes in kill-emacs on some systems.
8991 * process-unix.c (unix_kill_child_process):
8992 It's OK for kill() to fail with ESRCH.
8994 2001-02-07 Martin Buchholz <martin@xemacs.org>
8996 Contortions to make .gdbinit tricks work on most systems.
8997 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8998 * alloc.c (dbg_valmask): Make non-const.
8999 * alloc.c (dbg_typemask): Make non-const.
9000 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9001 * alloc.c (dbg_valbits): Make non-const.
9002 * alloc.c (dbg_gctypebits): Make non-const.
9003 * .gdbinit (decode_object): Make it work with AIX cc.
9005 2001-02-06 Martin Buchholz <martin@xemacs.org>
9007 * elhash.c (make_general_lisp_hash_table):
9008 Use simpler and more efficient calloc to clear entries.
9010 2001-02-07 Martin Buchholz <martin@xemacs.org>
9012 * window.c (window_scroll): Work around an AIX C compiler bug.
9013 Fixes 'scroll-up' does nothing problem with xlC.
9015 2001-02-05 Martin Buchholz <martin@xemacs.org>
9017 * .gdbinit: Remove obsolete comment.
9019 2001-01-31 Mike Alexander <mta@arbortext.com>
9021 * select.c (Fown_selection_internal): Set owned_p for device
9024 2001-02-01 Martin Buchholz <martin@xemacs.org>
9027 "not" cannot be used as a macro name as it is an operator in C++
9028 * config.h.in: Stop #defining `not'.
9029 * chartab.c (check_category_char): not ==> not_p
9030 * chartab.h: Likewise.
9031 * regex.c (re_match_2_internal): Likewise.
9033 2001-02-02 Martin Buchholz <martin@xemacs.org>
9035 * lisp-disunion.h: Fix up comments.
9037 2001-01-31 Martin Buchholz <martin@xemacs.org>
9039 * keymap.c (define_key_check_and_coerce_keysym):
9041 Support mouse-6 and mouse-7 bindings in the obvious way.
9043 2001-02-01 Martin Buchholz <martin@xemacs.org>
9045 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9047 2001-01-30 Martin Buchholz <martin@xemacs.org>
9049 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9050 Previous patch missed DEFVAR_INT_MAGIC.
9051 Make sure future DEFVAR_foo use correct types.
9052 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9053 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9054 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9055 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9056 * (DEFVAR_INT): Likewise.
9057 * redisplay.c (vertical_clip): Should be of type Fixnum.
9058 * redisplay.c (horizontal_clip): Likewise.
9059 * lisp.h (dump_add_opaque_int): New.
9060 (dump_add_opaque_fixnum): New.
9062 2001-01-29 Andy Piper <andy@xemacs.org>
9064 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9065 since they can be eval'ed
9067 2001-01-29 Martin Buchholz <martin@xemacs.org>
9069 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9070 Oops, XEmacs redefines `class'. Use `typename' instead.
9072 2001-01-28 Martin Buchholz <martin@xemacs.org>
9074 * dumper.c: Fix C++ compile errors.
9076 2001-01-29 Martin Buchholz <martin@xemacs.org>
9078 * tparam.c: Use correct prototypes.
9080 2001-01-28 Martin Buchholz <martin@xemacs.org>
9082 * sysproc.h: #include util.h for NetBSD's openpty.
9084 2001-01-27 Martin Buchholz <martin@xemacs.org>
9086 More 64-bit correctness.
9087 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9088 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9090 This finally finishes the 64-bit SGI port.
9091 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9092 * symbols.c: Fix up comments and type casts.
9093 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9094 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9095 * symeval.h (Fixnum): New type.
9096 * symeval.h (symbol_value_type): Fix up comment.
9112 * mule-canna.c: A million DEFVAR_INTs here...
9113 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9126 s/int/Fixnum/g in DEFVAR_INT declarations.
9128 2001-01-26 Martin Buchholz <martin@xemacs.org>
9130 Port pdump to SGI alignment-sensitive environment.
9131 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9132 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9134 Define and use aligned reading and writing macros.
9135 Use buffered stdio instead of posix i/o for faster dumping.
9136 Eliminate kludgy 256 byte space for header.
9137 Read and write from dump file using structs for alignment safety.
9138 * dumper.c (pdump_align_stream): New.
9139 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9140 * dumper.c (PDUMP_READ_ALIGNED): New.
9141 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9142 * dumper.c (pdump_static_Lisp_Object): New struct.
9143 * dumper.c (pdump_static_pointer): New struct.
9144 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9145 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9146 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9147 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9149 * dumper.c (pdump_backtrace):
9150 * dumper.c (pdump_get_indirect_count):
9151 * dumper.c (pdump_register_object):
9152 * dumper.c (pdump_register_struct):
9153 * dumper.c (pdump_reloc_one):
9154 * dumper.c (pdump_scan_by_alignment):
9155 * dumper.c (pdump_dump_from_root_struct_ptrs):
9156 * dumper.c (pdump_dump_opaques):
9157 * dumper.c (pdump_dump_rtables):
9158 * dumper.c (pdump_dump_from_root_objects):
9160 * dumper.c (pdump_load_finish):
9161 Use aligned reading and writing.
9163 * dumper.c (pdump_free): Make static.
9164 * dumper.c (pdump_hFile): Likewise.
9165 * dumper.c (pdump_hMap): Likewise.
9167 2001-01-26 Martin Buchholz <martin@xemacs.org>
9169 * XEmacs 21.2.43 "Terspichore" is released.
9171 2001-01-25 Martin Buchholz <martin@xemacs.org>
9173 Type fiddling for window_config.saved_windows_count
9174 * window.c (struct window_config):
9175 Make saved_windows_count member unsigned.
9176 * window.c (sizeof_window_config_for_n_windows):
9177 Make parameter unsigned.
9178 * window.c (mark_window_config):
9179 * window.c (window_config_equal):
9180 * window.c (free_window_configuration):
9181 * window.c (Fset_window_configuration):
9182 * window.c (count_windows):
9183 * window.c (Fcurrent_window_configuration):
9184 * window.c (reinit_vars_of_window):
9185 Update all callers and users.
9187 2001-01-25 Martin Buchholz <martin@xemacs.org>
9189 Alignment correctness for flexible arrays.
9190 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9191 Make alignment-correct. Add interesting comments.
9192 * alloc.c (size_vector):
9193 * alloc.c (make_vector_internal):
9194 * alloc.c (make_bit_vector_internal):
9195 * alloc.c (sweep_bit_vectors_1):
9196 * fns.c (size_bit_vector):
9197 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9198 * window.c (sizeof_window_config_for_n_windows):
9199 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9201 2001-01-24 Martin Buchholz <martin@xemacs.org>
9203 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9205 2001-01-23 Andy Piper <andy@xemacs.org>
9207 * select.c (Fown_selection_internal): pass owned_p
9209 * select-msw.c (mswindows_own_selection): New Signature.
9211 * console.h (struct console_methods): add owned_p to
9214 * select-x.c (x_own_selection): pass owned_p
9215 (hack_motif_clipboard_selection): use owned_p
9216 (vars_of_select_x): new variable -
9217 x_selection_strict_motif_ownership.
9219 2001-01-23 Martin Buchholz <martin@xemacs.org>
9221 * specifier.h (specifier_data_offset): Remove pointless parens.
9222 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9224 2001-01-24 Martin Buchholz <martin@xemacs.org>
9226 Make Lisp_Object sizeof methods be alignment-correct.
9227 pdump must restore objects to the same alignment as the C compiler
9228 assumes. It really matters on SGIs.
9229 * lstream.c (aligned_sizeof_lstream): New.
9230 (sizeof_lstream): Use aligned_sizeof_lstream.
9231 (Lstream_new): Likewise.
9232 * opaque.c (aligned_sizeof_opaque): New.
9233 (sizeof_opaque): Use aligned_sizeof_opaque.
9234 (make_opaque): Likewise.
9235 * specifier.c (aligned_sizeof_specifier): New.
9236 (sizeof_specifier): Use aligned_sizeof_specifier.
9237 (make_specifier_internal): Likewise.
9239 2001-01-23 Martin Buchholz <martin@xemacs.org>
9241 * lstream.h (struct lstream): Use max_align_t for trailing data.
9242 * specifier.h (struct Lisp_Specifier): Likewise.
9244 2001-01-22 Martin Buchholz <martin@xemacs.org>
9246 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9247 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9248 (CCL_SUSPEND): Likewise.
9249 (CCL_INVALID_CMD): Likewise.
9250 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9251 (ccl_driver): Likewise.
9252 (CCL_WRITE_CHAR): Macro hygiene.
9253 (CCL_WRITE_STRING): Macro hygiene.
9255 2001-01-22 Martin Buchholz <martin@xemacs.org>
9257 Port "portable" dumper to SunOS 4 and HP-UX.
9258 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9259 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9260 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9262 2001-01-22 Martin Buchholz <martin@xemacs.org>
9264 * lisp.h (ALIGNOF): A better definition for C++.
9266 2001-01-20 Martin Buchholz <martin@xemacs.org>
9269 Fix printf warnings: int format, long int arg.
9270 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9271 (PUSH_FAILURE_POINT): Use correct printf formats.
9272 (POP_FAILURE_POINT): Use correct printf formats.
9273 Use do {...} while (0)
9275 2001-01-20 Martin Buchholz <martin@xemacs.org>
9277 * XEmacs 21.2.42 "Poseidon" is released.
9279 2001-01-20 Martin Buchholz <martin@xemacs.org>
9281 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9283 2001-01-19 Martin Buchholz <martin@xemacs.org>
9285 De-kludgify FIXED_TYPE free list frobbing.
9286 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9287 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9288 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9289 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9290 * alloc.c (LRECORD_FREE_P): New.
9291 * alloc.c (MARK_LRECORD_AS_FREE): New.
9292 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9293 * alloc.c (STRUCT_FREE_P): Deleted.
9294 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9295 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9296 * alloc.c (STRING_CHARS_FREE_P): New.
9297 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9298 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9299 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9300 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9301 * alloc.c (resize_string): Use new definitions.
9302 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9303 * alloc.c (verify_string_chars_integrity): Use new definitions.
9304 * alloc.c (compact_string_chars): Use new definitions.
9305 * alloc.c: Update monster comments.
9306 * lrecord.h (lrecord_type): Add some new lrecord types for
9309 2001-01-18 Martin Buchholz <martin@xemacs.org>
9311 Improve alignment hackery.
9312 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9313 (max_align_t): Moved from opaque.h - general purpose.
9314 (ALIGN_PTR): Use size_t, not long.
9315 * opaque.h (max_align_t): Move to lisp.h.
9317 2001-01-18 Norbert Koch <nk@LF.net>
9319 * gui.h: Fix and add prototypes to fix build problems.
9321 2001-01-18 Martin Buchholz <martin@xemacs.org>
9323 temacs is going away, so `dump-temacs' is now a bad name.
9324 * .dbxrc (dump-temacs): Rename to `dmp'.
9325 * .gdbinit (dump-temacs): Rename to `dmp'.
9327 2001-01-17 Andy Piper <andy@xemacs.org>
9329 * glyphs.c (print_image_instance): comment to make martin happy.
9331 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9334 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9336 (mswindows_tab_control_redisplay): warning suppression.
9338 * glyphs-widget.c (widget_update): re-write to cope with updated
9340 (widget_instantiate): use new gui_item functions.
9341 (tab_control_update): deleted.
9342 (progress_gauge_update): deleted.
9343 (image_instantiator_progress_guage): take out update reference.
9344 (image_instantiator_tree_view): ditto.
9345 (image_instantiator_tab_control): ditto.
9347 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9349 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9350 return whether anything was changed.
9351 (update_gui_item_keywords): as it sounds.
9353 * gui.h: declare widget_gui_parse_item_keywords.
9355 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9356 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9358 2001-01-17 Martin Buchholz <martin@xemacs.org>
9360 * XEmacs 21.2.41 "Polyhymnia" is released.
9362 2001-01-16 Didier Verna <didier@xemacs.org>
9364 * glyphs.c (image_instantiate): don't use fallbacks when
9365 instantiating a face's background pixmap by inheritance.
9367 2001-01-14 Mike Sperber <mike@xemacs.org>
9369 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9370 Conditionalize accordingly.
9372 2001-01-16 Martin Buchholz <martin@xemacs.org>
9374 * dumper.c (pdump_file_get): Fix a compiler warning.
9376 2001-01-15 Martin Buchholz <martin@xemacs.org>
9378 Make Purify happy when pdumping.
9379 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9380 iniitalizing all bits of new lisp object memory.
9381 * symbols.c (Fmake_local_variable): Likewise.
9382 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9383 * symbols.c (Fdefvaralias): Likewise.
9384 * mule-charset.c (vars_of_mule_charset): Likewise.
9386 2001-01-15 Martin Buchholz <martin@xemacs.org>
9387 Add the `-nd' flag when running pre-dump operations under the debugger.
9388 * .dbxrc (run-temacs): Add `-nd'.
9389 * .dbxrc (update-elc): Likewise.
9390 * .dbxrc (dump-temacs): Likewise.
9391 * .gdbinit (run-temacs): Likewise.
9392 * .gdbinit (check-temacs): Likewise.
9393 * .gdbinit (update-elc): Likewise.
9394 * .gdbinit (dump-temacs): Likewise.
9396 2001-01-14 Martin Buchholz <martin@xemacs.org>
9398 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9399 export OBJECT_MODE=64
9400 configure --pdump --use-union-type=no
9401 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9402 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9404 * miscplay.c (sndcnv8U_2mono):
9405 Avoid two uses of `++' in the same expression.
9406 Suppresses a GCC warning.
9408 2001-01-13 Martin Buchholz <martin@xemacs.org>
9410 Make sure future compilers don't miscompile alloc.c.
9412 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9413 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9415 2001-01-12 Martin Buchholz <martin@xemacs.org>
9417 * dumper.c: A little post-pdump-rename comment fixup.
9419 2001-01-09 Jerry James <james@eecs.ku.edu>
9421 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9423 2001-01-13 Martin Buchholz <martin@xemacs.org>
9425 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9429 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9432 replace_symbol pdump_wire_lists pdump_weak_object_chains
9433 replace_symbol pdump_wire_list dump_add_weak_object_chain
9435 replace_symbol pdump_wires pdump_root_objects
9436 replace_symbol pdump_wire dump_add_root_object
9438 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9439 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9441 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9442 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9443 replace_symbol dumpstructinfo pdump_root_struct_ptr
9444 replace_symbol dumpstruct dump_add_root_struct_ptr
9446 replace_symbol dumpopaque dump_add_opaque
9447 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9448 replace_symbol dumpopaqueinfos pdump_opaques
9449 replace_symbol dumpopaqueinfo pdump_opaque
9451 replace_symbol nb_structdump nb_root_struct_ptrs
9452 replace_symbol nb_opaquedump nb_opaques
9454 replace_symbol align_table pdump_align_table
9455 replace_symbol dump_header pdump_header
9457 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9458 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9461 2001-01-12 Martin Buchholz <martin@xemacs.org>
9463 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9464 optimizing bytecount_to_charcount().
9466 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9469 (HAVE_DLFCN_H): Removed.
9470 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9472 2001-01-06 Martin Buchholz <martin@xemacs.org>
9474 Portable dumper maintainability improvements.
9475 * alloc.c (staticpro):
9476 * alloc.c (staticpro_nodump):
9477 * alloc.c (garbage_collect_1):
9478 * alloc.c (reinit_alloc_once_early):
9479 * alloc.c (init_alloc_once_early):
9480 * alloc.c: Move dumper functions to alloc.c.
9481 * dumper.c (pdump_backtrace):
9482 * dumper.c (pdump_dump_structs):
9483 * dumper.c (pdump_dump_opaques):
9484 * dumper.c (pdump_dump_rtables):
9485 * dumper.c (pdump_dump_wired):
9487 * dumper.c (pdump_load_check):
9488 * dumper.c (pdump_load_finish):
9489 * dumper.c (pdump_file_unmap):
9490 * dumper.c (pdump_file_get):
9491 * dumper.c (pdump_resource_free):
9492 * dumper.c (pdump_resource_get):
9493 * dumper.c (pdump_file_free):
9494 * dumper.c (pdump_file_try):
9495 * dumper.c (pdump_load):
9496 Remove fixed size limits on staticpro(), staticpro_nodump(),
9497 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9498 Remove custom code for dumping lrecord_implementations_table - use
9500 Remove (most of the) custom code for dumping staticpros - dump it
9501 like any other dynarr.
9503 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9504 * dumper.c: Moved functions from alloc.c.
9505 * alloc.c (dumpstruct): Moved to dumper.c.
9506 * alloc.c (dumpopaque): Likewise.
9507 * alloc.c (pdump_wire): Likewise.
9508 * alloc.c (pdump_wire_list): Likewise.
9510 * lisp.h (Dynarr_sizeof): New.
9511 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9512 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9513 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9515 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9516 * lisp.h (dumpopaque): ditto.
9517 * lisp.h (pdump_wire): ditto.
9518 * lisp.h (pdump_wire_list): ditto.
9520 2001-01-09 Martin Buchholz <martin@xemacs.org>
9522 * make-src-depend (PrintPatternDeps):
9523 Use `sort' to make output independent of perl version.
9525 2001-01-08 Martin Buchholz <martin@xemacs.org>
9528 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9529 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9531 2001-01-03 Didier Verna <didier@xemacs.org>
9533 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9534 that `focus_frame' is alive before thinking of calling
9535 `redisplay_redraw_cursor' on it.
9537 2001-01-08 Martin Buchholz <martin@xemacs.org>
9539 * XEmacs 21.2.40 is released.
9541 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9543 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9545 2001-01-06 Martin Buchholz <martin@xemacs.org>
9547 * alloc.c (dbg_valmask): Make const.
9548 * alloc.c (dbg_typemask): Make const.
9549 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9550 * alloc.c (dbg_valbits): Make const.
9551 * alloc.c (dbg_gctypebits): Make const.
9553 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9555 * redisplay-x.c (x_bevel_area):
9556 redisplay.h (struct rune):
9557 Typo fixes in comments.
9559 2001-01-05 Andy Piper <andy@xemacs.org>
9561 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9564 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9566 2001-01-05 Martin Buchholz <martin@xemacs.org>
9568 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9570 * mule-ccl.c (stack_idx_of_map_multiple):
9571 Non const global data must not be initialized!
9572 Found by MIYASHITA Hisashi.
9574 2001-01-02 Andy Piper <andy@xemacs.org>
9576 * frame.c (change_frame_size): make sure frame size is always
9579 * glyphs.c (image_instance_layout): minor code reuse.
9581 * window.c (Fcurrent_window_configuration): revert previous
9584 2001-01-02 Martin Buchholz <martin@xemacs.org>
9587 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9589 2000-12-31 Andy Piper <andy@xemacs.org>
9591 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9592 when widget gets unmapped.
9594 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9595 function. Make sure widgets losing focus don't just drop it.
9596 (handle_focus_event_1): record the widget with focus.
9598 2000-12-31 Andy Piper <andy@xemacs.org>
9600 * window.c (allocate_window): use
9601 make_image_instance_cache_hash_table.
9602 (make_dummy_parent): ditto.
9603 (Fset_window_configuration): ditto.
9605 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9607 * glyphs.c (process_image_string_instantiator): use
9609 (get_image_instantiator_governing_domain): ditto.
9610 (normalize_image_instantiator): ditto.
9611 (instantiate_image_instantiator): ditto.
9612 (make_image_instance_1): ditto.
9613 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9614 (instantiator_eq_equal): new function for use with instance hash
9616 (instantiator_eq_hash): ditto.
9617 (make_image_instance_cache_hash_table): create a suitable hash
9618 table for storing image instances.
9620 * elhash.h (hash_table_weakness): new internal weakness type
9621 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9622 declare new functions.
9624 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9625 another weakness type for glyphs.
9626 (make_standard_lisp_hash_table): new function split out from
9627 make_general_lisp_hash_table.
9628 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9629 (hash_table_instantiate): ditto.
9630 (Fmake_hash_table): ditto.
9632 2000-12-31 Martin Buchholz <martin@xemacs.org>
9634 * XEmacs 21.2.39 is released.
9636 2000-12-29 Andy Piper <andy@xemacs.org>
9638 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9640 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9641 the frame has changed so that we pick up geometry changes such as
9644 2000-12-28 Andy Piper <andy@xemacs.org>
9646 * lastfile.c (my_ebss): make a char array so we can pad the
9647 bss. Fixes cygwin unexec.
9649 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9651 2000-12-26 Andy Piper <andy@xemacs.org>
9653 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9654 comments and try and be more precise about a non-/SIGIO world.
9655 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9658 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9659 we don't normalize to zero width or height.
9661 2000-12-24 Andy Piper <andy@xemacs.org>
9663 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9665 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9667 * s/sco5.h: SCO 5 has pty support.
9669 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9671 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9672 input-method-xlib.c contains whole contents of input-method-xfs.c,
9673 so we can use input-method-xlib.c's code for USE_XFONTSET
9675 * input-method-xfs.c: removed.
9677 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9679 * file-coding.h (enum coding_category_type): reorder enumerators to
9680 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9681 (now one greater than largest real coding_category_type enumerator).
9682 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9683 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9684 Fcoding_category_list, Fset_coding_priority_list,
9685 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9686 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9688 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9690 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9691 * redisplay-output.c (redisplay_output_window): Clear top of window
9692 when face is changed.
9693 * redisplay-x.c (x_redraw_exposed_window): Call
9694 redisplay_clear_top_of_window.
9695 * redisplay.h: Publish redisplay_clear_top_of_window.
9697 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9699 * buffer.c (Fkill_buffer): Map over all devices.
9700 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9701 (list_windows): New function.
9702 (list_all_windows): Ditto.
9703 (Freplace_buffer_in_windows): Use them.
9705 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9707 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9708 (Fopen_database): Use `db_create' instead of `db_open'.
9709 (syms_of_database): Initialize Qqueue.
9711 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9713 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9714 buffer_local_face_property.
9715 * buffer.h (struct buffer): New member buffer_local_face_property.
9716 * window.c (Fset_window_buffer): Mark window's face as changed
9717 when buffer has buffer local face.
9718 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9719 * objects.c (color_after_change): Set buffer_local_face_property
9720 when locale of face specifier is buffer.
9721 * objects.c (font_after_change): Ditto.
9722 * objects.c (face_boolean_after_change): Ditto.
9723 * glyphs.c (image_after_change): Ditto.
9725 2000-12-09 Dan Holmsand <dan@eyebee.com>
9727 * nt.c (mswindows_fstat): Report file permissions, volume serial
9728 number, etc. Code adapted from FSF Emacs 20.7.
9730 2000-12-09 Dan Holmsand <dan@eyebee.com>
9732 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9733 of stat when we don't have symbolic links, to make sure
9734 mswindows_stat is called on mswindows.
9736 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9738 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9740 2000-12-12 Martin Buchholz <martin@xemacs.org>
9742 * doprnt.c (emacs_doprnt_1): More printing fixes.
9743 Make printing of numbers compatible with libc and FSF Emacs.
9744 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9745 Use the system printf to do most of the hard work of formatting,
9746 instead of doprnt_1().
9747 Calculate memory to allocate for format string.
9748 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9749 (doprnt_1): Cleaner code and documentation.
9751 2000-12-01 Jerry James <james@eecs.ukans.edu>
9753 * Makefile.in.in: Use the loop variable to install headers.
9755 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9757 * window.c (Fsplit_window): Don't invalidate face cache.
9759 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9761 * minibuf.c (Fall_completions): Undo the previous change
9762 which removed checking elements start with space.
9764 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9766 * mule-canna.c: Didier suppression.
9768 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9770 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9771 (warning suppression). Add English comment translations.
9773 2000-12-05 Martin Buchholz <martin@xemacs.org>
9775 * unexelfsgi.c (unexec): Better test for mmap failure.
9777 2000-12-05 Martin Buchholz <martin@xemacs.org>
9779 * XEmacs 21.2.38 is released.
9781 2000-12-05 Martin Buchholz <martin@xemacs.org>
9783 * redisplay.c (bar-cursor): Make a user variable.
9785 * symsinit.h: Add init_postgresql_from_environment.
9787 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9789 * regex.c: Convert to clean C.
9791 2000-12-05 Dan Holmsand <dan@eyebee.com>
9794 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9796 (sys_readlink): renamed to system_readlink to avoid conflict with
9797 the other sys_readlink.
9799 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9801 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9803 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9805 * postgresql.c (init_postgresql_from_environment): new function.
9806 (vars_of_postgresql): Move code initializing Lisp variables out and
9807 into init_postgresql_from_environment.
9808 emacs.c (main_1): Call init_postgresql_from_environment if and only
9809 if running a dumped XEmacs.
9811 2000-08-31 Dan Holmsand <dan@eyebee.com>
9813 * buffer.c: Make find-file-compare-truenames default to true on
9816 * realpath.c (win32_abs_start):
9818 (win32_readlink): New functions.
9819 (xrealpath): Return really real filenames on windows.
9821 * fileio.c (Ffile_truename): Make file-truename work on windows.
9823 2000-11-29 Didier Verna <didier@xemacs.org>
9825 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9826 * faces.c (update_face_cachel_data): use it.
9827 * faces.c (add_face_cachel): use it. Complete background pixmap
9828 frobbing in face cache if `update_face_cachel_data' has not done so.
9830 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9832 * search.c (string_match_1): Don't set last_thing_searched
9835 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9837 * buffer.c: Include casetab.h
9838 (common_init_complex_vars_of_buffer): Use new case-table object.
9839 * buffer.h: Include casetab.h
9840 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9841 (DOWNCASE_TABLE_OF): Ditto.
9842 * bufslots.h: Remove char-tables and add case-table.
9843 * casetab.c: Include casetab.h
9844 (CASE_TABLE_P): Removed.
9845 (mark_case_table): New function.
9846 (allocate_case_table): New function.
9847 (Fcase_table_p): Use new case-table.
9848 (case_table_char): New function.
9849 (Fget_case_table): Ditto.
9850 (Fput_case_table): Ditto.
9851 (Fput_case_table_pair): Ditto.
9852 (Fcopy_case_table): Ditto.
9853 (Fcurrent_case_table): Return case-table.
9854 (Fstandard_case_table): Return case-table.
9855 (Fset_case_table): Fix doc-string.
9856 (set_case_table): Use case-table
9857 (syms_of_casetab): DEFSUBR new functions.
9858 (complex_vars_of_casetab): Set up standard case-table.
9859 * casetab.h: New file.
9860 * editfns.c: Include casetab.h
9861 (Fcompare_buffer_substrings): Use case-table.
9862 * inline.c: Include casetab.h
9863 * lisp.h: Remove bogus extern.
9864 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9865 * search.c: Include casetab.h
9866 (TRANSLATE_ASCII): Removed.
9867 (TRANSLATE): Unconditionally translate character.
9868 (looking_at_1): Use case-table.
9869 (string_match_1): Ditto.
9870 (fast_string_match): Ditto.
9871 (search_command): Ditto.
9872 (search_buffer): Separate boyer_moore. Check whether
9873 boyer_moore is possible.
9874 (simple_search): New function.
9875 (boyer_moore): Separated from search_buffer. Translate char.
9877 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9879 * regex.c (RE_TR_ASCII): Removed.
9880 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9881 (PATFETCH): Call PATFETCH_RAW.
9882 (PATFETCH_RAW): Fetch Emchar.
9883 (PATUNFETCH): Decrement charptr.
9884 (GET_BUFFER_SPACE): Rename b to buf_end.
9886 (BUF_PUSH_2): Ditto.
9887 (BUF_PUSH_3): Ditto.
9888 (EXTEND_BUFFER): Ditto.
9889 (SET_LIST_BIT): Ditto.
9890 (regex_compile): Ditto. Translate non ASCII char.
9891 (compile_range): Ditto.
9892 (re_search_2): Ditto.
9893 (re_match_2_internal): Compare Emchar.
9894 (bcmp_translate): Ditto.
9896 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9898 * lisp.h (basic char/int typedefs): comment improvement.
9900 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9902 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9903 unstomp inhibit_site_lisp. Improve comments.
9905 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9907 * mule-charset.c (Fcharset_property): improve type checking, comments.
9909 2000-11-28 Andy Piper <andy@xemacs.org>
9911 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9912 clipped display for windows in the gutter also.
9913 (redisplay_display_boxes_in_window_p): change semantics of return
9914 codes to be more intuitive.
9916 * gutter.h: declare display_boxes_in_gutter_p.
9918 * gutter.c (display_boxes_in_gutter_p): new function for
9921 2000-11-22 Andy Piper <andy@xemacs.org>
9923 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9926 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9928 * callproc.c (Fold_call_process_internal):
9929 * gpm.c (Freceive_gpm_event):
9930 (tty_get_foreign_selection): Might be just warning supression.
9931 * fileio.c (Fwrite_region_internal):
9932 (Fset_visited_file_modtime):
9933 * keymap.c (event_matches_key_specifier_p):
9934 Initialize GCPROed variable.
9936 * menubar-x.c (command_builder_find_menu_accelerator):
9937 Initialize before use.
9939 2000-11-23 Andy Piper <andy@xemacs.org>
9941 * unexcw.c (unexec): make the resulting executable executable.
9943 2000-11-21 Martin Buchholz <martin@xemacs.org>
9945 * doc.c (get_doc_string):
9946 Use size_t, not int, for result of XSTRING_LENGTH.
9948 * cmds.c (Fdelete_char):
9949 * cmds.c (Fpoint_at_eol):
9950 * cmds.c (Fself_insert_command):
9951 Use EMACS_INT, not int, for result of XINT.
9952 Someday, someone will want to insert more than 2**31 identical characters.
9954 * cmds.c (Fdelete_char):
9955 * cmds.c (Fdelete_backward_char):
9956 * syntax.c (Fforward_word):
9957 * syntax.c (Fforward_comment):
9958 Make COUNT argument optional, for consistency with forward-char et al.
9960 2000-11-22 Martin Buchholz <martin@xemacs.org>
9963 * print.c (long_to_string):
9964 Return a useful value: the pointer at end of data written.
9967 Use `static const char * const' for constant strings.
9968 (union printf_arg): Delete `i', `ui' members.
9971 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9972 Do all printf-ing via the `l' specifier.
9973 Use EMACS_INT instead of int.
9976 2000-11-20 Didier Verna <didier@xemacs.org>
9978 * faces.c (update_face_cachel_data): don't frob the background
9979 pixmap when the window is being created. The face is needed but
9982 2000-11-20 Andy Piper <andy@xemacs.org>
9984 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9985 messing with a debug environment.
9987 2000-11-20 Martin Buchholz <martin@xemacs.org>
9989 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9991 2000-11-20 Martin Buchholz <martin@xemacs.org>
9993 * casetab.c (Fcase_table_p): Fix compile error and crash.
9995 2000-11-18 Philip Aston <philipa@mail.com>
9997 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9999 2000-11-18 Martin Buchholz <martin@xemacs.org>
10001 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10002 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10004 2000-11-17 Martin Buchholz <martin@xemacs.org>
10006 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10007 * unexelf.c: Use HAVE_ELF_H.
10008 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10009 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10010 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10011 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10013 So this is an unexelfsgi.c from a different line of development.
10015 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10017 * regex.c (RE_TR_ASCII): New function.
10018 (RE_TRANSLATE): Call it.
10020 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10022 * buffer.h (TRT_TABLE_OF): Remove assert.
10023 (IN_TRT_TABLE_DOMAIN): Removed.
10025 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10027 * free-hook.c (log_gcpro):
10028 (show_gcprohist): Add support for GCPRO5.
10030 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10032 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10034 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10036 * symeval.h: Declare flush_all_buffer_local_cache.
10038 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10039 (flush_buffer_local_cache): Added.
10040 (flush_all_buffer_local_cache): Added.
10042 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10044 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10045 (pdump_dump_data): Ditto.
10046 (pdump_reloc_one): Ditto.
10047 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10051 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10053 * buffer.c: Remove if 0'ed entry.
10054 * buffer.h: Rewrite TRT to use char-table.
10055 * bufslots.h: Remove mirror tables.
10056 * casetab.c: Remove mirror tables.
10057 (CASE_TABLE_P): New macro.
10058 (Fcase_table_p): Element of a case table is string or char-table.
10059 (make_mirror_trt_table): Removed.
10060 (set_case_table): Setup char-table from strings for backward
10062 * dired.c (Fdirectory_files):
10063 * dired-msw.c: (mswindows_get_files):
10064 * lisp.h: Change prototype of re_pattern_buffer.
10065 * regex.c: (RE_TRANSLATE): New macro.
10066 (TRANSLATE_P): Ditto.
10067 Change translate to type RE_TRANSLATE_TYPE.
10068 * regex.h: Define RE_TRANSLATE_TYPE
10069 * search.c (TRANSLATE): New macro.
10070 (TRANSLATE_ASCII): New macro.
10071 Translate table is changed to Lisp_Object.
10072 (signal_failure): Inhibit return.
10074 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10081 Do UNGCPRO before return.
10083 2000-11-14 Martin Buchholz <martin@xemacs.org>
10085 * XEmacs 21.2.37 is released.
10087 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10089 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10090 Add comments about discarded return value.
10092 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10095 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10097 2000-10-27 Andy Piper <andy@xemacs.org>
10099 * gutter.c (Fset_default_gutter_position): default left and right
10100 gutters to visible.
10101 (calculate_gutter_size): calculate resonable heuristic for left
10102 and right gutter sizes.
10103 (specifier_vars_of_gutter): change left and right gutter sizes to
10105 (calculate_gutter_size_from_display_lines): new function.
10106 (output_gutter): check for resizing on left and right gutters.
10107 (clear_gutter): don't special case top and left gutters.
10108 (specifier_vars_of_gutter): use new signature for
10109 set_specifier_caching.
10111 * glyphs-x.c (x_redisplay_widget): spelling fix.
10112 * glyphs.c (specifier_vars_of_glyphs):
10113 * menubar.c (specifier_vars_of_menubar):
10114 * redisplay.c (specifier_vars_of_redisplay):
10115 * toolbar.c (specifier_vars_of_toolbar):
10116 * window.c (specifier_vars_of_window):
10117 * scrollbar.c (specifier_vars_of_scrollbar):
10118 (complex_vars_of_scrollbar): use new signature for
10119 set_specifier_caching.
10121 * specifier.c (set_specifier_caching): include recompute flag.
10122 (recompute_one_cached_specifier_in_window): always recompute if
10124 (recompute_one_cached_specifier_in_frame): ditto.
10126 * specifier.h (struct specifier_caching): add recompute flag.
10128 2000-10-24 Andy Piper <andy@xemacs.org>
10130 * unexcw.c (copy_executable_and_dump_data_section): add new
10131 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10134 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10136 * console-x.h (x_device): New member modifier_release_time.
10137 * event-Xt.c (x_handle_sticky_modifiers):
10138 Bound interval modifier keys are sticky.
10139 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10140 * events.h: extern it.
10142 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10144 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10146 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10148 * event-stream.c (execute_command_event): Preserve current_events
10149 and the like when event is misc-user-event.
10150 Inhibit quit during the call to maybe_echo_keys.
10152 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10154 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10155 symlink when buffer is killed.
10156 (inhibit_clash_detection): New variable.
10158 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10160 * console.c (Fset_input_method): Trigger redisplay on tty.
10162 2000-11-07 Martin Buchholz <martin@xemacs.org>
10164 * process.c (Fprocess_status): Revert to previous behavior:
10165 (process-status "nosuchprocess") ==> nil
10167 2000-11-06 Martin Buchholz <martin@xemacs.org>
10169 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10170 Work around another GCC 2.95.2 optimizer bug.
10172 2000-11-02 Martin Buchholz <martin@xemacs.org>
10174 * process.c (Fget_process): Use LIST_LOOP_2.
10175 (kill_buffer_processes): Use LIST_LOOP_2.
10177 * minibuf.c (Fall_completions):
10178 Delete old non-functional code for FSF fourth argument.
10180 * frame.c (frame_matches_frame_spec):
10181 Renamed from `frame_matches_frametype'. Update all callers.
10182 (device_matches_device_spec):
10183 Renamed from 'device_matches_console_spec'. Update all callers.
10185 * doc.c (Fsubstitute_command_keys):
10186 Remove buffer overflow crash. Small code cleanups.
10188 * casetab.c (check_case_table): Simpler code.
10190 * window.c (Freplace_buffer_in_windows):
10191 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10192 (and similar implementation) as Fdelete_windows_on.
10193 Update all callers.
10195 * alloc.c (Fmake_list):
10196 * alloc.c (make_vector):
10197 * alloc.c (Fmake_vector):
10198 * alloc.c (make_bit_vector):
10199 * alloc.c (Fmake_bit_vector):
10200 * alloc.c (Fbit_vector):
10201 * alloc.c (Fmake_string):
10202 * alloc.c (Fpurecopy):
10203 * alloc.c (Fmemory_limit):
10205 * buffer.c (Fget_buffer):
10206 * buffer.c (Fkill_buffer):
10207 * buffer.c (complex_vars_of_buffer):
10208 * bytecode.c (Fcompiled_function_stack_depth):
10209 * callint.c (Fprefix_numeric_value):
10211 * event-stream.c (Fread_key_sequence):
10213 * casetab.c (Fcase_table_p):
10214 * casetab.c (check_case_table):
10215 * casetab.c (Fset_case_table):
10216 * casetab.c (Fset_standard_case_table):
10218 * chartab.c (Fchar_table_type):
10219 * chartab.c (Freset_char_table):
10220 * chartab.c (Fget_char_table):
10221 * chartab.c (Fget_range_char_table):
10222 * chartab.c (Fput_char_table):
10223 * chartab.c (Fmap_char_table):
10224 * chartab.c (Fcategory_table_p):
10225 * chartab.c (Fcheck_category_at):
10226 * chartab.c (Fchar_in_category_p):
10227 * chartab.c (Fcategory_table):
10228 * chartab.c (Fcopy_category_table):
10229 * chartab.c (Fset_category_table):
10230 * chartab.c (Fcategory_designator_p):
10231 * chartab.c (Fcategory_table_value_p):
10232 * cmds.c (Fdelete_char):
10233 * cmds.c (Fdelete_backward_char):
10234 * cmds.c (Fself_insert_command):
10235 * cmds.c (Fself_insert_internal):
10236 * console.c (Fvalid_console_type_p):
10237 * console.c (Fcdfw_console):
10238 * console.c (Fconsole_type):
10239 * console.c (Fconsole_name):
10240 * console.c (Fconsole_device_list):
10241 * console.c (Fconsole_on_window_system_p):
10244 * data.c (Fold_eq):
10245 * data.c (Fsubr_interactive):
10246 * data.c (Fchar_to_int):
10247 * data.c (Fint_to_char):
10248 * data.c (Fsetcar):
10249 * data.c (Fsetcdr):
10250 * data.c (Fnumber_to_string):
10251 * data.c (Fstring_to_number):
10253 * database.c (mark_database):
10254 * database.c (finalize_database):
10255 * database.c (Fdatabase_live_p):
10256 * database.c (Fdatabasep):
10257 * device-x.c (Fx_get_resource):
10258 * device.c (Fdfw_device):
10260 * dired.c (Ffile_name_completion):
10261 * dired.c (Ffile_name_all_completions):
10262 * dired.c (Fuser_name_completion):
10263 * dired.c (Fuser_name_completion_1):
10264 * dired.c (Fuser_name_all_completions):
10265 * doc.c (Fdocumentation):
10266 * doc.c (Fdocumentation_property):
10267 * doc.c (Fsubstitute_command_keys):
10269 * editfns.c (Fchar_to_string):
10270 * editfns.c (Fstring_to_char):
10271 * editfns.c (Ftemp_directory):
10272 * editfns.c (Finsert_char):
10273 * editfns.c (Fbuffer_substring_no_properties):
10274 * editfns.c (Fnarrow_to_region):
10275 * editfns.c (Fchar_equal):
10276 * editfns.c (Fchar_Equal):
10277 * editfns.c (Ftranspose_regions):
10278 * emacs.c (Fdump_emacs):
10280 * eval.c (Fcommand_execute):
10281 * eval.c (Fautoload):
10282 * eval.c (Fbacktrace):
10283 * eval.c (Fbacktrace_frame):
10285 * events.c (Fcopy_event):
10286 * events.c (Fcharacter_to_event):
10287 * events.c (Fevent_button):
10288 * events.c (Fevent_process):
10290 * extents.c (Fnext_extent_change):
10291 * extents.c (Fextent_property):
10292 * faces.c (Ffacep):
10293 * faces.c (Fmake_face):
10295 * file-coding.c (Fencode_shift_jis_char):
10296 * file-coding.c (Fencode_big5_char):
10297 * fileio.c (Ffile_name_directory):
10298 * fileio.c (Ffile_name_nondirectory):
10299 * fileio.c (Ffile_name_as_directory):
10300 * fileio.c (Fdirectory_file_name):
10301 * fileio.c (Ffile_truename):
10302 * fileio.c (Fsubstitute_in_file_name):
10303 * fileio.c (Ffile_modes):
10304 * fileio.c (Fset_file_modes):
10305 * fileio.c (Fset_default_file_modes):
10306 * fileio.c (Fverify_visited_file_modtime):
10307 * floatfns.c (Facos):
10308 * floatfns.c (Fasin):
10309 * floatfns.c (Fatan):
10310 * floatfns.c (Fcos):
10311 * floatfns.c (Fsin):
10312 * floatfns.c (Ftan):
10313 * floatfns.c (Fbessel_j0):
10314 * floatfns.c (Fbessel_j1):
10315 * floatfns.c (Fbessel_jn):
10316 * floatfns.c (Fbessel_y0):
10317 * floatfns.c (Fbessel_y1):
10318 * floatfns.c (Fbessel_yn):
10319 * floatfns.c (Ferf):
10320 * floatfns.c (Ferfc):
10321 * floatfns.c (Flog_gamma):
10322 * floatfns.c (Fexp):
10323 * floatfns.c (Fexpt):
10324 * floatfns.c (Flog):
10325 * floatfns.c (Flog10):
10326 * floatfns.c (Fsqrt):
10327 * floatfns.c (Fcube_root):
10328 * floatfns.c (Facosh):
10329 * floatfns.c (Fasinh):
10330 * floatfns.c (Fatanh):
10331 * floatfns.c (Fcosh):
10332 * floatfns.c (Fsinh):
10333 * floatfns.c (Ftanh):
10334 * floatfns.c (Fabs):
10335 * floatfns.c (Ffloat):
10336 * floatfns.c (Flogb):
10337 * floatfns.c (Fceiling):
10338 * floatfns.c (Ffloor):
10339 * floatfns.c (Fround):
10340 * floatfns.c (Ftruncate):
10341 * floatfns.c (Ffceiling):
10342 * floatfns.c (Fffloor):
10343 * floatfns.c (Ffround):
10344 * floatfns.c (Fftruncate):
10345 * fns.c (Fstring_equal):
10346 * fns.c (Fstring_lessp):
10349 * fns.c (vconcat2):
10350 * fns.c (vconcat3):
10351 * fns.c (Fsubstring):
10353 * fns.c (Fold_assoc):
10354 * fns.c (assoc_no_quit):
10356 * fns.c (Fold_assq):
10357 * fns.c (assq_no_quit):
10359 * fns.c (Fold_rassoc):
10361 * fns.c (Fold_rassq):
10362 * fns.c (rassq_no_quit):
10363 * fns.c (Fremassoc):
10364 * fns.c (remassoc_no_quit):
10365 * fns.c (Fremassq):
10366 * fns.c (remassq_no_quit):
10367 * fns.c (Fremrassoc):
10368 * fns.c (Fremrassq):
10369 * fns.c (remrassq_no_quit):
10371 * fns.c (Fplist_get):
10372 * fns.c (Fplist_put):
10373 * fns.c (Fplist_remprop):
10374 * fns.c (Fplist_member):
10375 * fns.c (Flax_plist_get):
10376 * fns.c (Flax_plist_put):
10377 * fns.c (Flax_plist_remprop):
10378 * fns.c (Flax_plist_member):
10380 * fns.c (Fold_equal):
10381 * fns.c (Frequire):
10382 * fns.c (Fbase64_encode_region):
10383 * fns.c (Fbase64_encode_string):
10384 * fns.c (Fbase64_decode_region):
10386 * frame.c (frame_matches_frame_spec):
10387 * frame.c (device_matches_device_spec):
10388 * frame.c (next_frame):
10389 * frame.c (previous_frame):
10390 * frame.c (Fnext_frame):
10391 * frame.c (Fprevious_frame):
10392 * frame.c (Fframe_property):
10393 * frame.c (Fset_frame_height):
10394 * frame.c (Fset_frame_size):
10398 * glyphs.c (decode_error_behavior_flag):
10399 * glyphs.c (Fmake_image_instance):
10400 * indent.c (Findent_to):
10401 * intl.c (Fignore_defer_gettext):
10402 * keymap.c (Fkeymapp):
10403 * keymap.c (Flookup_key):
10405 * lread.c (Fload_internal):
10406 * lread.c (Feval_buffer):
10407 * lread.c (Feval_region):
10408 * macros.c (Fexecute_kbd_macro):
10409 * marker.c (set_marker_internal):
10410 * marker.c (Fset_marker):
10411 * marker.c (set_marker_restricted):
10412 * marker.c (Fcopy_marker):
10413 * marker.c (noseeum_copy_marker):
10415 * menubar.c (Fpopup_menu):
10417 * mule-charset.c (Fcharset_name):
10418 * mule-charset.c (Fchar_charset):
10419 * mule-charset.c (Fchar_octet):
10420 * mule-charset.c (Fsplit_char):
10421 * mule-wnnfns.c (Fwnn_open):
10422 * mule-wnnfns.c (Fwnn_dict_comment):
10423 * mule-wnnfns.c (Fwnn_quit_henkan):
10424 * mule-wnnfns.c (Fwnn_word_toroku):
10425 * mule-wnnfns.c (Fwnn_word_sakujo):
10426 * mule-wnnfns.c (Fwnn_word_use):
10427 * mule-wnnfns.c (Fwnn_hindo_set):
10429 * objects.c (Fmake_color_instance):
10430 * objects.c (Fmake_font_instance):
10431 * print.c (Fwrite_char):
10433 * process.c (mark_process):
10434 * process.c (print_process):
10435 * process.c (get_process_from_usid):
10436 * process.c (Fprocessp):
10437 * process.c (Fprocess_live_p):
10438 * process.c (Fget_process):
10439 * process.c (Fget_buffer_process):
10440 * process.c (get_process):
10441 * process.c (Fprocess_id):
10442 * process.c (Fprocess_name):
10443 * process.c (Fprocess_command):
10444 * process.c (init_process_io_handles):
10445 * process.c (start_process_unwind):
10446 * process.c (Fstart_process_internal):
10447 * process.c (Fopen_multicast_group_internal):
10448 * process.c (Fset_process_window_size):
10449 * process.c (read_process_output):
10450 * process.c (send_process):
10451 * process.c (Fprocess_tty_name):
10452 * process.c (Fset_process_buffer):
10453 * process.c (Fprocess_buffer):
10454 * process.c (Fprocess_mark):
10455 * process.c (set_process_filter):
10456 * process.c (Fset_process_filter):
10457 * process.c (Fprocess_filter):
10458 * process.c (Fprocess_send_region):
10459 * process.c (Fprocess_send_string):
10460 * process.c (exec_sentinel):
10461 * process.c (Fset_process_sentinel):
10462 * process.c (Fprocess_sentinel):
10463 * process.c (status_notify):
10464 * process.c (Fprocess_status):
10465 * process.c (Fprocess_exit_status):
10466 * process.c (process_send_signal):
10467 * process.c (Fprocess_send_eof):
10468 * process.c (deactivate_process):
10469 * process.c (remove_process):
10470 * process.c (Fdelete_process):
10471 * process.c (kill_buffer_processes):
10472 * process.c (Fprocess_kill_without_query):
10473 * process.c (Fprocess_kill_without_query_p):
10475 * rangetab.c (Fget_range_table):
10476 * rangetab.c (Fput_range_table):
10477 * rangetab.c (Fremove_range_table):
10478 * rangetab.c (Fclear_range_table):
10480 * search.c (Fskip_chars_forward):
10481 * search.c (Fskip_chars_backward):
10482 * search.c (Fskip_syntax_forward):
10483 * search.c (Fskip_syntax_backward):
10484 * search.c (search_command):
10485 * search.c (Freplace_match):
10486 * search.c (Fregexp_quote):
10487 * select.c (Fown_selection_internal):
10488 * select.c (Fselection_owner_p):
10489 * select.c (Fselection_exists_p):
10490 * select.c (Fget_selection_internal):
10493 * symbols.c (Fintern):
10494 * symbols.c (Fintern_soft):
10495 * symbols.c (Funintern):
10496 * symbols.c (Fapropos_internal):
10497 * symbols.c (Fset_default):
10499 * syntax.c (Fsyntax_table_p):
10500 * syntax.c (Fcopy_syntax_table):
10501 * syntax.c (Fset_syntax_table):
10502 * syntax.c (Fchar_syntax):
10503 * syntax.c (syntax_match):
10504 * syntax.c (Fmatching_paren):
10505 * syntax.c (Fforward_word):
10506 * syntax.c (scan_lists):
10507 * syntax.c (Fscan_lists):
10508 * syntax.c (Fscan_sexps):
10509 * syntax.c (Fparse_partial_sexp):
10510 * toolbar.c (Fcheck_toolbar_button_syntax):
10513 * window.c (Fwindowp):
10514 * window.c (Fwindow_live_p):
10515 * window.c (Fwindow_point):
10516 * window.c (Fdelete_window):
10517 * window.c (Fnext_window):
10518 * window.c (Fprevious_window):
10519 * window.c (Fother_window):
10520 * window.c (window_loop):
10521 * window.c (Fget_lru_window):
10522 * window.c (Fsplit_window):
10523 * window.c (Fenlarge_window):
10524 * window.c (Fenlarge_window_pixels):
10525 * window.c (Fshrink_window):
10526 * window.c (Fshrink_window_pixels):
10527 * window.c (change_window_height):
10528 * window.c (Fwindow_configuration_p):
10529 * window.c (Fcurrent_window_configuration):
10531 * casefiddle.c (casify_object):
10532 * casefiddle.c (Fupcase):
10533 * casefiddle.c (Fdowncase):
10534 * casefiddle.c (Fcapitalize):
10535 * casefiddle.c (Fupcase_initials):
10536 * casefiddle.c (casify_region_internal):
10537 * casefiddle.c (casify_region):
10538 * casefiddle.c (Fupcase_region):
10539 * casefiddle.c (Fdowncase_region):
10540 * casefiddle.c (Fcapitalize_region):
10541 * casefiddle.c (Fupcase_initials_region):
10542 * casefiddle.c (Fupcase_word):
10543 * casefiddle.c (Fdowncase_word):
10544 * casefiddle.c (Fcapitalize_word):
10545 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10546 Replace 0 with '\0' when working with bytes.
10547 Replace initial "(" with "\(" in docstrings.
10549 2000-11-01 Martin Buchholz <martin@xemacs.org>
10551 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10553 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10555 2000-10-31 Martin Buchholz <martin@xemacs.org>
10557 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10559 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10561 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10564 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10566 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10567 (inhibit_auto_save_session): New variable.
10568 (vars_of_fileio): Declare and initialize them.
10569 * fileio.c (Fdo_auto_save): Don't create session file if
10570 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10572 2000-10-31 Martin Buchholz <martin@xemacs.org>
10574 * sgiplay.c (play_internal): C++ compilability.
10575 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10576 * callproc.c (Fold_call_process_internal):
10577 Remove unused vars `env', `first'.
10578 * scrollbar.c (update_scrollbar_instance):
10579 #### unused var `current_window'.
10580 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10581 etc. within #ifdef NOT_YET.
10582 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10583 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10584 * specifier.c (specifier_instance):
10585 #### unused var `tag'.
10586 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10588 2000-10-27 Martin Buchholz <martin@xemacs.org>
10590 * fns.c (Fbutlast):
10591 * fns.c (list_sort):
10592 * fns.c (Ffillarray):
10593 * fns.c (bytecode_nconc2):
10596 * fns.c (Fmapconcat):
10597 Be pedantically 64-bit correct. For the time when someone will
10598 want to have a list with length > 2**32.
10600 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10601 Work around MIPSpro compiler bug.
10603 * process-unix.c (unix_kill_child_process): Add snarky comment.
10604 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10606 * config.h.in: Oops, _getpt ==> _getpty
10608 2000-10-26 Martin Buchholz <martin@xemacs.org>
10612 Use void*, not char*, as return type of alloca().
10614 * alloc.c (free_marker): Side effect inside assert expression!
10616 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10618 * mule-charset.c (Fset_charset_ccl_program): To check
10619 if the given ccl program is valid, use setup_ccl_program()
10620 instead of CHECK_VECTOR().
10621 (Fmake_charset): Likewise.
10623 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10625 * faces.c (get_extent_fragment_face_cache_index):
10626 Fix cachel.merged_faces memory leak.
10628 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10630 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10631 Reset MSB of octets obtained by DECODE_SJIS
10632 because of the incompatibility with Emacs.
10633 (ccl_driver)<CCL_ENCODE_SJIS>:
10634 Set MSB of octets before passing them to
10635 ENCODE_SJIS because of the incompatibility
10638 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10640 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10641 (DECLARE_LRECORD): Undo the last change.
10642 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10644 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10646 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10647 the implementation to lrecord_implementations_table.
10649 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10651 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10652 initial value of `lrecord_type_##c_name' and
10653 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10654 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10655 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10656 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10657 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10659 2000-10-17 Martin Buchholz <martin@xemacs.org>
10661 * miscplay.c (sndcnv8S_2mono):
10662 (sndcnv2monounsigned):
10663 (sndcnvULaw_2linear):
10665 Remove implementation-defined behavior.
10667 2000-10-12 Martin Buchholz <martin@xemacs.org>
10669 * input-method-xlib.c: Warning suppression.
10671 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10673 * mule-ccl.c: Sync up with Emacs 21.0.90.
10674 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10676 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10678 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10679 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10680 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10681 leading char belongs to official 2-dimensional charset.
10682 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10683 write the given character as is. Otherwise,
10684 if it is a multibyte char, convert it by
10685 non_ascii_set_charptr_emchar, then write it.
10686 (CCL_WRITE_STRING): Likewise.
10687 (ccl_get_compiled_code): New function.
10688 (setup_ccl_program): When ccl_prog is invalid,
10690 (Fregister_code_conversion_map): New function.
10691 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10693 * mule-ccl.h: Sync up with Emacs 21.0.90.
10694 (Fregister_ccl_program): export it.
10696 * redisplay-msw.c (separate_textual_runs):
10697 If ccl program is not valid, don't do ccl conversion.
10699 * redisplay-x.c (separate_textual_runs): Ditto.
10701 * file-coding.c (Fmake_coding_system):
10702 When type is ccl and value is vector, register it
10703 with a proper symbol. And checks whether the
10704 given ccl program is valid.
10705 (mule_decode): When calling ccl_driver, if src indicates
10706 NULL pointer, set an empty string instead.
10707 (mule_encode): Likewise.
10709 2000-10-11 Martin Buchholz <martin@xemacs.org>
10711 The following large batch of changes gets us back to a state of
10712 C++ compilability. Extbyte is now a char, which means that
10713 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10715 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10717 * sound.c (Fplay_sound): Type correctness.
10719 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10720 (x_get_window_property): Type correctness.
10721 (receive_incremental_selection): unsigned char ==> Extbyte
10722 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10723 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10724 (Fx_store_cutbuffer_internal): Type correctness.
10726 * process-unix.c (try_to_initialize_subtty): Type correctness.
10728 * objects-x.c (x_print_color_instance): Type correctness.
10729 (x_print_font_instance): Type correctness.
10730 (x_list_fonts): SExtbyte ==> Extbyte.
10731 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10732 (x_find_charset_font): SExtbyte ==> Extbyte.
10733 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10734 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10735 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10736 Use bufbyte_strcmp.
10738 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10739 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10740 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10741 (BYTE_C0_P): Use bit ops for char-signedness safety.
10742 (BYTE_C1_P): Use bit ops for char-signedness safety.
10743 (CHARSET_BY_LEADING_BYTE):
10744 (CHARSET_BY_ATTRIBUTES):
10745 Always use inline function.
10746 Use type_checking_assert.
10749 * mule-charset.c (non_ascii_charptr_copy_char):
10750 Modify to work with both ASCII and non-ASCII characters.
10751 Improve docs and variable names.
10752 Replace over-clever fall-through switch with a simple loop.
10753 (Lstream_get_emchar_1):
10754 Replace over-clever fall-through switch with a simple loop.
10756 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10757 Warning suppression.
10759 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10760 the return value of Lstream_getc, which could be EOF as well.
10762 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10764 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10765 APIs can be used on Extbytes without casts. Risky!
10766 (SExtbyte): Remove.
10767 (UExtbyte): Remove.
10769 * input-method-xlib.c (XIM_init_device):
10770 Use Xlib.h instead of IntrinsicP.h.
10771 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10772 which will break in X11R7.
10773 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10774 to call XRegisterIMInstantiateCallback with correct types.
10776 * gui-x.c (button_item_to_widget_value): Type correctness.
10778 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10780 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10781 (xbm_instantiate_1): Type correctness.
10782 (BUILD_GLYPH_INST): Type correctness.
10784 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10787 (decode_coding_sjis):
10788 (decode_coding_big5):
10789 (decode_coding_ucs4):
10790 (decode_coding_utf8):
10791 (decode_coding_iso2022):
10792 (decode_coding_no_conversion):
10793 Make all decoding functions take an Extbyte * arg.
10794 (encode_coding_sjis):
10795 (encode_coding_big5):
10796 (encode_coding_ucs4):
10797 (encode_coding_utf8):
10798 (encode_coding_iso2022):
10799 (encode_coding_no_conversion):
10800 Make all encoding functions take a Bufbyte * arg.
10801 Use size_t instead of unsigned int for memory sizes.
10802 Only cast to unsigned char whenever dereferencing Extbyte *.
10804 * doc.c (unparesseuxify_doc_string): Type correctness.
10806 * console-x.c (split_up_display_spec):
10807 Rewrite without using details of internal string representation.
10808 (x_semi_canonicalize_device_connection): Type correctness.
10811 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10812 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10813 (HAVE_XFREE386): Removed.
10815 * buffer.h (DEC_CHARPTR): `const' correctness.
10816 (bufbyte_strcmp): New.
10817 (bufbyte_memcmp): New.
10819 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10821 * buffer.h (XCHAR_OR_CHAR_INT):
10822 Always use inline function.
10823 Remove redundant type checking assert() - XINT will abort quite nicely.
10825 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10827 * search.c (Freplace_match): Set newtext to an empty string.
10829 2000-10-10 Martin Buchholz <martin@xemacs.org>
10831 * s/decosf1-3.h: Remove #include of stropts.h
10832 * s/ptx.h: Remove #include of stropts.h
10833 * s/usg5-4.h: Remove #include of stropts.h
10836 Use stropts.h, not sys/stropts.h.
10837 Use strtio.h, not sys/strtio.h.
10839 2000-10-04 Martin Buchholz <martin@xemacs.org>
10841 * XEmacs 21.2.36 is released.
10843 2000-09-21 Andy Piper <andy@xemacs.org>
10845 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10846 changes still involve copying the widget tree.
10847 (update_widget_face): make sure a change is register in the widget
10848 tree. Call update_tab_widget_face appropriately.
10849 (update_tab_widget_face): ditto.
10850 (x_tab_control_redisplay): make sure non-structural changes still
10851 involve copying the widget tree.
10853 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10855 * lread.c (locate_file): Check the path element is non-nil.
10857 2000-10-02 Martin Buchholz <martin@xemacs.org>
10859 * lisp.h: Warning suppression for SCO compilers.
10861 * redisplay-tty.c (reset_tty_modes): Fix crash.
10862 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10864 2000-09-27 Martin Buchholz <martin@xemacs.org>
10866 Big signal/process handling overhaul. Bugs fixed:
10867 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10868 M-x comint-kill-subjob should work for both values nil and t of
10869 process-connection-type. It was broken on most platforms.
10870 Testing on Irix and Cygwin still needed. Other plaforms tested.
10871 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10872 * process-unix.c: Signal/Process handling overhaul.
10873 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10874 (allocate_pty): Use all available modern methods of allocating
10875 ptys, falling back to old style BSD allocation as a last resort.
10876 Use allegedly more secure Unix98 pty allocation by default.
10877 (allocate_pty_the_old_fashioned_way): New. the last resort.
10878 (unix_create_process): Push ptem, ldterm, ttcompat where
10879 available. Autoconfiscate.
10880 (try_to_initialize_subtty): New.
10881 (unix_kill_child_process): Proper signal handling for ptys on most
10882 platforms, using special knowledge of AIX, BSD, etc...
10883 (unix_create_process): Always disconnect_controlling_terminal() for
10884 subprocesses, whether using ptys or not.
10885 * process.h: Remove old getpt-dependent PTY code.
10886 * process.c (Fprocess_send_signal): New, obvious generic function.
10887 (decode_signal): New.
10888 (Finterrupt_process):
10892 (Fcontinue_process):
10893 (Fsignal_process): Use decode_signal.
10894 (process_send_signal):
10895 Many docstring corrections.
10896 Allow any signal to be sent to a process object.
10897 * config.h.in: Add symbols for big signal/process overhaul.
10898 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10899 * sysproc.h: Include process-related headers, where available:
10900 sys/stropts.h sys/strtio.h pty.h libutil.h
10908 Remove old S&M pty stuff.
10909 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10910 * systty.h: Simplify cpp hackery, improve comments.
10911 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10913 * editfns.c (Fformat_time_string):
10914 Be a little more paranoid with the return value of ctime.
10916 * fileio.c (check_executable):
10918 Use symbolic constants X_OK, W_OK.
10920 * console-x.c (split_up_display_spec): Fix a warning.
10922 2000-10-02 Martin Buchholz <martin@xemacs.org>
10924 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10925 * ntproc.c (sys_spawnve): make_string ==> build_string
10926 Small clarity improvements.
10928 2000-09-30 Martin Buchholz <martin@xemacs.org>
10930 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10932 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10934 * config.h.in (HAVE_STRCASECMP): Remove.
10936 2000-09-29 Martin Buchholz <martin@xemacs.org>
10938 * redisplay-output.c (redisplay_output_pixmap):
10939 Cleaner and possibly more 64-bit correct code.
10941 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10943 * dumper.c (pdump_load_finish): move restoration of
10944 `noninteractive1' to emacs.c (main_1).
10945 * emacs.c (main_1): protect LISP-visible command-line flags
10948 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10950 * Makefile.in.in (versionclean): Use EXE_TARGET and
10951 DUMP_TARGET instead of literal program names.
10953 2000-09-20 Martin Buchholz <martin@xemacs.org>
10955 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10957 2000-09-19 Martin Buchholz <martin@xemacs.org>
10959 * *: Spelling mega-patch
10961 2000-09-19 Martin Buchholz <martin@xemacs.org>
10963 * fns.c (bad_bad_turtle):
10964 Delete "Eek!" comment, since we fixed the bug to which it refers.
10966 2000-09-16 Martin Buchholz <martin@xemacs.org>
10968 * alloca.c: Replace REGISTER with register.
10970 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10972 * file-coding.c (ucs_to_char): Use countof.
10974 2000-09-16 Martin Buchholz <martin@xemacs.org>
10976 * file-coding.c: (ucs_to_char):
10977 (complex_vars_of_file_coding):
10978 Use countof instead of sizeof.
10979 Use CHECK_NATNUM instead of CHECK_INT.
10981 * sysdep.c (strcasecmp): Remove.
10982 * device-x.c (ascii_strcasecmp): New.
10983 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10984 Avoid using non-standard non-portable strcasecmp.
10986 2000-09-16 Martin Buchholz <martin@xemacs.org>
10988 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10989 * font-lock.c: remove reference to emacsfns.h.
10990 * search.c: small doc improvement.
10991 * event-Xt.c: correct file names in comments.
10992 * console-x.h Correct file names in comments.
10993 * frame.c: Correct file names in comments.
10994 * event-stream.c: remove Energize from comments.
10996 2000-09-15 Martin Buchholz <martin@xemacs.org>
10998 * symeval.h (DEFERROR_STANDARD):
11001 (DEFSYMBOL_NO_DUMP):
11002 (DEFSYMBOL_MULTIWORD_PREDICATE):
11003 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11005 The construct &##name is not sensible C.
11006 Fixes compilation errors with Unixware native compiler.
11008 2000-09-14 Martin Buchholz <martin@xemacs.org>
11010 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11011 (next_frame_internal): Removed. We now just have next_frame.
11013 Write a simpler and cleaner one-pass algorithm.
11014 Remove called_from_delete_device arg and #ifdefed-out code.
11016 Renamed from prev_frame. Update callers.
11017 Cleaned up to have an analogous implementation to next_frame.
11018 (other_visible_frames_internal): Remove the
11019 called_from_delete_device bogus arg, and hence, remove this
11020 function. Just use other_visible_frames().
11022 * window.c (Fnext_window):
11023 Prettify docstring.
11024 Since next_frame() is guaranteed to return a frame, remove check
11025 for nil inserted in previous patch.
11026 (Fprevious_window):
11027 Prettify docstring.
11028 Make code look more like Fnext_window.
11030 Respect the `console' arg when iterating through windows.
11031 Fixes bug: (get-buffer-window buffer t device) not respecting
11033 This function needs more work, as others have pointed out.
11035 * frame.h: Rename prev_frame to previous_frame.
11036 device_matches_console_spec no longer takes a `frame' arg.
11041 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11042 From "Golubev I. N." <gin@mo.msk.ru>.
11044 * make-src-depend: Fix typo.
11046 2000-09-13 Martin Buchholz <martin@xemacs.org>
11048 * window.c (Fnext_window):
11049 next_frame() might return nil, not a frame.
11051 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11053 * frame.c (next_frame_internal):
11054 We've passed a frame if we've passed its device.
11056 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11057 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11059 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11061 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11062 Allow option to suppress accelerators in menu/dialog items.
11063 (populate_or_checksum_helper): Pass dialog title through above.
11065 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11067 * event-msw.c (mswindows_key_to_emacs_keysym):
11068 Add "pause" key, fix "menu" key.
11070 2000-09-09 Martin Buchholz <martin@xemacs.org>
11072 * eval.c (reinit_vars_of_eval):
11073 Increase max_lisp_eval_depth to 1000,
11074 required for thai-xtis.el to byte-compile under some circumstances.
11076 2000-09-04 Martin Buchholz <martin@xemacs.org>
11078 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11079 From Kenichi Handa.
11081 2000-09-01 Martin Buchholz <martin@xemacs.org>
11083 * make-src-depend: Make the generated Makefiles smaller.
11085 * s/hpux.h (SETUP_SLAVE_PTY):
11086 Provide a %d in the format string for the errno argument.
11088 * editfns.c (Ftemp_directory):
11090 Avoid buffer overrun on very long file name.
11092 * input-method-xlib.c (XIM_init_device):
11093 6th parameter of XRegisterIMInstantiateCallback has different
11094 pointer types on different OSes, so simply cast to (void *).
11096 * unexhp9k800.c: Warning fixes. Fiddly changes.
11098 * sysdll.c (dll_open):
11099 shl_load will hang hard if passed a NULL filename.
11100 Simply return NULL for compatibility with dlopen.
11101 * sysdll.c: Conform to XEmacs coding standards.
11103 * sysdep.c (get_pty_max_bytes):
11104 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11106 2000-08-31 Martin Buchholz <martin@xemacs.org>
11108 * tooltalk.c: Add #include <syssignal.h>
11110 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11112 * s/hpux.h: Don't use undefined function sigunblock().
11114 2000-08-31 Martin Buchholz <martin@xemacs.org>
11116 * config.h.in: Add HAVE_BALLOON_HELP.
11117 * emacs.c: Use HAVE_BALLOON_HELP.
11118 * Makefile.in.in (x_objs):
11119 Make Balloon Help conditional on finding shape.h.
11121 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11123 * syntax.c (regex_emacs_buffer_p): New variable.
11124 * syntax.h (regex_emacs_buffer_p): extern.
11125 * search.c (looking_at_1):
11127 (fast_string_match):
11128 (search_buffer): Set regex_emacs_buffer_p.
11129 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11130 when before_dot, at_dot, after_dot.
11132 2000-08-23 Andy Piper <andy@xemacs.org>
11134 * gui-x.c (popup_selection_callback): Only set action_occurred
11135 when we really have an image instance.
11136 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11138 2000-08-23 Andy Piper <andy@xemacs.org>
11140 * gui-msw.c (mswindows_handle_gui_wm_command): set
11142 * gui-x.c (popup_selection_callback): ditto.
11144 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11145 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11146 (struct Lisp_Image_Instance): add action_occurred flag.
11148 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11149 (image_instance_changed): ditto.
11150 (reset_frame_subwindow_instance_cache): only unmap windows - do
11151 not remove them from the cache also.
11153 * glyphs-widget.c (tab_control_update): better debug.
11154 (progress_gauge_update): ditto.
11155 (layout_update): ditto.
11156 (layout_instantiate): ditto.
11157 (tab_control_order_only_changed): cope with null pending items.
11159 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11160 debug. Force selection of an item when an action occurred. Cope
11161 with null pending_items.
11162 (mswindows_progress_gauge_redisplay): better debug.
11163 * glyphs-x.c (x_tab_control_redisplay): ditto.
11165 * redisplay.c (redisplay_frame): reset the frame cache if the
11168 * window.c (Fset_window_configuration): potentially re-enable
11170 (window_unmap_subwindows): need to finalize instances here since
11171 it is only used in mark_window_as_deleted.
11173 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11175 * nas.c (SndOpenDataForReading):
11176 nas.c (WaveOpenDataForReading):
11177 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11178 Somehow escaped from the 2000-08-14 patch.
11180 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11182 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11183 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11185 2000-08-21 Andy Piper <andy@xemacs.org>
11187 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11188 window if it is not already displayed.
11190 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11191 it is not already displayed.
11193 * window.c (Fset_window_configuration): don't reset the frame
11196 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11197 instances from the frame cache if we are actually finalizing them.
11198 (reset_frame_subwindow_instance_cache): reset frame cache only
11199 after unmapping everything.
11200 (map_subwindow): set displayed flag after mapping.
11202 2000-08-21 Martin Buchholz <martin@xemacs.org>
11204 * data.c (indirect_function):
11205 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11207 * eval.c (function_argcount):
11208 Use original function when signaling errors.
11210 2000-08-18 Andy Piper <andy@xemacs.org>
11212 * frame.c (delete_frame_internal): use new
11213 free_frame_subwindow_instances name.
11215 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11216 (add_tab_item): make return type correct.
11217 (mswindows_tab_control_instantiate): assert index of tab.
11218 (mswindows_tab_control_redisplay): Re-code to use
11219 gui_item_equal_sans_selected and gui_item_list_find_selected.
11221 * glyphs-widget.c (tab_control_update): Correct comment.
11223 * window.c (window_unmap_subwindows): use new
11224 unmap_subwindow_instance_cache_mapper.
11225 (window_unmap_subwindows_cache_mapper): deleted.
11226 (Fset_window_configuration): comparisons should now be with
11227 EQ. Preserve the subwindow instance cache across configuration
11229 (allocate_window): ditto.
11230 (make_dummy_parent): ditto.
11232 * glyphs.c (free_frame_subwindow_instances): rename from
11233 free_frame_subwindow_instance_cache. finalize all instances rather
11234 than just those in the display cache.
11235 (finalize_all_subwindow_instances): walk windows unmapping and
11236 finalizing subwindows.
11237 (unmap_subwindow_instance_cache_mapper): moved from
11238 window.c. Allow finalization as well as unmapping.
11240 * gui.c (gui_item_list_find_selected): new function.
11242 * gui.h (gui_item_list_find_selected): declare.
11244 * glyphs-x.c (x_tab_control_redisplay): pick tab
11245 explicitly. Re-code to use gui_item_equal_sans_selected and
11246 gui_item_list_find_selected.
11248 * glyphs-x.h: add lwlib-utils.h
11250 * buffer.c (Frecord_buffer): undo previous change.
11252 2000-08-09 Vin Shelton <acs@xemacs.org>
11254 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11255 possible. Create temporary files more securely. The patch was
11256 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11257 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11258 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11261 2000-08-07 Ben Wing <ben@xemacs.org>
11263 * getloadavg.c: remove duplicate (and windows-breaking)
11264 includes of fcntl.h and sys/file.h.
11266 * nt.c: remove duplicate getloadavg() definition.
11268 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11271 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11273 * eval.c (function_argcount): If function needs to be autoloaded
11274 actually use the loaded definition.
11277 2000-08-05 Ben Wing <ben@xemacs.org>
11279 * getloadavg.c: add prototype for getloadavg(). remove
11280 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11281 of the code). remove duplicate header includes.
11283 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11285 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11286 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11287 useful load average.
11289 * alloc.c (reinit_alloc_once_early): removed references to
11290 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11291 the lisp vars are the only things referencing the malloc_sbrk_*
11292 vars, and they were already if 0'd out. these vars only exist
11293 in the older malloc.c, which is basically unused, and they're
11294 only for informational purposes.
11296 * m\*.h: removed useless VIRT_ADDR_VARIES.
11298 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11300 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11302 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11303 color if the image is a mono pixmap.
11305 2000-07-30 Ben Wing <ben@xemacs.org>
11307 * Makefile.in.in (release):
11310 * buffer.c (directory_is_current_directory):
11311 * dired-msw.c (mswindows_get_files):
11313 * dired.c (Fdirectory_files):
11314 * dired.c (file_name_completion_stat):
11315 * dired.c (Ffile_attributes):
11316 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11317 preprocessor tricks, to avoid problems on some machines
11320 * callproc.c (egetenv): GC docs.
11323 * console-msw.h (struct mswindows_dialog_id):
11324 * lrecord.h (lrecord_type):
11325 New object for use with MSW dialogs.
11327 * console.h (struct console_methods):
11328 New enable/disable frame methods, for proper modal dialogs.
11330 * device-msw.c (msprinter_default_printer): Fix to follow
11331 proper Mule conventions.
11334 * device-msw.c (signal_open_printer_error):
11335 * device-msw.c (msprinter_init_device):
11336 * device-msw.c (ensure_not_printing):
11337 * device-msw.c (plist_get_margin):
11338 * device-msw.c (Fmsprinter_select_settings):
11339 * device-msw.c (finalize_devmode):
11340 * device-msw.c (Fmsprinter_settings_despecialize):
11341 * device-msw.c (signal_enum_priner_error):
11342 * extents.c (decode_extent):
11343 * extents.c (decode_map_extents_flags):
11344 * extents.c (decode_extent_at_flag):
11345 * extents.c (Fextent_at):
11346 * extents.c (Fextents_at):
11347 * extents.c (symbol_to_glyph_layout):
11348 [[[[2]]]] Use structured errors.
11351 * dialog-msw.c (mswindows_is_dialog_msg):
11352 * dialog-msw.c (mark_mswindows_dialog_id):
11353 * dialog-msw.c (dialog_proc):
11354 * dialog-msw.c (handle_question_dialog_box):
11355 * dialog-msw.c (syms_of_dialog_mswindows):
11356 Define new object to clean up marking; use it as a dialog identifier.
11357 Call new delete-dialog-box-hook.
11359 * dialog-x.c (dbox_selection_callback):
11360 * dialog-x.c (dbox_descriptor_to_widget_value):
11361 * dialog-x.c (x_make_dialog_box_internal):
11362 Call new delete-dialog-box-hook.
11366 * dialog.c (syms_of_dialog):
11367 * dialog.c (vars_of_dialog):
11368 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11371 * eval.c (signal_call_debugger):
11372 when noninteractive, output stack traces on the console instead
11373 of in a (never-seen) buffer.
11375 * eval.c (signal_type_error):
11376 * eval.c (invalid_argument_2):
11378 new funs for use w/structured errors.
11381 * event-Xt.c (x_to_emacs_keysym):
11382 * event-Xt.c (describe_event):
11383 * event-Xt.c (emacs_Xt_event_handler):
11384 * event-Xt.c (vars_of_event_Xt):
11386 * event-msw.c (mswindows_wnd_proc):
11387 * event-msw.c (vars_of_event_mswindows):
11388 rename {x,mswindows}-debug-events to debug-{}-events for
11389 consistency with other debug-foo variables.
11392 document next-event more clearly.
11394 * fileio.c (Ffile_name_directory):
11395 * fileio.c (Ffile_name_nondirectory):
11396 * fileio.c (Funhandled_file_name_directory):
11397 * fileio.c (file_name_as_directory):
11398 * fileio.c (Ffile_name_as_directory):
11399 * fileio.c (directory_file_name):
11400 * fileio.c (Fdirectory_file_name):
11401 * fileio.c (Fmake_temp_name):
11402 * fileio.c (Ffile_truename):
11403 * fileio.c (Fsubstitute_in_file_name):
11404 * fileio.c (expand_and_dir_to_file):
11405 * fileio.c (barf_or_query_if_file_exists):
11406 * fileio.c (check_executable):
11407 * fileio.c (Ffile_exists_p):
11408 * fileio.c (Ffile_writable_p):
11409 * fileio.c (Ffile_directory_p):
11410 * fileio.c (Ffile_regular_p):
11411 * fileio.c (Ffile_modes):
11412 * fileio.c (Ffile_newer_than_file_p):
11413 * fileio.c (Fverify_visited_file_modtime):
11414 * fileio.c (Fset_visited_file_modtime):
11415 * fileio.c (auto_save_1):
11420 * frame-msw.c (mswindows_init_frame_1):
11421 * frame-msw.c (mswindows_enable_frame):
11422 * frame-msw.c (error_frame_unsizable):
11423 * frame-msw.c (msprinter_init_frame_1):
11424 * frame-msw.c (msprinter_init_frame_3):
11425 * frame-msw.c (console_type_create_frame_mswindows):
11427 implement new enable/disable frame methods.
11430 * frame-x.c (x_enable_frame):
11431 * frame-x.c (console_type_create_frame_x):
11432 implement new enable/disable frame methods.
11435 * frame.c (Fdisable_frame):
11436 * frame.c (syms_of_frame):
11437 * frame.h (struct frame):
11438 implement new enable/disable frame methods/functions.
11443 * glyphs-msw.c (mswindows_widget_instantiate):
11444 comment that initial-focus should be implemented.
11447 * glyphs-widget.c (check_valid_instantiator):
11448 * glyphs-widget.c (check_valid_orientation):
11449 * glyphs-widget.c (check_valid_tab_orientation):
11450 * glyphs-widget.c (check_valid_justification):
11451 * glyphs-widget.c (check_valid_border):
11452 * glyphs-widget.c (check_valid_callback):
11453 * glyphs-widget.c (check_valid_int_or_function):
11454 * glyphs-widget.c (check_valid_string_or_vector):
11455 * glyphs-widget.c (check_valid_item_list_1):
11456 * glyphs-widget.c (widget_validate):
11457 * glyphs-widget.c (combo_box_validate):
11458 * glyphs-widget.c (widget_instantiate):
11459 * glyphs-widget.c (syms_of_glyphs_widget):
11460 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11461 * glyphs-widget.c (image_instantiator_combo_box):
11462 * glyphs-widget.c (image_instantiator_scrollbar):
11463 * glyphs-widget.c (image_instantiator_tab_control):
11464 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11466 support (unimplemented) keyword initial-focus.
11467 reindent long macros.
11469 * glyphs-x.c (x_redisplay_widget):
11470 * glyphs-x.c (x_button_instantiate):
11471 * glyphs-x.c (x_button_redisplay):
11472 * glyphs-x.c (x_progress_gauge_instantiate):
11473 * glyphs-x.c (x_edit_field_instantiate):
11474 * glyphs-x.c (x_combo_box_instantiate):
11475 * glyphs-x.c (x_tab_control_instantiate):
11476 * glyphs-x.c (x_label_instantiate):
11478 * gui-x.c (button_item_to_widget_value):
11479 * gui-x.c (gui_items_to_widget_values_1):
11480 * gui-x.c (gui_item_children_to_widget_values):
11481 * gui-x.c (gui_items_to_widget_values):
11483 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11484 add new flag to gui-parsing routines to indicate whether
11485 accelerator specs should be supported.
11487 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11489 * glyphs.h (struct Lisp_Image_Instance):
11490 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11491 add initial-focus flag.
11494 * gui.c (syms_of_gui):
11495 * gui.c (vars_of_gui):
11496 clean up menu-no-selection-hook.
11499 support delete-dialog-box-hook.
11501 * lread.c (Fload_internal):
11502 * lread.c (locate_file_in_directory_mapper):
11506 * lrecord.h (struct toolbar_button):
11507 * lrecord.h (syms_of_toolbar):
11508 document how to create a new object.
11510 * menubar-msw.c (mswindows_char_is_accelerator):
11511 may be called on frames w/o menus.
11513 * menubar.c (vars_of_menubar):
11514 clean up :filter docs.
11521 * process-nt.c (validate_signal_number):
11522 * process-nt.c (signal_cannot_launch):
11523 * process-nt.c (nt_create_process):
11524 * process-nt.c (nt_send_process):
11525 * process-nt.c (nt_kill_child_process):
11526 * process-nt.c (nt_open_network_stream):
11527 * process-nt.c (syms_of_process_nt):
11529 delete quote-handling. call new lisp code that does it better.
11531 * process-unix.c (connect_to_file_descriptor):
11532 * process-unix.c (allocate_pty):
11533 * process-unix.c (unix_send_process):
11534 * process-unix.c (unix_kill_child_process):
11535 * process-unix.c (unix_open_network_stream):
11536 * process-unix.c (unix_open_multicast_group):
11540 * process.c (Fstart_process_internal):
11541 (2). need to canonicalize process path even if absolute.
11543 * select-msw.c (symbol_to_ms_cf):
11544 * select-msw.c (ms_cf_to_symbol):
11545 * select-msw.c (cf_is_autofreed):
11546 * select-msw.c (mswindows_destroy_selection):
11548 * select.c (syms_of_select):
11550 support dibv5, fix bugs. (from Mike Alexander)
11552 * select.c (Fget_selection_internal):
11553 * select.c (select_convert_out):
11556 * sysdep.c (xemacs_stat):
11559 * sysdep.c (mkdir):
11560 * sysdep.c (rmdir):
11561 but keep original stat() here because we provide encapsulation
11565 * sysfile.h (fstat):
11566 remove stat garbage.
11569 fix X/MSW conflict.
11570 don't include tchar.h. it's inappropriate because it makes
11571 compile-time distinctions when we want runtime distinctions.
11572 (we provide our own tchar replacements)
11575 use default object printer for toolbar-button.
11578 make sure we don't encapsulate.
11580 * window.c (vars_of_window):
11581 emphasize that temp-buffer-show-hook is obsolete.
11583 2000-08-05 Martin Buchholz <martin@xemacs.org>
11585 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11586 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11588 * events.c (Fevent_timestamp_lessp):
11589 Not 64-bit clean. Use EMACS_INT, not int.
11591 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11593 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11594 unsigned int and changed the last enum to
11595 lrecord_type_last_built_in_type.
11596 (lrecord_implementations_table): changed prototype to know how
11597 long the array is supposed to be.
11598 (lrecord_type_count): new unsigned int to keep track of the
11599 current number of lisp lrecord types.
11600 (DEFINE_EXTERNAL_LRECORD):
11601 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11602 dynamic-modules to declare new lisp types. They are the same
11603 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11604 int for each new type, and increment lrecord_type_count by 1.
11606 * alloc.c (lrecord_implementations_table): Changed to reference
11607 lrecord_type_last_built_in_type for the size of the array.
11608 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11610 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11612 * glyphs.h (check_valid_item_list): Renamed from
11613 check_valid_item_list_1.
11615 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11617 * select.c (Qselect_coerce): New.
11618 * select.c (Vselection_coercion_alist): New.
11619 * select.c (syms_of_select): Declare.
11620 * select.c (get-selection-internal): Use it.
11621 Use the new select-coerce functionality.
11623 * select.c (select_coerce): New.
11624 * select.h (select_coerce): Declare.
11625 New function to coerce one type of data into another.
11627 2000-08-03 Martin Buchholz <martin@xemacs.org>
11629 * callproc.c (Fcall_process_internal):
11630 (Fcall_process_internal):
11631 * process-unix.c (unix_create_process):
11632 Save and restore the value of errno, so that error messages are accurate.
11634 2000-08-01 Martin Buchholz <martin@xemacs.org>
11636 * elhash.c (print_hash_table):
11637 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11638 Prettify docstrings and indentation.
11640 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11642 * window.c (Fwindow_pixel_edges): Subtract frame border and
11645 2000-07-31 Andy Piper <andy@xemacs.org>
11647 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11648 will acknowledge the change.
11650 * glyphs.h: declare tab_control_order_only_changed.
11652 * glyphs-x.c (x_tab_control_redisplay): use
11653 tab_control_order_only_changed.
11655 * glyphs-widget.c (tab_control_order_only_changed): new function.
11657 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11658 tab_control_order_only_changed.
11660 * gui.c (gui_item_equal_sans_selected): new function.
11661 (gui_item_equal): use it.
11663 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11664 :properties in favor of :items..
11666 * glyphs-widget.c (check_valid_item_list): rename from
11667 check_valid_item_list_1.
11668 (check_valid_item_list_1): renamed.
11669 (combo_box_validate): deprecate :properties in favor of :items.
11670 (widget_instantiate): ditto.
11671 (tab_control_update): ditto.
11672 (image_instantiator_combo_box): ditto.
11673 (image_instantiator_tree_view): ditto.
11674 (image_instantiator_tab_control): ditto.
11675 (layout_post_instantiate): remove dead code.
11677 * print.c (debug_print_no_newline): only write to debugger if in
11680 * elhash.c (Fmake_hash_table): update doc string.
11682 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11683 messages whilst in GC. This at least stops XEmacs crashing but has
11684 the potential for wierd behaviour.
11686 2000-07-31 Martin Buchholz <martin@xemacs.org>
11689 Make existence of s&m files optional.
11691 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11692 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11693 * s/gnu.h: Remove HAVE_GETLOADAVG.
11694 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11695 * s/sol2.h: Remove HAVE_GETLOADAVG.
11696 * lisp.h: Remove getloadavg() declaration.
11698 Include <sys/loadavg.h> if available.
11699 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11700 * config.h.in: Group together getloadavg()-related macros.
11701 Use only configure-time tests to detect getloadavg().
11703 2000-07-30 Martin Buchholz <martin@xemacs.org>
11705 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11707 2000-07-25 Andy Piper <andy@xemacs.org>
11709 * syswindows.h: add tchar.h for native builds.
11711 * frame.c (syms_of_frame): remove set-glyph-image.
11713 * general-slots.h: add Qset_glyph_image.
11715 * glyphs-widget.c (layout_update): add domain arg to
11717 (syms_of_glyphs_widget): remove set-glyph-image.
11719 2000-07-23 Ben Wing <ben@xemacs.org>
11721 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11724 2000-07-22 Andy Piper <andy@xemacs.org>
11726 * symsinit.h: add syms_of_win32().
11728 * gui-msw.c (syms_of_gui_mswindows): remove
11729 Fmswindows_shell_execute.
11730 (Fmswindows_shell_execute): moved to win32.c.
11732 * emacs.c (main_1): add syms_of_win32 ().
11734 * win32.c (init_potentially_nonexistent_functions): rewrite in
11735 compiler-friendly terms.
11736 (Fmswindows_shell_execute): move here from gui-msw.c.
11737 (syms_of_win32): new.
11739 * device-msw.c (Fmswindows_printer_list): clean up args to
11741 Don't include tchar under cygwin or mingw.
11742 (msprinter_default_printer): make cygwin-friendly.
11744 2000-07-21 Andy Piper <andy@xemacs.org>
11746 * glyphs-widget.c (image_instantiator_tree_view): use tab
11747 control's update function.
11748 (layout_property): new function. Retrieve items.
11750 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11751 function. Re-populate the tree view from the pending items.
11753 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11754 is designated the parent if the domain is an image instance. This
11755 is needed so that dirtiness can be cascade up the hierarchy and
11756 thus for layout children to be redisplayed correctly.
11757 (allocate_image_instance): rename glyph -> parent.
11759 * redisplay.h: change redisplay_output_layout signature.
11761 * redisplay-msw.c (mswindows_output_display_block): use domain
11764 * redisplay-x.c (x_output_display_block): use domain arg.
11766 2000-07-10 Andy Piper <andy@xemacs.org>
11768 * window.c (Fset_window_configuration): add comment.
11770 * redisplay-output.c (compare_runes):
11771 (redisplay_output_subwindow): redisplay rather than update subwindow.
11772 (redisplay_output_layout): ditto.
11774 * redisplay-msw.c (mswindows_frame_output_end):
11775 (mswindows_frame_output_end): make defer window pos optional.
11777 * lisp.h: add Flast.
11779 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11780 normalize method. Change update method to be for changed
11781 instantiators. Add redisplay method. Change signature of layout
11783 (struct Lisp_Image_Instance): add instantiator.
11784 (IMAGE_INSTANCE_INSTANTIATOR): new.
11785 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11786 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11787 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11790 (find_instantiator_differences): new function.
11791 (Fset_instantiator_property): new convenience function.
11792 (check_image_instance_structure): strictly check for vector
11794 (normalize_image_instantiator): make non-static.
11795 (instantiate_image_instantiator): pass on dest_mask and use new
11796 signatures for image_instance_layout and friends.
11797 (mark_image_instance): mark the instantiator. Mark the subwindow
11798 face not the widget face.
11799 (image_instance_equal): add instantiator.
11800 (image_instance_hash): ditto.
11801 (allocate_image_instance): ditto.
11802 (Fset_image_instance_property): removed.
11803 (Fimage_instance_file_name): ditto.
11804 (Fcolorize_image_instance): ditto.
11805 (image_instance_layout): add offsets to be set.
11806 (update_image_instance): new function. update an image instance
11807 from its changed instantiator.
11808 (inherit_normalize): add dest_mask.
11809 (xbm_normalize): ditto.
11810 (xface_normalize): ditto.
11811 (xpm_normalize): ditto.
11812 (text_update): set_property -> update.
11813 (image_instantiate): use the glyph identity as a hash key, not the
11815 (glyph_width): use new image_instance_layout signature.
11816 (glyph_ascent): ditto.
11817 (glyph_descent): ditto.
11818 (glyph_height): ditto.
11819 (glyph_query_geometry): ressurrect.
11820 (glyph_layout): ditto.
11821 (redisplay_subwindow): update -> redisplay.
11822 (syms_of_glyphs): add Fset_instantiator_property.
11823 (image_instantiator_format_create): set_property -> update.
11826 (autodetect_normalize): add dest_maks to signature.
11827 (x_redisplay_subwindow): update -> redisplay.
11828 (x_redisplay_widget): ditto.
11829 (x_button_redisplay): ditto.
11830 (x_progress_gauge_redisplay): ditto.
11831 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11833 (console_type_create_glyphs_x): update -> redisplay.
11834 (image_instantiator_format_create_glyphs_x): ditto.
11837 (check_valid_instantiator): disallow glyphs in the instantiator,
11838 they must now be vectors.
11839 (check_valid_instantiator_list): ditto.
11840 (glyph_instantiator_to_glyph): use internal symbol rather than
11842 (widget_update): renamed from widget_set_property. Call cascaded
11844 (redisplay_widget): renamed from update_widget.
11845 (widget_layout): image_instance_layout now takes position as well
11847 (widget_normalize): ditto.
11848 (widget_instantiate): ditto.
11849 (tab_control_query_geometry) ditto.:
11850 (tab_control_update): renamed from tab_control_set_property.
11851 (progress_gauge_update): set_property -> update.
11852 (layout_normalize): rewrite so that child instantiators are
11854 (layout_update): new function. Create glyphs from the normalized
11855 children and cope with any other layout keywords. We do not
11856 instantiate children here that will be take care of by
11857 redisplay_output_layout.
11858 (layout_instantiate): call layout_update and not much else.
11859 (layout_post_instantiate): not sure whether this is needed
11861 (layout_query_geometry): query glyph geometry rather than
11862 image_instance geometry.
11863 (layout_layout): set offsets from pass in parameters. Use glyph
11864 geometry and layout functions rather than image instance ones.
11865 (native_layout_layout): ditto.
11866 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11867 (image_instantiator_widget): set_property -> update.
11868 (image_instantiator_buttons): ditto.
11869 (image_instantiator_progress_guage): ditto.
11870 (image_instantiator_tab_control): ditto.
11871 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11872 (image_instantiator_layout): add update method.
11874 * glyphs-msw.c (bmp_normalize):
11875 (mswindows_resource_normalize): add dest_mask so that it can be
11876 proprogated by layout_normalize.
11877 (begin_defer_window_pos): make optional because it may not be the
11878 right thing to do and it introduces differences with X.
11879 (mswindows_unmap_subwindow): ditto.
11880 (mswindows_map_subwindow): ditto.
11881 (mswindows_redisplay_subwindow): renamed from
11882 mswindows_update_subwindow.
11883 (mswindows_redisplay_widget): ditto.
11884 (mswindows_button_redisplay): renamed from
11885 mswindows_button_update. Update is now what the instantiation
11886 function does for a changed instantiator.
11887 (mswindows_progress_gauge_instantiate): set the progress value
11888 here if appropriate.
11889 (mswindows_tab_control_redisplay): cope with re-ordering of the
11890 members of the tab widget by simply selecting the new top
11891 widget. This makes things appear ok if you click on a tab.
11892 (mswindows_combo_box_instantiate): image_instance_layout now takes
11893 position as well as size.
11894 (mswindows_progress_gauge_redisplay): renamed from
11895 mswindows_progress_gauge_update.
11896 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11897 (image_instantiator_format_create_glyphs_mswindows): ditto.
11899 * glyphs-eimage.c (jpeg_normalize):
11902 (tiff_normalize): add dest_mask so that it can be proprogated by
11906 (print_hash_table):
11907 (hash_table_weakness_validate):
11908 (decode_hash_table_weakness):
11909 (Fhash_table_weakness):
11910 (Fhash_table_type):
11911 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11913 * console.h (struct console_methods): move update_* to
11916 2000-07-20 Ben Wing <ben@xemacs.org>
11918 * *.[ch] (XSETOBJ): remove unused middle argument.
11919 lisp-disunion.h: correct wrap_object() to one argument.
11921 2000-07-15 Ben Wing <ben@xemacs.org>
11924 * s/cygwin32.h (CYGWIN_CONV_PATH):
11925 Add missing logb prototype for v1.1.
11926 Use post-b20 names and alias to pre-b20 names when pre-b20.
11928 * s/windowsnt.h: [5].
11930 2000-07-15 Ben Wing <ben@xemacs.org>
11932 * Makefile.in.in (x_objs):
11933 * Makefile.in.in (sheap_objs):
11934 * Makefile.in.in (objs):
11935 added win32.o, cosmetic cleanups.
11937 * alloc.c (Fmake_byte_code):
11938 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11939 etc. macros which declare their own args now.
11941 * alloc.c (syms_of_alloc):
11942 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11945 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11947 * buffer.c (Fget_file_buffer):
11948 Fixed GCPRO problem.
11950 * buffer.c (get_truename_buffer):
11951 Fixed comment about GC checking.
11953 * buffer.c (syms_of_buffer):
11954 Undeclared those dedicated frame funs.
11958 Define convenience macros for internal/external conversions.
11959 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11960 and Qenvironment_variable_encoding for cleaner code.
11963 Remove dedicated-frame; in lisp.
11965 * bytecode.c (funcall_compiled_function):
11968 * bytecode.c (syms_of_bytecode):
11972 * console-msw.c (mswindows_show_console): Rewrote.
11974 * console-msw.c (Fmswindows_debugging_output): New.
11975 Sends to OutputDebugString (special MSWin debugger interface).
11977 * console-msw.c (Fmswindows_message_box):
11978 Fixed stupid bugs so it works when called from kill-emacs.
11980 * console-msw.c (syms_of_console_mswindows):
11981 Declare Fmswindows_debugging_output.
11984 New MSWin prototypes.
11986 * console-msw.h (struct mswindows_frame):
11987 New entry last-click-mods for improved button-modifier support.
11989 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11990 New struct entry `popup' with corresponding accessor.
11993 * console-x.c (split_up_display_spec):
11994 * console-x.c (get_display_arg_connection):
11995 * console-x.c (x_semi_canonicalize_console_connection):
11996 * console-x.c (x_canonicalize_device_connection):
11997 [[[6]]]: Change char to more specific type.
11998 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12000 * console-x.c (x_semi_canonicalize_console_connection):
12001 * console-x.c (x_canonicalize_device_connection):
12002 [[[9]]]: Fix up error signalling to use new structured error system.
12005 [[[4]]]: Define codesys aliases:
12006 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12007 Qx_color_name_encoding, Qx_display_name_encoding.
12009 * console.h (struct console_methods):
12010 New method make_dialog_box_internal supersedes older
12011 popup_dialog_box method.
12014 Define many new errors, part of new structured errors.
12016 * data.c (init_errors_once_early):
12017 * data.c (syms_of_data):
12020 * device-msw.c (mswindows_init_device):
12021 [[[5]]]: Cleanup to support NT 3.51.
12023 * device-msw.c (decode_devmode): Cleanup.
12025 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12026 * device-msw.c (mswindows_handle_print_dialog_box):
12027 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12028 * device-msw.c (syms_of_device_mswindows):
12029 Delete the dialog box primitives recently introduced by Kirill and
12030 instead interface to general dialog box interface.
12033 * device-x.c (compute_x_app_name):
12034 * device-x.c (x_init_device):
12035 * device-x.c (Fx_valid_keysym_name_p):
12036 * device-x.c (Fx_set_font_path):
12040 * device.h (wrap_device): New.
12041 First of its kind; meant to replace XSETDEVICE.
12043 * dialog-msw.c: Many file-dialog symbols.
12045 * dialog-msw.c (mswindows_register_popup_frame): New.
12046 * dialog-msw.c (mswindows_is_dialog_msg): New.
12047 For supporting kbd traversal in dialog boxes.
12049 * dialog-msw.c (dialog_proc):
12050 Support hitting ESC in dialogs.
12052 * dialog-msw.c (struct):
12053 Common dialog box errors.
12055 * dialog-msw.c (handle_file_dialog_box): New.
12056 Add file dialog code.
12058 * dialog-msw.c (handle_question_dialog_box):
12059 Redo existing code to support new question dialog syntax.
12061 * dialog-msw.c (console_type_create_dialog_mswindows):
12062 We support new dialog console method.
12064 * dialog-msw.c (syms_of_dialog_mswindows):
12065 * dialog-msw.c (vars_of_dialog_mswindows):
12066 New file dialog symbols, vars.
12069 * dialog-x.c (maybe_run_dbox_text_callback):
12070 * dialog-x.c (dbox_descriptor_to_widget_value):
12071 * dialog-x.c (x_make_dialog_box_internal):
12072 * dialog-x.c (console_type_create_dialog_x):
12073 Mule-ize entire file.
12074 Redo to support question dialog syntax.
12078 * dialog.c (Fmake_dialog_box_internal):
12079 * dialog.c (syms_of_dialog):
12080 Kill old popup-dialog-box, replace with new primitive.
12081 Just call device method or signal error.
12083 * eldap.c (Fldap_open):
12084 * eldap.c (Fldap_search_basic):
12085 * eldap.c (Fldap_add):
12086 * eldap.c (Fldap_modify):
12091 * emacs.c (make_arg_list_1):
12092 * emacs.c (make_arg_list):
12093 Mule-ize call to dll_init().
12097 * emacs.c (make_argc_argv):
12098 * emacs.c (free_argc_argv):
12099 * emacs.c (init_cmdargs):
12100 * emacs.c (main_1):
12101 * emacs.c (Fkill_emacs):
12102 * emacs.c (Fdump_emacs):
12103 Update comments about what can be used in syms_* etc.
12104 Call init_win32() when necessary.
12105 Fix up MS Win dialog box in kill-buffer to actually work right.
12116 * eval.c (condition_case_3):
12118 * eval.c (function_argcount):
12119 * eval.c (funcall_lambda):
12122 * eval.c (type_error): New.
12123 * eval.c (maybe_type_error): New.
12124 * eval.c (continuable_type_error): New.
12125 * eval.c (maybe_continuable_type_error): New.
12126 * eval.c (type_error_with_frob): New.
12127 * eval.c (maybe_type_error_with_frob): New.
12128 * eval.c (continuable_type_error_with_frob): New.
12129 * eval.c (maybe_continuable_type_error_with_frob): New.
12130 New functions for use with structured errors.
12133 * event-Xt.c (x_event_to_emacs_event):
12134 Buttons are now modifiers too.
12136 * event-Xt.c (emacs_Xt_current_event_timestamp):
12137 Implement new event method.
12138 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12141 * event-msw.c (ntpipe_shove_writer): [5].
12142 * event-msw.c (mswindows_enqueue_mouse_button_event):
12143 * event-msw.c (mswindows_drain_windows_queue):
12144 * event-msw.c (mswindows_wnd_proc): [7].
12145 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12146 * event-msw.c (mswindows_modifier_state):
12147 Throughout: support new button modifiers.
12149 * event-msw.c (emacs_mswindows_current_event_timestamp):
12150 Implement new event method.
12151 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12154 * event-stream.c (event_stream_current_event_timestamp): New.
12155 * event-stream.c (maybe_kbd_translate): New functionality.
12156 * event-stream.c (vars_of_event_stream):
12157 Document new kbd-translate-table functionality.
12159 * event-stream.c (Fcurrent_event_timestamp): New.
12160 New primitive for use in fabricated events.
12161 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12163 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12166 * events.c (Fmake_event):
12167 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12171 * events.c (format_event_object): fix gcc warnings.
12173 * events.c (Fevent_timestamp): Document new primitives.
12175 * events.c (TIMESTAMP_HALFSPACE): New.
12177 * events.c (Fevent_timestamp_lessp): New. New primitive for
12178 comparing timestamps correctly (half-space algorithm).
12180 * events.c (Fevent_modifier_bits): Doc fix.
12182 * events.c (Fevent_modifiers): Major doc addition.
12183 * events.c (event_x_y_pixel_internal): Typo fix.
12184 * events.c (syms_of_events): Declare new primitives.
12187 Update long comment for button modifiers, timestamps.
12189 * events.h (struct event_stream):
12190 New current_event_timestamp method.
12193 * extents.c (extent_in_region_p):
12194 * extents.c (decode_extent):
12195 * extents.c (Fset_extent_parent):
12196 * extents.c (decode_map_extents_flags):
12200 * extents.c (struct extent_at_arg):
12201 * extents.c (decode_extent_at_flag):
12202 * extents.c (extent_at_mapper):
12203 * extents.c (extent_at_bytind):
12204 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12205 * extents.c (Fextents_at): New primitive. [9].
12206 * extents.c (symbol_to_glyph_layout): [9].
12207 Support new primitive `extents-at'.
12210 * extents.c (get_text_property_bytind):
12211 extent_at_bytind has another arg.
12214 * extents.c (syms_of_extents): New primitive.
12216 * file-coding.c (Fmake_coding_system): [1].
12217 * file-coding.c (subsidiary_coding_system): fix gcc warning
12218 * file-coding.c (syms_of_file_coding): [2].
12220 * fileio.c (Fexpand_file_name):
12221 * fileio.c (Fsysnetunam):
12222 * fileio.c (Ffile_exists_p):
12223 * fileio.c (Ffile_executable_p):
12224 * fileio.c (Fverify_visited_file_modtime):
12227 * fileio.c (syms_of_fileio): [2].
12229 * filelock.c (lock_file_1):
12230 * filelock.c (current_lock_owner):
12231 * filelock.c (lock_if_free):
12232 * filelock.c (lock_file):
12233 * filelock.c (unlock_file):
12236 * fns.c (concat): Fix gcc warning.
12239 * fns.c (Fold_member):
12241 * fns.c (Fold_memq):
12242 * fns.c (memq_no_quit):
12244 * fns.c (Fold_assoc):
12246 * fns.c (Fold_assq):
12247 * fns.c (assq_no_quit):
12249 * fns.c (Fold_rassoc):
12251 * fns.c (Fold_rassq):
12252 * fns.c (rassq_no_quit):
12254 * fns.c (Fold_delete):
12256 * fns.c (Fold_delq):
12257 * fns.c (delq_no_quit):
12258 * fns.c (Fremassoc):
12259 * fns.c (Fremassq):
12260 * fns.c (remassq_no_quit):
12261 * fns.c (Fremrassoc):
12262 * fns.c (Fremrassq):
12263 * fns.c (remrassq_no_quit):
12264 * fns.c (Freverse):
12268 * frame-msw.c (mswindows_init_frame_1):
12269 * frame-msw.c (mswindows_delete_frame):
12270 Register popups with dialog code so keyboard traversing works.
12272 * frame-tty.c (tty_raise_frame_no_select): [1].
12275 * frame-x.c (x_set_frame_text_value):
12276 * frame-x.c (x_set_frame_properties):
12277 * frame-x.c (x_create_widgets):
12281 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12283 * frame.h (wrap_frame): New.
12284 Macro like wrap_device.
12287 * general.c (SYMBOL):
12288 * general.c (syms_of_general):
12289 Major reorg. This is now just a wrapper and symbols themselves
12290 are listed in general-slots.h.
12292 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12293 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12295 * glyphs-msw.c (mswindows_native_layout_instantiate):
12296 Add DS_CONTROL so keyboard traversal will work.
12299 * glyphs-widget.c (syms_of_glyphs_widget):
12300 Move some symbols to general-slots.h.
12303 * glyphs-x.c (xbm_instantiate_1):
12304 * glyphs-x.c (x_xbm_instantiate):
12305 * glyphs-x.c (x_xface_instantiate):
12306 * glyphs-x.c (autodetect_instantiate):
12307 * glyphs-x.c (cursor_font_instantiate):
12308 * glyphs-x.c (x_update_widget):
12309 * glyphs-x.c (x_widget_instantiate):
12310 * glyphs.c (bitmap_to_lisp_data):
12311 * glyphs.c (pixmap_to_lisp_data):
12314 * glyphs.c (syms_of_glyphs):
12318 * gui-x.c (print_widget_value):
12319 * gui-x.c (menu_separator_style_and_to_external):
12320 * gui-x.c (add_accel_and_to_external):
12321 * gui-x.c (button_item_to_widget_value):
12322 * gui-x.c (gui_items_to_widget_values_1):
12323 * gui-x.c (gui_items_to_widget_values):
12324 * gui-x.c (syms_of_gui_x):
12325 * gui-x.c (vars_of_gui_x):
12326 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12330 Muleize, prototype changes matching gui-x.c.
12333 * gui.c (separator_string_p):
12334 * gui.c (gui_item_add_keyval_pair):
12335 * gui.c (make_gui_item_from_keywords_internal):
12336 * gui.c (signal_too_long_error):
12337 * gui.c (parse_gui_item_tree_item):
12338 * gui.c (syms_of_gui):
12339 * gui.c (vars_of_gui):
12341 menu-no-selection-hook moved here (used by MSWin).
12342 Move some symbols to general-slots.h.
12346 * insdel.c (get_buffer_pos_char):
12347 * insdel.c (get_buffer_range_char):
12350 * keymap.c (keymap_lookup_directly):
12351 * keymap.c (keymap_store):
12352 * keymap.c (ensure_meta_prefix_char_keymapp):
12353 * keymap.c (describe_map):
12355 Support new button modifiers.
12357 * lisp-disunion.h (wrap_object):
12358 * lisp-disunion.h (XSETOBJ):
12359 Rename make_obj to wrap_object.
12362 * lisp-union.h (make_int):
12363 * lisp-union.h (make_char):
12364 Support wrap_object.
12367 * lisp.h (LIST_LOOP):
12368 * lisp.h (EXTERNAL_LIST_LOOP):
12369 * lisp.h (LIST_LOOP_2):
12370 * lisp.h (EXTERNAL_LIST_LOOP_1):
12371 * lisp.h (EXTERNAL_LIST_LOOP_2):
12372 * lisp.h (EXTERNAL_LIST_LOOP_3):
12373 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12374 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12375 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12376 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12377 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12378 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12379 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12380 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12381 * lisp.h (struct Lisp_Symbol):
12382 * lisp.h (maybe_continuable_error_with_frob):
12383 Fix up section comments.
12384 Add new types for char to indicate usage.
12385 Delete symbols auto-generated from general-slots.h.
12386 Add prototypes for structured error functions.
12387 Add long comments describing looping macros and change interface
12388 so that lvalues are automatically declared.
12389 Add NO_DECLARE macro in case callers want to declare lvalues
12392 * lread.c (read_syntax_error):
12393 * lread.c (continuable_read_syntax_error):
12394 * lread.c (read_structure):
12395 * lread.c (sequence_reader):
12396 * lread.c (read_list_conser):
12397 * lread.c (read_compiled_function):
12398 Rename syntax_error and continuable_syntax_error to avoid clash
12399 with same-named structured error functions.
12401 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12402 * menubar-msw.c (populate_menu_add_item):
12403 * menubar-msw.c (populate_or_checksum_helper):
12408 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12409 Mule-ize whole file.
12411 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12413 * mule-charset.c (Fmake_charset):
12414 * mule-wnnfns.c (Fwnn_set_param):
12417 * ntproc.c (create_child):
12418 * ntproc.c (Fwin32_set_current_locale):
12419 Add comments portending doom.
12422 * objects-msw.c (old_font_enum_callback_2):
12423 * objects-msw.c (font_enum_callback_1):
12424 * objects-msw.c (mswindows_enumerate_fonts):
12428 * objects-x.c (allocate_nearest_color):
12429 * objects-x.c (x_parse_nearest_color):
12430 * objects-x.c (x_initialize_color_instance):
12431 * objects-x.c (x_print_color_instance):
12432 * objects-x.c (x_finalize_color_instance):
12433 * objects-x.c (x_valid_color_name_p):
12434 * objects-x.c (x_initialize_font_instance):
12435 * objects-x.c (x_print_font_instance):
12436 * objects-x.c (valid_x_font_name_p):
12437 * objects-x.c (truename_via_FONT_prop):
12438 * objects-x.c (truename_via_random_props):
12439 * objects-x.c (truename_via_XListFonts):
12440 * objects-x.c (x_font_truename):
12441 * objects-x.c (x_font_instance_truename):
12442 * objects-x.c (x_font_instance_properties):
12443 * objects-x.c (x_list_fonts):
12444 * objects-x.c (x_find_charset_font):
12445 Mule-ize entire file.
12452 * print.c (std_handle_out_external):
12453 * print.c (debug_print_no_newline):
12454 * print.c (syms_of_print):
12455 Output to all debugger kinds in debug-print.
12456 Fix console-output code under MSWin to actually work.
12458 * process-nt.c (send_signal):
12459 * process-nt.c (nt_create_process):
12460 Use newer Unicode macros.
12462 * process-unix.c (unix_create_process):
12463 * process-unix.c (unix_canonicalize_host_name):
12464 * process-unix.c (unix_open_network_stream):
12470 * search.c (syms_of_search):
12473 * select-msw.c (mswindows_destroy_selection):
12476 * select-x.c (symbol_to_x_atom):
12479 * select.c (syms_of_select):
12482 * sound.c (Fplay_sound_file):
12486 * specifier.c (decode_specifier_type):
12487 * specifier.c (Fvalid_specifier_locale_type_p):
12488 * specifier.c (check_valid_locale_or_locale_type):
12489 * specifier.c (decode_locale):
12490 * specifier.c (decode_locale_type):
12491 * specifier.c (decode_locale_list):
12492 * specifier.c (check_valid_domain):
12493 * specifier.c (decode_specifier_tag_set):
12494 * specifier.c (Fcanonicalize_tag_set):
12495 * specifier.c (Fdefine_specifier_tag):
12496 * specifier.c (Fspecifier_tag_predicate):
12497 * specifier.c (check_valid_inst_list):
12498 * specifier.c (check_valid_spec_list):
12499 * specifier.c (decode_how_to_add_specification):
12500 * specifier.c (check_modifiable_specifier):
12501 * specifier.c (specifier_add_spec):
12502 * specifier.c (boolean_validate):
12503 * specifier.c (display_table_validate):
12506 * specifier.c (syms_of_specifier):
12507 Move some symbols to general-slots.h.
12511 * symbols.c (Fmapatoms):
12512 * symbols.c (Fapropos_internal):
12515 * symbols.c (set_default_buffer_slot_variable):
12516 * symbols.c (set_default_console_slot_variable):
12519 * symbols.c (defsymbol_massage_name_1):
12520 * symbols.c (defkeyword_massage_name):
12521 * symbols.c (deferror_1):
12522 * symbols.c (deferror):
12523 * symbols.c (deferror_massage_name_and_message):
12525 * symeval.h (DEFSYMBOL):
12526 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12528 * symbols.c (syms_of_symbols):
12532 * symsinit.h (init_win32): New.
12533 Also new is syms_of_dialog_mswindows.
12536 Add new Unicode macros, missing Cygwin wide-char functions,
12537 convenience conversion macros for Qmswindows_tstr, macros for
12538 encapsulating required MSWin <-> Cygwin filename conversions,
12539 prototype for dynamically-extracted (not in NT 3.51) functions.
12544 * tooltalk.c (Fadd_tooltalk_message_arg):
12545 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12546 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12549 * tooltalk.c (syms_of_tooltalk):
12553 * unexnt.c (unexec):
12554 Fix up headers, declaration of unexec() to be more standard.
12556 2000-07-20 Martin Buchholz <martin@xemacs.org>
12558 * offix.h: Revert change to guard macros - they're used in offix.c!
12560 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12562 * lisp.h: Defsubred Fdelete.
12564 * console-msw.h: (msprinter_default_printer): Added.
12566 * console-msw.c (msprinter_canonicalize_console_connection):
12567 (msprinter_canonicalize_device_connection): Added.
12569 * device-msw.c (msprinter_default_printer):
12570 (Fmswingows_get_default_printer):
12571 (signal_enum_priner_error):
12572 (Fmswingows_printer_list): Added.
12574 2000-07-19 Martin Buchholz <martin@xemacs.org>
12576 * XEmacs 21.2.35 is released.
12578 2000-07-19 Martin Buchholz <martin@xemacs.org>
12580 * select-x.c (x_handle_selection_request):
12581 Text selected in xemacs and pasted into xterm failed to appear.
12582 Spelling fixes and cosmetic changes.
12584 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12586 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12587 XEmacs frame (fix for doubling chars in dialog boxes).
12589 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12591 * select.c (select_convert_in, select_convert_out):
12592 Don't call intern() every time.
12594 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12595 * select.c (vars_of_select): Initialise them.
12597 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12599 * select.c (selection-coercible-types): New.
12601 * select.c (own-selection-internal):
12602 * select.c (get-selection-internal):
12603 MULE bug fix - these should default to COMPOUND_TEXT and not
12604 STRING for MULE. I think.
12606 * select.c (select_convert_out): Use selection-coercible-types
12607 to find types that we can attempt to perform coercions on.
12609 2000-07-18 Martin Buchholz <martin@xemacs.org>
12613 Add coding: cookie to identify encoding.
12615 * mule-canna.c (CANNA_mode_keys): make static.
12616 Use proper prototypes, even for functions of no arguments.
12617 Remove external prototype for Fding().
12619 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12621 * select.c (syms_of_select): Add missing DEFSUBR.
12623 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12625 * select.c (get_selection_internal, own_selection_internal):
12626 Make the type default to STRING, rather than placing a nil type
12627 into Vselection_alist.
12629 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12631 * gpmevent.c (tty_selection_exists_p):
12632 * gpmevent.c (tty_own_selection):
12633 Updated parameter lists.
12635 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12637 * select.h (selection-alist): Removed declaration.
12639 * select.h (get_local_selection):
12640 * select.c (get_local_selection):
12643 * select.h (convert_selection): Removed declaration.
12644 * select.c (convert_selection): Removed.
12645 This function belongs in Lisp.
12647 * select.h (select_convert_in): Declare.
12648 * select.h (select_convert_out): Declare.
12649 * select.c (select_convert_in): New.
12650 * select.c (select_convert_out): New.
12651 New conversion functions for other files to call.
12653 * select.h (select_notify_buffer_kill): Declare.
12654 * select.c (select_notify_buffer_kill): New.
12655 New functions that get called from kill-buffer.
12657 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12658 X-specific lisp code.
12660 * select.h: Declare some of the lisp-visible functions for
12663 * select.c (clean_local_selection_data): Removed. This was
12664 a disgusting function, and previously should have been in
12665 select-x.c in any case. The functionality is now provided
12666 in select-convert-from-integer (select.el).
12668 * select.c (available-selection-types): Fixed stupidity where
12669 INTEGER and ATOM got added twice. Also add STRING when we see an
12672 * select.c (get-selection-internal): Removed symbol stripping. No
12673 longer causes conversion when data comes from the internal cache.
12675 * select.c (syms_of_select): Added new functions.
12677 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12678 error checking - previously this called abort!
12680 * select-x.c (x_own_selection): Changed comment.
12682 * select-x.c (x_handle_selection_request): Use select_convert_out.
12683 Don't mess with selection-alist; it's an internal variable of select.c.
12685 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12687 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12688 rather than messing with selection-alist.
12690 * select-msw.c (mswindows_get_foreign_selection):
12691 Use TO_INTERNAL_FORMAT rather than hacking.
12693 2000-07-14 Martin Buchholz <martin@xemacs.org>
12695 * process-unix.c (unix_open_multicast_group):
12696 (unix_open_multicast_group): Remove useless casts.
12698 2000-07-13 Martin Buchholz <martin@xemacs.org>
12700 * sound.c (Fplay_sound): Fix `unused variable' warning.
12702 * emacs.c (main): Use correct type for _environ on SCO5.
12704 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12706 * console.h (own_selection_method):
12707 * console.h (selection_exists_p_method):
12708 * console.h (available_selection_types_method): New.
12709 * console.h (register_selection_data_type_method): New.
12710 * console.h (selection_data_type_name): New.
12712 * console-msw.h (mswindows_destroy_selection): Declare it. New
12713 function & alist to track GlobalAlloc()'d handles that need
12714 releasing when the clipboard data gets replaced or emptied.
12716 * event-msw.c (mswindows_wnd_proc): Call it.
12718 * lisp.h, general.c (Qappend): New symbol representing a
12721 * select.c (own-selection-internal):
12722 * select.c (selection-exists-p):
12723 * select.c (available-selection-types): New.
12724 * select.c (register-selection-data-type): New.
12725 * select.c (selection-data-type-name): New. New functions to deal
12726 with device-specific selection data formats.
12727 * select.c (selection-converter-out-alist): Renamed.
12728 * select.c (selection-converter-in-alist): New.
12729 * select.c (selection-appender-alist): New. Added new alists.
12730 * select.c (syms_of_select, vars_of_select): Added new symbols &
12732 * select.c (get_local_selection): Split.
12733 * select.c: Removed spurious type checking - selections may now be
12734 of any type, not just strings.
12735 * select.c (own-selection-internal):
12737 * select.h, select.c (convert_selection): New. Created
12738 convert_selection() function based on get_local_selection().
12739 * select.h, select.c (QCF_*): New symbols representing mswindows
12741 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12742 symbols representing `how-to-add' modes.
12744 * select-msw.c (x_sym_p): New.
12745 * select-msw.c (symbol_to_ms_cf): New.
12746 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12747 symbols & clipboard formats. Can also handle string names.
12748 * select-msw.c (mswindows_own_selection):
12749 * select-msw.c (mswindows_selection_exists_p):
12750 Added `data-type' parameter. Use it.
12751 * select-msw.c (mswindows_available_selection_types): New.
12752 * select-msw.c (mswindows_register_selection_data_type): New.
12753 * select-msw.c (mswindows_selection_data_type_name): New.
12754 * select-msw.c (mswindows_own_selection):
12755 * select-msw.c (mswindows_get_foreign_selection):
12756 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12757 * select-msw.c (console_create_select_mswindows): Added new methods.
12758 * select-msw.c (mswindows_destroy_selection): New.
12759 * select-msw.c (Vhandle_alist): New list.
12760 * select-msw.c (mswindows_own_selection):
12762 * select-x.c (x_own_selection):
12763 * select-x.c (x_selection_exists_p):
12764 * select-x.c: Added some comments about maybe using new
12766 * select-x.c (x_own_selection):
12768 * specifier.c: Remove definition of Qappend (now in general.c)
12769 * specifier.c (syms_of_specifier): Remove Qappend.
12771 2000-07-12 Martin Buchholz <martin@xemacs.org>
12773 * config.h.in: Add socklen_t.
12775 * s/decosf4-0.h: No special compiler flags needed or desired.
12776 In particular, undefine _BSD for DEC OSF 4.0.
12778 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12780 * redisplay-msw.c (msprinter_frame_output_end): Added.
12781 (console_type_create_redisplay_mswindows): Referred the above.
12783 * frame.c (setup_frame_without_minibuffer): Do not create a
12784 default minibuffer frame on a printer device.
12786 * frame-msw.c (apply_dc_geometry): Added.
12787 (msprinter_start_page):
12788 (msprinter_init_frame_3):
12789 (msprinter_eject_page): Use it.
12791 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12792 and removed residual duplex and orientation properties.
12794 2000-07-11 Martin Buchholz <martin@xemacs.org>
12796 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12798 * unexalpha.c: Remove system prototypes from C sources!
12800 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12802 * eval.c: Remove references to M-x edit-options in DEFUNs for
12803 `defvar' and `defconst'.
12805 2000-07-09 Martin Buchholz <martin@xemacs.org>
12807 * config.h.in: Remove SMART_INCLUDE hackery.
12809 PostgreSQL hacking:
12810 * config.h.in: Don't use SMART_INCLUDE.
12812 * postgresql.h: Include libpq-fe.h here. Fix typo.
12813 * inline.c: Simply #include "postgresql.h"
12815 - Don't use SMART_INCLUDE
12816 - Use simply "const".
12817 - Use standard doc string conventions.
12818 - Use correct type for result of PQstatus.
12820 2000-07-09 Martin Buchholz <martin@xemacs.org>
12822 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12824 C++ compilation changes.
12825 * config.h.in (EXTERN_C): Define.
12826 * config.h.in (not): This is also a C++ keyword.
12827 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12828 * cm.c: Use EXTERN_C.
12829 * redisplay-tty.c: Use EXTERN_C.
12830 * sysdep.c: Use EXTERN_C. Remove Gould support.
12832 2000-07-09 Martin Buchholz <martin@xemacs.org>
12834 * general.c: Remove duplicate definition for Qfunction.
12836 2000-07-08 Ben Wing <ben@xemacs.org>
12838 * device-msw.c (msprinter_init_device):
12839 * device-msw.c (sync_printer_with_devmode):
12840 * device-msw.c (handle_devmode_changes):
12841 * device-msw.c (print_dialog_worker):
12842 * device-msw.c (Fmsprinter_apply_settings):
12843 * device-msw.c (hash_devmode):
12844 * device-msw.c (Fmsprinter_settings_despecialize):
12845 use Qmswindows_tstr, not Qctext.
12847 * vm-limit.c (check_memory_limits):
12848 avoid infinite loop printing warning messages.
12850 2000-07-05 Craig Lanning <lanning@scra.org>
12852 * Makefile.in.in: Add support for including the Windows resources
12853 when building with the cygwin and mingw targets.
12855 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12856 not set or not correct.
12857 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12858 (init_initial_directory): Don't try to use $PWD on the
12859 WIN32_NATIVE target.
12862 [[Add -mwindows to eliminate console window.]] not required --ben
12863 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12864 (MAIL_USE_POP): removed; now handled by configure.
12866 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12867 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12868 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12869 (MAIL_USE_POP): removed; now handled by configure.
12870 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12871 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12872 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12874 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12875 up from <winsock.h> via systime.h.
12876 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12877 (getpagesize): from Dan Holmsand, added.
12878 Added #endif which was left dangling by Ben's mega patch; added
12879 comment to help prevent this in the future.
12881 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12883 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12885 * console-msw.h (struct mswindows_device): Removed unnecessary
12886 cached device geometry values.
12887 Added update_tick and an accessor macro.
12888 (Lisp_Devmode): Added lrecord declaration.
12889 (struct msprinter_device): Contain devmode as a Lisp object.
12890 Added mswindows_get_selected_frame_hwnd();
12892 * console.h (struct console_methods): Indentation nitpicking.
12894 * device-msw.c (mswindows_init_device): Do not initialize geometry
12895 cache. Initialize update tick.
12896 (mswindows_device_system_metrics): Ask the device for its geometry.
12897 (global_free_2_maybe):
12898 (devmode_to_hglobal):
12899 (handle_printer_changes):
12900 (ensure_not_printing):
12901 (print_dialog_worker):
12902 (Fmsprinter_print_setup_dialog):
12903 (Fmsprinter_print_dialog):
12904 (plist_get_margin):
12905 (plist_set_margin):
12906 (Fmsprinter_page_setup_dialog): Added functions.
12907 (sync_printer_with_devmode):
12908 (handle_devmode_changes):
12909 (Fmsprinter_get_settings):
12910 (Fmsprinter_select_settings):
12911 (Fmsprinter_apply_settings):
12912 (allocate_devmode):
12913 (Fmsprinter_settings_copy):
12914 (Fmsprinter_settings_despecialize):
12916 (finalize_devmode):
12918 (hash_devmode): Added functions
12919 (syms_of_device_mswindows): Init devmode lrecord class.
12921 * device.h: Added an exfun for find-device.
12923 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12924 geometry; although, recreate the device compatible DC.
12926 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12927 (msprinter_init_frame_3):
12928 (msprinter_frame_property):
12929 (msprinter_internal_frame_property_p):
12930 (msprinter_frame_properties):
12931 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12932 print job properties (will move to device settings).
12934 * lisp.h: Added symbols.
12936 * general.c (syms_of_general): Declared them.
12938 * hash.c (string_hash): Added.
12940 * lrecord.h (lrecord_type): Added devmode lrecord type.
12942 2000-07-02 Mike Sperber <mike@xemacs.org>
12944 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12947 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12949 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12952 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12954 * data.c (Fstring_to_number): Don't recognize floating point if
12957 2000-06-22 Martin Buchholz <martin@xemacs.org>
12959 * glyphs-widget.c (tab_control_query_geometry):
12960 (widget_query_geometry):
12961 (button_query_geometry):
12962 * glyphs.c (text_query_geometry):
12963 Enforce type correctness.
12965 2000-06-18 Martin Buchholz <martin@xemacs.org>
12967 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12968 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12970 2000-06-17 Martin Buchholz <martin@xemacs.org>
12972 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12973 conflicts with gcc's fixincluded version of FOO.h.
12975 * glyphs.h (image_instance_geometry): Remove trailing `,'
12977 2000-06-08 Mike Alexander <mta@arbortext.com>
12979 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12980 (shove_thread): Don't write the same output twice
12981 (make_ntpipe_output_stream): Increase priority of shove thread
12982 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12984 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12987 2000-06-12 Ben Wing <ben@xemacs.org>
12989 * s\mingw32.h (sigset):
12990 * s\windowsnt.h (sigset):
12991 rename msw_ to mswindows_ for consistency with general convention.
12993 2000-06-12 Ben Wing <ben@xemacs.org>
12996 * console-msw.c (mswindows_get_console_hwnd):
12997 * console-msw.c (mswindows_ensure_console_allocated):
12998 * console-msw.c (mswindows_hide_console):
12999 * console-msw.c (mswindows_show_console):
13000 * console-msw.c (mswindows_ensure_console_buffered):
13001 * console-msw.c (mswindows_output_console_string):
13002 * console-msw.c (mswindows_windows9x_p):
13004 * device-msw.c (mswindows_get_workspace_coords):
13005 * device-msw.c (mswindows_device_system_metrics):
13006 * dialog-msw.c (mswindows_popup_dialog_box):
13007 * event-msw.c (mswindows_wnd_proc):
13008 * frame-msw.c (mswindows_size_frame_internal):
13009 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13010 * menubar-msw.c (displayable_menu_item):
13011 * menubar-msw.c (mswindows_char_is_accelerator):
13013 * nt.c (mswindows_sigset):
13014 * nt.c (mswindows_sigrelse):
13015 * nt.c (mswindows_sigpause):
13016 * nt.c (mswindows_raise):
13017 * nt.c (timer_proc):
13019 * ntproc.c (find_child_console):
13020 * ntproc.c (sys_kill):
13022 * print.c (std_handle_out_external):
13023 * process-nt.c (find_child_console):
13024 * process-nt.c (send_signal_the_95_way):
13025 * process-nt.c (ensure_console_window_exists):
13026 * process-nt.c (nt_create_process):
13028 rename msw_ to mswindows_ for consistency with general convention.
13032 include nt.h, not syswindows.h.
13034 * nt.c (mswindows_fstat):
13035 * nt.c (mswindows_stat):
13036 prefix mswindows_ instead of attempting to directly override the
13037 library functions. fix declarations.
13040 include syswindows.h. move some sysdep.h stuff here.
13043 include syswindows.h, not <windows.h>.
13051 * sysdep.c (sys_fstat):
13052 * sysdep.c (sys_stat):
13053 call mswindows versions when appropriate.
13056 move mswin decls to nt.h.
13059 add long comment describing appropriate use of the various windows
13062 2000-06-11 Ben Wing <ben@xemacs.org>
13064 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13066 2000-06-10 Ben Wing <ben@xemacs.org>
13068 * Makefile.in.in (release):
13069 Correction to make sure xemacs.exe always dumped when correct.
13073 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13075 * buffer.c (set_buffer_internal):
13076 [[[[2]]]]: Remove HAVE_FEP code.
13078 * buffer.c (init_initial_directory):
13082 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13086 * callproc.c (call_process_cleanup):
13087 * callproc.c (Fold_call_process_internal):
13088 * callproc.c (child_setup):
13089 * callproc.c (getenv_internal):
13090 * callproc.c (init_callproc):
13091 * callproc.c (vars_of_callproc):
13092 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13093 __CYGWIN32__ -> CYGWIN.
13094 DOS_NT -> WIN32_NATIVE.
13095 Remove MSDOS support/references, converting to WIN32_NATIVE
13097 __MINGW32__ -> MINGW.
13098 Fix windows.h includes.
13099 Remove bogus HAVE_NTGUI.
13105 mswindows_message_outputted added for use in allowing startup
13106 errors on the console to be seen.
13108 * console-msw.c (msw_ensure_console_allocated):
13109 * console-msw.c (msw_output_console_string):
13110 * console-msw.c (DHEADER):
13111 * console-msw.c (DOPAQUE_DATA):
13112 * console-msw.c (DEVENT):
13113 * console-msw.c (DCONS):
13114 * console-msw.c (DCONSCDR):
13115 * console-msw.c (DSTRING):
13116 * console-msw.c (DVECTOR):
13117 * console-msw.c (DSYMBOL):
13118 * console-msw.c (DSYMNAME):
13121 * console-stream.c (stream_init_console):
13122 Fix text/binary problems.
13125 * device-msw.c (mswindows_finish_init_device):
13126 * device-msw.c (mswindows_delete_device):
13129 * device.c (handle_asynch_device_change):
13133 * dgif_lib.c (DGifOpenFileName):
13134 * dgif_lib.c (DGifOpenFileHandle):
13135 * dgif_lib.c (DGifGetLine):
13136 * dgif_lib.c (DGifGetPixel):
13137 Added config.h/lisp.h, fix up includes.
13144 * dired.c (file_name_completion):
13145 * dired.c (Ffile_attributes):
13146 * dired.c (syms_of_dired):
13150 * dumper.c (pdump_file_unmap):
13151 * dumper.c (pdump_load):
13155 * editfns.c (Ftemp_directory):
13156 * editfns.c (user_login_name):
13157 * editfns.c (Fuser_real_login_name):
13158 * editfns.c (get_home_directory):
13161 * elhash.c (finish_marking_weak_hash_tables):
13162 [[[[5]]]]: Fix GCC warnings.
13165 * emacs.c (mswindows_handle_hardware_exceptions):
13166 * emacs.c (make_arg_list_1):
13167 * emacs.c (main_1):
13168 * emacs.c (Fkill_emacs):
13169 * emacs.c (Fdump_emacs):
13171 Fix problems with nested crashes, add long comment.
13173 * event-Xt.c (init_event_Xt_late):
13177 * event-msw.c (mswindows_dde_callback):
13178 * event-msw.c (mswindows_handle_sticky_modifiers):
13179 * event-msw.c (mswindows_wnd_proc):
13183 * events.c (character_to_event):
13187 * fileio.c (Ffile_name_directory):
13188 * fileio.c (Ffile_name_nondirectory):
13189 * fileio.c (directory_file_name):
13190 * fileio.c (Fexpand_file_name):
13191 * fileio.c (Fsubstitute_in_file_name):
13192 * fileio.c (Ffile_name_absolute_p):
13193 * fileio.c (check_executable):
13194 * fileio.c (Ffile_readable_p):
13195 * fileio.c (Ffile_accessible_directory_p):
13196 * fileio.c (Ffile_modes):
13197 * fileio.c (Funix_sync):
13198 * fileio.c (vars_of_fileio):
13201 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13203 Expand getdefdir defn.
13204 Fix bogus rename() comment.
13206 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13207 to use standard XEmacs include files, e.g. sysfile.h, rather
13208 than system-specific includes.
13214 * frame.c (vars_of_frame):
13218 * getloadavg.c (getloadavg):
13220 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13221 (We don't use it elsewhere in the code; just add a comment.)
13228 * glyphs-msw.c (mswindows_resource_instantiate):
13231 * glyphs-x.c (x_native_layout_instantiate):
13234 * gui-msw.c (Fmswindows_shell_execute):
13243 * lread.c (locate_file_in_directory_mapper):
13250 * mem-limits.h (get_lim_data):
13262 * nt.c (rva_to_section):
13263 * nt.c (mswindows_executable_type):
13265 Fix closedir() defn.
13268 [[[[8]]]]: *_OK defs moved to sysfile.h.
13277 * print.c (std_handle_out_external):
13281 * process-nt.c (nt_create_process):
13283 try to fix process quoting somewhat.
13285 * process-unix.c (unix_create_process):
13289 * process.c (vars_of_process):
13296 * realpath.c (xrealpath):
13299 * redisplay-tty.c (init_tty_for_redisplay):
13309 * sheap.c (more_static_core):
13310 * sheap.c (report_sheap_usage):
13314 * signal.c (alarm_signal):
13321 * strftime.c (zone_name):
13324 * symsinit.h (init_sunpro):
13328 commctrl.h not in Cygwin b20.1.
13331 * sysdep.c (endif):
13332 * sysdep.c (sys_subshell):
13333 * sysdep.c (init_baud_rate):
13334 * sysdep.c (emacs_get_tty):
13335 * sysdep.c (emacs_set_tty):
13336 * sysdep.c (tty_init_sys_modes_on_device):
13337 * sysdep.c (init_system_name):
13338 * sysdep.c (sys_open):
13339 * sysdep.c (interruptible_open):
13340 * sysdep.c (sys_fopen):
13341 * sysdep.c (sys_mkdir):
13342 * sysdep.c (sys_rename):
13343 * sysdep.c (get_process_times_1):
13350 * sysdir.h (DIRENTRY_NONEMPTY):
13353 * sysdll.c (dll_init):
13359 added text/binary defs.
13365 * sysproc.h (EDESTADDRREQ):
13366 * sysproc.h (poll_fds_for_input):
13383 Always define WIN32_LEAN_AND_MEAN.
13385 * unexcw.c (unexec):
13389 * unexec.c (copy_text_and_data):
13390 * unexec.c (adjust_lnnoptrs):
13394 * unexnt.c (_start):
13397 2000-06-07 Ben Wing <ben@xemacs.org>
13399 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13400 was used only as a model. We've long since extracted any useful
13401 logic or code out of this. (I just did an exhaustive search.)
13403 * s\msdos.h: Removed.
13405 * s\windows95.h: Removed.
13407 2000-06-10 Ben Wing <ben@xemacs.org>
13411 Don't use extern with fun defs.
13415 Remove nt\inc include.
13416 Remove getdisk, getdefdir. (The former is unused, the latter
13417 expanded in fileio.h.)
13420 * s\windowsnt.h (WIN32_NATIVE):
13421 * s\windowsnt.h (HAVE_STRCASECMP):
13423 Add long comment about preprocessor changes.
13424 Remove getdisk, getdefdir. (The former is unused, the latter
13425 expanded in fileio.h.)
13427 2000-06-10 Ben Wing <ben@xemacs.org>
13436 Remove bogus/unused NO_SOCK_SIGIO.
13438 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13440 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13443 2000-06-04 Mike Sperber <mike@xemacs.org>
13445 * casetab.c (set_case_table): For `set-standard-case-table',
13446 actually deposit the new case tables where the rest of XEmacs can
13449 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13451 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13453 2000-06-05 Ben Wing <ben@xemacs.org>
13455 * callproc.c (child_setup): Don't do close_load_descs() under
13456 MS Windows. Put in a comment explaining why.
13458 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13460 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13461 Toolkit shell" which breaks `kill-compilation' on Windows NT
13462 native, retaining STDERR handling improvements.
13464 2000-06-01 Andreas Jaeger <aj@suse.de>
13466 * s/s390.h: Support for S390, based on a patch by Martin
13467 Schwidefsky <schwidefsky@de.ibm.com>.
13469 2000-05-30 Andy Piper <andy@xemacs.org>
13471 * window.c (allocate_window):
13472 (make_dummy_parent):
13473 (Fset_window_configuration): use new hashtable type.
13475 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13476 (struct image_instantiator_methods):
13477 (struct Lisp_Image_Instance): make instance geometry signed.
13479 * glyphs.c (instantiate_image_instantiator):
13480 (image_instance_query_geometry):
13481 (image_instance_layout):
13482 (image_instance_layout):
13483 (query_string_geometry):
13484 (text_query_geometry):
13485 (image_instantiate):
13486 (image_instantiate):
13487 (cache_subwindow_instance_in_frame_maybe):
13488 (subwindow_query_geometry): make instance geometry signed.
13490 * glyphs-widget.c (widget_query_geometry):
13492 (button_query_geometry):
13493 (tree_view_query_geometry):
13494 (tab_control_query_geometry):
13495 (layout_query_geometry):
13497 (native_layout_layout): make instance geometry signed.
13499 2000-05-29 Olivier Galibert <galibert@pobox.com>
13501 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13504 * general.c (syms_of_general): Add Qfull_assoc symbol.
13506 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13508 (decode_weak_list_type): Decode full-assoc type.
13509 (encode_weak_list_type): Encode full-assoc type.
13510 (Fmake_weak_list): Update doc string.
13512 2000-05-30 Andy Piper <andy@xemacs.org>
13514 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13516 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13517 (decode_hash_table_weakness): ditto.
13518 (Fhash_table_weakness): ditto.
13519 (Fhash_table_type): ditto.
13520 (finish_marking_weak_hash_tables): ditto.
13521 (hash_table_weakness_validate): ditto.
13522 (syms_of_elhash): ditto.
13524 2000-05-28 Martin Buchholz <martin@xemacs.org>
13526 * XEmacs 21.2.34 is released.
13528 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13530 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13532 (updating_line_start_cache): Gone.
13533 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13534 generic code to force a minimum of 1 line laid out in the
13537 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13539 * glyphs.c (instantiate_image_instantiator): Check for initialized
13540 height & width no longer special cases IMAGE_NOTHING.
13541 (nothing_instantiate): Set height and width of instance.
13543 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13545 * unexelf.c (unexec): Search for ".data" section.
13546 Initialize new_data2_offset from old_data_index.
13547 Remove redundant check for ElfW.
13549 2000-05-23 Andy Piper <andy@xemacs.org>
13551 * glyphs.c (get_image_instantiator_governing_domain): allow more
13552 specific domains as the governing domain rather than expecting an
13553 exact match. This fixes problems with layouts.
13555 2000-05-22 Andy Piper <andy@xemacs.org>
13557 * redisplay-output.c (compare_runes): check for non-images
13559 * glyphs.c (set_glyph_dirty_p): ditto.
13560 (update_glyph_cachel_data): ditto.
13562 * glyphs-widget.c (layout_post_instantiate): ditto.
13563 (layout_post_instantiate): ditto.
13565 * event-msw.c (mswindows_wnd_proc): warning removal.
13567 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13569 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13571 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13573 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13575 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13576 (mswindows_executable_type): mingw32 now has enough headers for
13579 2000-05-20 Andy Piper <andy@xemacs.org>
13581 * console-msw.c (mswindows_output_last_error): ; -> ,
13583 2000-05-12 Andy Piper <andy@xemacs.org>
13585 * console-msw.c (FROB): compare ints with ints.
13587 2000-05-11 Andy Piper <andy@xemacs.org>
13589 * glyphs-x.c (x_finalize_image_instance): make minimal build
13592 2000-05-20 Ben Wing <ben@xemacs.org>
13595 * event-Xt.c (vars_of_event_Xt):
13596 move modifier-keys-are-sticky to event-stream.c.
13599 * event-msw.c (mswindows_enqueue_mouse_button_event):
13600 * event-msw.c (key_needs_default_processing_p):
13601 * event-msw.c (XEMSW_LCONTROL):
13602 * event-msw.c (mswindows_handle_sticky_modifiers):
13603 * event-msw.c (FROB):
13604 * event-msw.c (clear_sticky_modifiers):
13605 * event-msw.c (output_modifier_keyboard_state):
13606 * event-msw.c (output_alt_keyboard_state):
13607 * event-msw.c (mswindows_wnd_proc):
13608 * event-msw.c (mswindows_modifier_state):
13609 * event-msw.c (emacs_mswindows_handle_magic_event):
13610 implement sticky modifiers.
13613 * event-stream.c (vars_of_event_stream):
13614 move modifier-keys-are-sticky here.
13617 add CHECK_FUNCTION.
13620 implement map-range-table.
13623 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13625 * redisplay-tty.c (reset_tty_modes):
13626 (tty_redisplay_shutdown): Adjust argument type to
13627 tty_frame_output_end.
13629 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13631 * eval.c (Fbacktrace): Don't output a line with only right
13634 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13636 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13637 (Fpq_reset_poll): Ditto.
13639 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13641 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13643 2000-05-16 Ben Wing <ben@xemacs.org>
13646 * buffer.c (dfc_convert_to/from_internal_format):
13647 * buffer.c (reinit_vars_of_buffer):
13648 Fix conversion functions to allow reentrancy.
13651 * console-msw.c (mswindows_output_last_error):
13652 New fun, generally useful -- output a human-readable
13653 version of GetLastError() on the console.
13656 * console-msw.h (struct mswindows_frame):
13657 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13659 * console-stream.c (stream_output_begin):
13660 * console-stream.c (stream_output_end):
13661 * console-stream.c (stream_output_vertical_divider):
13662 * console-stream.c (stream_clear_region):
13663 * console-stream.c (stream_flash):
13664 * console-stream.c (console_type_create_stream):
13665 Delete blank stream methods, not needed.
13667 * console.h (struct console_methods):
13668 Split begin/end methods into window and frame.
13671 * event-msw.c (mswindows_handle_paint):
13672 * event-msw.c (output_alt_keyboard_state):
13673 * event-msw.c (mswindows_wnd_proc):
13674 * event-msw.c (vars_of_event_mswindows):
13675 Comment about problems with ignored-expose.
13676 Define mswindows-debug-events; not really implemented.
13678 * frame-msw.c (mswindows_init_frame_1):
13682 * glyphs-msw.c (begin_defer_window_pos):
13683 * glyphs-msw.c (mswindows_unmap_subwindow):
13684 * glyphs-msw.c (mswindows_map_subwindow):
13685 * glyphs-msw.c (mswindows_resize_subwindow):
13686 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13688 * glyphs.c (make_image_instance_1):
13691 * gutter.c (Fredisplay_gutter_area):
13692 Use new begin/end methods.
13694 * lisp.h (Dynarr_new2):
13698 * redisplay-msw.c (mswindows_frame_output_begin):
13699 * redisplay-msw.c (mswindows_frame_output_end):
13700 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13701 New begin/end methods -- handle DeferWindowPos.
13703 * redisplay-output.c (redisplay_move_cursor):
13704 * redisplay-output.c (redraw_cursor_in_window):
13705 * redisplay-output.c (redisplay_update_line):
13706 * redisplay-output.c (redisplay_output_window):
13707 New begin/end methods.
13710 * redisplay-tty.c (tty_frame_output_begin):
13711 * redisplay-tty.c (tty_frame_output_end):
13712 * redisplay-tty.c (console_type_create_redisplay_tty):
13713 New begin/end methods.
13716 * redisplay-x.c (x_window_output_begin):
13717 * redisplay-x.c (x_window_output_end):
13718 * redisplay-x.c (console_type_create_redisplay_x):
13719 New begin/end methods.
13721 * redisplay.c (redisplay_frame):
13722 * redisplay.c (Fredisplay_echo_area):
13723 New begin/end methods.
13724 use MAYBE_DEVMETH for clear_frame; it may not exist.
13726 * window.h (WINDOW_XFRAME):
13727 WINDOW_XFOO macros -- get locale and decode struct pointer.
13730 2000-05-12 Ben Wing <ben@xemacs.org>
13733 * emacs.c (ensure_no_quitting_from_now_on):
13734 * emacs.c (fatal_error_signal):
13735 * emacs.c (mswindows_handle_hardware_exceptions):
13737 * emacs.c (Fkill_emacs):
13738 * emacs.c (shut_down_emacs):
13739 * emacs.c (assert_failed):
13740 various improvements in fatal error handling.
13743 move preparing_for_armageddon to emacs.c.
13746 declare fatal_error_in_progress.
13749 * print.c (std_handle_out_external):
13750 * print.c (std_handle_out_va):
13751 * print.c (stderr_out):
13752 * print.c (stdout_out):
13753 use console under mswin when no standard output.
13754 don't do code conversion during fatal error.
13756 * scrollbar.c (Fscrollbar_page_up):
13757 * scrollbar.c (Fscrollbar_page_down):
13758 fix missing else. reindent.
13760 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13764 * glyphs.h (GLYPH_CACHEL_DESCENT):
13765 (GLYPH_CACHEL_DESCENT):
13766 (GLYPH_CACHEL_DESCENT):
13767 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13768 used in case these are inline functions.
13769 Use more absurd values to error check.
13771 include window.h for error check functions.
13773 2000-05-11 Ben Wing <ben@xemacs.org>
13775 * cmdloop.c (Freally_early_error_handler):
13776 Display message box under windows; otherwise, message will disappear
13777 before it can be viewed.
13780 * console-msw.c (Fmswindows_message_box):
13781 * console-msw.c (FROB):
13782 * console-msw.c (syms_of_console_mswindows):
13783 Define new fun `mswindows-message-box'.
13784 #### I will merge this into `popup-dialog-box'; just give me
13788 * general.c (syms_of_general):
13789 Some new symbols used in `mswindows-message-box'.
13792 * glyphs.c (Fset_image_instance_property):
13793 put warning in this fun.
13796 * glyphs.h (GLYPH_CACHEL_WIDTH):
13797 * glyphs.h (GLYPH_CACHEL_ASCENT):
13798 * glyphs.h (GLYPH_CACHEL):
13799 * glyphs.h (GLYPH_CACHEL_GLYPH):
13800 define error-checking versions to try to catch a bug i've seen --
13801 redisplay gets in an infinite loop because the glyph width of the
13802 continuation glyph is 65535.
13805 Extern message-box stuff.
13807 * window.c (allocate_window):
13808 * window.c (make_dummy_parent):
13809 * window.c (Fset_window_configuration):
13810 Use EQUAL not EQ for subwindow caches to make them work a bit
13811 better. (Something is still very broken.)
13814 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13816 * glyphs.c (image_instantiate): Suppress gcc warnings.
13817 (Fmake_image_instance): Fix doc string.
13818 * specifier.c (Fmake_specifier): Ditto.
13820 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13822 * paths.h.in (PATH_LOCK): Removed.
13823 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13824 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13826 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13828 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13829 Document (featurep '(and xemacs 21.02)).
13831 2000-05-09 Ben Wing <ben@xemacs.org>
13833 * buffer.c (complex_vars_of_buffer):
13834 update modeline-format doc.
13837 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13840 timeline of all released versions of Emacs, for use in creating
13841 authorship comments and in synching up.
13843 * glyphs-widget.c (image_instantiator_buttons):
13844 * glyphs-widget.c (image_instantiator_edit_fields):
13845 * glyphs-widget.c (image_instantiator_combo_box):
13846 * glyphs-widget.c (image_instantiator_scrollbar):
13847 * glyphs-widget.c (image_instantiator_progress_guage):
13848 * glyphs-widget.c (image_instantiator_tree_view):
13849 * glyphs-widget.c (image_instantiator_tab_control):
13850 * glyphs-widget.c (image_instantiator_labels):
13851 * glyphs-widget.c (image_instantiator_layout):
13852 * glyphs-widget.c (image_instantiator_native_layout):
13853 rename decode_domain method to governing_domain.
13856 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13857 * glyphs.c (add_entry_to_device_ii_format_list):
13858 make sure we don't put an entry more than once into the list.
13859 * glyphs.c (check_instance_cache_mapper):
13860 *************************************************************
13861 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13863 *************************************************************
13864 * glyphs.c (get_image_instantiator_governing_domain):
13865 clean up, expand on new concept of governing domain.
13866 * glyphs.c (instantiate_image_instantiator):
13867 * glyphs.c (allocate_image_instance):
13868 use governing_domain instead of cache_domain in naming.
13869 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13870 * glyphs.c (make_image_instance_1):
13871 * glyphs.c (Fmake_image_instance):
13872 allow for any domain (not just device), and process the
13873 governing domain correctly. very big doc fix.
13874 * glyphs.c (Fimage_instance_domain):
13875 new primitive, to retrieve the governing domain of an image instance.
13876 * glyphs.c (image_instantiate):
13877 use new governing_domain stuff. this fixes a crash you could get
13878 by instantiating certain widget glyphs in frame locales. (should
13879 signal an error instead of crashing.)
13880 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13881 * glyphs.c (Fglyphp): clean up doc.
13882 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13883 * glyphs.c (syms_of_glyphs):
13884 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13885 * glyphs.c (image_instantiator_format_create): add some comments about
13887 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13888 for current-display-table. (Apparently Hrjove implemented in 1998 a
13889 design I wrote up in 1996, but didn't update the doc string.)
13891 * glyphs.h: clean up a doc string.
13892 * glyphs.h (governing_domain):
13893 * glyphs.h (struct image_instantiator_methods):
13894 changes for governing_domain stuff.
13897 * gutter.c (Fgutter_specifier_p):
13898 * gutter.c (Fgutter_size_specifier_p):
13899 * gutter.c (Fgutter_visible_specifier_p):
13901 * objects.c (Fcolor_specifier_p):
13902 * objects.c (Ffont_specifier_p):
13903 * objects.c (Fface_boolean_specifier_p):
13904 doc strings moved to make-*-specifier.
13906 * redisplay.c (add_disp_table_entry_runes_1):
13907 * redisplay.c (generate_fstring_runes):
13908 * redisplay.c (screen):
13909 add random comments and doc strings.
13912 * specifier.c (Fmake_specifier):
13913 major overhaul of this doc string.
13915 * specifier.c (Fvalid_specifier_domain_p):
13916 comment about the bogosity of image instances being domains.
13917 * specifier.c (decode_domain):
13918 now non-static, used in glyphs.c.
13919 * specifier.c (specifier_instance):
13920 comment about the bogosity of image instances being domains.
13921 * specifier.c (Fgeneric_specifier_p):
13922 move doc string to make-generic-specifier.
13923 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13927 * specifier.h (DOMAIN_FRAME):
13928 * specifier.h (DOMAIN_LIVE_P):
13929 * specifier.h (DOMAIN_XDEVICE):
13931 add comments about problems with these macros.
13932 prototype for decode_domain.
13935 * toolbar.c (Ftoolbar_specifier_p):
13936 move doc string to `make-toolbar-specifier'.
13938 * window.c (window_unmap_subwindows_cache_mapper):
13939 *************************************************************
13940 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13942 *************************************************************
13944 2000-05-09 Andy Piper <andy@xemacs.org>
13946 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13948 * window.c (Fset_window_configuration): reset the frame subwindow
13949 cache and re-initialize the window subwindow caches.
13951 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13953 2000-05-09 Ben Wing <ben@xemacs.org>
13955 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13958 2000-04-26 Mike Woolley <mike@bulsara.com>
13960 * ntheap.c: Changed recreate_heap to limit the amount reserved
13961 for the heap to that which is actually available. Also now
13962 displays a message box (with some dignostics) in the event that
13963 it still can't start.
13965 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13967 * callproc.c (Fold_call_process_internal): GCPRO path
13969 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13971 Patch by Bill Perry.
13973 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13974 back data instead of #ifdef.
13975 (Fscrollbar_page_down): ditto.
13977 2000-05-07 Ben Wing <ben@xemacs.org>
13980 Kludge for defining Qmswindows_tstr.
13983 * nt.c (open_input_file):
13984 * nt.c (open_output_file):
13985 * nt.c (rva_to_section):
13986 * nt.c (mswindows_executable_type):
13987 Move all memory-mapped-file routines here (some were in unexnt.c,
13988 which is bad because they are used by process-nt.c, and unexnt
13989 won't be around when portable dumping). Synched the above routines
13993 Removed ifdef'd out bogus code.
13994 Fixed some prototypes.
13996 * nt.h (file_data):
13997 * nt.h (OFFSET_TO_RVA):
13998 * nt.h (RVA_TO_OFFSET):
13999 * nt.h (RVA_TO_PTR):
14000 Moved the memory-mapped-file structures, macros and prototypes
14001 here, to parallel nt.c. ntheap.h should really be removed
14002 entirely, and it's a non-portable-dumper specific file.
14004 * ntheap.h (round_to_next):
14005 Moved the memory-mapped-file structures, macros and prototypes
14008 * ntproc.c (compare_env):
14009 Moved rva_to_section and mswindows_executable_type to nt.c.
14010 Moved compare_env to process-nt.c.
14011 ntproc.c will die, one day.
14013 * ntproc.c (sys_spawnve):
14014 Account for win32_ -> mswindows_.
14017 * process-nt.c (struct nt_process_data):
14018 * process-nt.c (ensure_console_window_exists):
14019 * process-nt.c (compare_env):
14020 * process-nt.c (nt_create_process):
14021 * process-nt.c (nt_kill_process_by_pid):
14022 * process-nt.c (syms_of_process_nt):
14023 * process-nt.c (vars_of_process_nt):
14024 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14025 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14026 changes). Eliminate our old `nt-quote-process-args' mechanism.
14027 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14028 Move compare_env here from ntproc.c.
14030 * process.c (Fprocess_send_region):
14031 Takes an optional fourth argument, BUFFER, which should fix some
14032 problems with call-process.
14035 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14038 Move ICC_BAR_CLASSES to syscommctrl.h.
14039 Add preliminary macros for MSWindows/Mule. More to come.
14042 * unexnt.c (unexec):
14043 open_output_file moved to nt.c.
14046 2000-05-05 Andy Piper <andy@xemacs.org>
14048 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14049 instance from the frame cache also since GC may catch up too late
14050 to make frame deletion sane.
14052 2000-05-04 Andy Piper <andy@xemacs.org>
14054 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14055 (x_finalize_image_instance): ungcpro on deletion.
14057 * glyphs.c (image_instantiator_format_create): give pointers a
14058 query geometry method so that the geometry is at least set.
14060 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14061 initialize layouts if using widgets.
14063 2000-05-03 Andy Piper <andy@xemacs.org>
14065 * nt.c: remove bogus reference to sysmmsystem.h
14067 * gui-x.c (popup_selection_callback): fix no selection abort.
14069 2000-05-02 Andy Piper <andy@xemacs.org>
14071 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14072 (mswindows_widget_instantiate): ditto.
14074 * glyphs-widget.c (initialize_widget_image_instance): initialize
14075 children correctly.
14076 (widget_instantiate): cope with children and items in the same
14079 * glyphs.c (mark_image_instance): cope with children as a first
14081 (image_instance_equal): ditto.
14082 (image_instance_hash): ditto.
14083 (image_instance_changed): ditto.
14085 2000-04-30 Andy Piper <andy@xemacs.org>
14087 * glyphs.c (subwindow_query_geometry): new function. Return some
14089 (subwindow_instantiate): don't assign dimensions if none have been
14091 (image_instantiator_format_create): add subwindow_query_geometry.
14092 (print_image_instance): cope with layouts as widgets.
14094 2000-04-29 Andy Piper <andy@xemacs.org>
14096 * frame.c (delete_frame_internal): call
14097 free_frame_subwindow_instance_cache so that all subwindows are
14098 finalized before their parent.
14099 (mark_frame): remove subwindow_cachels.
14100 (Fmake_frame): remove subwindow_cachel manipulation.
14101 (allocate_frame_core): subwindow_instance_cache is a weak list.
14102 (delete_frame_internal): set subwindow_instance_cache to nil.
14104 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14106 (mswindows_finalize_image_instance): use the device
14107 not the domain as the domain may have died already.
14109 * glyphs-x.c (x_finalize_image_instance): ditto.
14110 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14113 * redisplay-output.c (redisplay_unmap_subwindows): update for
14114 subwindow instance cache as a weak list.
14115 (redisplay_unmap_subwindows_maybe): ditto.
14116 (redisplay_unmap_subwindows_except_us): ditto.
14118 * glyphs.c (unmap_subwindow): error checking will check the domain
14119 so don't deal with it here. Don't use cachels anymore.
14120 (map_subwindow): ditto.
14121 (update_subwindow_cachel_data): remove old accessor names.
14122 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14123 (Fresize_subwindow): don't update cachel.
14124 (mark_subwindow_cachels):
14125 (update_subwindow_cachel_data):
14126 (add_subwindow_cachel):
14127 (get_subwindow_cachel_index):
14128 (update_subwindow_cachel):
14129 (reset_subwindow_cachels):
14130 (mark_subwindow_cachels_as_not_updated): deleted.
14131 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14132 subwindow instance to the frame cache.
14133 (find_matching_subwindow): update for subwindow instance cache as
14135 (update_widget_instances): ditto.
14136 (image_instance_type_to_mask):inlined.
14137 (free_frame_subwindow_instance_cache): new function. finalize all
14138 subwindows that are instantiated.
14140 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14141 of cachel information.
14142 (IMAGE_INSTANCE_DISPLAY_X):
14143 (IMAGE_INSTANCE_DISPLAY_Y):
14144 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14145 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14146 (XIMAGE_INSTANCE_DISPLAY_X):
14147 (XIMAGE_INSTANCE_DISPLAY_Y):
14148 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14149 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14150 remove subwindow_cachel structure and function references.
14151 (image_instance_type_to_mask): inline from glyphs.c
14153 * redisplay.c (redisplay_frame): remove subwindow_cachel
14156 * frame.h (struct frame): remove subwindow_cachels.
14157 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14159 * frameslots.h: add subwindow_instance_cache.
14161 * window.c (replace_window): check subwindow cache of replacement.
14162 (window_unmap_subwindows_cache_mapper):
14163 (window_unmap_subwindows): new functions. Unmap all subwindows
14164 cached on this window.
14165 (mark_window_as_deleted): unmap all subwindows.
14167 2000-04-27 Andy Piper <andy@xemacs.org>
14169 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14171 * glyphs-widget.c (widget_layout): return something.
14172 (layout_layout): return something. Fail if not initialized.
14173 (layout_query_geometry): ditto.
14174 (image_instantiator_native_layout): new function. Initialized the
14175 native layout type.
14176 (widget_instantiate): don't do layout stuff here.
14178 * glyphs.c (instantiate_image_instantiator): reorded calling or
14179 instantiate and post_instantiate with layout in between.
14180 (image_instance_layout): be more selective about deciding whether
14181 the layout has been done or not.
14183 * glyphs.h (struct image_instantiator_methods): return a value
14184 from layout_method.
14186 2000-04-26 Andy Piper <andy@xemacs.org>
14188 * glyphs.c (allocate_image_instance): make initial width and
14189 height unspecified. Set initialized to 0.
14191 * syscommctrl.h new file. Encapsulates commctrl.h.
14193 * syswindows.h new file. Encapsulates windows.h.
14195 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14197 * console-msw.h: ditto.
14199 * redisplay-tty.c (tty_output_display_block): remove layout references.
14201 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14202 window handle rather than just the frame.
14204 * glyphs.c (mark_image_instance): remove layout references.
14205 (print_image_instance): ditto.
14206 (image_instance_equal): ditto.
14207 (image_instance_hash): ditto.
14208 (decode_image_instance_type): ditto.
14209 (encode_image_instance_type): ditto.
14210 (image_instantiate): ditto.
14211 (allocate_glyph): ditto.
14212 (Fimage_instance_height): ditto.
14213 (Fimage_instance_width): ditto.
14214 (update_subwindow): ditto.
14216 * redisplay-x.c (x_output_display_block): recode for layouts as
14219 * redisplay-output.c (redisplay_output_layout): recode for layouts
14221 (compare_runes): remove layout references.
14223 * redisplay-msw.c (mswindows_output_display_block): recode for
14224 layouts as widgets.
14226 * glyphs-widget.c (image_instantiator_layout): remove
14227 layout_possible_dest_types.
14228 (layout_possible_dest_types): deleted.
14230 * glyphs.h (image_instance_type): remove layout references.
14231 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14232 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14233 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14235 2000-04-25 Andy Piper <andy@xemacs.org>
14237 * glyphs-widget.c (image_instantiator_buttons):
14238 (image_instantiator_edit_fields):
14239 (image_instantiator_combo_box):
14240 (image_instantiator_scrollbar):
14241 (image_instantiator_progress_guage):
14242 (image_instantiator_tree_view):
14243 (image_instantiator_tab_control):
14244 (image_instantiator_labels):
14245 (image_instantiator_layout): call default post_instantiate method.
14246 (widget_post_instantiate): new function. Simply lays out the
14249 * glyphs.h (struct image_instantiator_methods): add
14250 post_instantiate method.
14252 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14255 2000-04-23 Andy Piper <andy@xemacs.org>
14257 * glyphs.h (struct image_instantiator_methods): add
14258 decode_domain_method.
14259 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14260 derived from the domain.
14261 (IMAGE_INSTANCE_FRAME): new accessor.
14262 (XIMAGE_INSTANCE_FRAME): ditto.
14264 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14265 instead of _SUBWINDOW_FRAME.
14266 (finalize_image_instance): ditto.
14267 (Fimage_instance_foreground): ditto.
14268 (Fimage_instance_background): ditto.
14269 (image_instantiate): ditto.
14270 (update_subwindow_cachel): ditto.
14271 (update_subwindow): ditto.
14272 (unmap_subwindow): ditto.
14273 (map_subwindow): ditto
14274 (subwindow_instantiate): ditto.
14275 * glyphs-msw.c (mswindows_update_widget): ditto.
14276 (mswindows_progress_gauge_instantiate): ditto.
14277 (mswindows_tab_control_update): ditto.
14278 * glyphs-x.c (x_update_widget): ditto.
14279 (x_widget_instantiate): ditto.
14280 (x_tab_control_instantiate): ditto.
14281 (x_tab_control_update): ditto.
14282 * event-msw.c (mswindows_wnd_proc): ditto
14284 * glyphs-widget.c (image_instantiator_layout): use
14285 subwindow_decode_domain.
14286 (image_instantiator_buttons): ditto.
14287 (image_instantiator_edit_fields): ditto.
14288 (image_instantiator_combo_box): ditto.
14289 (image_instantiator_scrollbar): ditto.
14290 (image_instantiator_progress_guage): ditto.
14291 (image_instantiator_tree_view): ditto.
14292 (image_instantiator_tab_control): ditto.
14293 (image_instantiator_labels): ditto.
14294 (image_instantiator_layout): ditto.
14296 * glyphs.c: add instance error checking to many functions.
14297 (instantiate_image_instantiator): decode device from cache_domain.
14298 (image_instantiate): partially rewrite by using
14299 decode_image_instantiator_domain to determine what domain the
14300 instance needs to be cached in.
14301 (decode_image_instantiator_domain): new function. Determine what
14302 domain the image needs to be cached in.
14303 (check_window_subwindow_cache): new error checking function.
14304 (check_instance_cache_mapper): ditto.
14305 (check_image_instance_structure): ditto.
14306 (subwindow_decode_domain): new function. Encodes a window as a
14307 subwindow's cache domain.
14308 (image_instantiator_format_create): use it for text and
14311 2000-04-21 Andy Piper <andy@xemacs.org>
14313 * glyphs.c (image_instance_device): new function.
14314 (image_instance_frame): new function.
14315 (image_instance_window): new function.
14316 (image_instance_live_p): new function.
14318 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14321 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14322 (IMAGE_INSTANCE_DOMAIN): new accessor.
14323 (XIMAGE_INSTANCE_DOMAIN): ditto.
14325 * glyphs-x.c (x_finalize_image_instance): device->domain.
14327 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14328 (mswindows_finalize_image_instance): ditto.
14330 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14331 (gif_instantiate): ditto.
14332 (png_instantiate): ditto.
14333 (tiff_instantiate): ditto.
14335 * glyphs.c (instantiate_image_instantiator): use domain rather
14337 (mark_image_instance): device -> domain.
14338 (print_image_instance): ditto.
14339 (finalize_image_instance): ditto.
14340 (image_instance_equal): ditto.
14341 (allocate_image_instance): ditto.
14342 (Fcolorize_image_instance): ditto.
14343 (query_string_geometry): ditto.
14344 (image_instantiate): ditto
14345 (query_string_font): ditto.
14346 (image_instantiate): ditto.
14347 (update_subwindow): ditto.
14348 (unmap_subwindow): ditto.
14349 (map_subwindow): ditto.
14350 (subwindow_instantiate): ditto.
14352 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14353 (DOMAIN_FRAME): ditto.
14354 (DOMAIN_WINDOW): ditto.
14355 (DOMAIN_LIVE_P): ditto.
14356 (XDOMAIN_DEVICE): ditto.
14357 (XDOMAIN_FRAME): ditto.
14358 (XDOMAIN_WINDOW): ditto.
14360 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14361 a valid specifier domain.
14363 2000-04-19 Andy Piper <andy@xemacs.org>
14365 * glyphs-widget.c (syms_of_glyphs_widget): remove
14366 widget-callback-current-channel.
14367 (vars_of_glyphs_widget): ditto.
14370 * gui.c (get_gui_callback): revert to previous behaviour.
14372 2000-04-18 Andy Piper <andy@xemacs.org>
14374 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14375 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14376 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14378 * glyphs.c (image_instance_equal): add margin_width.
14379 (image_instance_hash): ditto.
14381 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14382 (layout_query_geometry): ditto.
14383 (layout_layout): ditto.
14384 (syms_of_glyphs_widget): add margin-width.
14385 (image_instantiator_layout): allow margin-width.
14387 * glyphs.c (update_widget_instances): make a normal function.
14388 (syms_of_glyphs): remove Qupdate_widget_instances.
14391 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14392 so that we don't corrupt ideas about the last event or
14393 command. Remove widget-callback-current-channel fiddling.
14394 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14396 2000-05-01 Martin Buchholz <martin@xemacs.org>
14398 * XEmacs 21.2.33 is released.
14400 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14402 * make-src-depend: Allow dots in header file name.
14404 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14406 * mule-charset.h (struct charset_lookup): Add
14407 next_allocated_1_byte_leading_byte and
14408 next_allocated_2_byte_leading_byte.
14409 * mule-charset.c: Move above two variables so that those values
14412 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14414 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14415 when string length is zero.
14416 (find_charsets_in_emchar_string): Ditto.
14418 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14420 * lisp.h: extern Qdialog and Qmenubar.
14422 * gui-x.c: added events.h.
14423 also fixed typo which made the file uncompilable.
14425 * general.c: Added Qmenubar and Qdialog
14427 2000-04-28 Ben Wing <ben@xemacs.org>
14429 * frame-msw.c (mswindows_init_frame_1):
14430 * frame-msw.c (mswindows_mark_frame):
14431 * event-msw.c (mswindows_enqueue_dispatch_event):
14433 * console-msw.h (struct mswindows_frame):
14434 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14435 there are now three hash tables for callbacks.
14436 mswindows_enqueue_dispatch_event is no longer static.
14438 * dialog-x.c (maybe_run_dbox_text_callback):
14439 * dialog-x.c (dbox_descriptor_to_widget_value):
14440 switch to new cons3 form for callbacks.
14442 * glyphs-msw.c (mswindows_register_gui_item):
14443 * glyphs-msw.c (mswindows_widget_instantiate):
14444 * glyphs-msw.c (add_tree_item):
14445 * glyphs-msw.c (add_tab_item):
14446 new image instance parameter, so it can be passed to callback-ex.
14447 respect :callback-ex as well as :callback.
14449 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14452 * glyphs.c (print_image_instance):
14453 prettify, e.g. now prints widget type.
14456 certain funs have new image instance parameter.
14459 * gui.c (get_gui_callback):
14460 * gui.c (gui_item_add_keyval_pair):
14461 * gui.c (gui_item_init):
14462 * gui.c (gui_add_item_keywords_to_plist):
14463 * gui.c (mark_gui_item):
14464 * gui.c (gui_item_hash):
14465 * gui.c (gui_item_equal):
14466 * gui.c (copy_gui_item):
14467 * gui.c (syms_of_gui):
14468 recognize callback-ex in a number of places.
14469 also, fix the annoying "can't get out of yes-no dialog" bug.
14472 * gui.h (struct Lisp_Gui_Item):
14473 recognize callback-ex in a number of places.
14475 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14476 new parameter in button_item_to_widget_value.
14478 * glyphs-x.c (x_update_widget):
14479 * glyphs-x.c (x_button_instantiate):
14480 * glyphs-x.c (x_button_update):
14481 * glyphs-x.c (x_progress_gauge_instantiate):
14482 * glyphs-x.c (x_edit_field_instantiate):
14483 * glyphs-x.c (x_combo_box_instantiate):
14484 * glyphs-x.c (x_tab_control_instantiate):
14485 * glyphs-x.c (x_label_instantiate):
14486 new image instance parameter in various places.
14489 * event-Xt.c (enqueue_Xt_dispatch_event):
14490 this fun gets exported.
14493 * gui-msw.c (mswindows_handle_gui_wm_command):
14494 handle both :callback and :callback-ex, and generate our own
14495 event because it's one of the callback-ex arguments.
14498 * gui-x.c (popup_selection_callback):
14499 handle both :callback and :callback-ex, and generate our own
14500 event because it's one of the callback-ex arguments.
14501 * gui-x.c (button_item_to_widget_value):
14502 * gui-x.c (gui_items_to_widget_values_1):
14503 * gui-x.c (gui_item_children_to_widget_values):
14504 * gui-x.c (gui_items_to_widget_values):
14505 new image instance parameter in various places.
14507 * fns.c (Freplace_list):
14508 fix small typo in doc string.
14511 declare enqueue_Xt_dispatch_event.
14513 2000-04-28 Ben Wing <ben@xemacs.org>
14516 * buffer.c (Frecord_buffer):
14517 * buffer.c (syms_of_buffer):
14518 delete record-buffer-hook.
14521 * fns.c (Freplace_list):
14522 * fns.c (syms_of_fns):
14523 new primitive replace-list.
14526 slot for old buffer-alist.
14529 exfun replace-list.
14532 * redisplay.c (redisplay_frame):
14533 * redisplay.c (syms_of_redisplay):
14534 * redisplay.c (vars_of_redisplay):
14535 new hook buffer-list-changed-hook.
14538 2000-04-27 Ben Wing <ben@xemacs.org>
14540 * extents.h: extern in_modeline_generation.
14542 * redisplay.c (generate_formatted_string_db): set
14543 in_modeline_generation.
14545 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14546 flags if in modeline generation. otherwise frame-modified-tick
14547 is ticked far too often.
14548 Declare in_modeline_generation.
14550 2000-04-26 Ben Wing <ben@xemacs.org>
14552 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14554 (vars_of_emacs): add quick-build as an error-checking option.
14555 A bit kludgy, but there doesn't seem much point in creating
14556 a real var for this.
14558 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14560 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14562 * redisplay.h (struct display_line): Add a new variable,
14565 * redisplay.c (create_text_block): Set dl->line_continuation if
14566 the line continues.
14567 (create_string_text_block): Ditto.
14568 (regenerate_window_incrementally): Use line_continuation instead
14569 of searching continuation glyph.
14570 (add_margin_runes): Call add_glyph_rune.
14571 (add_glyph_rune): Handle margin glyph.
14573 2000-04-20 Martin Buchholz <martin@xemacs.org>
14575 * filelock.c (fill_in_lock_file_name):
14577 Check for IS_ANY_SEP instead of '/'.
14579 Avoid generating gratuitous garbage. Call user_login_name() directly.
14580 Never check errno without first seeing that system call failed.
14581 (unlock_file): Add GCPRO.
14582 (Flock_buffer): Fix docstring.
14583 (Ffile_locked_p): Fix docstring. Add GCPRO.
14585 2000-04-19 Martin Buchholz <martin@xemacs.org>
14587 * sysdep.c (get_pty_max_bytes):
14588 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14589 strings longer than 252 bytes.
14591 * md5.c: Unconditionally include ANSI header <limits.h>
14593 * glyphs-x.c (convert_EImage_to_XImage):
14594 * lisp-union.h (union Lisp_Object):
14595 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14597 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14599 * filelock.c (current_lock_owner): Remove unused variable o, p.
14601 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14603 * callint.c: Remove multiply defined symbol Qlet
14604 (syms_of_callint): ditto.
14606 2000-04-14 Andy Piper <andy@xemacs.org>
14608 * general.c (syms_of_general): add last-command, this-command, let
14611 * lisp.h: declare various symbols.
14613 * glyphs.h: declare Qwidget_callback_current_channel;
14615 * glyphs-widget.c (syms_of_glyphs_widget): add
14616 Qgui_callback_current_channel.
14617 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14619 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14620 widget-callback-current-channel when invoking the interactive
14621 arg. Also bind last-command and next-command when invoking the
14623 * gui-x.c (popup_selection_callback): ditto.
14625 * gui.c (get_gui_callback): massage args so that we are always
14626 calling eval. This allows us to add our own variable bindings
14629 * glyphs-x.c (x_button_instantiate): use
14630 gui_items_to_widget_values since this is GC safe.
14631 (x_progress_gauge_instantiate): ditto.
14632 (x_edit_field_instantiate): ditto.
14633 (x_label_instantiate): ditto.
14635 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14636 (emacs_Xt_event_widget_focus_out): new function
14637 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14639 (emacs_Xt_event_add_widget_actions): new function. add focus
14640 functions as actions.
14641 (init_event_Xt_late): use it.
14643 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14645 * event-stream.c (Fdispatch_event): Doc fix.
14647 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14649 * postgresql.c: Remove all references to PQsetenv*.
14651 * postgresql.h: Remove references to PGsetenvHandler object.
14652 * lrecord.h (lrecord_type): Ditto.
14654 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14656 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14657 real_heigh and real_width members, and accessor macros for these.
14659 * glyphs-msw.c (init_image_instance_geometry): New function.
14660 (init_image_instance_from_dibitmap): Use it.
14661 (mswindows_resource_instantiate): Use it.
14662 (init_image_instance_from_xbm_inline): Use it.
14663 (mswindows_initialize_image_instance_mask): Use real bitmap
14665 (mswindows_create_resized_bitmap): Ditto.
14666 (mswindows_create_resized_mask): Ditto.
14668 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14669 and bitmap to their surface size.
14671 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14673 * process-unix.c (unix_send_process): Guard against process MIA
14674 after Faccept_process_output.
14676 2000-04-11 Ben Wing <ben@xemacs.org>
14678 * eval.c (unbind_to_hairy): fix brokenness introduced by
14679 nanosecond speed improvements.
14681 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14683 * sunplay.c (init_device): To play sounds correctly, the device
14684 apparently needs to be initialized at least once by XEmacs. Make
14687 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14689 * redisplay.c (add_margin_runes): Add text image glyph
14692 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14694 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14695 gcc is newer than 2.5.
14697 2000-04-06 Colin Rafferty <colin@xemacs.org>
14699 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14701 * fns.c (size_bit_vector):
14702 * alloc.c (size_vector):
14703 (make_vector_internal):
14704 (make_bit_vector_internal):
14705 (sweep_bit_vectors_1):
14706 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14708 2000-04-06 Andy Piper <andy@xemacs.org>
14710 * gmalloc.c (malloc): undo previous change.
14715 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14717 * line-number.c (buffer_line_number): Revert to former version.
14719 2000-04-06 Andy Piper <andy@xemacs.org>
14721 * gmalloc.c (malloc): add error checking.
14726 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14727 button_item_to_widget_value arg.
14729 * glyphs-x.c (x_button_instantiate): add extra
14730 button_item_to_widget_value arg.
14731 (x_progress_gauge_instantiate): ditto.
14732 (x_edit_field_instantiate): ditto.
14733 (x_label_instantiate): ditto.
14735 * gui-x.c (gui_items_to_widget_values_1): add extra
14736 button_item_to_widget_value arg.
14737 (button_item_to_widget_value): add extra menu_item_p arg.
14739 * gui-x.h: change signature of button_item_to_widget_value.
14741 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14742 button_item_to_widget_value arg.
14744 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14746 * buffer.h (struct buffer): auto_save_modified should be long.
14748 2000-04-05 Andy Piper <andy@xemacs.org>
14750 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14752 (button_query_geometry): give a little more room so that athena
14755 2000-04-05 Andy Piper <andy@xemacs.org>
14757 * faces.c (complex_vars_of_faces): The widget face should inherit
14758 the font of the gui-element face.
14760 2000-04-04 Andy Piper <andy@xemacs.org>
14762 * glyphs-x.c (x_button_update): new function. unconditionally
14763 update a button's state when the instance is dirty.
14764 (image_instantiator_format_create_glyphs_x): add x_button_update.
14765 (x_widget_instantiate): remove old resize cruft.
14767 2000-04-02 Andy Piper <andy@xemacs.org>
14769 * frame.c (change_frame_size_1): The introduction of gutters means
14770 that we need to allow 0 as a potential frame dimension.
14772 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14774 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14775 image glyph if allow_cursor.
14776 (add_hscroll_rune): Don't allow cursor to border glyph.
14777 (create_text_block): Ditto.
14779 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14780 text not in buffer.
14781 (redisplay_output_layout): Call ensure_face_cachel_complete for
14785 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14787 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14789 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14792 * redisplay-tty.c (tty_output_display_block): Delete the routine
14793 for text image glyph
14794 * redisplay-x.c (x_output_display_block): ditto
14795 * redisplay-msw.c (mswindows_output_display_block): ditto
14797 2000-02-02 Mike Alexander <mta@arbortext.com>
14799 Note: Some of these were committed by accident as part of other
14802 * regex.c (regex_compile): Avoid compiler warnings.
14804 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14806 * nt.h: Declare term_ntproc correctly.
14808 * nt.c: Remove incorrect declaration of get_home_directory which
14809 is declared correctly in lisp.h.
14811 * keymap.c (get_keyelt): Avoid compiler warnings.
14812 (raw_lookup_key_mapper): Avoid compiler warnings.
14814 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14816 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14818 * filemode.c (mode_string): Avoid compiler warnings.
14820 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14823 * events-mod.h: Undef some things that winuser.h defines differently.
14825 * data.c (Faset): Avoid compiler warnings.
14827 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14829 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14831 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14832 Fall through to simple beep on error.
14833 Replace "extern" by real header file.
14835 * linuxplay.c: Use nativesound.h
14836 (play_sound_data): Return error code. Be less verbose on error.
14838 * sunplay.c: Use nativesound.h
14839 (play_sound_data): Return error code. Be less verbose on error.
14841 * ntplay.c: Use nativesound.h
14842 (play_sound_data): Return fake error code
14844 * sgiplay.c: Use nativesound.h
14845 (play_sound_data): Return error code
14847 * hpplay.c: Use nativesound.h, partially implement
14848 new error code. Break compilation until finished.
14849 (play_sound_data): error code.
14851 * nativesound.h (play_sound_file):
14852 (play_sound_data): Prototype in new header.
14854 2000-03-31 Andy Piper <andy@xemacs.org>
14856 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14857 for toggle and radio buttons.
14858 (image_instantiator_buttons): use it.
14860 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14862 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14863 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14864 found. Scrollbar event probably belonged to some old config.
14866 2000-03-31 Andy Piper <andy@xemacs.org>
14868 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14870 (initialize_widget_image_instance): default layout to
14871 LAYOUT_HORIZONTAL rather than 0.
14872 (widget_instantiate): reverse the item list at the end rather than
14874 (layout_layout): re-code for the border text at the front of the
14875 item list rather than at the end.
14876 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14877 provided by the user.
14878 (widget_query_geometry): comment.
14880 2000-03-30 Andy Piper <andy@xemacs.org>
14882 * glyphs-widget.c (image_instantiator_layout): allow standard
14883 widget keywords in layouts.
14885 * gutter.c (output_gutter): cope with nil gutter contents.
14887 * frame.c (Fset_frame_properties): add gutter docs.
14889 2000-03-29 Andy Piper <andy@xemacs.org>
14891 * toolbar-msw.c (TBSTYLE_FLAT): add.
14892 (mswindows_output_toolbar): minor fiddling.
14894 2000-03-29 Andy Piper <andy@xemacs.org>
14896 * gutter.c (output_gutter): force gutter size recalculation if
14897 what we are trying to display won't fit.
14898 (update_gutter_geometry): new function. A per-gutter version of
14899 update_frame_gutter_geometry.
14900 (update_frame_gutter_geometry): use it.
14901 (redraw_exposed_gutter): add extra debugging output.
14903 2000-03-28 Mike Alexander <mta@arbortext.com>
14905 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14906 (pdump_file_unmap): Implement it on Windows
14907 (pdump_file_get): Save alocated handles for pdump_file_unmap
14909 2000-03-28 Andy Piper <andy@xemacs.org>
14911 * gui.c (get_gui_callback): treat Quit specially.
14913 2000-03-27 Andy Piper <andy@xemacs.org>
14915 * glyphs.c (image_instantiate): be careful to check in the same
14918 2000-03-27 Didier Verna <didier@xemacs.org>
14920 * config.h.in: define the proper SMART_INCLUDE macro.
14921 handle renaming of `foo_h_path' to `foo_h_file'.
14923 * database.c: ditto.
14927 * linuxplay.c: ditto.
14929 * terminfo.c: ditto.
14931 * tooltalk.h: ditto.
14933 2000-03-27 Andy Piper <andy@xemacs.org>
14935 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14936 gets updated whenever the face might have changed.
14938 2000-03-26 Mike Alexander <mta@arbortext.com>
14940 * dumper.c (pdump_resource_free): Fix the comment.
14942 2000-03-21 Olivier Galibert <galibert@pobox.com>
14944 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14946 2000-03-22 Mike Alexander <mta@arbortext.com>
14948 * dumper.c: Include Windows headers on Windows
14949 (pdump_resource_free): Add a body to the function
14950 (pdump_load): exe_name -> exe_path and add some comments.
14952 2000-03-25 Mike Alexander <mta@arbortext.com>
14954 * gui.c (copy_gui_item_tree): Return a value in all cases
14956 2000-03-21 Didier Verna <didier@xemacs.org>
14958 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14960 (SMART_INCLUDE): new macro.
14961 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14962 the proper location.
14964 * postgresql.c: use it.
14968 2000-03-24 Andy Piper <andy@xemacs.org>
14970 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14973 2000-03-24 Andy Piper <andy@xemacs.org>
14975 * redisplay-output.c (compare_runes): use image_instance_changed
14976 to detect changes. Do not depend on glyphs_changed, only depend on
14978 (redisplay_output_layout): add debug messages.
14979 (compare_runes): ditto.
14981 * glyphs.h: declare new functions.
14982 (struct Lisp_Image_Instance): remove percent and associated
14985 * gui.h: declare new copying functions.
14987 * gui.c (copy_gui_item_tree): new function.
14988 (copy_gui_item): new function.
14989 (gui_item_id_hash): revert to standard hash.
14990 (gui_item_hash): ditto.
14991 (gui_item_hash_internal): deleted.
14992 (mark_gui_item): mark value.
14993 (gui_item_add_keyval_pair): add value.
14994 (gui_item_init): ditto.
14995 (gui_add_item_keywords_to_plist): ditto.
14996 (gui_item_equal): ditto.
14997 (syms_of_gui): add Q_value.
14999 * glyphs-x.c (x_progress_gauge_update): use pending items and
15000 value for setting the state.
15001 (x_update_widget): don't set items from pending here.
15003 * glyphs-widget.c (update_widget): update items here.
15004 (progress_gauge_set_property): use items for storing value. Put
15005 new value in pending items.
15007 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15008 items for new value. Convert percent -> value.
15009 (mswindows_tab_control_update): don't update items here.
15011 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15012 (update_subwindow): ditto.
15013 (image_instance_changed): new function. Compare hash values and
15014 past and present widget items.
15015 (image_instantiate): We more careful about where we instantiate
15017 (image_instantiate): add error checking.
15019 * gutter.c (syms_of_gutter): use -hook.
15021 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15023 * console-tty.c (Fset_console_tty_input_coding_system): Use
15025 (Fset_console_tty_output_coding_system): Use Qterminal.
15026 (tty_init_console): Use Qkeyboard and Qterminal.
15028 2000-03-21 Ben Wing <ben@xemacs.org>
15030 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15031 From Mike Alexander <mta@arbortext.com>.
15033 2000-03-21 Ben Wing <ben@xemacs.org>
15035 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15036 process brokenness. Proper implementation to come.
15038 Rename call-process-internal to old-call-process-internal.
15039 New impl. in process.el.
15041 2000-03-21 Martin Buchholz <martin@xemacs.org>
15043 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15045 2000-03-20 Andy Piper <andy@xemacs.org>
15047 * glyphs.c (full_list_hash): make hashes of the same elements in
15048 different orders return different values.
15050 2000-03-20 Martin Buchholz <martin@xemacs.org>
15052 * XEmacs 21.2.32 is released.
15054 2000-03-20 Martin Buchholz <martin@xemacs.org>
15056 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15057 (DFC_MALLOC_USE_CONVERTED_DATA):
15058 Add aliasing-safe casts to allow use with char* or unsigned char*
15061 * eldap.c (Fldap_open):
15062 (Fldap_search_basic):
15065 Make C++-compilable.
15066 Make sure GCPRO'ed variables are initialized.
15067 Use temp variables to avoid repeated calls to Flength.
15069 2000-03-16 Martin Buchholz <martin@xemacs.org>
15072 Make sure PATH_MAX is always defined.
15073 Include limits.h for PATH_MAX.
15074 Deprecate use of MAXPATHLEN.
15076 2000-03-10 Martin Buchholz <martin@xemacs.org>
15078 * emacs.c: Add reinit_vars_of_fileio.
15079 * symsinit.h: Add reinit_vars_of_fileio.
15080 * fileio.c (reinit_vars_of_fileio): New.
15081 * fileio.c (Fmake_temp_name):
15082 Initialize temp_name random number from microseconds to make
15083 collisions even less likely. Initialize always at process startup
15084 time. (make-temp-name) used to return the same file name twice in
15086 Random stylistic fiddling.
15089 2000-03-20 Andy Piper <andy@xemacs.org>
15091 * glyphs.c (image_instantiate): allow text glyphs to be
15092 instantiated in the minibuffer window.
15094 2000-03-19 Andy Piper <andy@xemacs.org>
15096 * glyphs.c (image_instance_hash): be careful about which items we
15099 * glyphs-widget.c (tab_control_set_property): record into pending
15100 items rather than the actual items.
15102 * glyphs-x.c (x_update_widget): use pending items to update with.
15104 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15107 * glyphs.c (mark_image_instance): mark pending items.
15109 * window.c (Fset_window_configuration): record the buffer.
15110 (Fselect_window): totally revert previous change which breaks many
15113 2000-03-18 Andy Piper <andy@xemacs.org>
15115 * glyphs-msw.c (mswindows_tab_control_update): force selected
15118 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15119 window domain cache, otherwise we get inconsistencies at
15120 startup. There is something fishy at startup which can lead to the
15121 minibuffer being the selected window when the gutter content is
15124 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15126 (parse_gui_item_tree_children): ditto.
15127 (parse_gui_item_tree_item): ditto.
15129 * glyphs.c (Fupdate_widget_instances): return something.
15131 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15133 * window.c (Fselect_window): Undo 2000-03-17 change.
15135 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15137 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15138 against v7.0 libraries. Insta-coredump city until the postgres
15141 2000-03-17 Andy Piper <andy@xemacs.org>
15143 * faces.c (complex_vars_of_faces): don't give the widget face an
15144 inherited background pixmap.
15146 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15149 * event-stream.c (Fdispatch_non_command_events): return something.
15151 * gutter.c (output_gutter): use widget face.
15152 (clear_gutter): ditto.
15154 * NEWS: adjust again.
15156 * window.c (Fselect_window): make sure this runs to completion to
15157 avoid oddities with Fset_window_configuration.
15158 (Fcurrent_window_configuration): in general do not save the
15159 minibuffer as the selected window.
15161 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15163 2000-03-16 Olivier Galibert <galibert@pobox.com>
15165 * emacs.c (Frunning_temacs_p): Revert previous patch.
15166 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15168 2000-03-16 Andy Piper <andy@xemacs.org>
15170 * glyphs-x.c (x_tab_control_update): if no widget values then
15173 * NEWS: update for new features.
15175 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15176 synthetic event to the native system.
15177 (reinit_vars_of_event_Xt): set force_event_pending to
15178 emacs_Xt_force_event_pending.
15180 * events.h (struct event_stream): add force_event_pending.
15182 * specifier.c (recompute_one_cached_specifier_in_window): add
15185 * redisplay.c (redisplay_frame): don't call
15186 update_frame_subwindows. Reset subwindow cachels when
15187 subwindows_changed, removing this was an optimization too far.
15189 * redisplay-output.c (compare_runes): reorganize so that we catch
15190 glyph changes when we want them. Set optimize_output when this
15191 would help layouts.
15192 (redisplay_output_layout): remove frame_really_changed, use
15193 optimize_output instead.
15195 * redisplay-msw.c (mswindows_output_display_block): reset
15196 optimize_output after outputting a glyph.
15197 * redisplay-x.c (x_output_display_block): ditto.
15198 * redisplay-tty.c (tty_output_display_block): ditto.
15200 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15202 (gutter_specs_changed): do specific gutter positions.
15203 (top_gutter_specs_changed): new function. Only update the
15204 specified gutter specs.
15205 (bottom_gutter_specs_changed): ditto.
15206 (left_gutter_specs_changed): ditto.
15207 (right_gutter_specs_changed): ditto.
15209 * gui.c (gui_item_hash_internal): new function, does a real hash.
15210 (gui_item_id_hash): use it.
15211 (gui_item_hash): hash the eval'ed gui_item.
15213 * gui-x.c (popup_selection_callback): send an eval event to call
15214 Fupdate_widget_instances.
15216 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15217 to call Fupdate_widget_instances.
15219 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15220 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15222 * glyphs.c: (update_frame_subwindows): deleted.
15223 (Fupdate_widget_instances): new function for updating the dirty
15224 state of widgets that might have changed.
15225 (syms_of_glyphs): add Qupdate_widget_instances.
15226 (full_list_hash): hash a list completely.
15227 (image_instance_hash): use it for items and properties.
15229 * frame-msw.c (mswindows_size_frame_internal): remove unused
15232 * faces.h (struct face_cachel): fix comment.
15234 * event-stream.c (Fdispatch_non_command_events): new
15235 function. Process non-command events, forcing an event cycle
15237 (syms_of_event_stream): declare.
15238 (event_stream_force_event_pending): new function. Force an event
15239 on the native event queue so that an event cycle will occur next
15243 (struct ntpipe_shove_stream):
15244 (mswindows_enqueue_dispatch_event):
15245 (mswindows_dequeue_dispatch_event):
15246 (mswindows_cancel_dispatch_event):
15247 (mswindows_pump_outstanding_events):
15248 (mswindows_drain_windows_queue):
15249 (mswindows_handle_paint):
15250 (mswindows_wnd_proc):
15251 (mswindows_key_to_emacs_keysym):
15252 (get_process_input_waitable):
15253 (emacs_mswindows_delete_stream_pair): re-indent file.
15254 (mswindows_need_event): do not process further fds if the windows
15255 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15256 fixes the 100% cpu problem.
15257 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15259 2000-03-15 Olivier Galibert <galibert@pobox.com>
15265 * emacs.c: Moved dump file searching to dumper.c.
15266 (Frunning_temacs_p): Fixed.
15268 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15269 last_lrecord_type_index_assigned.
15271 2000-02-20 Olivier Galibert <galibert@pobox.com>
15273 * symsinit.h: Added reinit parameter to init_console_stream
15276 * lisp.h: Added file parameter to pdump_load declaration.
15278 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15279 support. Added dump file searching.
15281 * config.h.in: Added EMACS_PROGNAME.
15283 * console-stream.c (init_console_stream): Fix reinitialisation
15284 when running from temacs.
15286 * alloc.c (pdump): Add id support.
15287 (pdump_load): Add file parameter and signature/id support.
15289 * Makefile.in.in: Add full pdump support.
15291 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15293 * postgresql.c: Update documentation to reflect latest code
15295 (print_result): Show tuple counts in printed representation when
15297 (Fpq_put_nbytes): MULE-ize.
15298 (Fpq_get_line_async): Ditto.
15300 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15302 * postgresql.c (Fpq_lo_import): Fix return value.
15303 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15305 2000-03-13 Ben Wing <ben@xemacs.org>
15307 * alloc.c (pdump_load):
15308 Fix compile warning under mswin.
15310 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15312 * postgresql.c: Mule-ization, bug fixes.
15313 Use PG_CODING to encapsulate coding system name changes.
15314 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15315 (pg-coding-system): Create.
15317 (Fpq_conn_defaults): Mule-ize.
15318 (Fpq_connectdb): Mule-ize & bug fix.
15319 (Fpq_connect_start): Mule-ize.
15320 (Fpq_set_client_encoding): Mule-ize.
15321 (Fpq_finish): Document `DEAD' connection status.
15322 (Fpq_clear): Ditto.
15323 (Fpq_pgconn): Mule-ize.
15324 (Fpq_exec): Mule-ize & bug fix.
15325 (Fpq_send_query): Ditto.
15326 (Fpq_get_result): Ditto.
15327 (Fpq_res_status): Mule-ize.
15328 (Fpq_result_error_message): Mule-ize.
15329 (Fpq_ntuples): fix comments.
15330 (Fpq_fname): Mule-ize.
15331 (Fpq_fnumber): Mule-ize.
15332 (Fpq_ftype): fix comments.
15333 (Fpq_get_value): Mule-ize.
15334 (Fpq_cmd_status): Ditto.
15335 (Fpq_cmd_tuples): Ditto.
15336 (Fpq_oid_value): Ditto.
15337 (Fpq_notifies): Ditto.
15338 (Fpq_lo_import): Ditto.
15339 (Fpq_lo_export): Ditto.
15340 (Fpq_get_line): Ditto.
15341 (Fpq_put_line): Mule-ize and bug fix.
15342 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15344 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15346 * postgresql.c (vars_of_postgresql): Mule-ize.
15347 (Fpq_conn_defaults): Ditto.
15349 2000-03-12 Ben Wing <ben@xemacs.org>
15351 * alloc.c (Fmake_byte_code):
15352 * alloc.c (debug_string_purity_print):
15353 * alloc.c (pdump_backtrace):
15354 * alloc.c (pdump_get_indirect_count):
15355 * alloc.c (pdump_register_sub):
15356 * alloc.c (pdump_register_object):
15357 * alloc.c (pdump_register_struct):
15358 * alloc.c (pdump_dump_data):
15359 * alloc.c (pdump_reloc_one):
15363 * console-msw.c (GetConsoleHwnd):
15364 * console-msw.c (msw_hide_console):
15365 * console-msw.c (msw_show_console):
15366 * console-msw.c (msw_ensure_console_buffered):
15367 * console-msw.c (msw_output_console_string):
15368 * console-msw.c (console_type_create_mswindows):
15370 a) Added functions to manipulate the console window for use with
15373 b) Added support for writing text to the console, which is now
15374 used under Windows when xemacs is not being run non-interactively,
15375 to write text that would otherwise be destined for stdout because
15376 under these circumstances, text written to stdout tends to
15377 disappear and not be seen.
15381 * event-Xt.c (x_event_to_emacs_event):
15382 * event-Xt.c (describe_event_window):
15383 * events-mod.h (XEMACS_MOD_CONTROL):
15385 * events.c (Fmake_event):
15386 * events.c (character_to_event):
15387 * events.c (event_to_character):
15388 * events.c (format_event_object):
15389 * events.c (Fevent_modifiers):
15391 * events.h (struct key_data):
15392 * events.h (struct button_data):
15393 * events.h (struct misc_user_data):
15394 * frame-x.c (Fcde_start_drag_internal):
15395 * frame-x.c (Foffix_start_drag_internal):
15396 * gpmevent.c (Freceive_gpm_event):
15398 * keymap.c (bucky_sym_to_bucky_bit):
15399 * keymap.c (control_meta_superify):
15400 * keymap.c (make_key_description):
15401 * keymap.c (keymap_lookup_directly):
15402 * keymap.c (create_bucky_submap):
15403 * keymap.c (keymap_store):
15404 * keymap.c (define_key_check_and_coerce_keysym):
15405 * keymap.c (define_key_parser):
15406 * keymap.c (define_key_alternate_name):
15407 * keymap.c (Fdefine_key):
15408 * keymap.c (raw_lookup_key_mapper):
15409 * keymap.c (struct map_keymap_unsorted_closure):
15410 * keymap.c (map_keymap_unsorted_mapper):
15411 * keymap.c (map_keymap_sort_predicate):
15412 * keymap.c (map_keymap_sorted):
15413 * keymap.c (accessible_keymaps_mapper_1):
15414 * keymap.c (where_is_recursive_mapper):
15415 * keymap.c (describe_map_mapper):
15416 * keymap.c (describe_map_sort_predicate):
15417 * keymap.c (describe_map):
15418 * keymap.c (complex_vars_of_keymap):
15419 And a number of other files, the key modifier preprocessor
15420 constants that xemacs uses have names that conflict with constants
15421 defined under MS Windows for other purposes, so they were renamed
15422 to begin with the prefix XEMACS_. The variables that hold such
15423 modifiers were changed to consistently be of type int to fix
15424 various compile warnings.
15426 * console.c (complex_vars_of_console):
15429 * device-msw.c (mswindows_finish_init_device):
15430 * device-msw.c (msw_get_workspace_coords):
15431 * device-msw.c (mswindows_device_system_metrics):
15432 and various other files, added support for a new
15433 device property called offset-workspace which returns the position
15434 of the upper left corner of the workspace area and goes along with
15435 the existing size-workspace property.
15438 * dialog-msw.c (push_bufbyte_string_as_unicode):
15439 * dialog-msw.c (mswindows_popup_dialog_box):
15440 Added support for XEmacs-style accelerator specifications in
15441 button text. Note: I didn't add support for this under X Windows,
15442 and somebody needs to do this.
15445 * dialog.c (Fpopup_dialog_box):
15446 Documented the support for accelerators that was just mentioned.
15448 editfns.c (get_home_directory): Changed behavior under Windows
15449 when HOME not defined; former behavior was irretrievably broken.
15452 * emacs.c (main_1):
15454 * minibuf.c (clear_echo_area_internal):
15455 * minibuf.c (echo_area_append):
15457 * print.c (std_handle_out_external):
15458 * print.c (std_handle_out_va):
15460 * print.c (write_string_to_stdio_stream):
15461 * print.c (output_string):
15462 * print.c (debug_print):
15463 * print.c (debug_backtrace):
15464 * print.c (debug_short_backtrace):
15465 Cleaned up the code that prints text to stdout so that this can be
15466 changed to output into a console window instead under MS Windows,
15467 as described above.
15470 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15471 * eval.c (internal_catch):
15472 * eval.c (unwind_to_catch):
15473 * eval.c (throw_or_bomb_out):
15474 * eval.c (condition_case_1):
15475 * eval.c (signal_1):
15476 * eval.c (check_error_state_sanity):
15477 * eval.c (call_with_suspended_errors_1):
15478 * eval.c (call_with_suspended_errors):
15479 * eval.c (reinit_vars_of_eval):
15480 Added code to catch throw loops and check for a pesky bug that may
15484 * event-msw.c (key_needs_default_processing_p):
15485 * event-msw.c (mswindows_wnd_proc):
15486 * event-msw.c (mswindows_modifier_state):
15487 * event-msw.c (emacs_mswindows_quit_p):
15488 * event-msw.c (vars_of_event_mswindows):
15489 a) Added support for using the alt key to select menu items as is
15490 standard under MS Windows. This is controlled using the variable
15491 menu-accelerator-enabled, just like under X Windows. There is an
15492 option on the options menu to turn this support on. I really
15493 think that it should be on by default under Windows, but I'm not
15494 going to make this change yet.
15496 b) Added support for dynamic display size changes under Windows.
15499 * event-stream.c (maybe_echo_keys):
15500 * event-stream.c (Fnext_event):
15501 * event-stream.c (command_builder_find_leaf):
15502 * event-stream.c (lookup_command_event):
15503 * event-stream.c (execute_command_event):
15504 * event-stream.c (pre_command_hook):
15505 * event-stream.c (post_command_hook):
15506 * event-stream.c (syms_of_event_stream):
15507 * event-stream.c (vars_of_event_stream):
15508 * event-stream.c (complex_vars_of_event_stream):
15509 * events.h (struct command_builder):
15511 a) Tried to clean up a little bit the horribly written x-specific
15512 accelerator code that crept into this file. I moved this code
15513 into menubar-x.c where it belongs. I also needed to move the
15514 command builder structure into the file events.h because it is
15515 accessed directly by this accelerator code. What I didn't do, but
15516 which should be done at some point, is to properly abstract this
15517 code using device methods instead of the kludgy way that it
15518 currently hooks into the event code.
15520 b) Added the lisp variables this-command-properties and
15521 last-command- properties, which should be used to synchronize two
15522 adjacent commands in preference to playing games with the variable
15523 this-command, which is typically what happens.
15525 c) Added some slightly nasty code to hook into the lisp support
15526 for shifted- motion-key selection. This is actually necessary for
15527 somewhat complicated reasons, which are described in
15528 simple.el. (NB: I think the proper thing would be to have the code
15529 that calls the pre and post command hooks also call out to generic
15530 lisp functions in simple.el, where all built-in stuff could be
15531 added. I will think about this more.)
15533 * event-unixoid.c (poll_fds_for_input):
15534 * lread.c (readchar):
15535 * redisplay-tty.c (tty_clear_frame):
15536 * redisplay-x.c (x_get_gc):
15537 * signal.c (interrupt_signal):
15538 And a whole bunch of other files: fixed up places that printed
15539 directly to stderr to instead call the function stderr_out so that
15540 the changes I made under Windows work correctly.
15542 * filemode.c (mode_string):
15546 * frame-msw.c (mswindows_size_frame_internal):
15547 Fixed the computation of frame size and position to keep the frame
15548 within the workspace area, rather than within the physical
15549 dimensions of the screen, so that the frame doesn't overlap window
15550 manager decorations, such as the start menu and toolbar, typically
15551 at the bottom of the screen.
15553 * frame.c (vars_of_frame):
15554 Changed the default frame title format under MS Windows to consist
15555 of buffername-XEmacs, which is standard under MS Windows. I think
15556 it might be a good idea to change this everywhere because I think
15557 it is superior to the current frame title format, but this is the
15558 kind of change that is likely to cause some people to get annoyed,
15559 so I'm not making it.
15561 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15563 * gui-msw.c (mswindows_handle_gui_wm_command):
15564 Fixed compile warnings.
15567 * gui-x.c (strdup_and_add_accel):
15568 * gui-x.c (button_item_to_widget_value):
15570 Added code to automatically put an accelerator onto the beginning
15571 of menu items that don't have one as is now the standard, and is
15572 described more later. Also fixed things so that the menu item
15573 name can be an evaluated expression, again a new standard.
15576 * gui.c (gui_item_add_keyval_pair):
15577 * gui.c (make_gui_item_from_keywords_internal):
15578 * gui.c (gui_add_item_keywords_to_plist):
15579 * gui.c (gui_item_accelerator):
15580 * gui.c (gui_name_accelerator):
15581 * gui.c (gui_item_included_p):
15582 * gui.c (gui_item_display_flush_left):
15583 * gui.c (gui_item_display_flush_right):
15584 * gui.c (parse_gui_item_tree_item):
15585 * gui.c (parse_gui_item_tree_children):
15586 * gui.c (parse_gui_item_tree_list):
15587 Mule-ized. Cleanup. GCPRO addition.
15589 * line-number.c (buffer_line_number):
15591 * lisp.h (EMACS_INT_MAX):
15592 Added the manifest constant EMACS_INT_MIN corresponding to the
15593 existing constant EMACS_INT_MAX. This is partially to fix compile
15594 warnings under Windows, and partly for cleanliness.
15597 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15598 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15599 * menubar-msw.c (displayable_menu_item):
15600 * menubar-msw.c (populate_menu_add_item):
15601 * menubar-msw.c (populate_or_checksum_helper):
15602 * menubar-msw.c (populate_menu):
15603 * menubar-msw.c (update_frame_menubar_maybe):
15604 * menubar-msw.c (prune_menubar):
15605 * menubar-msw.c (msw_char_is_accelerator):
15606 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15607 * menubar-msw.c (mswindows_handle_wm_command):
15608 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15609 * menubar-msw.c (mswindows_handle_wm_initmenu):
15610 * menubar-msw.c (mswindows_update_frame_menubars):
15611 * menubar-msw.c (mswindows_free_frame_menubars):
15612 * menubar-msw.c (mswindows_popup_menu):
15613 Fixed a bug in handling accelerators where an extra character
15614 would be displayed in the menu item. Also generalized the
15615 function displayable_menu_item because it is now used by the
15616 dialog box code as well. And finally, added code in the functions
15617 that create the menubar to extract a list of accelerators for the
15618 top level menubar, which is used in the event code to determine
15619 whether a particular alt-key combination should be used to invoke
15620 a menu item, or should be passed through to access the standard
15621 XEmacs keymap binding for this key combination.
15623 Much needed GCPROing.
15626 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15627 * menubar-x.c (menu_item_descriptor_to_widget_value):
15628 * menubar-x.c (restore_in_menu_callback):
15629 * menubar-x.c (x_popup_menu):
15630 * menubar-x.c (menu_move_up):
15631 * menubar-x.c (menu_move_down):
15632 * menubar-x.c (menu_move_left):
15633 * menubar-x.c (menu_move_right):
15634 * menubar-x.c (menu_select_item):
15635 * menubar-x.c (command_builder_operate_menu_accelerator):
15636 * menubar-x.c (menu_accelerator_junk_on_error):
15637 * menubar-x.c (command_builder_find_menu_accelerator):
15638 * menubar-x.c (Faccelerate_menu):
15640 Moved a whole bunch of code here that was previously in
15641 event-stream.c as described above. There is also code connected
15642 to the new standard of adding an accelerator to the beginning of
15643 menu items that don't have one as described above and below.
15646 * menubar.c (menu_parse_submenu_keywords):
15647 * menubar.c (Fmenu_find_real_submenu):
15648 * menubar.c (Fnormalize_menu_item_name):
15649 * menubar.c (syms_of_menubar):
15650 * menubar.c (vars_of_menubar):
15651 * menubar.c (complex_vars_of_menubar):
15653 a) Cleaned up a bunch of documentation and improved it.
15655 b) XEmacs now automatically adds an accelerator onto the beginning
15656 of any menu items that don't have one. I did this because there
15657 will inevitably be some menu items on the main menubar that don't
15658 have accelerators on them because the package that adds that
15659 particular menu item hasn't yet been fixed up to have accelerators
15660 in them and it looked rather strange to have some items with and
15661 some items without accelerators, especially since even in items
15662 without accelerators, you can, at least under windows, still
15663 access the item through an accelerator corresponding to the first
15664 character in the item's name. If people don't like this behavior,
15665 I can add a variable to turn it off optionally, but I'm not sure
15666 this is a good idea because we really do need to have accelerators
15667 on all of the menu items, and if a package doesn't like the
15668 accelerators being put on the first character, then it should put
15669 the accelerators where they belong.
15671 c) I made a behavior change, which is that the descriptor that
15672 specifies the text of the menu item, which formerly was just a
15673 string, can now also be an evaluated expression. This makes this
15674 descriptor parallel with all of the others, which could also be
15675 evaluated expressions. This also obviates the need for the
15676 keyword :label, which was previously listed in the documentation
15677 as unimplemented, and which was for the same purpose.
15682 * ntproc.c (new_child):
15683 * ntproc.c (sys_spawnve):
15684 * ntproc.c (find_child_console):
15685 * ntproc.c (sys_kill):
15686 Fixed compile warnings. By the way, this file should really go
15687 away entirely, and this will happen as soon as Kirill makes his
15688 final round of process cleanups, which affect the function
15692 * process-nt.c (struct nt_process_data):
15693 * process-nt.c (find_process_from_pid):
15694 * process-nt.c (send_signal_the_nt_way):
15695 * process-nt.c (enable_child_signals):
15696 * process-nt.c (find_child_console):
15697 * process-nt.c (send_signal_the_95_way):
15698 * process-nt.c (nt_finalize_process_data):
15699 * process-nt.c (ensure_console_window_exists):
15700 * process-nt.c (nt_create_process):
15701 * process-nt.c (nt_kill_child_process):
15702 * process-nt.c (nt_kill_process_by_pid):
15703 * process-nt.c (nt_open_network_stream):
15704 * process-nt.c (vars_of_process_nt):
15705 Copied over code from Emacs 20.5 to correctly send signals to sub-
15706 processes under Windows 95. Also added code to automatically
15707 create and hide console window when a sub-process is created under
15708 Windows 95, which obviates the need for the separate runemacs.exe
15709 executable, and finally implemented some variables that were
15710 implemented in Emacs 20.5, but previously not in XEmacs. These
15711 include mswindows- start-process-share-console and
15712 mswindows-start-process-inherit-error-mode. (Both of these only
15713 apply to Windows 95.)
15715 * regex.c (regex_compile): Fixed a compile warning.
15718 * select-msw.c (mswindows_own_selection):
15719 * select-msw.c (mswindows_get_foreign_selection):
15720 * select-msw.c (mswindows_disown_selection):
15721 * select-msw.c (console_type_create_select_mswindows):
15722 * select-msw.c (syms_of_select_mswindows):
15723 Cleaned up the file and implemented the device method
15724 selection_exists_p, which had accidentally been left out. Also
15725 removed four lisp functions that were remnants from before the
15726 time when the selection code was properly device abstracted.
15727 These functions are no longer needed because there are generic
15728 equivalents, and because they were added recently and don't exist
15729 in FSF Emacs, I don't think there's any problem with just deleting
15733 * sysdep.c (sys_subshell):
15734 Fixed a compile warning, although in this case there's probably
15735 something wrong with this code, and it ought to be looked into
15736 more thoroughly by somebody who understands it.
15739 * window.c (Fwindow_text_area_height):
15740 * window.c (Fwindow_width):
15741 * window.c (Fwindow_full_width):
15742 * window.c (Fwindow_pixel_width):
15743 * window.c (debug_print_window):
15744 * window.c (syms_of_window):
15745 Added functions window-text-area-height and window-full-width,
15746 which are functions for returning various width and height
15747 characteristics of a window. (One of these functions is necessary
15748 for making the file dialog box work correctly, and the other one
15749 was added for completeness.) Also added a table to the
15750 documentation for window-height which describes the entire scheme
15751 for accessing width and height characteristics of a window.
15753 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15755 * nt.c (fstat): Added a comment for another problem with
15756 non-encapsulated [f]stat(), reported by Adrian Aichner
15757 <aichner@ecf.teradyne.com>.
15759 2000-03-11 Andy Piper <andy@xemacs.org>
15761 * window.c (make_dummy_parent): initialize subwindow instance
15763 (Fset_window_configuration): zero extent_modiff.
15765 2000-03-10 Andy Piper <andy@xemacs.org>
15767 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15768 more changes can be triggered.
15769 (Fredisplay_frame): ditto.
15770 (Fredraw_device): ditto.
15771 (Fredisplay_device): ditto.
15772 (redisplay_frame): make non-static.
15773 (redisplay_frame): call update_frame_gutter_geometry outside of
15776 * gutter.h: declare update_frame_gutter_geometry.
15778 * redisplay.h: declare redisplay_frame.
15780 * gutter.c (update_frame_gutter_geometry): move geometry changes
15781 in update_frame_gutters here. Geometry changes can only occur
15782 outside of redisplay.
15783 (update_frame_gutters): remove geometry change code.
15784 (Fredisplay_gutter_area): make sure that we are in display when we
15785 update and that we have flushed any size changes.
15787 2000-03-11 Andy Piper <andy@xemacs.org>
15789 * alloc.c (pdump_dump_data): remove i & count shadows.
15791 2000-02-27 Mike Alexander <mta@arbortext.com>
15793 * sysdep.h: Declare pdump_read_file
15795 * sysdep.c (pdump_read_file): New function
15797 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15800 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15802 * lrecord.h: add `lrecord_type_pgsetenv'.
15804 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15806 * symsinit.h: declare (vars|syms)_of* functions.
15807 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15809 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15811 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15813 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15816 * emacs.c (main_1): Call postgres initialization code.
15818 * postgresql.h: New file. PostgreSQL RDBMS support.
15819 * postgresql.c: New file.
15821 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15823 * redisplay-output.c (redisplay_output_display_block): Disable
15826 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15828 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15829 (Fcanna_henkan_next): Ditto.
15830 (Fcanna_bunsetu_henkou): Ditto.
15831 (Fcanna_henkan_kakutei): Ditto.
15832 (Fcanna_henkan_end): Ditto.
15833 (Fcanna_henkan_quit): Ditto.
15834 (Fcanna_henkan_next): Set retun value correctly.
15835 (c2mu): Use unsigned char instead of signed char.
15837 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15839 * emacs.c (main_1): Always call syms_of_gui.
15840 * inline.c: include gui.h
15842 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15844 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15845 converted to Lisp_Object.
15846 (Qtop_bottom): New variable.
15847 (syms_of_redisplay): Initialize it.
15848 * redisplay.h (Vvisible_bell): Ditto.
15849 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15850 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15851 only flash top and bottom.
15853 2000-03-08 Andy Piper <andy@xemacs.org>
15855 * buffer.c (Frename_buffer): record new buffer name the right way.
15857 2000-03-08 Andy Piper <andy@xemacs.org>
15859 * glyphs.c (update_subwindow): increase hash depth so that widget
15860 items get picked up properly.
15862 * redisplay-output.c (compare_runes): increase hash depth so that
15863 widget items get picked up properly.
15865 2000-03-08 Andy Piper <andy@xemacs.org>
15867 * gutter.c (output_gutter): add some debug.
15869 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15870 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15871 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15873 * redisplay-output.c (compare_runes): use display_hash to
15874 determine if glyphs really are not the same.
15876 * glyphs.c (update_subwindow): check display_hash to see if
15877 anything really needs to be updated. If not then do
15878 nothing. Record the display_hash after updating.
15879 (image_instance_equal): compare the image_instance face also.
15881 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15883 * redisplay.h: Fix comment style.
15885 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15887 * consle-msw.h (struct mswindows_frame):
15888 Added new member paint_pending to indicate whether a WM_PAINT
15889 magic event has been queued for this frame.
15891 * event-msw.c (mswindows_drain_windows_queue):
15892 Don't queue a WM_PAINT magic event if one is already queued.
15893 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15895 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15897 2000-03-07 Didier Verna <didier@xemacs.org>
15899 * dired.c: #include `regex.h' after `sysfile.h'.
15901 2000-03-06 Martin Buchholz <martin@xemacs.org>
15903 * sound.c (init_nas_sound): Fix compiler warning.
15905 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15907 (MARK_STRUCT_AS_FREE):
15908 (MARK_STRUCT_AS_NOT_FREE):
15909 Make `gcc -fstrict-aliasing' work properly.
15911 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15913 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15914 (mswindows_delete_device): Call CoUnnitialize().
15916 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15918 2000-02-25 <CraigL@DyCon.com>
15920 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15923 * sysdep.c: This extern declaration for environ prevents MinGW
15924 from finding the variable in CRTDLL.DLL.
15926 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15928 (SHGFI_EXETYPE): ..
15929 (WM_MOUSEWHEEL): ..
15930 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15932 (MMRESULT): Removed, now defined in cygwin's windows headers.
15934 (uid_t,gid_t,pid_t,ssize_t): ..
15935 (_timeb): Removed, MinGW defines both _timeb and timeb.
15936 (HAVE_H_ERRNO): Added.
15937 (HAVE_TZNAME): Added, configure is not detecting this.
15939 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15941 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15942 * syntax.c (syntax_match): Use it.
15944 * cmds.c: Import auto-fill-chars from FSF Emacs.
15945 (Vauto_fill_chars): New variables.
15946 (internal_self_insert): Check Vauto_fill_chars.
15948 Declare auto-fill-chars as a Lisp variable and initialize it.
15950 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15952 * fileio.c (Fmake_symbolic_link):
15954 Run handlers even if local machine doesn't have symlinks.
15956 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15958 * event-msw.c (mswindows_drain_windows_queue):
15959 Don't generate paint magic events for non-XEmacs frames.
15961 2000-03-05 Andy Piper <andy@xemacs.org>
15963 * redisplay.c (redisplay_frame): generate_displayable_area and
15964 friends assumes that we are not in GC, we therefore have to make
15965 sure that this doesn't happen.
15967 * gutter.c (calculate_gutter_size): generate_displayable_area
15968 assumes that we are not in GC, we therefore have to make sure that
15969 this doesn't happen.
15971 2000-03-05 Martin Buchholz <martin@xemacs.org>
15973 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15975 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15977 * redisplay.c (regenerate_window): Make sure we set a sane value
15978 for end_pos even if we jump out of the loop.
15979 (regenerate_window): Answer Ben's question :-).
15980 (start_end_of_last_line): Add may_error argument.
15981 (start_of_last_line):
15982 (end_of_last_line): Pass may_error = 0.
15983 (end_of_last_line_may_error): New function.
15984 (pixel_to_glyph_translation): Use it, so we don't crash in
15987 2000-03-04 Andy Piper <andy@xemacs.org>
15989 * window.h (struct window): add gutter_extent_modiff.
15991 * window.c (allocate_window): zero out gutter_extent_modiff.
15993 * redisplay.h: declare sync_display_line_structs.
15995 * redisplay.c (add_glyph_rune): add a better comment.
15997 * redisplay-output.c (sync_display_line_structs): made non-static.
15998 (compare_runes): remove unneccesary glyph cachel access.
16000 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16002 * gutter.c (output_gutter): don't output the gutter if extent
16003 changes only involve extents in buffers. use 4 sets of display
16005 (gutter_extent_signal_changed_region_maybe): new function. Mark
16006 extents in gutters as changed.
16007 (update_frame_gutters): use 4 sets of display lines.
16008 (reset_gutter_display_lines): ditto.
16009 (free_frame_gutters): ditto.
16010 (redraw_exposed_gutter): force output of gutters.
16012 * frame.h (struct frame): add 4 sets of gutter display lines.
16014 * extents.c: (extent_changed_for_redisplay): signal changes to
16015 extents in strings in the gutter as well as extents in buffers.
16017 2000-03-02 Andy Piper <andy@xemacs.org>
16019 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16021 * frame.c (Fmake_frame): make sure the gutters get initialized
16022 after the frame is visible.
16023 (set_frame_selected_window): re-arrange compilation macros a
16025 (change_frame_size_1): mark gutters changed.
16027 * device.c (Fset_device_class): mark gutters changed.
16029 2000-03-01 Andy Piper <andy@xemacs.org>
16031 * window.c (window_top_frame_gutter_height): deleted.
16032 (window_bottom_frame_gutter_height): ditto.
16033 (window_left_frame_gutter_height): ditto.
16034 (window_right_frame_gutter_height): ditto.
16035 (window_top_gutter_height): don't use them.
16036 (window_bottom_gutter_height): ditto.
16037 (window_left_gutter_width): ditto.
16038 (window_right_gutter_width): ditto.
16039 (Fsplit_window): ditto.
16040 (Fwindow_pixel_edges): don't use border dimensions here.
16042 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16043 (update_scrollbar_instance): ditto.
16045 * redisplay.c (generate_modeline): don't take gutters into account.
16046 (generate_modeline): ditto.
16047 (redisplay_frame): small gutter display optimization.
16049 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16051 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16052 gutters into account.
16054 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16055 for window position and type.
16057 * gutter.c (get_gutter_coords): fix for frame gutters.
16058 (update_frame_gutters): update frame geometry if the gutters have
16060 (init_frame_gutters): record current gutter geometries.
16062 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16064 (mswindows_widget_instantiate): ditto.
16066 * frame.h (struct frame): add current_gutter_bounds.
16068 * frame.c (change_frame_size_1): position window and minibuffer
16069 appropriately taking into account the frame gutters.
16071 * frame-x.c: (x_initialize_frame_size): take into account the
16074 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16076 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16078 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16080 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16082 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16084 * file-coding.c (reset_decoding_stream): Clear previous
16085 detection state when autodetect.
16087 2000-02-29 Didier Verna <didier@xemacs.org>
16089 * extents.c (set_extent_glyph_1): don't require extents to be
16092 2000-02-27 Andy Piper <andy@xemacs.org>
16094 * gutter.c (Fset_default_gutter_position): don't default left and
16095 right gutter visibility to t.
16096 (Fset_default_gutter_position): run
16097 default-gutter-position-changed-hook.
16098 (syms_of_gutter): add default-gutter-position-changed-hook.
16100 2000-02-26 Andy Piper <andy@xemacs.org>
16102 * specifier.c (Fmake_specifier): add gutter references.
16104 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16106 * lisp.h: declare Fvalid_plist_p.
16108 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16110 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16111 well as its visibility so that it gets reconstructed.
16112 (construct_window_gutter_spec): new function. Construct a string
16113 to be displayed in the gutter from a plist of strings. Take care
16114 to only use elements that are declared as visible.
16115 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16117 (gutter_validate): allow plists of strings in the specifier.
16118 (gutter_specs_changed): construct the real_gutter from the gutter
16119 specs using construct_window_gutter_spec.
16120 (gutter_visible_validate): gutter-visible is a new specifier type.
16121 (Fgutter_visible_specifier_p): new function for the new specifier.
16122 (syms_of_gutter): declare gutter-visible and
16123 Fgutter_visible_specifier_p.
16124 (specifier_type_create_gutter): intitalize new gutter-visible
16126 (reinit_specifier_type_create_gutter): ditto.
16127 (specifier_vars_of_gutter): use new specifier type for gutter
16129 (init_frame_gutters): construct real_gutter correctly.
16130 (Fgutter_specifier_p): beef up documentation.
16131 (Fgutter_size_specifier_p): ditto.
16133 * winslots.h: add real_gutter slots.
16135 2000-02-25 Andy Piper <andy@xemacs.org>
16137 * device-msw.c: Be kind to older cygwin versions. From Raymond
16138 Toy <toy@rtp.ericsson.se>.
16140 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16141 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16143 2000-02-25 Martin Buchholz <martin@xemacs.org>
16145 * elhash.c (MARK_OBJ): Practice macro hygiene.
16147 2000-02-24 Martin Buchholz <martin@xemacs.org>
16149 * miscplay.c: s/__inline__/inline/g;
16150 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16151 (get_device_compdc): INLINE ==> static inline
16152 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16153 find -name '*.h' | \
16154 xargs global-replace \
16155 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16157 2000-02-25 Andy Piper <andy@xemacs.org>
16159 * window.c (window_top_frame_gutter_height): new function.
16160 (window_top_window_gutter_height): ditto.
16161 (window_top_gutter_height): use them.
16162 (window_bottom_frame_gutter_height): new function.
16163 (window_bottom_window_gutter_height): ditto.
16164 (window_bottom_gutter_height): use them.
16165 (window_left_window_gutter_width): new function.
16166 (window_left_frame_gutter_width): ditto.
16167 (window_left_gutter_width): use them.
16168 (window_right_window_gutter_width): new function.
16169 (window_right_frame_gutter_width): ditto.
16170 (window_right_gutter_width): use them.
16171 (window_pixel_height): new function. calulate window pixel height
16172 with frame gutter involvement.
16173 (Fsplit_window): calculate new sizes taking frame gutters into
16175 (window_char_height_to_pixel_height): don't include frame gutters.
16176 (window_char_height): use window_pixel_height.
16177 (window_pixheight): rename from window_pixel_height.
16178 (change_window_height): use it.
16179 (window_pixel_height_to_char_height): don't include frame gutters.
16180 (window_char_width_to_pixel_width): ditto.
16182 2000-02-25 Andy Piper <andy@xemacs.org>
16184 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16187 2000-02-24 Martin Buchholz <martin@xemacs.org>
16189 * alloc.c (staticpro):
16190 (staticpro_nodump):
16195 (compact_string_chars):
16196 (pdump_dump_wired):
16197 Convert: if (foo) abort(); ==> assert (! foo);
16199 * eldap.c (Fldap_search_basic):
16203 Fix compiler warnings, and possible crashes if (random) return
16204 value were to be used.
16206 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16208 * device-msw.c: Workaround ResetDC failure.
16210 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16211 applying a devmode.
16213 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16214 (mswindows_text_width): Do not start printer page.
16216 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16218 * glyphs-msw.c: Added image methods to msprinter console and
16219 msprinter-specific image instantiation.
16221 2000-02-20 Mike Alexander <mta@arbortext.com>
16223 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16224 to avoid crashes when selection-sets-clipboard is on
16225 (mswindows_own_selection): ditto
16227 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16230 * redisplay-msw.c (get_frame_dc):
16231 (get_frame_compdc):
16233 * device-msw.c (mswindows_init_device):
16234 (mswindows_delete_device):
16235 (msprinter_init_device):
16236 (msprinter_delete_device):
16237 * frame-msw.c (mswindows_init_frame_1):
16238 (mswindows_delete_frame):
16239 (msprinter_init_frame_3):
16240 (msprinter_delete_frame): Move compatible DC to device object from
16241 frame object, for both mswindows and msprinter. Only one at a time
16242 is needed, it is a real waste to have one per frame!
16244 2000-02-23 Andy Piper <andy@xemacs.org>
16246 * glyphs.c: add dynamic width and height elements.
16247 (image_instance_equal): ditto.
16249 * glyphs-widget.c (widget_query_geometry): calculate width and
16250 height dynamically if required.
16251 (initialize_widget_image_instance): initialize dynamic dimensions.
16252 (widget_instantiate): pick-up dynamic dimensions.
16254 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16255 dynamic determination. Add appropriate macros.
16257 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16259 (WINDOW_GUTTER_SIZE): ditto.
16260 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16262 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16264 (get_frame_dc): ditto.
16266 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16269 2000-02-23 Martin Buchholz <martin@xemacs.org>
16271 * XEmacs 21.2.31 is released.
16273 2000-02-22 Ben Wing <ben@xemacs.org>
16275 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16277 2000-02-22 Andy Piper <andy@xemacs.org>
16279 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16281 2000-02-21 Mike Sperber <mike@xemacs.org>
16285 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16288 2000-02-21 Mike Sperber <mike@xemacs.org>
16290 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16292 2000-02-21 Martin Buchholz <martin@xemacs.org>
16294 * XEmacs 21.2.30 is released.
16296 2000-02-20 Martin Buchholz <martin@xemacs.org>
16298 Performance hacking.
16300 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16301 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16302 * emacs.c (main_1):
16304 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16305 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16306 * symeval.h (DEFVAR_SYMVAL_FWD):
16307 * symbols.c (guts_of_unbound_marker):
16308 Make all c_readonly objects also lisp_readonly and marked for life.
16309 * lrecord.h (struct lrecord_implementation):
16310 Document flags better.
16311 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16312 * lrecord.h (DECLARE_LRECORD):
16313 * lrecord.h (XSETRECORD):
16314 * lrecord.h (RECORDP):
16315 * lrecord.h (RECORD_TYPEP):
16316 * lrecord.h (RECORD_MARKER): New.
16317 * lrecord.h (error_check_*):
16318 * lrecord.h (CONCHECK_NONRECORD):
16319 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16320 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16321 * lrecord.h (set_lheader_implementation):
16322 * lrecord.h (enum lrecord_type): New.
16323 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16324 * alloc.c (disksave_object_finalization_1):
16325 * alloc.c (mark_object):
16326 * alloc.c (lrecord_type_index):
16327 * alloc.c (tick_lcrecord_stats):
16328 * alloc.c (Fgarbage_collect):
16329 * alloc.c (init_alloc_once_early):
16330 * alloc.c (pdump_load):
16331 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16332 * alloc.c (lrecord_type_index): Delete.
16333 Make lisp object type indexes be constant.
16334 Makes (byte-compile) 5% faster.
16335 Put all marker functions into their own array.
16336 Makes (garbage-collect) 5% faster.
16337 Optimize SYMBOL_VALUE_MAGIC_P.
16338 Makes (byte-compile) 2-3% faster.
16339 * config.h.in (gc_checking_assert): New.
16340 * alloc.c: Use gc_checking_assert().
16341 * .dbxrc: Make compatible with new object type implementation.
16342 * .gdbinit: Make compatible with new object type implementation.
16343 * alloc.c: Delete all symbols defined only for debugging, such as
16344 Lisp_Type_Vector and lrecord_charset.
16346 2000-02-21 Andy Piper <andy@xemacs.org>
16348 * gui-msw.c (Fmswindows_shell_execute): fix file location
16351 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16352 unshowing so that set_window_buffer doesn't undo
16353 kill_buffer_hook's hard work.
16355 * glyphs-widget.c (tab_control_query_geometry): don't count the
16356 first item when calculating geometry.
16358 * glyphs.c (map_subwindow): remove redundant code.
16359 (update_frame_subwindows): be more circumspect about when to
16362 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16363 when items haven't changed. Update faces if faces have changed as
16364 well as just the widget face.
16365 (x_tab_control_update): Update faces if faces have changed as well
16366 as just the widget face.
16368 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16370 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16372 (build_syscolor_string): Use mswindows_color_to_string to try to
16374 (mswindows_device_system_metrics): Reverse the foreground and
16375 background colors so that they match the documentation.
16377 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16378 they match the default Windows palette.
16379 (mswindows_color_to_string): New function.
16381 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16383 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16385 2000-02-18 Olivier Galibert <galibert@pobox.com>
16387 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16388 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16390 * symbols.c (init_symbols_once_early): Removed obsolete
16391 DATA_SEG_BITS related kludge.
16392 (defvar_magic): Ditto.
16394 * malloc.c: Removed obsolete DATA_SEG_BITS
16396 * mem-limits.h: Ditto.
16398 * Makefile.in.in: Removed obsolete HAVE_SHM
16401 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16403 * device-msw.c (mswindows_delete_device): Free DDE string
16406 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16408 * keymap.c (get_keyelt):
16409 * unexnt.c (unexec):
16410 * vm-limit.c (memory_warnings):
16411 * ntheap.c (recreate_heap):
16412 * ntheap.h (UNINIT_PTR):
16413 * select-msw.c (Fmswindows_get_clipboard):
16414 (Fmswindows_set_clipboard):
16415 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16417 * menubar-msw.c (displayable_menu_item):
16419 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16420 * sysdep.c (sys_subshell):
16421 * process-nt.c (nt_create_process):
16422 * nt.c (normalize_filename):
16423 (dostounix_filename):
16424 (unixtodos_filename):
16425 * ntproc.c (win32_executable_type):
16426 * ntplay.c (play_sound_data_1):
16428 * editfns.c (get_home_directory):
16429 * event-msw.c (struct winsock_stream):
16430 (mswindows_dde_callback):
16431 * device-msw.c (msprinter_init_device):
16432 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16434 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16435 mswindows_clear_toolbar were swapped!
16437 * objects-msw.c:(colormap_t):
16439 * emacs.c (struct standard_args): Fixed const jumble.
16441 * glyphs-widget.c (update_widget): Fixed comparison notation.
16443 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16445 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16446 __declspec(noreturn) syntax.
16448 2000-02-19 Martin Buchholz <martin@xemacs.org>
16450 * eldap.c (Fldap_open):
16451 (Fldap_search_basic):
16454 Use new coding system conversion macros.
16456 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16458 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16460 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16462 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16463 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16465 * eldap.c (Qadd, Qreplace): New constant symbols
16466 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16467 interruptions by XEmacs signals
16468 Remove unnecessary calls to slow_down_interrupts and
16469 speed_up_interrupts
16470 (Fldap_search_basic): Renamed from Fldap_search_internal
16471 Added new optional parameter VERBOSE that triggers the
16472 display of progress messages
16473 Remove unnecessary calls to slow_down_interrupts and
16474 speed_up_interrupts
16475 LDAP result code analysis rewritten
16476 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16477 (syms_of_eldap): Define the new symbols and functions
16480 2000-02-17 Martin Buchholz <martin@xemacs.org>
16482 * realpath.c: Determine PATH_MAX maximally portably.
16484 * insdel.c (bytecount_to_charcount): Optimize.
16485 The function used to be optimized for entirely ASCII sequences.
16486 Now it is optimized for successive characters from the same
16487 charset. This also wins big for _mostly_ ASCII sequences.
16489 * fileio.c (Ffile_truename): convert return from realpath() using
16490 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16491 - Rewrite GCPROing slightly.
16493 * sysdep.c (sys_open): Do filename conversion, like all other
16494 sys_* functions. Fixes bug:
16495 (let ((file-name-coding-system 'iso-8859-2))
16496 (write-region x y latin2-name))
16497 ==> writes filename using internal encoding.
16499 2000-02-18 Martin Buchholz <martin@xemacs.org>
16501 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16502 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16503 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16504 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16505 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16506 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16507 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16508 (CONST_IF_NOT_DEBUG): Delete.
16509 * alloc.c (this_one_is_unmarkable): Delete.
16510 (mark_object): Don't check for this_one_is_unmarkable. Use the
16511 c_readonly flag instead.
16512 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16514 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16516 * event-msw.c (mswindows_drain_windows_queue):
16517 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16518 away redundant repaint events.
16520 2000-02-17 Andy Piper <andy@xemacs.org>
16522 * redisplay.h: declare mark_redisplay_structs.
16524 * redisplay.c (redisplay_window):
16525 (redisplay_frame): don't check subwindows_state_changed.
16526 (mark_redisplay): mark gutters here.
16528 * glyphs.c: (instantiate_image_instantiator): always layout if we
16529 haven't done so already.
16530 (allocate_image_instance): don't mark as dirty.
16531 (update_subwindow): bind inhibit_quit.
16533 * gutter.c (mark_gutters): new function.
16535 * glyphs-x.c (x_update_widget): Always resize to get round a
16538 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16539 breaking absolutely everything.
16541 * gutter.h: declare mark_gutters.
16543 2000-02-16 Martin Buchholz <martin@xemacs.org>
16545 * XEmacs 21.2.29 is released.
16547 2000-02-15 Olivier Galibert <galibert@pobox.com>
16549 * fns.c (size_bit_vector): Fix computation of the size.
16551 2000-02-15 Martin Buchholz <martin@xemacs.org>
16553 * *.[ch]: Change CONST to const globally.
16554 find -name '*.[ch]' | \
16555 xargs global-replace \
16556 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16557 - Remove vestigial references to CONST_IS_LOSING
16559 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16561 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16562 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16563 events instead of dispatching them directly.
16564 (mswindows_handle_paint): New function to do repainting.
16565 (mswindows_wnd_proc):
16566 (emacs_mswindows_handle_magic_event): Call above function.
16568 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16570 * objects-msw.c (mswindows_create_font_variant): Return the new
16572 (initialize_font_instance): Get font metrics from the underlined
16573 variant of the font to cope with the case where the underlined
16574 font has a bigger descent.
16576 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16578 * gui.c (gui_item_accelerator): Return the first underlined
16579 character in item name.
16581 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16583 * lisp.h: Added Qprinter.
16585 * general.c (syms_of_general): Initialized it.
16587 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16589 (get_frame_compdc): Made inline.
16591 * console.h (struct console_methods): Added eject_page method.
16593 * frame.h: Added FRAME_DISPLAY_P and friends.
16594 Aligned backslahes in many macros in more readable fashion.
16595 Added page_number to struct frame, and an accessor macro
16598 * defice.h: Added DEVICE_DISPLAY_P and friends.
16600 * device.c (Fdevice_printer_p): Used these.
16602 * frame.c (allocate_frame_core): Initialize page number.
16603 (Fprint_job_page_number):
16604 (Fprint_job_eject_page): Implemented.
16606 * frame-msw.c (msprinter_eject_page): Added method.
16607 (msprinter_start_page): Added.
16609 * window.c (Fwindow_truncated_p): Fixed docstring.
16610 (Fwindow_last_line_visible_height): Implemented.
16612 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16614 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16616 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16618 * syntax.c (scan_words): Always advance at least one character.
16620 2000-02-13 Andy Piper <andy@xemacs.org>
16622 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16623 to make sure the glyph is in the cachels.
16625 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16626 global image instance flag.
16627 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16628 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16630 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16631 (Fset_image_instance_property): mark layout as changed.
16632 (invalidate_glyph_geometry_maybe): mark layout as changed.
16633 (glyph_width): use new NEEDS_LAYOUT macro.
16634 (glyph_ascent): ditto.
16635 (glyph_descent): ditto.
16636 (glyph_height): ditto.
16637 (image_instance_layout): mark layout as clean after laying out.
16638 (update_subwindow): don't mark layout as clean here.
16640 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16641 should no longer be needed.
16643 * glyphs-x.c (x_update_widget): sanitize asserts.
16644 (x_finalize_image_instance): sanitize assignment to widgets.
16646 * glyphs-widget.c (widget_instantiate): don't need to clear the
16649 2000-02-13 Martin Buchholz <martin@xemacs.org>
16651 * sysdep.c (getcwd): Use standard prototype.
16652 * sysdep.h (getcwd): Use standard prototype.
16654 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16655 (sequence, start, end).
16656 Remove redundant type checking.
16657 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16658 view of `caller-protects') to avoid a crash where the real fix was
16661 2000-02-12 Martin Buchholz <martin@xemacs.org>
16663 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16665 * s/sol2.h: Remove feature macro initialization.
16667 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16668 (vector_hash): New. Code from internal_hash.
16670 Fix up allocation subsystem comments.
16672 * config.h.in: Add __EXTENSIONS__ for Solaris.
16674 * systime.h (EMACS_GETTIMEOFDAY): New.
16675 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16676 Remove Solaris-specific code.
16677 Use void* for the (ignored) second arg for gettimeofday().
16679 * elhash.c (hash_table_hash): Implement it, finally.
16680 * elhash.c: Use hashcode_t.
16682 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16683 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16685 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16686 * fns.c (size_bit_vector):
16687 * alloc.c (size_vector):
16688 (make_vector_internal):
16689 (make_bit_vector_internal):
16690 (sweep_bit_vectors_1):
16691 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16693 2000-02-10 Martin Buchholz <martin@xemacs.org>
16695 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16696 Include strings.h to avoid warnings for bzero and strcasecmp.
16698 2000-02-10 Olivier Galibert <galibert@pobox.com>
16700 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16701 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16703 * fns.c (size_bit_vector): New. Declare bit vectors as a
16706 2000-02-10 Olivier Galibert <galibert@pobox.com>
16708 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16709 use a value field instead.
16710 (symbol_value_forward_forward): Use value field.
16711 (DEFVAR_SYMVAL_FWD): Use value field.
16712 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16713 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16714 (DEFVAR_CONST_INT): Ditto.
16715 (DEFVAR_BOOL): Ditto.
16716 (DEFVAR_CONST_BOOL): Ditto.
16717 (DEFVAR_INT_MAGIC): Ditto.
16718 (DEFVAR_BOOL_MAGIC): Ditto.
16720 * symbols.c (guts_of_unbound_marker): Use value field.
16721 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16722 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16724 * lisp.h: Declare dumpopaque and noninteractive1.
16726 * alloc.c (dumpopaque): Added.
16727 (pdump_dump_opaquevec): Added.
16728 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16729 (pdump_load): Reload opaque data. Sync noninteractive1 with
16732 2000-02-10 Andy Piper <andy@xemacs.org>
16734 * glyphs.c (image_instance_layout): if the size changes, mark it
16737 * redisplay-output.c (redisplay_output_layout): Update the
16739 (redisplay_output_subwindow): ditto.
16741 * glyphs.c (update_subwindow): make sure we reset flags for
16742 layouts as well as everything else.
16744 * glyphs-widget.c (layout_layout): don't need to set the instances
16747 2000-02-09 Martin Buchholz <martin@xemacs.org>
16749 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16750 not HAVE_DLOPEN, which is a lower-level thing.
16752 * .cvsignore: Ignore gmon.out
16754 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16756 * .cvsignore: Ignore portable dumper xemacs.dmp file
16758 2000-02-09 Andy Piper <andy@xemacs.org>
16760 * redisplay-output.c (redisplay_output_layout): be more clever
16761 about when we output based on the changed flags.
16763 * glyphs.h (struct image_instantiator_methods): add update_method.
16764 (struct Lisp_Image_Instance): add changed flags. Declare new
16765 macros for manipulating them.
16767 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16768 (image_instance_parent_glyph): find an image_instance's parent
16769 glyph or image_instance.
16770 (image_instance_layout): mark the size as changed.
16771 (set_image_instance_dirty_p): new function. mark an image
16772 instance, plus all of its parents, as dirty.
16773 (Fset_image_instance_property): use it.
16774 (Fglyph_animated_timeout_handler): use it.
16775 (update_subwindow): call update_widget and device methods for
16776 update_subwindow. Mark all changed flags as clean.
16777 (Fresize_subwindow): mark size as changed.
16779 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16781 (x_update_subwindow): only resize subwindows here.
16782 (x_update_widget): new function. Update all changed properties of
16784 (x_resize_subwindow): deleted.
16785 (x_widget_set_property): deleted.
16786 (x_progress_gauge_set_property): deleted.
16787 (x_progress_gauge_update): new function. Implement recorded
16789 (x_tab_control_update): ditto.
16790 (x_tab_control_set_property): deleted.
16791 (console_type_create_glyphs_x): declare new functions.
16792 (image_instantiator_format_create_glyphs_x): ditto.
16794 * glyphs-widget.c (widget_set_property): mark text changed.
16795 (update_widget): new function. Update properties of a widget.
16796 (widget_instantiate): for layouts make sure we set their
16797 children's parent correctly.
16798 (tab_control_set_property): new function. Record changes that will
16799 take place under redisplay's control.
16800 (progress_gauge_set_property): ditto.
16801 (image_instantiator_progress_guage): declare new functions.
16802 (image_instantiator_tab_control): ditto.
16804 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16806 (mswindows_update_widget): new function. Update all properties on
16807 a widget that have changed.
16808 (mswindows_button_update): new function. Update a button's set
16810 (mswindows_tab_control_update): new function. Update the items in
16812 (mswindows_tab_control_set_property): deleted.
16813 (mswindows_progress_gauge_update): new function. Update the
16814 progress gauge's progress.
16815 (mswindows_widget_set_property): deleted. This is all done
16816 asynchronously now.
16817 (mswindows_progress_gauge_set_property): ditto.
16818 (console_type_create_glyphs_mswindows): declare new methods.
16819 (image_instantiator_format_create_glyphs_mswindows): ditto.
16821 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16822 (msprinter_set_frame_properties): ditto.
16824 * console.h (struct console_methods): Add update_widget_method.
16826 2000-02-09 Andy Piper <andy@xemacs.org>
16828 * gui-msw.c (Fmswindows_shell_execute): Make
16829 mswindows-shell-execute industrial strength.
16831 2000-02-08 Martin Buchholz <martin@xemacs.org>
16833 * lrecord.h: Make macro argument `props' match member function `plist'.
16836 * fns.c (Fremprop):
16837 * fns.c (Fobject_plist):
16840 Object property list frobbing cleanup.
16841 - Allow any lisp object (compared with `eq'), not just symbols, as
16842 keys in object plists.
16843 - Move symbol plist frobbing into symbols.c, where it belongs.
16844 - Move string plist frobbing into alloc.c, where it belongs.
16845 - Everything's an lrecord now, so no need to test for symbolp, etc.
16846 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16848 * extents.c: Reorder code to remove declarations.
16850 * frame.h (store_in_alist): Remove useless declaration.
16852 2000-02-07 Martin Buchholz <martin@xemacs.org>
16854 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16855 * config.h.in: Add HAVE_XCONVERTCASE.
16857 2000-02-07 Andy Piper <andy@xemacs.org>
16859 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16860 it breaks many things.
16862 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16864 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16865 actually can start a common comment type.
16866 * src/syntax.h (SYNTAX_END_P): ditto for end.
16868 2000-02-07 Martin Buchholz <martin@xemacs.org>
16870 * XEmacs 21.2.28 is released.
16872 2000-02-06 Martin Buchholz <martin@xemacs.org>
16874 * event-Xt.c (x_keysym_to_character): New.
16875 (maybe_define_x_key_as_self_inserting_character): New.
16876 (x_has_keysym): New.
16877 Auto-define all keys on the keyboard as self-insert-key.
16879 2000-02-02 Martin Buchholz <martin@xemacs.org>
16881 * menubar.c (vars_of_menubar): A small code simplification.
16883 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16886 * ExternalClient.c:
16887 * EmacsShell-sub.c:
16890 Use consistent style for specifying X resources.
16892 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16893 This makes (dontusethis-set-symbol-value-handler) actually usable.
16895 * lrecord.h (lrecord_decription_type):
16896 * alloc.c (pdump_register_sub):
16899 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16900 Comply with XEmacs coding style.
16901 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16902 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16904 * keymap.c (Faccessible_keymaps):
16905 Make (accessible-keymaps map "\C-h") do the Right Thing.
16906 Make (accessible-keymaps map []) do the Right Thing.
16907 Make (accessible-keymaps map "") do the Right Thing.
16908 (check_keymap_definition_loop): New function.
16909 (keymap_store_internal): Keep luser from shooting self in foot,
16910 via (define-key ctl-x-4-map "p" global-map).
16911 Remove fullness slot from struct Lisp_Keymap, since hash tables
16913 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16915 2000-01-30 Martin Buchholz <martin@xemacs.org>
16917 * redisplay.c (init_redisplay): Fix small memory leak.
16919 * elhash.c (pdump_reorganize_hash_table):
16920 Rename from reorganize_hash_table. Change prototype.
16921 Reuse the original memory for hentries. Save 100k.
16922 * alloc.c (PDUMP_READ): new macro.
16923 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16924 * alloc.c: No need to #ifndef before #undef.
16926 * print.c: Allow debug_print() to print readably by modifying
16927 debug_print_readably. Use consistent variable names.
16929 * .dbxrc: Try to get things to work even if stopped in a function
16930 without source available by explicitly specifying source files.
16931 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16933 * unexnt.c (_start): Removed bogus code which caused loading heap
16934 from differrent executable file.
16935 Removed bogus assignment to _fmode, which caused inconsistencies.
16937 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16939 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16940 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16941 Do not preliminary `#define signal sigset'.
16943 * systime.h: Do not prototype environ on windows nt and cygwin,
16944 this conflicts with system header.
16946 * syssignal.h: Use correct define for WINDOWSNT
16948 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16949 with system header.
16951 * sysdep.c (near start of file): Fixed commentary and rearranged
16952 ifdefs in readable order.
16953 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16956 (end_of_data): Do not compile in if using PDUMP.
16958 * symsinit.h: Prototyped vars_of_nt().
16960 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16961 (find_child_console): Use it.
16962 (sys_kill): Use it.
16964 * ntheap.h: Do not extern os_subtype.
16966 * ntheap.c (cache_system_info): Do not cache unneeded:
16967 nt_major_version, nt_minor_version and os_subtype.
16968 (recreate_heap): Do not compile in when PDUMPing.
16970 * nt.c (geteuid and friends): Use the new varibale
16971 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16972 (init_user_info): Removed the above mentioned hackery.
16973 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16974 stat has been fixed in the C runtime.
16975 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16977 * file-coding.c (struct file_coding_dump): Do not define
16978 ucs_to_mule_table in the struct if not MULE.
16979 (struct struct lrecord_description fcd_description_1): Do not dump
16982 * emacs.c (main_1): Call vars_of_nt().
16983 (right before Fdump_emacs_data): Don't need lastfile if using both
16984 portabe dumper and system malloc.
16986 * alloc.c (Fmemory_limit): Conditionalized out.
16987 (pdump): Use OPEN_BINARY for the portable dump file.
16988 (pdump_load): Ditto.
16990 2000-02-02 Mike Alexander <mta@arbortext.com>
16992 * nt.c (convert_time): Set tm_isdst before calling mktime and
16993 avoid calling it at all if the compiler supports 64 bit integers.
16994 Also initialize utc_base_ft before using it.
16996 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16998 * frame.c (change_frame_size_1): Take f->internal_border_width
16999 into consideration when calculating the width of the frame.
17001 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17003 * window.c (frame_min_height):
17004 (frame_size_valid_p):
17005 (frame_pixsize_valid_p): Added.
17006 (check_frame_size): Generalized.
17008 * window.h: Prototyped the above.
17011 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17012 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17013 Deleted Vwin32_* and Vbinary_process_* unused variables.
17015 * device-msw.c (msprinter_init_device): Do not get printer font
17016 list; Added DEVMODE functions.
17018 * frame-msw.c: Added lots of printer code.
17020 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17023 * console-msw.h: Added more msprinter device private slots.
17025 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17027 * event-msw.c (key_needs_default_processing_p): Added.
17028 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17030 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17032 * glyphs.c (image_instance_layout): Mark image instance as clean
17034 (glyph_dirty_p): Removed redundant function.
17035 (invalidate_glyph_geometry_maybe): Added.
17036 (update_glyph_cachel_data): Call it.
17038 * glyphs.h: Prototyped it.
17040 * redisplay.c (add_glyph_rune): Call it.
17041 (redisplay_window): Reset glyphs cachels when frame faces have
17042 changed, thus forcing recomputation of built-in border glyphs.
17044 2000-01-30 Martin Buchholz <martin@xemacs.org>
17046 * Makefile.in.in: Make portable dumper and purify play well together.
17047 Add imperfect, but better than nothing, support for pdump.
17048 Remove xemacs.dmp when temacs is re-generated.
17049 Don't ignore errors when dumping xemacs.
17051 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17053 2000-01-28 Andy Piper <andy@xemacs.org>
17055 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17056 (setup_normal_frame): ditto.
17057 (setup_frame_without_minibuffer): ditto.
17058 (setup_minibuffer_frame): ditto.
17059 (delete_frame_internal): ditto.
17060 (Fmake_frame_invisible): ditto.
17061 (Ficonify_frame): ditto.
17063 * window.h: change Fset_window_buffer signature.
17065 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17066 (Fset_window_buffer): allow recording of buffer if the window is
17067 the selected window.
17068 (window_loop): Use new Fset_window signature.
17070 2000-01-23 Daniel Pittman <daniel@danann.net>
17072 * config.h.in: Added template for `HAVE_ATHENA_3D'
17074 2000-01-29 Andy Piper <andy@xemacs.org>
17076 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17078 * gutter.c (output_gutter): Don't output if the window isn't live.
17080 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17082 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17083 of 01/12/00: Moved SetFocus back here where it belongs.
17085 2000-01-23 Andy Piper <andy@xemacs.org>
17087 * s/cygwin32.h: declare printer things.
17089 2000-01-26 Andy Piper <andy@xemacs.org>
17091 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17094 2000-01-24 Andy Piper <andy@xemacs.org>
17096 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17097 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17099 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17101 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17103 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17105 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17106 (mswindows_output_display_block): Avoid local shadows.
17108 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17109 (mswindows_enqueue_mouse_button_event): ditto.
17110 (mswindows_handle_gui_wm_command): remove declaration.
17112 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17115 * console-msw.h: Avoid shadows.
17116 (mswindows_get_toolbar_button_text):
17117 (emacs_mswindows_create_stream_pair):
17118 (emacs_mswindows_delete_stream_pair):
17119 (mswindows_handle_toolbar_wm_command): declare.
17121 * device-msw.c (build_syscolor_string): Avoid shadows.
17123 2000-01-23 Andy Piper <andy@xemacs.org>
17125 * glyphs-widget.c (widget_instantiate): reverse the items for
17126 layouts so that children are in the expected order.
17128 2000-01-28 Martin Buchholz <martin@xemacs.org>
17130 * ralloc.c: safe_bcopy ==> memmove
17131 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17132 * s/msdos.h: Remove BCOPY macros.
17133 * insdel.c (gap_right): Remove BCOPY conditional code.
17134 * insdel.c (gap_left): Remove BCOPY conditional code.
17135 XEmacs demands a working ANSI C compiler - hence memmove.
17137 * regex.c (regex_compile): Remove accidental use of trigraphs.
17139 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17141 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17144 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17146 * event-msw.c (mswindows_drain_windows_queue): Added the
17148 (mswindows_need_event): Commented the call to
17149 mswindows_drain_windows_queue().
17150 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17153 * console-msw.h: Moved a few function prototypes here from
17156 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17157 parameter from unsigned short to unsigned long.
17158 (Fmswindows_shell_execute): Added return value.
17160 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17162 * sysdep.c (init_system_name):
17163 process-unix.c (unix_canonicalized_host_name):
17164 Don't call freeaddrinfo() if getaddrinfo() fails.
17166 * process-unix.c (unix_open_unix_network_stream):
17167 Moved the code to get a port # into address loop.
17169 2000-01-27 Martin Buchholz <martin@xemacs.org>
17171 * buffer.c (reinit_vars_of_buffer):
17172 The right place to initialize conversion_in_dynarr and
17173 conversion_out_dynarr.
17175 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17177 * process-unix.c (unix_canonicalize_host_name): Muleize.
17178 (unix_open_network_stream): Muleize.
17180 * buffer.h: Fix up prototypes for ralloc.c functions.
17182 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17183 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17184 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17185 instead of gethostbyname()
17186 * process-unix.c: In unix_canonicalize_host_name() and
17187 unix_open_network_stream(), add code to use getaddrinfo()
17188 instead of gethostbyname().
17190 2000-01-27 Daniel Pittman <daniel@danann.net>
17192 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17193 libs when built with flat Athena.
17195 2000-01-27 Martin Buchholz <martin@xemacs.org>
17197 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17198 Use coding standards for function prototypes.
17200 2000-01-25 Martin Buchholz <martin@xemacs.org>
17202 * dialog-msw.c (push_lisp_string_as_unicode):
17203 * doc.c (unparesseuxify_doc_string):
17204 * dired.c (Fuser_name_completion_1):
17205 * dired.c (Fuser_name_all_completions):
17206 * dired.c (free_user_cache):
17207 * dired.c (user_name_completion):
17208 * console-x.c (get_display_arg_connection):
17209 * minibuf.c (clear_echo_area_internal):
17210 * minibuf.c (echo_area_append):
17211 * eldap.c (Fldap_open):
17212 * eldap.c (Fldap_search_internal):
17213 * frame-x.c (x_set_frame_text_value):
17214 * frame-x.c (x_set_frame_properties):
17215 * frame-x.c (x_create_widgets):
17216 * redisplay-tty.c (term_get_fkeys_1):
17217 * objects-x.c (x_parse_nearest_color):
17218 * objects-x.c (x_valid_color_name_p):
17219 * objects-x.c (x_initialize_font_instance):
17220 * objects-x.c (x_list_fonts):
17221 * objects-x.c (x_find_charset_font):
17222 * tooltalk.c (Fadd_tooltalk_message_arg):
17223 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17224 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17225 * process-unix.c (unix_create_process):
17226 * ntproc.c (sys_spawnve):
17227 * sound.c (Fplay_sound_file):
17228 * sound.c (Fplay_sound):
17229 * buffer.c (init_initial_directory):
17230 * buffer.c (init_buffer):
17231 * editfns.c (init_editfns):
17232 * editfns.c (Ftemp_directory):
17233 * editfns.c (Fuser_full_name):
17234 * editfns.c (uncache_home_directory):
17235 * editfns.c (get_home_directory):
17236 * editfns.c (Fuser_home_directory):
17237 * editfns.c (Fformat_time_string):
17238 * editfns.c (Fcurrent_time_string):
17239 * gui-x.c (button_item_to_widget_value):
17240 * database.c (Fopen_database):
17241 * event-Xt.c (x_to_emacs_keysym):
17242 * event-Xt.c (x_event_to_emacs_event):
17243 * event-Xt.c (describe_event_window):
17244 * event-msw.c (mswindows_wnd_proc):
17245 * glyphs-eimage.c (jpeg_instantiate):
17246 * glyphs-eimage.c (gif_instantiate):
17247 * glyphs-eimage.c (png_instantiate):
17248 * glyphs-eimage.c (tiff_instantiate):
17249 * glyphs-x.c (xbm_instantiate_1):
17250 * glyphs-x.c (x_xbm_instantiate):
17251 * glyphs-x.c (x_xface_instantiate):
17252 * glyphs-x.c (autodetect_instantiate):
17253 * glyphs-x.c (cursor_font_instantiate):
17254 * glyphs-x.c (x_widget_instantiate):
17255 * glyphs-x.c (x_widget_set_property):
17256 * glyphs-x.c (x_widget_property):
17257 * glyphs-x.c (BUILD_GLYPH_INST):
17258 * print.c (write_string_to_stdio_stream):
17259 * print.c (output_string):
17260 * print.c (Falternate_debugging_output):
17261 * print.c (Fexternal_debugging_output):
17262 * glyphs-msw.c (extract_xpm_color_names):
17263 * glyphs-msw.c (mswindows_xpm_instantiate):
17264 * glyphs-msw.c (bmp_instantiate):
17265 * glyphs-msw.c (resource_name_to_resource):
17266 * glyphs-msw.c (mswindows_resource_instantiate):
17267 * glyphs-msw.c (xbm_instantiate_1):
17268 * glyphs-msw.c (mswindows_xbm_instantiate):
17269 * glyphs-msw.c (mswindows_xface_instantiate):
17270 * glyphs-msw.c (mswindows_widget_instantiate):
17271 * glyphs-msw.c (add_tree_item):
17272 * glyphs-msw.c (add_tab_item):
17273 * glyphs-msw.c (mswindows_combo_box_instantiate):
17274 * glyphs-msw.c (mswindows_widget_property):
17275 * glyphs-msw.c (mswindows_combo_box_property):
17276 * glyphs-msw.c (mswindows_widget_set_property):
17277 * console.c (stuff_buffered_input):
17278 * objects-msw.c (mswindows_initialize_color_instance):
17279 * objects-msw.c (mswindows_valid_color_name_p):
17280 * objects-msw.c (mswindows_list_fonts):
17281 * objects-msw.c (mswindows_font_instance_truename):
17282 * bytecode.c (optimize_compiled_function):
17283 * select-x.c (symbol_to_x_atom):
17284 * select-x.c (x_atom_to_symbol):
17285 * select-x.c (hack_motif_clipboard_selection):
17286 * select-x.c (selection_data_to_lisp_data):
17287 * select-x.c (lisp_data_to_selection_data):
17288 * select-x.c (Fx_get_cutbuffer_internal):
17289 * select-x.c (Fx_store_cutbuffer_internal):
17290 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17291 * buffer.h (TO_INTERNAL_FORMAT): New function.
17292 * emacs.c (make_arg_list_1):
17293 * emacs.c (make_argc_argv):
17294 * emacs.c (main_1):
17295 * emacs.c (Fdump_emacs):
17296 * emacs.c (split_string_by_emchar_1):
17301 * device-x.c (x_init_device):
17302 * device-x.c (Fx_valid_keysym_name_p):
17303 * device-x.c (Fx_get_font_path):
17304 * device-x.c (Fx_set_font_path):
17305 * glyphs.c (bitmap_to_lisp_data):
17306 * glyphs.c (pixmap_to_lisp_data):
17307 * alloc.c (make_ext_string): Use coding system arguments. Update
17309 * alloc.c (build_string):
17310 * callproc.c (child_setup):
17311 * callproc.c (init_callproc):
17312 * fileio.c (lisp_strerror):
17313 * fileio.c (directory_file_name):
17314 * fileio.c (Fexpand_file_name):
17315 * fileio.c (Ffile_truename):
17316 * fileio.c (Fsysnetunam):
17317 * fileio.c (Fdo_auto_save):
17318 * sysdep.c (sys_readdir):
17319 * tests.c: New file. Allow adding C tests.
17320 Replace GET_* macros with a more comprehensible and flexible
17321 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17323 Any coding system can be used to do format conversion.
17324 Eliminate enum external_data_format.
17325 Eliminate convert_to_external_format.
17326 Eliminate convert_to_internal_format.
17327 Make sure file-name, keyboard, terminal, and ctext are always
17328 defined as coding systems or aliases. Make
17329 file-name-coding-system, terminal-coding-system, and
17330 keyboard-coding-system magical variables that are equivalent to
17331 defining the corresponding coding system aliases.
17333 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17334 * file-coding.c (Fcoding_system_alias_p): New function.
17335 * file-coding.c (Fcoding_system_aliasee): New function.
17336 * file-coding.c (append_suffix_to_symbol): New function.
17337 * file-coding.c (dangling_coding_system_alias_p): New function.
17338 * file-coding.c (Ffind_coding_system):
17339 * file-coding.c (Fcopy_coding_system):
17340 * file-coding.c (encode_coding_no_conversion):
17341 * file-coding.c (syms_of_file_coding):
17342 * file-coding.c (vars_of_file_coding):
17343 Rewrite coding system alias code.
17344 Allow nested aliases, like symbolic links.
17345 Allow redefinition of coding system aliases.
17346 Prevent existence of dangling coding system aliases.
17348 * dired.c (Fuser_name_completion_1):
17349 * dired.c (Fuser_name_all_completions):
17350 A crash would happen if user did QUIT in the middle of building
17351 user_name_cache. Remove redundant code in mainline and unwind_protect.
17354 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17356 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17357 an unsigned char *. Update all callers.
17359 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17361 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17363 2000-01-25 Martin Buchholz <martin@xemacs.org>
17365 * elhash.c (hentry_description): Use more portable definition.
17366 (resize_hash_table): Initialize new hentries using
17367 xnew_array_and_zero, thereby simplifying the code.
17369 * mule-charset.c (make_charset): Make sure entire object is
17370 initialized, to avoid Purify warnings.
17372 * alloc.c (resize_string): Fix unlikely crash with big strings.
17374 2000-01-24 Martin Buchholz <martin@xemacs.org>
17376 * realpath.c (xrealpath):
17377 Don't call getwd().
17379 2000-01-25 Martin Buchholz <martin@xemacs.org>
17381 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17383 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17385 * unexelfsgi.c (unexec): Change the way we decide which segment
17386 should be extended.
17388 Assumption that .bss section should be outside the PT_LOADable
17389 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17390 it's present) is inside the 'data' segment. This would fail the
17391 test which was used to find a segment to grow and cover new
17392 heap. Instead of this assumption, I created another one - on IRIX
17393 the segment to grow should start below .bss and it's address
17394 should extent above the end of .bss. Once this segment is
17395 identified, it's grown to accommodate the new heap and new
17396 zero-length .bss section is added at the end of .data2.
17398 2000-01-25 Martin Buchholz <martin@xemacs.org>
17400 * eval.c (Feval): Wrong number of arguments should use original
17401 function, not the indirect_function version of it.
17403 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17405 * glyphs-x.c (x_button_instantiate): Don't add image if
17406 it is not a pixmap.
17407 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17410 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17412 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17414 (DEFVAR_INT_MAGIC): Ditto.
17415 (DEFVAR_BOOL_MAGIC): Ditto.
17416 * glyphs.h: Reindent backslash.
17418 2000-01-24 Martin Buchholz <martin@xemacs.org>
17420 * glyphs-widget.c (layout_query_geometry):
17421 (layout_layout): Use correct types for gheight, gwidth.
17423 2000-01-24 Martin Buchholz <martin@xemacs.org>
17425 * EmacsManager.c (QueryGeometry): Purified.
17427 2000-01-23 Martin Buchholz <martin@xemacs.org>
17429 * alloc.c (make_float): Make sure entire object is initialized, to
17430 avoid Purify warnings.
17431 (pdump_register_sub): Remove useless assignment.
17432 (pdump): Use xmalloc, not malloc.
17433 (pdump_load): Use xmalloc, not malloc.
17435 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17442 * sysdep.c: Removed redundant #include <windows.h>
17444 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17446 * frame.c (delete_frame_internal): Do not delete device when its
17447 implementation so declares.
17448 (delete_frame_internal): Set device selected frame to nil when
17449 last frame goes away.
17451 * device-msw.c (msprinter_device_system_metrics): Implemented.
17452 (mswindows_device_system_metrics): Added 'device-dpi property.
17454 * device.c: (Fdevice_printer_p): Added.
17455 Added 'offset-workspace device metric.
17457 * console.h (device_metrics): Declared DM_offset_workspace.
17459 2000-01-23 Martin Buchholz <martin@xemacs.org>
17461 * fileio.c (Ffile_truename): Remove pointless and confusing
17462 initialization of elen.
17464 * glyphs-widget.c: Compiler warning fixes.
17466 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17468 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17469 instead of a Lisp_Object as argument to make it consistent with
17470 the other LIVE_P macros.
17471 (CHECK_LIVE_PROCESS): New macro.
17473 * process.c: Declare Qprocess_live_p.
17474 (Fprocess_live_p): New function.
17475 (create_process): Use PROCESS_LIVE_P.
17476 (read_process_output): Ditto.
17477 (set_process_filter): Ditto.
17478 (Fdelete_process): Ditto.
17479 (kill_buffer_processes): Ditto
17480 (process_send_signal): Use CHECK_LIVE_PROCESS.
17481 (Fprocess_input_coding_system): Check whether process is still
17482 alive (fix PR#1061).
17483 (Fprocess_output_coding_system): Ditto.
17484 (Fprocess_coding_system): Ditto.
17485 (Fset_process_input_coding_system): Ditto.
17486 (Fset_process_output_coding_system): Ditto.
17488 2000-01-23 Andy Piper <andy@xemacs.org>
17490 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17493 * glyphs.c (mark_image_instance): take into account changed
17494 image_instance format.
17495 (image_instance_equal): ditto.
17496 (image_instance_hash): ditto.
17498 * glyphs-widget.c (widget_instantiate): Incorporate layout
17499 instantiation here. Delay layout of the layout until later.
17500 (layout_instantiate): deleted.
17501 (layout_query_geometry): new function. get the geometry of a
17503 (layout_layout): layout a layout dynamically.
17504 (image_instantiator_widget): New function - splitting up
17505 image_instantiator_format_create_glyphs_widget for netwinder
17507 (image_instantiator_buttons):
17508 (image_instantiator_edit_fields):
17509 (image_instantiator_combo_box):
17510 (image_instantiator_scrollbar):
17511 (image_instantiator_progress_guage):
17512 (image_instantiator_tree_view):
17513 (image_instantiator_tab_control):
17514 (image_instantiator_labels):
17515 (image_instantiator_layout): ditto.
17516 (image_instantiator_format_create_glyphs_widget): Call preceding
17519 2000-01-22 Martin Buchholz <martin@xemacs.org>
17521 * process.c (Fset_process_coding_system):
17522 * device-x.c (Fx_keysym_hash_table):
17525 * lstream.c (Lstream_write): Return documented value, not 0.
17527 * fileio.c (directory_file_name):
17528 (Fsubstitute_in_file_name):
17529 (Fsubstitute_insert_file_contents_internal):
17530 (Fwrite_region_internal):
17535 Remove vestigial APOLLO-conditional code.
17537 2000-01-21 Martin Buchholz <martin@xemacs.org>
17539 * getpagesize.h: Add guard macros.
17540 * libsst.h: Add guard macros.
17541 * libst.h: Add guard macros.
17542 * line-number.h: Add guard macros.
17543 * ndir.h: Add guard macros.
17544 * sysfloat.h: Add guard macros.
17545 * sysfile.h: Add guard macros.
17546 * sysproc.h: Add guard macros.
17547 * syswait.h: Add guard macros.
17548 * xintrinsic.h: Add guard macros.
17549 * xintrinsicp.h: Add guard macros.
17550 * xmmanager.h: Add guard macros.
17551 * xmmanagerp.h: Add guard macros.
17552 * xmprimitive.h: Add guard macros.
17553 * xmu.h: Add guard macros.
17554 * gpmevent.h: Add copyright statement. Add guard macros.
17555 * miscplay.h: Add guard macros.
17556 * *.h: Use consistent C-standards-approved guard macro names.
17558 * opaque.c (make_opaque): Switch parameter order.
17559 * opaque.h (make_opaque): Switch parameter order.
17560 Update all callers.
17561 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17563 * config.h.in (type_checking_assert): Added.
17564 (bufpos_checking_assert): Added.
17566 2000-01-21 Martin Buchholz <martin@xemacs.org>
17568 * alloc.c: Harmless pdump changes.
17570 - spell alignment correctly.
17571 * sysdep.c: Use countof()
17573 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17575 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17576 initially_selected_for_input() console method, default to 0.
17577 (semi_canonicalize_console_connection): Try to delegate to
17578 canonicalize_console_connection if no such console method.
17579 (canonicalize_console_connection): Vice versa.
17580 (print_console): Do not print nil connection.
17582 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17583 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17584 (XDEVIMPF_FRAMELESS_OK): Added.
17585 (CONSOLE_INHERITS_METHOD): Added.
17587 * console-msw.c (mswindows_canonicalize_console_connection):
17589 (mswindows_canonicalize_device_connection): Added.
17591 * console-msw.h (struct msprinter_device): Added this struct and
17593 (mswindows_device): Made fontlist a lisp object.
17595 * device.c (semi_canonicalize_device_connection): Try to delegate
17596 to canonicalize_device_connection if no such console method.
17597 (canonicalize_device_connection): Vice versa.
17598 (print_device): Do not print nil connection.
17600 * device-msw.c (mswindows_init_device): Call InitCommonControls
17602 (mswindows_delete_device): Removed fontlist deallocation.
17603 (mswindows_mark_device): Added.
17605 * events.c (event_equal): Added abort() at unreached code.
17606 (event_hash): Ditto.
17608 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17609 fallback tags of Windows devices.
17611 * general.c (syms_of_general): Initialized Qmsprinter.
17613 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17614 of fallback tags of Windows devices.
17616 * lisp.h: Declared Qmsprinter.
17618 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17620 (mswindows_list_fonts): Ditto.
17621 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17622 that it can be used by both mswindows and msprinter devices.
17623 (initialize_font_instance): Added.
17624 (mswindows_initialize_font_instance): Use it.
17625 (msprinter_initialize_font_instance): Added.
17627 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17628 and implementation flags check.
17629 (redisplay_without_hooks): Changed the call to the above.
17630 (Fredraw_device): Ditto.
17631 (Fredisplay_device): Ditto.
17633 * redisplay-msw.c (get_frame_dc): Implemented.
17634 (get_frame_compdc): Implemented.
17635 (many functions): Use the two functions above to get device
17636 contexts, ether for a window or a printer.
17638 2000-01-21 Olivier Galibert <galibert@pobox.com>
17640 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17641 initialization here.
17642 (init_symbols_once_early): Call it.
17643 * emacs.c (main_1): Call it.
17644 * symsinit.h: Declare it.
17646 2000-01-19 Olivier Galibert <galibert@pobox.com>
17648 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17650 (pdump_backtrace): Ditto.
17651 (pdump_register_object): Ditto. Cleanup use of the pointers.
17652 (pdump_get_entry): Abort if trying to register a null pointer.
17653 (pdump_dump_data): Cleanup types when relocating.
17654 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17655 (pdump_dump_rtables): Remove bad casts.
17656 (pdump_load): Cleanup relocation w.r.t union type. Use a
17657 Lisp_Object instead of a EMACS_INT for the hashtable
17660 2000-01-20 Martin Buchholz <martin@xemacs.org>
17662 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17664 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17666 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17668 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17670 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17672 * faces.h (FACE_STRIKETHRU_P): Added.
17674 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17677 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17678 (mswindows_set_dc_font): New function, aware of font variants,
17679 separated from mswindows_update_dc.
17681 * objects-msw.h (struct mswindows_font_instance_data): Added
17684 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17685 cached fonts and the data structure.
17686 (mswindows_initialize_font_instance): Added creation of font data
17688 (mswindows_print_font_instance): Print at least something.
17689 (mswindows_create_font_variant): Implemented.
17690 (mswindows_get_hfont): Implemented.
17692 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17694 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17695 prototyping problem with msvc.
17697 * emacs.c (main_1): added syms_of_gui_mswindows() call
17699 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17700 syms_of_gui_mswindows() function
17702 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17704 2000-01-18 Martin Buchholz <martin@xemacs.org>
17706 * XEmacs 21.2.27 is released.
17708 2000-01-18 Martin Buchholz <martin@xemacs.org>
17710 * glyphs-eimage.c (struct tiff_error_struct):
17712 (tiff_warning_func):
17713 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17718 * unexec.c: Remove vestigial Lucid C code.
17722 * libsst.c: Ansify.
17723 Remove declarations of errno and strerror().
17725 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17727 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17729 2000-01-16 Martin Buchholz <martin@xemacs.org>
17731 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17734 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17739 Change enum eol_type to eol_type_t.
17741 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17743 * gui.c (get_gui_callback): Check cons before accessing car.
17745 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17747 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17748 (XSETSPECIFIER_TYPE): Ditto.
17750 2000-01-17 Didier Verna <didier@xemacs.org>
17752 * redisplay.c (generate_fstring_runes): compute string size in
17753 characters, not bytes.
17755 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17757 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17759 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17761 * print.c (print_error_message): Call print_prepare().
17763 2000-01-14 Martin Buchholz <martin@xemacs.org>
17765 * .dbxrc: Renamed from dbxrc.
17767 * events.c (event_to_character):
17768 Use `assert (foo)' instead of `if (!foo) abort()'
17770 * .gdbinit (xtype): Add documentation.
17771 * .gdbinit (check-temacs): New function.
17772 * .gdbinit (check-xemacs): New function.
17773 * dbxrc (check-xemacs): New function.
17774 * dbxrc (check-xemacs): New function.
17776 2000-01-14 Andy Piper <andy@xemacs.org>
17778 * glyphs-widget.c (widget_query_geometry): Make sure that we
17779 calculate default dimensions correctly.
17781 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17783 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17785 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17786 pdump_wire'd variable.
17788 * emacs.c: (main_1): Conditionalized calls to
17789 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17791 2000-01-13 Martin Buchholz <martin@xemacs.org>
17793 * window.c (Fset_window_configuration):
17794 * sysdep.c (_start):
17795 * input-method-motif.c (res):
17796 * event-Xt.c (Xt_process_to_emacs_event):
17797 Simple compiler warning fixes.
17799 * bytecode.c (funcall_compiled_function): Use the original
17800 function symbol on the backtrace list in preference to the
17801 compiled_function object in error messages.
17803 2000-01-13 Andy Piper <andy@xemacs.org>
17805 * glyphs-x.c (update_widget_face): Make sure we update the widget
17806 background as well as foreground.
17808 2000-01-13 Andy Piper <andy@xemacs.org>
17810 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17811 fields to subwindow.
17812 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17813 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17814 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17815 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17817 * glyphs-widget.c (check_valid_tab_orientation): new function.
17818 (initialize_widget_image_instance): zero orientation and
17820 (widget_instantiate): pick up orientation.
17821 (tab_control_query_geometry): return appropriate values for
17824 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17825 appropriate creation flags for left, right and bottom tabs.
17827 * s/cygwin32.h: add tab definitions.
17829 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17831 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17832 frame upon hiding a subwindow.
17833 (mswindows_button_instantiate): Changed the push button style to
17835 (mswindows_button_instantiate): Removed button BS_NOTIFY
17837 (mswindows_button_instantiate): Removed redundant check for
17838 a disabled gui item.
17839 (mswindows_button_instantiate): Made use of WS_TABSTOP
17840 consistent: "operable" controls (edit, button, tree, scroll) have
17841 this style, "display-only" ones (static, progress gauge) do
17842 not. This style is currently ignored by XEmacs though. Also,
17843 removed the WS_EX_CONTROLPARENT style - it is not for children,
17844 it is for their parents!
17845 (mswindows_edit_field_instantiate): Ditto.
17846 (mswindows_progress_gauge_instantiate): Ditto.
17847 (mswindows_tree_view_instantiate): Ditto.
17848 (mswindows_tab_control_instantiate): Ditto.
17849 (mswindows_scrollbar_instantiate): Ditto.
17850 (mswindows_combo_box_instantiate): Ditto.
17851 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17852 style to the "clip" window.
17853 (mswindows_button_instantiate): Removed compilation warning by
17854 equally typing terms of the ?: operator.
17856 2000-01-12 Didier Verna <didier@xemacs.org>
17858 * redisplay.c (generate_fstring_runes): new parameter holding the
17859 last modeline-format extent.
17860 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17861 extent, fill the glyph block with it.
17862 (generate_fstring_runes): handle these parameters.
17863 (generate_formatted_string_db): ditto.
17865 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17866 glyphs'extents in the modeline.
17868 1999-01-11 Mike Woolley <mike@bulsara.com>
17870 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17871 256Mb, as a workaround for the non-starting problem many people
17874 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17876 * console-tty.c (Fset_console_tty_output_coding_system):
17877 Force redrawing tty frame.
17879 2000-01-10 Didier Verna <didier@xemacs.org>
17881 * redisplay.c (generate_fstring_runes): fix size computation bug.
17883 2000-01-09 William M. Perry <wmperry@aventail.com>
17885 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17887 2000-01-09 Andy Piper <andy@xemacs.org>
17889 * glyphs-msw.c: index -> i to avoid shadows.
17890 (xbm_create_bitmap_from_data): make static.
17891 (check_valid_string_or_int): deleted.
17892 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17894 * glyphs-x.c (x_update_subwindow): remove unused args.
17896 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17897 back pointer - this is done in allocate_image_instance.
17898 (query_string_font): return Qnil to make the compiler happy.
17899 (unmap_subwindow): set to ~0 to make the compiler happy.
17900 (glyph_query_geometry): comment out until used.
17901 (glyph_layout): ditto.
17903 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17905 * insdel.c (signal_after_change): Remove extraneous unbind_to().