1 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (concord_id_validate): New function.
4 (structure_type_create_concord): Use `concord_id_validate' instead
5 of `concord_name_validate' to accept integer and character as =id.
7 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * concord.c (func_for_each_object): Fix bug about GC-protection.
11 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * concord.c (Fconcord_object_put): Check argument FEATURE is a
16 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * text-coding.c (struct decoding_stream): Add new member
19 `bom_flag' in XEmacs CHISE.
20 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
23 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule-charset.c: Move definition of `=jis-x0208@1978' to
26 lisp/mule/mule-conf.el.
28 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
31 (make_charset): Add new argument `partial'.
32 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
33 (Fmake_reverse_direction_charset): Modify for `make_charset'.
34 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
36 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
37 `=jis-x0208' as a partial coded-charset.
39 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * text-coding.c (decode_add_er_char): Fix problem when a character
42 represented by an entity-reference is not defined.
44 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
49 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
54 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
57 is a relation feature.
59 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * chartab.c (syms_of_chartab): Define
62 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
64 * chartab.h (Q_denotational): New extern when UTF2000 or
65 HAVE_CONCORD is defined.
66 (Q_denotational_from): Likewise.
67 (Q_subsumptive): Likewise.
68 (Q_subsumptive_from): Likewise.
70 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * concord.c (concord_object_put): New function.
73 (Fconcord_object_put): Use `concord_object_put'.
75 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * concord.c (Fconcord_define_object): New function.
78 (syms_of_concord): Add new builtin function
79 `concord-define-object'.
81 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
86 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * concord.c: Add EXFUN for Fconcord_object_get.
89 (Vconcord_genre_object_hash_table): New variable.
90 (concord_genre_cache_get_object): New function.
91 (concord_genre_cache_put_object): New function.
92 (Fconcord_make_object): Use object cache; put object-ID into `=id'
94 (Fconcord_object_put): Call `concord_index_sync' after
95 `concord_index_strid_put_obj'.
96 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
98 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * concord.c (Fconcord_decode_object): Do GCPRO for
101 Fconcord_make_object.
102 (func_for_each_object): Likewise; do GCPRO for
103 for_each_object_closure->function.
104 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
105 for_each_object_closure->function, for_each_object_closure->genre,
106 for_each_object_closure->ds and for_each_object_closure->ret.
107 (concord_object_validate): Do GCPRO for Fconcord_make_object.
109 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * concord.c: Add EXFUNs for Fconcord_decode_object and
113 (Fconcord_make_object): Change order of arguments.
114 (Fconcord_decode_object): Modify for Fconcord_make_object.
115 (func_for_each_object): Likewise.
116 (concord_object_validate): Likewise.
117 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
119 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
123 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * concord.c (Fconcord_decode_object): Try to use readable print
126 form as a key of Concord-index.
127 (Fconcord_object_get): Try to use readable print form as an ID of
129 (Fconcord_object_put): Try to use readable print form as an ID of
130 Concord-object and a feature value.
131 (Fconcord_object_spec): Try to use readable print form as an ID of
134 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * concord.c (print_concord_object): Support readable form.
138 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * emacs.c (main_1): Call `structure_type_create_concord' when
141 HAVE_CONCORD is defined.
143 * symsinit.h (structure_type_create_concord): New prototype.
145 * concord.c (Qconcord_object): New variable.
148 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
150 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
151 char*> for genre-name.
152 (Fconcord_feature_list): Likewise.
153 (Fconcord_make_object): Likewise.
154 (Fconcord_decode_object): Likewise; use <char*> instead of
155 <unsigned char*> for feature_name and strid.
156 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
157 c_obj and feature_name.
158 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
160 (struct closure_for_object_spec): Use <char*> instead of <unsigned
161 char*> for member `object_id'.
162 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
163 char*> for feature-name.
164 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
166 (func_for_each_object): Cast to avoid warnings.
167 (Fconcord_foreach_object_in_feature): Use <char*> instead of
168 <unsigned char*> for genre_name and feature_name.
169 (concord_name_validate): New function.
170 (concord_object_validate): Likewise.
171 (concord_object_instantiate): Likewise.
172 (syms_of_concord): Add new builtin symbols `concord-object',
174 (structure_type_create_concord): New function.
176 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * concord.c (Vconcord_ds_hash_table): New variable.
179 (Vconcord_genre_hash_table): New variable.
180 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
181 (Fconcord_ds_directory): New function.
182 (Fconcord_assign_genre): New function.
183 (Fconcord_genre_directory): New function.
184 (Fconcord_genre_ds): New function.
185 (Fconcord_feature_list): Allow to omit `ds'.
186 (Fconcord_make_object): Likewise.
187 (Fconcord_decode_object): Likewise.
188 (Fconcord_foreach_object_in_feature): Likewise.
189 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
190 Fconcord_assign_genre, Fconcord_genre_directory and
192 (vars_of_concord): Setup Vconcord_ds_hash_table and
193 Vconcord_genre_hash_table.
195 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * concord.c (struct closure_for_each_object): Add new member
199 (func_for_each_object): Setup the return value to
200 `for_each_object_closure->ret'.
201 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
202 returns the value instead of Qt.
204 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * concord.c: New file.
208 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
211 `lrecord_type_concord_object'.
213 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * symsinit.h (syms_of_concord): New prototype.
216 (vars_of_concord): New prototype.
218 * emacs.c (main_1): Setup symbols and variable about concord if
219 HAVE_CONCORD is defined.
221 * config.h.in (HAVE_CONCORD): New macro.
223 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * chartab.c (Fput_char_attribute): For each character relation
226 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
228 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * chartab.c (Fput_char_attribute): Use
231 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
232 calling `put_char_composition'.
234 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * chartab.c (Q_halfwidth_of): New variable.
237 (put_char_composition): Return `<-halfwidth' instead of
238 `=decomposition' for compatibility mapping to single character
240 (Fput_char_attribute): Convert char-specs in value of
241 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
242 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
244 (syms_of_chartab): Add new symbol `<-halfwidth'.
246 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * chartab.c (put_char_composition): Return
249 `<-formed@{isolated|initial|medial|final}' for compatibility
250 mapping to single character tagged
251 `{isolated|initial|medial|final}'.
253 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * chartab.c (Q_compat_of): Deleted.
256 (put_char_composition): Return `<-FOO' for compatibility mapping
257 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
258 of `symbol_name (XSYMBOL(...))'.
259 (Fput_char_attribute): Convert char-specs in value of
260 `{<-|->}font[^*]*' to characters and put reverse links.
261 (Fsave_char_attribute_table): Don't refer Q_compat_of.
262 (syms_of_chartab): Delete builtin symbol `<-compat'.
264 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * chartab.c (Q_circled_of): New variable.
267 (put_char_composition): Return `<-circled' instead of
268 `=decomposition' for compatibility mapping to single character
270 (Fput_char_attribute): Convert char-specs in value of
271 `{<-|->}circled[^*]*' to characters and put reverse links.
272 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
274 (syms_of_chartab): Add new symbol `<-circled'.
276 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * chartab.c (Qto_decomposition_at_circled): New variable.
279 (put_char_composition): Return `=>decomposition@circled' instead
280 of `=decomposition' for compatibility decomposition mapping tagged
282 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
284 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * chartab.c (Q_subscript_of): New variable.
287 (put_char_composition): Return `<-subscript' instead of
288 `=decomposition' for compatibility mapping to single character
290 (Fput_char_attribute): Convert char-specs in value of
291 `{<-|->}subscript[^*]*' to characters and put reverse links.
292 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
294 (syms_of_chartab): Add new symbol `<-subscript'.
296 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * chartab.c (Q_superscript_of): New variable.
299 (put_char_composition): Return `<-superscript' instead of
300 `=decomposition' for compatibility mapping to single character
302 (Fput_char_attribute): Convert char-specs in value of
303 `{<-|->}superscript[^*]*' to characters and put reverse links.
304 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
306 (syms_of_chartab): Add new symbol `<-superscript'.
308 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * chartab.c (Qto_decomposition_at_compat): Deleted.
311 (Qto_decomposition_at_superscript): New variable.
312 (put_char_composition): Use `=>decomposition@superscript' instead
313 of `=decomposition' for compatibility decomposition mapping tagged
315 (Fput_char_attribute): Fix condition about `put_char_composition'.
316 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
317 add news symbol `=>decomposition@superscript'.
319 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
322 for compatibility decomposition mapping tagged FOO.
323 (Fput_char_attribute): Modify for `put_char_composition'.
325 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
327 * chartab.c (Qto_decomposition_at_compat): New variable.
328 (Q_compat_of): Renamed from `Q_compatibility_of'.
329 (put_char_composition): Rename `Q_compatibility_of' to
330 `Q_compat_of'; return `=>decomposition@compat' for compatibility
331 decomposition mapping.
332 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
334 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
335 `<-compatibility' to `<-compat'.
337 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * chartab.c (Q_compatibility_of): New variable.
340 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
341 object is proved to be a cons cell; return `<-compatibility' if
342 the first element of argument `value' is `compat'.
343 (Fput_char_attribute): Eliminate the first value if
344 `put_char_composition' returns `<-compatibility'.
345 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
346 for `<-compatibility'.
347 (syms_of_chartab): Add new symbol `<-compatibility'.
349 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * chartab.c (Q_canonical): New variable.
352 (put_char_composition): Return a feature name: return
353 `->canonical' if argument `value' specifies single character.
354 (Fput_char_attribute): Use `put_char_composition' to determine
355 feature name for `=decomposition' or `->denotational'.
356 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
358 (syms_of_chartab): Add new symbol `->canonical'.
360 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * chartab.c (Qmap_decomposition): New variable.
363 (Fput_char_attribute): Convert `->decomposition' to
365 (syms_of_chartab): Add new symbol `=decomposition'.
367 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * chartab.c (Fget_range_char_table): Fix serious problem when
372 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * chartab.c (char_table_get_db): Use `read_from_c_string'.
376 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * lread.c (read_from_c_string): New function.
380 * lisp.h (read_from_c_string): New prototype.
382 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * chartab.c (Fput_char_attribute): Convert char-specs in value of
385 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
386 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
387 for `{<-|->}Oracle-Bones[^*]*'.
389 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
394 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * text-coding.c (Qccs_priority_list): New variable in XEmacs
398 (Fmake_coding_system): Support new property `ccs-priority-list' in
400 (Fcoding_system_property): Likewise.
401 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
402 Vdefault_coded_charset_priority_list in XEmacs CHISE.
403 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
405 (complex_vars_of_file_coding): Define new coding-system-property
406 `ccs-priority-list' in XEmacs CHISE.
408 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
410 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
413 changed to normal function.
414 (encode_char_2): Likewise.
416 * mule-charset.c (decoding_table_put_char): Copied from
417 char-ucs.h; changed to normal function.
418 (encode_char_2): Likewise.
420 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
424 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
425 (encode_char_2_search_children): New inline function.
426 (encode_char_2): Refer
427 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
428 and use `encode_char_2_search_children'.
430 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
434 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
435 (vars_of_mule_charset): Add new variable
436 `display-coded-charset-priority-use-inheritance' and
437 `display-coded-charset-priority-use-hierarchy-order'.
439 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * char-ucs.h (Q_subsumptive): New extern.
442 (Q_denotational): Likewise.
443 (encode_char_2): Search children specified by `->subsumptive' and
446 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * mule-charset.c (complex_vars_of_mule_charset): Modify the
449 X-registry of `ucs-bmp'.
451 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * chartab.c (char-variants): Refer `->subsumptive',
454 `->denotational' and `->identical' as same as `->ucs-unified'.
456 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * chartab.c (Fput_char_attribute): Convert char-specs in value of
459 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
462 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * text-coding.c: Add EXFUN for `Fregexp_quote'.
465 (decode_add_er_char): Fix problem about infinite loop when a CCS
466 specified in `coded-charset-entity-reference-alist' is not
469 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * mule-charset.c (syms_of_mule_charset): Rename
472 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
474 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * fns.c (simplify_char_spec): Don't allocate new character-object
477 if specified char_spec does not have any CCS-features.
479 * chartab.h: Add EXFUN for Fdefine_char.
481 * chartab.c: Delete EXFUN for Fdefine_char.
483 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * fns.c (simplify_char_spec): Use Fdefine_char instead of
486 Ffind_char for char-spec.
488 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 * lisp-disunion.h (XCHARVAL): Fix condition about
493 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
495 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
497 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
498 point; use <Emchar> instead of <int> for character-id.
500 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
503 (make_char): Likewise.
504 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
506 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
507 instead of <int> as the type of return value; use <Lisp_Object>
508 instead of <Emchar> as the type of argument.
509 (XCHARVAL[macro version]): Cast the result into <Emchar>.
511 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
512 syntaxcode> instead of <int>.
514 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * chartab.c (put_char_composition): Use DECODE_CHAR to get
517 character corresponding with UCS code point.
518 (Fput_char_attribute): Likewise.
520 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
521 character in the UCS decoding-table if the char-id is not equal to
524 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
527 for aliases; write `description'; write
528 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
531 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * chartab.c (Fsave_char_attribute_table): Don't use
534 `save_charset_properties'.
536 * mule-charset.c (Fsave_charset_properties): Renamed from
537 `save_charset_properties' and changed to Lisp function again;
538 write property `type' as `CCS'; write properties `final-byte' and
539 `mother' if they exists.
540 (syms_of_mule_charset): Revive builtin function
541 `save-charset-properties' when HAVE_LIBCHISE is defined.
543 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
546 instead of Vexec_directory.
547 (char_attribute_system_db_file): Likewise.
549 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * chartab.c (Fsave_char_attribute_table): Use
552 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
555 * mule-charset.c (save_charset_properties): Renamed from
556 `Fsave_charset_properties'; changed to non-Lisp function.
557 (syms_of_mule_charset): Abolish builtin function
558 `save-charset-properties'.
560 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * mule-charset.c (Fsave_charset_properties): New function when
563 HAVE_LIBCHISE is defined.
564 (syms_of_mule_charset): Add new builtin function
565 `save-charset-properties' when HAVE_LIBCHISE is defined.
567 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
569 * chartab.c (Fput_char_attribute): Convert char-specs in value of
570 `{<-|->}ancient[^*]*' to characters and put reverse links.
571 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
572 for `{<-|->}ancient[^*]*'.
574 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
576 * chartab.c (Fput_char_attribute): Convert char-specs in value of
577 `{<-|->}original[^*]*' to characters and put reverse links.
578 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
579 for `{<-|->}original[^*]*'.
581 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
583 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
585 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * mule-charset.c (Qsystem_char_id): New variable.
589 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
590 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
592 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * chartab.c (Fput_char_attribute): When processing a reference of
595 a character, put into the end of the reversed reference of each
598 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
600 * chartab.c (Q_same): Deleted.
601 (Q_same_of): Deleted.
602 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
603 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
605 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
607 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
609 * chartab.c (Q_vulgar): Deleted.
610 (Q_vulgar_of): Deleted.
611 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
612 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
614 (syms_of_chartab): Don't define `{<-|->}vulgar'.
616 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * chartab.c (Fput_char_attribute): Convert char-specs in value of
619 `{<-|->}wrong[^*]*' to characters and put reverse links.
620 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
621 for `{<-|->}wrong[^*]*'.
623 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * chartab.c (Q_vulgar): New variable.
626 (Q_vulgar_of): New variable.
627 (Fput_char_attribute): Convert char-specs in value of
628 `{->|<-}vulgar' to characters and put reverse links.
629 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
631 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
633 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
635 * text-coding.c (decode_add_er_char): Must to quote prefix string
638 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-charset.c (put_char_ccs_code_point): Store characters of
641 =ucs whose code_points >= 0xF0000.
643 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
645 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
647 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
649 (complex_vars_of_mule_charset): Add new coded-charset
650 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
651 builtin characters over 0xEFFFF.
653 * chartab.c (syms_of_chartab): Don't define symbol
654 `system-char-id' in every case.
656 * char-ucs.h (Qsystem_char_id): New extern variable.
657 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
659 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
661 * text-coding.c (char_encode_utf8): Try to use entity-references
662 for U-000F0000 ... U-0010FFFF.
664 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * text-coding.c (ER_BUF_SIZE): New macro.
667 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
669 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
670 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
672 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * chartab.c (find_char_feature_in_family): New function.
675 (Fchar_feature): Use `find_char_feature_in_family' with
676 `->identical', `<-subsumptive' and `<-denotational'.
678 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * text-coding.c (char_encode_as_entity_reference): Allow prefix
681 within 8 characters; fix infinite loop.
683 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * chartab.c (Q_same): New variable.
686 (Q_same_of): New variable.
687 (Fput_char_attribute): Convert char-specs in value of
688 `{->|<-}same' to characters and put reverse links.
689 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
691 (syms_of_chartab): Add new symbols `{->|<-}same'.
693 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * chartab.c (Q_component): New variable.
696 (Q_component_of): Likewise.
697 (Fput_char_attribute): Convert char-specs in value of
698 `{->|<-}ideographic-component-forms' to characters and put reverse
700 (syms_of_chartab): Add new symbols
701 `{->|<-}ideographic-component-forms'.
703 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
705 * chartab.c (Q_identical): New variable.
706 (Q_identical_from): New variable.
707 (Fchar_feature): Regard `->identical' as a feature to find
709 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
710 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
711 for `{->|<-}identical'.
712 (syms_of_chartab): Add new symbols `{->|<-}identical'.
714 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * char-ucs.h (encode_char_2): New inline function.
717 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
719 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * chartab.c (Fput_char_attribute): Convert char-specs to
722 characters in value of `ideographic-structure'.
723 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
724 for `{<-|->}simplified(@...)'.
725 (Fdefine_char): Try to use predefined character's id.
727 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
729 * fns.c (simplify_char_spec): Try to convert builtin chars to
732 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * chartab.c (Fput_char_attribute): Convert char-specs in value of
735 `<-simplified[^*]*' to characters and put reverse links.
737 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * chartab.c (Q_subsumptive): Renamed from Q_unified.
740 (Q_subsumptive_from): Renamed from Q_unified_from.
741 (Fchar_feature): Use `Q_subsumptive_from' instead of
743 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
745 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
746 `<-unified' to `<-subsumptive'.
748 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
751 inheritance itself; fix typo; stop recursive search if cyclic
752 inheritance is found.
754 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
756 * chartab.c (Q_denotational): New variable.
757 (Q_denotational_from): New variable.
758 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
759 (put_char_attribute): New function.
760 (Fput_char_attribute): Use `put_char_attribute'; regard
761 `->denotational' and `<-denotational' as same as `->unified' and
763 (syms_of_chartab): Add new symbols `->denotational' and
766 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
769 `Fget_char_attribute'.
770 (Fchar_variants): Likewise.
771 (get_char_table): Likewise.
772 (Fchar_feature): New function.
773 (put_char_composition): Use `Fchar_feature' instead of
774 `Fget_char_attribute'.
775 (Fput_char_attribute): Likewise; don't put the target character
776 into its `->unified' value.
777 (syms_of_chartab): Add new builtin function `char-feature'.
779 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
781 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
782 `Fget_char_attribute'.
783 (char_encode_utf8): Likewise.
785 * chartab.h: Add an EXFUN for `Fchar_feature'.
787 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
789 * chartab.c (Vnext_defined_char_id): New variable.
790 (Fput_char_attribute): Accept characters in `->unified'.
791 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
792 new characters which are not related with builtin char-id ranges.
793 (vars_of_chartab): Add new variable `next-defined-char-id'.
795 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
797 * chartab.c (Q_unified): New variable.
798 (Q_unified_from): New variable.
799 (Fput_char_attribute): Add code for `->unified'.
800 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
803 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * mule-charset.c (decode_ccs_conversion): New function.
806 (decode_defined_char): Use `decode_ccs_conversion'.
807 (decode_builtin_char): Likewise.
809 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * char-ucs.h: Change some charset-ids of private coded-charsets.
813 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
815 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
816 (char_encode_as_entity_reference): Likewise.
817 (decode_coding_big5): Modify for `decode_defined_char' and
819 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
820 avoid compiler warning.
821 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
823 * mule-charset.c (decode_defined_char): Add new argument
824 `without_inheritance'.
825 (Fdecode_char): Add new optional argument `without_inheritance'.
826 (Fdecode_builtin_char): Modify for `Fdecode_char'.
828 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
829 (simplify_char_spec): Likewise.
831 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
834 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
835 (map_char_table): Likewise.
836 (Fdefine_char): Use `Fdecode_char' without inheritance.
837 (Ffind_char): Modify for `Fdecode_char'.
839 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
841 * char-ucs.h (decode_defined_char): Add new argument
842 `without_inheritance'.
843 (DECODE_CHAR): Likewise.
844 (MAKE_CHAR): Modify for `DECODE_CHAR'.
846 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * chartab.c (Vchise_system_db_directory): New variable.
849 (vars_of_chartab): Add new variable `chise-system-db-directory'.
851 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * chartab.c: EXFUN `Fmount_char_attribute_table'.
854 (print_chartab_range): Don't define when `UTF2000' is defined.
855 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
858 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
860 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
861 and optional argument `rehash' is specified, call
862 `open_chise_data_source_maybe' before
863 `chise_ds_foreach_char_feature_name' is called.
865 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * chartab.c (char_attribute_list_reset_map_func): New function
868 when HAVE_LIBCHISE is defined.
869 (Fchar_attribute_list): Add new optional argument `rehash' when
870 HAVE_LIBCHISE is defined.
871 (open_chise_data_source_maybe): Use "chise-db" instead of
873 (char_attribute_system_db_file): Likewise.
874 (Fload_char_attribute_table): Use
875 `chise_feature_foreach_char_with_value' instead of
876 `chise_char_feature_value_iterate'.
878 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c (Vchise_db_directory): New variable.
881 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
883 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
885 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
886 instead of HAVE_CHISE to specify using with libchise.
888 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
890 * chartab.h: Don't use HAVE_CHISE_CLIENT.
892 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
893 defined or HAVE_LIBCHISE_LIBCHISE is defined.
894 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
896 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
897 HAVE_CHISE to specify using with libchise.
898 (syms_of_chartab): Don't define symbol `system-char-id' when
899 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
901 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
904 specify CHISE DB support.
905 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
906 of `char_attribute_system_db_file' to check feature DB file.
908 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
909 HAVE_CHISE_CLIENT to specify CHISE DB support.
911 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
912 specify CHISE DB support.
913 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
915 (Freset_char_attribute_table): Use `chise_feature_setup_db'
916 instead of `char_attribute_system_db_file' to check feature DB
919 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
924 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
926 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
927 (Fsave_charset_mapping_table): Don't use
928 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
930 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
931 (HAVE_LIBCHISE): New macro.
933 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
935 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
936 (Fsave_char_attribute_table): Don't use
937 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
939 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
941 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
943 (save_uint16_byte_table): Likewise.
944 (save_byte_table): Likewise.
945 (char_table_get_db): Use `chise_ds_load_char_feature_value'
946 instead of `chise_char_load_feature_value'.
947 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
949 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
951 * chartab.h (struct Lisp_Char_Table): Delete member
952 `feature_table' if CHISE is defined.
954 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
955 (Fcopy_char_table): Likewise.
956 (char_table_open_db_maybe): Likewise.
957 (char_table_close_db_maybe): Likewise.
958 (char_table_get_db): Likewise.
959 (Fmount_char_attribute_table): Likewise.
960 (Fload_char_attribute_table): Likewise.
962 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
964 * mule-charset.c (load_char_decoding_entry_maybe): Use
965 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
968 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
970 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
971 instead of `chise_open_data_source'.
972 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
975 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
977 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
978 instead of `chise_ds_open_feature_table'.
979 (char_table_close_db_maybe): Don't use `chise_ft_close'.
981 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
983 * mule-charset.c (Fsave_charset_mapping_table): Use
984 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
985 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
986 `chise_ccs_sync' instead of `chise_ccst_close'.
987 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
989 * chartab.c (open_chise_data_source_maybe): Modify for
990 `chise_open_data_source'.
991 (char_table_open_db_maybe): Modify for
992 `chise_ds_open_feature_table'.
994 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
996 * mule-charset.c (load_char_decoding_entry_maybe): Use
997 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1000 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1002 * mule-charset.c (Fsave_charset_mapping_table): Use
1003 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1004 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1005 `chise_dt_put_char' and `chise_dt_close'.
1006 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1007 `chise_ccs_decode' and `chise_ccst_close' instead of
1008 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1011 * chartab.c (char_table_get_db): Use
1012 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1013 (load_char_attribute_table_map_func): Modify for
1014 `chise_char_feature_value_iterate'.
1015 (Fload_char_attribute_table): Use
1016 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1018 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1020 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1022 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1024 * chartab.c (put_char_table): Modify for inherited coded-charsets
1027 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1029 * chartab.c (Fput_char_table_map_function): Fixed.
1030 (word_boundary_p): Don't check charset in XEmacs CHISE.
1032 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1034 * mule-charset.c (Fsave_charset_mapping_table): Use
1035 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1036 instead of `chise_open_decoding_table'; refer
1037 `default_chise_data_source'; use `chise_dt_close' instead of
1038 `chise_close_decoding_table'.
1039 (load_char_decoding_entry_maybe): Likewise.
1041 * chartab.c (default_chise_data_source): New variable when `CHISE'
1043 (Fcopy_char_table): `ct->ds' is deleted.
1044 (open_chise_data_source_maybe): New function.
1045 (Fclose_char_data_source): New function.
1046 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1047 use `chise_ds_open_feature_table' instead of
1048 `chise_open_feature_table'.
1049 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1050 `chise_close_feature_table'; `cit->ds' is deleted.
1051 (syms_of_chartab): Add new builtin function
1052 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1054 * chartab.h (default_chise_data_source): New extern variable.
1055 (open_chise_data_source_maybe): New prototype.
1056 (struct Lisp_Char_Table): Delete `ds'.
1058 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1060 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1063 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1065 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1066 not defined; add code for non-libchise setting.
1067 (char_table_close_db_maybe): Likewise.
1068 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1070 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1071 even if `CHISE' is not defined.
1072 (Freset_char_attribute_table): Likewise.
1073 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1074 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1075 `char_table_get_db'.
1076 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1077 `char_table_close_db_maybe' even if `CHISE' is not defined.
1079 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1081 * chartab.c (char_table_open_db_maybe): New function.
1082 (char_table_close_db_maybe): New function.
1083 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1084 (Freset_char_attribute_table): Likewise.
1085 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1086 `char_table_close_db_maybe'.
1087 (Fload_char_attribute_table): Likewise.
1089 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1091 * chartab.c: Don't include <chise.h> because it is included in
1093 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1095 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1097 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1099 (Fclose_char_attribute_table): Close `ct->feature_table' and
1100 `ct->ds' when `CHISE' is defined.
1101 (Freset_char_attribute_table): Likewise.
1102 (load_char_attribute_maybe): Use `cit->ds' and
1103 `cit->feature_table' when `CHISE' is defined.
1104 (Fload_char_attribute_table): Likewise.
1106 * chartab.h: Include <chise.h> when `CHISE' is defined.
1107 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1108 when `CHISE' is defined.
1110 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1112 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1114 (char_table_description): Likewise.
1115 (Fmake_char_table): Likewise.
1116 (Fcopy_char_table): Likewise.
1117 (Fmount_char_attribute_table): Likewise.
1118 (Fclose_char_attribute_table): Likewise.
1119 (Freset_char_attribute_table): Likewise.
1120 (load_char_attribute_maybe): Likewise.
1121 (Fload_char_attribute_table): Likewise.
1123 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1126 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1128 * chartab.c (load_char_attribute_table_map_func): New function
1129 when CHISE is defined.
1130 (Qload_char_attribute_table_map_function): Don't define when CHISE
1132 (Fload_char_attribute_table_map_function): Likewise.
1133 (Fload_char_attribute_table): Use libchise when `CHISE' is
1135 (syms_of_chartab): Don't define
1136 `load-char-attribute-table-map-function' when CHISE is defined.
1138 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1140 * chartab.c: Include <chise.h> when `CHISE' is defined.
1141 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1143 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1145 * mule-charset.c (charset_code_point): Fix problem when searching
1146 in mother CCS fails with `defined_only' mode.
1148 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1151 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1152 (put_char_composition): Likewise.
1153 (Fput_char_attribute): Likewise.
1154 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1156 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1158 * chartab.c (Q_ucs): Deleted.
1159 (Fput_char_attribute): Don't refer `->ucs'.
1160 (Fdefine_char): Likewise.
1161 (Ffind_char): Likewise.
1162 (syms_of_chartab): Delete `->ucs'.
1164 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1166 * mule-charset.c (Qmap_cns11643_2): Renamed from
1167 `Qchinese_cns11643_2'.
1168 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1169 `chinese-cns11643-2'.
1170 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1173 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * mule-charset.c (Qmap_cns11643_1): Renamed from
1176 `Qchinese_cns11643_1'.
1177 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1178 `chinese-cns11643-1'.
1179 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1182 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1184 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1185 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1187 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1190 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1192 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1193 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1195 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1198 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1200 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1201 (syms_of_mule_charset): Add new symbol `=big5' instead of
1203 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1205 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1208 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1210 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1213 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1215 * mule-charset.c (Qmap_jis_x0212): Renamed from
1216 `Qjapanese_jisx0212'.
1217 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1218 `japanese-jisx0212'.
1219 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1222 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1224 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1225 `Qjapanese_jisx0208'.
1226 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1227 of `japanese-jisx0208'.
1228 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1231 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1234 `Qjapanese_jisx0208_1978'.
1235 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1236 of `japanese-jisx0208-1978'.
1237 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1240 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1242 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1243 only for XEmacs CHISE.
1245 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1247 * char-ucs.h: Compact non-ISO-IR charset-ids.
1248 (LEADING_BYTE_UCS): Changed to -177.
1249 (LEADING_BYTE_CONTROL_1): Changed to -77.
1250 (LEADING_BYTE_UCS_BMP): Changed to -176.
1251 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1253 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * mule-charset.c (Qiso_ir): New variable.
1256 (Fmake_charset): Recognise new property `iso-ir'.
1257 (syms_of_mule_charset): Add new symbol `iso-ir'.
1259 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1261 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1262 n to -n; charset-id of non ISO-IR sets are changed to positive
1265 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1268 for &MCS-XXXXXXXX; values.
1270 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1272 * mule.c (Vxemacs_chise_version): Renamed from
1273 `Vutf_2000_version'.
1274 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1275 `utf-2000-version' as an alias for `xemacs-chise-version'.
1277 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1280 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1283 * config.h.in (CHISE): New macro.
1285 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1287 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1289 (Qmap_ucs): New variable.
1290 (syms_of_mule_charset): Add new symbol `=ucs'.
1291 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1293 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1294 (simplify_char_spec): Likewise.
1296 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1298 * char-ucs.h (Qmap_ucs): New extern variable.
1300 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1303 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1304 don't define it when UTF2000 is not defined.
1305 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1306 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1307 when UTF2000 is not defined.
1308 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1309 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1311 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1313 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1315 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1317 (syms_of_mule_charset): Delete `ucs-gb'.
1318 (complex_vars_of_mule_charset): Likewise.
1320 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1322 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1324 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1325 (Qucs_cns): Deleted.
1326 (syms_of_mule_charset): Delete `ucs-cns'.
1327 (complex_vars_of_mule_charset): Likewise.
1329 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1331 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1333 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1334 (Qucs_jis): Deleted.
1335 (syms_of_mule_charset): Delete `ucs-jis'.
1336 (complex_vars_of_mule_charset): Likewise.
1338 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1340 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1342 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1344 (syms_of_mule_charset): Delete `ucs-ks'.
1345 (complex_vars_of_mule_charset): Likewise.
1347 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1350 (Qideograph_daikanwa_2): Deleted.
1351 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1352 (complex_vars_of_mule_charset): Likewise.
1354 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1355 (LEADING_BYTE_DAIKANWA_1): Deleted.
1356 (LEADING_BYTE_DAIKANWA_2): Deleted.
1357 (MIN_CHAR_DAIKANWA): Deleted.
1358 (MAX_CHAR_DAIKANWA): Deleted.
1360 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1362 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1363 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1364 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1366 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1367 (Vcharset_ideograph_daikanwa): Deleted.
1368 (Qideograph_hanziku_{1..12}): Deleted.
1369 (Qideograph_daikanwa): Deleted.
1370 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1371 Vcharset_ideograph_daikanwa.
1372 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1373 `ideograph-hanziku-{1..12}'.
1374 (complex_vars_of_mule_charset): Likewise.
1376 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1378 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1380 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1381 (Qideograph_gt_pj_{1..11}): Deleted.
1382 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1383 (complex_vars_of_mule_charset): Likewise.
1385 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1388 (Vcharset_ideograph_gt): Deleted.
1389 (Qucs_big5): Deleted.
1390 (Qideograph_gt): Deleted.
1391 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1393 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1396 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1397 (LEADING_BYTE_GT): Deleted.
1398 (MIN_CHAR_GT): Deleted.
1399 (MAX_CHAR_GT): Deleted.
1401 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1405 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1407 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1408 (save_uint16_byte_table): Likewise.
1409 (save_byte_table): Likewise; convert values by it.
1410 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1411 for `ideographic-structure'.
1412 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1413 as the filter for `ideographic-structure'.
1415 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1417 * chartab.c (put_char_composition): New function.
1418 (Fput_char_attribute): Use `put_char_composition'; use
1419 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1421 * fns.c (simplify_char_spec): New function.
1422 (char_ref_simplify_spec): New function.
1423 (Fchar_refs_simplify_char_specs): New function.
1424 (syms_of_fns): Add new builtin function
1425 `char-refs-simplify-char-specs'.
1427 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1429 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1430 (Qideograph_cbeta): Deleted.
1431 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1432 (complex_vars_of_mule_charset): Likewise.
1434 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1435 (MIN_CHAR_CBETA): Comment out.
1436 (MAX_CHAR_CBETA): Likewise.
1438 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1440 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1441 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1442 CHISE client feature.
1444 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1446 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1448 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1450 * mule-charset.c (charset_lookup_description_1): Use
1451 `NUM_LEADING_BYTES' in UTF-2000.
1453 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1455 * char-ucs.h (GC_CHARSETP): Deleted.
1457 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1459 * char-ucs.h (MAX_CHAR_GT): Updated.
1461 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1463 * text-coding.c: Sync with XEmacs 21.4.10.
1465 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1467 * mule-charset.c (Vcharset_china3_jef): Deleted.
1468 (Qchina3_jef): Deleted.
1469 (syms_of_mule_charset): Don't define `china3-jef'.
1470 (complex_vars_of_mule_charset): Likewise.
1472 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1473 (MIN_CHAR_CHINA3_JEF): Comment out.
1474 (MAX_CHAR_CHINA3_JEF): Comment out.
1476 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1478 * mule-charset.c (Vcharset_ucs_gb): New variable.
1479 (Qucs_gb): New variable.
1480 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1481 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1483 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1485 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1487 * mule-charset.c (charset_code_point): if a coded-charset has a
1488 final-byte, don't inherit the builtin range of the mother CCS.
1490 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * mule-charset.c (charset_code_point): Fix problem about
1495 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c (decode_builtin_char): Reorganized.
1499 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1501 * text-coding.c (char_encode_as_entity_reference): Modify for
1502 `charset_code_point'.
1503 (char_encode_shift_jis): Likewise.
1504 (char_encode_big5): Likewise.
1505 (char_encode_utf8): Likewise.
1506 (char_encode_iso2022): Likewise.
1508 * mule-charset.c (charset_code_point): Add new argument
1510 (Fencode_char): Add new optional argument `defined_only'.
1512 * chartab.c (put_char_table): Modify for `charset_code_point'.
1514 * char-ucs.h (charset_code_point): Add new argument
1516 (encode_char_1): Modify for `charset_code_point'.
1518 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1521 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1523 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1525 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1526 (Qjis_x0208): Likewise.
1527 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1528 XCHARSET_FINAL(charset).
1529 (charset_code_point): Modify condition for final-byte based
1531 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1532 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1533 in UTF-2000; specify `=jis-x0208' as the mother of
1534 `japanese-jisx0208-1978', `japanese-jisx0208' and
1535 `japanese-jisx0208-1990' in UTF-2000.
1537 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1539 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1541 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1543 * text-coding.c (decode_coding_utf16): Support UTF-16.
1544 (char_encode_utf16): Fixed.
1546 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1548 * text-coding.c (Qutf16): New variable in MULE.
1549 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1550 (Fcoding_system_type): Add `utf-16' in MULE.
1551 (struct detection_state): Add a structure for utf16 in MULE.
1552 (detect_coding_type): Setup st->utf16.mask in MULE.
1553 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1555 (reset_encoding_stream): Use `char_encode_utf16' and
1556 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1557 (detect_coding_utf16): New function [incomplete].
1558 (decode_coding_utf16): New function [support only UCS-2].
1559 (char_encode_utf16): New function.
1560 (char_finish_utf16): New function.
1561 (syms_of_file_coding): Add new symbol `utf-16'; setup
1562 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1564 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1566 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1567 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1569 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * chartab.c (put_char_table): When a charset is specified as a
1572 range in UTF-2000, don't support builtin characters.
1574 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1576 * mule-charset.c (decode_defined_char): Don't refer external
1577 database if Qunbound or Qnil are found.
1578 (Fsave_charset_mapping_table): Don't define it if
1579 HAVE_CHISE_CLIENT is not defined.
1580 (Freset_charset_mapping_table): New function.
1581 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1582 found in external database.
1583 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1584 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1585 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1587 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1589 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1592 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1594 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1595 Q_lowercase, Q_uppercase in UTF-2000.
1597 * chartab.c (get_char_table): Add special code for the standard
1598 case table to use character attribute `->downcase' and
1599 `->uppercase' for case operations in UTF-2000.
1601 * casetab.c (Qflippedcase): New variable in UTF-2000.
1602 (Q_lowercase): Likewise.
1603 (Q_uppercase): Likewise.
1604 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1605 and `->uppercase' in UTF-2000.
1606 (complex_vars_of_casetab): Assign attribute name `downcase' to
1607 downcase and CANON table of Vstandard_case_table in UTF-2000;
1608 assign attribute name `flippedcase' to upcase and EQV table of
1609 Vstandard_case_table in UTF-2000.
1611 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1613 * text-coding.c (decode_add_er_char): Support isolated-chars.
1614 (char_encode_as_entity_reference): Likewise.
1616 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * emacs.c (Vutf_2000_lisp_directory): New variable.
1619 (Vconfigure_utf_2000_lisp_directory): Likewise.
1620 (complex_vars_of_emacs): Add new variable
1621 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1623 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1625 * char-ucs.h (DECODE_CHAR): Delete special code for
1626 `chinese-big5-1' and `chinese-big5-2'.
1628 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1629 (Qbig5_2): Likewise.
1630 (decode_defined_char): Support CONVERSION_BIG5_1 and
1632 (decode_builtin_char): Likewise.
1633 (charset_code_point): Likewise.
1634 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1635 'conversion in UTF-2000.
1636 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1637 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1638 `chinese-big5-2' as children of `chinese-big5'.
1640 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1641 (CONVERSION_BIG5_2): New macro.
1643 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1645 * text-coding.c (char_encode_big5): Support entity-reference.
1647 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1649 * text-coding.c (char_encode_as_entity_reference): New function.
1650 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1652 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1654 * text-coding.c (decode_coding_big5): Support entity-reference
1657 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * text-coding.c (allocate_coding_system): Initialize initial
1660 charsets for CODESYS_UTF8.
1661 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1662 charset-g2 for CODESYS_UTF8.
1663 (decode_coding_utf8): Use charset-g0.
1664 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1665 to force variants to map to UCS.
1667 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1669 * text-coding.c (Qutf_8_mcs): New variable.
1670 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1671 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1672 instead of `utf-8' in UTF-2000.
1674 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1676 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1677 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1678 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1679 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1680 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1681 CONVERSION_96x96x96x96 are introduced.
1682 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1683 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1684 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1686 * char-ucs.h (CONVERSION_94): New macro.
1687 (CONVERSION_96): New macro.
1688 (CONVERSION_94x94): New macro.
1689 (CONVERSION_96x96): New macro.
1690 (CONVERSION_94x94x94): New macro.
1691 (CONVERSION_96x96x96): New macro.
1692 (CONVERSION_94x94x94x60): New macro.
1693 (CONVERSION_94x94x94x94): New macro.
1694 (CONVERSION_96x96x96x96): New macro.
1696 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1698 * chartab.c (Vcharacter_variant_table): Deleted.
1699 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1700 of `Vcharacter_variant_table'.
1701 (Fput_char_attribute): Likewise.
1702 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1703 (complex_vars_of_chartab): Likewise.
1705 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1709 * fns.c (Qideographic_structure): New variable.
1710 (Qkeyword_char): New variable.
1711 (ids_format_unit): New function.
1712 (Fideographic_structure_to_ids): New function.
1713 (syms_of_fns): Add new symbols `ideographic-structure' and
1714 `:char'; add new builtin function `ideographic-structure-to-ids'.
1716 * data.c (Fchar_ref_p): New function.
1717 (syms_of_data): Add new builtin function `char-ref-p'.
1719 * chartab.h: Add an EXFUN for `Ffind_char'.
1721 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * text-coding.c (Vcharacter_composition_table): Deleted.
1724 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1727 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1729 (Vcharacter_composition_table): Deleted.
1730 (Fget_composite_char): Use the implementation for external-DB
1731 support in every UTF-2000.
1732 (Fput_char_attribute): Likewise.
1733 (char_attribute_system_db_file): Don't define if external-DB
1734 feature is not available.
1735 (Fsave_char_attribute_table): Likewise.
1736 (Fmount_char_attribute_table): Likewise.
1737 (Fclose_char_attribute_table): Likewise.
1738 (Freset_char_attribute_table): Likewise.
1739 (Fload_char_attribute_table): Likewise.
1740 (syms_of_chartab): Don't define `save-char-attribute-table',
1741 `mount-char-attribute-table', `reset-char-attribute-table',
1742 `close-char-attribute-table' and `load-char-attribute-table' if
1743 external-DB feature is not available.
1744 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1746 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1748 * text-coding.c (Qcomposition): Add extern if external-DB feature
1750 (Vcharacter_composition_table): Don't add extern if external-DB
1751 feature is supported.
1752 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1753 character composition rule if external-DB feature is supported.
1755 * chartab.c (Vcharacter_composition_table): Don't define if
1756 external-DB feature is supported.
1757 (Qcomposition): New variable.
1758 (Fget_composite_char): New implementation for external-DB support.
1759 (Fput_char_attribute): Use `composition' property of each
1760 character instead of `Vcharacter_composition_table' to store
1761 character-composition rules if external-DB feature is supported.
1762 (syms_of_chartab): Add new symbol `composition'.
1763 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1764 external-DB feature is supported.
1766 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1768 * chartab.c (Vchar_db_stingy_mode): New variable.
1769 (load_char_attribute_maybe): Close database if
1770 Vchar_db_stingy_mode is not NIL.
1771 (Fload_char_attribute_table_map_function): Use
1772 `get_char_id_table_0' instead of `get_char_id_table'.
1773 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1775 * chartab.h (get_char_id_table_0): New inline function.
1776 (get_char_id_table): Use `get_char_id_table_0'.
1778 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1780 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1781 and `COMPOSE_ADD_CHAR'.
1782 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1784 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1786 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1787 instead of `DECODE_ADD_UCS_CHAR'.
1788 (COMPOSE_ADD_CHAR): Likewise.
1790 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1792 * text-coding.c (decode_flush_er_chars): New inline function.
1793 (decode_add_er_char): New function.
1794 (decode_coding_utf8): Use `decode_flush_er_chars' and
1795 `decode_add_er_char'.
1797 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1799 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1800 done before `decode_output_utf8_partial_char'.
1802 * mule-charset.c (complex_vars_of_mule_charset): Specify
1803 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1804 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1806 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1808 * mule-charset.c (decode_defined_char): New function; search
1810 (decode_builtin_char): Don't search mother if
1811 XCHARSET_MAX_CODE(charset) == 0.
1812 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1813 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1814 (Fdecode_char): Use `decode_defined_char' instead of
1815 `DECODE_DEFINED_CHAR'.
1816 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1817 mother of `Vcharset_ucs_jis'.
1819 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1820 instead of `DECODE_DEFINED_CHAR'.
1822 * char-ucs.h (decode_defined_char): Renamed from
1823 `DECODE_DEFINED_CHAR'; changed to normal function.
1824 (DECODE_CHAR): Use `decode_defined_char' instead of
1825 `DECODE_DEFINED_CHAR'.
1827 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1829 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1831 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1833 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1835 (Quse_entity_reference): New variable.
1839 (coding_system_description): Add description for
1840 `ccs_priority_list'.
1841 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1842 (allocate_coding_system): Initialize `ccs_priority_list' in
1844 (Fmake_coding_system): Add description about
1845 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1847 (Fcoding_system_property): Accept `disable-composition' and
1848 `use-entity-reference' in UTF-2000.
1849 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1851 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1852 (decode_coding_utf8): Decode entity-reference if
1853 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1854 (char_encode_utf8): Encode non-Unicode characters as
1855 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1857 (syms_of_file_coding): Add new symbols `use-entity-reference',
1859 (vars_of_file_coding): Add new variable
1860 `coded-charset-entity-reference-alist'.
1861 (complex_vars_of_file_coding): Declare `disable-composition' and
1862 `use-entity-reference' to be coding-system-properties in UTF-2000.
1864 * file-coding.h (struct Lisp_Coding_System): Add new member
1865 `use_entity_reference' and `ccs_priority_list'.
1866 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1867 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1868 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1870 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1872 * chartab.c (save_uint8_byte_table): Don't clear the table.
1873 (save_uint16_byte_table): Likewise.
1874 (save_byte_table): Likewise.
1875 (Fmount_char_attribute_table): New function.
1876 (syms_of_chartab): Add new builtin function
1877 `mount-char-attribute-table'.
1879 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1881 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1883 (load_char_decoding_entry_maybe): Open database as read-only mode.
1885 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1886 open database as "w+" mode.
1887 (load_char_attribute_maybe): Open database as read-only mode.
1888 (Fload_char_attribute_table): Likewise.
1890 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1892 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1893 (char_table_description): Delete member `db_file'.
1894 (Fmake_char_table): Don't refer `ct->db_file'.
1895 (Fcopy_char_table): Likewise.
1896 (Fsave_char_attribute_table): Likewise.
1897 (Fclose_char_attribute_table): Likewise.
1898 (Freset_char_attribute_table): Likewise.
1899 (load_char_attribute_maybe): Likewise.
1900 (Fload_char_attribute_table): Likewise.
1902 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1904 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1907 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1909 (load_char_attribute_maybe): Likewise.
1910 (Fload_char_attribute_table): Likewise.
1912 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1914 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1915 `ct->db_file' unconditionally.
1917 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1919 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1921 (char_table_description): Add description for `db_file' and `db'
1923 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1925 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1926 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1927 (Fclose_char_attribute_table): New function.
1928 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1929 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1931 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1932 (syms_of_chartab): Add new builtin function
1933 `Fclose_char_attribute_table'.
1935 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1937 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1939 (load_char_attribute_maybe): Change interface.
1940 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1942 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1944 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1946 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1949 instead of `DECODE_CHAR' for mother; don't use special code for
1950 chinese-big5 to use code space of chinese-big5-1 and
1952 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1953 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1955 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1956 (MAX_CHAR_BIG5_CDP): Revival.
1958 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1961 the XLFD registry-encoding name of `chinese-big5'.
1963 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1965 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1966 (Qchinese_big5_cdp): Deleted.
1967 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1968 (complex_vars_of_mule_charset): Delete coded-charset
1971 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1972 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1973 `CHARSET_ID_OFFSET - n' for private CCS.
1974 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1975 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1976 of `MIN_LEADING_BYTE'.
1977 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1978 `(CHARSET_ID_OFFSET - 97)'.
1979 (MIN_CHAR_BIG5_CDP): Deleted.
1980 (MAX_CHAR_BIG5_CDP): Deleted.
1982 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1984 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1986 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1989 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1992 * chartab.c (Vutf_2000_version): Moved to mule.c.
1993 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1995 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1997 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1998 when HAVE_CHISE_CLIENT is not defined.
2000 * mule.c (vars_of_mule): Provide feature `chise' when
2001 HAVE_CHISE_CLIENT is defined.
2003 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2005 * config.h.in (UTF2000): Add comment.
2006 (HAVE_CHISE_CLIENT): New macro.
2008 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2010 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2012 (Fput_char_attribute): Likewise.
2013 (char_attribute_system_db_file): Encode file-name of attribute.
2014 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2017 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2019 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2020 (Fsave_charset_mapping_table): Use
2021 `char_attribute_system_db_file'.
2022 (load_char_decoding_entry_maybe): Likewise.
2024 * chartab.h (Qsystem_char_id): New external variable.
2025 (char_attribute_system_db_file): New prototype.
2027 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2028 (char_attribute_system_db_file): New function.
2029 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2030 (Freset_char_attribute_table): Likewise.
2031 (load_char_attribute_maybe): Likewise.
2032 (Fload_char_attribute_table): Likewise.
2033 (syms_of_chartab): Add new symbol `system-char-id'.
2035 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2037 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2038 `XCHARSET_GRAPHIC(ccs)'.
2040 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2042 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2044 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2046 * chartab.c (Q_ucs_variants): New variable.
2047 (syms_of_chartab): Add new symbol `->ucs-variants'.
2048 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2049 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2050 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2052 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2054 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2055 `HAVE_DATABASE' is defined.
2056 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2057 `HAVE_DATABASE' is defined.
2059 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2061 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2063 (Freset_char_attribute_table): New function.
2064 (syms_of_chartab): Add new builtin function
2065 `reset-char-attribute-table'.
2067 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2069 * chartab.c (load_char_attribute_maybe): Don't make directories.
2071 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2073 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2075 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2078 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2080 * mule-charset.c (Fsave_charset_mapping_table): Use
2081 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2083 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2084 instead of `XCHARSET_CHARS'.
2086 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2088 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2089 (XCHARSET_BYTE_SIZE): Likewise.
2091 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2093 (XCHARSET_BYTE_SIZE): Likewise.
2095 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2097 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2098 data-directory to store database.
2099 (Fsave_char_attribute_table): Likewise.
2100 (load_char_attribute_maybe): Likewise.
2101 (Fload_char_attribute_table): Likewise.
2103 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2105 * mule-charset.c (Fsave_charset_mapping_table): New function.
2106 (syms_of_mule_charset): Add new builtin function
2107 `save-charset-mapping-table'.
2109 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2112 (get_ccs_octet_table): New inline function.
2113 (put_ccs_octet_table): Likewise.
2114 (decoding_table_put_char): Use `get_ccs_octet_table' and
2115 `put_ccs_octet_table'.
2116 (decoding_table_remove_char): Use `decoding_table_put_char'.
2117 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2119 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2120 into encoding_table.
2121 (make_charset): Use Qunbound instead Qnil as initial value of
2124 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2126 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2127 element is Qunloaded.
2128 (map_over_uint16_byte_table): Likewise.
2129 (map_over_byte_table): Likewise.
2130 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2131 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2132 database support, load encoding-table of the specified
2133 coded-charset if it is not loaded yet.
2134 (save_uint8_byte_table): New function of UTF-2000 with external
2136 (save_uint16_byte_table): Likewise.
2137 (save_byte_table): Likewise.
2138 (Fput_char_attribute): Don't store value into external database
2139 even if the external database feature is supported in UTF-2000;
2140 set `attribute' as name of char-table if the external database
2141 feature is supported.
2142 (Fsave_char_attribute_table): New function in UTF-2000.
2143 (syms_of_chartab): Add new builtin function
2144 `save-char-attribute-table' in UTF-2000.
2146 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2148 * chartab.c (char_attribute_table_to_put): New variable in
2150 (Qput_char_table_map_function): Likewise.
2151 (value_to_put): Likewise.
2152 (Fput_char_table_map_function): New function in UTF-2000.
2153 (put_char_table): Use `Fmap_char_attribute' for
2154 CHARTAB_RANGE_CHARSET in UTF-2000.
2155 (Fput_char_attribute): Store symbol instead of string in
2156 `XCHAR_TABLE_NAME (table)'.
2157 (load_char_attribute_maybe): Likewise.
2158 (syms_of_chartab): Add new symbol/function
2159 `put-char-table-map-function'.
2161 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2163 * database.h: Add new EXFUN for `Fmap_database'.
2165 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2166 (syms_of_database): Likewise.
2168 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2170 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2171 (XCHAR_TABLE_UNLOADED): Likewise.
2173 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2174 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2175 HAVE_DATABASE is defined.
2176 (char_attribute_table_to_load): New variable of UTF-2000 with
2177 external database support.
2178 (Qload_char_attribute_table_map_function): Likewise.
2179 (Fload_char_attribute_table_map_function): New function of
2180 UTF-2000 with external database support.
2181 (Fload_char_attribute_table): New function of UTF-2000.
2182 (Fmap_char_attribute): Call Fload_char_attribute_table if
2183 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2184 (syms_of_chartab): Add new symbol and function
2185 `load-char-attribute-table-map-function' in UTF-2000 with external
2186 database support; add new function `load-char-attribute-table' in
2189 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * chartab.h (load_char_attribute_maybe): New prototype for
2192 UTF-2000 with DATABASE support.
2193 (get_char_id_table): Use `load_char_attribute_maybe' if
2194 HAVE_DATABASE is defined.
2196 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2197 with DATABASE support.
2199 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * chartab.c (Fput_char_attribute): Use S-expression as key of
2204 * chartab.h (get_char_id_table): Use S-expression as key of
2207 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2209 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2210 if an element is not loaded, load the corresponding attributes
2211 from an external database.
2212 (map_over_uint16_byte_table): Likewise.
2213 (map_over_byte_table): Likewise.
2214 (map_char_table): Modify for `map_over_uint8_byte_table',
2215 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2216 element is not loaded, load the corresponding attributes from an
2218 (Fput_char_attribute): Change initial values to Qunloaded.
2220 * chartab.h (get_char_id_table): If a character attribute is not
2221 loaded and the attribute value is not found in an external
2222 database, store Qunbound as the attribute value.
2224 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2226 * chartab.c (BT_UINT8_unloaded): New macro.
2227 (UINT8_VALUE_P): Accept Qunloaded.
2228 (UINT8_ENCODE): Likewise.
2229 (UINT8_DECODE): Likewise.
2230 (BT_UINT16_unloaded): New macro.
2231 (UINT16_VALUE_P): Accept Qunloaded.
2232 (UINT16_ENCODE): Likewise.
2233 (UINT16_DECODE): Likewise.
2234 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2236 (mark_char_table): Mark `ct->name' in UTF-2000.
2237 (char_table_description): Add `name' in UTF-2000.
2238 (Fmake_char_table): Initialize `ct->name'.
2239 (Fcopy_char_table): Copy `ct->name'.
2240 (Fput_char_attribute): Store value into an external database if
2241 HAVE_DATABASE is defined.
2243 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2245 (CHAR_TABLE_NAME): New macro in UTF-2000.
2246 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2247 (get_char_id_table): Try to read an external database if Qunloaded
2248 is stored in a table.
2250 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2253 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2255 * database.h: Add EXFUN definitions for Fopen_database,
2256 Fput_database, Fget_database and Fclose_database.
2258 * data.c (Qunloaded): New variable in UTF-2000.
2260 * lisp.h (Qunloaded): New variable in UTF-2000.
2262 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (put_char_ccs_code_point): Modify for
2265 `decoding_table_remove_char' and `decoding_table_put_char'.
2266 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2268 * char-ucs.h (decoding_table_remove_char): Change arguments to
2269 hide decoding_table vector.
2270 (decoding_table_put_char): Likewise.
2272 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (decoding_table_remove_char): Moved to
2276 (decoding_table_put_char): Likewise.
2278 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2279 from mule-charset.c].
2280 (decoding_table_remove_char): New inline function [moved from
2282 (decoding_table_put_char): Likewise.
2284 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2286 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2289 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2291 * mule-charset.c (decode_builtin_char): Support mother charsets.
2293 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2295 * mule-charset.c (Q94x94x60): New variable.
2296 (charset_code_point): Support conversion `94x94x60'.
2297 (Fmake_charset): Likewise.
2298 (syms_of_mule_charset): Add new symbol `94x94x60'.
2300 * char-ucs.h (CONVERSION_94x94x60): New macro.
2302 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2304 * mule-charset.c (charset_code_point): Unify code about
2307 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2309 * mule-charset.c (charset_code_point): Merge code about builtin
2310 characters into code about mother charsets; don't use
2311 `range_charset_code_point'.
2312 (range_charset_code_point): Deleted.
2314 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2316 * mule-charset.c (Qcode_offset): New variable.
2317 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2318 `max-code'; accept new property `code-offset'.
2319 (syms_of_mule_charset): Add new symbol `code-offset'.
2321 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2323 * mule-charset.c (range_charset_code_point): Fixed.
2325 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2327 * mule-charset.c (decode_builtin_char): Change semantics of
2328 code-offset of coded-charset.
2329 (charset_code_point): Likewise.
2330 (range_charset_code_point): Likewise.
2331 (complex_vars_of_mule_charset): Modify for the change.
2333 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2335 * mule-charset.c (Fencode_char): Reverse arguments.
2337 * mule-charset.c (charset_code_point): Fixed.
2339 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2341 * mule-charset.c (Vcharset_mojikyo): Deleted.
2342 (Vcharset_mojikyo_2022_1): Deleted.
2343 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2344 (Qmin_code): New variable in UTF-2000.
2345 (Qmax_code): Likewise.
2346 (Qmother): Likewise.
2347 (Qconversion): Likewise.
2349 (Qmojikyo): Deleted.
2350 (Qmojikyo_2022_1): Deleted.
2351 (Qmojikyo_pj_{1..22}): Deleted.
2352 (mark_charset): Mark `cs->mother'.
2353 (charset_description): Add description for `mother'.
2354 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2355 new arguments `mother' and `conversion'; use
2356 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2357 (charset_code_point): Moved from char-ucs.h; support `mother'
2359 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2360 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2361 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2362 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2363 allow 2 as the value of `graphic' in UTF-2000; add new properties
2364 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2365 require `final' in UTF-2000; modify for `make_charset'.
2366 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2367 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2368 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2369 (Fencode_char): New function.
2370 (syms_of_mule_charset): Add new builtin function `encode-char' in
2371 UTF-2000; add new symbols `min-code', `max-code', `mother',
2372 `conversion' and `94x60'; delete symbols `mojikyo',
2373 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2374 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2375 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2376 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2378 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2379 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2381 * char-ucs.h (Vcharset_mojikyo): Deleted.
2382 (Vcharset_mojikyo_2022_1): Deleted.
2383 (LEADING_BYTE_MOJIKYO): Deleted.
2384 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2385 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2386 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2387 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2388 add new member `mother'; add new member `conversion'.
2389 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2390 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2391 (CHARSET_MOTHER): New macro.
2392 (CHARSET_CONVERSION): New macro.
2393 (CONVERSION_IDENTICAL): New macro.
2394 (CONVERSION_94x60): New macro.
2395 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2396 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2397 (XCHARSET_MOTHER): New macro.
2398 (XCHARSET_CONVERSION): New macro.
2399 (MIN_CHAR_MOJIKYO): Deleted.
2400 (MAX_CHAR_MOJIKYO): Deleted.
2401 (DECODE_MOJIKYO_2022): Deleted.
2402 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2403 (charset_code_point): Changed to non-inline function.
2404 (encode_char_1): Use `charset_code_point'.
2405 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2407 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2409 * lread.c (read_compiled_function): Fix prototype.
2410 (read_vector): Likewise.
2412 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2414 * lrecord.h (struct lrecord_header): Delete `older'.
2415 (set_lheader_implementation): Delete code for `older'.
2416 (set_lheader_older_implementation): Deleted.
2417 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2418 (OLDER_RECORD_P): Deleted.
2419 (OLDER_RECORD_HEADER_P): Deleted.
2420 (alloc_older_lcrecord): Deleted.
2421 (alloc_older_lcrecord_type): Deleted.
2423 * alloc.c (all_older_lcrecords): Deleted.
2424 (alloc_older_lcrecord): Deleted.
2425 (disksave_object_finalization_1): Delete code for older objects.
2426 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2427 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2429 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2431 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2432 instead of `make_older_vector'.
2433 (put_char_ccs_code_point): Likewise.
2434 (mark_charset): Mark `cs->decoding_table'.
2435 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2437 * lisp.h (make_older_vector): Deleted.
2438 (make_vector_newer): Deleted.
2440 * config.h.in (HAVE_GGC): Deleted.
2442 * alloc.c (make_older_vector): Deleted.
2443 (make_vector_newer_1): Deleted.
2444 (make_vector_newer): Deleted.
2446 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2448 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2449 (Qideograph_daikanwa_2): New variable.
2450 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2451 (complex_vars_of_mule_charset): Add new coded-charset
2452 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2453 `LEADING_BYTE_DAIKANWA'.
2455 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2456 (LEADING_BYTE_DAIKANWA_1): New macro.
2457 (LEADING_BYTE_DAIKANWA_2): New macro.
2458 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2460 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2462 * mule-charset.c (complex_vars_of_mule_charset): Change
2463 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2464 the second revised version.
2466 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2468 * mule-charset.c (Vcharset_ucs_smp): New variable.
2469 (Vcharset_ucs_sip): New variable.
2470 (Qucs_smp): New variable.
2471 (Qucs_sip): New variable.
2472 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2473 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2474 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2475 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2476 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2477 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2479 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2480 (LEADING_BYTE_UCS_SIP): New macro.
2481 (MIN_CHAR_SMP): New macro.
2482 (MAX_CHAR_SMP): New macro.
2483 (MIN_CHAR_SIP): New macro.
2484 (MAX_CHAR_SIP): New macro.
2486 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2488 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2491 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2493 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2494 value; don't store value into `encoding_table' of `Lisp_Charset'.
2495 (mark_charset): `encoding_table' was deleted.
2496 (charset_description): Likewise.
2497 (make_charset): Likewise.
2498 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2499 `put_char_ccs_code_point'.
2501 * chartab.h (Fput_char_attribute): New EXFUN.
2503 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2504 is unified with normal symbol space.
2505 (Fget_char_attribute): Likewise.
2506 (Fput_char_attribute): Likewise; behavior of
2507 `put_char_ccs_code_point' is changed.
2509 * char-ucs.h: Include "elhash.h".
2510 (Vchar_attribute_hash_table): New external variable.
2511 (struct Lisp_Charset): Delete `encoding_table'.
2512 (CHARSET_ENCODING_TABLE): New implementation; refer
2513 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2516 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2518 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2521 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2523 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2526 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2528 * chartab.c (uint8_byte_table_description): New constant.
2529 (uint8-byte-table): Use `uint8_byte_table_description'.
2530 (uint16_byte_table_description): New constant.
2531 (uint16-byte-table): Use `uint16_byte_table_description'.
2533 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2535 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2536 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2538 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2540 * mule-charset.c (Vcharset_ucs_ks): New variable.
2541 (Qucs_ks): New variable.
2542 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2543 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2545 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2547 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2549 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2550 (Fdecode_char): Likewise.
2552 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2554 (Fdefine_char): Modify for Fdecode_char.
2555 (Ffind_char): Likewise.
2557 * mule-charset.c (Fdecode_char): Add new optional argument
2559 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2561 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2564 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2565 (allocate_coding_system): Initialize initial-charsets of
2566 CODESYS_BIG5 in XEmacs UTF-2000.
2567 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2568 CODESYS_BIG5 in XEmacs UTF-2000.
2569 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2570 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2572 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2574 (Qideograph_hanziku_{1 .. 12}): Likewise.
2575 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2577 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2578 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2579 `ideograph-hanziku-{1 .. 12}'.
2581 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2582 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2583 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2584 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2585 (DECODE_DEFINED_CHAR): New inline function.
2586 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2588 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2590 * mule-charset.c (Vcharset_china3_jef): Renamed from
2591 `Vcharset_japanese_jef_china3'.
2592 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2593 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2594 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2595 (syms_of_mule_charset): Rename `china3-jef' from
2596 `japanese-jef-china3'.
2597 (complex_vars_of_mule_charset): Likewise; rename
2598 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2600 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2601 `LEADING_BYTE_JEF_CHINA3'.
2602 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2603 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2605 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * mule-charset.c (encode_builtin_char_1): Comment out special code
2608 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2610 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2611 (MAX_CHAR_MOJIKYO_0): Comment out.
2612 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2613 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2614 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2615 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2617 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2619 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2620 (Qideograph_cbeta): New variable.
2621 (encode_builtin_char_1): Comment out special code for
2622 coded-charset `mojikyo' and `japanese-jef-china3'.
2623 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2624 (complex_vars_of_mule_charset): Add new coded-charset
2627 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2628 (MIN_CHAR_CBETA): New macro.
2629 (MAX_CHAR_CBETA): New macro.
2631 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2634 (LEADING_BYTE_JEF_CHINA3): New macro.
2635 (MIN_CHAR_JEF_CHINA3): New macro.
2636 (MAX_CHAR_JEF_CHINA3): Likewise.
2637 (DECODE_CHAR): Fixed.
2639 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2641 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2642 (Qjapanese_jef_china3): New variable.
2643 (encode_builtin_char_1): Support `japanese-jef-china3'.
2644 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2645 (complex_vars_of_mule_charset): Add new coded-charset
2646 `japanese-jef-china3'.
2648 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2650 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2651 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2652 94^4, 96^3, 96^4, 128^n and 256^n set.
2653 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2654 (map_char_table): Likewise.
2656 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2658 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2661 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2663 * chartab.h (get_char_id_table): New inline function.
2665 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2668 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * chartab.h (decode_char_table_range): New prototype in XEmacs
2672 (put_char_id_table): New inline function in XEmacs UTF-2000.
2674 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2676 (decode_char_table_range): Delete static declaration in XEmacs
2679 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2681 * chartab.c (put_char_id_table): Use `put_char_table'.
2683 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2685 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2686 (map_over_uint16_byte_table): Likewise.
2687 (map_over_byte_table): Likewise.
2688 (map_char_table): Modify for `map_over_uint8_byte_table',
2689 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2692 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2694 * chartab.c (struct map_char_table_for_charset_arg): New
2696 (map_char_table_for_charset_fun): New function.
2697 (map_char_table): Use `map_char_table' for encoding_table of
2700 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2702 * chartab.c (map_char_table): Check a character is found in
2703 range->charset instead of non default value is defined in
2704 char-table when range is CHARTAB_RANGE_ROW.
2706 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2708 * chartab.c (map_char_id_table): Deleted.
2709 (Fmap_char_attribute): Use `map_char_table' instead of
2710 `map_char_id_table'.
2712 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2714 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2716 (update_syntax_table): Deleted in XEmacs UTF-2000.
2718 * syntax.c (find_defun_start): Use `syntax_table' instead of
2719 `mirror_syntax_table' in XEmacs UTF-2000.
2720 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2722 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2724 (Fmatching_paren): Likewise.
2725 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2727 (find_start_of_comment): Likewise.
2728 (find_end_of_comment): Likewise.
2729 (Fforward_comment): Likewise.
2730 (scan_lists): Likewise.
2731 (char_quoted): Likewise.
2732 (Fbackward_prefix_chars): Likewise.
2733 (scan_sexps_forward): Likewise.
2734 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2735 (update_syntax_table): Likewise.
2737 * search.c (skip_chars): Use `syntax_table' instead of
2738 `mirror_syntax_table' in XEmacs UTF-2000.
2739 (wordify): Likewise.
2740 (Freplace_match): Likewise.
2742 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2743 `mirror_syntax_table' in XEmacs UTF-2000.
2744 (WORDCHAR_P_UNSAFE): Likewise.
2745 (re_match_2_internal): Likewise.
2747 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2748 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2750 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2751 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2753 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2756 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2758 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2759 (char_table_description): Delete `mirror_table' in XEmacs
2761 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2763 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2764 (Fcopy_char_table): Likewise.
2765 (put_char_table): Don't call `update_syntax_table' in XEmacs
2768 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2769 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2770 (casify_region_internal): Likewise.
2772 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2774 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2775 `mirror_syntax_table' in XEmacs UTF-2000.
2777 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2778 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2779 (Fexpand_abbrev): Likewise.
2781 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2783 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2785 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2787 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2788 (map_over_uint16_byte_table): Likewise.
2789 (map_over_byte_table): Likewise.
2790 (get_char_id_table): Refer `cit->default_value'.
2791 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2792 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2793 of character-id ranges.
2794 (mark_char_table): Mark `ct->default_value'.
2795 (char_table_description): Add `default_value'.
2796 (fill_char_table): Use `default_value'.
2797 (decode_char_table_range): Decode `nil' as
2798 `CHARTAB_RANGE_DEFAULT'.
2799 (get_char_id_table): Refer `cit->default_value'.
2800 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2801 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2802 temporary hack; check value of char-table is bound or not.
2803 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2805 * chartab.h (struct Lisp_Char_Table): Add new member
2806 `default_value' in XEmacs UTF-2000.
2807 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2808 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2811 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2813 * chartab.h (Lisp_Char_ID_Table): Deleted.
2815 * chartab.c (char_table_description): Fix typo.
2816 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2817 `Lisp_Char_ID_Table'.
2819 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2821 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2824 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2827 * chartab.h (XCHAR_ID_TABLE): Deleted.
2828 (XSETCHAR_ID_TABLE): Deleted.
2829 (CHAR_ID_TABLE_P): Deleted.
2831 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2833 (Fget_composite_char): Likewise.
2834 (put_char_table): Likewise.
2835 (add_char_attribute_alist_mapper): Fixed.
2836 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2838 (Fget_char_attribute): Likewise.
2839 (Fget_char_attribute): Likewise.
2840 (Fmap_char_attribute): Likewise.
2842 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2844 (encode_char_1): Likewise.
2846 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2851 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2852 instead of `XCHAR_ID_TABLE'.
2853 (remove_char_ccs): Likewise.
2855 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2857 (Fget_composite_char): Likewise.
2858 (Fchar_variants): Likewise.
2859 (put_char_table): Likewise.
2860 (add_char_attribute_alist_mapper): Likewise.
2861 (Fchar_attribute_alist): Likewise.
2862 (Fget_char_attribute): Likewise.
2863 (Fput_char_attribute): Likewise.
2864 (Fmap_char_attribute): Likewise.
2865 (Fmap_char_attribute): Likewise.
2867 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2869 (encode_char_1): Likewise.
2871 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2873 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2874 `Lisp_Char_ID_Table'.
2875 (mark_char_id_table): Deleted.
2876 (print_char_id_table): Likewise.
2877 (char_id_table_equal): Likewise.
2878 (char_id_table_hash): Likewise.
2879 (char_id_table_description): Likewise.
2880 (char_id_table): Likewise.
2881 (make_char_id_table): Use `Fmake_char_table' and
2883 (get_char_id_table): Use `Lisp_Char_Table' instead of
2884 `Lisp_Char_ID_Table'.
2885 (put_char_id_table): Likewise.
2886 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2888 (Fremove_char_attribute): Likewise.
2889 (syms_of_chartab): Don't define type `char-id-table'.
2891 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2892 (char_id_table): Likewise.
2893 (GC_CHAR_ID_TABLE_P): Likewise.
2894 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2895 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2896 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2897 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2898 (get_char_id_table): Use `Lisp_Char_Table' instead of
2899 `Lisp_Char_ID_Table'.
2900 (put_char_id_table_0): Likewise.
2901 (put_char_id_table): Likewise.
2903 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2905 * chartab.h: Lisp_Byte_Table related codes are moved from
2908 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2910 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2912 * chartab.h: Don't include "chartab.h".
2913 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2914 (Lisp_Char_ID_Table): Likewise.
2915 (char_id_table): Likewise.
2916 (XCHAR_ID_TABLE): Likewise.
2917 (XSETCHAR_ID_TABLE): Likewise.
2918 (CHAR_ID_TABLE_P): Likewise.
2919 (GC_CHAR_ID_TABLE_P): Likewise.
2920 (get_char_id_table): Likewise.
2922 * char-ucs.h: Include "chartab.h".
2923 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2924 (Lisp_Char_ID_Table): Likewise.
2925 (char_id_table): Likewise.
2926 (XCHAR_ID_TABLE): Likewise.
2927 (XSETCHAR_ID_TABLE): Likewise.
2928 (CHAR_ID_TABLE_P): Likewise.
2929 (GC_CHAR_ID_TABLE_P): Likewise.
2930 (get_char_id_table): Likewise.
2932 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2934 * chartab.c (copy_uint8_byte_table): New function.
2935 (copy_uint16_byte_table): New function.
2936 (copy_byte_table): New function.
2937 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2939 (map_over_uint16_byte_table): Likewise.
2940 (map_over_byte_table): Likewise.
2941 (get_byte_table): Move prototype to chartab.h.
2942 (put_byte_table): Likewise.
2943 (put_char_id_table_0): Moved to chartab.h.
2944 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2945 (char_table_entry_equal): Likewise.
2946 (char_table_entry_hash): Likewise.
2947 (char_table_entry_description): Likewise.
2948 (char_table_entry): Likewise.
2949 (make_char_table_entry): Likewise.
2950 (copy_char_table_entry): Likewise.
2951 (get_non_ascii_char_table_value): Likewise.
2952 (map_over_charset_ascii): Likewise.
2953 (map_over_charset_control_1): Likewise.
2954 (map_over_charset_row): Likewise.
2955 (map_over_other_charset): Likewise.
2956 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2957 (print_char_table): Likewise.
2958 (char_table_equal): Likewise.
2959 (char_table_hash): Likewise.
2960 (char_table_description): Likewise.
2961 (fill_char_table): Likewise.
2962 (Fcopy_char_table): Likewise.
2963 (get_char_table): Likewise.
2964 (Fget_range_char_table): Likewise.
2965 (put_char_table): Likewise.
2966 (map_char_table): Likewise.
2967 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2970 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2972 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2973 `Vauto_fill_chars' in XEmacs UTF-2000.
2975 * chartab.h (get_byte_table): New prototype [moved from
2977 (put_byte_table): Likewise [moved from chartab.c].
2978 (put_char_id_table_0): New inline function [moved from chartab.c].
2979 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2980 (Lisp_Char_Table_Entry): Likewise.
2981 (char_table_entry): Likewise.
2982 (XCHAR_TABLE_ENTRY): Likewise.
2983 (XSETCHAR_TABLE_ENTRY): Likewise.
2984 (CHAR_TABLE_ENTRYP): Likewise.
2985 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2986 (NUM_ASCII_CHARS): Likewise.
2987 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2988 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2990 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2992 * chartab.c (get_char_id_table): Change interface.
2993 (put_char_id_table_0): New function.
2994 (put_char_id_table): Change interface; new implementation.
2995 (Fget_composite_char): Modify for interface change of
2996 `get_char_id_table'.
2997 (Fchar_variants): Likewise.
2998 (add_char_attribute_alist_mapper): Likewise.
2999 (Fchar_attribute_alist): Likewise.
3000 (Fget_char_attribute): Likewise.
3001 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3002 as same as character as the first argument like `put-char-table';
3003 modify for interface change of `put_char_id_table'.
3004 (Fremove_char_attribute): Modify for interface change of
3005 `put_char_id_table'.
3007 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3009 * text-coding.c: Sync up with XEmacs 21.2.41.
3010 (COMPOSE_ADD_CHAR): Modify for interface change of
3011 `get_char_id_table'.
3013 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3014 change of `put_char_id_table'.
3015 (remove_char_ccs): Likewise.
3017 * chartab.h (put_char_id_table): Change interface.
3019 * char-ucs.h (get_char_id_table): Change interface.
3020 (charset_code_point): Modify for interface change of
3021 `get_char_id_table'.
3022 (encode_char_1): Likewise.
3024 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3026 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3028 (map_over_uint16_byte_table): Likewise.
3029 (map_over_byte_table): Likewise.
3030 (map_char_id_table): Add new argument `range' like
3032 (Fmap_char_attribute): Add new argument `range' like
3035 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3037 * chartab.c (map_over_uint8_byte_table): Change interface of
3038 mapping function to use struct chartab_range instead of Emchar.
3039 (map_over_uint16_byte_table): Likewise.
3040 (map_over_byte_table): Likewise.
3041 (map_char_id_table): Likewise.
3042 (struct slow_map_char_id_table_arg): Deleted.
3043 (slow_map_char_id_table_fun): Deleted.
3044 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3045 function `slow_map_char_table_fun' instead of struct
3046 `slow_map_char_id_table_arg' and function
3047 `slow_map_char_id_table_fun'.
3049 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3051 * mule-charset.c: Move char-it-table related codes to chartab.c.
3052 (Vutf_2000_version): Moved to chartab.c.
3053 (Fdefine_char): Likewise.
3054 (Ffind_char): Likewise.
3055 (syms_of_mule_charset): Move types `uint8-byte-table',
3056 `uint16-byte-table', `byte-table' and `char-id-table' to
3057 chartab.c; move functions `char_attribute_list,
3058 `find_char_attribute_table, `char_attribute_alist,
3059 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3060 `map_char_attribute, `define_char, `find_char, `char_variants and
3061 `get_composite_char to chartab.c; move symbols `=>ucs',
3062 `->decomposition', `compat', `isolated', `initial', `medial',
3063 `final', `vertical', `noBreak', `fraction', `super', `sub',
3064 `circle', `square', `wide', `narrow', `small' and `font' to
3066 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3067 setting codes for `Vcharacter_composition_table' and
3068 `Vcharacter_variant_table' to chartab.c.
3069 (complex_vars_of_mule_charset): Move setting code for
3070 `Vchar_attribute_hash_table' to chartab.c.
3072 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3073 (make_char_id_table): New prototype.
3074 (put_char_id_table): Likewise.
3075 (Fget_char_attribute): Likewise.
3077 * chartab.c: Move char-id-table related code from mule-charset.c.
3078 (Vutf_2000_version): Moved from mule-charset.c.
3080 * char-ucs.h (Qucs): New external variable.
3081 (put_char_ccs_code_point): New prototype.
3082 (remove_char_ccs): Likewise.
3084 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3086 * mule-charset.c (Vcharset_ucs_jis): New variable.
3087 (Qucs_jis): Likewise.
3088 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3089 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3091 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3093 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * mule-charset.c (map_over_uint8_byte_table): New function.
3096 (map_over_uint16_byte_table): Likewise.
3097 (map_over_byte_table): Likewise.
3098 (map_char_id_table): Likewise.
3099 (slow_map_char_id_table_fun): Likewise.
3100 (Fmap_char_attribute): Likewise.
3101 (syms_of_mule_charset): Add new function `map-char-attribute'.
3103 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3105 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3106 (syms_of_mule_charset): Add new function `find-char'.
3108 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3110 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3112 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3113 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3115 (complex_vars_of_mule_charset): Add new coded-charset
3116 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3117 `ideograph-gt-pj-*'.
3119 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3121 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3123 * mule-charset.c (encode_builtin_char_1): Purge codes about
3124 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3125 {MIN|MAX}_CHAR_HEBREW.
3126 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3127 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3129 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3130 (MAX_CHAR_GREEK): Purged.
3131 (MIN_CHAR_CYRILLIC): Purged.
3132 (MAX_CHAR_CYRILLIC): Purged.
3133 (MIN_CHAR_HEBREW): Commented out.
3134 (MAX_CHAR_HEBREW): Likewise.
3136 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (Qto_ucs): New variable.
3139 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3140 (Fdefine_char): Likewise.
3141 (syms_of_mule_charset): Add new symbol `=>ucs'.
3143 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * mule-charset.c (Fdecode_char): Fixed.
3147 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3149 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3150 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3153 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3155 * mule-charset.c (Vcharset_ucs_big5): New variable.
3156 (Qucs_big5): Likewise.
3157 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3158 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3160 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3162 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3164 * mule-charset.c (decode_builtin_char): Check Big5 code range
3165 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3167 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3169 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3170 (Qchinese_gb12345): Likewise.
3171 (Fdecode_builtin_char): Fixed.
3172 (syms_of_mule_charset): Add `chinese-gb12345'.
3173 (complex_vars_of_mule_charset): Add coded-charset
3176 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3177 (LEADING_BYTE_CHINESE_GB12345): New macro.
3179 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3181 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3182 and `latin-viscii-upper' for `latin-viscii'.
3184 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3186 * mule-charset.c (Fdecode_builtin_char): Comment out
3187 regularization code for ISO-IR GR representation.
3189 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3191 * mule-charset.c (decode_builtin_char): New function; renamed from
3192 `make_builtin_char'; return -1 instead of signal.
3193 (Fdecode_builtin_char): Use `decode_builtin_char'.
3195 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3196 `make_builtin_char'.
3197 (DECODE_CHAR): Use `decode_builtin_char' instead of
3198 `make_builtin_char'; use mapping table of `chinese-big5' for
3199 `chinese-big5-{1,2}'.
3201 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3203 * text-coding.c (char_encode_big5): New function.
3204 (char_finish_big5): Likewise.
3205 (reset_encoding_stream): Use `char_encode_big5' and
3206 `char_finish_big5' for CODESYS_BIG5.
3207 (mule_encode): Don't use `encode_coding_big5'.
3208 (encode_coding_big5): Deleted.
3210 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3212 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3213 0x81- in XEmacs UTF-2000.
3214 (detect_coding_big5): Likewise.
3216 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3219 generate character-id if the CCS property does not have
3220 corresponding predefined character.
3221 (make_builtin_char): Return -1 if corresponding predefined
3222 character is not found.
3223 (Fdecode_char): Return nil if corresponding character is not
3225 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3226 don't map to builtin ucs space.
3228 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3230 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3231 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3233 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3235 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3236 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3237 (Qideograph_gt): Likewise.
3238 (Qideograph_gt_pj_{1..11}): Likewise.
3239 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3240 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3241 `ideograph-gt-pj-11'.
3242 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3243 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3244 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3246 * char-ucs.h (LEADING_BYTE_GT): New macro.
3247 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3248 (MIN_CHAR_GT): Likewise.
3249 (MAX_CHAR_GT): Likewise.
3251 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3253 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3254 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3256 * doprnt.c (unsigned_int_converters): Add `c'.
3257 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3259 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3260 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3262 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3263 (MAX_CHAR_MOJIKYO_0): New macro.
3264 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3266 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3268 * mule-charset.c (Fdefine_char): Delete cemented out code.
3269 (encode_builtin_char_1): Modify for new allocation of builtin
3272 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3274 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3276 * mule-charset.c (Vcharset_ucs_cns): New variable.
3277 (Qucs_cns): New variable.
3278 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3279 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3281 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3283 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3285 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3287 * search.c (search_buffer): Make `charset_base_code' as
3288 character-id >> 6 to eliminate the corresponding last byte in
3289 UTF-8 representation [I'm not sure it is right thing].
3290 (boyer_moore): Likewise.
3292 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3294 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3295 representation in MULE.
3297 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3299 * text-coding.c (Fmake_coding_system): Use
3300 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3301 `EXTERNAL_PROPERTY_LIST_LOOP'.
3303 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3305 * text-coding.c (decode_output_utf8_partial_char): New function.
3306 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3308 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3310 * text-coding.c (decode_coding_utf8): Output original byte
3311 sequence if it is broken; change order of conditions.
3313 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3316 * mb-multibyte.h (BYTE_ASCII_P):
3317 Use bit ops for char-signedness safety.
3318 (BYTE_C0_P): Use bit ops for char-signedness safety.
3319 (BYTE_C1_P): Use bit ops for char-signedness safety.
3321 * character.h: (XCHAR_OR_CHAR_INT):
3322 Always use inline function.
3323 Remove redundant type checking assert() - XINT will abort quite
3326 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3328 * text-coding.c: (Fencode_shift_jis_char):
3329 (Fencode_big5_char):
3330 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3331 Replace 0 with '\0' when working with bytes.
3332 Replace initial "(" with "\(" in docstrings.
3334 (Fmake_coding_system):
3335 When type is ccl and value is vector, register it with a proper
3336 symbol. And checks whether the given ccl program is valid.
3337 (mule_decode): When calling ccl_driver, if src indicates
3338 NULL pointer, set an empty string instead.
3339 (mule_encode): Likewise.
3342 (detect_coding_sjis):
3343 (decode_coding_sjis):
3344 (detect_coding_big5):
3345 (decode_coding_big5):
3346 (detect_coding_ucs4):
3347 (decode_coding_ucs4):
3348 (detect_coding_utf8):
3349 (decode_coding_utf8):
3350 (detect_coding_iso2022):
3351 (decode_coding_iso2022):
3352 (decode_coding_no_conversion):
3354 Make all detecting and decoding functions take an Extbyte * arg.
3355 (text_encode_generic):
3356 (encode_coding_big5):
3357 (encode_coding_no_conversion):
3359 Make all encoding functions take a Bufbyte * arg.
3360 Use size_t instead of unsigned int for memory sizes.
3361 Only cast to unsigned char whenever dereferencing Extbyte *.
3363 (struct lrecord_description fcd_description_1): Use countof.
3364 (complex_vars_of_file_coding):
3365 Use countof instead of sizeof.
3366 Use CHECK_NATNUM instead of CHECK_INT.
3368 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3370 * mule-charset.c (Fget_char_attribute): Add new optional argument
3372 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3373 (remove_char_ccs): Likewise.
3375 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3377 * text-coding.c (char_encode_shift_jis): New implementation in
3379 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3382 * mule-charset.c (Vcharset_chinese_big5): New variable in
3384 (Qchinese_big5): New variable in UTF-2000.
3385 (BIG5_SAME_ROW): New macro in UTF-2000.
3386 (make_builtin_char): Use builtin characters of
3387 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3388 characters of `Vcharset_chinese_big5'.
3389 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3390 (complex_vars_of_mule_charset): Add new coded-charset
3391 `chinese-big5' in UTF-2000.
3393 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3394 (Vcharset_chinese_big5): New external variable declaration.
3395 (Vcharset_japanese_jisx0208_1990): Likewise.
3397 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3399 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3401 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3403 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3405 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3406 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3407 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3410 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3412 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3414 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3416 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3419 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3421 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3422 for `CHARSET_BY_ATTRIBUTES'.
3423 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3424 `CHARSET_BY_ATTRIBUTES'.
3426 * text-coding.c (struct decoding_stream): Rename member `CH' to
3428 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3429 (decode_coding_sjis): Likewise.
3430 (decode_coding_big5): Likewise.
3431 (decode_coding_ucs4): Likewise.
3432 (decode_coding_utf8): Likewise.
3433 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3434 `CHARSET_BY_ATTRIBUTES'.
3435 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3436 `str->counter'; decode 3, 4 bytes sets.
3437 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3439 (decode_coding_no_conversion): Use `str->cpos' instead of
3442 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3443 (Qmojikyo_2022_1): New variable.
3444 (make_charset): Don't use `CHARSET_TYPE_*'.
3445 (range_charset_code_point): Support coded-charset
3447 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3448 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3449 `CHARSET_BY_ATTRIBUTES'.
3450 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3451 `CHARSET_BY_ATTRIBUTES'.
3452 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3453 (complex_vars_of_mule_charset): Add new coded-charset
3456 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3457 interface; changed to inline function.
3459 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3460 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3461 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3462 (CHARSET_TYPE_94): Deleted.
3463 (CHARSET_TYPE_94X94): Deleted.
3464 (CHARSET_TYPE_96): Deleted.
3465 (CHARSET_TYPE_96X96): Deleted.
3466 (CHARSET_TYPE_128): Deleted.
3467 (CHARSET_TYPE_128X128): Deleted.
3468 (CHARSET_TYPE_256): Deleted.
3469 (CHARSET_TYPE_256X256): Deleted.
3470 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3472 (DECODE_MOJIKYO_2022): New inline function.
3473 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3474 `Vcharset_mojikyo_2022_1'.
3476 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3478 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3480 (put_byte_table): Likewise.
3481 (char_id_table_equal): Use `get_byte_table' [new implementation].
3483 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3485 * mule-charset.c: Include <limits.h> in UTF-2000.
3486 (BT_UINT8_MIN): New macro in UTF-2000.
3487 (BT_UINT8_MAX): New macro in UTF-2000.
3488 (BT_UINT8_t): New macro in UTF-2000.
3489 (BT_UINT8_nil): New macro in UTF-2000.
3490 (BT_UINT8_unbound): New macro in UTF-2000.
3491 (INT_UINT8_P): New inline function in UTF-2000.
3492 (UINT8_VALUE_P): New inline function in UTF-2000.
3493 (UINT8_ENCODE): New inline function in UTF-2000.
3494 (UINT8_DECODE): New inline function in UTF-2000.
3495 (mark_uint8_byte_table): New function in UTF-2000.
3496 (print_uint8_byte_table): New function in UTF-2000.
3497 (uint8_byte_table_equal): New function in UTF-2000.
3498 (uint8_byte_table_hash): New function in UTF-2000.
3499 (make_uint8_byte_table): New function in UTF-2000.
3500 (uint8_byte_table_same_value_p): New function in UTF-2000.
3501 (BT_UINT16_MIN): New macro in UTF-2000.
3502 (BT_UINT16_MAX): New macro in UTF-2000.
3503 (BT_UINT16_t): New macro in UTF-2000.
3504 (BT_UINT16_nil): New macro in UTF-2000.
3505 (BT_UINT16_unbound): New macro in UTF-2000.
3506 (INT_UINT16_P): New inline function in UTF-2000.
3507 (UINT16_VALUE_P): New inline function in UTF-2000.
3508 (UINT16_ENCODE): New inline function in UTF-2000.
3509 (UINT16_DECODE): New inline function in UTF-2000.
3510 (UINT8_TO_UINT16): New inline function in UTF-2000.
3511 (mark_uint16_byte_table): New function in UTF-2000.
3512 (print_uint16_byte_table): New function in UTF-2000.
3513 (uint16_byte_table_equal): New function in UTF-2000.
3514 (uint16_byte_table_hash): New function in UTF-2000.
3515 (make_uint16_byte_table): New function in UTF-2000.
3516 (uint16_byte_table_same_value_p): New function in UTF-2000.
3517 (print_byte_table): New function in UTF-2000.
3518 (byte-table): Use `print_byte_table' as printer.
3519 (make_byte_table): Delete second argument `older'.
3520 (byte_table_same_value_p): New function in UTF-2000.
3521 (copy_byte_table): Deleted.
3522 (get_byte_table): New function in UTF-2000.
3523 (put_byte_table): New function in UTF-2000.
3524 (print_char_id_table): New function in UTF-2000.
3525 (char-id-table): Use `print_char_id_table' as printer.
3526 (make_char_id_table): Delete second argument `older'.
3527 (get_char_id_table): Use `get_byte_table [new implementation].
3528 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3530 (Ffind_char_attribute_table): New function in UTF-2000.
3531 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3532 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3533 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3534 (syms_of_mule_charset): Add new function
3535 `find-char-attribute-table' in UTF-2000.
3537 * lrecord.h (enum lrecord_type): Add
3538 `lrecord_type_uint16_byte_table' and
3539 `lrecord_type_uint8_byte_table'.
3541 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3542 (Lisp_Uint8_Byte_Table): New type.
3543 (XUINT8_BYTE_TABLE): New macro.
3544 (XSETUINT8_BYTE_TABLE): New macro.
3545 (UINT8_BYTE_TABLE_P): New macro.
3546 (GC_UINT8_BYTE_TABLE_P): New macro.
3547 (struct Lisp_Uint16_Byte_Table): New structure.
3548 (Lisp_Uint16_Byte_Table): New type.
3549 (XUINT16_BYTE_TABLE): New macro.
3550 (XSETUINT16_BYTE_TABLE): New macro.
3551 (UINT16_BYTE_TABLE_P): New macro.
3552 (GC_UINT16_BYTE_TABLE_P): New macro.
3554 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3556 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3557 (Vcharacter_ideographic_strokes_table): Deleted.
3558 (Vcharacter_total_strokes_table): Deleted.
3559 (Vcharacter_morohashi_daikanwa_table): Deleted.
3560 (Vcharacter_decomposition_table): Deleted.
3561 (Qname): Deleted because it is duplicated.
3562 (Qideographic_radical): Deleted.
3563 (Qideographic_strokes): Deleted.
3564 (Qtotal_strokes): Deleted.
3565 (Qmorohashi_daikanwa): Deleted.
3566 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3567 `ideographic-radical', `ideographic-strokes', `total-strokes',
3568 `morohashi-daikanwa' and `->decomposition'.
3569 (Fget_char_attribute): Likewise.
3570 (Fput_char_attribute): Likewise; use `make-vector' instead of
3571 `make_older_vector' for `->decomposition' value.
3572 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3573 `ideograph-daikanwa'.
3574 (syms_of_mule_charset): Delete builtin symbols `name',
3575 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3576 `morohashi-daikanwa'.
3577 (vars_of_mule_charset): Don't setup
3578 `Vcharacter_ideographic_radical_table',
3579 `Vcharacter_ideographic_strokes_table',
3580 `Vcharacter_total_strokes_table',
3581 `Vcharacter_morohashi_daikanwa_table' and
3582 `Vcharacter_decomposition_table'.
3584 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3586 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3587 `make_older_vector', `make_vector_newer_1' and
3588 `make_vector_newer'.
3590 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3591 `make_older_vector' and `make_vector_newer'.
3593 * config.h.in (HAVE_GGC): New macro.
3595 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3597 * mule-charset.c (struct char_attribute_list_closure): New
3598 structure in UTF-2000.
3599 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3600 (Fchar_attribute_list): Likewise.
3601 (Fset_charset_mapping_table): Use `make_vector_newer'.
3602 (Fdecode_builtin_char): New function in UTF-2000.
3603 (syms_of_mule_charset): Add new function `char-attribute-list' and
3604 `decode-builtin-char' in UTF-2000.
3606 * lisp.h (make_vector_newer): New prototype.
3608 * alloc.c (make_vector_newer_1): New function.
3609 (make_vector_newer): New function.
3611 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3613 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3616 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3618 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3619 (Vcharacter_attribute_table): Deleted.
3620 (Vcharacter_name_table): Deleted.
3621 (put_char_attribute): Deleted.
3622 (remove_char_attribute): Deleted.
3623 (struct char_attribute_alist_closure): New structure.
3624 (add_char_attribute_alist_mapper): New function.
3625 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3626 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3627 (Fget_char_attribute): Likewise.
3628 (Fput_char_attribute): Likewise.
3629 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3630 of `remove_char_attribute'.
3631 (Fdefine_char): Return character.
3632 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3633 and `Vcharacter_name_table'.
3634 (complex_vars_of_mule_charset): Likewise
3635 `Vchar_attribute_hash_table'.
3637 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3639 * character.h (CHARC_CHARSET): New macro.
3640 (CHARC_CHARSET_ID): New macro.
3641 (CHARC_CODE_POINT): New macro.
3642 (CHARC_COLUMNS): New macro.
3643 (CHARC_TO_CHAR): New inline function.
3644 (CHARC_EQ): New inline function.
3645 (CHARC_ASCII_EQ): New inline function.
3646 (CHARC_IS_SPACE): New inline function.
3647 (ASCII_TO_CHARC): New inline function.
3649 * char-ucs.h (encode_char_2): Deleted.
3650 (ENCODE_CHAR): Use `encode_char_1' again.
3651 (breakup_char_1): Likewise.
3652 (CHAR_TO_CHARC): New inline function.
3654 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3656 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3658 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3659 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3660 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3661 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3662 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3664 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3666 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3668 (x_output_display_block): Use `CHARC_CHARSET' and
3671 * redisplay-tty.c (tty_output_display_block): Use
3673 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3675 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3677 * insdel.c (find_charsets_in_charc_string): Use
3679 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3680 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3681 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3682 (convert_charc_string_into_malloced_string): Likewise.
3684 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3686 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3687 instead of <Emchar_dynarr *> for buf; use
3688 `convert_bufbyte_string_into_charc_dynarr' instead of
3689 `convert_bufbyte_string_into_emchar_dynarr'; use
3690 `find_charsets_in_charc_string' instead of
3691 `find_charsets_in_emchar_string'.
3694 - Include "character.h".
3695 (struct rune): New member `cglyph'; delete member `chr'.
3697 * redisplay.c (redisplay_text_width_charc_string): New function;
3698 delete `redisplay_text_width_emchar_string'.
3699 (rtw_charc_dynarr): New variable; renamed from
3700 `rtw_emchar_dynarr'.
3701 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3702 `rtw_emchar_dynarr'; use
3703 `convert_bufbyte_string_into_charc_dynarr' instead of
3704 `convert_bufbyte_string_into_emchar_dynarr'; use
3705 `redisplay_text_width_charc_string' instead of
3706 `redisplay_text_width_emchar_string'.
3707 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3708 instead of `rtw_emchar_dynarr'; use
3709 `convert_bufbyte_string_into_charc_dynarr' instead of
3710 `convert_bufbyte_string_into_emchar_dynarr'.
3711 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3712 `redisplay_text_width_charc_string' instead of
3713 `redisplay_text_width_emchar_string'.
3714 (create_text_block): Modify for <struct rune> change.
3715 (generate_formatted_string_db): Likewise.
3716 (create_string_text_block): Likewise.
3717 (pixel_to_glyph_translation): Likewise.
3719 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3720 instead of <const Emchar *>.
3721 (x_text_width): Likewise.
3722 (x_output_display_block): Use <Charc_dynarr *> instead
3723 <Emchar_dynarr *>; modify for <structure rune> change.
3724 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3727 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3728 <const Emchar *>; use `charc_string_displayed_columns' instead of
3729 `emchar_string_displayed_columns'.
3730 (tty_output_display_block): Use <Charc_dynarr *> instead of
3731 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3732 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3733 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3734 `tty_output_emchar_dynarr_dynarr'.
3735 (tty_output_charc_dynarr): New function; delete
3736 `tty_output_charc_dynarr'.
3738 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3739 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3740 <Emchar_dynarr *> for buf; use
3741 `convert_bufbyte_string_into_charc_dynarr' instead of
3742 `convert_bufbyte_string_into_emchar_dynarr'.
3744 * frame.c (title_string_charc_dynarr): New variable; renamed from
3745 `title_string_emchar_dynarr'.
3746 (generate_title_string): Use `title_string_charc_dynarr' instead
3747 of `title_string_emchar_dynarr'; use
3748 `convert_charc_string_into_malloced_string' instead of
3749 `convert_emchar_string_into_malloced_string'.
3750 (init_frame): Use `title_string_charc_dynarr' instead of
3751 `title_string_emchar_dynarr'.
3754 - Include "character.h".
3755 (struct console_methods): Use <const Charc *> instead of <const
3756 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3757 <Emchar_dynarr *> in output_string_method.
3759 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3762 * console-stream.c (stream_text_width): Use <const Charc *>
3763 instead of <const Emchar *>.
3765 * character.h (Charc_dynarr): New type.
3767 * char-ucs.h (structure Charc): New structure; define new type
3770 * char-lb.h (DECODE_CHAR): New inline function.
3771 (encode_char_1): New inline function.
3772 (ENCODE_CHAR): New macro.
3773 (structure Charc): New structure; define new type `Charc'.
3775 * char-1byte.h (Vcharset_control_1): New macro.
3776 (Vcharset_latin_iso8859_1): New macro.
3777 (DECODE_CHAR): New inline function.
3778 (encode_char_1): New inline function.
3779 (ENCODE_CHAR): New macro.
3780 (structure Charc): New structure; define new type `Charc'.
3782 * insdel.c (find_charsets_in_charc_string): New function; delete
3783 `find_charsets_in_emchar_string'.
3784 (charc_string_displayed_columns): New function; delete
3785 `emchar_string_displayed_columns'.
3786 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3787 `convert_bufbyte_string_into_emchar_dynarr'.
3788 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3789 `convert_charc_string_into_bufbyte_dynarr'.
3790 (convert_charc_string_into_malloced_string): New function; delete
3791 `convert_charc_string_into_malloced_string'.
3793 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3794 `find_charsets_in_emchar_string'.
3795 (charc_string_displayed_columns): New prototype; delete
3796 `emchar_string_displayed_columns'.
3797 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3798 `convert_charc_string_into_bufbyte_dynarr'.
3799 (convert_charc_string_into_malloced_string): New prototype; delete
3800 `convert_charc_string_into_malloced_string'.
3802 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3804 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3806 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3808 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3810 * char-ucs.h: Use <short> for <Charset_ID>.
3812 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3815 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3817 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3820 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3822 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3824 (Qmorohashi_daikanwa): New variable.
3825 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3826 for `morohashi-daikanwa' attribute.
3827 (Fget_char_attribute): Likewise.
3828 (Fput_char_attribute): Likewise.
3829 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3830 has the same value of `ideograph-daikanwa'.
3831 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3832 (vars_of_mule_charset): Setup
3833 `Vcharacter_morohashi_daikanwa_table'.
3835 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3837 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3839 (add_charset_to_list_mapper): Add `key' instead of
3840 `XCHARSET_NAME (value)' to return aliases.
3842 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3844 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3846 (Vcharacter_ideographic_strokes_table): New variable.
3847 (Qideographic_radical): New variable.
3848 (Qideographic_strokes): New variable.
3849 (Fchar_attribute_alist): Use
3850 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3851 attribute; use `Vcharacter_ideographic_strokes_table' for
3852 `ideographic-strokes' attribute.
3853 (Fget_char_attribute): Likewise.
3854 (Fput_char_attribute): Likewise.
3855 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3856 `ideographic-strokes'.
3857 (vars_of_mule_charset): Setup
3858 `Vcharacter_ideographic_radical_table' and
3859 `Vcharacter_ideographic_strokes_table'.
3861 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3863 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3864 (Qtotal_strokes): New variable.
3865 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3866 `total-strokes' attribute.
3867 (Fget_char_attribute): Likewise.
3868 (Fput_char_attribute): Likewise.
3869 (syms_of_mule_charset): Add new symbol `total-strokes'.
3870 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3872 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3874 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3875 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3877 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3878 `->decomposition' attribute.
3879 (Fput_char_attribute): Likewise.
3880 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3882 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3884 * mule-charset.c (decoding_table_check_elements): New function.
3885 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3887 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3889 * mule-charset.c (Fset_charset_mapping_table): Use
3890 `put_char_ccs_code_point'.
3892 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3894 * mule-charset.c (decoding_table_put_char): New inline function.
3895 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3897 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3899 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3900 (XCHARSET_BYTE_SIZE): New macro.
3901 (decoding_table_remove_char): New inline function.
3902 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3903 `decoding_table_remove_char'.
3904 (remove_char_ccs): Use `decoding_table_remove_char'.
3905 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3907 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3909 * mule-charset.c (Vcharacter_name_table): New variable.
3910 (Qname): New variable.
3911 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3913 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3914 `Vcharacter_name_table' for `name' attribute.
3915 (Fremove_char_attribute): Use function `remove_char_ccs'.
3916 (put_char_ccs_code_point): New function.
3917 (remove_char_ccs): New function.
3918 (syms_of_mule_charset): Add new symbol `name'.
3919 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3921 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3923 * mule-charset.c (make_byte_table): Add new argument `older'.
3924 (make_char_id_table): Likewise.
3925 (copy_char_id_table): Comment out because it is not used.
3926 (put_char_id_table): Modify for `make_byte_table'.
3927 (Fput_char_attribute): Make encoding_table as older object;
3928 inherit older bit of `Vcharacter_composition_table'.
3929 (mark_charset): Don't mark `cs->encoding_table'.
3930 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3931 normal object; make `Vcharacter_composition_table' as an older
3932 object; delete staticpro for `Vcharacter_composition_table'; make
3933 `Vcharacter_variant_table' as a normal object.
3935 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3936 (mark_object): Don't check older object in UTF-2000.
3938 * lrecord.h (struct lrecord_header): Add new member `older' in
3940 (set_lheader_implementation): Setup `SLI_header->older' in
3942 (set_lheader_older_implementation): New macro in UTF-2000.
3943 (OLDER_RECORD_P): New macro in UTF-2000.
3944 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3945 (alloc_older_lcrecord): New prototype in UTF-2000.
3946 (alloc_older_lcrecord_type): New macro in UTF-2000.
3948 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3950 * mule-charset.c (byte_table_description): Use
3951 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3952 (char_id_table_description): Delete bogus `, 1'.
3953 (Fget_char_attribute): Refer encoding_table of each coded-charset
3954 to get value of coded-charset attribute of a character.
3955 (Fput_char_attribute): Use `make_older_vector' instead of
3956 `make_vector'; use encoding_table of each coded-charset to store
3957 value of coded-charset attribute of a character.
3958 (Fremove_char_attribute): Use encoding_table of each coded-charset
3959 to store value of coded-charset attribute of a character.
3960 (mark_charset): Mark `cs->encoding_table'; don't mark
3961 `cs->decoding_table'.
3962 (charset_description): Add description of new member
3964 (make_charset): Initialize `encoding_table'.
3966 * char-ucs.h (struct Lisp_Charset): Add new member
3968 (CHARSET_ENCODING_TABLE): New macro.
3969 (XCHARSET_ENCODING_TABLE): New macro.
3970 (charset_code_point): New implementation.
3971 (encode_char_1): Likewise.
3973 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3974 (disksave_object_finalization_1): Call finalizers of
3975 `all_older_lcrecords' in UTF-2000.
3976 (make_older_vector): New function in UTF-2000.
3977 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3980 * lisp.h (make_older_vector): New prototype in UTF-2000.
3982 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3984 * lrecord.h (enum lrecord_type): Rename
3985 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3987 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3988 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3989 `get_char_code_table'.
3991 * mule-charset.c (mark_char_id_table): Renamed from
3992 `mark_char_code_table'.
3993 (char_id_table_equal): Renamed from `char_code_table_equal'.
3994 (char_id_table_hash): Renamed from `char_code_table_hash'.
3995 (make_char_id_table): Renamed from `make_char_code_table'.
3996 (copy_char_id_table): Renamed from `copy_char_code_table'.
3997 (get_char_id_table): Renamed from `get_char_code_table'.
3998 (put_char_id_table): Renamed from `put_char_code_table'.
3999 (to_char_id): Renamed from `to_char_code'.
4001 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4002 `Lisp_Char_Code_Table'.
4003 (char_id_table): Renamed from `char_code_table'.
4004 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4005 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4006 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4007 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4008 (get_char_id_table): Renamed from `get_char_code_table'.
4010 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4012 * lrecord.h (enum lrecord_type): Rename
4013 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4015 * mule-charset.c (mark_byte_table): Renamed from
4016 `mark_char_byte_table'.
4017 (byte_table_equal): Renamed from `char_byte_table_equal'.
4018 (byte_table_hash): Renamed from `byte_table_hash'.
4019 (make_byte_table): Renamed from `make_byte_table'.
4020 (copy_byte_table): Renamed from `copy_char_byte_table'.
4022 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4023 `Lisp_Char_Byte_Table'.
4024 (byte_table): Renamed from `char_byte_table'.
4025 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4026 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4027 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4028 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4030 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4032 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4033 (dfc_convert_to_internal_format): Likewise.
4035 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4036 * text-coding.c (Fcoding_system_alias_p): New function.
4037 * text-coding.c (Fcoding_system_aliasee): New function.
4038 * text-coding.c (append_suffix_to_symbol): New function.
4039 * text-coding.c (dangling_coding_system_alias_p): New function.
4040 * text-coding.c (Ffind_coding_system):
4041 * text-coding.c (Fcopy_coding_system):
4042 * text-coding.c (encode_coding_no_conversion):
4043 * text-coding.c (syms_of_file_coding):
4044 * text-coding.c (vars_of_file_coding):
4045 Rewrite coding system alias code.
4046 Allow nested aliases, like symbolic links.
4047 Allow redefinition of coding system aliases.
4048 Prevent existence of dangling coding system aliases.
4049 Eliminate convert_to_external_format.
4050 Eliminate convert_to_internal_format.
4052 * text-coding.c: Change enum eol_type to eol_type_t.
4054 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4056 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4057 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4059 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4060 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4062 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4064 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4065 `ideograph-daikanwa'.
4067 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4068 (Vcharset_ucs_bmp): Likewise.
4069 (Vcharset_mojikyo): Add new extern variable definition.
4070 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4071 (Vcharset_latin_iso8859_3): Likewise.
4072 (Vcharset_latin_iso8859_4): Likewise.
4073 (Vcharset_latin_iso8859_9): Likewise.
4074 (Vcharset_latin_viscii_lower): Likewise.
4075 (Vcharset_latin_viscii_upper): Likewise.
4076 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4077 `mojikyo' code-point is used to decode.
4078 (encode_char_2): New function [to convert `mojikyo' code-point to
4079 Mojikyo font encoding].
4080 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4081 (breakup_char_1): Likewise.
4082 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4084 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4086 * text-coding.c (Fmake_coding_system): Add document about
4087 `disable-composition' property.
4089 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4091 * text-coding.c (Qdisable_composition): New variable; delete
4093 (Fmake_coding_system): Add new property `disable-composite';
4094 delete property `composite'.
4095 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4096 instead of `!CODING_SYSTEM_COMPOSITE'.
4097 (syms_of_file_coding): Add new symbol `disable-composition';
4098 delete symbol `composite'.
4100 * file-coding.h (struct Lisp_Coding_System): Add
4101 `disable_composition'; delete `enable_composition'.
4102 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4103 `CODING_SYSTEM_COMPOSITE'.
4104 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4105 `XCODING_SYSTEM_COMPOSITE'.
4107 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4109 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4112 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4114 * text-coding.c (Qcomposite): New variable.
4115 (Fmake_coding_system): Add new property `composite'.
4116 (struct decoding_stream): Add `combined_char_count',
4117 `combined_chars' and `combining_table' in UTF-2000.
4118 (COMPOSE_FLUSH_CHARS): New macro.
4119 (COMPOSE_ADD_CHAR): New macro.
4120 (reset_decoding_stream): Reset `str->combined_char_count' and
4121 `str->combining_table' in UTF-2000.
4122 (decode_coding_iso2022): Modify for character-decomposition.
4123 (syms_of_file_coding): Add new symbol `composite'.
4125 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4127 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4128 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4129 of `Vcharacter_composition_table' if `->decomposition' property
4131 (Qlatin_tcvn5712): New variable.
4132 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4133 (complex_vars_of_mule_charset): Add new coded-charset
4136 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4138 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4140 * file-coding.h (struct Lisp_Coding_System): Add
4141 `enable_composition'.
4142 (CODING_SYSTEM_COMPOSITE): New macro.
4143 (XCODING_SYSTEM_COMPOSITE): New macro.
4145 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4147 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4149 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4151 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4152 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4154 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4156 * mule-charset.c (Vcharset_mojikyo): New variable.
4157 (Fdefine_char): Don't use coded-charset which does not have
4158 non-builtin character range to allocate character-id.
4159 (Qmojikyo): New variable.
4160 (syms_of_mule_charset): Add new symbol `mojikyo'.
4161 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4163 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4164 (LEADING_BYTE_MOJIKYO): New macro.
4165 (MIN_CHAR_MOJIKYO): New macro.
4166 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4167 (MAX_CHAR_MOJIKYO): New macro.
4169 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4171 * mule-charset.c (remove_char_attribute): Fixed.
4173 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4175 * mule-charset.c (remove_char_attribute): New function.
4176 (Fremove_char_attribute): New function.
4177 (encode_builtin_char_1): Comment out builtin-support for
4178 greek-iso8859-7 and cyrillic-iso8859-5.
4179 (Fdecode_char): Check `code' is an integer.
4180 (syms_of_mule_charset): Add `remove-char-attribute'.
4181 (MIN_CHAR_GREEK): Deleted.
4182 (MAX_CHAR_GREEK): Likewise.
4183 (MIN_CHAR_CYRILLIC): Likewise.
4184 (MAX_CHAR_CYRILLIC): Likewise.
4185 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4186 MAX_CHAR_GREEK for `greek-iso8859-7'.
4188 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4189 (MAX_CHAR_GREEK): Likewise.
4190 (MIN_CHAR_CYRILLIC): Likewise.
4191 (MAX_CHAR_CYRILLIC): Likewise.
4193 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4195 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4196 format is used without `ucs' property.
4197 (Fdecode_char): Fix problem with GR representation.
4198 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4199 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4201 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4203 * mule-charset.c (make_builtin_char): New function.
4204 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4205 (Fset_charset_mapping_table): Modify for new representation of
4207 (Fdecode_char): New function.
4208 (syms_of_mule_charset): Add new builtin function `decode-char' in
4211 * char-ucs.h (make_builtin_char): New prototype.
4212 (DECODE_CHAR): New inline function.
4213 (MAKE_CHAR): Use `DECODE_CHAR'.
4215 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4217 * text-coding.c (parse_charset_conversion_specs): Use
4218 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4220 (iso2022_designate): Likewise.
4222 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4223 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4225 * mule-charset.c (Vcharset_ucs): New variable.
4226 (print_charset): Change design; use `CHARSET_CHARS' and
4227 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4228 (make_charset): Change signature to specify `chars' and
4229 `dimension' instead of `type'.
4230 (range_charset_code_point): Modify for 256^n-set.
4231 (encode_builtin_char_1): Encode as `ucs' in default.
4232 (Fmake_charset): Modify for `make_charset'.
4233 (Fmake_reverse_direction_charset): Likewise.
4234 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4236 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4239 * char-ucs.h (Vcharset_ucs): New variable.
4240 (LEADING_BYTE_UCS): New macro.
4241 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4242 and `chars' to `unsigned short' from `unsigned int'.
4243 (CHARSET_TYPE): Deleted.
4244 (XCHARSET_TYPE): Deleted.
4246 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4248 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4250 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4251 (ENCODE_CHAR): New macro.
4253 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4255 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4256 to 0.14 (Kawachi-Katakami).
4258 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * text-coding.c (char_encode_shift_jis): Modify for
4261 `charset_code_point'.
4262 (char_encode_iso2022): Likewise.
4264 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4265 (integer) instead of list of <Lisp_Object>s (integers) as the
4266 format of code-point of a coded-charset.
4267 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4268 (encode_builtin_char_1): New function; delete
4269 `split_builtin_char'.
4270 (charset_code_point): Return <int> instead of <Lisp_Object>.
4271 (Fsplit_char): Don't use `SPLIT_CHAR'.
4273 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4274 prototype for `split_builtin_char'.
4275 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4276 (charset_code_point): Likewise.
4277 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4278 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4280 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4282 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4283 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4285 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4287 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4289 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4290 (MAX_CHAR_OBS_94x94): Deleted.
4292 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4294 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4296 * char-ucs.h (MAX_CHAR_BMP): New macro.
4298 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4300 * text-coding.c: Sync with r21-2-24.
4302 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4304 * file-coding.c: Modify for UTF-2000.
4306 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4308 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4311 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * mule-charset.c (split_builtin_char): Delete builtin support for
4314 `katakana-jisx0201'.
4315 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4316 BMP area in builtin representation.
4318 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4319 `Vcharset_katakana_jisx0201'.
4321 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4323 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4324 (Qisolated): New variable.
4325 (Qinitial): New variable.
4326 (Qmedial): New variable.
4327 (Qfinal): New variable.
4328 (Qvertical): New variable.
4329 (Qsmall): New variable.
4330 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4331 `Qvertical' and `Qsmall'.
4332 (Qmojikyo_pj_[1 .. 21]): New variable.
4333 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4334 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4335 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4338 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4340 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4341 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4342 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4344 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4346 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4347 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4349 (Qjapanese_jisx0208_1990): New variable.
4350 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4351 (complex_vars_of_mule_charset): Add new coded-charset
4352 `japanese-jisx0208-1990'.
4354 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4355 (MIN_CHAR_JIS_X0208_1990): New macro.
4356 (MAX_CHAR_JIS_X0208_1990): New macro.
4358 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4360 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4361 coded-charset is not found.
4363 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4365 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4366 (Fdefine_char): Use `Fmake_char'.
4368 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4370 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4371 (Vcharset_hiragana_jisx0208): Deleted.
4372 (Vcharset_katakana_jisx0208): Deleted.
4373 (Qideograph_daikanwa): New variable.
4374 (Qhiragana_jisx0208): Deleted.
4375 (Qkatakana_jisx0208): Deleted.
4376 (split_builtin_char): Split `ideograph-daikanwa'.
4377 (Fsplit_char): New implementation for UTF-2000.
4378 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4379 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4380 (complex_vars_of_mule_charset): Add new coded-charset
4381 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4382 `katakana-jisx0208'.
4384 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4385 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4386 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4387 (MIN_CHAR_DAIKANWA): New macro.
4388 (MAX_CHAR_DAIKANWA): New macro.
4390 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4392 * data.c (Fstring_to_number): Don't recognize floating point if
4395 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4397 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4399 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4401 * mule-charset.c (Qsquare): New variable.
4402 (to_char_code): Add `Qsquare'.
4403 (syms_of_mule_charset): Add new symbol `square'.
4405 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4407 * mule-charset.c (Qcircle): New variable.
4408 (to_char_code): Add `Qcircle'.
4409 (syms_of_mule_charset): Add new symbol `circle'.
4411 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4413 * mule-charset.c (Qfont): New variable.
4414 (to_char_code): Add `Qfont'.
4415 (syms_of_mule_charset): Add new symbol `font'.
4417 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4419 * mule-charset.c (Qsub): New variable.
4420 (to_char_code): Add `Qsub'.
4421 (syms_of_mule_charset): Add new symbol `sub'.
4423 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4425 * mule-charset.c (Fput_char_attribute): Convert each element of
4426 VALUE to GL position if ATTRIBUTE is a GR-set,
4428 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4430 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4431 coded-charset is a GR-set.
4433 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4435 * mule-charset.c (Fput_char_attribute): Check each element of
4436 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4438 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4440 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4442 (Qethiopic_ucs): New variable in UTF-2000.
4443 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4444 (complex_vars_of_mule_charset): Add new coded-charset
4445 `ethiopic-ucs' in UTF-2000.
4447 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4448 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4450 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4452 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4454 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4456 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4459 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4461 * mule-charset.c (Vcharacter_variant_table): New variable.
4462 (Q_ucs): New variable.
4463 (Fchar_variants): New function.
4464 (Fput_char_attribute): Register `->ucs' value to
4465 `Vcharacter_variant_table'.
4466 (syms_of_mule_charset): Add new function `char-variants' and new
4468 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4470 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * mule-charset.c (get_char_code_table): Allow negative character
4474 (put_char_code_table): Likewise.
4475 (Vcharacter_composition_table): New variable.
4476 (Q_decomposition): New variable.
4477 (Qwide): New variable.
4478 (Qnarrow): New variable.
4479 (Qcompat): New variable.
4480 (QnoBreak): New variable.
4481 (Qsuper): New variable.
4482 (Qfraction): New variable.
4483 (to_char_code): New function.
4484 (Fget_composite_char): New function.
4485 (Fput_char_attribute): Register `->decomposition' value to
4486 `Vcharacter_composition_table'.
4487 (syms_of_mule_charset): Add new function `get-composite-char', new
4488 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4489 `super' and `fraction'.
4490 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4492 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4494 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4495 character; copy the return value.
4497 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4499 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4501 * mule-charset.c (range_charset_code_point): Must use make_int.
4502 (split_builtin_char): New function.
4504 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4506 * mule-charset.c (char_byte_table): Change name from
4507 "char-code-table" to "char-byte-table".
4508 (mark_char_code_table): New function.
4509 (char_code_table_equal): New function.
4510 (char_code_table_hash): New function.
4511 (char_code_table_description): New constant.
4512 (char_code_table): New type.
4513 (make_char_code_table): New function.
4514 (copy_char_code_table): New function.
4515 (get_char_code_table): Modify for `char_code_table' type.
4516 (put_char_code_table): Likewise.
4517 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4520 * char-ucs.h (char_code_table): New type.
4521 (XCHAR_CODE_TABLE): New macro.
4522 (XSETCHAR_CODE_TABLE): New macro.
4523 (CHAR_CODE_TABLE_P): New macro.
4524 (GC_CHAR_CODE_TABLE_P): New macro.
4525 (struct Lisp_Char_Code_Table): New structure.
4527 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4529 * mule-charset.c (Fmake_charset): Setup byte_offset for
4532 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4534 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4537 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4542 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4544 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4545 charset, it is regarded as a charset.
4546 (put_char_attribute): New function in UTF-2000.
4547 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4548 charset, mapping-table of the charset is modified.
4549 (Fdefine_char): New function in UTF-2000.
4550 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4551 `Fput_char_attribute'.
4552 (syms_of_mule_charset): Add new function `define-char' and new
4553 symbol `ucs' in UTF-2000.
4554 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4556 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4559 non-UTF-2000 configuration.
4561 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4563 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4564 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4566 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4568 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4569 (Fset_charset_mapping_table): Likewise.
4571 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4572 (CHARSET_ENCODING_TABLE): Delete.
4573 (XCHARSET_ENCODING_TABLE): Delete.
4574 (charset_code_point): New interface.
4576 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4578 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4579 instead of `charset_get_byte1' and `charset_get_byte2'.
4581 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4582 (charset_get_byte2): Deleted.
4584 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4586 * char-ucs.h (SPLIT_CHAR): New inline function.
4587 (breakup_char_1): Use `SPLIT_CHAR'.
4589 * mule-charset.c (range_charset_code_point): New function.
4590 (charset_code_point): New function.
4592 * char-ucs.h (range_charset_code_point): New interface.
4593 (breakup_char_1): Use `range_charset_code_point'.
4595 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4597 * mule-charset.c (Fmake_charset): Delete unused local variable
4600 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4601 (breakup_char_1): Find a charset and code-point in
4602 `Vcharacter_attribute_table'.
4604 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4606 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4609 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4611 * mule-charset.c (Vcharacter_attribute_table): New variable.
4612 (Fchar_attribute_alist): New function.
4613 (Fget_char_attribute): New function.
4614 (Fput_char_attribute): New function.
4615 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4617 (syms_of_mule_charset): Add new function `char-attribute-alist',
4618 `get-char-attribute' and `put-char-attribute'.
4619 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4621 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * mule-charset.c (Fmake_charset): Just use
4624 `get_unallocated_leading_byte'.
4626 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4627 sets; don't use final-byte based number for private sets.
4629 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4631 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4634 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4636 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4639 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4641 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4642 of `CHAR_LEADING_BYTE' in UTF-2000.
4644 * insdel.c (find_charsets_in_bufbyte_string): Use
4645 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4646 (find_charsets_in_emchar_string): Likewise.
4648 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4649 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4651 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4652 (CHAR_CHARSET_ID): New macro.
4654 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4656 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4657 charset-id - MIN_LEADING_BYTE.
4658 (put_char_table): Likewise.
4660 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4663 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4664 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4665 (CHARSET_ID_OFFSET): New macro.
4666 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4667 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4668 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4669 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4671 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4673 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4674 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4675 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4676 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4677 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4679 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4681 * mule-charset.c (next_allocated_leading_byte): New variable in
4683 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4684 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4685 (get_unallocated_leading_byte): Simply use
4686 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4687 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4690 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4691 (MAX_LEADING_BYTE_PRIVATE): New macro.
4692 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4693 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4695 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4697 * mule-charset.c (Fmake_charset): Allocate final-byte based
4698 charset-id for 94-set, 96-set and 94x94-set.
4700 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4702 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4704 (Fmake_charset): Likewise.
4705 (complex_vars_of_mule_charset): Modify the font registry of
4706 `ucs-bmp' not to match `Ethiopic-Unicode'.
4708 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4710 * mule-charset.c (complex_vars_of_mule_charset): Add font
4711 registory of `ucs-bmp'.
4713 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4715 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4716 coded-charsets in `default-coded-charset-priority-list' when
4717 breaking up a character.
4719 * mule-charset.c (Vcharset_latin_viscii): New variable.
4720 (Qlatin_viscii): New variable.
4721 (make_charset): Don't use `decoding_table'.
4722 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4724 (Fset_charset_mapping_table): New implementation.
4725 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4726 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4727 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4728 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4729 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4730 charset `latin_viscii'.
4732 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4733 (CHARSET_TYPE_94X94): Change to 1 from 2.
4734 (CHARSET_TYPE_96): Change to 2 from 1.
4735 (CHARSET_TYPE_128): New macro.
4736 (CHARSET_TYPE_128X128): Change to 5 from 4.
4737 (CHARSET_TYPE_256): New macro.
4738 (CHARSET_TYPE_256X256): Change to 7 from 5.
4739 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4741 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4743 * text-coding.c (char_encode_shift_jis): Refer
4744 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4745 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4747 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4748 (char_byte_table_equal): New function in UTF-2000.
4749 (char_byte_table_hash): New function in UTF-2000.
4750 (char_byte_table_description): New constant in UTF-2000.
4751 (char_byte_table): New type in UTF-2000.
4752 (make_char_byte_table): New function in UTF-2000.
4753 (copy_char_byte_table): New function in UTF-2000.
4754 (make_char_code_table): New macro in UTF-2000.
4755 (get_char_code_table): New function in UTF-2000.
4756 (put_char_code_table): New function in UTF-2000.
4757 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4758 (charset_description): Add setting in UTF-2000.
4759 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4760 `CHARSET_TO_BYTE1_TABLE(cs)'.
4761 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4762 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4763 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4764 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4765 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4766 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4767 `CHARSET_TO_BYTE2_TABLE(cs)'.
4769 * char-ucs.h (char_byte_table): New type.
4770 (XCHAR_BYTE_TABLE): New macro.
4771 (XSETCHAR_BYTE_TABLE): New macro.
4772 (CHAR_BYTE_TABLE_P): New macro.
4773 (GC_CHAR_BYTE_TABLE_P): New macro.
4774 (struct Lisp_Char_Byte_Table): New structure.
4775 (get_char_code_table): New interface.
4776 (Emchar_to_byte_table): Deleted.
4777 (get_byte_from_character_table): Deleted.
4778 (struct Lisp_Charset): Add `encoding_table'; delete
4779 `to_byte1_table' and `to_byte2_table'.
4780 (CHARSET_ENCODING_TABLE): New macro.
4781 (CHARSET_TO_BYTE1_TABLE): Deleted.
4782 (CHARSET_TO_BYTE2_TABLE): Deleted.
4783 (XCHARSET_ENCODING_TABLE): New macro.
4784 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4785 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4787 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4789 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4790 `vietnamese-viscii-*'.
4792 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4794 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4795 (Qvietnamese_viscii_upper): New variable.
4796 (Fdefine_charset_alias): New function.
4797 (syms_of_mule_charset): Add new function `define-charset-alias'.
4798 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4799 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4802 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4805 (MAX_CHAR_OBS_94x94): New macro.
4806 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4809 * mule-charset.c (put_byte_from_character_table): Change unit size
4811 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4813 (Fmake_reverse_direction_charset): Modify dummy argument of
4814 `make_charset' for non-UTF-2000 environment.
4816 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4818 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4820 * mule-charset.c (destroy_byte_from_character_table): New macro.
4821 (latin_jisx0201_to_ucs): Deleted.
4822 (latin_iso8859_2_to_ucs): Deleted.
4823 (latin_iso8859_3_to_ucs): Deleted.
4824 (latin_iso8859_4_to_ucs): Deleted.
4825 (latin_iso8859_9_to_ucs): Deleted.
4826 (latin_viscii_lower_to_ucs): Deleted.
4827 (latin_viscii_upper_to_ucs): Deleted.
4828 (mark_charset): Mark `cs->decoding_table'.
4829 (Fcharset_mapping_table): Fix DOC-string.
4830 (Fset_charset_mapping_table): New function.
4831 (syms_of_mule_charset): Add nwe function
4832 `set-charset-mapping-table'.
4833 (complex_vars_of_mule_charset): Don't setup and use
4836 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4838 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4841 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4843 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4844 (Vcharset_katakana_jisx0208): New variable.
4845 (Qhiragana_jisx0208): New variable.
4846 (Qkatakana_jisx0208): New variable.
4847 (make_charset): Add new argument `byte_offset'.
4848 (charset_get_byte1): Modify for new coded-charset definition; use
4849 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4850 `XCHARSET_BYTE_OFFSET'.
4851 (Fmake_charset): Modify for `make_charset'.
4852 (Fmake_reverse_direction_charset): Likewise.
4853 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4854 `katakana-jisx0208'.
4855 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4856 `.' in font registry of charset `katakana-jisx0201',
4857 `latin-jisx0201', `vietnamese-viscii-lower' and
4858 `vietnamese-viscii-upper'; modify DOC-string of charset
4859 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4860 registry of charset `japanese-jisx0208' not to use font for JIS
4861 X0208:1990; add new charset `hiragana-jisx0208' and
4862 `katakana-jisx0208'.
4864 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4865 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4866 (struct Lisp_Charset): Add `byte_offset'.
4867 (CHARSET_BYTE_OFFSET): New macro.
4868 (XCHARSET_UCS_MIN): New macro.
4869 (XCHARSET_UCS_MAX): New macro.
4870 (XCHARSET_CODE_OFFSET): New macro.
4871 (XCHARSET_BYTE_OFFSET): New macro.
4872 (MIN_CHAR_HIRAGANA): New macro.
4873 (MAX_CHAR_HIRAGANA): New macro.
4874 (MIN_CHAR_KATAKANA): New macro.
4875 (MAX_CHAR_KATAKANA): New macro.
4876 (MAKE_CHAR): Modify for new coded-charset definition; use
4877 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4878 `XCHARSET_BYTE_OFFSET'.
4880 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4882 * mule-charset.c (CHAR96): Deleted.
4883 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4885 (latin_iso8859_2_to_ucs): Likewise.
4886 (latin_iso8859_3_to_ucs): Likewise.
4887 (latin_iso8859_4_to_ucs): Likewise.
4888 (latin_iso8859_9_to_ucs): Likewise.
4889 (latin_viscii_lower_to_ucs): Likewise.
4890 (latin_viscii_upper_to_ucs): Likewise.
4891 (latin_tcvn5712_to_ucs): Commented out.
4892 (make_charset): Change type of argument `decoding_table' from
4893 <Emchar*> to <Lisp_Object> [vector of characters].
4894 (Fmake_charset): Modify for `make_charset'.
4895 (Fmake_reverse_direction_charset): Likewise.
4896 (Fcharset_mapping_table): New function in UTF-2000.
4897 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4899 (complex_vars_of_mule_charset): Modify for type change of
4900 `*_to_ucs'; modify for `make_charset'.
4902 * char-ucs.h (struct Lisp_Charset): Change type of
4903 `decoding_table' from <Emchar*> to <Lisp_Object>.
4904 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4906 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4908 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4909 error with non-UTF-2000-Mule.
4911 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4915 (Vcharset_chinese_cns11643_4): Likewise.
4916 (Vcharset_chinese_cns11643_5): Likewise.
4917 (Vcharset_chinese_cns11643_6): Likewise.
4918 (Vcharset_chinese_cns11643_7): Likewise.
4919 (Qchinese_cns11643_3): Likewise.
4920 (Qchinese_cns11643_4): Likewise.
4921 (Qchinese_cns11643_5): Likewise.
4922 (Qchinese_cns11643_6): Likewise.
4923 (Qchinese_cns11643_7): Likewise.
4924 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4925 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4926 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4927 (complex_vars_of_mule_charset): Likewise.
4929 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4931 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4933 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4934 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4936 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4938 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4940 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4941 (breakup_char_1): Likewise.
4943 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4944 one of them includes the specified character.
4946 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4948 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4950 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4952 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4954 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4956 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4957 definition for non-UTF-2000 Mule.
4958 (latin_iso8859_3_to_ucs): Likewise.
4959 (latin_iso8859_4_to_ucs): Likewise.
4960 (latin_iso8859_9_to_ucs): Likewise.
4961 (latin_jisx0201_to_ucs): Likewise.
4962 (MIN_CHAR_THAI): Likewise.
4963 (MAX_CHAR_THAI): Likewise.
4964 (MIN_CHAR_GREEK): Likewise.
4965 (MAX_CHAR_GREEK): Likewise.
4966 (MIN_CHAR_HEBREW): Likewise.
4967 (MAX_CHAR_HEBREW): Likewise.
4968 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4969 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4970 (MIN_CHAR_CYRILLIC): Likewise.
4971 (MAX_CHAR_CYRILLIC): Likewise.
4973 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4975 * char-ucs.h (breakup_char_1): Use
4976 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4977 thai-tis620 and katakana-jisx0201 area.
4979 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4981 * char-ucs.h (breakup_char_1): Use
4982 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4985 * text-coding.c (reset_encoding_stream): Fixed.
4986 (char_encode_ucs4): Delete `& 255'.
4988 * char-ucs.h (breakup_char_1): Use
4989 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4991 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4993 * file-coding.c (Fmake_coding_system): Don't set up
4994 `codesys->fixed.size'.
4995 (encode_coding_no_conversion): Don't refer
4996 `str->codesys->fixed.size'.
4998 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5000 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5001 (latin_a_char_to_byte1): Deleted.
5002 (latin_a_char_to_byte2): Deleted.
5004 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5006 * mule-charset.c (make_charset): Add new argument `ucs_min',
5007 `ucs_max' and `code_offset'.
5008 (charset_get_byte1): New implementation [delete specific charset
5009 depended implementations].
5010 (Fmake_charset): Modify for `make_charset'.
5011 (Fmake_reverse_direction_charset): Likewise.
5012 (complex_vars_of_mule_charset): Likewise.
5014 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5016 (CHARSET_UCS_MIN): New macro.
5017 (CHARSET_UCS_MAX): New macro.
5018 (CHARSET_CODE_OFFSET): New macro.
5019 (MAKE_CHAR): Delete charset depended definitions [except
5022 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5024 * char-ucs.h (breakup_char_1): Use
5025 `Vdefault_coded_charset_priority_list' for C0-Controls,
5026 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5028 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5030 * char-ucs.h (charset_get_byte1): New function.
5031 (XCHARSET_GET_BYTE1): Deleted.
5032 (charset_get_byte2): New function.
5033 (XCHARSET_GET_BYTE2): Deleted.
5034 (Vdefault_coded_charset_priority_list): New external variable.
5035 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5036 `Vdefault_preferred_coded_charset_list'.
5038 * mule-charset.c (charset_get_byte1): New function.
5039 (charset_get_byte2): New function.
5040 (Vdefault_coded_charset_priority_list): New variable.
5041 (vars_of_mule_charset): Add new variable
5042 `default-coded-charset-priority-list'.
5044 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5046 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5047 (XCHARSET_GET_BYTE2): New inline function.
5048 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5049 `XCHARSET_GET_BYTE2'.
5051 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5053 * mule-charset.c (make_charset): Initialize
5054 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5055 NULL if table is not defined.
5057 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5059 * text-coding.c (char_encode_shift_jis): Use
5060 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5061 `ucs_to_latin_jisx0201'.
5063 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5064 (ucs_to_latin_iso8859_2): Deleted.
5065 (ucs_to_latin_iso8859_3): Deleted.
5066 (ucs_to_latin_iso8859_4): Deleted.
5067 (ucs_to_latin_iso8859_9): Deleted.
5068 (ucs_to_latin_viscii_lower): Deleted.
5069 (ucs_to_latin_viscii_upper): Deleted.
5070 (ucs_to_latin_tcvn5712): Deleted.
5071 (make_charset): Add new argument `decoding_table'; set up
5072 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5073 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5074 `decoding_table' is defined in UTF-2000.
5075 (Fmake_charset): Modify for `make_charset'.
5076 (Fmake_reverse_direction_charset): Likewise.
5077 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5078 and `GENERATE_96_SET'.
5080 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5081 (ucs_to_latin_jisx0201): Deleted.
5082 (latin_iso8859_2_to_ucs): Deleted.
5083 (ucs_to_latin_iso8859_2): Deleted.
5084 (latin_iso8859_3_to_ucs): Deleted.
5085 (ucs_to_latin_iso8859_3): Deleted.
5086 (latin_iso8859_4_to_ucs): Deleted.
5087 (ucs_to_latin_iso8859_4): Deleted.
5088 (latin_iso8859_9_to_ucs): Deleted.
5089 (ucs_to_latin_iso8859_9): Deleted.
5090 (latin_viscii_lower_to_ucs): Deleted.
5091 (ucs_to_latin_viscii_lower): Deleted.
5092 (latin_viscii_upper_to_ucs): Deleted.
5093 (ucs_to_latin_viscii_upper): Deleted.
5094 (struct Lisp_Charset): Renamed `encoding_table' to
5095 `to_byte1_table'; add `to_byte2_table'.
5096 (CHARSET_DECODING_TABLE): New macro.
5097 (CHARSET_TO_BYTE1_TABLE): New macro.
5098 (CHARSET_TO_BYTE2_TABLE): New macro.
5099 (XCHARSET_DECODING_TABLE): New macro.
5100 (XCHARSET_TO_BYTE1_TABLE): New macro.
5101 (XCHARSET_TO_BYTE2_TABLE): New macro.
5102 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5104 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5105 don't use `ucs_to_*' tables.
5107 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5109 * text-coding.c (Fmake_coding_system): Don't set up
5110 `codesys->fixed.size'.
5111 (encode_coding_no_conversion): Use `if' instead of `switch'.
5113 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5115 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5117 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5118 (Fmake_charset): Modify for `make_charset'.
5119 (Fmake_reverse_direction_charset): Likewise.
5120 (complex_vars_of_mule_charset): Likewise.
5122 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5124 * text-coding.c (char_encode_shift_jis): Use table
5125 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5127 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5129 * text-coding.c (text_encode_generic): Use `if' instead of
5131 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5134 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5136 * text-coding.c (encode_coding_sjis): Deleted.
5137 (char_encode_shift_jis): New function.
5138 (char_finish_shift_jis): New function.
5139 (reset_encoding_stream): Set up `encode_char' and `finish' for
5140 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5141 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5142 (char_encode_utf8): Treat `eol_type'.
5144 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5146 * file-coding.c (decode_coding_iso2022): Use
5147 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5149 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5151 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5154 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5156 * char-lb.h (CHAR_COLUMNS): New macro.
5158 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5160 * text-coding.c (char_encode_ucs4): New function.
5161 (char_finish_ucs4): New function.
5162 (encode_coding_ucs4): Deleted.
5163 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5164 (text_encode_generic): Delete local variable `charset' and `half'.
5165 (ucs_to_mule_table): Deleted.
5166 (mule_to_ucs_table): Deleted.
5167 (Fset_ucs_char): Deleted.
5168 (ucs_to_char): Deleted.
5169 (Fucs_char): Deleted.
5170 (Fset_char_ucs): Deleted.
5171 (Fchar_ucs): Deleted.
5172 (decode_ucs4): Deleted.
5173 (mule_char_to_ucs4): Deleted.
5174 (encode_ucs4): Deleted.
5175 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5176 (decode_coding_utf8): Likewise.
5177 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5178 (char_encode_iso2022): Fixed.
5179 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5180 `Fset_char_ucs' and `Fchar_ucs'.
5181 (complex_vars_of_file_coding): Don't initialize
5182 `ucs_to_mule_table'.
5184 * objects-tty.c (tty_initialize_font_instance): Don't use
5187 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5190 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5191 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5193 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5194 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5195 (emchar_string_displayed_columns): Likewise.
5197 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5198 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5199 (string_column_at_point): Likewise.
5200 (Fmove_to_column): Likewise.
5202 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5203 `encoding_table' and `decoding_table'.
5204 (CHARSET_REP_BYTES): Deleted.
5205 (XCHARSET_REP_BYTES): Deleted.
5206 (XCHARSET_COLUMNS): Deleted.
5207 (CHAR_COLUMNS): New macro.
5208 (lookup_composite_char): Deleted unconditionally.
5209 (composite_char_string): Likewise.
5211 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5213 * char-ucs.h (Emchar_to_byte_table): New type.
5214 (get_byte_from_character_table): New function interface.
5215 (Vcharset_latin_jisx0201): New variable.
5216 (latin_jisx0201_to_ucs): New variable.
5217 (ucs_to_latin_jisx0201): New variable.
5218 (Vcharset_latin_iso8859_2): New variable.
5219 (latin_iso8859_2_to_ucs): New variable.
5220 (ucs_to_latin_iso8859_2): New variable.
5221 (Vcharset_latin_iso8859_3): New variable.
5222 (latin_iso8859_3_to_ucs): New variable.
5223 (ucs_to_latin_iso8859_3): New variable.
5224 (Vcharset_latin_iso8859_4): New variable.
5225 (latin_iso8859_4_to_ucs): New variable.
5226 (ucs_to_latin_iso8859_4): New variable.
5227 (Vcharset_latin_iso8859_9): New variable.
5228 (latin_iso8859_9_to_ucs): New variable.
5229 (ucs_to_latin_iso8859_9): New variable.
5230 (Vcharset_latin_viscii_lower): New variable.
5231 (latin_viscii_lower_to_ucs): New variable.
5232 (ucs_to_latin_viscii_lower): New variable.
5233 (Vcharset_latin_viscii_upper): New variable.
5234 (latin_viscii_upper_to_ucs): New variable.
5235 (ucs_to_latin_viscii_upper): New variable.
5236 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5237 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5238 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5239 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5240 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5241 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5242 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5243 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5244 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5245 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5247 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5248 (Vcharset_latin_viscii_upper): New variable.
5249 (make_byte_from_character_table): New function.
5250 (put_byte_from_character_table): New function.
5251 (get_byte_from_character_table): New function.
5252 (CHAR96): New macro.
5253 (ucs_to_latin_jisx0201): New variable.
5254 (latin_jisx0201_to_ucs): New variable.
5255 (ucs_to_latin_iso8859_2): New variable.
5256 (latin_iso8859_2_to_ucs): New variable.
5257 (ucs_to_latin_iso8859_3): New variable.
5258 (latin_iso8859_3_to_ucs): New variable.
5259 (ucs_to_latin_iso8859_4): New variable.
5260 (latin_iso8859_4_to_ucs): New variable.
5261 (ucs_to_latin_iso8859_9): New variable.
5262 (latin_iso8859_9_to_ucs): New variable.
5263 (ucs_to_latin_viscii_lower): New variable.
5264 (latin_viscii_lower_to_ucs): New variable.
5265 (ucs_to_latin_viscii_upper): New variable.
5266 (latin_viscii_upper_to_ucs): New variable.
5267 (ucs_to_latin_tcvn5712): New variable.
5268 (latin_tcvn5712_to_ucs): New variable.
5269 (Qlatin_viscii_lower): New variable.
5270 (Qlatin_viscii_upper): New variable.
5271 (syms_of_mule_charset): Set up new symbol
5272 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5273 (complex_vars_of_mule_charset): Set up new charset
5274 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5275 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5276 `ucs_to_<CHARSET>' tables.
5278 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5280 * text-coding.c: New file.
5282 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5284 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5286 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5287 (MAKE_CHAR): Modify for `ucs-bmp'.
5288 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5289 non-MULE characters of BMP.
5291 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5293 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5296 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5299 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5300 - Include character.h for `CHAR_ASCII_P'.
5302 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5304 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5305 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5307 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5308 (BYTE_C0_P): Likewise.
5309 (BYTE_C1_P): Likewise.
5310 (Lstream_get_emchar_1): Likewise.
5311 (Lstream_fput_emchar): Likewise.
5312 (Lstream_funget_emchar): Likewise.
5313 (copy_internal_to_external): Likewise.
5314 (copy_external_to_internal): Likewise.
5316 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5317 (BYTE_C0_P): Likewise.
5318 (BYTE_C1_P): Likewise.
5319 (Lstream_get_emchar_1): Likewise.
5320 (Lstream_fput_emchar): Likewise.
5321 (Lstream_funget_emchar): Likewise.
5322 (copy_internal_to_external): Likewise.
5323 (copy_external_to_internal): Likewise.
5325 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5326 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5328 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5329 (BYTE_ASCII_P): Moved to mb-1byte.h.
5331 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5333 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5335 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5336 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5337 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5338 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5339 (VALIDATE_CHARPTR_FORWARD): Likewise.
5340 (simple_charptr_emchar): Moved to mb-multibyte.h.
5341 (simple_set_charptr_emchar): Likewise.
5342 (simple_charptr_copy_char): Likewise.
5343 (non_ascii_charptr_emchar): Likewise.
5344 (non_ascii_set_charptr_emchar): Likewise.
5345 (non_ascii_charptr_copy_char): Likewise.
5346 (charptr_emchar): Moved to mb-*byte.h.
5347 (set_charptr_emchar): Likewise.
5348 (charptr_copy_char): Likewise.
5350 * mb-1byte.h, mb-multibyte.h: New files.
5352 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5354 * mb-utf-8.h (MULTIBYTE): New macro.
5355 (MAX_EMCHAR_LEN): Moved from buffer.h.
5356 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5358 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5360 * mb-lb.h, multibyte.h: New files.
5362 * char-1byte.h (Charset_ID): Moved from buffer.h.
5363 (MIN_LEADING_BYTE): Likewise.
5364 (LEADING_BYTE_ASCII): Likewise.
5365 (NUM_LEADING_BYTES): Likewise.
5366 (CHARSETP): Likewise.
5367 (CHARSET_BY_LEADING_BYTE): Likewise.
5368 (XCHARSET_LEADING_BYTE): Likewise.
5369 (XCHARSET_GRAPHIC): Likewise.
5370 (XCHARSET_COLUMNS): Likewise.
5371 (XCHARSET_DIMENSION): Likewise.
5372 (CHAR_CHARSET): Likewise.
5373 (CHAR_LEADING_BYTE): Likewise.
5374 (BREAKUP_CHAR): Likewise.
5375 (Vcharset_ascii): Likewise.
5377 * buffer.h: Include multibyte.h unconditionally.
5378 (VALID_CHARPTR_P): Moved to multibyte.h.
5379 (ASSERT_VALID_CHARPTR): Likewise.
5380 (REAL_INC_CHARPTR): Likewise.
5381 (REAL_INC_CHARBYTIND): Likewise.
5382 (REAL_DEC_CHARPTR): Likewise.
5383 (INC_CHARPTR): Likewise.
5384 (INC_CHARBYTIND): Likewise.
5385 (DEC_CHARPTR): Likewise.
5386 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5387 (VALIDATE_CHARPTR_FORWARD): Likewise.
5388 (charptr_n_addr): Likewise.
5389 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5390 (simple_charptr_emchar): Moved to multibyte.h.
5391 (simple_set_charptr_emchar): Likewise.
5392 (simple_charptr_copy_char): Likewise.
5393 (non_ascii_charptr_emchar): Likewise.
5394 (non_ascii_set_charptr_emchar): Likewise.
5395 (non_ascii_charptr_copy_char): Likewise.
5396 (charptr_emchar): Likewise.
5397 (set_charptr_emchar): Likewise.
5398 (charptr_copy_char): Likewise.
5399 (charptr_emchar_n): Likewise.
5400 (Charset_ID): Moved to char-1byte.h.
5401 (Vcharset_ascii): Likewise.
5402 (CHAR_CHARSET): Likewise.
5403 (CHAR_LEADING_BYTE): Likewise.
5404 (LEADING_BYTE_ASCII): Likewise.
5405 (NUM_LEADING_BYTES): Likewise.
5406 (MIN_LEADING_BYTE): Likewise.
5407 (CHARSETP): Likewise.
5408 (CHARSET_BY_LEADING_BYTE): Likewise.
5409 (XCHARSET_LEADING_BYTE): Likewise.
5410 (XCHARSET_GRAPHIC): Likewise.
5411 (XCHARSET_COLUMNS): Likewise.
5412 (XCHARSET_DIMENSION): Likewise.
5413 (BREAKUP_CHAR): Likewise.
5415 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5417 * character.h: Add document about interface for characters.
5419 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5420 (MAKE_CHAR): Delete comment about
5421 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5422 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5423 (BREAKUP_CHAR): Modify name of arguments.
5424 (CHAR_CHARSET): Modify name of argument.
5426 * buffer.h: Delete document about Emchar accessors.
5428 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5430 * character.h (CHAR_INTP): Moved from buffer.h
5431 (CHAR_OR_CHAR_INTP): Likewise.
5432 (XCHAR_OR_CHAR_INT): Likewise.
5433 (CHECK_CHAR_COERCE_INT): Likewise.
5435 * buffer.h (CHAR_INTP): Moved to character.h
5436 (CHAR_OR_CHAR_INTP): Likewise.
5437 (XCHAR_OR_CHAR_INT): Likewise.
5438 (CHECK_CHAR_COERCE_INT): Likewise.
5440 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5443 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5444 - Include char-1byte.h, char-lb.h or char-ucs.h.
5446 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5448 * buffer.h: Include character unconditionally.
5449 (valid_char_p): Moved to char-*.h.
5450 (non_ascii_valid_char_p): Moved to char-lb.h.
5452 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5454 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5456 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5457 in UTF-2000 because it is not ported yet and not to use
5458 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5459 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5460 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5462 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5463 (CHAR_ASCII_P): Moved from character.h.
5465 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5466 (CHAR_ASCII_P): Likewise.
5467 (CHAR_FIELD1_MASK): Deleted.
5468 (CHAR_FIELD2_MASK): Deleted.
5469 (CHAR_FIELD3_MASK): Deleted.
5470 (MAX_CHAR_BASIC_LATIN): New macro.
5471 (CHAR_FIELD1): Deleted.
5472 (CHAR_FIELD2_INTERNAL): Deleted.
5473 (CHAR_FIELD3_INTERNAL): Deleted.
5474 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5475 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5476 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5477 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5478 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5479 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5480 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5481 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5482 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5483 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5484 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5485 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5486 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5487 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5488 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5489 (MIN_CHAR_COMPOSITION): Deleted.
5490 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5491 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5493 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5495 * buffer.h: Include mb-utf-8.h in UTF-2000.
5497 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5499 * mb-utf-8.h: New file.
5501 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5503 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5506 * mule-charset.h, buffer.h (Charset_ID): New type.
5508 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5510 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5511 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5512 instead of `MULE_CHAR_PRIVATE_OFFSET',
5513 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5514 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5515 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5517 * character.h (Vcharset_japanese_jisx0212): New variable
5520 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5522 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5523 (charset_by_attributes): Delete array about direction.
5524 (latin_a_char_to_charset): New variable in UTF-2000.
5525 (latin_a_char_to_byte1): New variable in UTF-2000.
5526 (latin_a_char_to_byte2): New variable in UTF-2000.
5527 (Qucs_bmp): New variable.
5528 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5530 (next_allocated_2_byte_leading_byte): Likewise.
5531 (non_ascii_set_charptr_emchar): Likewise.
5532 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5533 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5534 `charset_by_attributes'.
5535 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5536 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5537 and `CHARSET_BY_LEADING_BYTE'.
5538 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5539 `utf-2000-version' to `vars_of_mule_charset'.
5540 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5541 define `leading-code-private-11' in UTF-2000; move setting of
5542 `utf-2000-version' from `syms_of_mule_charset'.
5543 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5546 * character.h (Charset_ID): New type.
5547 (LEADING_BYTE_UCS_BMP): New macro.
5548 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5549 (CHARSET_ID_OFFSET_94): New macro.
5550 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5551 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5552 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5554 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5555 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5556 (CHARSET_ID_OFFSET_96): New macro.
5557 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5558 CHARSET_ID_OFFSET_96 and final-byte.
5559 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5560 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5561 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5562 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5563 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5564 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5565 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5566 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5567 (LEADING_BYTE_THAI_TIS620): Likewise.
5568 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5569 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5570 (CHARSET_ID_OFFSET_94x94): New macro.
5571 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5572 CHARSET_ID_OFFSET_94x94 and final-byte.
5573 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5574 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5575 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5576 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5577 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5578 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5579 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5580 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5581 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5582 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5583 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5584 (CHARSET_TYPE_128X128): New macro.
5585 (CHARSET_TYPE_256X256): New macro.
5586 (XCHARSET_PRIVATE_P): Delete unconditionally.
5587 (charset_by_attributes): Delete array about direction.
5588 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5589 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5590 (MIN_CHAR_94): New macro.
5591 (MAX_CHAR_94): New macro.
5592 (MIN_CHAR_96): New macro.
5593 (MAX_CHAR_96): New macro.
5594 (MIN_CHAR_94x94): New macro.
5595 (MAX_CHAR_94x94): New macro.
5596 (MIN_CHAR_96x96): New macro.
5597 (MAX_CHAR_96x96): New macro.
5598 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5599 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5600 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5602 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5603 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5604 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5605 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5606 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5607 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5608 `XCHARSET_LEADING_BYTE' to make code-point.
5609 (latin_a_char_to_charset): New variable.
5610 (latin_a_char_to_byte1): New variable.
5611 (latin_a_char_to_byte2): New variable.
5612 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5613 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5614 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5616 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5617 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5618 (find_charsets_in_emchar_string): Likewise.
5619 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5621 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5623 (decode_coding_iso2022): Likewise.
5625 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5628 * redisplay.c (redisplay_text_width_emchar_string): Use
5629 `Charset_ID' instead of `unsigned char'.
5630 (redisplay_frame_text_width_string): Likewise.
5632 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5635 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5636 instead of `unsigned char'.
5637 (face_cachel_charset_font_metric_info): Likewise.
5639 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5640 (get_non_ascii_char_table_value): Likewise.
5641 (get_char_table): Likewise.
5642 (put_char_table): Likewise.
5643 (map_over_other_charset): Likewise.
5644 (map_char_table): Likewise.
5646 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5647 instead of `unsigned char'.
5649 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5651 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5652 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5654 * mule-charset.c (leading_code_private_11): Don't define in
5657 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5658 in UTF-2000 because it is not ported yet and not to use
5659 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5661 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5663 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5665 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5667 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5670 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5671 of unsigned char to store leading-byte.
5673 * chartab.c (get_non_ascii_char_table_value): Don't use
5674 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5676 * file-coding.c (encode_coding_big5): Delete bogus implementation
5679 * character.h (LEADING_BYTE_*): Delete definition for
5681 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5682 (LEADING_BYTE_PREFIX_P): Deleted.
5683 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5684 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5685 (BUFBYTE_LEADING_BYTE_P): Deleted.
5686 (CHARSET_PRIVATE_P): Deleted unconditionally.
5687 (rep_bytes_by_first_byte): Deleted unconditionally.
5688 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5689 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5690 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5691 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5692 (CHAR_FIELD2): Deleted.
5693 (CHAR_FIELD3): Deleted.
5694 (MAKE_CHAR): Delete definition for non-UTF-2000.
5695 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5696 (breakup_char_1): New implementation.
5697 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5698 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5700 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5702 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5705 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5707 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5708 (CHARSET_PRIVATE_P): Likewise.
5709 (XCHARSET_PRIVATE_P): Likewise.
5710 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5712 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5714 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5716 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5718 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5719 (NUM_LEADING_BYTES): Changed from 128 to 256.
5720 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5721 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5723 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5725 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5727 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5728 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5729 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5730 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5731 (Qchinese_cns11643_3): New variable in UTF2000.
5732 (Qchinese_cns11643_4): New variable in UTF2000.
5733 (Qchinese_cns11643_5): New variable in UTF2000.
5734 (Qchinese_cns11643_6): New variable in UTF2000.
5735 (Qchinese_cns11643_7): New variable in UTF2000.
5736 (syms_of_mule_charset): Define `chinese-cns11643-3',
5737 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5738 and `chinese-cns11643-7' in UTF2000.
5739 (vars_of_mule_charset): Initialize
5740 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5742 (complex_vars_of_mule_charset): Setup charset
5743 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5744 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5746 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5748 * mule-charset.c: Move setting for `leading-code-private-11' from
5749 `syms_of_mule_charset' to `vars_of_mule_charset'.
5751 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5753 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5754 and `NUM_LEADING_BYTES' in assert.
5756 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5758 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5760 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5761 `NUM_LEADING_BYTES' instead of 128.
5763 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5765 * mule-charset.h (charset_by_leading_byte): Use
5766 `NUM_LEADING_BYTES' instead of 128.
5767 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5769 * mule-charset.c (charset_by_leading_byte): Use
5770 `NUM_LEADING_BYTES' instead of 128.
5771 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5773 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5776 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5778 * mule-charset.c (syms_of_mule_charset): Update to
5781 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5783 * file-coding.c (encode_coding_sjis): New implementation for
5784 UTF2000. (decode_coding_sjis): Ditto.
5786 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5788 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5789 Don't define in UTF2000.
5791 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5794 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5795 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5798 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5800 * config.h.in (CHAR_IS_UCS4): New macro.
5802 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5803 conventional MULE representation.
5804 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5806 * mule-charset.h: Reverted to original.
5808 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5809 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5810 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5812 * character.h: New file.
5814 * file-coding.c (Fmake_coding_system): Set 1 to
5815 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5817 (encode_coding_no_conversion): New implementation for UTF2000.
5819 * file-coding.h (struct Lisp_Coding_System): Add new member
5822 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5824 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5825 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5826 (encode_coding_iso2022): New implementation for UTF2000.
5828 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5830 * mule-canna.c (c2mu): New implementation for UTF2000.
5833 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5835 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5837 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5839 * file-coding.c (reset_encoding_stream): Set 0 to
5840 `str->iso2022.current_char_boundary' in UTF2000.
5841 (encode_utf8): Don't define in UTF2000.
5842 (encode_coding_utf8): New implementation for UTF-8 representation
5844 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5846 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5848 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5850 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5852 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5854 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5856 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5857 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5858 as UTF-8 in UTF2000.
5859 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5860 (non_ascii_valid_char_p): Don't define in UTF2000.
5861 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5862 (Lstream_get_emchar_1): Likewise.
5863 (utf-2000-version): New variable in UTF2000.
5865 * lread.c (read_escape): Add new reader `u'.
5867 * insdel.c (three_to_one_table): Don't define in UTF2000.
5868 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5869 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5871 (bytind_to_bufpos_func): Likewise.
5872 (buffer_mule_signal_inserted_region): Likewise.
5873 (vars_of_insdel): Don't initialize `three_to_one_table'.
5874 (init_buffer_text): Use `buf->text->mule_size' instead of
5875 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5878 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5879 UTF-8 representation in UTF2000.
5880 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5881 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5882 (decode_coding_iso2022): Don't define local variable `lb' in
5883 UTF2000; don't use LEADING_BYTE in UTF2000; use
5884 `DECODE_ADD_UCS_CHAR' in UTF2000.
5885 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5887 * config.h.in (UTF2000): New macro.
5889 * buffer.h (struct buffer_text): Add new member `mule_size' and
5890 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5891 (valid_char_p): Return always 1 in UTF2000.
5892 (MAX_EMCHAR_LEN): 6 in UTF2000.
5893 (three_to_one_table): Don't define in UTF2000.
5894 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5896 (real_bytind_to_bufpos): Likewise.
5898 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5900 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5902 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5903 representation change.
5904 (Vutf_2000_version): New variable.
5905 (leading_code_private_11): New variable.
5906 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5907 `leading-code-private-11'.
5909 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5910 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5911 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5912 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5913 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5914 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5915 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5916 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5917 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5918 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5919 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5920 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5921 (MIN_CHAR_GREEK): New macro.
5922 (MAX_CHAR_GREEK): New macro.
5923 (MIN_CHAR_CYRILLIC): New macro.
5924 (MAX_CHAR_CYRILLIC): New macro.
5925 (MIN_CHAR_HEBREW): New macro.
5926 (MAX_CHAR_HEBREW): New macro.
5927 (MIN_CHAR_THAI): New macro.
5928 (MAX_CHAR_THAI): New macro.
5929 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5930 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5931 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5932 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5933 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5934 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5935 (CHAR_FIELD2): New inline function.
5936 (CHAR_FIELD3): New inline function.
5937 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5938 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5939 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5940 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5941 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5942 (MIN_CHAR_COMPOSITION): Likewise.
5943 (CHAR_LEADING_BYTE): Modified for character representation change.
5944 (MAKE_CHAR): Likewise.
5946 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5947 (Vcharset_greek_iso8859_7): Likewise.
5948 (Vcharset_cyrillic_iso8859_5): Likewise.
5949 (Vcharset_hebrew_iso8859_8): Likewise.
5950 (Vcharset_thai_tis620): Likewise.
5951 (Vcharset_katakana_jisx0201): Likewise.
5953 2007-10-07 Vin Shelton <acs@xemacs.org>
5955 * XEmacs 21.4.21 is released
5957 2007-08-14 Marcus Crestani <crestani@xemacs.org>
5959 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
5961 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
5963 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
5964 (png_instantiate): Initialize setjmp_buffer early, and avoid
5965 recursive entry to error handler.
5967 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
5969 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
5972 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
5974 * event-Xt.c (x_reset_modifier_mapping):
5975 * event-gtk.c (gtk_reset_modifier_mapping):
5976 Zero out the device's modifier map once we've freed it, to prevent
5977 a double free on a re-entrant call.
5979 2007-05-17 Vin Shelton <acs@xemacs.org>
5981 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
5982 64-bit linux. Patch from Hans de Graaff.
5984 2007-05-02 Vin Shelton <acs@xemacs.org>
5986 * dumper.c (pdump): Don't close pdump_fd (already closed by
5987 fclose() call. Patch from Steve Higham.
5988 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
5989 already closed. Patch inspired by Steve Higham.
5991 2007-05-01 Vin Shelton <acs@xemacs.org>
5993 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
5994 (mswindows_fstat): Ditto.
5995 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
5997 2007-02-08 Adrian Aichner <adrian@xemacs.org>
5999 * postgresql.c: Update Steve Baur's email address by his request.
6000 * postgresql.h: Ditto.
6002 2007-01-04 Vin Shelton <acs@xemacs.org>
6004 * fileio.c (check_writable): Check old-style readonly bit only for
6007 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6009 * src/fileio.c (check_writable):
6010 Cope with the fact that the read-only attribute trumps Windows NTFS
6014 2006-12-09 Vin Shelton <acs@xemacs.org>
6016 * XEmacs 21.4.20 is released
6018 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6020 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6021 relocated the definitions to be used sooner in file.
6022 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6023 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6026 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6028 * sound.c (init_native_sound):
6029 Only X11 and GTK devices can possibly not be on the console of the
6030 associated machine. Fixes a crash when init_native_sound is called
6031 on a msprinter device.
6033 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6035 * buffer.c (buffer-file-name): Document invariant.
6036 (buffer-file-truename): Sync wording to buffer-file-name.
6037 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6040 2006-11-19 Benson Margulies <benson@dchbk.us>
6042 * fileio.c: Add code to use full Win32 API to check for write
6043 access. Win32 has the general design policy that you aren't
6044 supposed to ask this question, since security checks change
6045 depending on asynchronous processes. Nonetheless, there is a way,
6046 by acting as if we are a server doing interpretive access
6049 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6051 * bytecode.c: Use xnew_array instead of alloca.
6053 2006-07-04 Vin Shelton <acs@xemacs.org>
6055 * redisplay-msw.c: Fix tiny, but crucial typo.
6057 2006-06-22 Jerry James <james@xemacs.org>
6059 * EmacsShell-sub.c (ChangeManaged):
6060 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6062 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6063 checking if it is NULL. Also fix a memory leak.
6064 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6065 dereference it, not the other way around.
6066 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6068 * dumper.c (pdump_register_struct): Ditto.
6069 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6070 to (short) warnpath overflow warnpath.
6071 * extents.c (detach_all_extents): Call extent_list_delete_all with
6072 a non-NULL parameter only.
6073 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6074 NULL width and height.
6075 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6076 xic before checking if they are NULL.
6077 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6079 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6080 * nas.c (Err): Fix a memory leak.
6081 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6082 Don't create the buffer if there is nothing to do.
6083 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6084 * redisplay-output.c (redisplay_output_layout): Ditto.
6085 * redisplay-tty.c (tty_output_display_block): Ditto.
6086 * redisplay-x.c (x_output_display_block): Ditto.
6087 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6088 dereference instance->scrollbar_data if it is NULL.
6089 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6090 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6091 for sb->scrollbar_data.
6092 * sound.c (init_native_sound): Avoid a buffer overflow by
6093 allocating a buffer with the appropriate size.
6095 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6097 * EmacsShell-sub.c (RootGeometryManager):
6098 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6099 Based on a suggestion by Francois L'Archeveque.
6101 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6103 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6104 current values found in GNU Emacs.
6106 2006-03-17 Vin Shelton <acs@xemacs.org>
6108 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6109 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6111 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6112 'hex_initialized' because it conflicts with 'initialized' in
6115 2006-01-28 Vin Shelton <acs@xemacs.org>
6117 * XEmacs 21.4.19 is released
6119 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6121 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6123 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6125 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6128 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6130 * database.c: Suppress compiler warning under Cygwin.
6131 * database.c: Removed __FreeBSD__ check, should be handled by
6132 HAVE_U_xxx_T defines.
6134 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6136 * console.c (stuff_buffered_input): Compile body only if
6139 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6141 * callproc.c: #include sysdir.h, so that any appropriate Mule
6142 magic happens with the chdir() call when calling a subprocess.
6144 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6146 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6147 * mule-ccl.c: Check that a character set exists before using it
6148 to create a character.
6150 2005-12-06 Vin Shelton <acs@xemacs.org>
6152 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6155 2005-12-03 Vin Shelton <acs@xemacs.org>
6157 * XEmacs 21.4.18 is released
6159 2005-11-27 Kean Johnston <kean@armory.com>
6161 * redisplay-tty.c (set_tty_modes):
6162 (reset_tty_modes): disable auto-margins if the terminal supports
6164 (init_tty_for_redisplay): fix cursor shape.
6166 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6168 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6169 for control-1 characters properly, both when reading multibyte
6170 characters and writing them.
6172 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6174 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6175 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6176 were seeing with incremental selection transfer failing.
6178 2005-11-26 Vin Shelton <acs@xemacs.org>
6180 * callproc.c (Fold_call_process_internal): Create the buffer if it
6181 does not already exist. The original patch came from Ben Wing in
6182 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6184 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6186 * callproc.c: Process-related docstring improvements spurred by
6189 2005-11-25 Vin Shelton <acs@xemacs.org>
6191 * depend: Regenerated.
6193 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6195 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6196 says it clashes with a global with the same name.
6198 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6200 * sysdll.c (dll_open): Under MacOS X return NULL under the
6201 filename is NULL. Fixes problems finding local symbols under 10.4
6204 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6206 * config.h.in: New HAVE_U_INT*_T defines.
6208 * database.c: Only use u_int*_t typedefs if not already
6211 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6213 * src/process-unix.c (unix_open_network_stream): moved
6214 'portbuf' buffer out of an inner block as it is used in the
6215 entire function. With gcc4, the stack may get corrupted
6216 after leaving this block. This patches adjusts the size of
6217 the used buffer also; static '128' bytes are far too much
6218 currently and might not suffice for future architectures
6219 (e.g. for 512 bit ones ;)). Instead of, use only the really
6220 required space (max octets * ln(256)/ln(10) chars + space
6221 for '\0' and the sign)
6223 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6225 * callproc.c: Include sysdir.h, so any necessary Mule processing
6226 is done on the current directory name before starting a new
6229 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6231 * chartab.c (Fchar_table_p):
6232 (Fget_range_char_table):
6235 Describe range representation and fix typo.
6237 2005-02-12 Vin Shelton <acs@xemacs.org>
6239 * emacs.c (shut_down_emacs): Advise users to send email to the
6240 xemacs-beta list instead of crashes@xemacs.org.
6242 2005-02-03 David Evers <extsw@appliedgenerics.com>
6244 * process-unix.c (unix_send_process): Flush the last chunk, even
6245 when the pipe is blocked.
6247 2005-02-06 Vin Shelton <acs@xemacs.org>
6249 * XEmacs 21.4.17 is released
6251 2005-01-31 Ben Wing <ben@xemacs.org>
6254 Define assert_failed() always.
6256 Always define ABORT().
6258 2005-01-25 Ben Wing <ben@xemacs.org>
6261 * Makefile.in.in (%.o):
6262 Don't compile executable as Windows (-mwindows) under Cygwin.
6263 Semi-recent changes to Cygwin's executable-startup handling make
6264 it impossible to access the TTY this way.
6266 Don't use special linker file under Cygwin (cygwin.sc) except
6267 when non-PDUMP (even in this case it is highly questionable); you
6270 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6271 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6273 2005-01-29 Ben Wing <ben@xemacs.org>
6275 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6277 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6279 2005-01-29 Ben Wing <ben@xemacs.org>
6281 * bytecode.c (optimize_compiled_function):
6283 * print.c (long_to_string):
6284 Add casts to avoid warning.
6287 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6288 #### The better solution is to move the TIFF and JPEG code to
6291 * glyphs-msw.c (mswindows_xbm_instantiate):
6292 Define __STDC__ to avoid problems with compface.h.
6294 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6296 * EmacsShell-sub.c (ABORT):
6297 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6298 * EmacsShell-sub.c (RootGeometryManager):
6300 * EmacsShell.c (ABORT):
6301 * EmacsShell.c (EmacsShellUpdateSizeHints):
6302 * alloc.c (free_lcrecord):
6303 * alloca.c (i00afunc):
6304 * buffer.c (delete_from_buffer_alist):
6305 * buffer.c (MARKED_SLOT):
6306 * bytecode.c (execute_rare_opcode):
6307 * bytecode.c (optimize_byte_code):
6308 * bytecode.c (Ffetch_bytecode):
6309 * chartab.c (char_table_type_to_symbol):
6310 * chartab.c (Freset_char_table):
6311 * chartab.c (decode_char_table_range):
6312 * chartab.c (Fget_range_char_table):
6313 * chartab.c (check_valid_char_table_value):
6314 * chartab.c (map_char_table):
6315 * chartab.c (slow_map_char_table_fun):
6316 * chartab.c (chartab_instantiate):
6317 * cm.c (cmcheckmagic):
6318 * console-msw.c (DHEADER):
6319 * console.c (MARKED_SLOT):
6320 * data.c (finish_marking_weak_lists):
6321 * data.c (encode_weak_list_type):
6322 * debug.h (DASSERT):
6323 * device-gtk.c (gtk_init_device):
6324 * device-msw.c (mswindows_get_default_margin):
6325 * device-tty.c (tty_init_device):
6326 * device-x.c (get_device_from_display):
6327 * device-x.c (x_get_visual_depth):
6328 * doprnt.c (parse_doprnt_spec):
6329 * doprnt.c (get_doprnt_args):
6330 * dumper.c (pdump_get_indirect_count):
6331 * dumper.c (pdump_register_sub):
6332 * dumper.c (pdump_register_object):
6333 * dumper.c (pdump_register_struct):
6334 * dumper.c (pdump_dump_data):
6335 * dumper.c (pdump_reloc_one):
6336 * elhash.c (print_hash_table):
6337 * elhash.c (make_standard_lisp_hash_table):
6338 * elhash.c (hash_table_instantiate):
6340 * emacs.c (Fforce_debugging_signal):
6341 * emacs.c (sort_args):
6343 * emacs.c (assert_failed):
6344 * eval.c (throw_or_bomb_out):
6345 * eval.c (signal_1):
6348 * event-Xt.c (emacs_Xt_mapping_action):
6349 * event-Xt.c (Xt_process_to_emacs_event):
6351 * event-stream.c (check_event_stream_ok):
6352 * event-stream.c (Fadd_timeout):
6353 * event-stream.c (Fadd_async_timeout):
6354 * event-stream.c (Fdiscard_input):
6355 * event-stream.c (execute_internal_event):
6356 * event-stream.c (Frecent_keys):
6357 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6358 * event-stream.c (lookup_command_event):
6359 * event-unixoid.c (poll_fds_for_input):
6361 * events.c (mark_event):
6362 * events.c (event_equal):
6363 * events.c (event_hash):
6364 * events.c (Fmake_event):
6365 * events.c (Fdeallocate_event):
6366 * events.c (event_chain_find_previous):
6367 * events.c (event_to_character):
6368 * events.c (format_event_object):
6369 * events.c (Fevent_type):
6370 * events.c (event_pixel_translation):
6371 * events.c (Fevent_properties):
6372 * extents.c (extent_in_region_p):
6373 * extents.c (print_extent):
6374 * extents.c (process_extents_for_insertion_mapper):
6375 * extents.c (report_extent_modification_mapper):
6376 * extents.c (glyph_layout_to_symbol):
6377 * faces.c (face_validate):
6378 * file-coding.c (eol_type_to_symbol):
6379 * file-coding.c (subsidiary_coding_system):
6380 * file-coding.c (Fcoding_system_type):
6381 * file-coding.c (Fcoding_system_property):
6382 * file-coding.c (mule_decode):
6383 * file-coding.c (mule_encode):
6384 * file-coding.c (encode_coding_ucs4):
6385 * file-coding.c (encode_coding_utf8):
6386 * file-coding.c (parse_iso2022_esc):
6387 * file-coding.c (encode_coding_iso2022):
6392 * fns.c (Fbase64_encode_region):
6393 * fns.c (Fbase64_encode_string):
6394 * fns.c (Fbase64_decode_region):
6395 * fns.c (Fbase64_decode_string):
6396 * font-lock.c (find_context):
6397 * font-lock.c (context_to_symbol):
6398 * frame-gtk.c (gtk_set_frame_pointer):
6399 * frame-gtk.c (gtk_update_frame_external_traits):
6400 * frame-x.c (x_wm_mark_shell_size_user_specified):
6401 * frame-x.c (x_wm_mark_shell_position_user_specified):
6402 * frame-x.c (x_wm_set_shell_iconic_p):
6403 * frame-x.c (x_wm_set_cell_size):
6404 * frame-x.c (x_wm_set_variable_size):
6405 * frame-x.c (x_wm_store_class_hints):
6406 * frame-x.c (x_wm_maybe_store_wm_command):
6407 * frame-x.c (x_initialize_frame_size):
6408 * frame-x.c (x_update_frame_external_traits):
6410 * frame.c (delete_frame_internal):
6411 * frame.c (mouse_pixel_position_1):
6412 * frame.c (change_frame_size_1):
6413 * free-hook.c (check_free):
6414 * free-hook.c (check_realloc):
6415 * free-hook.c (note_block_input):
6416 * free-hook.c (log_gcpro):
6417 * gccache-gtk.c (gc_cache_lookup):
6418 * glyphs-eimage.c (tiff_memory_write):
6419 * glyphs-gtk.c (gtk_finalize_image_instance):
6420 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6421 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6422 * glyphs-gtk.c (gtk_xpm_instantiate):
6423 * glyphs-gtk.c (gtk_unmap_subwindow):
6424 * glyphs-gtk.c (gtk_map_subwindow):
6425 * glyphs-gtk.c (gtk_button_redisplay):
6427 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6428 * glyphs-x.c (init_image_instance_from_xbm_inline):
6429 * glyphs-x.c (extract_xpm_color_names):
6430 * glyphs-x.c (x_xpm_instantiate):
6431 * glyphs.c (get_image_instantiator_governing_domain):
6432 * glyphs.c (print_image_instance):
6433 * glyphs.c (image_instance_equal):
6434 * glyphs.c (image_instance_hash):
6435 * glyphs.c (encode_image_instance_type):
6436 * glyphs.c (make_image_instance_1):
6437 * glyphs.c (inherit_instantiate):
6438 * glyphs.c (image_instantiate):
6439 * glyphs.c (allocate_glyph):
6440 * glyphs.c (Fglyph_type):
6441 * glyphs.c (redisplay_subwindow):
6442 * glyphs.c (display_table_entry):
6443 * gtk-glue.c (xemacs_list_to_gtklist):
6444 * gtk-glue.c (xemacs_gtklist_to_list):
6445 * gtk-glue.c (xemacs_list_to_array):
6446 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6447 * gutter.c (gutter_was_visible):
6448 * gutter.c (get_gutter_coords):
6449 * input-method-xlib.c (get_XIM_input):
6450 * insdel.c (bufpos_to_bytind_func):
6451 * insdel.c (bytind_to_bufpos_func):
6452 * insdel.c (move_gap):
6453 * intl.c (x_get_composed_input):
6454 * keymap.c (keymap_lookup_directly):
6455 * keymap.c (keymap_delete_inverse_internal):
6456 * keymap.c (ensure_meta_prefix_char_keymapp):
6457 * keymap.c (accessible_keymaps_mapper_1):
6458 * keymap.c (where_is_recursive_mapper):
6461 * lread.c (read_atom):
6462 * lstream.c (Lstream_delete):
6463 * lstream.c (make_lisp_buffer_stream_1):
6464 * macros.c (pop_kbd_macro_event):
6465 * malloc.c (malloc):
6467 * marker.c (bi_marker_position):
6468 * marker.c (set_bi_marker_position):
6469 * menubar-gtk.c (menu_descriptor_to_widget_1):
6470 * menubar-msw.c (prune_menubar):
6471 * menubar-x.c (set_frame_menubar):
6472 * mule-charset.c (get_unallocated_leading_byte):
6473 * mule-charset.h (CHAR_LEADING_BYTE):
6474 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6475 * nt.c (init_environment):
6476 * nt.c (generate_inode_val):
6477 * ntproc.c (delete_child):
6478 * ntproc.c (_sys_read_ahead):
6479 * ntproc.c (create_child):
6480 * objects.c (color_instantiate):
6481 * objects.c (font_instantiate):
6482 * objects.c (face_boolean_instantiate):
6483 * print.c (printing_major_badness):
6484 * process-nt.c (nt_send_process):
6485 * process-unix.c (unix_send_process):
6486 * process.c (get_process):
6487 * ralloc.c (obtain):
6488 * ralloc.c (relinquish):
6489 * ralloc.c (relocate_blocs):
6490 * ralloc.c (resize_bloc):
6491 * ralloc.c (r_alloc_free):
6492 * ralloc.c (r_re_alloc):
6493 * ralloc.c (r_alloc_thaw):
6494 * ralloc.c (init_ralloc):
6495 * ralloc.c (Free_Addr_Block):
6496 * ralloc.c (r_alloc):
6497 * redisplay-gtk.c (gtk_output_display_block):
6498 * redisplay-msw.c (mswindows_output_display_block):
6499 * redisplay-output.c (get_next_display_block):
6500 * redisplay-output.c (get_cursor_size_and_location):
6501 * redisplay-output.c (redisplay_output_layout):
6502 * redisplay-output.c (redisplay_clear_region):
6503 * redisplay-tty.c (tty_output_display_block):
6504 * redisplay-x.c (x_output_display_block):
6505 * redisplay.c (add_propagation_runes):
6506 * redisplay.c (add_glyph_rune):
6507 * redisplay.c (create_text_block):
6508 * redisplay.c (add_margin_runes):
6509 * redisplay.c (create_left_glyph_block):
6510 * redisplay.c (create_right_glyph_block):
6511 * redisplay.c (create_string_text_block):
6512 * redisplay.c (regenerate_window):
6513 * redisplay.c (REGEN_INC_FIND_START_END):
6514 * redisplay.c (redisplay_frame):
6515 * redisplay.c (point_in_line_start_cache):
6518 * regex.c (re_compile_fastmap):
6519 * regex.c (re_match_2_internal):
6520 * regex.c (regerror):
6521 * scrollbar-gtk.c (gtk_scrollbar_loop):
6522 * scrollbar-gtk.c (scrollbar_cb):
6523 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6524 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6525 * scrollbar-x.c (x_update_scrollbar_instance_status):
6526 * scrollbar-x.c (x_scrollbar_loop):
6527 * scrollbar-x.c (x_update_frame_scrollbars):
6528 * search.c (search_command):
6529 * search.c (Fmatch_data):
6530 * select-x.c (motif_clipboard_cb):
6531 * signal.c (interrupt_signal):
6532 * specifier.c (specifier_add_spec):
6533 * specifier.c (specifier_instance_from_inst_list):
6534 * specifier.c (specifier_instance):
6536 * specifier.h (struct specifier_methods):
6537 * strftime.c (add_num_time_t):
6538 * sunplay.c (init_device):
6539 * symbols.c (Fsetplist):
6540 * symbols.c (do_symval_forwarding):
6541 * symbols.c (store_symval_forwarding):
6543 * symbols.c (Fbuilt_in_variable_type):
6544 * symbols.c (decode_magic_handler_type):
6545 * symbols.c (handler_type_from_function_symbol):
6546 * syntax.c (update_syntax_cache):
6547 * sysdep.c (init_baud_rate):
6548 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6549 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6550 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6551 * toolbar.c (get_toolbar_coords):
6552 * ui-gtk.c (build_gtk_boxed):
6553 * ui-gtk.c (describe_gtk_arg):
6554 * ui-gtk.c (gtk_type_to_lisp):
6555 * ui-gtk.c (lisp_to_gtk_type):
6556 * ui-gtk.c (lisp_to_gtk_ret_type):
6557 * ui-gtk.c (lisp_to_flag):
6558 * unexnt.c (read_in_bss):
6559 * unexnt.c (map_in_heap):
6560 * window.c (real_window):
6561 * window.c (window_display_lines):
6562 * window.c (window_display_buffer):
6563 * window.c (set_window_display_buffer):
6564 * window.c (window_modeline_height):
6565 * window.c (unshow_buffer):
6566 * window.c (window_loop):
6567 * window.c (Fget_lru_window):
6568 * window.c (Fsplit_window):
6569 * window.c (Fset_window_configuration):
6570 * window.c (saved_window_index):
6571 * xgccache.c (gc_cache_lookup):
6572 abort() -> ABORT(). Eliminate preprocessor games with abort()
6573 since it creates huge problems in VC7, solvable only by including
6574 massive amounts of files in every compile (and not worth it).
6578 Inclusion of process.h does not need to be before lisp.h any more.
6579 Move later and remove comment about abort().
6581 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6583 * regex.c (re_match_2_internal):
6584 Correctly initialize loop which clears uninitialized registers.
6586 2005-01-28 Vin Shelton <acs@xemacs.org>
6588 * sheap.c (more_static_core): Applied Ben's version of the long
6591 2005-01-24 Vin Shelton <acs@xemacs.org>
6593 * sheap.c (more_static_core): Reformatted printf string so
6594 gcc-3.3.3 will compile this on Cygwin.
6596 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6598 * console.c (function_key_map): Reference `key-binding'.
6600 * keymap.c (Vkey_translation_map): Improve docstring.
6602 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6604 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6605 * window.c (window_loop): [fix] Take into account
6606 `allow-deletion-of-last-visible-frame' variable.
6607 * window.c (replace-buffer-in-windows): Ditto.
6609 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6611 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6613 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6615 * event-gtk.c: Recognise AltGr as a valid modifier.
6617 2005-01-12 Ville Skyttä <scop@xemacs.org>
6619 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6621 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6623 Fix backreference bug caught by test suite.
6625 * regex.c (regex_compile):
6626 Make backref duplicate internal register.
6628 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6630 Documentation, code clarification, and warning suppression.
6632 * regex.c (regex_compile):
6634 (re_match_2_internal):
6635 Improve comments and avoid redundant braces. [Most of the big hunk
6636 at l. 4710 is indentation; use diff -w to see the real changes.]
6637 (alt_match_null_string_p):
6638 (common_op_match_null_string_p):
6639 Avoid shadowing global on Mac OS X 10.4, at least.
6641 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6643 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6644 introduced with shy groups fix). [Already applied, probably
6645 with the second "fix shy groups" patch of 2004-10-07.]
6647 2005-01-10 Steve Youngs <steve@sxemacs.org>
6649 From Andrey Slusar <anrays@gmail.com>:
6651 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6653 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6655 * Makefile (RECURSIVE_MAKE): Removed.
6656 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6657 handling parallel builds.
6659 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6661 * Makefile.in.in: Enable support for parallel builds.
6663 2005-01-09 Steve Youngs <steve@sxemacs.org>
6665 From Andrey Slusar <anrays@gmail.com>:
6667 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6668 FreeBSD version is >= 199701 _and_ < 600006.
6670 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6672 * scrollbar.c (compute_scrollbar_instance_usage):
6673 Only call device method compute_scrollbar_instance_usage() if it
6676 2004-12-05 Vin Shelton <acs@xemacs.org>
6678 * XEmacs 21.4.16 is released
6680 2004-12-04 Vin Shelton <acs@xemacs.org>
6682 * depend: Regenerated.
6684 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6686 * regex.c (re_match_2_internal): Map internal to external
6687 registers. Fixes bug identified by Steve Youngs 2004-09-30
6688 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6690 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6692 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6693 to fix a crash. Also, check the buffer is live and it
6694 really exists in buffer_list. If the buffer is not in the list,
6697 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6699 Fix shy groups by implementing recording of all groups for
6700 repetition and backtracking. Backport from 21.5.
6702 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6703 external_to_internal_register, external_to_internal_register_size,
6704 and update comments for re_nsub.
6706 * regex.c (re_opcode_t): Update comments.
6707 (print_compiled_pattern): Ouput external_to_internal_register,
6708 external_to_internal_register_size, and re_ngroups for debugging.
6709 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6710 (regex_compile): Update header comment.
6711 Ensure that all groups are recorded so that repeat matches and
6712 backtracking work correctly. Comment related warning for groups >
6714 (re_search_2): Construct map of API indexes (which count only
6715 nonshy groups) to internal register numbers, and keep it updated.
6717 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6719 * frame-gtk.c (gtk_make_frame_visible):
6720 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6721 show/hide. This is what X uses and is prevents previously hidden
6722 widgets from suddenly reappearing.
6723 * gtk-xemacs.c (gtk_xemacs_paint):
6724 * gtk-xemacs.c (gtk_xemacs_draw):
6725 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6727 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6728 size and location changes so that they can be seen before the next
6729 idle event. Without this rapid changes to scrollbar properties
6732 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6735 * console-gtk.h (struct gtk_frame):
6736 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6737 Add hash tables track tab_control callback data.
6738 Added #defines for GTK object data names.
6739 Declaration of gtk_widget_to_frame().
6740 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6741 * frame-gtk.c (gtk_widget_to_frame): New.
6742 * frame-gtk.c (gtk_create_widgets):
6743 * frame-gtk.c (allocate_gtk_frame_struct):
6744 * frame-gtk.c (gtk_mark_frame):
6745 Manage frame callbakc hash tables.
6746 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6747 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6748 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6750 * glyphs-gtk.c (gtk_widget_query_geometry): New
6751 * glyphs-gtk.c (gtk_register_gui_item): New
6752 * glyphs-gtk.c (gtk_add_tab_item): New
6753 * glyphs-gtk.c (gtk_tab_control_callback): New
6754 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6755 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6756 Use correct list when loading item.
6757 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6758 Register new methods.
6759 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6760 default size, for widgets.
6761 * gui-x.c: Improved comment.
6762 * menubar-gtk.c (__generic_button_callback): Use
6763 gtk_widget_to_frame instead of __get_channel.
6765 * ui-gtk.c: Use symbolic names for GTK object data.
6767 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6769 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6771 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6773 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6775 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6777 * malloc.c (morecore): siz is a long because in some architectures
6778 (eg ia-64) an int cannot hold the address range. Additional patch
6779 from the SuSe distribution.
6781 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6784 * malloc.c: lim_data is a long because in some architectures
6785 (eg ia-64) an int cannot hold the address range.
6786 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6787 instead of ulimit() because ulimit() always returns -1.
6789 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6791 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6793 2004-06-11 David Kastrup <dak@gnu.org>
6795 * search.c (match_limit): Don't flag an error if match-data
6796 exceeding the allocated search_regs.num_regs gets requested, just
6799 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6801 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6802 replace symbolic color entries with the real colors specified in
6803 xpm-color-symbols, before passing the XPM to gtk.
6804 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6805 instead of a GTK specific field, so that it is used in by generic
6808 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6810 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6811 coredump from deref of NULL ptr (ExtData)
6813 2004-04-19 Jerry James <james@xemacs.org>
6815 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6816 VALBITS to compute the location of the sign bit.
6817 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6818 of VALBITS with EMACS_INT_MAX.
6819 * events.c (Fevent_timestamp): Ditto.
6820 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6821 compute the halfway point to timestamp wraparound.
6822 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6823 EMACS_INT_MIN instead of using VALBITS.
6824 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6825 incorrect number with VALBITS.
6826 * fns.c (Frandom): Correct number of integer bits in docstring.
6827 Use INT_VALBITS instead of VALBITS to compute the denominator.
6828 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6829 build random numbers.
6831 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6833 * event-gtk.c (gtk_event_to_emacs_event):
6835 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6836 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6837 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6838 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6839 * menubar-gtk.c (__activate_menu):
6840 * menubar-gtk.c (convert_underscores):
6841 * menubar-gtk.c (remove_underscores):
6842 * menubar-gtk.c (menu_convert):
6843 * menubar-gtk.c (menu_descriptor_to_widget_1):
6844 * menubar-gtk.c (menu_descriptor_to_widget):
6845 * menubar-gtk.c (menu_can_reuse_widget):
6846 * menubar-gtk.c (menu_create_menubar):
6847 * menubar-gtk.c (gtk_popup_menu):
6848 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6849 Added support for Gtk menu bar and menu item mnemonics.
6851 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6853 * sysdll.c: (dll_function): Added support for finding symbols in
6854 Darwin shared libraries as well in Darwin bundles.
6855 * sysdll.c (image_for_address): New
6856 * sysdll.c (my_find_image): New
6857 * sysdll.c (search_linked_libs): New
6859 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6861 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6862 return to GTK requires a different API to marshalling data to use
6864 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6866 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6868 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6870 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6872 * glyphs.c (process_image_string_instantiator):
6873 (Fset_console_type_image_conversion_list):
6874 Stop GCC from warning about shadowing of `exp'.
6876 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6878 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6880 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6882 2004-02-03 Vin Shelton <acs@xemacs.org>
6884 * glyphs.c (image_instance_layout): Remove pointless assertion.
6885 * regex.c (regex_grow_registers): Return type is void.
6887 2004-02-02 Vin Shelton <acs@xemacs.org>
6889 * XEmacs 21.4.15 is released
6891 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6893 * device-x.c (x_error_handler): Don't call stderr_out
6895 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6897 * buffer.c (other-buffer): Clarify documentation of order of
6898 arguments for FSF Emacs.
6900 2003-10-11 Olivier Galibert <galibert@pobox.com>
6902 * window.c (Fdelete_window): Dirty the mirror structure _before_
6903 marking the window deleted.
6905 2003-09-15 Jerry James <james@xemacs.org>
6907 * event-msw.c (debug_mswin_messages): Conditionally compile
6908 messages missing from the Cygwin headers.
6910 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6912 * data.c (eq_with_ebola_notice): Fix typo in comment.
6913 (Ftrue_list_p): Improve docstring.
6915 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6917 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6919 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6921 * search.c (trivial_regexp_p): Regexps containing "\{" are
6922 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6923 Stefan Monnier for suggesting a diagnosis.
6925 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6927 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6929 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6931 * search.c (Fsearch_forward):
6933 Document negative count.
6935 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6937 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6939 2003-09-13 Martin Buchholz <martin@xemacs.org>
6941 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6943 2003-09-15 Vin Shelton <acs@xemacs.org>
6945 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6948 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6950 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6951 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6952 (re_match_2_internal): Use TRANSLATE instead of
6953 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6954 non-ASCII char case conversion.
6956 2003-09-08 Mike Sperber <mike@xemacs.org>
6958 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6959 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6961 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6963 * .gdbinit (pobj): fix printing of symbol name.
6965 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6967 * frame-x.c (x_layout_widgets): When resizing is about to cause
6968 frame size slip, mark it for redisplay.
6970 2003-08-18 Jerry James <james@xemacs.org>
6972 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6974 2003-09-03 Vin Shelton <acs@xemacs.org>
6976 * XEmacs 21.4.14 is released
6978 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6980 * config.h.in (REGEX_MALLOC): Make it configure'able.
6982 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6984 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6986 * sysdll.c (dll_init):
6987 * sysdll.c (dll_open):
6988 * sysdll.c (dll_close):
6989 * sysdll.c (dll_function):
6990 * sysdll.c (dll_variable):
6991 * sysdll.c (dll_error):
6992 Add support for loading bundles using Darwin/MacOSX
6995 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6997 * process.c (start-process-internal): Document coding systems.
6999 2003-07-30 Jerry James <james@xemacs.org>
7001 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7003 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7005 * event-msw.c (mswindows_enqueue_mouse_button_event):
7006 * event-msw.c (mswindows_wnd_proc):
7007 enqueue button event when scrollwheel event isn't handled by
7008 mswindows_handle_mousewheel_event, such as when the scrollbars
7011 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7013 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7015 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7017 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7019 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7021 * regex.c (re_match_2_internal): Fix matching degenerate word
7024 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7026 * XEmacs 21.4.13 is released
7028 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7030 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7031 * lisp.h (<inttypes.h>):
7032 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7035 2003-03-15 Martin Buchholz <martin@xemacs.org>
7037 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7038 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7039 Result: "temacs can only be run in -batch mode."
7040 Fix: Check xemacs executable candidate for directory-ness.
7042 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7044 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7045 they conflict with <sys/types.h>.
7047 2003-02-14 Martin Buchholz <martin@xemacs.org>
7049 * database.c: Berkeley DB wants __STDC__ to be defined.
7051 2003-02-13 Martin Buchholz <martin@xemacs.org>
7053 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7055 2003-02-01 Martin Buchholz <martin@xemacs.org>
7057 * process-unix.c (unix_send_process): Fix C++ compile error.
7059 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7061 * Added .dylib as an acceptable shared library file extension
7062 * to support MacOSX.
7064 2003-02-01 Martin Buchholz <martin@xemacs.org>
7066 * EmacsFrameP.h (EmacsFramePart):
7067 Kludge to allow compiling with Motif1, but linking with Motif2.
7069 2003-01-28 Martin Buchholz <martin@xemacs.org>
7071 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7074 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7076 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7078 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7080 * sysdll.c: Included lisp.h to define needed alloca_array.
7082 2003-02-13 Martin Buchholz <martin@xemacs.org>
7084 Make XEmacs redisplay 10 times faster.
7085 If, that is, you're using a slow X connection and MoveOpaque.
7086 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7087 Use compress_motion = TRUE.
7088 * EmacsFrame.c (emacsFrameClassRec):
7089 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7090 * EmacsManager.c (emacsManagerClassRec):
7091 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7093 2003-01-30 Vin Shelton <acs@xemacs.org>
7095 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7097 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7099 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7100 Patch by Martin Buchholz.
7102 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7104 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7105 Thanks to icc for warning and Martin Buchholz for reporting.
7107 2003-01-29 Vin Shelton <acs@xemacs.org>
7109 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7111 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7112 remember to multiply by the element size.
7114 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7116 * XEmacs 21.4.12 "Portable Code" is released.
7118 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7120 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7121 * s/cygwin.sc: new linker file.
7123 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7125 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7127 * redisplay-x.c (x_output_string): Use X11-specified types.
7128 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7129 * emacs.c (__free_hook): Use typeof with Intel compiler.
7130 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7132 2003-01-08 Andy Piper <andy@xemacs.org>
7134 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7135 reserve size during unexec().
7137 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7139 * process-unix.c (unix_create_process): Don't let outchannel block.
7141 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7143 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7144 Needed for IsBadReadPtr().
7146 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7148 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7150 2002-12-14 Ben Wing <ben@xemacs.org>
7152 * callint.c: Declaration error.
7154 * dumper.c (pdump_load): Warning fix.
7155 * process.c: GCPRO error.
7156 * glyphs.c (unmap_subwindow):
7157 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7158 * event-stream.c (maybe_kbd_translate): Wrong argument to
7159 character_to_event().
7161 * alloc.c (garbage_collect_1):
7163 * emacs.c (debug_can_access_memory):
7164 * emacs.c (fatal_error_signal):
7165 * emacs.c (mswindows_handle_hardware_exceptions):
7168 * emacs.c (assert_failed):
7169 * emacs.c (syms_of_emacs):
7172 * print.c (std_handle_out_va):
7173 * print.c (write_string_to_stdio_stream):
7174 * print.c (write_fmt_string):
7175 * print.c (printing_badness):
7176 * print.c (printing_major_badness):
7177 * print.c (print_internal):
7178 * print.c (debug_print_no_newline):
7179 * print.c (debug_backtrace):
7180 Be more defensive in handling bad values when printing. Add code
7181 from trunk involving inhibit_non_essential_printing_operations.
7182 When going down or in debug_print(), don't do external conversion
7183 and such and try really, really hard when printing to avoid core
7184 dumping. Add force-debugging-signal, debug_break().
7186 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7188 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7189 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7191 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7193 * database.c: Fix open_database. Berkeley DB API has changed in
7194 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7196 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7198 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7200 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7202 * event-Xt.c (Xt_timeout):
7203 (Xt_timeout_callback):
7204 (emacs_Xt_add_timeout):
7205 (emacs_Xt_remove_timeout):
7206 (Xt_timeout_to_emacs_event):
7207 Turn completed_timeouts from a stack into a queue. Fixes
7208 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7210 2002-11-07 Wolfram Gloger <wg@malloc.de>
7212 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7213 * emacs.c (main): Assert that mmap'd allocation is disabled.
7215 2002-10-14 Andy Piper <andy@xemacs.org>
7217 * glyphs-widget.c (layout_query_geometry): add in fiddle
7218 factor. Include border text in width layout calculation.
7219 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7221 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7223 * XEmacs 21.4.10 "Military Intelligence" is released.
7225 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7227 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7228 using the NAS private array SoundFileInfo that no longer exists in
7229 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7230 and earlier. This is broken for some versions between 1.5a and
7233 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7235 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7237 * emacs.c (shut_down_emacs): Improve crash message.
7239 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7241 * file-coding.c (determine_real_coding_system): Check for coding
7242 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7243 shebangs and Python PEP 263.
7245 2002-10-08 Andy Piper <andy@xemacs.org>
7247 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7248 if static sizes haven't been set.
7250 2002-08-30 Mike Alexander <mta@arbortext.com>
7252 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7255 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7257 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7259 2002-09-20 Mike Sperber <mike@xemacs.org>
7261 (This partially gets back my patch from 2002-07-20 without the
7263 * callproc.c (child_setup): Remove Ben's comment noting confusion
7264 over the file descriptors >= 3: close_process_descs() doesn't
7265 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7266 * process-unix.c (unix_create_process): Call
7267 begin_dont_check_for_quit to inhibit unwanted interaction (and
7268 thus breaking of X event synchronicity) in the child.
7270 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7272 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7275 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7277 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7278 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7279 the xemacs process did not exit, but looped infinitely here. This
7282 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7284 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7285 (find_context): Improve comments.
7287 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7288 (re_match_2): An XCHAR_TABLE operation was missing.
7290 Many of the following changes were inspired by Andy Piper's (now
7291 obsolete) patch to make syntax-table text property lookup optional.
7295 * syntax.h (top level): Document semantics of syntax flags.
7296 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7297 * syntax.c, syntax.h (top level): Document syntax cache better in
7300 [Instrument syntax caching (temporary change)]
7302 * syntax.h (enum syntax_cache_statistics_functions, struct
7303 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7304 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7305 * syntax.c (scan_words, Fforward_comment, scan_lists,
7306 Fbackward_prefix_characters):
7307 * font-lock.c (find_context):
7308 Use them to instrument syntax caching.
7309 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7310 syntax_cache_statistics_function_names): New type and variables.
7311 * syntax.c (update_syntax_cache): Update and report statistics.
7313 [Major syntax cache optimizations]
7315 syntax.c (lookup_syntax_properties): Default off.
7317 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7318 * syntax.c (update_syntax_cache):
7319 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7321 [Minor syntax cache optimizations and code clarifications]
7323 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7324 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7325 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7326 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7327 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7328 (Code clarification.)
7330 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7331 scan_lists): Compute code from syncode, use Boolean macros instead
7332 of redundant masking operations. (Code clarification; any decent
7333 compiler can do this optimization.)
7335 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7338 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7339 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7340 use F*_single_property_change instead of F*_extent_change.
7341 Currently F*_single_property_change is _much_ less efficient.
7343 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7344 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7345 syntax_cache.object properly, don't leave Qt or Qnil.
7346 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7347 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7348 tests for Qt or Qnil.
7350 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7352 * redisplay.c (point_in_line_start_cache):
7353 * extents.c (print_extent_1):
7356 * extents.c (Fset_extent_property): Document `syntax-table' property.
7358 * extents.h (Fnext_single_property_change): EXFUN it.
7360 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7362 * search.c (clear_unused_search_regs): New static function.
7366 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7367 Minor clarifications in comments.
7369 * regex.c (re_match_2_internal): Ensure no stale submatches.
7371 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7373 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7375 2002-08-29 Jerry James <james@xemacs.org>
7377 * lisp.h: structrures -> structures.
7379 2002-06-03 Andy Piper <andy@xemacs.org>
7381 * frame.c (frame_conversion_internal): add conversion appropriate
7382 for setting frame dimensions in pixels.
7384 * console.h (struct console_methods): add device-specific widget
7387 * emacs.c (main_1): initialize glyph vars.
7389 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7390 (handle_focus_event_2): new function. Allow focus to
7391 be set to a particular window and widget.
7392 (enqueue_focus_event): new function. Create a
7393 synthetic focus event.
7394 (emacs_Xt_handle_magic_event): call
7395 handle_focus_event_2.
7397 * frame.c (Fset_frame_pixel_height): new function. Allow
7398 pixel-based sizing. Does the right thing on character-oriented
7400 (Fset_frame_pixel_width): ditto.
7401 (Fset_frame_pixel_size): ditto.
7402 (syms_of_frame): declare.
7404 * general-slots.h: add :vertically-justify and
7405 :horizontally-justify.
7407 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7408 (mswindows_widget_border_width): new function.
7409 (mswindows_combo_box_instantiate): set border widths.
7410 (console_type_create_glyphs_mswindows): declare.
7413 (check_valid_justification): allow vertical and horizontal
7415 (widget_border_width): new function. Call device methods.
7416 (widget_instance_border_width): ditto.
7417 (logical_unit_height): new function. Determine the height of a
7418 logical-unit. Logical units are intended to provide grid-like
7419 layout for subcontrols in a layout. If the layout is
7420 :vertically-justify top then subcontrols will be positioned on
7421 logical-unit boundaries, thus allowing adjacent subcontrols to
7423 (widget_logical_unit_height): ditto for widgets.
7424 (redisplay_widget): misc cleanup.
7425 (widget_spacing): new function. Call device specific
7426 methods. Intended to be the default gap between adjacent widgets.
7427 (widget_query_geometry): use new spacing functions to determine
7428 appropriate geometry.
7429 (initialize_widget_image_instance): initialize horizontal and
7430 vertical justification.
7431 (widget_instantiate): use logica-units where appropriate for
7432 sizing large widgets.
7433 (button_query_geometry): use widget_instance_border_width.
7434 (tree_view_query_geometry): ditto.
7435 (tab_control_query_geometry): ditto.
7436 (edit_field_query_geometry): new function.
7437 (layout_update): pick up :justify, :horizontally-justify and
7438 :vertically-justify none of which worked previously. :justify is
7439 used as a fallback for both horizontal and vertical justification.
7440 (layout_query_geometry): use logical units to size appropriately.
7441 (layout_layout): ditto.
7442 (Fwidget_logical_to_character_width): new function. Allow users to
7443 convert from logical units to characters so that frame sizes can
7444 be set appropriately.
7445 (Fwidget_logical_to_character_height): ditto.
7446 (syms_of_glyphs_widget): declare.
7447 (image_instantiator_edit_fields): add edit_field_query_geometry.
7448 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7449 :horizontally-justify.
7450 (specifier_vars_of_glyphs_widget): new function. Declare
7451 Vwidget_border_width which is not yet used.
7453 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7454 (x_widget_border_width): new function.
7455 (x_widget_instantiate): create a sensible name for widgets.
7456 (console_type_create_glyphs_x): declare x_widget_border_width.
7458 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7459 (struct Lisp_Image_Instance): add :vertically-justify and
7460 :horizontally-justify.
7461 (LAYOUT_JUSTIFY_TOP): new.
7462 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7463 (ROUND_UP): new macro. Round argument up to next integral
7466 * redisplay-output.c (redisplay_output_layout): misc formatting.
7468 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7470 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7472 * XEmacs 21.4.9 "Informed Management" is released.
7474 2002-08-19 Andy Piper <andy@xemacs.org>
7476 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7479 * realpath.c (xrealpath): normalize drive spec also so that dir
7480 sep chars are not mixed on cygwin.
7482 2002-08-06 Jerry James <james@xemacs.org>
7484 * window.c (Fsplit_window): Count only half of the divider width
7485 against the left window when splitting horizontally.
7487 2002-06-24 Andy Piper <andy@xemacs.org>
7489 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7490 toolbar was cleared.
7492 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7493 function. Split out from mswindows_output_frame_toolbars.
7494 (mswindows_output_frame_toolbars): move clear pieces to
7495 mswindows_output_frame_toolbars.
7497 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7498 out from gtk_output_frame_toolbars.
7499 (gtk_output_frame_toolbars): move clear pieces to
7500 gtk_clear_frame_toolbars.
7502 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7503 the frame is cleared. How this ever worked before is a mystery.
7504 (x_output_frame_toolbars): Only output toolbars.
7505 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7507 * gutter.c (update_gutter_geometry):
7508 Mark frame layout changed.
7509 (update_frame_gutter_geometry, update_frame_gutters):
7510 Respect frame_layout_changed.
7512 * console.h (struct console_methods): add
7513 clear_frame_toolbars_method.
7515 * redisplay.c (redisplay_frame): call
7516 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7518 * toolbar.h: declare update_frame_toolbars_geometry.
7520 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7521 out from update_frame_toolbars. Call clear_frame_toolbars.
7522 (update_frame_toolbars): only output, do not change geometry.
7524 * redisplay.c: add frame_layout_changed.
7526 * redisplay.h: add frame_layout_changed.
7527 (CLASS_RESET_CHANGED_FLAGS): set it.
7528 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7529 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7530 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7532 * device.h (struct device): add frame_layout_changed.
7533 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7535 * frame.h (struct frame): add frame_layout_changed.
7536 (MARK_FRAME_LAYOUT_CHANGED): new.
7538 2002-06-30 Mike Alexander <mta@arbortext.com>
7540 * event-msw.c (mswindows_need_event): Don't wait for a new message
7541 if the queue is not empty. Suggested by Paul Moore.
7543 2002-06-12 Andy Piper <andy@xemacs.org>
7545 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7546 for printing on accurately.
7548 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7550 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7551 WM_ACTIVATE message. Make sure that the frame is visible if the
7552 window is visible. This seemss to fix the problem where XEmacs
7553 appears to freeze after switching desktops with certain virtual
7555 (debug_output_mswin_message): Added code to output message
7556 parameters for WM_WINDOWPOSCHANGED,
7557 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7559 2002-05-25 Andy Piper <andy@xemacs.org>
7561 * select-x.c (vars_of_select_x): Fix docstring of
7562 x-selection-strict-motif-ownership
7564 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7566 * keymap.c (get_keymap):
7567 Add comment about do_autoload GCPROs own args.
7569 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7571 * bytecode.c (execute_optimized_program): check_opcode ifdef
7572 ERROR_CHECK_BYTE_CODE.
7574 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7576 Thanks to Ben Wing and Michael Sperber.
7578 * eval.c (Fcommand_execute):
7581 (Fmacroexpand_internal):
7582 (function_argcount):
7583 callint.c (Fcall_interactively):
7584 Add comment about do_autoload GCPROs own args.
7586 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7588 * eval.c (Ffuncall): Extra braces to placate GCC.
7590 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7592 * backtrace.h (grow_specpdl):
7594 * EmacsFrame.c (EmacsFrameSetValues):
7595 * eval.c (grow_specpdl):
7596 * ExternalShell.c (hack_event_masks_1):
7597 * glyphs-x.c (convert_EImage_to_XImage):
7598 (x_finalize_image_instance):
7599 * ralloc.c (page_size):
7601 * xgccache.c (gc_cache_hash):
7602 Fix unsigned comparison warnings.
7604 2002-07-29 Jerry James <james@xemacs.org>
7606 * lread.c (locate_file): Any nonnegative return value indicates
7607 success if MODE is nonnegative.
7609 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7611 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7614 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7616 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7618 * dumper.c (pdump_get_indirect_count):
7619 (pdump_scan_by_alignment):
7620 (pdump_dump_root_struct_ptrs):
7621 (pdump_dump_rtables):
7622 (pdump_dump_root_objects):
7624 * nas.c (WaveOpenDataForReading):
7625 * fns.c (print_bit_vector):
7626 * font-lock.c (SINGLE_SYNTAX_STYLE):
7627 * glyphs.c (check_for_ignored_expose):
7628 (find_matching_subwindow):
7630 * imgproc.c (get_histogram):
7631 * redisplay.c (point_in_line_start_cache):
7632 * redisplay-output.c (redisplay_unmap_subwindows):
7633 * symbols.c (defsymbol_massage_name_1):
7634 (defkeyword_massage_name):
7635 (deferror_massage_name_and_message):
7636 * redisplay-x.c (x_output_string):
7637 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7638 * frame.h (struct frame):
7639 * filelock.c (current_lock_owner):
7640 * doprnt.c (emacs_doprnt_1):
7641 * lisp.h (struct Lisp_Bit_Vector):
7645 2002-02-13 Ben Wing <ben@xemacs.org>
7647 * event-stream.c (reset_key_echo):
7648 * event-stream.c (reset_this_command_keys):
7649 * event-stream.c (execute_command_event):
7650 If console is dead as a result of C-x 5 0, then post-command stuff
7651 needs to be careful and do only non-console-specific stuff.
7653 2002-07-01 Mike Sperber <mike@xemacs.org>
7655 * process-unix.c (unix_send_process): Mark coding_outstream as
7656 non-open upon SIGPIPE.
7658 * event-stream.c (Fnext_event): Reorder switch cases to something
7661 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7663 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7664 Don't bogusly reinitialize ascii_character property.
7666 2002-07-08 Mike Sperber <mike@xemacs.org>
7668 * process.c (Fstart_process_internal): Do error checking before we
7669 fork off the child, so the child can't muck with the state of the
7672 2002-07-08 Mike Sperber <mike@xemacs.org>
7674 * ralloc.c (init_ralloc): Allocate properly for pdump.
7676 2002-06-12 Andy Piper <andy@xemacs.org>
7678 * glyphs.c (query_string_geometry): check the string.
7680 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7683 2002-06-17 Jerry James <james@xemacs.org>
7685 * sysdll.c: Remove RTLD_GLOBAL initialization.
7686 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7688 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7690 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7692 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7694 * sysdep.c (sys_rename): Make sys_rename work for the case where
7695 Windows rename sets errno to EACCES if target file exists.
7697 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7699 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7700 Fix detection of metric units to work on Win95
7702 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7704 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7706 2002-04-25 Andy Piper <andy@xemacs.org>
7708 * redisplay.c (create_text_block): Remove extra comment trailer.
7710 2002-04-24 Andy Piper <andy@xemacs.org>
7712 * redisplay.c (create_text_block): Don't actually add propagation
7713 data if the line ends after we have added a glyph.
7715 2002-04-22 Andy Piper <andy@xemacs.org>
7717 * extents.c (extent_fragment_update): check for glyphs we have
7718 previously displayed.
7719 * extents.c (print_extent_1): warning removal.
7720 * extents.h: change prototype.
7721 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7722 widths correctly for wide glyphs.
7723 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7724 * redisplay.c (prop_type): add PROP_GLYPH.
7725 * redisplay.c (struct prop_block): add glyph type
7726 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7727 to the propagation data.
7728 * redisplay.c (create_text_block): if there is a glyph in the
7729 propagation data use it to salt extent_fragment_update.
7730 * redisplay.c (create_string_text_block): ditto.
7732 2002-04-13 Nix <nix@esperi.demon.co.uk>
7734 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7735 * redisplay-output.c (compare_runes): Compare them.
7736 * redisplay.c: Update copyright date.
7737 * redisplay.c (pos_data): Add need_baseline_computation field.
7738 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7739 need_baseline_computation; zero yoffset. Set max_pixmap_height
7740 for all pixmaps, not just automatically positioned ones.
7741 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7742 * redisplay.c (calculate_baseline): New, compute textual baseline.
7743 * redisplay.c (add_glyph_rune): Call them.
7744 * redisplay.c (create_text_block): Likewise.
7745 * redisplay.c (create_overlay_glyph_block): Likewise.
7746 * redisplay.c (add_margin_runes): Likewise.
7747 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7749 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7750 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7751 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7752 * redisplay-msw.c (mswindows_output_string): Likewise.
7753 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7754 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7755 * redisplay-x.c (x_output_display_block): Likewise.
7757 2002-03-28 Ben Wing <ben@xemacs.org>
7759 * redisplay.c: Fixed bug in redisplay
7760 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7761 and down of the lines, since they're bigger than the line
7762 size. (It was seen most obviously when there's a horizontal scroll
7763 bar, e.g. do C-h a glyph or something like that.) The problem was
7764 that the glyph-contrib-p setting on glyphs was ignored even if it
7765 was set properly, which it wasn't until now.
7767 2002-04-24 Andy Piper <andy@xemacs.org>
7769 * lisp.h (Dynarr_end): Fix definition.
7771 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7773 * redisplay.c (mark_redisplay): Remove call to
7774 update_frame_window_mirror.
7776 2001-11-15 Andy Piper <andy@xemacs.org>
7778 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7781 2002-02-13 Andy Piper <andy@xemacs.org>
7783 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7784 we did in fact enqueue the XM_MAPFRAME event.
7786 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7788 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7789 to fix problem switching between virtual desktops under virtuawin
7790 virtual window manager.
7792 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7794 * event-msw.c: Typo fix.
7795 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7796 magic XM_MAPFRAME event has been sent.
7798 2001-11-23 Andy Piper <andy@xemacs.org>
7800 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7802 2001-11-21 Andy Piper <andy@xemacs.org>
7804 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7805 mouse events outside the frame.
7807 2002-03-20 Andy Piper <andy@xemacs.org>
7809 * menubar-msw.c (mswindows_popup_menu): warning removal.
7810 * dialog-msw.c (dialog_popped_down): ditto.
7812 2001-12-11 Andy Piper <andy@xemacs.org>
7814 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7815 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7817 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7818 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7819 * menubar-msw.c (mswindows_popup_menu): ditto.
7821 2001-10-29 Andy Piper <andy@xemacs.org>
7823 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7826 2002-01-03 Andy Piper <andy@xemacs.org>
7828 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7832 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7834 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7835 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7836 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7837 Detect and handle case where machine is set up for metric units
7839 2002-04-02 Andy Piper <andy@xemacs.org>
7841 * dired-msw.c (mswindows_get_files):
7842 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7843 completely handled by XEmacs. Suggested by Thomas Vogler
7844 <mail@thomas-vogler.de>.
7846 2001-11-14 Andy Piper <andy@xemacs.org>
7848 * nt.c (REG_ROOT): change registry key to XEmacs.
7850 2002-04-27 Andy Piper <andy@xemacs.org>
7852 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7854 2002-04-26 Andy Piper <andy@xemacs.org>
7856 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7859 2002-03-14 Mike Alexander <mta@arbortext.com>
7861 * event-msw.c (mswindows_unwait_process): New, remove process from
7863 * process-nt.c (nt_finalize_process_data): Call
7864 mswindows_unwait_process
7865 * console-msw.h: Declare mswindows_unwait_process
7867 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7869 * editfns.c (Fdecode_time):
7870 (Fformat_time_string):
7871 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7872 (make_time): Warning elimination (change arg name).
7874 2001-11-24 Andy Piper <andy@xemacs.org>
7876 * window.c (Fsplit_window): Doc return type.
7878 2002-04-01 Andy Piper <andy@xemacs.org>
7880 * emacs.c (Fkill_emacs): Only output message box in interactive
7883 2002-04-26 Andy Piper <andy@xemacs.org>
7885 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7888 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7890 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7893 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7895 * XEmacs 21.4.8 "Honest Recruiter" is released.
7897 2002-05-07 Nix <nix@esperi.demon.co.uk>
7899 Supersedes 2002-04-17 patch.
7901 * process.h (PROCESS_LIVE_P): Use the process status as
7902 evidence of health, not the state of the input stream.
7903 (PROCESS_READABLE_P): Say if the process is readable
7904 from. (It may be dead nonetheless.)
7905 (CHECK_READABLE_PROCESS): Test for that condition.
7907 * process.c (create_process): Use PROCESS_READABLE_P.
7908 (read_process_output, set_process_filter): Likewise.
7910 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7911 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7913 This code is #if 0'd, this is not the time to add new functions:
7915 * process.c (Fprocess_readable_p): Report readability status.
7916 * process.c (Qprocess_readable_p): New, associated symbol...
7917 * process.c (syms_of_process): ... initialize it.
7919 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7921 * XEmacs 21.4.7 "Economic Science" is released.
7923 2002-04-17 Nix <nix@esperi.demon.co.uk>
7925 * process.h (PROCESS_LIVE_P): Use the process status as
7926 evidence of health, not the state of the input stream.
7928 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7930 * sysdep.c (sys_siglist): change "signum" to "signal"
7932 2001-04-21 Martin Buchholz <martin@xemacs.org>
7934 * s/darwin.h: New file.
7935 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7937 2002-04-23 Andreas Jaeger <aj@suse.de>
7939 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7940 which use lib64 for 64-bit libs.
7941 (START_FILES): Likewise.
7943 2002-02-11 Mike Sperber <mike@xemacs.org>
7946 (x_IO_error_handler):
7947 (x_init_device): Temporarily keep device in static variable
7948 `device_being_initialized' so we can recover gracefully from
7949 internal XOpenDevice failure. (XOpenDevice is documented to
7950 return NULL on failure, but sometimes calls the IO error handler
7953 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7955 * dired.c (Ffile_name_all_completions): Change documentation --
7956 remove reference to completion-ignored-extensions.
7957 * dired.c (vars_of_dired): Change documentation for
7958 completion-ignored-extensions -- remove reference to
7959 file-name-all-completions.
7961 2002-03-06 Jerry James <james@xemacs.org>
7963 * emodules.c (emodules_load): Fix multiple loading of same module.
7965 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7966 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7967 RTLD_LAZY to avoid incorrect symbol binding when using nested
7968 shared libraries on Solaris.
7970 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7972 * fileio.c (Ffind_file_name_handler): Improve docstring.
7974 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7976 * fns.c (Fmapconcat): Improve docstring.
7978 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7980 * device-gtk.c: Add prototype for
7981 emacs_gtk_selection_clear_event_handle.
7982 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7983 selection. Setup signal handler for "selection_clear_event"
7984 (emacs_gtk_selection_clear_event_handle).
7986 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7987 other applications owning the clipboard (based on
7988 x_handle_selection_clear).
7990 2001-12-23 William M. Perry <wmperry@gnu.org>
7992 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7994 2002-01-04 Martin Buchholz <martin@xemacs.org>
7996 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7998 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8000 * XEmacs 21.4.6 "Common Lisp" is released.
8002 2001-12-16 Torsten Duwe <duwe@caldera.de>
8004 * search.c (Freplace_match): Add missing sub-expression functionality.
8006 * buffer.c (decode_buffer): Add a check for pointer type to
8007 decode_buffer, before gcc's CSE optimization reorders a
8008 dereference in front of the allow_string test.
8010 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8012 * window.c (window_loop): Fix bug that sometimes prevented
8013 window_loop() from iterating across multiple devices. Also, at
8014 Ben's request, changed infloop-detecting code to abort() instead
8015 of silently terminating window_loop().
8017 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8019 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8020 * editfns.c (make_time): New function.
8021 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8022 * lisp.h (make_time): Prototype and comment it.
8023 * dired.c (wasteful_word_to_lisp): Deprecate.
8024 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8026 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8028 * fileio.c (auto_save_1): Use current coding system, not
8031 2001-11-13 Ben Wing <ben@xemacs.org>
8034 * window.c (window_truncation_on):
8035 * window.c (syms_of_window):
8036 truncate-partial-width-windows should respect the buffer being
8037 displayed, like other redisplay vars.
8039 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8041 * event-stream.c (Fread_key_sequence): save current buffer.
8043 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8045 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8047 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8049 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8051 2001-10-26 Mike Alexander <mta@arbortext.com>
8053 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8055 2001-10-25 Andy Piper <andy@xemacs.org>
8058 * dialog-msw.c (handle_directory_proc): new function.
8059 (handle_directory_dialog_box): new fucntion.
8060 (handle_file_dialog_box): use new directory dialog support.
8061 (mswindows_make_dialog_box_internal): ditto.
8062 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8064 (mswindows_find_frame): make global.
8065 * fileio.c (Fexpand_file_name): build fix.
8066 * general-slots.h: add Qdirectory.
8067 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8069 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8070 cygwin not leaving win32 paths unchanged.
8071 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8072 cygwin runtime to do path conversion.
8073 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8074 (syms_of_win32): add new function.
8075 * window.c (window_loop): build fix.
8077 2001-10-15 Andy Piper <andy@xemacs.org>
8079 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8081 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8083 * XEmacs 21.4.5 "Civil Service" is released.
8085 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8087 * glyphs-x.c: Force buffer-tab highlight update when moving the
8088 buffer, avoiding an ugly black border, used for keyboard focus
8089 indication, on a widget that can never have keyboard focus, the
8092 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8094 * process-unix.c (unix_open_multicast_group): Remove too much
8095 conversion between host and network byte order.
8097 2001-09-10 Nix <nix@esperi.demon.co.uk>
8099 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8100 before replacing them.
8102 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8105 * src/window.c (undedicate_windows): Use it.
8106 * src/window.h: Add prototype.
8108 2001-09-17 Ben Wing <ben@xemacs.org>
8110 * fileio.c (normalize_filename):
8111 * fileio.c (Fexpand_file_name):
8112 Fix various C++ compile errors in Andy's recent code.
8114 * callint.c (Fcall_interactively):
8115 * editfns.c (Ftemp_directory):
8116 * editfns.c (Fuser_full_name):
8117 * emacs.c (argmatch):
8118 * lread.c (locate_file_map_suffixes):
8119 * redisplay-x.c (x_ring_bell):
8120 Fix sign-compare warnings.
8122 2001-09-08 Andy Piper <andy@xemacs.org>
8124 * fileio.c (normalize_filename): copied from nt.c
8125 * (Ffile_name_directory): enable win32 paths under cygwin.
8126 * (Ffile_name_nondirectory): ditto.
8127 * (directory_file_name): ditto.
8128 * (Fexpand_file_name): ditto.
8129 * (Ffile_truename): ditto.
8130 * (Fsubstitute_in_file_name): ditto.
8131 * (Ffile_name_absolute_p): ditto.
8132 * (Ffile_readable_p): ditto.
8134 2001-09-08 Andy Piper <andy@xemacs.org>
8136 * device-msw.c (mswindows_finish_init_device): remove dde
8138 * device-msw.c (mswindows_init_dde): factor out from
8139 mswindows_finish_init_device()
8140 * device-msw.c (init_mswindows_very_early): new function
8141 initialize but don't enable dde.
8142 * emacs.c (main_1): call init_mswindows_very_early.
8144 * event-msw.c (mswindows_dde_callback): only execute when we are
8146 * symsinit.h: declare init_mswindows_very_early.
8148 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8150 [sjt: This has been in 21.5 for months with no complaints.]
8152 * console.h (struct console_methods): Added flags member.
8153 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8154 (CONMETH_IMPL_FLAG):
8155 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8156 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8158 * device.c (window_system_pixelated_geometry): Use the above macros.
8160 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8161 implememntation flag.
8162 * device.h (DEVICE_DISPLAY_P): Use it.
8164 * frame.c (delete_frame_internal): Use the above macro.
8166 * redisplay.c (redisplay_device): Use it.
8167 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8168 (redisplay_frame): Ditto.
8170 * device-msw.c (mswindows_device_implementation_flags): Removed.
8171 (msprinter_device_implementation_flags): Removed.
8172 (console_type_create_device_mswindows): Removed references to
8173 implementation_flags methods, set implementation flags here.
8174 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8176 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8177 (console_type_create_device_gtk): Removed method declaration.
8178 Added commented out statement which semantically matches the
8179 commented out statement in the above removed method.
8181 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8183 The attached patch fixes a few warnings.
8185 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8186 * src/frame-gtk.c: guard against GNOME calls in GTK only
8187 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8188 * src/select-gtk.c: prototype lisp_to_time
8190 2001-06-08 Ben Wing <ben@xemacs.org>
8192 ------ gc-in-window-procedure fixes ------
8195 * alloc.c (struct post_gc_action):
8196 * alloc.c (register_post_gc_action):
8197 * alloc.c (run_post_gc_actions):
8198 * alloc.c (garbage_collect_1):
8199 Create "post-gc actions", to avoid those dreaded "GC during window
8200 procedure" problems.
8203 Abort, clean and simple, when GC in window procedure. We want
8204 to flush these puppies out.
8207 * glyphs-msw.c (finalize_destroy_window):
8208 * glyphs-msw.c (mswindows_finalize_image_instance):
8209 Use a post-gc action when destroying subwindows.
8212 Declare register_post_gc_action().
8215 * scrollbar-msw.c (unshow_that_mofo):
8216 Use a post-gc action when unshowing scrollbar windows, if in gc.
8218 * redisplay.c (mark_redisplay):
8219 Add comment about the utter evilness of what's going down here.
8221 ------ cygwin setitimer fixes ------
8223 * Makefile.in.in (sheap_objs):
8224 * Makefile.in.in (profile_objs):
8225 * Makefile.in.in (objs):
8226 Compile profile.c only when HAVE_SETITIMER.
8228 * nt.c (mswindows_sigset):
8229 * nt.c (mswindows_sighold):
8230 * nt.c (mswindows_sigrelse):
8231 * nt.c (mswindows_sigpause):
8232 * nt.c (mswindows_raise):
8233 * nt.c (close_file_data):
8237 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8240 * profile.c (Fstart_profiling):
8241 * profile.c (Fstop_profiling):
8242 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8243 instead of just plain setitimer().
8246 * signal.c (set_one_shot_timer):
8248 Define qxe_setitimer() as an encapsulation around setitimer() --
8249 call setitimer() directly unless Cygwin or MS Win, in which case
8250 we use our simulated version in win32.c.
8253 * systime.h (struct itimerval):
8254 * systime.h (ITIMER_REAL):
8255 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8256 comment about "qxe" and the policy regarding encapsulation.
8259 * win32.c (setitimer_helper_proc):
8260 * win32.c (setitimer_helper_period):
8261 * win32.c (setitimer_helper):
8262 * win32.c (mswindows_setitimer):
8263 Move setitimer() emulation here, so Cygwin can use it.
8264 Rename a couple of functions and variables to be longer and more
8265 descriptive. In setitimer_helper_proc(), send the signal
8266 using either mswindows_raise() or (on Cygwin) kill(). If for
8267 some reason we are still getting lockups, we'll change the kill()
8268 to directly invoke the signal handlers.
8270 ------ windows shell fixes ------
8274 Comments about how these two files must die.
8276 * callproc.c (init_callproc):
8277 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8278 not just COMSPEC. (more correct and closer to FSF.) Don't
8279 force a value for SHELL into the environment. (Comments added
8280 to explain why not.)
8282 * nt.c (init_user_info):
8283 Don't shove a fabricated SHELL into the environment. See above.
8285 2001-06-01 Ben Wing <ben@xemacs.org>
8287 * Makefile.in.in (ldflags):
8288 eliminate that pesky "defaulting to 00401000" warning.
8292 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8294 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8295 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8297 2001-04-24 Jerry James <james@xemacs.org>
8299 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8302 2001-06-01 Ben Wing <ben@xemacs.org>
8304 * event-msw.c (debug_mswin_messages):
8305 conditionalize the messages that were causing compile errors.
8306 (if only macros could generate #ifdef statements ...)
8308 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8310 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8312 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8314 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8316 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8318 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8319 * process-unix.c (unix_canonicalize_host_name):
8320 sysdep.c (init_system_name):
8321 Use it to conditionally support IPv6 canonicalization.
8323 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8326 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8328 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8330 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8331 attempt is made to scroll when no scroll bar is available.
8333 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8335 * input-method-motif.c (XIM_delete_frame): New callback.
8336 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8337 got deleted from 21.4.3.)
8339 2001-06-01 Ben Wing <ben@xemacs.org>
8341 * nt.c (mswindows_utime):
8342 * nt.c (close_file_data):
8343 fix off-by-one-indirection error.
8345 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8347 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8348 because set_file_times() now takes Lisp_Object path, instead of
8350 * nt.c: Include buffer.h.
8351 * nt.c (convert_from_time_t): New.
8352 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8353 not set mtime correctly.
8354 * nt.h: Declare mswindows_utime().
8355 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8356 path, instead of char*.
8357 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8359 2001-05-30 Ben Wing <ben@xemacs.org>
8363 (Stephen, just take all event-msw.c patches. This includes
8364 the "iconify" fix below.)
8367 * event-msw.c (mswindows_dequeue_dispatch_event):
8368 * event-msw.c (assert):
8369 * event-msw.c (emacs_mswindows_quit_p):
8370 * event-msw.c (debug_mswin_messages):
8371 * event-msw.c (debug_output_mswin_message):
8372 * event-msw.c (vars_of_event_mswindows):
8373 Fix yet more problems with C-g handling.
8374 Implement debug-mswindows-events.
8376 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8378 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8380 2001-05-23 Ben Wing <ben@xemacs.org>
8382 * event-msw.c (winsock_writer):
8383 * event-msw.c (winsock_closer):
8384 prior kludgy code was clobbering the buffer, thinking it was
8385 "unused" space to store an unneeded return value; instead, use
8386 the variable we've already got staring us in the face.
8388 2001-05-17 Andy Piper <andy@xemacs.org>
8390 * sysfile.h: don't assume that file attributes are boolean
8392 2001-05-23 Ben Wing <ben@xemacs.org>
8394 * device-msw.c (msprinter_init_device):
8395 signal an error rather than crash with an unavailable network
8396 printer (from Mike Alexander).
8399 * event-msw.c (struct winsock_stream):
8400 * event-msw.c (winsock_writer):
8401 * event-msw.c (winsock_closer):
8402 * event-msw.c (make_winsock_stream_1):
8403 cleanup headers. fix (hopefully) an error with data corruption
8404 when sending to a network connection.
8406 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8407 to handle the ~user prefix by (a) always assuming we're referencing
8408 ourselves and not even verifying the user -- hence any file with
8409 a tilde as its first char is invalid! (b) if there wasn't a slash
8410 following the filename, the pointer was set *past* the end of
8411 file and we started reading from uninitialized memory. Now we
8412 simply treat these as files, always.
8414 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8416 2001-05-19 Ben Wing <ben@xemacs.org>
8418 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8421 * process-nt.c (vars_of_process_nt):
8422 remove unused mswindows-quote-process-args. rec for 21.4.
8424 2001-05-12 Ben Wing <ben@xemacs.org>
8426 * event-msw.c (mswindows_dde_callback):
8427 * event-msw.c (mswindows_wnd_proc):
8428 eliminate cygwin warnings.
8430 2001-05-06 Ben Wing <ben@xemacs.org>
8434 * device-msw.c (print_dialog_worker):
8435 * device-msw.c (mswindows_handle_print_dialog_box):
8436 * device-msw.c (syms_of_device_mswindows):
8437 * dialog-msw.c (mswindows_make_dialog_box_internal):
8439 implement printing the selection when it's selected.
8441 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8443 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8445 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8447 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8448 EMACS_INT is signed.
8450 2001-04-15 Michael Lausch <mla@1012surf.net>
8452 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8453 gtk_widget_request_size() to give scrollbar >0 width for
8456 2001-05-30 William M. Perry <wmperry@gnu.org>
8458 * event-gtk.c: Check for buttons as modifier keys.
8460 2001-05-25 Craig Lanning <CraigL@Knology.net>
8463 Properly find MinGW's <process.h> inside Cygwin's restructured
8464 include directories. Don't try to include <cygwin/version.h>
8465 since we are dropping support for MinGW in versions of Cygwin
8468 Drop support for MinGW in versions of Cygwin before b21.
8470 Properly find MinGW's <process.h> inside Cygwin's restructured
8471 include directories.
8473 Drop support for MinGW in versions of Cygwin before b21.
8475 Even though a.out.h is no longer detected by configure, allow
8476 MinGW to use it until we figure out how to do the job with Win32.
8478 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8480 * syntax.c (find_start_of_comment):
8481 Fix `unbalanced parentheses' bug when dealing with mixed comment
8482 styles in c++/java/etc. mode
8484 2001-05-29 Mike Alexander <mta@arbortext.com>
8486 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8487 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8489 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8491 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8493 2001-03-31 Mike Sperber <mike@xemacs.org>
8495 * search.c (Freplace_match): Support FSF-style specification of
8496 match subexpression when applied to a buffer.
8498 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8500 * event-stream.c (is_scrollbar_event): add missing semicolon
8502 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8504 * Makefile.in.in: Use TAR macro instead of hardcoding
8505 tar. Allows use of GNU tar instead of system tar
8507 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8509 * event-stream.c (is_scrollbar_event): add missing semicolon
8511 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8513 * XEmacs 21.4.3 "Academic Rigor" is released.
8515 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8517 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8519 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8521 * buffer.c (Vcase_fold_search): Remove obsolete
8522 comment about non ASCII case-fold-search. This
8523 bug has been fixed by case-table changes.
8525 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8527 * event-msw.c: Restore include of events-mod.h.
8529 2001-04-22 zhaoway <zw@debian.org>
8531 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8534 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8536 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8538 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8540 * mule-charset.c (Fmake_charset): Add missing else.
8542 2001-04-23 Ben Wing <ben@xemacs.org>
8544 * event-msw.c (FAKE_MOD_QUIT):
8545 * event-msw.c (mswindows_dequeue_dispatch_event):
8546 * event-msw.c (mswindows_wnd_proc):
8547 * event-msw.c (emacs_mswindows_quit_p):
8548 Get critical quit working.
8550 2001-05-05 Ben Wing <ben@xemacs.org>
8554 * device-msw.c (mswindows_get_default_margin):
8555 * frame-msw.c (mswindows_size_frame_internal):
8556 * frame-msw.c (msprinter_init_frame_1):
8557 * frame-msw.c (vars_of_frame_mswindows):
8558 Change top/bottom margin defaults to 0.5 inches.
8560 2001-05-01 Martin Buchholz <martin@xemacs.org>
8562 Fix link error with gcc 3.0 on Linux.
8563 * terminfo.c (UP): Remove.
8564 * terminfo.c (BC): Remove.
8565 * terminfo.c (PC): Remove.
8566 They weren't used, and in any case, these symbols should be
8567 defined in the *library*.
8569 2001-05-03 Martin Buchholz <martin@xemacs.org>
8571 * s/aix4.h: Fix crash with xlc -O3.
8572 Improve comment explaining how -O3 works.
8574 2001-04-15 Ben Wing <ben@xemacs.org>
8577 * event-stream.c (Fnext_event):
8578 * event-stream.c (is_scrollbar_event):
8579 * event-stream.c (execute_command_event):
8580 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8581 crash' problem. His fix introduces other problems. We filter
8582 out scrollbar events specifically, making them somewhat invisible
8583 to command-building, and not appearing in `this-command-keys'.
8584 More work is still needed (see comments in event-stream.c), but
8585 this fixes all the major problems.
8587 2001-04-20 Ben Wing <ben@xemacs.org>
8589 * .cvsignore: Added stuff for Windows.
8591 2001-04-28 Ben Wing <ben@xemacs.org>
8593 * buffer.c (Ferase_buffer):
8594 * editfns.c (buffer_insert1):
8595 * editfns.c (Finsert_before_markers):
8596 * editfns.c (Finsert_string):
8597 * editfns.c (Finsert_char):
8598 * editfns.c (Fdelete_region):
8599 * editfns.c (Fwiden):
8600 * editfns.c (Fnarrow_to_region):
8601 remove bogus lines setting zmacs_region_stays to 0.
8603 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8605 * process-unix.c (unix_open_network_stream): If connect() fails
8606 invalidate file descriptor after closing it.
8608 2001-03-08 Mike Alexander <mta@arbortext.com>
8610 * event-msw.c (mswindows_need_event_in_modal_loop):
8611 Don't dispatch a message if we didn't get one.
8612 (mswindows_need_event):
8613 Terminate the correct process when one exits instead of the first
8614 one on Vprocess_list and look for process termination when in
8615 mswindows_protect_modal_loop.
8617 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8619 * XEmacs 21.4.1 "Copyleft" is released.
8621 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8623 * input-method-motif.c (XIM_delete_frame): New callback.
8624 (XIM_init_frame): Register it.
8626 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8628 * XEmacs 21.4.0 "Solid Vapor" is released.
8630 2001-04-15 Ben Wing <ben@xemacs.org>
8632 * cmdloop.c (call_command_loop):
8633 Fix braino in bit-rotting code.
8635 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8637 * extents.c (Fset_extent_endpoints): Force creation of extent info
8638 in buffer_or_string.
8640 * extents.c (process_extents_for_insertion_mapper): Correctly
8641 check for open-open zero-length extents.
8643 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8645 * lisp.h: New typedefs Memory_count, Element_count.
8648 Sign-compare warning elimination: several unsigned -> signed.
8649 Based on work by Ben Wing <ben@xemacs.org>.
8651 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8653 * XEmacs 21.2.47 "Zephir" is released.
8655 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8657 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8659 2001-04-03 Mike Sperber <mike@xemacs.org>
8661 * search.c: Revert previous patch due because of release.
8663 2001-03-30 Ben Wing <ben@xemacs.org>
8666 Add missing killpg prototype.
8669 Add a comment about fixing problems when a new entry is added
8672 * frame-msw.c (mswindows_init_frame_1):
8673 Fix compile warnings.
8675 * menubar.c (vars_of_menubar):
8676 Provide `menu-accelerator-support' to indicate that we properly
8677 support %_ in menu specifications, so that package code can
8678 conditionalize on this (and remove %_ from menu specifications
8683 * scrollbar-msw.c (can_scroll):
8685 Fix handling of mouse wheel under Windows to follow standards --
8686 now scrolls window under pointer, not selected window.
8688 2001-03-31 Mike Sperber <mike@xemacs.org>
8690 * search.c (Freplace_match): Support FSF-style specification of
8691 match subexpression when applied to a buffer.
8693 2001-03-15 Martin Buchholz <martin@xemacs.org>
8695 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8696 function to modify KEYMAP, so map over a copy of the hash table.
8698 2001-03-21 Martin Buchholz <martin@xemacs.org>
8700 * XEmacs 21.2.46 "Urania" is released.
8702 2001-03-20 Dan Holmsand <dan@eyebee.com>
8704 * realpath.c (xrealpath): Make file-truename work with symlinks to
8705 /cygdrive paths on cygwin. Always lowercase drive-letters on
8707 (cygwin_readlink): Don't try to find canonical filename unless
8710 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8712 * ChangeLog: Log GTK merge.
8718 Revert gratuitous whitespace changes from GTK merge.
8720 * emacs.c: Document end of complex #ifdef @ l. 1495.
8723 2001-03-12 Andy Piper <andy@xemacs.org>
8725 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8726 have to do likewise.
8728 2001-03-12 Andy Piper <andy@xemacs.org>
8730 * sysdep.c: we only support mingw now.
8732 2001-03-09 Andy Piper <andy@xemacs.org>
8734 * unexcw.c (copy_executable_and_dump_data_section): making approx
8735 overrun a warning only.
8737 2001-03-10 William M. Perry <wmperry@aventail.com>
8739 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8740 satisfy Stephen's identical-after-cpp plea.
8742 2001-03-02 Ben Wing <ben@xemacs.org>
8745 * cmds.c (Fforward_char):
8749 Augment documentation of the most common motion commands to make
8750 note of the shifted-motion support.
8752 2001-03-02 Ben Wing <ben@xemacs.org>
8754 * nt.c (mswindows_fstat):
8755 * nt.c (mswindows_stat):
8756 * search.c (boyer_moore):
8757 Fix compile warnings under Windows.
8759 * sysdep.c (sys_readdir):
8760 Fix buggy filename-conversion code under Mule.
8762 2001-03-09 William M. Perry <wmperry@aventail.com>
8784 * redisplay-output.c:
8790 The Great GTK Merge.
8797 * emacs-widget-accessors.c:
8811 * native-gtk-toolbar.c:
8822 The Great GTK Merge: new files.
8824 2001-02-26 Ben Wing <ben@xemacs.org>
8826 Reapplied Lstream change.
8828 2001-02-26 Ben Wing <ben@xemacs.org>
8830 Undid the last change, since it is more controversial than I
8831 thought. It should be back in at some point soon.
8833 2001-02-25 Ben Wing <ben@xemacs.org>
8836 * callproc.c (Fold_call_process_internal):
8837 * event-msw.c (ntpipe_slurp_reader):
8838 * event-msw.c (ntpipe_shove_writer):
8839 * event-msw.c (winsock_reader):
8840 * event-msw.c (winsock_writer):
8842 * file-coding.c (detect_eol_type):
8843 * file-coding.c (detect_coding_type):
8844 * file-coding.c (determine_real_coding_system):
8845 * file-coding.c (Fdetect_coding_region):
8846 * file-coding.c (decoding_reader):
8847 * file-coding.c (decoding_writer):
8848 * file-coding.c (mule_decode):
8849 * file-coding.c (Fdecode_coding_region):
8850 * file-coding.c (encoding_reader):
8851 * file-coding.c (encoding_writer):
8852 * file-coding.c (mule_encode):
8853 * file-coding.c (Fencode_coding_region):
8854 * file-coding.c (detect_coding_sjis):
8855 * file-coding.c (decode_coding_sjis):
8856 * file-coding.c (encode_coding_sjis):
8857 * file-coding.c (detect_coding_big5):
8858 * file-coding.c (decode_coding_big5):
8859 * file-coding.c (encode_coding_big5):
8860 * file-coding.c (detect_coding_ucs4):
8861 * file-coding.c (decode_coding_ucs4):
8862 * file-coding.c (encode_coding_ucs4):
8863 * file-coding.c (detect_coding_utf8):
8864 * file-coding.c (decode_coding_utf8):
8865 * file-coding.c (encode_coding_utf8):
8866 * file-coding.c (detect_coding_iso2022):
8867 * file-coding.c (decode_coding_iso2022):
8868 * file-coding.c (encode_coding_iso2022):
8869 * file-coding.c (decode_coding_no_conversion):
8870 * file-coding.c (encode_coding_no_conversion):
8871 * glyphs-x.c (write_lisp_string_to_temp_file):
8872 * gpmevent.c (tty_get_foreign_selection):
8875 * lstream.c (Lstream_flush_out):
8876 * lstream.c (Lstream_adding):
8877 * lstream.c (Lstream_write_1):
8878 * lstream.c (Lstream_write):
8879 * lstream.c (Lstream_raw_read):
8880 * lstream.c (Lstream_read_more):
8881 * lstream.c (Lstream_read):
8882 * lstream.c (Lstream_unread):
8883 * lstream.c (Lstream_fputc):
8884 * lstream.c (stdio_reader):
8885 * lstream.c (stdio_writer):
8886 * lstream.c (filedesc_reader):
8887 * lstream.c (filedesc_writer):
8888 * lstream.c (lisp_string_reader):
8889 * lstream.c (struct fixed_buffer_stream):
8890 * lstream.c (make_fixed_buffer_input_stream):
8891 * lstream.c (make_fixed_buffer_output_stream):
8892 * lstream.c (fixed_buffer_reader):
8893 * lstream.c (fixed_buffer_writer):
8894 * lstream.c (struct resizing_buffer_stream):
8895 * lstream.c (resizing_buffer_writer):
8896 * lstream.c (dynarr_writer):
8897 * lstream.c (lisp_buffer_reader):
8898 * lstream.c (lisp_buffer_writer):
8900 * lstream.h (lstream_implementation):
8901 * lstream.h (struct lstream):
8903 * process-nt.c (nt_send_process):
8904 * process-unix.c (unix_send_process):
8906 Correct Lstream lossage due to mixing of signed and unsigned
8907 quantities. All Lstream uses of size_t and ssize_t are now a
8908 single signed data type Lstream_data_count. This fixes problems
8909 under Windows with sending large quantities of data to a process,
8910 and may well fix other subtle bugs.
8912 2001-02-23 Martin Buchholz <martin@xemacs.org>
8914 * XEmacs 21.2.45 "Thelxepeia" is released.
8916 2001-02-21 Martin Buchholz <martin@xemacs.org>
8918 * lisp-union.h (XSETINT):
8921 Reverse previous change of 2001-02-06.
8923 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8925 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8927 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8928 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8929 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8930 * regex.c (POS_AS_IN_BUFFER): removed
8931 * regex.c (re_search_2):
8932 * regex.c (re_match_2):
8933 Don't use an offset of 1 when calculating buffer positions, since
8934 `BI_BUF_BEGV' does it already.
8936 2001-02-18 Wim Dumon <wim@easics.be>
8938 * insdel.c (prepare_to_modify_buffer): Also check for
8939 supersession when clash-detection is enabled.
8941 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8943 * regex.c (re_match_2_internal):
8944 Convert temp characters from 'const unsigned char' to 're_char'.
8945 Fix crashing bug with extended characters under mule.
8946 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8947 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8948 font-lock, pdump, and new syntax-table code.
8949 * syntax.c (find_start_of_comment):
8950 (find_end_of_comment):
8952 Fix crashing bugs involving moving beyond end of buffer.
8953 * syntax.c (find_start_of_comment):
8954 Fixed logic to allow proper detection of cases where the same
8955 character is used to end both a two-char comment start and a
8956 two-char comment end sequence. Fixes `(forward-comment -1)'.
8957 * syntax.c (find_start_of_comment):
8958 Return position just past last comment-end character for all cases
8959 (previously was only done for two-char comment-end sequences).
8960 * syntax.c (forward-comment):
8961 Take value returned from `find_end_of_comment', rather than
8963 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8964 Properly deal with BUFFERP (syntax_cache.object)
8966 2001-02-17 Martin Buchholz <martin@xemacs.org>
8968 * alloc.c (Fgarbage_collect):
8969 * alloc.c (make_bit_vector_from_byte_vector):
8970 -Wsign-compare-correctness.
8972 2001-02-16 Martin Buchholz <martin@xemacs.org>
8974 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8975 (XSETCHAR): Likewise.
8976 (XSETOBJ): Likewise.
8978 2001-02-15 Martin Buchholz <martin@xemacs.org>
8980 * mule-canna.c (canna-func-delete_previous):
8981 Rename to canna-func-delete-previous.
8983 2001-02-14 Martin Buchholz <martin@xemacs.org>
8985 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8987 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8989 * font-lock.c (find_context): Fix C++ compile errors introduced by
8992 2001-02-13 Martin Buchholz <martin@xemacs.org>
8994 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8995 pragma, but earlier ones barf on the same pragma.
8997 2001-02-06 Mike Sperber <mike@xemacs.org>
8999 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9000 `configure-mule-lisp-directory'.
9002 2001-02-12 Martin Buchholz <martin@xemacs.org>
9004 Make sure dump-id.c is compiled in the same way as other .c's.
9005 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9006 * dump-id.h: Remove.
9007 * emacs.c: Move dump-id.h into dumper.h.
9008 * dumper.h: Move dump-id.h into dumper.h.
9010 Use standard .c.o rule for building dump-id.o.
9011 Remove preprocessor flags from link command.
9012 Add dump-id.o to ${otherobjs} if PDUMP.
9014 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9016 Port FSF 20.7 syntax table improvements.
9020 Fixups for new syntax table stuff.
9021 * dired.c: Include syntax.c.
9022 (Fdirectory_files): Initialize regex_match_object and
9024 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9025 and Fget_char_property.
9027 Use ported FSF 20.7 syntax table improvements.
9032 2001-02-09 Martin Buchholz <martin@xemacs.org>
9034 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9035 Unixware's enum boolean from sys/types.h.
9037 2001-02-10 Martin Buchholz <martin@xemacs.org>
9039 Fix support for building with latest Purify.
9040 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9041 (PURIFY_FLAGS): Likewise.
9043 2001-02-09 Martin Buchholz <martin@xemacs.org>
9045 * fileio.c (lisp_string_set_file_times): New.
9046 * fileio.c (Fcopy_file): Use it.
9048 (copy-file filename non-ascii-filename t t)
9049 ==> No such file or directory, non-ascii-filename
9051 2001-02-10 Martin Buchholz <martin@xemacs.org>
9053 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9054 USHRT_MAX seems clearer than ~0 anyways.
9056 2001-02-09 Martin Buchholz <martin@xemacs.org>
9058 dumper improvements. Inspired by Olivier.
9059 * dumper.c (pdump_max_align): New.
9060 * dumper.c (pdump_add_entry): Use pdump_max_align.
9061 * dumper.c (pdump_get_entry_list): Likewise.
9062 * dumper.c (pdump_scan_by_alignment): Likewise.
9063 Don't iterate through unnecessary alignments.
9064 * dumper.c (pdump_file_get): No need to align result of malloc().
9065 * dumper.c (pdump_mallocadr): Remove.
9066 The result of malloc() is guaranteed to be maximally aligned.
9067 * dumper.c: s/elmt/elt/g;
9068 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9069 * dumper.c (pdump_alert_undump_object): Likewise.
9070 * dumper.c (pdump_align_table):
9071 Don't support alignments > 64.
9072 Store ALIGNOF's, not shift counts, in table.
9074 2001-02-09 Martin Buchholz <martin@xemacs.org>
9076 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9077 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9078 * systime.h: Use HAVE_UTIME.
9079 * sysdep.c (struct utimbuf): Remove.
9080 * sysdep.c (set_file_times): Prefer utime() to utimes().
9081 * config.h.in (HAVE_UTIME): New.
9082 * config.h.in (HAVE_UTIME_H): Remove.
9083 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9085 2001-02-09 Martin Buchholz <martin@xemacs.org>
9087 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9089 2001-02-08 Martin Buchholz <martin@xemacs.org>
9091 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9093 2001-02-08 Martin Buchholz <martin@xemacs.org>
9095 * XEmacs 21.2.44 "Thalia" is released.
9097 2001-02-06 Martin Buchholz <martin@xemacs.org>
9099 Fixes crashes in kill-emacs on some systems.
9100 * process-unix.c (unix_kill_child_process):
9101 It's OK for kill() to fail with ESRCH.
9103 2001-02-07 Martin Buchholz <martin@xemacs.org>
9105 Contortions to make .gdbinit tricks work on most systems.
9106 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9107 * alloc.c (dbg_valmask): Make non-const.
9108 * alloc.c (dbg_typemask): Make non-const.
9109 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9110 * alloc.c (dbg_valbits): Make non-const.
9111 * alloc.c (dbg_gctypebits): Make non-const.
9112 * .gdbinit (decode_object): Make it work with AIX cc.
9114 2001-02-06 Martin Buchholz <martin@xemacs.org>
9116 * elhash.c (make_general_lisp_hash_table):
9117 Use simpler and more efficient calloc to clear entries.
9119 2001-02-07 Martin Buchholz <martin@xemacs.org>
9121 * window.c (window_scroll): Work around an AIX C compiler bug.
9122 Fixes 'scroll-up' does nothing problem with xlC.
9124 2001-02-05 Martin Buchholz <martin@xemacs.org>
9126 * .gdbinit: Remove obsolete comment.
9128 2001-01-31 Mike Alexander <mta@arbortext.com>
9130 * select.c (Fown_selection_internal): Set owned_p for device
9133 2001-02-01 Martin Buchholz <martin@xemacs.org>
9136 "not" cannot be used as a macro name as it is an operator in C++
9137 * config.h.in: Stop #defining `not'.
9138 * chartab.c (check_category_char): not ==> not_p
9139 * chartab.h: Likewise.
9140 * regex.c (re_match_2_internal): Likewise.
9142 2001-02-02 Martin Buchholz <martin@xemacs.org>
9144 * lisp-disunion.h: Fix up comments.
9146 2001-01-31 Martin Buchholz <martin@xemacs.org>
9148 * keymap.c (define_key_check_and_coerce_keysym):
9150 Support mouse-6 and mouse-7 bindings in the obvious way.
9152 2001-02-01 Martin Buchholz <martin@xemacs.org>
9154 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9156 2001-01-30 Martin Buchholz <martin@xemacs.org>
9158 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9159 Previous patch missed DEFVAR_INT_MAGIC.
9160 Make sure future DEFVAR_foo use correct types.
9161 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9162 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9163 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9164 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9165 * (DEFVAR_INT): Likewise.
9166 * redisplay.c (vertical_clip): Should be of type Fixnum.
9167 * redisplay.c (horizontal_clip): Likewise.
9168 * lisp.h (dump_add_opaque_int): New.
9169 (dump_add_opaque_fixnum): New.
9171 2001-01-29 Andy Piper <andy@xemacs.org>
9173 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9174 since they can be eval'ed
9176 2001-01-29 Martin Buchholz <martin@xemacs.org>
9178 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9179 Oops, XEmacs redefines `class'. Use `typename' instead.
9181 2001-01-28 Martin Buchholz <martin@xemacs.org>
9183 * dumper.c: Fix C++ compile errors.
9185 2001-01-29 Martin Buchholz <martin@xemacs.org>
9187 * tparam.c: Use correct prototypes.
9189 2001-01-28 Martin Buchholz <martin@xemacs.org>
9191 * sysproc.h: #include util.h for NetBSD's openpty.
9193 2001-01-27 Martin Buchholz <martin@xemacs.org>
9195 More 64-bit correctness.
9196 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9197 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9199 This finally finishes the 64-bit SGI port.
9200 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9201 * symbols.c: Fix up comments and type casts.
9202 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9203 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9204 * symeval.h (Fixnum): New type.
9205 * symeval.h (symbol_value_type): Fix up comment.
9221 * mule-canna.c: A million DEFVAR_INTs here...
9222 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9235 s/int/Fixnum/g in DEFVAR_INT declarations.
9237 2001-01-26 Martin Buchholz <martin@xemacs.org>
9239 Port pdump to SGI alignment-sensitive environment.
9240 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9241 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9243 Define and use aligned reading and writing macros.
9244 Use buffered stdio instead of posix i/o for faster dumping.
9245 Eliminate kludgy 256 byte space for header.
9246 Read and write from dump file using structs for alignment safety.
9247 * dumper.c (pdump_align_stream): New.
9248 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9249 * dumper.c (PDUMP_READ_ALIGNED): New.
9250 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9251 * dumper.c (pdump_static_Lisp_Object): New struct.
9252 * dumper.c (pdump_static_pointer): New struct.
9253 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9254 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9255 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9256 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9258 * dumper.c (pdump_backtrace):
9259 * dumper.c (pdump_get_indirect_count):
9260 * dumper.c (pdump_register_object):
9261 * dumper.c (pdump_register_struct):
9262 * dumper.c (pdump_reloc_one):
9263 * dumper.c (pdump_scan_by_alignment):
9264 * dumper.c (pdump_dump_from_root_struct_ptrs):
9265 * dumper.c (pdump_dump_opaques):
9266 * dumper.c (pdump_dump_rtables):
9267 * dumper.c (pdump_dump_from_root_objects):
9269 * dumper.c (pdump_load_finish):
9270 Use aligned reading and writing.
9272 * dumper.c (pdump_free): Make static.
9273 * dumper.c (pdump_hFile): Likewise.
9274 * dumper.c (pdump_hMap): Likewise.
9276 2001-01-26 Martin Buchholz <martin@xemacs.org>
9278 * XEmacs 21.2.43 "Terspichore" is released.
9280 2001-01-25 Martin Buchholz <martin@xemacs.org>
9282 Type fiddling for window_config.saved_windows_count
9283 * window.c (struct window_config):
9284 Make saved_windows_count member unsigned.
9285 * window.c (sizeof_window_config_for_n_windows):
9286 Make parameter unsigned.
9287 * window.c (mark_window_config):
9288 * window.c (window_config_equal):
9289 * window.c (free_window_configuration):
9290 * window.c (Fset_window_configuration):
9291 * window.c (count_windows):
9292 * window.c (Fcurrent_window_configuration):
9293 * window.c (reinit_vars_of_window):
9294 Update all callers and users.
9296 2001-01-25 Martin Buchholz <martin@xemacs.org>
9298 Alignment correctness for flexible arrays.
9299 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9300 Make alignment-correct. Add interesting comments.
9301 * alloc.c (size_vector):
9302 * alloc.c (make_vector_internal):
9303 * alloc.c (make_bit_vector_internal):
9304 * alloc.c (sweep_bit_vectors_1):
9305 * fns.c (size_bit_vector):
9306 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9307 * window.c (sizeof_window_config_for_n_windows):
9308 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9310 2001-01-24 Martin Buchholz <martin@xemacs.org>
9312 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9314 2001-01-23 Andy Piper <andy@xemacs.org>
9316 * select.c (Fown_selection_internal): pass owned_p
9318 * select-msw.c (mswindows_own_selection): New Signature.
9320 * console.h (struct console_methods): add owned_p to
9323 * select-x.c (x_own_selection): pass owned_p
9324 (hack_motif_clipboard_selection): use owned_p
9325 (vars_of_select_x): new variable -
9326 x_selection_strict_motif_ownership.
9328 2001-01-23 Martin Buchholz <martin@xemacs.org>
9330 * specifier.h (specifier_data_offset): Remove pointless parens.
9331 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9333 2001-01-24 Martin Buchholz <martin@xemacs.org>
9335 Make Lisp_Object sizeof methods be alignment-correct.
9336 pdump must restore objects to the same alignment as the C compiler
9337 assumes. It really matters on SGIs.
9338 * lstream.c (aligned_sizeof_lstream): New.
9339 (sizeof_lstream): Use aligned_sizeof_lstream.
9340 (Lstream_new): Likewise.
9341 * opaque.c (aligned_sizeof_opaque): New.
9342 (sizeof_opaque): Use aligned_sizeof_opaque.
9343 (make_opaque): Likewise.
9344 * specifier.c (aligned_sizeof_specifier): New.
9345 (sizeof_specifier): Use aligned_sizeof_specifier.
9346 (make_specifier_internal): Likewise.
9348 2001-01-23 Martin Buchholz <martin@xemacs.org>
9350 * lstream.h (struct lstream): Use max_align_t for trailing data.
9351 * specifier.h (struct Lisp_Specifier): Likewise.
9353 2001-01-22 Martin Buchholz <martin@xemacs.org>
9355 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9356 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9357 (CCL_SUSPEND): Likewise.
9358 (CCL_INVALID_CMD): Likewise.
9359 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9360 (ccl_driver): Likewise.
9361 (CCL_WRITE_CHAR): Macro hygiene.
9362 (CCL_WRITE_STRING): Macro hygiene.
9364 2001-01-22 Martin Buchholz <martin@xemacs.org>
9366 Port "portable" dumper to SunOS 4 and HP-UX.
9367 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9368 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9369 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9371 2001-01-22 Martin Buchholz <martin@xemacs.org>
9373 * lisp.h (ALIGNOF): A better definition for C++.
9375 2001-01-20 Martin Buchholz <martin@xemacs.org>
9378 Fix printf warnings: int format, long int arg.
9379 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9380 (PUSH_FAILURE_POINT): Use correct printf formats.
9381 (POP_FAILURE_POINT): Use correct printf formats.
9382 Use do {...} while (0)
9384 2001-01-20 Martin Buchholz <martin@xemacs.org>
9386 * XEmacs 21.2.42 "Poseidon" is released.
9388 2001-01-20 Martin Buchholz <martin@xemacs.org>
9390 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9392 2001-01-19 Martin Buchholz <martin@xemacs.org>
9394 De-kludgify FIXED_TYPE free list frobbing.
9395 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9396 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9397 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9398 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9399 * alloc.c (LRECORD_FREE_P): New.
9400 * alloc.c (MARK_LRECORD_AS_FREE): New.
9401 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9402 * alloc.c (STRUCT_FREE_P): Deleted.
9403 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9404 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9405 * alloc.c (STRING_CHARS_FREE_P): New.
9406 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9407 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9408 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9409 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9410 * alloc.c (resize_string): Use new definitions.
9411 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9412 * alloc.c (verify_string_chars_integrity): Use new definitions.
9413 * alloc.c (compact_string_chars): Use new definitions.
9414 * alloc.c: Update monster comments.
9415 * lrecord.h (lrecord_type): Add some new lrecord types for
9418 2001-01-18 Martin Buchholz <martin@xemacs.org>
9420 Improve alignment hackery.
9421 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9422 (max_align_t): Moved from opaque.h - general purpose.
9423 (ALIGN_PTR): Use size_t, not long.
9424 * opaque.h (max_align_t): Move to lisp.h.
9426 2001-01-18 Norbert Koch <nk@LF.net>
9428 * gui.h: Fix and add prototypes to fix build problems.
9430 2001-01-18 Martin Buchholz <martin@xemacs.org>
9432 temacs is going away, so `dump-temacs' is now a bad name.
9433 * .dbxrc (dump-temacs): Rename to `dmp'.
9434 * .gdbinit (dump-temacs): Rename to `dmp'.
9436 2001-01-17 Andy Piper <andy@xemacs.org>
9438 * glyphs.c (print_image_instance): comment to make martin happy.
9440 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9443 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9445 (mswindows_tab_control_redisplay): warning suppression.
9447 * glyphs-widget.c (widget_update): re-write to cope with updated
9449 (widget_instantiate): use new gui_item functions.
9450 (tab_control_update): deleted.
9451 (progress_gauge_update): deleted.
9452 (image_instantiator_progress_guage): take out update reference.
9453 (image_instantiator_tree_view): ditto.
9454 (image_instantiator_tab_control): ditto.
9456 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9458 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9459 return whether anything was changed.
9460 (update_gui_item_keywords): as it sounds.
9462 * gui.h: declare widget_gui_parse_item_keywords.
9464 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9465 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9467 2001-01-17 Martin Buchholz <martin@xemacs.org>
9469 * XEmacs 21.2.41 "Polyhymnia" is released.
9471 2001-01-16 Didier Verna <didier@xemacs.org>
9473 * glyphs.c (image_instantiate): don't use fallbacks when
9474 instantiating a face's background pixmap by inheritance.
9476 2001-01-14 Mike Sperber <mike@xemacs.org>
9478 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9479 Conditionalize accordingly.
9481 2001-01-16 Martin Buchholz <martin@xemacs.org>
9483 * dumper.c (pdump_file_get): Fix a compiler warning.
9485 2001-01-15 Martin Buchholz <martin@xemacs.org>
9487 Make Purify happy when pdumping.
9488 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9489 iniitalizing all bits of new lisp object memory.
9490 * symbols.c (Fmake_local_variable): Likewise.
9491 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9492 * symbols.c (Fdefvaralias): Likewise.
9493 * mule-charset.c (vars_of_mule_charset): Likewise.
9495 2001-01-15 Martin Buchholz <martin@xemacs.org>
9496 Add the `-nd' flag when running pre-dump operations under the debugger.
9497 * .dbxrc (run-temacs): Add `-nd'.
9498 * .dbxrc (update-elc): Likewise.
9499 * .dbxrc (dump-temacs): Likewise.
9500 * .gdbinit (run-temacs): Likewise.
9501 * .gdbinit (check-temacs): Likewise.
9502 * .gdbinit (update-elc): Likewise.
9503 * .gdbinit (dump-temacs): Likewise.
9505 2001-01-14 Martin Buchholz <martin@xemacs.org>
9507 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9508 export OBJECT_MODE=64
9509 configure --pdump --use-union-type=no
9510 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9511 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9513 * miscplay.c (sndcnv8U_2mono):
9514 Avoid two uses of `++' in the same expression.
9515 Suppresses a GCC warning.
9517 2001-01-13 Martin Buchholz <martin@xemacs.org>
9519 Make sure future compilers don't miscompile alloc.c.
9521 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9522 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9524 2001-01-12 Martin Buchholz <martin@xemacs.org>
9526 * dumper.c: A little post-pdump-rename comment fixup.
9528 2001-01-09 Jerry James <james@eecs.ku.edu>
9530 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9532 2001-01-13 Martin Buchholz <martin@xemacs.org>
9534 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9538 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9541 replace_symbol pdump_wire_lists pdump_weak_object_chains
9542 replace_symbol pdump_wire_list dump_add_weak_object_chain
9544 replace_symbol pdump_wires pdump_root_objects
9545 replace_symbol pdump_wire dump_add_root_object
9547 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9548 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9550 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9551 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9552 replace_symbol dumpstructinfo pdump_root_struct_ptr
9553 replace_symbol dumpstruct dump_add_root_struct_ptr
9555 replace_symbol dumpopaque dump_add_opaque
9556 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9557 replace_symbol dumpopaqueinfos pdump_opaques
9558 replace_symbol dumpopaqueinfo pdump_opaque
9560 replace_symbol nb_structdump nb_root_struct_ptrs
9561 replace_symbol nb_opaquedump nb_opaques
9563 replace_symbol align_table pdump_align_table
9564 replace_symbol dump_header pdump_header
9566 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9567 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9570 2001-01-12 Martin Buchholz <martin@xemacs.org>
9572 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9573 optimizing bytecount_to_charcount().
9575 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9578 (HAVE_DLFCN_H): Removed.
9579 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9581 2001-01-06 Martin Buchholz <martin@xemacs.org>
9583 Portable dumper maintainability improvements.
9584 * alloc.c (staticpro):
9585 * alloc.c (staticpro_nodump):
9586 * alloc.c (garbage_collect_1):
9587 * alloc.c (reinit_alloc_once_early):
9588 * alloc.c (init_alloc_once_early):
9589 * alloc.c: Move dumper functions to alloc.c.
9590 * dumper.c (pdump_backtrace):
9591 * dumper.c (pdump_dump_structs):
9592 * dumper.c (pdump_dump_opaques):
9593 * dumper.c (pdump_dump_rtables):
9594 * dumper.c (pdump_dump_wired):
9596 * dumper.c (pdump_load_check):
9597 * dumper.c (pdump_load_finish):
9598 * dumper.c (pdump_file_unmap):
9599 * dumper.c (pdump_file_get):
9600 * dumper.c (pdump_resource_free):
9601 * dumper.c (pdump_resource_get):
9602 * dumper.c (pdump_file_free):
9603 * dumper.c (pdump_file_try):
9604 * dumper.c (pdump_load):
9605 Remove fixed size limits on staticpro(), staticpro_nodump(),
9606 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9607 Remove custom code for dumping lrecord_implementations_table - use
9609 Remove (most of the) custom code for dumping staticpros - dump it
9610 like any other dynarr.
9612 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9613 * dumper.c: Moved functions from alloc.c.
9614 * alloc.c (dumpstruct): Moved to dumper.c.
9615 * alloc.c (dumpopaque): Likewise.
9616 * alloc.c (pdump_wire): Likewise.
9617 * alloc.c (pdump_wire_list): Likewise.
9619 * lisp.h (Dynarr_sizeof): New.
9620 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9621 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9622 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9624 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9625 * lisp.h (dumpopaque): ditto.
9626 * lisp.h (pdump_wire): ditto.
9627 * lisp.h (pdump_wire_list): ditto.
9629 2001-01-09 Martin Buchholz <martin@xemacs.org>
9631 * make-src-depend (PrintPatternDeps):
9632 Use `sort' to make output independent of perl version.
9634 2001-01-08 Martin Buchholz <martin@xemacs.org>
9637 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9638 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9640 2001-01-03 Didier Verna <didier@xemacs.org>
9642 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9643 that `focus_frame' is alive before thinking of calling
9644 `redisplay_redraw_cursor' on it.
9646 2001-01-08 Martin Buchholz <martin@xemacs.org>
9648 * XEmacs 21.2.40 is released.
9650 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9652 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9654 2001-01-06 Martin Buchholz <martin@xemacs.org>
9656 * alloc.c (dbg_valmask): Make const.
9657 * alloc.c (dbg_typemask): Make const.
9658 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9659 * alloc.c (dbg_valbits): Make const.
9660 * alloc.c (dbg_gctypebits): Make const.
9662 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9664 * redisplay-x.c (x_bevel_area):
9665 redisplay.h (struct rune):
9666 Typo fixes in comments.
9668 2001-01-05 Andy Piper <andy@xemacs.org>
9670 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9673 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9675 2001-01-05 Martin Buchholz <martin@xemacs.org>
9677 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9679 * mule-ccl.c (stack_idx_of_map_multiple):
9680 Non const global data must not be initialized!
9681 Found by MIYASHITA Hisashi.
9683 2001-01-02 Andy Piper <andy@xemacs.org>
9685 * frame.c (change_frame_size): make sure frame size is always
9688 * glyphs.c (image_instance_layout): minor code reuse.
9690 * window.c (Fcurrent_window_configuration): revert previous
9693 2001-01-02 Martin Buchholz <martin@xemacs.org>
9696 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9698 2000-12-31 Andy Piper <andy@xemacs.org>
9700 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9701 when widget gets unmapped.
9703 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9704 function. Make sure widgets losing focus don't just drop it.
9705 (handle_focus_event_1): record the widget with focus.
9707 2000-12-31 Andy Piper <andy@xemacs.org>
9709 * window.c (allocate_window): use
9710 make_image_instance_cache_hash_table.
9711 (make_dummy_parent): ditto.
9712 (Fset_window_configuration): ditto.
9714 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9716 * glyphs.c (process_image_string_instantiator): use
9718 (get_image_instantiator_governing_domain): ditto.
9719 (normalize_image_instantiator): ditto.
9720 (instantiate_image_instantiator): ditto.
9721 (make_image_instance_1): ditto.
9722 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9723 (instantiator_eq_equal): new function for use with instance hash
9725 (instantiator_eq_hash): ditto.
9726 (make_image_instance_cache_hash_table): create a suitable hash
9727 table for storing image instances.
9729 * elhash.h (hash_table_weakness): new internal weakness type
9730 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9731 declare new functions.
9733 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9734 another weakness type for glyphs.
9735 (make_standard_lisp_hash_table): new function split out from
9736 make_general_lisp_hash_table.
9737 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9738 (hash_table_instantiate): ditto.
9739 (Fmake_hash_table): ditto.
9741 2000-12-31 Martin Buchholz <martin@xemacs.org>
9743 * XEmacs 21.2.39 is released.
9745 2000-12-29 Andy Piper <andy@xemacs.org>
9747 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9749 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9750 the frame has changed so that we pick up geometry changes such as
9753 2000-12-28 Andy Piper <andy@xemacs.org>
9755 * lastfile.c (my_ebss): make a char array so we can pad the
9756 bss. Fixes cygwin unexec.
9758 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9760 2000-12-26 Andy Piper <andy@xemacs.org>
9762 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9763 comments and try and be more precise about a non-/SIGIO world.
9764 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9767 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9768 we don't normalize to zero width or height.
9770 2000-12-24 Andy Piper <andy@xemacs.org>
9772 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9774 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9776 * s/sco5.h: SCO 5 has pty support.
9778 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9780 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9781 input-method-xlib.c contains whole contents of input-method-xfs.c,
9782 so we can use input-method-xlib.c's code for USE_XFONTSET
9784 * input-method-xfs.c: removed.
9786 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9788 * file-coding.h (enum coding_category_type): reorder enumerators to
9789 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9790 (now one greater than largest real coding_category_type enumerator).
9791 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9792 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9793 Fcoding_category_list, Fset_coding_priority_list,
9794 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9795 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9797 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9799 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9800 * redisplay-output.c (redisplay_output_window): Clear top of window
9801 when face is changed.
9802 * redisplay-x.c (x_redraw_exposed_window): Call
9803 redisplay_clear_top_of_window.
9804 * redisplay.h: Publish redisplay_clear_top_of_window.
9806 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9808 * buffer.c (Fkill_buffer): Map over all devices.
9809 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9810 (list_windows): New function.
9811 (list_all_windows): Ditto.
9812 (Freplace_buffer_in_windows): Use them.
9814 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9816 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9817 (Fopen_database): Use `db_create' instead of `db_open'.
9818 (syms_of_database): Initialize Qqueue.
9820 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9822 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9823 buffer_local_face_property.
9824 * buffer.h (struct buffer): New member buffer_local_face_property.
9825 * window.c (Fset_window_buffer): Mark window's face as changed
9826 when buffer has buffer local face.
9827 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9828 * objects.c (color_after_change): Set buffer_local_face_property
9829 when locale of face specifier is buffer.
9830 * objects.c (font_after_change): Ditto.
9831 * objects.c (face_boolean_after_change): Ditto.
9832 * glyphs.c (image_after_change): Ditto.
9834 2000-12-09 Dan Holmsand <dan@eyebee.com>
9836 * nt.c (mswindows_fstat): Report file permissions, volume serial
9837 number, etc. Code adapted from FSF Emacs 20.7.
9839 2000-12-09 Dan Holmsand <dan@eyebee.com>
9841 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9842 of stat when we don't have symbolic links, to make sure
9843 mswindows_stat is called on mswindows.
9845 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9847 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9849 2000-12-12 Martin Buchholz <martin@xemacs.org>
9851 * doprnt.c (emacs_doprnt_1): More printing fixes.
9852 Make printing of numbers compatible with libc and FSF Emacs.
9853 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9854 Use the system printf to do most of the hard work of formatting,
9855 instead of doprnt_1().
9856 Calculate memory to allocate for format string.
9857 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9858 (doprnt_1): Cleaner code and documentation.
9860 2000-12-01 Jerry James <james@eecs.ukans.edu>
9862 * Makefile.in.in: Use the loop variable to install headers.
9864 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9866 * window.c (Fsplit_window): Don't invalidate face cache.
9868 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9870 * minibuf.c (Fall_completions): Undo the previous change
9871 which removed checking elements start with space.
9873 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9875 * mule-canna.c: Didier suppression.
9877 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9879 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9880 (warning suppression). Add English comment translations.
9882 2000-12-05 Martin Buchholz <martin@xemacs.org>
9884 * unexelfsgi.c (unexec): Better test for mmap failure.
9886 2000-12-05 Martin Buchholz <martin@xemacs.org>
9888 * XEmacs 21.2.38 is released.
9890 2000-12-05 Martin Buchholz <martin@xemacs.org>
9892 * redisplay.c (bar-cursor): Make a user variable.
9894 * symsinit.h: Add init_postgresql_from_environment.
9896 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9898 * regex.c: Convert to clean C.
9900 2000-12-05 Dan Holmsand <dan@eyebee.com>
9903 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9905 (sys_readlink): renamed to system_readlink to avoid conflict with
9906 the other sys_readlink.
9908 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9910 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9912 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9914 * postgresql.c (init_postgresql_from_environment): new function.
9915 (vars_of_postgresql): Move code initializing Lisp variables out and
9916 into init_postgresql_from_environment.
9917 emacs.c (main_1): Call init_postgresql_from_environment if and only
9918 if running a dumped XEmacs.
9920 2000-08-31 Dan Holmsand <dan@eyebee.com>
9922 * buffer.c: Make find-file-compare-truenames default to true on
9925 * realpath.c (win32_abs_start):
9927 (win32_readlink): New functions.
9928 (xrealpath): Return really real filenames on windows.
9930 * fileio.c (Ffile_truename): Make file-truename work on windows.
9932 2000-11-29 Didier Verna <didier@xemacs.org>
9934 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9935 * faces.c (update_face_cachel_data): use it.
9936 * faces.c (add_face_cachel): use it. Complete background pixmap
9937 frobbing in face cache if `update_face_cachel_data' has not done so.
9939 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9941 * search.c (string_match_1): Don't set last_thing_searched
9944 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9946 * buffer.c: Include casetab.h
9947 (common_init_complex_vars_of_buffer): Use new case-table object.
9948 * buffer.h: Include casetab.h
9949 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9950 (DOWNCASE_TABLE_OF): Ditto.
9951 * bufslots.h: Remove char-tables and add case-table.
9952 * casetab.c: Include casetab.h
9953 (CASE_TABLE_P): Removed.
9954 (mark_case_table): New function.
9955 (allocate_case_table): New function.
9956 (Fcase_table_p): Use new case-table.
9957 (case_table_char): New function.
9958 (Fget_case_table): Ditto.
9959 (Fput_case_table): Ditto.
9960 (Fput_case_table_pair): Ditto.
9961 (Fcopy_case_table): Ditto.
9962 (Fcurrent_case_table): Return case-table.
9963 (Fstandard_case_table): Return case-table.
9964 (Fset_case_table): Fix doc-string.
9965 (set_case_table): Use case-table
9966 (syms_of_casetab): DEFSUBR new functions.
9967 (complex_vars_of_casetab): Set up standard case-table.
9968 * casetab.h: New file.
9969 * editfns.c: Include casetab.h
9970 (Fcompare_buffer_substrings): Use case-table.
9971 * inline.c: Include casetab.h
9972 * lisp.h: Remove bogus extern.
9973 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9974 * search.c: Include casetab.h
9975 (TRANSLATE_ASCII): Removed.
9976 (TRANSLATE): Unconditionally translate character.
9977 (looking_at_1): Use case-table.
9978 (string_match_1): Ditto.
9979 (fast_string_match): Ditto.
9980 (search_command): Ditto.
9981 (search_buffer): Separate boyer_moore. Check whether
9982 boyer_moore is possible.
9983 (simple_search): New function.
9984 (boyer_moore): Separated from search_buffer. Translate char.
9986 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9988 * regex.c (RE_TR_ASCII): Removed.
9989 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9990 (PATFETCH): Call PATFETCH_RAW.
9991 (PATFETCH_RAW): Fetch Emchar.
9992 (PATUNFETCH): Decrement charptr.
9993 (GET_BUFFER_SPACE): Rename b to buf_end.
9995 (BUF_PUSH_2): Ditto.
9996 (BUF_PUSH_3): Ditto.
9997 (EXTEND_BUFFER): Ditto.
9998 (SET_LIST_BIT): Ditto.
9999 (regex_compile): Ditto. Translate non ASCII char.
10000 (compile_range): Ditto.
10001 (re_search_2): Ditto.
10002 (re_match_2_internal): Compare Emchar.
10003 (bcmp_translate): Ditto.
10005 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10007 * lisp.h (basic char/int typedefs): comment improvement.
10009 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10011 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10012 unstomp inhibit_site_lisp. Improve comments.
10014 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10016 * mule-charset.c (Fcharset_property): improve type checking, comments.
10018 2000-11-28 Andy Piper <andy@xemacs.org>
10020 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10021 clipped display for windows in the gutter also.
10022 (redisplay_display_boxes_in_window_p): change semantics of return
10023 codes to be more intuitive.
10025 * gutter.h: declare display_boxes_in_gutter_p.
10027 * gutter.c (display_boxes_in_gutter_p): new function for
10030 2000-11-22 Andy Piper <andy@xemacs.org>
10032 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10035 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10037 * callproc.c (Fold_call_process_internal):
10038 * gpm.c (Freceive_gpm_event):
10039 (tty_get_foreign_selection): Might be just warning supression.
10040 * fileio.c (Fwrite_region_internal):
10041 (Fset_visited_file_modtime):
10042 * keymap.c (event_matches_key_specifier_p):
10043 Initialize GCPROed variable.
10045 * menubar-x.c (command_builder_find_menu_accelerator):
10046 Initialize before use.
10048 2000-11-23 Andy Piper <andy@xemacs.org>
10050 * unexcw.c (unexec): make the resulting executable executable.
10052 2000-11-21 Martin Buchholz <martin@xemacs.org>
10054 * doc.c (get_doc_string):
10055 Use size_t, not int, for result of XSTRING_LENGTH.
10057 * cmds.c (Fdelete_char):
10058 * cmds.c (Fpoint_at_eol):
10059 * cmds.c (Fself_insert_command):
10060 Use EMACS_INT, not int, for result of XINT.
10061 Someday, someone will want to insert more than 2**31 identical characters.
10063 * cmds.c (Fdelete_char):
10064 * cmds.c (Fdelete_backward_char):
10065 * syntax.c (Fforward_word):
10066 * syntax.c (Fforward_comment):
10067 Make COUNT argument optional, for consistency with forward-char et al.
10069 2000-11-22 Martin Buchholz <martin@xemacs.org>
10072 * print.c (long_to_string):
10073 Return a useful value: the pointer at end of data written.
10076 Use `static const char * const' for constant strings.
10077 (union printf_arg): Delete `i', `ui' members.
10080 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10081 Do all printf-ing via the `l' specifier.
10082 Use EMACS_INT instead of int.
10085 2000-11-20 Didier Verna <didier@xemacs.org>
10087 * faces.c (update_face_cachel_data): don't frob the background
10088 pixmap when the window is being created. The face is needed but
10089 does not exist yet.
10091 2000-11-20 Andy Piper <andy@xemacs.org>
10093 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10094 messing with a debug environment.
10096 2000-11-20 Martin Buchholz <martin@xemacs.org>
10098 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10100 2000-11-20 Martin Buchholz <martin@xemacs.org>
10102 * casetab.c (Fcase_table_p): Fix compile error and crash.
10104 2000-11-18 Philip Aston <philipa@mail.com>
10106 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10108 2000-11-18 Martin Buchholz <martin@xemacs.org>
10110 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10111 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10113 2000-11-17 Martin Buchholz <martin@xemacs.org>
10115 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10116 * unexelf.c: Use HAVE_ELF_H.
10117 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10118 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10119 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10120 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10122 So this is an unexelfsgi.c from a different line of development.
10124 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10126 * regex.c (RE_TR_ASCII): New function.
10127 (RE_TRANSLATE): Call it.
10129 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10131 * buffer.h (TRT_TABLE_OF): Remove assert.
10132 (IN_TRT_TABLE_DOMAIN): Removed.
10134 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10136 * free-hook.c (log_gcpro):
10137 (show_gcprohist): Add support for GCPRO5.
10139 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10141 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10143 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10145 * symeval.h: Declare flush_all_buffer_local_cache.
10147 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10148 (flush_buffer_local_cache): Added.
10149 (flush_all_buffer_local_cache): Added.
10151 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10153 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10154 (pdump_dump_data): Ditto.
10155 (pdump_reloc_one): Ditto.
10156 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10160 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10162 * buffer.c: Remove if 0'ed entry.
10163 * buffer.h: Rewrite TRT to use char-table.
10164 * bufslots.h: Remove mirror tables.
10165 * casetab.c: Remove mirror tables.
10166 (CASE_TABLE_P): New macro.
10167 (Fcase_table_p): Element of a case table is string or char-table.
10168 (make_mirror_trt_table): Removed.
10169 (set_case_table): Setup char-table from strings for backward
10171 * dired.c (Fdirectory_files):
10172 * dired-msw.c: (mswindows_get_files):
10173 * lisp.h: Change prototype of re_pattern_buffer.
10174 * regex.c: (RE_TRANSLATE): New macro.
10175 (TRANSLATE_P): Ditto.
10176 Change translate to type RE_TRANSLATE_TYPE.
10177 * regex.h: Define RE_TRANSLATE_TYPE
10178 * search.c (TRANSLATE): New macro.
10179 (TRANSLATE_ASCII): New macro.
10180 Translate table is changed to Lisp_Object.
10181 (signal_failure): Inhibit return.
10183 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10190 Do UNGCPRO before return.
10192 2000-11-14 Martin Buchholz <martin@xemacs.org>
10194 * XEmacs 21.2.37 is released.
10196 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10198 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10199 Add comments about discarded return value.
10201 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10204 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10206 2000-10-27 Andy Piper <andy@xemacs.org>
10208 * gutter.c (Fset_default_gutter_position): default left and right
10209 gutters to visible.
10210 (calculate_gutter_size): calculate resonable heuristic for left
10211 and right gutter sizes.
10212 (specifier_vars_of_gutter): change left and right gutter sizes to
10214 (calculate_gutter_size_from_display_lines): new function.
10215 (output_gutter): check for resizing on left and right gutters.
10216 (clear_gutter): don't special case top and left gutters.
10217 (specifier_vars_of_gutter): use new signature for
10218 set_specifier_caching.
10220 * glyphs-x.c (x_redisplay_widget): spelling fix.
10221 * glyphs.c (specifier_vars_of_glyphs):
10222 * menubar.c (specifier_vars_of_menubar):
10223 * redisplay.c (specifier_vars_of_redisplay):
10224 * toolbar.c (specifier_vars_of_toolbar):
10225 * window.c (specifier_vars_of_window):
10226 * scrollbar.c (specifier_vars_of_scrollbar):
10227 (complex_vars_of_scrollbar): use new signature for
10228 set_specifier_caching.
10230 * specifier.c (set_specifier_caching): include recompute flag.
10231 (recompute_one_cached_specifier_in_window): always recompute if
10233 (recompute_one_cached_specifier_in_frame): ditto.
10235 * specifier.h (struct specifier_caching): add recompute flag.
10237 2000-10-24 Andy Piper <andy@xemacs.org>
10239 * unexcw.c (copy_executable_and_dump_data_section): add new
10240 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10243 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10245 * console-x.h (x_device): New member modifier_release_time.
10246 * event-Xt.c (x_handle_sticky_modifiers):
10247 Bound interval modifier keys are sticky.
10248 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10249 * events.h: extern it.
10251 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10253 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10255 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10257 * event-stream.c (execute_command_event): Preserve current_events
10258 and the like when event is misc-user-event.
10259 Inhibit quit during the call to maybe_echo_keys.
10261 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10263 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10264 symlink when buffer is killed.
10265 (inhibit_clash_detection): New variable.
10267 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10269 * console.c (Fset_input_method): Trigger redisplay on tty.
10271 2000-11-07 Martin Buchholz <martin@xemacs.org>
10273 * process.c (Fprocess_status): Revert to previous behavior:
10274 (process-status "nosuchprocess") ==> nil
10276 2000-11-06 Martin Buchholz <martin@xemacs.org>
10278 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10279 Work around another GCC 2.95.2 optimizer bug.
10281 2000-11-02 Martin Buchholz <martin@xemacs.org>
10283 * process.c (Fget_process): Use LIST_LOOP_2.
10284 (kill_buffer_processes): Use LIST_LOOP_2.
10286 * minibuf.c (Fall_completions):
10287 Delete old non-functional code for FSF fourth argument.
10289 * frame.c (frame_matches_frame_spec):
10290 Renamed from `frame_matches_frametype'. Update all callers.
10291 (device_matches_device_spec):
10292 Renamed from 'device_matches_console_spec'. Update all callers.
10294 * doc.c (Fsubstitute_command_keys):
10295 Remove buffer overflow crash. Small code cleanups.
10297 * casetab.c (check_case_table): Simpler code.
10299 * window.c (Freplace_buffer_in_windows):
10300 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10301 (and similar implementation) as Fdelete_windows_on.
10302 Update all callers.
10304 * alloc.c (Fmake_list):
10305 * alloc.c (make_vector):
10306 * alloc.c (Fmake_vector):
10307 * alloc.c (make_bit_vector):
10308 * alloc.c (Fmake_bit_vector):
10309 * alloc.c (Fbit_vector):
10310 * alloc.c (Fmake_string):
10311 * alloc.c (Fpurecopy):
10312 * alloc.c (Fmemory_limit):
10314 * buffer.c (Fget_buffer):
10315 * buffer.c (Fkill_buffer):
10316 * buffer.c (complex_vars_of_buffer):
10317 * bytecode.c (Fcompiled_function_stack_depth):
10318 * callint.c (Fprefix_numeric_value):
10320 * event-stream.c (Fread_key_sequence):
10322 * casetab.c (Fcase_table_p):
10323 * casetab.c (check_case_table):
10324 * casetab.c (Fset_case_table):
10325 * casetab.c (Fset_standard_case_table):
10327 * chartab.c (Fchar_table_type):
10328 * chartab.c (Freset_char_table):
10329 * chartab.c (Fget_char_table):
10330 * chartab.c (Fget_range_char_table):
10331 * chartab.c (Fput_char_table):
10332 * chartab.c (Fmap_char_table):
10333 * chartab.c (Fcategory_table_p):
10334 * chartab.c (Fcheck_category_at):
10335 * chartab.c (Fchar_in_category_p):
10336 * chartab.c (Fcategory_table):
10337 * chartab.c (Fcopy_category_table):
10338 * chartab.c (Fset_category_table):
10339 * chartab.c (Fcategory_designator_p):
10340 * chartab.c (Fcategory_table_value_p):
10341 * cmds.c (Fdelete_char):
10342 * cmds.c (Fdelete_backward_char):
10343 * cmds.c (Fself_insert_command):
10344 * cmds.c (Fself_insert_internal):
10345 * console.c (Fvalid_console_type_p):
10346 * console.c (Fcdfw_console):
10347 * console.c (Fconsole_type):
10348 * console.c (Fconsole_name):
10349 * console.c (Fconsole_device_list):
10350 * console.c (Fconsole_on_window_system_p):
10353 * data.c (Fold_eq):
10354 * data.c (Fsubr_interactive):
10355 * data.c (Fchar_to_int):
10356 * data.c (Fint_to_char):
10357 * data.c (Fsetcar):
10358 * data.c (Fsetcdr):
10359 * data.c (Fnumber_to_string):
10360 * data.c (Fstring_to_number):
10362 * database.c (mark_database):
10363 * database.c (finalize_database):
10364 * database.c (Fdatabase_live_p):
10365 * database.c (Fdatabasep):
10366 * device-x.c (Fx_get_resource):
10367 * device.c (Fdfw_device):
10369 * dired.c (Ffile_name_completion):
10370 * dired.c (Ffile_name_all_completions):
10371 * dired.c (Fuser_name_completion):
10372 * dired.c (Fuser_name_completion_1):
10373 * dired.c (Fuser_name_all_completions):
10374 * doc.c (Fdocumentation):
10375 * doc.c (Fdocumentation_property):
10376 * doc.c (Fsubstitute_command_keys):
10378 * editfns.c (Fchar_to_string):
10379 * editfns.c (Fstring_to_char):
10380 * editfns.c (Ftemp_directory):
10381 * editfns.c (Finsert_char):
10382 * editfns.c (Fbuffer_substring_no_properties):
10383 * editfns.c (Fnarrow_to_region):
10384 * editfns.c (Fchar_equal):
10385 * editfns.c (Fchar_Equal):
10386 * editfns.c (Ftranspose_regions):
10387 * emacs.c (Fdump_emacs):
10389 * eval.c (Fcommand_execute):
10390 * eval.c (Fautoload):
10391 * eval.c (Fbacktrace):
10392 * eval.c (Fbacktrace_frame):
10394 * events.c (Fcopy_event):
10395 * events.c (Fcharacter_to_event):
10396 * events.c (Fevent_button):
10397 * events.c (Fevent_process):
10399 * extents.c (Fnext_extent_change):
10400 * extents.c (Fextent_property):
10401 * faces.c (Ffacep):
10402 * faces.c (Fmake_face):
10404 * file-coding.c (Fencode_shift_jis_char):
10405 * file-coding.c (Fencode_big5_char):
10406 * fileio.c (Ffile_name_directory):
10407 * fileio.c (Ffile_name_nondirectory):
10408 * fileio.c (Ffile_name_as_directory):
10409 * fileio.c (Fdirectory_file_name):
10410 * fileio.c (Ffile_truename):
10411 * fileio.c (Fsubstitute_in_file_name):
10412 * fileio.c (Ffile_modes):
10413 * fileio.c (Fset_file_modes):
10414 * fileio.c (Fset_default_file_modes):
10415 * fileio.c (Fverify_visited_file_modtime):
10416 * floatfns.c (Facos):
10417 * floatfns.c (Fasin):
10418 * floatfns.c (Fatan):
10419 * floatfns.c (Fcos):
10420 * floatfns.c (Fsin):
10421 * floatfns.c (Ftan):
10422 * floatfns.c (Fbessel_j0):
10423 * floatfns.c (Fbessel_j1):
10424 * floatfns.c (Fbessel_jn):
10425 * floatfns.c (Fbessel_y0):
10426 * floatfns.c (Fbessel_y1):
10427 * floatfns.c (Fbessel_yn):
10428 * floatfns.c (Ferf):
10429 * floatfns.c (Ferfc):
10430 * floatfns.c (Flog_gamma):
10431 * floatfns.c (Fexp):
10432 * floatfns.c (Fexpt):
10433 * floatfns.c (Flog):
10434 * floatfns.c (Flog10):
10435 * floatfns.c (Fsqrt):
10436 * floatfns.c (Fcube_root):
10437 * floatfns.c (Facosh):
10438 * floatfns.c (Fasinh):
10439 * floatfns.c (Fatanh):
10440 * floatfns.c (Fcosh):
10441 * floatfns.c (Fsinh):
10442 * floatfns.c (Ftanh):
10443 * floatfns.c (Fabs):
10444 * floatfns.c (Ffloat):
10445 * floatfns.c (Flogb):
10446 * floatfns.c (Fceiling):
10447 * floatfns.c (Ffloor):
10448 * floatfns.c (Fround):
10449 * floatfns.c (Ftruncate):
10450 * floatfns.c (Ffceiling):
10451 * floatfns.c (Fffloor):
10452 * floatfns.c (Ffround):
10453 * floatfns.c (Fftruncate):
10454 * fns.c (Fstring_equal):
10455 * fns.c (Fstring_lessp):
10458 * fns.c (vconcat2):
10459 * fns.c (vconcat3):
10460 * fns.c (Fsubstring):
10462 * fns.c (Fold_assoc):
10463 * fns.c (assoc_no_quit):
10465 * fns.c (Fold_assq):
10466 * fns.c (assq_no_quit):
10468 * fns.c (Fold_rassoc):
10470 * fns.c (Fold_rassq):
10471 * fns.c (rassq_no_quit):
10472 * fns.c (Fremassoc):
10473 * fns.c (remassoc_no_quit):
10474 * fns.c (Fremassq):
10475 * fns.c (remassq_no_quit):
10476 * fns.c (Fremrassoc):
10477 * fns.c (Fremrassq):
10478 * fns.c (remrassq_no_quit):
10480 * fns.c (Fplist_get):
10481 * fns.c (Fplist_put):
10482 * fns.c (Fplist_remprop):
10483 * fns.c (Fplist_member):
10484 * fns.c (Flax_plist_get):
10485 * fns.c (Flax_plist_put):
10486 * fns.c (Flax_plist_remprop):
10487 * fns.c (Flax_plist_member):
10489 * fns.c (Fold_equal):
10490 * fns.c (Frequire):
10491 * fns.c (Fbase64_encode_region):
10492 * fns.c (Fbase64_encode_string):
10493 * fns.c (Fbase64_decode_region):
10495 * frame.c (frame_matches_frame_spec):
10496 * frame.c (device_matches_device_spec):
10497 * frame.c (next_frame):
10498 * frame.c (previous_frame):
10499 * frame.c (Fnext_frame):
10500 * frame.c (Fprevious_frame):
10501 * frame.c (Fframe_property):
10502 * frame.c (Fset_frame_height):
10503 * frame.c (Fset_frame_size):
10507 * glyphs.c (decode_error_behavior_flag):
10508 * glyphs.c (Fmake_image_instance):
10509 * indent.c (Findent_to):
10510 * intl.c (Fignore_defer_gettext):
10511 * keymap.c (Fkeymapp):
10512 * keymap.c (Flookup_key):
10514 * lread.c (Fload_internal):
10515 * lread.c (Feval_buffer):
10516 * lread.c (Feval_region):
10517 * macros.c (Fexecute_kbd_macro):
10518 * marker.c (set_marker_internal):
10519 * marker.c (Fset_marker):
10520 * marker.c (set_marker_restricted):
10521 * marker.c (Fcopy_marker):
10522 * marker.c (noseeum_copy_marker):
10524 * menubar.c (Fpopup_menu):
10526 * mule-charset.c (Fcharset_name):
10527 * mule-charset.c (Fchar_charset):
10528 * mule-charset.c (Fchar_octet):
10529 * mule-charset.c (Fsplit_char):
10530 * mule-wnnfns.c (Fwnn_open):
10531 * mule-wnnfns.c (Fwnn_dict_comment):
10532 * mule-wnnfns.c (Fwnn_quit_henkan):
10533 * mule-wnnfns.c (Fwnn_word_toroku):
10534 * mule-wnnfns.c (Fwnn_word_sakujo):
10535 * mule-wnnfns.c (Fwnn_word_use):
10536 * mule-wnnfns.c (Fwnn_hindo_set):
10538 * objects.c (Fmake_color_instance):
10539 * objects.c (Fmake_font_instance):
10540 * print.c (Fwrite_char):
10542 * process.c (mark_process):
10543 * process.c (print_process):
10544 * process.c (get_process_from_usid):
10545 * process.c (Fprocessp):
10546 * process.c (Fprocess_live_p):
10547 * process.c (Fget_process):
10548 * process.c (Fget_buffer_process):
10549 * process.c (get_process):
10550 * process.c (Fprocess_id):
10551 * process.c (Fprocess_name):
10552 * process.c (Fprocess_command):
10553 * process.c (init_process_io_handles):
10554 * process.c (start_process_unwind):
10555 * process.c (Fstart_process_internal):
10556 * process.c (Fopen_multicast_group_internal):
10557 * process.c (Fset_process_window_size):
10558 * process.c (read_process_output):
10559 * process.c (send_process):
10560 * process.c (Fprocess_tty_name):
10561 * process.c (Fset_process_buffer):
10562 * process.c (Fprocess_buffer):
10563 * process.c (Fprocess_mark):
10564 * process.c (set_process_filter):
10565 * process.c (Fset_process_filter):
10566 * process.c (Fprocess_filter):
10567 * process.c (Fprocess_send_region):
10568 * process.c (Fprocess_send_string):
10569 * process.c (exec_sentinel):
10570 * process.c (Fset_process_sentinel):
10571 * process.c (Fprocess_sentinel):
10572 * process.c (status_notify):
10573 * process.c (Fprocess_status):
10574 * process.c (Fprocess_exit_status):
10575 * process.c (process_send_signal):
10576 * process.c (Fprocess_send_eof):
10577 * process.c (deactivate_process):
10578 * process.c (remove_process):
10579 * process.c (Fdelete_process):
10580 * process.c (kill_buffer_processes):
10581 * process.c (Fprocess_kill_without_query):
10582 * process.c (Fprocess_kill_without_query_p):
10584 * rangetab.c (Fget_range_table):
10585 * rangetab.c (Fput_range_table):
10586 * rangetab.c (Fremove_range_table):
10587 * rangetab.c (Fclear_range_table):
10589 * search.c (Fskip_chars_forward):
10590 * search.c (Fskip_chars_backward):
10591 * search.c (Fskip_syntax_forward):
10592 * search.c (Fskip_syntax_backward):
10593 * search.c (search_command):
10594 * search.c (Freplace_match):
10595 * search.c (Fregexp_quote):
10596 * select.c (Fown_selection_internal):
10597 * select.c (Fselection_owner_p):
10598 * select.c (Fselection_exists_p):
10599 * select.c (Fget_selection_internal):
10602 * symbols.c (Fintern):
10603 * symbols.c (Fintern_soft):
10604 * symbols.c (Funintern):
10605 * symbols.c (Fapropos_internal):
10606 * symbols.c (Fset_default):
10608 * syntax.c (Fsyntax_table_p):
10609 * syntax.c (Fcopy_syntax_table):
10610 * syntax.c (Fset_syntax_table):
10611 * syntax.c (Fchar_syntax):
10612 * syntax.c (syntax_match):
10613 * syntax.c (Fmatching_paren):
10614 * syntax.c (Fforward_word):
10615 * syntax.c (scan_lists):
10616 * syntax.c (Fscan_lists):
10617 * syntax.c (Fscan_sexps):
10618 * syntax.c (Fparse_partial_sexp):
10619 * toolbar.c (Fcheck_toolbar_button_syntax):
10622 * window.c (Fwindowp):
10623 * window.c (Fwindow_live_p):
10624 * window.c (Fwindow_point):
10625 * window.c (Fdelete_window):
10626 * window.c (Fnext_window):
10627 * window.c (Fprevious_window):
10628 * window.c (Fother_window):
10629 * window.c (window_loop):
10630 * window.c (Fget_lru_window):
10631 * window.c (Fsplit_window):
10632 * window.c (Fenlarge_window):
10633 * window.c (Fenlarge_window_pixels):
10634 * window.c (Fshrink_window):
10635 * window.c (Fshrink_window_pixels):
10636 * window.c (change_window_height):
10637 * window.c (Fwindow_configuration_p):
10638 * window.c (Fcurrent_window_configuration):
10640 * casefiddle.c (casify_object):
10641 * casefiddle.c (Fupcase):
10642 * casefiddle.c (Fdowncase):
10643 * casefiddle.c (Fcapitalize):
10644 * casefiddle.c (Fupcase_initials):
10645 * casefiddle.c (casify_region_internal):
10646 * casefiddle.c (casify_region):
10647 * casefiddle.c (Fupcase_region):
10648 * casefiddle.c (Fdowncase_region):
10649 * casefiddle.c (Fcapitalize_region):
10650 * casefiddle.c (Fupcase_initials_region):
10651 * casefiddle.c (Fupcase_word):
10652 * casefiddle.c (Fdowncase_word):
10653 * casefiddle.c (Fcapitalize_word):
10654 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10655 Replace 0 with '\0' when working with bytes.
10656 Replace initial "(" with "\(" in docstrings.
10658 2000-11-01 Martin Buchholz <martin@xemacs.org>
10660 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10662 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10664 2000-10-31 Martin Buchholz <martin@xemacs.org>
10666 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10668 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10670 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10673 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10675 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10676 (inhibit_auto_save_session): New variable.
10677 (vars_of_fileio): Declare and initialize them.
10678 * fileio.c (Fdo_auto_save): Don't create session file if
10679 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10681 2000-10-31 Martin Buchholz <martin@xemacs.org>
10683 * sgiplay.c (play_internal): C++ compilability.
10684 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10685 * callproc.c (Fold_call_process_internal):
10686 Remove unused vars `env', `first'.
10687 * scrollbar.c (update_scrollbar_instance):
10688 #### unused var `current_window'.
10689 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10690 etc. within #ifdef NOT_YET.
10691 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10692 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10693 * specifier.c (specifier_instance):
10694 #### unused var `tag'.
10695 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10697 2000-10-27 Martin Buchholz <martin@xemacs.org>
10699 * fns.c (Fbutlast):
10700 * fns.c (list_sort):
10701 * fns.c (Ffillarray):
10702 * fns.c (bytecode_nconc2):
10705 * fns.c (Fmapconcat):
10706 Be pedantically 64-bit correct. For the time when someone will
10707 want to have a list with length > 2**32.
10709 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10710 Work around MIPSpro compiler bug.
10712 * process-unix.c (unix_kill_child_process): Add snarky comment.
10713 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10715 * config.h.in: Oops, _getpt ==> _getpty
10717 2000-10-26 Martin Buchholz <martin@xemacs.org>
10721 Use void*, not char*, as return type of alloca().
10723 * alloc.c (free_marker): Side effect inside assert expression!
10725 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10727 * mule-charset.c (Fset_charset_ccl_program): To check
10728 if the given ccl program is valid, use setup_ccl_program()
10729 instead of CHECK_VECTOR().
10730 (Fmake_charset): Likewise.
10732 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10734 * faces.c (get_extent_fragment_face_cache_index):
10735 Fix cachel.merged_faces memory leak.
10737 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10739 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10740 Reset MSB of octets obtained by DECODE_SJIS
10741 because of the incompatibility with Emacs.
10742 (ccl_driver)<CCL_ENCODE_SJIS>:
10743 Set MSB of octets before passing them to
10744 ENCODE_SJIS because of the incompatibility
10747 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10749 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10750 (DECLARE_LRECORD): Undo the last change.
10751 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10753 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10755 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10756 the implementation to lrecord_implementations_table.
10758 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10760 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10761 initial value of `lrecord_type_##c_name' and
10762 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10763 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10764 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10765 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10766 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10768 2000-10-17 Martin Buchholz <martin@xemacs.org>
10770 * miscplay.c (sndcnv8S_2mono):
10771 (sndcnv2monounsigned):
10772 (sndcnvULaw_2linear):
10774 Remove implementation-defined behavior.
10776 2000-10-12 Martin Buchholz <martin@xemacs.org>
10778 * input-method-xlib.c: Warning suppression.
10780 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10782 * mule-ccl.c: Sync up with Emacs 21.0.90.
10783 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10785 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10787 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10788 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10789 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10790 leading char belongs to official 2-dimensional charset.
10791 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10792 write the given character as is. Otherwise,
10793 if it is a multibyte char, convert it by
10794 non_ascii_set_charptr_emchar, then write it.
10795 (CCL_WRITE_STRING): Likewise.
10796 (ccl_get_compiled_code): New function.
10797 (setup_ccl_program): When ccl_prog is invalid,
10799 (Fregister_code_conversion_map): New function.
10800 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10802 * mule-ccl.h: Sync up with Emacs 21.0.90.
10803 (Fregister_ccl_program): export it.
10805 * redisplay-msw.c (separate_textual_runs):
10806 If ccl program is not valid, don't do ccl conversion.
10808 * redisplay-x.c (separate_textual_runs): Ditto.
10810 * file-coding.c (Fmake_coding_system):
10811 When type is ccl and value is vector, register it
10812 with a proper symbol. And checks whether the
10813 given ccl program is valid.
10814 (mule_decode): When calling ccl_driver, if src indicates
10815 NULL pointer, set an empty string instead.
10816 (mule_encode): Likewise.
10818 2000-10-11 Martin Buchholz <martin@xemacs.org>
10820 The following large batch of changes gets us back to a state of
10821 C++ compilability. Extbyte is now a char, which means that
10822 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10824 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10826 * sound.c (Fplay_sound): Type correctness.
10828 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10829 (x_get_window_property): Type correctness.
10830 (receive_incremental_selection): unsigned char ==> Extbyte
10831 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10832 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10833 (Fx_store_cutbuffer_internal): Type correctness.
10835 * process-unix.c (try_to_initialize_subtty): Type correctness.
10837 * objects-x.c (x_print_color_instance): Type correctness.
10838 (x_print_font_instance): Type correctness.
10839 (x_list_fonts): SExtbyte ==> Extbyte.
10840 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10841 (x_find_charset_font): SExtbyte ==> Extbyte.
10842 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10843 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10844 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10845 Use bufbyte_strcmp.
10847 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10848 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10849 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10850 (BYTE_C0_P): Use bit ops for char-signedness safety.
10851 (BYTE_C1_P): Use bit ops for char-signedness safety.
10852 (CHARSET_BY_LEADING_BYTE):
10853 (CHARSET_BY_ATTRIBUTES):
10854 Always use inline function.
10855 Use type_checking_assert.
10858 * mule-charset.c (non_ascii_charptr_copy_char):
10859 Modify to work with both ASCII and non-ASCII characters.
10860 Improve docs and variable names.
10861 Replace over-clever fall-through switch with a simple loop.
10862 (Lstream_get_emchar_1):
10863 Replace over-clever fall-through switch with a simple loop.
10865 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10866 Warning suppression.
10868 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10869 the return value of Lstream_getc, which could be EOF as well.
10871 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10873 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10874 APIs can be used on Extbytes without casts. Risky!
10875 (SExtbyte): Remove.
10876 (UExtbyte): Remove.
10878 * input-method-xlib.c (XIM_init_device):
10879 Use Xlib.h instead of IntrinsicP.h.
10880 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10881 which will break in X11R7.
10882 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10883 to call XRegisterIMInstantiateCallback with correct types.
10885 * gui-x.c (button_item_to_widget_value): Type correctness.
10887 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10889 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10890 (xbm_instantiate_1): Type correctness.
10891 (BUILD_GLYPH_INST): Type correctness.
10893 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10896 (decode_coding_sjis):
10897 (decode_coding_big5):
10898 (decode_coding_ucs4):
10899 (decode_coding_utf8):
10900 (decode_coding_iso2022):
10901 (decode_coding_no_conversion):
10902 Make all decoding functions take an Extbyte * arg.
10903 (encode_coding_sjis):
10904 (encode_coding_big5):
10905 (encode_coding_ucs4):
10906 (encode_coding_utf8):
10907 (encode_coding_iso2022):
10908 (encode_coding_no_conversion):
10909 Make all encoding functions take a Bufbyte * arg.
10910 Use size_t instead of unsigned int for memory sizes.
10911 Only cast to unsigned char whenever dereferencing Extbyte *.
10913 * doc.c (unparesseuxify_doc_string): Type correctness.
10915 * console-x.c (split_up_display_spec):
10916 Rewrite without using details of internal string representation.
10917 (x_semi_canonicalize_device_connection): Type correctness.
10920 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10921 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10922 (HAVE_XFREE386): Removed.
10924 * buffer.h (DEC_CHARPTR): `const' correctness.
10925 (bufbyte_strcmp): New.
10926 (bufbyte_memcmp): New.
10928 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10930 * buffer.h (XCHAR_OR_CHAR_INT):
10931 Always use inline function.
10932 Remove redundant type checking assert() - XINT will abort quite nicely.
10934 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10936 * search.c (Freplace_match): Set newtext to an empty string.
10938 2000-10-10 Martin Buchholz <martin@xemacs.org>
10940 * s/decosf1-3.h: Remove #include of stropts.h
10941 * s/ptx.h: Remove #include of stropts.h
10942 * s/usg5-4.h: Remove #include of stropts.h
10945 Use stropts.h, not sys/stropts.h.
10946 Use strtio.h, not sys/strtio.h.
10948 2000-10-04 Martin Buchholz <martin@xemacs.org>
10950 * XEmacs 21.2.36 is released.
10952 2000-09-21 Andy Piper <andy@xemacs.org>
10954 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10955 changes still involve copying the widget tree.
10956 (update_widget_face): make sure a change is register in the widget
10957 tree. Call update_tab_widget_face appropriately.
10958 (update_tab_widget_face): ditto.
10959 (x_tab_control_redisplay): make sure non-structural changes still
10960 involve copying the widget tree.
10962 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10964 * lread.c (locate_file): Check the path element is non-nil.
10966 2000-10-02 Martin Buchholz <martin@xemacs.org>
10968 * lisp.h: Warning suppression for SCO compilers.
10970 * redisplay-tty.c (reset_tty_modes): Fix crash.
10971 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10973 2000-09-27 Martin Buchholz <martin@xemacs.org>
10975 Big signal/process handling overhaul. Bugs fixed:
10976 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10977 M-x comint-kill-subjob should work for both values nil and t of
10978 process-connection-type. It was broken on most platforms.
10979 Testing on Irix and Cygwin still needed. Other plaforms tested.
10980 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10981 * process-unix.c: Signal/Process handling overhaul.
10982 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10983 (allocate_pty): Use all available modern methods of allocating
10984 ptys, falling back to old style BSD allocation as a last resort.
10985 Use allegedly more secure Unix98 pty allocation by default.
10986 (allocate_pty_the_old_fashioned_way): New. the last resort.
10987 (unix_create_process): Push ptem, ldterm, ttcompat where
10988 available. Autoconfiscate.
10989 (try_to_initialize_subtty): New.
10990 (unix_kill_child_process): Proper signal handling for ptys on most
10991 platforms, using special knowledge of AIX, BSD, etc...
10992 (unix_create_process): Always disconnect_controlling_terminal() for
10993 subprocesses, whether using ptys or not.
10994 * process.h: Remove old getpt-dependent PTY code.
10995 * process.c (Fprocess_send_signal): New, obvious generic function.
10996 (decode_signal): New.
10997 (Finterrupt_process):
11001 (Fcontinue_process):
11002 (Fsignal_process): Use decode_signal.
11003 (process_send_signal):
11004 Many docstring corrections.
11005 Allow any signal to be sent to a process object.
11006 * config.h.in: Add symbols for big signal/process overhaul.
11007 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11008 * sysproc.h: Include process-related headers, where available:
11009 sys/stropts.h sys/strtio.h pty.h libutil.h
11017 Remove old S&M pty stuff.
11018 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11019 * systty.h: Simplify cpp hackery, improve comments.
11020 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11022 * editfns.c (Fformat_time_string):
11023 Be a little more paranoid with the return value of ctime.
11025 * fileio.c (check_executable):
11027 Use symbolic constants X_OK, W_OK.
11029 * console-x.c (split_up_display_spec): Fix a warning.
11031 2000-10-02 Martin Buchholz <martin@xemacs.org>
11033 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11034 * ntproc.c (sys_spawnve): make_string ==> build_string
11035 Small clarity improvements.
11037 2000-09-30 Martin Buchholz <martin@xemacs.org>
11039 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11041 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11043 * config.h.in (HAVE_STRCASECMP): Remove.
11045 2000-09-29 Martin Buchholz <martin@xemacs.org>
11047 * redisplay-output.c (redisplay_output_pixmap):
11048 Cleaner and possibly more 64-bit correct code.
11050 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11052 * dumper.c (pdump_load_finish): move restoration of
11053 `noninteractive1' to emacs.c (main_1).
11054 * emacs.c (main_1): protect LISP-visible command-line flags
11057 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11059 * Makefile.in.in (versionclean): Use EXE_TARGET and
11060 DUMP_TARGET instead of literal program names.
11062 2000-09-20 Martin Buchholz <martin@xemacs.org>
11064 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11066 2000-09-19 Martin Buchholz <martin@xemacs.org>
11068 * *: Spelling mega-patch
11070 2000-09-19 Martin Buchholz <martin@xemacs.org>
11072 * fns.c (bad_bad_turtle):
11073 Delete "Eek!" comment, since we fixed the bug to which it refers.
11075 2000-09-16 Martin Buchholz <martin@xemacs.org>
11077 * alloca.c: Replace REGISTER with register.
11079 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11081 * file-coding.c (ucs_to_char): Use countof.
11083 2000-09-16 Martin Buchholz <martin@xemacs.org>
11085 * file-coding.c: (ucs_to_char):
11086 (complex_vars_of_file_coding):
11087 Use countof instead of sizeof.
11088 Use CHECK_NATNUM instead of CHECK_INT.
11090 * sysdep.c (strcasecmp): Remove.
11091 * device-x.c (ascii_strcasecmp): New.
11092 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11093 Avoid using non-standard non-portable strcasecmp.
11095 2000-09-16 Martin Buchholz <martin@xemacs.org>
11097 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11098 * font-lock.c: remove reference to emacsfns.h.
11099 * search.c: small doc improvement.
11100 * event-Xt.c: correct file names in comments.
11101 * console-x.h Correct file names in comments.
11102 * frame.c: Correct file names in comments.
11103 * event-stream.c: remove Energize from comments.
11105 2000-09-15 Martin Buchholz <martin@xemacs.org>
11107 * symeval.h (DEFERROR_STANDARD):
11110 (DEFSYMBOL_NO_DUMP):
11111 (DEFSYMBOL_MULTIWORD_PREDICATE):
11112 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11114 The construct &##name is not sensible C.
11115 Fixes compilation errors with Unixware native compiler.
11117 2000-09-14 Martin Buchholz <martin@xemacs.org>
11119 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11120 (next_frame_internal): Removed. We now just have next_frame.
11122 Write a simpler and cleaner one-pass algorithm.
11123 Remove called_from_delete_device arg and #ifdefed-out code.
11125 Renamed from prev_frame. Update callers.
11126 Cleaned up to have an analogous implementation to next_frame.
11127 (other_visible_frames_internal): Remove the
11128 called_from_delete_device bogus arg, and hence, remove this
11129 function. Just use other_visible_frames().
11131 * window.c (Fnext_window):
11132 Prettify docstring.
11133 Since next_frame() is guaranteed to return a frame, remove check
11134 for nil inserted in previous patch.
11135 (Fprevious_window):
11136 Prettify docstring.
11137 Make code look more like Fnext_window.
11139 Respect the `console' arg when iterating through windows.
11140 Fixes bug: (get-buffer-window buffer t device) not respecting
11142 This function needs more work, as others have pointed out.
11144 * frame.h: Rename prev_frame to previous_frame.
11145 device_matches_console_spec no longer takes a `frame' arg.
11150 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11151 From "Golubev I. N." <gin@mo.msk.ru>.
11153 * make-src-depend: Fix typo.
11155 2000-09-13 Martin Buchholz <martin@xemacs.org>
11157 * window.c (Fnext_window):
11158 next_frame() might return nil, not a frame.
11160 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11162 * frame.c (next_frame_internal):
11163 We've passed a frame if we've passed its device.
11165 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11166 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11168 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11170 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11171 Allow option to suppress accelerators in menu/dialog items.
11172 (populate_or_checksum_helper): Pass dialog title through above.
11174 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11176 * event-msw.c (mswindows_key_to_emacs_keysym):
11177 Add "pause" key, fix "menu" key.
11179 2000-09-09 Martin Buchholz <martin@xemacs.org>
11181 * eval.c (reinit_vars_of_eval):
11182 Increase max_lisp_eval_depth to 1000,
11183 required for thai-xtis.el to byte-compile under some circumstances.
11185 2000-09-04 Martin Buchholz <martin@xemacs.org>
11187 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11188 From Kenichi Handa.
11190 2000-09-01 Martin Buchholz <martin@xemacs.org>
11192 * make-src-depend: Make the generated Makefiles smaller.
11194 * s/hpux.h (SETUP_SLAVE_PTY):
11195 Provide a %d in the format string for the errno argument.
11197 * editfns.c (Ftemp_directory):
11199 Avoid buffer overrun on very long file name.
11201 * input-method-xlib.c (XIM_init_device):
11202 6th parameter of XRegisterIMInstantiateCallback has different
11203 pointer types on different OSes, so simply cast to (void *).
11205 * unexhp9k800.c: Warning fixes. Fiddly changes.
11207 * sysdll.c (dll_open):
11208 shl_load will hang hard if passed a NULL filename.
11209 Simply return NULL for compatibility with dlopen.
11210 * sysdll.c: Conform to XEmacs coding standards.
11212 * sysdep.c (get_pty_max_bytes):
11213 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11215 2000-08-31 Martin Buchholz <martin@xemacs.org>
11217 * tooltalk.c: Add #include <syssignal.h>
11219 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11221 * s/hpux.h: Don't use undefined function sigunblock().
11223 2000-08-31 Martin Buchholz <martin@xemacs.org>
11225 * config.h.in: Add HAVE_BALLOON_HELP.
11226 * emacs.c: Use HAVE_BALLOON_HELP.
11227 * Makefile.in.in (x_objs):
11228 Make Balloon Help conditional on finding shape.h.
11230 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11232 * syntax.c (regex_emacs_buffer_p): New variable.
11233 * syntax.h (regex_emacs_buffer_p): extern.
11234 * search.c (looking_at_1):
11236 (fast_string_match):
11237 (search_buffer): Set regex_emacs_buffer_p.
11238 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11239 when before_dot, at_dot, after_dot.
11241 2000-08-23 Andy Piper <andy@xemacs.org>
11243 * gui-x.c (popup_selection_callback): Only set action_occurred
11244 when we really have an image instance.
11245 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11247 2000-08-23 Andy Piper <andy@xemacs.org>
11249 * gui-msw.c (mswindows_handle_gui_wm_command): set
11251 * gui-x.c (popup_selection_callback): ditto.
11253 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11254 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11255 (struct Lisp_Image_Instance): add action_occurred flag.
11257 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11258 (image_instance_changed): ditto.
11259 (reset_frame_subwindow_instance_cache): only unmap windows - do
11260 not remove them from the cache also.
11262 * glyphs-widget.c (tab_control_update): better debug.
11263 (progress_gauge_update): ditto.
11264 (layout_update): ditto.
11265 (layout_instantiate): ditto.
11266 (tab_control_order_only_changed): cope with null pending items.
11268 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11269 debug. Force selection of an item when an action occurred. Cope
11270 with null pending_items.
11271 (mswindows_progress_gauge_redisplay): better debug.
11272 * glyphs-x.c (x_tab_control_redisplay): ditto.
11274 * redisplay.c (redisplay_frame): reset the frame cache if the
11277 * window.c (Fset_window_configuration): potentially re-enable
11279 (window_unmap_subwindows): need to finalize instances here since
11280 it is only used in mark_window_as_deleted.
11282 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11284 * nas.c (SndOpenDataForReading):
11285 nas.c (WaveOpenDataForReading):
11286 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11287 Somehow escaped from the 2000-08-14 patch.
11289 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11291 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11292 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11294 2000-08-21 Andy Piper <andy@xemacs.org>
11296 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11297 window if it is not already displayed.
11299 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11300 it is not already displayed.
11302 * window.c (Fset_window_configuration): don't reset the frame
11305 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11306 instances from the frame cache if we are actually finalizing them.
11307 (reset_frame_subwindow_instance_cache): reset frame cache only
11308 after unmapping everything.
11309 (map_subwindow): set displayed flag after mapping.
11311 2000-08-21 Martin Buchholz <martin@xemacs.org>
11313 * data.c (indirect_function):
11314 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11316 * eval.c (function_argcount):
11317 Use original function when signaling errors.
11319 2000-08-18 Andy Piper <andy@xemacs.org>
11321 * frame.c (delete_frame_internal): use new
11322 free_frame_subwindow_instances name.
11324 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11325 (add_tab_item): make return type correct.
11326 (mswindows_tab_control_instantiate): assert index of tab.
11327 (mswindows_tab_control_redisplay): Re-code to use
11328 gui_item_equal_sans_selected and gui_item_list_find_selected.
11330 * glyphs-widget.c (tab_control_update): Correct comment.
11332 * window.c (window_unmap_subwindows): use new
11333 unmap_subwindow_instance_cache_mapper.
11334 (window_unmap_subwindows_cache_mapper): deleted.
11335 (Fset_window_configuration): comparisons should now be with
11336 EQ. Preserve the subwindow instance cache across configuration
11338 (allocate_window): ditto.
11339 (make_dummy_parent): ditto.
11341 * glyphs.c (free_frame_subwindow_instances): rename from
11342 free_frame_subwindow_instance_cache. finalize all instances rather
11343 than just those in the display cache.
11344 (finalize_all_subwindow_instances): walk windows unmapping and
11345 finalizing subwindows.
11346 (unmap_subwindow_instance_cache_mapper): moved from
11347 window.c. Allow finalization as well as unmapping.
11349 * gui.c (gui_item_list_find_selected): new function.
11351 * gui.h (gui_item_list_find_selected): declare.
11353 * glyphs-x.c (x_tab_control_redisplay): pick tab
11354 explicitly. Re-code to use gui_item_equal_sans_selected and
11355 gui_item_list_find_selected.
11357 * glyphs-x.h: add lwlib-utils.h
11359 * buffer.c (Frecord_buffer): undo previous change.
11361 2000-08-09 Vin Shelton <acs@xemacs.org>
11363 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11364 possible. Create temporary files more securely. The patch was
11365 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11366 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11367 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11370 2000-08-07 Ben Wing <ben@xemacs.org>
11372 * getloadavg.c: remove duplicate (and windows-breaking)
11373 includes of fcntl.h and sys/file.h.
11375 * nt.c: remove duplicate getloadavg() definition.
11377 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11380 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11382 * eval.c (function_argcount): If function needs to be autoloaded
11383 actually use the loaded definition.
11386 2000-08-05 Ben Wing <ben@xemacs.org>
11388 * getloadavg.c: add prototype for getloadavg(). remove
11389 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11390 of the code). remove duplicate header includes.
11392 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11394 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11395 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11396 useful load average.
11398 * alloc.c (reinit_alloc_once_early): removed references to
11399 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11400 the lisp vars are the only things referencing the malloc_sbrk_*
11401 vars, and they were already if 0'd out. these vars only exist
11402 in the older malloc.c, which is basically unused, and they're
11403 only for informational purposes.
11405 * m\*.h: removed useless VIRT_ADDR_VARIES.
11407 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11409 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11411 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11412 color if the image is a mono pixmap.
11414 2000-07-30 Ben Wing <ben@xemacs.org>
11416 * Makefile.in.in (release):
11419 * buffer.c (directory_is_current_directory):
11420 * dired-msw.c (mswindows_get_files):
11422 * dired.c (Fdirectory_files):
11423 * dired.c (file_name_completion_stat):
11424 * dired.c (Ffile_attributes):
11425 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11426 preprocessor tricks, to avoid problems on some machines
11429 * callproc.c (egetenv): GC docs.
11432 * console-msw.h (struct mswindows_dialog_id):
11433 * lrecord.h (lrecord_type):
11434 New object for use with MSW dialogs.
11436 * console.h (struct console_methods):
11437 New enable/disable frame methods, for proper modal dialogs.
11439 * device-msw.c (msprinter_default_printer): Fix to follow
11440 proper Mule conventions.
11443 * device-msw.c (signal_open_printer_error):
11444 * device-msw.c (msprinter_init_device):
11445 * device-msw.c (ensure_not_printing):
11446 * device-msw.c (plist_get_margin):
11447 * device-msw.c (Fmsprinter_select_settings):
11448 * device-msw.c (finalize_devmode):
11449 * device-msw.c (Fmsprinter_settings_despecialize):
11450 * device-msw.c (signal_enum_priner_error):
11451 * extents.c (decode_extent):
11452 * extents.c (decode_map_extents_flags):
11453 * extents.c (decode_extent_at_flag):
11454 * extents.c (Fextent_at):
11455 * extents.c (Fextents_at):
11456 * extents.c (symbol_to_glyph_layout):
11457 [[[[2]]]] Use structured errors.
11460 * dialog-msw.c (mswindows_is_dialog_msg):
11461 * dialog-msw.c (mark_mswindows_dialog_id):
11462 * dialog-msw.c (dialog_proc):
11463 * dialog-msw.c (handle_question_dialog_box):
11464 * dialog-msw.c (syms_of_dialog_mswindows):
11465 Define new object to clean up marking; use it as a dialog identifier.
11466 Call new delete-dialog-box-hook.
11468 * dialog-x.c (dbox_selection_callback):
11469 * dialog-x.c (dbox_descriptor_to_widget_value):
11470 * dialog-x.c (x_make_dialog_box_internal):
11471 Call new delete-dialog-box-hook.
11475 * dialog.c (syms_of_dialog):
11476 * dialog.c (vars_of_dialog):
11477 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11480 * eval.c (signal_call_debugger):
11481 when noninteractive, output stack traces on the console instead
11482 of in a (never-seen) buffer.
11484 * eval.c (signal_type_error):
11485 * eval.c (invalid_argument_2):
11487 new funs for use w/structured errors.
11490 * event-Xt.c (x_to_emacs_keysym):
11491 * event-Xt.c (describe_event):
11492 * event-Xt.c (emacs_Xt_event_handler):
11493 * event-Xt.c (vars_of_event_Xt):
11495 * event-msw.c (mswindows_wnd_proc):
11496 * event-msw.c (vars_of_event_mswindows):
11497 rename {x,mswindows}-debug-events to debug-{}-events for
11498 consistency with other debug-foo variables.
11501 document next-event more clearly.
11503 * fileio.c (Ffile_name_directory):
11504 * fileio.c (Ffile_name_nondirectory):
11505 * fileio.c (Funhandled_file_name_directory):
11506 * fileio.c (file_name_as_directory):
11507 * fileio.c (Ffile_name_as_directory):
11508 * fileio.c (directory_file_name):
11509 * fileio.c (Fdirectory_file_name):
11510 * fileio.c (Fmake_temp_name):
11511 * fileio.c (Ffile_truename):
11512 * fileio.c (Fsubstitute_in_file_name):
11513 * fileio.c (expand_and_dir_to_file):
11514 * fileio.c (barf_or_query_if_file_exists):
11515 * fileio.c (check_executable):
11516 * fileio.c (Ffile_exists_p):
11517 * fileio.c (Ffile_writable_p):
11518 * fileio.c (Ffile_directory_p):
11519 * fileio.c (Ffile_regular_p):
11520 * fileio.c (Ffile_modes):
11521 * fileio.c (Ffile_newer_than_file_p):
11522 * fileio.c (Fverify_visited_file_modtime):
11523 * fileio.c (Fset_visited_file_modtime):
11524 * fileio.c (auto_save_1):
11529 * frame-msw.c (mswindows_init_frame_1):
11530 * frame-msw.c (mswindows_enable_frame):
11531 * frame-msw.c (error_frame_unsizable):
11532 * frame-msw.c (msprinter_init_frame_1):
11533 * frame-msw.c (msprinter_init_frame_3):
11534 * frame-msw.c (console_type_create_frame_mswindows):
11536 implement new enable/disable frame methods.
11539 * frame-x.c (x_enable_frame):
11540 * frame-x.c (console_type_create_frame_x):
11541 implement new enable/disable frame methods.
11544 * frame.c (Fdisable_frame):
11545 * frame.c (syms_of_frame):
11546 * frame.h (struct frame):
11547 implement new enable/disable frame methods/functions.
11552 * glyphs-msw.c (mswindows_widget_instantiate):
11553 comment that initial-focus should be implemented.
11556 * glyphs-widget.c (check_valid_instantiator):
11557 * glyphs-widget.c (check_valid_orientation):
11558 * glyphs-widget.c (check_valid_tab_orientation):
11559 * glyphs-widget.c (check_valid_justification):
11560 * glyphs-widget.c (check_valid_border):
11561 * glyphs-widget.c (check_valid_callback):
11562 * glyphs-widget.c (check_valid_int_or_function):
11563 * glyphs-widget.c (check_valid_string_or_vector):
11564 * glyphs-widget.c (check_valid_item_list_1):
11565 * glyphs-widget.c (widget_validate):
11566 * glyphs-widget.c (combo_box_validate):
11567 * glyphs-widget.c (widget_instantiate):
11568 * glyphs-widget.c (syms_of_glyphs_widget):
11569 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11570 * glyphs-widget.c (image_instantiator_combo_box):
11571 * glyphs-widget.c (image_instantiator_scrollbar):
11572 * glyphs-widget.c (image_instantiator_tab_control):
11573 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11575 support (unimplemented) keyword initial-focus.
11576 reindent long macros.
11578 * glyphs-x.c (x_redisplay_widget):
11579 * glyphs-x.c (x_button_instantiate):
11580 * glyphs-x.c (x_button_redisplay):
11581 * glyphs-x.c (x_progress_gauge_instantiate):
11582 * glyphs-x.c (x_edit_field_instantiate):
11583 * glyphs-x.c (x_combo_box_instantiate):
11584 * glyphs-x.c (x_tab_control_instantiate):
11585 * glyphs-x.c (x_label_instantiate):
11587 * gui-x.c (button_item_to_widget_value):
11588 * gui-x.c (gui_items_to_widget_values_1):
11589 * gui-x.c (gui_item_children_to_widget_values):
11590 * gui-x.c (gui_items_to_widget_values):
11592 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11593 add new flag to gui-parsing routines to indicate whether
11594 accelerator specs should be supported.
11596 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11598 * glyphs.h (struct Lisp_Image_Instance):
11599 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11600 add initial-focus flag.
11603 * gui.c (syms_of_gui):
11604 * gui.c (vars_of_gui):
11605 clean up menu-no-selection-hook.
11608 support delete-dialog-box-hook.
11610 * lread.c (Fload_internal):
11611 * lread.c (locate_file_in_directory_mapper):
11615 * lrecord.h (struct toolbar_button):
11616 * lrecord.h (syms_of_toolbar):
11617 document how to create a new object.
11619 * menubar-msw.c (mswindows_char_is_accelerator):
11620 may be called on frames w/o menus.
11622 * menubar.c (vars_of_menubar):
11623 clean up :filter docs.
11630 * process-nt.c (validate_signal_number):
11631 * process-nt.c (signal_cannot_launch):
11632 * process-nt.c (nt_create_process):
11633 * process-nt.c (nt_send_process):
11634 * process-nt.c (nt_kill_child_process):
11635 * process-nt.c (nt_open_network_stream):
11636 * process-nt.c (syms_of_process_nt):
11638 delete quote-handling. call new lisp code that does it better.
11640 * process-unix.c (connect_to_file_descriptor):
11641 * process-unix.c (allocate_pty):
11642 * process-unix.c (unix_send_process):
11643 * process-unix.c (unix_kill_child_process):
11644 * process-unix.c (unix_open_network_stream):
11645 * process-unix.c (unix_open_multicast_group):
11649 * process.c (Fstart_process_internal):
11650 (2). need to canonicalize process path even if absolute.
11652 * select-msw.c (symbol_to_ms_cf):
11653 * select-msw.c (ms_cf_to_symbol):
11654 * select-msw.c (cf_is_autofreed):
11655 * select-msw.c (mswindows_destroy_selection):
11657 * select.c (syms_of_select):
11659 support dibv5, fix bugs. (from Mike Alexander)
11661 * select.c (Fget_selection_internal):
11662 * select.c (select_convert_out):
11665 * sysdep.c (xemacs_stat):
11668 * sysdep.c (mkdir):
11669 * sysdep.c (rmdir):
11670 but keep original stat() here because we provide encapsulation
11674 * sysfile.h (fstat):
11675 remove stat garbage.
11678 fix X/MSW conflict.
11679 don't include tchar.h. it's inappropriate because it makes
11680 compile-time distinctions when we want runtime distinctions.
11681 (we provide our own tchar replacements)
11684 use default object printer for toolbar-button.
11687 make sure we don't encapsulate.
11689 * window.c (vars_of_window):
11690 emphasize that temp-buffer-show-hook is obsolete.
11692 2000-08-05 Martin Buchholz <martin@xemacs.org>
11694 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11695 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11697 * events.c (Fevent_timestamp_lessp):
11698 Not 64-bit clean. Use EMACS_INT, not int.
11700 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11702 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11703 unsigned int and changed the last enum to
11704 lrecord_type_last_built_in_type.
11705 (lrecord_implementations_table): changed prototype to know how
11706 long the array is supposed to be.
11707 (lrecord_type_count): new unsigned int to keep track of the
11708 current number of lisp lrecord types.
11709 (DEFINE_EXTERNAL_LRECORD):
11710 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11711 dynamic-modules to declare new lisp types. They are the same
11712 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11713 int for each new type, and increment lrecord_type_count by 1.
11715 * alloc.c (lrecord_implementations_table): Changed to reference
11716 lrecord_type_last_built_in_type for the size of the array.
11717 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11719 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11721 * glyphs.h (check_valid_item_list): Renamed from
11722 check_valid_item_list_1.
11724 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11726 * select.c (Qselect_coerce): New.
11727 * select.c (Vselection_coercion_alist): New.
11728 * select.c (syms_of_select): Declare.
11729 * select.c (get-selection-internal): Use it.
11730 Use the new select-coerce functionality.
11732 * select.c (select_coerce): New.
11733 * select.h (select_coerce): Declare.
11734 New function to coerce one type of data into another.
11736 2000-08-03 Martin Buchholz <martin@xemacs.org>
11738 * callproc.c (Fcall_process_internal):
11739 (Fcall_process_internal):
11740 * process-unix.c (unix_create_process):
11741 Save and restore the value of errno, so that error messages are accurate.
11743 2000-08-01 Martin Buchholz <martin@xemacs.org>
11745 * elhash.c (print_hash_table):
11746 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11747 Prettify docstrings and indentation.
11749 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11751 * window.c (Fwindow_pixel_edges): Subtract frame border and
11754 2000-07-31 Andy Piper <andy@xemacs.org>
11756 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11757 will acknowledge the change.
11759 * glyphs.h: declare tab_control_order_only_changed.
11761 * glyphs-x.c (x_tab_control_redisplay): use
11762 tab_control_order_only_changed.
11764 * glyphs-widget.c (tab_control_order_only_changed): new function.
11766 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11767 tab_control_order_only_changed.
11769 * gui.c (gui_item_equal_sans_selected): new function.
11770 (gui_item_equal): use it.
11772 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11773 :properties in favor of :items..
11775 * glyphs-widget.c (check_valid_item_list): rename from
11776 check_valid_item_list_1.
11777 (check_valid_item_list_1): renamed.
11778 (combo_box_validate): deprecate :properties in favor of :items.
11779 (widget_instantiate): ditto.
11780 (tab_control_update): ditto.
11781 (image_instantiator_combo_box): ditto.
11782 (image_instantiator_tree_view): ditto.
11783 (image_instantiator_tab_control): ditto.
11784 (layout_post_instantiate): remove dead code.
11786 * print.c (debug_print_no_newline): only write to debugger if in
11789 * elhash.c (Fmake_hash_table): update doc string.
11791 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11792 messages whilst in GC. This at least stops XEmacs crashing but has
11793 the potential for wierd behaviour.
11795 2000-07-31 Martin Buchholz <martin@xemacs.org>
11798 Make existence of s&m files optional.
11800 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11801 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11802 * s/gnu.h: Remove HAVE_GETLOADAVG.
11803 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11804 * s/sol2.h: Remove HAVE_GETLOADAVG.
11805 * lisp.h: Remove getloadavg() declaration.
11807 Include <sys/loadavg.h> if available.
11808 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11809 * config.h.in: Group together getloadavg()-related macros.
11810 Use only configure-time tests to detect getloadavg().
11812 2000-07-30 Martin Buchholz <martin@xemacs.org>
11814 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11816 2000-07-25 Andy Piper <andy@xemacs.org>
11818 * syswindows.h: add tchar.h for native builds.
11820 * frame.c (syms_of_frame): remove set-glyph-image.
11822 * general-slots.h: add Qset_glyph_image.
11824 * glyphs-widget.c (layout_update): add domain arg to
11826 (syms_of_glyphs_widget): remove set-glyph-image.
11828 2000-07-23 Ben Wing <ben@xemacs.org>
11830 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11833 2000-07-22 Andy Piper <andy@xemacs.org>
11835 * symsinit.h: add syms_of_win32().
11837 * gui-msw.c (syms_of_gui_mswindows): remove
11838 Fmswindows_shell_execute.
11839 (Fmswindows_shell_execute): moved to win32.c.
11841 * emacs.c (main_1): add syms_of_win32 ().
11843 * win32.c (init_potentially_nonexistent_functions): rewrite in
11844 compiler-friendly terms.
11845 (Fmswindows_shell_execute): move here from gui-msw.c.
11846 (syms_of_win32): new.
11848 * device-msw.c (Fmswindows_printer_list): clean up args to
11850 Don't include tchar under cygwin or mingw.
11851 (msprinter_default_printer): make cygwin-friendly.
11853 2000-07-21 Andy Piper <andy@xemacs.org>
11855 * glyphs-widget.c (image_instantiator_tree_view): use tab
11856 control's update function.
11857 (layout_property): new function. Retrieve items.
11859 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11860 function. Re-populate the tree view from the pending items.
11862 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11863 is designated the parent if the domain is an image instance. This
11864 is needed so that dirtiness can be cascade up the hierarchy and
11865 thus for layout children to be redisplayed correctly.
11866 (allocate_image_instance): rename glyph -> parent.
11868 * redisplay.h: change redisplay_output_layout signature.
11870 * redisplay-msw.c (mswindows_output_display_block): use domain
11873 * redisplay-x.c (x_output_display_block): use domain arg.
11875 2000-07-10 Andy Piper <andy@xemacs.org>
11877 * window.c (Fset_window_configuration): add comment.
11879 * redisplay-output.c (compare_runes):
11880 (redisplay_output_subwindow): redisplay rather than update subwindow.
11881 (redisplay_output_layout): ditto.
11883 * redisplay-msw.c (mswindows_frame_output_end):
11884 (mswindows_frame_output_end): make defer window pos optional.
11886 * lisp.h: add Flast.
11888 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11889 normalize method. Change update method to be for changed
11890 instantiators. Add redisplay method. Change signature of layout
11892 (struct Lisp_Image_Instance): add instantiator.
11893 (IMAGE_INSTANCE_INSTANTIATOR): new.
11894 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11895 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11896 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11899 (find_instantiator_differences): new function.
11900 (Fset_instantiator_property): new convenience function.
11901 (check_image_instance_structure): strictly check for vector
11903 (normalize_image_instantiator): make non-static.
11904 (instantiate_image_instantiator): pass on dest_mask and use new
11905 signatures for image_instance_layout and friends.
11906 (mark_image_instance): mark the instantiator. Mark the subwindow
11907 face not the widget face.
11908 (image_instance_equal): add instantiator.
11909 (image_instance_hash): ditto.
11910 (allocate_image_instance): ditto.
11911 (Fset_image_instance_property): removed.
11912 (Fimage_instance_file_name): ditto.
11913 (Fcolorize_image_instance): ditto.
11914 (image_instance_layout): add offsets to be set.
11915 (update_image_instance): new function. update an image instance
11916 from its changed instantiator.
11917 (inherit_normalize): add dest_mask.
11918 (xbm_normalize): ditto.
11919 (xface_normalize): ditto.
11920 (xpm_normalize): ditto.
11921 (text_update): set_property -> update.
11922 (image_instantiate): use the glyph identity as a hash key, not the
11924 (glyph_width): use new image_instance_layout signature.
11925 (glyph_ascent): ditto.
11926 (glyph_descent): ditto.
11927 (glyph_height): ditto.
11928 (glyph_query_geometry): ressurrect.
11929 (glyph_layout): ditto.
11930 (redisplay_subwindow): update -> redisplay.
11931 (syms_of_glyphs): add Fset_instantiator_property.
11932 (image_instantiator_format_create): set_property -> update.
11935 (autodetect_normalize): add dest_maks to signature.
11936 (x_redisplay_subwindow): update -> redisplay.
11937 (x_redisplay_widget): ditto.
11938 (x_button_redisplay): ditto.
11939 (x_progress_gauge_redisplay): ditto.
11940 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11942 (console_type_create_glyphs_x): update -> redisplay.
11943 (image_instantiator_format_create_glyphs_x): ditto.
11946 (check_valid_instantiator): disallow glyphs in the instantiator,
11947 they must now be vectors.
11948 (check_valid_instantiator_list): ditto.
11949 (glyph_instantiator_to_glyph): use internal symbol rather than
11951 (widget_update): renamed from widget_set_property. Call cascaded
11953 (redisplay_widget): renamed from update_widget.
11954 (widget_layout): image_instance_layout now takes position as well
11956 (widget_normalize): ditto.
11957 (widget_instantiate): ditto.
11958 (tab_control_query_geometry) ditto.:
11959 (tab_control_update): renamed from tab_control_set_property.
11960 (progress_gauge_update): set_property -> update.
11961 (layout_normalize): rewrite so that child instantiators are
11963 (layout_update): new function. Create glyphs from the normalized
11964 children and cope with any other layout keywords. We do not
11965 instantiate children here that will be take care of by
11966 redisplay_output_layout.
11967 (layout_instantiate): call layout_update and not much else.
11968 (layout_post_instantiate): not sure whether this is needed
11970 (layout_query_geometry): query glyph geometry rather than
11971 image_instance geometry.
11972 (layout_layout): set offsets from pass in parameters. Use glyph
11973 geometry and layout functions rather than image instance ones.
11974 (native_layout_layout): ditto.
11975 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11976 (image_instantiator_widget): set_property -> update.
11977 (image_instantiator_buttons): ditto.
11978 (image_instantiator_progress_guage): ditto.
11979 (image_instantiator_tab_control): ditto.
11980 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11981 (image_instantiator_layout): add update method.
11983 * glyphs-msw.c (bmp_normalize):
11984 (mswindows_resource_normalize): add dest_mask so that it can be
11985 proprogated by layout_normalize.
11986 (begin_defer_window_pos): make optional because it may not be the
11987 right thing to do and it introduces differences with X.
11988 (mswindows_unmap_subwindow): ditto.
11989 (mswindows_map_subwindow): ditto.
11990 (mswindows_redisplay_subwindow): renamed from
11991 mswindows_update_subwindow.
11992 (mswindows_redisplay_widget): ditto.
11993 (mswindows_button_redisplay): renamed from
11994 mswindows_button_update. Update is now what the instantiation
11995 function does for a changed instantiator.
11996 (mswindows_progress_gauge_instantiate): set the progress value
11997 here if appropriate.
11998 (mswindows_tab_control_redisplay): cope with re-ordering of the
11999 members of the tab widget by simply selecting the new top
12000 widget. This makes things appear ok if you click on a tab.
12001 (mswindows_combo_box_instantiate): image_instance_layout now takes
12002 position as well as size.
12003 (mswindows_progress_gauge_redisplay): renamed from
12004 mswindows_progress_gauge_update.
12005 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12006 (image_instantiator_format_create_glyphs_mswindows): ditto.
12008 * glyphs-eimage.c (jpeg_normalize):
12011 (tiff_normalize): add dest_mask so that it can be proprogated by
12015 (print_hash_table):
12016 (hash_table_weakness_validate):
12017 (decode_hash_table_weakness):
12018 (Fhash_table_weakness):
12019 (Fhash_table_type):
12020 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12022 * console.h (struct console_methods): move update_* to
12025 2000-07-20 Ben Wing <ben@xemacs.org>
12027 * *.[ch] (XSETOBJ): remove unused middle argument.
12028 lisp-disunion.h: correct wrap_object() to one argument.
12030 2000-07-15 Ben Wing <ben@xemacs.org>
12033 * s/cygwin32.h (CYGWIN_CONV_PATH):
12034 Add missing logb prototype for v1.1.
12035 Use post-b20 names and alias to pre-b20 names when pre-b20.
12037 * s/windowsnt.h: [5].
12039 2000-07-15 Ben Wing <ben@xemacs.org>
12041 * Makefile.in.in (x_objs):
12042 * Makefile.in.in (sheap_objs):
12043 * Makefile.in.in (objs):
12044 added win32.o, cosmetic cleanups.
12046 * alloc.c (Fmake_byte_code):
12047 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12048 etc. macros which declare their own args now.
12050 * alloc.c (syms_of_alloc):
12051 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12054 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12056 * buffer.c (Fget_file_buffer):
12057 Fixed GCPRO problem.
12059 * buffer.c (get_truename_buffer):
12060 Fixed comment about GC checking.
12062 * buffer.c (syms_of_buffer):
12063 Undeclared those dedicated frame funs.
12067 Define convenience macros for internal/external conversions.
12068 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12069 and Qenvironment_variable_encoding for cleaner code.
12072 Remove dedicated-frame; in lisp.
12074 * bytecode.c (funcall_compiled_function):
12077 * bytecode.c (syms_of_bytecode):
12081 * console-msw.c (mswindows_show_console): Rewrote.
12083 * console-msw.c (Fmswindows_debugging_output): New.
12084 Sends to OutputDebugString (special MSWin debugger interface).
12086 * console-msw.c (Fmswindows_message_box):
12087 Fixed stupid bugs so it works when called from kill-emacs.
12089 * console-msw.c (syms_of_console_mswindows):
12090 Declare Fmswindows_debugging_output.
12093 New MSWin prototypes.
12095 * console-msw.h (struct mswindows_frame):
12096 New entry last-click-mods for improved button-modifier support.
12098 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12099 New struct entry `popup' with corresponding accessor.
12102 * console-x.c (split_up_display_spec):
12103 * console-x.c (get_display_arg_connection):
12104 * console-x.c (x_semi_canonicalize_console_connection):
12105 * console-x.c (x_canonicalize_device_connection):
12106 [[[6]]]: Change char to more specific type.
12107 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12109 * console-x.c (x_semi_canonicalize_console_connection):
12110 * console-x.c (x_canonicalize_device_connection):
12111 [[[9]]]: Fix up error signalling to use new structured error system.
12114 [[[4]]]: Define codesys aliases:
12115 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12116 Qx_color_name_encoding, Qx_display_name_encoding.
12118 * console.h (struct console_methods):
12119 New method make_dialog_box_internal supersedes older
12120 popup_dialog_box method.
12123 Define many new errors, part of new structured errors.
12125 * data.c (init_errors_once_early):
12126 * data.c (syms_of_data):
12129 * device-msw.c (mswindows_init_device):
12130 [[[5]]]: Cleanup to support NT 3.51.
12132 * device-msw.c (decode_devmode): Cleanup.
12134 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12135 * device-msw.c (mswindows_handle_print_dialog_box):
12136 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12137 * device-msw.c (syms_of_device_mswindows):
12138 Delete the dialog box primitives recently introduced by Kirill and
12139 instead interface to general dialog box interface.
12142 * device-x.c (compute_x_app_name):
12143 * device-x.c (x_init_device):
12144 * device-x.c (Fx_valid_keysym_name_p):
12145 * device-x.c (Fx_set_font_path):
12149 * device.h (wrap_device): New.
12150 First of its kind; meant to replace XSETDEVICE.
12152 * dialog-msw.c: Many file-dialog symbols.
12154 * dialog-msw.c (mswindows_register_popup_frame): New.
12155 * dialog-msw.c (mswindows_is_dialog_msg): New.
12156 For supporting kbd traversal in dialog boxes.
12158 * dialog-msw.c (dialog_proc):
12159 Support hitting ESC in dialogs.
12161 * dialog-msw.c (struct):
12162 Common dialog box errors.
12164 * dialog-msw.c (handle_file_dialog_box): New.
12165 Add file dialog code.
12167 * dialog-msw.c (handle_question_dialog_box):
12168 Redo existing code to support new question dialog syntax.
12170 * dialog-msw.c (console_type_create_dialog_mswindows):
12171 We support new dialog console method.
12173 * dialog-msw.c (syms_of_dialog_mswindows):
12174 * dialog-msw.c (vars_of_dialog_mswindows):
12175 New file dialog symbols, vars.
12178 * dialog-x.c (maybe_run_dbox_text_callback):
12179 * dialog-x.c (dbox_descriptor_to_widget_value):
12180 * dialog-x.c (x_make_dialog_box_internal):
12181 * dialog-x.c (console_type_create_dialog_x):
12182 Mule-ize entire file.
12183 Redo to support question dialog syntax.
12187 * dialog.c (Fmake_dialog_box_internal):
12188 * dialog.c (syms_of_dialog):
12189 Kill old popup-dialog-box, replace with new primitive.
12190 Just call device method or signal error.
12192 * eldap.c (Fldap_open):
12193 * eldap.c (Fldap_search_basic):
12194 * eldap.c (Fldap_add):
12195 * eldap.c (Fldap_modify):
12200 * emacs.c (make_arg_list_1):
12201 * emacs.c (make_arg_list):
12202 Mule-ize call to dll_init().
12206 * emacs.c (make_argc_argv):
12207 * emacs.c (free_argc_argv):
12208 * emacs.c (init_cmdargs):
12209 * emacs.c (main_1):
12210 * emacs.c (Fkill_emacs):
12211 * emacs.c (Fdump_emacs):
12212 Update comments about what can be used in syms_* etc.
12213 Call init_win32() when necessary.
12214 Fix up MS Win dialog box in kill-buffer to actually work right.
12225 * eval.c (condition_case_3):
12227 * eval.c (function_argcount):
12228 * eval.c (funcall_lambda):
12231 * eval.c (type_error): New.
12232 * eval.c (maybe_type_error): New.
12233 * eval.c (continuable_type_error): New.
12234 * eval.c (maybe_continuable_type_error): New.
12235 * eval.c (type_error_with_frob): New.
12236 * eval.c (maybe_type_error_with_frob): New.
12237 * eval.c (continuable_type_error_with_frob): New.
12238 * eval.c (maybe_continuable_type_error_with_frob): New.
12239 New functions for use with structured errors.
12242 * event-Xt.c (x_event_to_emacs_event):
12243 Buttons are now modifiers too.
12245 * event-Xt.c (emacs_Xt_current_event_timestamp):
12246 Implement new event method.
12247 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12250 * event-msw.c (ntpipe_shove_writer): [5].
12251 * event-msw.c (mswindows_enqueue_mouse_button_event):
12252 * event-msw.c (mswindows_drain_windows_queue):
12253 * event-msw.c (mswindows_wnd_proc): [7].
12254 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12255 * event-msw.c (mswindows_modifier_state):
12256 Throughout: support new button modifiers.
12258 * event-msw.c (emacs_mswindows_current_event_timestamp):
12259 Implement new event method.
12260 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12263 * event-stream.c (event_stream_current_event_timestamp): New.
12264 * event-stream.c (maybe_kbd_translate): New functionality.
12265 * event-stream.c (vars_of_event_stream):
12266 Document new kbd-translate-table functionality.
12268 * event-stream.c (Fcurrent_event_timestamp): New.
12269 New primitive for use in fabricated events.
12270 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12272 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12275 * events.c (Fmake_event):
12276 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12280 * events.c (format_event_object): fix gcc warnings.
12282 * events.c (Fevent_timestamp): Document new primitives.
12284 * events.c (TIMESTAMP_HALFSPACE): New.
12286 * events.c (Fevent_timestamp_lessp): New. New primitive for
12287 comparing timestamps correctly (half-space algorithm).
12289 * events.c (Fevent_modifier_bits): Doc fix.
12291 * events.c (Fevent_modifiers): Major doc addition.
12292 * events.c (event_x_y_pixel_internal): Typo fix.
12293 * events.c (syms_of_events): Declare new primitives.
12296 Update long comment for button modifiers, timestamps.
12298 * events.h (struct event_stream):
12299 New current_event_timestamp method.
12302 * extents.c (extent_in_region_p):
12303 * extents.c (decode_extent):
12304 * extents.c (Fset_extent_parent):
12305 * extents.c (decode_map_extents_flags):
12309 * extents.c (struct extent_at_arg):
12310 * extents.c (decode_extent_at_flag):
12311 * extents.c (extent_at_mapper):
12312 * extents.c (extent_at_bytind):
12313 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12314 * extents.c (Fextents_at): New primitive. [9].
12315 * extents.c (symbol_to_glyph_layout): [9].
12316 Support new primitive `extents-at'.
12319 * extents.c (get_text_property_bytind):
12320 extent_at_bytind has another arg.
12323 * extents.c (syms_of_extents): New primitive.
12325 * file-coding.c (Fmake_coding_system): [1].
12326 * file-coding.c (subsidiary_coding_system): fix gcc warning
12327 * file-coding.c (syms_of_file_coding): [2].
12329 * fileio.c (Fexpand_file_name):
12330 * fileio.c (Fsysnetunam):
12331 * fileio.c (Ffile_exists_p):
12332 * fileio.c (Ffile_executable_p):
12333 * fileio.c (Fverify_visited_file_modtime):
12336 * fileio.c (syms_of_fileio): [2].
12338 * filelock.c (lock_file_1):
12339 * filelock.c (current_lock_owner):
12340 * filelock.c (lock_if_free):
12341 * filelock.c (lock_file):
12342 * filelock.c (unlock_file):
12345 * fns.c (concat): Fix gcc warning.
12348 * fns.c (Fold_member):
12350 * fns.c (Fold_memq):
12351 * fns.c (memq_no_quit):
12353 * fns.c (Fold_assoc):
12355 * fns.c (Fold_assq):
12356 * fns.c (assq_no_quit):
12358 * fns.c (Fold_rassoc):
12360 * fns.c (Fold_rassq):
12361 * fns.c (rassq_no_quit):
12363 * fns.c (Fold_delete):
12365 * fns.c (Fold_delq):
12366 * fns.c (delq_no_quit):
12367 * fns.c (Fremassoc):
12368 * fns.c (Fremassq):
12369 * fns.c (remassq_no_quit):
12370 * fns.c (Fremrassoc):
12371 * fns.c (Fremrassq):
12372 * fns.c (remrassq_no_quit):
12373 * fns.c (Freverse):
12377 * frame-msw.c (mswindows_init_frame_1):
12378 * frame-msw.c (mswindows_delete_frame):
12379 Register popups with dialog code so keyboard traversing works.
12381 * frame-tty.c (tty_raise_frame_no_select): [1].
12384 * frame-x.c (x_set_frame_text_value):
12385 * frame-x.c (x_set_frame_properties):
12386 * frame-x.c (x_create_widgets):
12390 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12392 * frame.h (wrap_frame): New.
12393 Macro like wrap_device.
12396 * general.c (SYMBOL):
12397 * general.c (syms_of_general):
12398 Major reorg. This is now just a wrapper and symbols themselves
12399 are listed in general-slots.h.
12401 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12402 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12404 * glyphs-msw.c (mswindows_native_layout_instantiate):
12405 Add DS_CONTROL so keyboard traversal will work.
12408 * glyphs-widget.c (syms_of_glyphs_widget):
12409 Move some symbols to general-slots.h.
12412 * glyphs-x.c (xbm_instantiate_1):
12413 * glyphs-x.c (x_xbm_instantiate):
12414 * glyphs-x.c (x_xface_instantiate):
12415 * glyphs-x.c (autodetect_instantiate):
12416 * glyphs-x.c (cursor_font_instantiate):
12417 * glyphs-x.c (x_update_widget):
12418 * glyphs-x.c (x_widget_instantiate):
12419 * glyphs.c (bitmap_to_lisp_data):
12420 * glyphs.c (pixmap_to_lisp_data):
12423 * glyphs.c (syms_of_glyphs):
12427 * gui-x.c (print_widget_value):
12428 * gui-x.c (menu_separator_style_and_to_external):
12429 * gui-x.c (add_accel_and_to_external):
12430 * gui-x.c (button_item_to_widget_value):
12431 * gui-x.c (gui_items_to_widget_values_1):
12432 * gui-x.c (gui_items_to_widget_values):
12433 * gui-x.c (syms_of_gui_x):
12434 * gui-x.c (vars_of_gui_x):
12435 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12439 Muleize, prototype changes matching gui-x.c.
12442 * gui.c (separator_string_p):
12443 * gui.c (gui_item_add_keyval_pair):
12444 * gui.c (make_gui_item_from_keywords_internal):
12445 * gui.c (signal_too_long_error):
12446 * gui.c (parse_gui_item_tree_item):
12447 * gui.c (syms_of_gui):
12448 * gui.c (vars_of_gui):
12450 menu-no-selection-hook moved here (used by MSWin).
12451 Move some symbols to general-slots.h.
12455 * insdel.c (get_buffer_pos_char):
12456 * insdel.c (get_buffer_range_char):
12459 * keymap.c (keymap_lookup_directly):
12460 * keymap.c (keymap_store):
12461 * keymap.c (ensure_meta_prefix_char_keymapp):
12462 * keymap.c (describe_map):
12464 Support new button modifiers.
12466 * lisp-disunion.h (wrap_object):
12467 * lisp-disunion.h (XSETOBJ):
12468 Rename make_obj to wrap_object.
12471 * lisp-union.h (make_int):
12472 * lisp-union.h (make_char):
12473 Support wrap_object.
12476 * lisp.h (LIST_LOOP):
12477 * lisp.h (EXTERNAL_LIST_LOOP):
12478 * lisp.h (LIST_LOOP_2):
12479 * lisp.h (EXTERNAL_LIST_LOOP_1):
12480 * lisp.h (EXTERNAL_LIST_LOOP_2):
12481 * lisp.h (EXTERNAL_LIST_LOOP_3):
12482 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12483 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12484 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12485 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12486 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12487 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12488 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12489 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12490 * lisp.h (struct Lisp_Symbol):
12491 * lisp.h (maybe_continuable_error_with_frob):
12492 Fix up section comments.
12493 Add new types for char to indicate usage.
12494 Delete symbols auto-generated from general-slots.h.
12495 Add prototypes for structured error functions.
12496 Add long comments describing looping macros and change interface
12497 so that lvalues are automatically declared.
12498 Add NO_DECLARE macro in case callers want to declare lvalues
12501 * lread.c (read_syntax_error):
12502 * lread.c (continuable_read_syntax_error):
12503 * lread.c (read_structure):
12504 * lread.c (sequence_reader):
12505 * lread.c (read_list_conser):
12506 * lread.c (read_compiled_function):
12507 Rename syntax_error and continuable_syntax_error to avoid clash
12508 with same-named structured error functions.
12510 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12511 * menubar-msw.c (populate_menu_add_item):
12512 * menubar-msw.c (populate_or_checksum_helper):
12517 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12518 Mule-ize whole file.
12520 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12522 * mule-charset.c (Fmake_charset):
12523 * mule-wnnfns.c (Fwnn_set_param):
12526 * ntproc.c (create_child):
12527 * ntproc.c (Fwin32_set_current_locale):
12528 Add comments portending doom.
12531 * objects-msw.c (old_font_enum_callback_2):
12532 * objects-msw.c (font_enum_callback_1):
12533 * objects-msw.c (mswindows_enumerate_fonts):
12537 * objects-x.c (allocate_nearest_color):
12538 * objects-x.c (x_parse_nearest_color):
12539 * objects-x.c (x_initialize_color_instance):
12540 * objects-x.c (x_print_color_instance):
12541 * objects-x.c (x_finalize_color_instance):
12542 * objects-x.c (x_valid_color_name_p):
12543 * objects-x.c (x_initialize_font_instance):
12544 * objects-x.c (x_print_font_instance):
12545 * objects-x.c (valid_x_font_name_p):
12546 * objects-x.c (truename_via_FONT_prop):
12547 * objects-x.c (truename_via_random_props):
12548 * objects-x.c (truename_via_XListFonts):
12549 * objects-x.c (x_font_truename):
12550 * objects-x.c (x_font_instance_truename):
12551 * objects-x.c (x_font_instance_properties):
12552 * objects-x.c (x_list_fonts):
12553 * objects-x.c (x_find_charset_font):
12554 Mule-ize entire file.
12561 * print.c (std_handle_out_external):
12562 * print.c (debug_print_no_newline):
12563 * print.c (syms_of_print):
12564 Output to all debugger kinds in debug-print.
12565 Fix console-output code under MSWin to actually work.
12567 * process-nt.c (send_signal):
12568 * process-nt.c (nt_create_process):
12569 Use newer Unicode macros.
12571 * process-unix.c (unix_create_process):
12572 * process-unix.c (unix_canonicalize_host_name):
12573 * process-unix.c (unix_open_network_stream):
12579 * search.c (syms_of_search):
12582 * select-msw.c (mswindows_destroy_selection):
12585 * select-x.c (symbol_to_x_atom):
12588 * select.c (syms_of_select):
12591 * sound.c (Fplay_sound_file):
12595 * specifier.c (decode_specifier_type):
12596 * specifier.c (Fvalid_specifier_locale_type_p):
12597 * specifier.c (check_valid_locale_or_locale_type):
12598 * specifier.c (decode_locale):
12599 * specifier.c (decode_locale_type):
12600 * specifier.c (decode_locale_list):
12601 * specifier.c (check_valid_domain):
12602 * specifier.c (decode_specifier_tag_set):
12603 * specifier.c (Fcanonicalize_tag_set):
12604 * specifier.c (Fdefine_specifier_tag):
12605 * specifier.c (Fspecifier_tag_predicate):
12606 * specifier.c (check_valid_inst_list):
12607 * specifier.c (check_valid_spec_list):
12608 * specifier.c (decode_how_to_add_specification):
12609 * specifier.c (check_modifiable_specifier):
12610 * specifier.c (specifier_add_spec):
12611 * specifier.c (boolean_validate):
12612 * specifier.c (display_table_validate):
12615 * specifier.c (syms_of_specifier):
12616 Move some symbols to general-slots.h.
12620 * symbols.c (Fmapatoms):
12621 * symbols.c (Fapropos_internal):
12624 * symbols.c (set_default_buffer_slot_variable):
12625 * symbols.c (set_default_console_slot_variable):
12628 * symbols.c (defsymbol_massage_name_1):
12629 * symbols.c (defkeyword_massage_name):
12630 * symbols.c (deferror_1):
12631 * symbols.c (deferror):
12632 * symbols.c (deferror_massage_name_and_message):
12634 * symeval.h (DEFSYMBOL):
12635 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12637 * symbols.c (syms_of_symbols):
12641 * symsinit.h (init_win32): New.
12642 Also new is syms_of_dialog_mswindows.
12645 Add new Unicode macros, missing Cygwin wide-char functions,
12646 convenience conversion macros for Qmswindows_tstr, macros for
12647 encapsulating required MSWin <-> Cygwin filename conversions,
12648 prototype for dynamically-extracted (not in NT 3.51) functions.
12653 * tooltalk.c (Fadd_tooltalk_message_arg):
12654 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12655 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12658 * tooltalk.c (syms_of_tooltalk):
12662 * unexnt.c (unexec):
12663 Fix up headers, declaration of unexec() to be more standard.
12665 2000-07-20 Martin Buchholz <martin@xemacs.org>
12667 * offix.h: Revert change to guard macros - they're used in offix.c!
12669 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12671 * lisp.h: Defsubred Fdelete.
12673 * console-msw.h: (msprinter_default_printer): Added.
12675 * console-msw.c (msprinter_canonicalize_console_connection):
12676 (msprinter_canonicalize_device_connection): Added.
12678 * device-msw.c (msprinter_default_printer):
12679 (Fmswingows_get_default_printer):
12680 (signal_enum_priner_error):
12681 (Fmswingows_printer_list): Added.
12683 2000-07-19 Martin Buchholz <martin@xemacs.org>
12685 * XEmacs 21.2.35 is released.
12687 2000-07-19 Martin Buchholz <martin@xemacs.org>
12689 * select-x.c (x_handle_selection_request):
12690 Text selected in xemacs and pasted into xterm failed to appear.
12691 Spelling fixes and cosmetic changes.
12693 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12695 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12696 XEmacs frame (fix for doubling chars in dialog boxes).
12698 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12700 * select.c (select_convert_in, select_convert_out):
12701 Don't call intern() every time.
12703 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12704 * select.c (vars_of_select): Initialise them.
12706 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12708 * select.c (selection-coercible-types): New.
12710 * select.c (own-selection-internal):
12711 * select.c (get-selection-internal):
12712 MULE bug fix - these should default to COMPOUND_TEXT and not
12713 STRING for MULE. I think.
12715 * select.c (select_convert_out): Use selection-coercible-types
12716 to find types that we can attempt to perform coercions on.
12718 2000-07-18 Martin Buchholz <martin@xemacs.org>
12722 Add coding: cookie to identify encoding.
12724 * mule-canna.c (CANNA_mode_keys): make static.
12725 Use proper prototypes, even for functions of no arguments.
12726 Remove external prototype for Fding().
12728 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12730 * select.c (syms_of_select): Add missing DEFSUBR.
12732 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12734 * select.c (get_selection_internal, own_selection_internal):
12735 Make the type default to STRING, rather than placing a nil type
12736 into Vselection_alist.
12738 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12740 * gpmevent.c (tty_selection_exists_p):
12741 * gpmevent.c (tty_own_selection):
12742 Updated parameter lists.
12744 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12746 * select.h (selection-alist): Removed declaration.
12748 * select.h (get_local_selection):
12749 * select.c (get_local_selection):
12752 * select.h (convert_selection): Removed declaration.
12753 * select.c (convert_selection): Removed.
12754 This function belongs in Lisp.
12756 * select.h (select_convert_in): Declare.
12757 * select.h (select_convert_out): Declare.
12758 * select.c (select_convert_in): New.
12759 * select.c (select_convert_out): New.
12760 New conversion functions for other files to call.
12762 * select.h (select_notify_buffer_kill): Declare.
12763 * select.c (select_notify_buffer_kill): New.
12764 New functions that get called from kill-buffer.
12766 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12767 X-specific lisp code.
12769 * select.h: Declare some of the lisp-visible functions for
12772 * select.c (clean_local_selection_data): Removed. This was
12773 a disgusting function, and previously should have been in
12774 select-x.c in any case. The functionality is now provided
12775 in select-convert-from-integer (select.el).
12777 * select.c (available-selection-types): Fixed stupidity where
12778 INTEGER and ATOM got added twice. Also add STRING when we see an
12781 * select.c (get-selection-internal): Removed symbol stripping. No
12782 longer causes conversion when data comes from the internal cache.
12784 * select.c (syms_of_select): Added new functions.
12786 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12787 error checking - previously this called abort!
12789 * select-x.c (x_own_selection): Changed comment.
12791 * select-x.c (x_handle_selection_request): Use select_convert_out.
12792 Don't mess with selection-alist; it's an internal variable of select.c.
12794 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12796 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12797 rather than messing with selection-alist.
12799 * select-msw.c (mswindows_get_foreign_selection):
12800 Use TO_INTERNAL_FORMAT rather than hacking.
12802 2000-07-14 Martin Buchholz <martin@xemacs.org>
12804 * process-unix.c (unix_open_multicast_group):
12805 (unix_open_multicast_group): Remove useless casts.
12807 2000-07-13 Martin Buchholz <martin@xemacs.org>
12809 * sound.c (Fplay_sound): Fix `unused variable' warning.
12811 * emacs.c (main): Use correct type for _environ on SCO5.
12813 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12815 * console.h (own_selection_method):
12816 * console.h (selection_exists_p_method):
12817 * console.h (available_selection_types_method): New.
12818 * console.h (register_selection_data_type_method): New.
12819 * console.h (selection_data_type_name): New.
12821 * console-msw.h (mswindows_destroy_selection): Declare it. New
12822 function & alist to track GlobalAlloc()'d handles that need
12823 releasing when the clipboard data gets replaced or emptied.
12825 * event-msw.c (mswindows_wnd_proc): Call it.
12827 * lisp.h, general.c (Qappend): New symbol representing a
12830 * select.c (own-selection-internal):
12831 * select.c (selection-exists-p):
12832 * select.c (available-selection-types): New.
12833 * select.c (register-selection-data-type): New.
12834 * select.c (selection-data-type-name): New. New functions to deal
12835 with device-specific selection data formats.
12836 * select.c (selection-converter-out-alist): Renamed.
12837 * select.c (selection-converter-in-alist): New.
12838 * select.c (selection-appender-alist): New. Added new alists.
12839 * select.c (syms_of_select, vars_of_select): Added new symbols &
12841 * select.c (get_local_selection): Split.
12842 * select.c: Removed spurious type checking - selections may now be
12843 of any type, not just strings.
12844 * select.c (own-selection-internal):
12846 * select.h, select.c (convert_selection): New. Created
12847 convert_selection() function based on get_local_selection().
12848 * select.h, select.c (QCF_*): New symbols representing mswindows
12850 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12851 symbols representing `how-to-add' modes.
12853 * select-msw.c (x_sym_p): New.
12854 * select-msw.c (symbol_to_ms_cf): New.
12855 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12856 symbols & clipboard formats. Can also handle string names.
12857 * select-msw.c (mswindows_own_selection):
12858 * select-msw.c (mswindows_selection_exists_p):
12859 Added `data-type' parameter. Use it.
12860 * select-msw.c (mswindows_available_selection_types): New.
12861 * select-msw.c (mswindows_register_selection_data_type): New.
12862 * select-msw.c (mswindows_selection_data_type_name): New.
12863 * select-msw.c (mswindows_own_selection):
12864 * select-msw.c (mswindows_get_foreign_selection):
12865 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12866 * select-msw.c (console_create_select_mswindows): Added new methods.
12867 * select-msw.c (mswindows_destroy_selection): New.
12868 * select-msw.c (Vhandle_alist): New list.
12869 * select-msw.c (mswindows_own_selection):
12871 * select-x.c (x_own_selection):
12872 * select-x.c (x_selection_exists_p):
12873 * select-x.c: Added some comments about maybe using new
12875 * select-x.c (x_own_selection):
12877 * specifier.c: Remove definition of Qappend (now in general.c)
12878 * specifier.c (syms_of_specifier): Remove Qappend.
12880 2000-07-12 Martin Buchholz <martin@xemacs.org>
12882 * config.h.in: Add socklen_t.
12884 * s/decosf4-0.h: No special compiler flags needed or desired.
12885 In particular, undefine _BSD for DEC OSF 4.0.
12887 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12889 * redisplay-msw.c (msprinter_frame_output_end): Added.
12890 (console_type_create_redisplay_mswindows): Referred the above.
12892 * frame.c (setup_frame_without_minibuffer): Do not create a
12893 default minibuffer frame on a printer device.
12895 * frame-msw.c (apply_dc_geometry): Added.
12896 (msprinter_start_page):
12897 (msprinter_init_frame_3):
12898 (msprinter_eject_page): Use it.
12900 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12901 and removed residual duplex and orientation properties.
12903 2000-07-11 Martin Buchholz <martin@xemacs.org>
12905 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12907 * unexalpha.c: Remove system prototypes from C sources!
12909 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12911 * eval.c: Remove references to M-x edit-options in DEFUNs for
12912 `defvar' and `defconst'.
12914 2000-07-09 Martin Buchholz <martin@xemacs.org>
12916 * config.h.in: Remove SMART_INCLUDE hackery.
12918 PostgreSQL hacking:
12919 * config.h.in: Don't use SMART_INCLUDE.
12921 * postgresql.h: Include libpq-fe.h here. Fix typo.
12922 * inline.c: Simply #include "postgresql.h"
12924 - Don't use SMART_INCLUDE
12925 - Use simply "const".
12926 - Use standard doc string conventions.
12927 - Use correct type for result of PQstatus.
12929 2000-07-09 Martin Buchholz <martin@xemacs.org>
12931 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12933 C++ compilation changes.
12934 * config.h.in (EXTERN_C): Define.
12935 * config.h.in (not): This is also a C++ keyword.
12936 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12937 * cm.c: Use EXTERN_C.
12938 * redisplay-tty.c: Use EXTERN_C.
12939 * sysdep.c: Use EXTERN_C. Remove Gould support.
12941 2000-07-09 Martin Buchholz <martin@xemacs.org>
12943 * general.c: Remove duplicate definition for Qfunction.
12945 2000-07-08 Ben Wing <ben@xemacs.org>
12947 * device-msw.c (msprinter_init_device):
12948 * device-msw.c (sync_printer_with_devmode):
12949 * device-msw.c (handle_devmode_changes):
12950 * device-msw.c (print_dialog_worker):
12951 * device-msw.c (Fmsprinter_apply_settings):
12952 * device-msw.c (hash_devmode):
12953 * device-msw.c (Fmsprinter_settings_despecialize):
12954 use Qmswindows_tstr, not Qctext.
12956 * vm-limit.c (check_memory_limits):
12957 avoid infinite loop printing warning messages.
12959 2000-07-05 Craig Lanning <lanning@scra.org>
12961 * Makefile.in.in: Add support for including the Windows resources
12962 when building with the cygwin and mingw targets.
12964 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12965 not set or not correct.
12966 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12967 (init_initial_directory): Don't try to use $PWD on the
12968 WIN32_NATIVE target.
12971 [[Add -mwindows to eliminate console window.]] not required --ben
12972 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12973 (MAIL_USE_POP): removed; now handled by configure.
12975 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12976 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12977 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12978 (MAIL_USE_POP): removed; now handled by configure.
12979 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12980 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12981 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12983 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12984 up from <winsock.h> via systime.h.
12985 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12986 (getpagesize): from Dan Holmsand, added.
12987 Added #endif which was left dangling by Ben's mega patch; added
12988 comment to help prevent this in the future.
12990 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12992 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12994 * console-msw.h (struct mswindows_device): Removed unnecessary
12995 cached device geometry values.
12996 Added update_tick and an accessor macro.
12997 (Lisp_Devmode): Added lrecord declaration.
12998 (struct msprinter_device): Contain devmode as a Lisp object.
12999 Added mswindows_get_selected_frame_hwnd();
13001 * console.h (struct console_methods): Indentation nitpicking.
13003 * device-msw.c (mswindows_init_device): Do not initialize geometry
13004 cache. Initialize update tick.
13005 (mswindows_device_system_metrics): Ask the device for its geometry.
13006 (global_free_2_maybe):
13007 (devmode_to_hglobal):
13008 (handle_printer_changes):
13009 (ensure_not_printing):
13010 (print_dialog_worker):
13011 (Fmsprinter_print_setup_dialog):
13012 (Fmsprinter_print_dialog):
13013 (plist_get_margin):
13014 (plist_set_margin):
13015 (Fmsprinter_page_setup_dialog): Added functions.
13016 (sync_printer_with_devmode):
13017 (handle_devmode_changes):
13018 (Fmsprinter_get_settings):
13019 (Fmsprinter_select_settings):
13020 (Fmsprinter_apply_settings):
13021 (allocate_devmode):
13022 (Fmsprinter_settings_copy):
13023 (Fmsprinter_settings_despecialize):
13025 (finalize_devmode):
13027 (hash_devmode): Added functions
13028 (syms_of_device_mswindows): Init devmode lrecord class.
13030 * device.h: Added an exfun for find-device.
13032 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13033 geometry; although, recreate the device compatible DC.
13035 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13036 (msprinter_init_frame_3):
13037 (msprinter_frame_property):
13038 (msprinter_internal_frame_property_p):
13039 (msprinter_frame_properties):
13040 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13041 print job properties (will move to device settings).
13043 * lisp.h: Added symbols.
13045 * general.c (syms_of_general): Declared them.
13047 * hash.c (string_hash): Added.
13049 * lrecord.h (lrecord_type): Added devmode lrecord type.
13051 2000-07-02 Mike Sperber <mike@xemacs.org>
13053 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13056 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13058 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13061 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13063 * data.c (Fstring_to_number): Don't recognize floating point if
13066 2000-06-22 Martin Buchholz <martin@xemacs.org>
13068 * glyphs-widget.c (tab_control_query_geometry):
13069 (widget_query_geometry):
13070 (button_query_geometry):
13071 * glyphs.c (text_query_geometry):
13072 Enforce type correctness.
13074 2000-06-18 Martin Buchholz <martin@xemacs.org>
13076 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13077 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13079 2000-06-17 Martin Buchholz <martin@xemacs.org>
13081 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13082 conflicts with gcc's fixincluded version of FOO.h.
13084 * glyphs.h (image_instance_geometry): Remove trailing `,'
13086 2000-06-08 Mike Alexander <mta@arbortext.com>
13088 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13089 (shove_thread): Don't write the same output twice
13090 (make_ntpipe_output_stream): Increase priority of shove thread
13091 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13093 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13096 2000-06-12 Ben Wing <ben@xemacs.org>
13098 * s\mingw32.h (sigset):
13099 * s\windowsnt.h (sigset):
13100 rename msw_ to mswindows_ for consistency with general convention.
13102 2000-06-12 Ben Wing <ben@xemacs.org>
13105 * console-msw.c (mswindows_get_console_hwnd):
13106 * console-msw.c (mswindows_ensure_console_allocated):
13107 * console-msw.c (mswindows_hide_console):
13108 * console-msw.c (mswindows_show_console):
13109 * console-msw.c (mswindows_ensure_console_buffered):
13110 * console-msw.c (mswindows_output_console_string):
13111 * console-msw.c (mswindows_windows9x_p):
13113 * device-msw.c (mswindows_get_workspace_coords):
13114 * device-msw.c (mswindows_device_system_metrics):
13115 * dialog-msw.c (mswindows_popup_dialog_box):
13116 * event-msw.c (mswindows_wnd_proc):
13117 * frame-msw.c (mswindows_size_frame_internal):
13118 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13119 * menubar-msw.c (displayable_menu_item):
13120 * menubar-msw.c (mswindows_char_is_accelerator):
13122 * nt.c (mswindows_sigset):
13123 * nt.c (mswindows_sigrelse):
13124 * nt.c (mswindows_sigpause):
13125 * nt.c (mswindows_raise):
13126 * nt.c (timer_proc):
13128 * ntproc.c (find_child_console):
13129 * ntproc.c (sys_kill):
13131 * print.c (std_handle_out_external):
13132 * process-nt.c (find_child_console):
13133 * process-nt.c (send_signal_the_95_way):
13134 * process-nt.c (ensure_console_window_exists):
13135 * process-nt.c (nt_create_process):
13137 rename msw_ to mswindows_ for consistency with general convention.
13141 include nt.h, not syswindows.h.
13143 * nt.c (mswindows_fstat):
13144 * nt.c (mswindows_stat):
13145 prefix mswindows_ instead of attempting to directly override the
13146 library functions. fix declarations.
13149 include syswindows.h. move some sysdep.h stuff here.
13152 include syswindows.h, not <windows.h>.
13160 * sysdep.c (sys_fstat):
13161 * sysdep.c (sys_stat):
13162 call mswindows versions when appropriate.
13165 move mswin decls to nt.h.
13168 add long comment describing appropriate use of the various windows
13171 2000-06-11 Ben Wing <ben@xemacs.org>
13173 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13175 2000-06-10 Ben Wing <ben@xemacs.org>
13177 * Makefile.in.in (release):
13178 Correction to make sure xemacs.exe always dumped when correct.
13182 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13184 * buffer.c (set_buffer_internal):
13185 [[[[2]]]]: Remove HAVE_FEP code.
13187 * buffer.c (init_initial_directory):
13191 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13195 * callproc.c (call_process_cleanup):
13196 * callproc.c (Fold_call_process_internal):
13197 * callproc.c (child_setup):
13198 * callproc.c (getenv_internal):
13199 * callproc.c (init_callproc):
13200 * callproc.c (vars_of_callproc):
13201 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13202 __CYGWIN32__ -> CYGWIN.
13203 DOS_NT -> WIN32_NATIVE.
13204 Remove MSDOS support/references, converting to WIN32_NATIVE
13206 __MINGW32__ -> MINGW.
13207 Fix windows.h includes.
13208 Remove bogus HAVE_NTGUI.
13214 mswindows_message_outputted added for use in allowing startup
13215 errors on the console to be seen.
13217 * console-msw.c (msw_ensure_console_allocated):
13218 * console-msw.c (msw_output_console_string):
13219 * console-msw.c (DHEADER):
13220 * console-msw.c (DOPAQUE_DATA):
13221 * console-msw.c (DEVENT):
13222 * console-msw.c (DCONS):
13223 * console-msw.c (DCONSCDR):
13224 * console-msw.c (DSTRING):
13225 * console-msw.c (DVECTOR):
13226 * console-msw.c (DSYMBOL):
13227 * console-msw.c (DSYMNAME):
13230 * console-stream.c (stream_init_console):
13231 Fix text/binary problems.
13234 * device-msw.c (mswindows_finish_init_device):
13235 * device-msw.c (mswindows_delete_device):
13238 * device.c (handle_asynch_device_change):
13242 * dgif_lib.c (DGifOpenFileName):
13243 * dgif_lib.c (DGifOpenFileHandle):
13244 * dgif_lib.c (DGifGetLine):
13245 * dgif_lib.c (DGifGetPixel):
13246 Added config.h/lisp.h, fix up includes.
13253 * dired.c (file_name_completion):
13254 * dired.c (Ffile_attributes):
13255 * dired.c (syms_of_dired):
13259 * dumper.c (pdump_file_unmap):
13260 * dumper.c (pdump_load):
13264 * editfns.c (Ftemp_directory):
13265 * editfns.c (user_login_name):
13266 * editfns.c (Fuser_real_login_name):
13267 * editfns.c (get_home_directory):
13270 * elhash.c (finish_marking_weak_hash_tables):
13271 [[[[5]]]]: Fix GCC warnings.
13274 * emacs.c (mswindows_handle_hardware_exceptions):
13275 * emacs.c (make_arg_list_1):
13276 * emacs.c (main_1):
13277 * emacs.c (Fkill_emacs):
13278 * emacs.c (Fdump_emacs):
13280 Fix problems with nested crashes, add long comment.
13282 * event-Xt.c (init_event_Xt_late):
13286 * event-msw.c (mswindows_dde_callback):
13287 * event-msw.c (mswindows_handle_sticky_modifiers):
13288 * event-msw.c (mswindows_wnd_proc):
13292 * events.c (character_to_event):
13296 * fileio.c (Ffile_name_directory):
13297 * fileio.c (Ffile_name_nondirectory):
13298 * fileio.c (directory_file_name):
13299 * fileio.c (Fexpand_file_name):
13300 * fileio.c (Fsubstitute_in_file_name):
13301 * fileio.c (Ffile_name_absolute_p):
13302 * fileio.c (check_executable):
13303 * fileio.c (Ffile_readable_p):
13304 * fileio.c (Ffile_accessible_directory_p):
13305 * fileio.c (Ffile_modes):
13306 * fileio.c (Funix_sync):
13307 * fileio.c (vars_of_fileio):
13310 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13312 Expand getdefdir defn.
13313 Fix bogus rename() comment.
13315 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13316 to use standard XEmacs include files, e.g. sysfile.h, rather
13317 than system-specific includes.
13323 * frame.c (vars_of_frame):
13327 * getloadavg.c (getloadavg):
13329 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13330 (We don't use it elsewhere in the code; just add a comment.)
13337 * glyphs-msw.c (mswindows_resource_instantiate):
13340 * glyphs-x.c (x_native_layout_instantiate):
13343 * gui-msw.c (Fmswindows_shell_execute):
13352 * lread.c (locate_file_in_directory_mapper):
13359 * mem-limits.h (get_lim_data):
13371 * nt.c (rva_to_section):
13372 * nt.c (mswindows_executable_type):
13374 Fix closedir() defn.
13377 [[[[8]]]]: *_OK defs moved to sysfile.h.
13386 * print.c (std_handle_out_external):
13390 * process-nt.c (nt_create_process):
13392 try to fix process quoting somewhat.
13394 * process-unix.c (unix_create_process):
13398 * process.c (vars_of_process):
13405 * realpath.c (xrealpath):
13408 * redisplay-tty.c (init_tty_for_redisplay):
13418 * sheap.c (more_static_core):
13419 * sheap.c (report_sheap_usage):
13423 * signal.c (alarm_signal):
13430 * strftime.c (zone_name):
13433 * symsinit.h (init_sunpro):
13437 commctrl.h not in Cygwin b20.1.
13440 * sysdep.c (endif):
13441 * sysdep.c (sys_subshell):
13442 * sysdep.c (init_baud_rate):
13443 * sysdep.c (emacs_get_tty):
13444 * sysdep.c (emacs_set_tty):
13445 * sysdep.c (tty_init_sys_modes_on_device):
13446 * sysdep.c (init_system_name):
13447 * sysdep.c (sys_open):
13448 * sysdep.c (interruptible_open):
13449 * sysdep.c (sys_fopen):
13450 * sysdep.c (sys_mkdir):
13451 * sysdep.c (sys_rename):
13452 * sysdep.c (get_process_times_1):
13459 * sysdir.h (DIRENTRY_NONEMPTY):
13462 * sysdll.c (dll_init):
13468 added text/binary defs.
13474 * sysproc.h (EDESTADDRREQ):
13475 * sysproc.h (poll_fds_for_input):
13492 Always define WIN32_LEAN_AND_MEAN.
13494 * unexcw.c (unexec):
13498 * unexec.c (copy_text_and_data):
13499 * unexec.c (adjust_lnnoptrs):
13503 * unexnt.c (_start):
13506 2000-06-07 Ben Wing <ben@xemacs.org>
13508 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13509 was used only as a model. We've long since extracted any useful
13510 logic or code out of this. (I just did an exhaustive search.)
13512 * s\msdos.h: Removed.
13514 * s\windows95.h: Removed.
13516 2000-06-10 Ben Wing <ben@xemacs.org>
13520 Don't use extern with fun defs.
13524 Remove nt\inc include.
13525 Remove getdisk, getdefdir. (The former is unused, the latter
13526 expanded in fileio.h.)
13529 * s\windowsnt.h (WIN32_NATIVE):
13530 * s\windowsnt.h (HAVE_STRCASECMP):
13532 Add long comment about preprocessor changes.
13533 Remove getdisk, getdefdir. (The former is unused, the latter
13534 expanded in fileio.h.)
13536 2000-06-10 Ben Wing <ben@xemacs.org>
13545 Remove bogus/unused NO_SOCK_SIGIO.
13547 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13549 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13552 2000-06-04 Mike Sperber <mike@xemacs.org>
13554 * casetab.c (set_case_table): For `set-standard-case-table',
13555 actually deposit the new case tables where the rest of XEmacs can
13558 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13560 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13562 2000-06-05 Ben Wing <ben@xemacs.org>
13564 * callproc.c (child_setup): Don't do close_load_descs() under
13565 MS Windows. Put in a comment explaining why.
13567 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13569 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13570 Toolkit shell" which breaks `kill-compilation' on Windows NT
13571 native, retaining STDERR handling improvements.
13573 2000-06-01 Andreas Jaeger <aj@suse.de>
13575 * s/s390.h: Support for S390, based on a patch by Martin
13576 Schwidefsky <schwidefsky@de.ibm.com>.
13578 2000-05-30 Andy Piper <andy@xemacs.org>
13580 * window.c (allocate_window):
13581 (make_dummy_parent):
13582 (Fset_window_configuration): use new hashtable type.
13584 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13585 (struct image_instantiator_methods):
13586 (struct Lisp_Image_Instance): make instance geometry signed.
13588 * glyphs.c (instantiate_image_instantiator):
13589 (image_instance_query_geometry):
13590 (image_instance_layout):
13591 (image_instance_layout):
13592 (query_string_geometry):
13593 (text_query_geometry):
13594 (image_instantiate):
13595 (image_instantiate):
13596 (cache_subwindow_instance_in_frame_maybe):
13597 (subwindow_query_geometry): make instance geometry signed.
13599 * glyphs-widget.c (widget_query_geometry):
13601 (button_query_geometry):
13602 (tree_view_query_geometry):
13603 (tab_control_query_geometry):
13604 (layout_query_geometry):
13606 (native_layout_layout): make instance geometry signed.
13608 2000-05-29 Olivier Galibert <galibert@pobox.com>
13610 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13613 * general.c (syms_of_general): Add Qfull_assoc symbol.
13615 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13617 (decode_weak_list_type): Decode full-assoc type.
13618 (encode_weak_list_type): Encode full-assoc type.
13619 (Fmake_weak_list): Update doc string.
13621 2000-05-30 Andy Piper <andy@xemacs.org>
13623 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13625 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13626 (decode_hash_table_weakness): ditto.
13627 (Fhash_table_weakness): ditto.
13628 (Fhash_table_type): ditto.
13629 (finish_marking_weak_hash_tables): ditto.
13630 (hash_table_weakness_validate): ditto.
13631 (syms_of_elhash): ditto.
13633 2000-05-28 Martin Buchholz <martin@xemacs.org>
13635 * XEmacs 21.2.34 is released.
13637 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13639 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13641 (updating_line_start_cache): Gone.
13642 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13643 generic code to force a minimum of 1 line laid out in the
13646 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13648 * glyphs.c (instantiate_image_instantiator): Check for initialized
13649 height & width no longer special cases IMAGE_NOTHING.
13650 (nothing_instantiate): Set height and width of instance.
13652 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13654 * unexelf.c (unexec): Search for ".data" section.
13655 Initialize new_data2_offset from old_data_index.
13656 Remove redundant check for ElfW.
13658 2000-05-23 Andy Piper <andy@xemacs.org>
13660 * glyphs.c (get_image_instantiator_governing_domain): allow more
13661 specific domains as the governing domain rather than expecting an
13662 exact match. This fixes problems with layouts.
13664 2000-05-22 Andy Piper <andy@xemacs.org>
13666 * redisplay-output.c (compare_runes): check for non-images
13668 * glyphs.c (set_glyph_dirty_p): ditto.
13669 (update_glyph_cachel_data): ditto.
13671 * glyphs-widget.c (layout_post_instantiate): ditto.
13672 (layout_post_instantiate): ditto.
13674 * event-msw.c (mswindows_wnd_proc): warning removal.
13676 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13678 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13680 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13682 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13684 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13685 (mswindows_executable_type): mingw32 now has enough headers for
13688 2000-05-20 Andy Piper <andy@xemacs.org>
13690 * console-msw.c (mswindows_output_last_error): ; -> ,
13692 2000-05-12 Andy Piper <andy@xemacs.org>
13694 * console-msw.c (FROB): compare ints with ints.
13696 2000-05-11 Andy Piper <andy@xemacs.org>
13698 * glyphs-x.c (x_finalize_image_instance): make minimal build
13701 2000-05-20 Ben Wing <ben@xemacs.org>
13704 * event-Xt.c (vars_of_event_Xt):
13705 move modifier-keys-are-sticky to event-stream.c.
13708 * event-msw.c (mswindows_enqueue_mouse_button_event):
13709 * event-msw.c (key_needs_default_processing_p):
13710 * event-msw.c (XEMSW_LCONTROL):
13711 * event-msw.c (mswindows_handle_sticky_modifiers):
13712 * event-msw.c (FROB):
13713 * event-msw.c (clear_sticky_modifiers):
13714 * event-msw.c (output_modifier_keyboard_state):
13715 * event-msw.c (output_alt_keyboard_state):
13716 * event-msw.c (mswindows_wnd_proc):
13717 * event-msw.c (mswindows_modifier_state):
13718 * event-msw.c (emacs_mswindows_handle_magic_event):
13719 implement sticky modifiers.
13722 * event-stream.c (vars_of_event_stream):
13723 move modifier-keys-are-sticky here.
13726 add CHECK_FUNCTION.
13729 implement map-range-table.
13732 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13734 * redisplay-tty.c (reset_tty_modes):
13735 (tty_redisplay_shutdown): Adjust argument type to
13736 tty_frame_output_end.
13738 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13740 * eval.c (Fbacktrace): Don't output a line with only right
13743 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13745 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13746 (Fpq_reset_poll): Ditto.
13748 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13750 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13752 2000-05-16 Ben Wing <ben@xemacs.org>
13755 * buffer.c (dfc_convert_to/from_internal_format):
13756 * buffer.c (reinit_vars_of_buffer):
13757 Fix conversion functions to allow reentrancy.
13760 * console-msw.c (mswindows_output_last_error):
13761 New fun, generally useful -- output a human-readable
13762 version of GetLastError() on the console.
13765 * console-msw.h (struct mswindows_frame):
13766 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13768 * console-stream.c (stream_output_begin):
13769 * console-stream.c (stream_output_end):
13770 * console-stream.c (stream_output_vertical_divider):
13771 * console-stream.c (stream_clear_region):
13772 * console-stream.c (stream_flash):
13773 * console-stream.c (console_type_create_stream):
13774 Delete blank stream methods, not needed.
13776 * console.h (struct console_methods):
13777 Split begin/end methods into window and frame.
13780 * event-msw.c (mswindows_handle_paint):
13781 * event-msw.c (output_alt_keyboard_state):
13782 * event-msw.c (mswindows_wnd_proc):
13783 * event-msw.c (vars_of_event_mswindows):
13784 Comment about problems with ignored-expose.
13785 Define mswindows-debug-events; not really implemented.
13787 * frame-msw.c (mswindows_init_frame_1):
13791 * glyphs-msw.c (begin_defer_window_pos):
13792 * glyphs-msw.c (mswindows_unmap_subwindow):
13793 * glyphs-msw.c (mswindows_map_subwindow):
13794 * glyphs-msw.c (mswindows_resize_subwindow):
13795 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13797 * glyphs.c (make_image_instance_1):
13800 * gutter.c (Fredisplay_gutter_area):
13801 Use new begin/end methods.
13803 * lisp.h (Dynarr_new2):
13807 * redisplay-msw.c (mswindows_frame_output_begin):
13808 * redisplay-msw.c (mswindows_frame_output_end):
13809 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13810 New begin/end methods -- handle DeferWindowPos.
13812 * redisplay-output.c (redisplay_move_cursor):
13813 * redisplay-output.c (redraw_cursor_in_window):
13814 * redisplay-output.c (redisplay_update_line):
13815 * redisplay-output.c (redisplay_output_window):
13816 New begin/end methods.
13819 * redisplay-tty.c (tty_frame_output_begin):
13820 * redisplay-tty.c (tty_frame_output_end):
13821 * redisplay-tty.c (console_type_create_redisplay_tty):
13822 New begin/end methods.
13825 * redisplay-x.c (x_window_output_begin):
13826 * redisplay-x.c (x_window_output_end):
13827 * redisplay-x.c (console_type_create_redisplay_x):
13828 New begin/end methods.
13830 * redisplay.c (redisplay_frame):
13831 * redisplay.c (Fredisplay_echo_area):
13832 New begin/end methods.
13833 use MAYBE_DEVMETH for clear_frame; it may not exist.
13835 * window.h (WINDOW_XFRAME):
13836 WINDOW_XFOO macros -- get locale and decode struct pointer.
13839 2000-05-12 Ben Wing <ben@xemacs.org>
13842 * emacs.c (ensure_no_quitting_from_now_on):
13843 * emacs.c (fatal_error_signal):
13844 * emacs.c (mswindows_handle_hardware_exceptions):
13846 * emacs.c (Fkill_emacs):
13847 * emacs.c (shut_down_emacs):
13848 * emacs.c (assert_failed):
13849 various improvements in fatal error handling.
13852 move preparing_for_armageddon to emacs.c.
13855 declare fatal_error_in_progress.
13858 * print.c (std_handle_out_external):
13859 * print.c (std_handle_out_va):
13860 * print.c (stderr_out):
13861 * print.c (stdout_out):
13862 use console under mswin when no standard output.
13863 don't do code conversion during fatal error.
13865 * scrollbar.c (Fscrollbar_page_up):
13866 * scrollbar.c (Fscrollbar_page_down):
13867 fix missing else. reindent.
13869 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13873 * glyphs.h (GLYPH_CACHEL_DESCENT):
13874 (GLYPH_CACHEL_DESCENT):
13875 (GLYPH_CACHEL_DESCENT):
13876 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13877 used in case these are inline functions.
13878 Use more absurd values to error check.
13880 include window.h for error check functions.
13882 2000-05-11 Ben Wing <ben@xemacs.org>
13884 * cmdloop.c (Freally_early_error_handler):
13885 Display message box under windows; otherwise, message will disappear
13886 before it can be viewed.
13889 * console-msw.c (Fmswindows_message_box):
13890 * console-msw.c (FROB):
13891 * console-msw.c (syms_of_console_mswindows):
13892 Define new fun `mswindows-message-box'.
13893 #### I will merge this into `popup-dialog-box'; just give me
13897 * general.c (syms_of_general):
13898 Some new symbols used in `mswindows-message-box'.
13901 * glyphs.c (Fset_image_instance_property):
13902 put warning in this fun.
13905 * glyphs.h (GLYPH_CACHEL_WIDTH):
13906 * glyphs.h (GLYPH_CACHEL_ASCENT):
13907 * glyphs.h (GLYPH_CACHEL):
13908 * glyphs.h (GLYPH_CACHEL_GLYPH):
13909 define error-checking versions to try to catch a bug i've seen --
13910 redisplay gets in an infinite loop because the glyph width of the
13911 continuation glyph is 65535.
13914 Extern message-box stuff.
13916 * window.c (allocate_window):
13917 * window.c (make_dummy_parent):
13918 * window.c (Fset_window_configuration):
13919 Use EQUAL not EQ for subwindow caches to make them work a bit
13920 better. (Something is still very broken.)
13923 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13925 * glyphs.c (image_instantiate): Suppress gcc warnings.
13926 (Fmake_image_instance): Fix doc string.
13927 * specifier.c (Fmake_specifier): Ditto.
13929 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13931 * paths.h.in (PATH_LOCK): Removed.
13932 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13933 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13935 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13937 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13938 Document (featurep '(and xemacs 21.02)).
13940 2000-05-09 Ben Wing <ben@xemacs.org>
13942 * buffer.c (complex_vars_of_buffer):
13943 update modeline-format doc.
13946 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13949 timeline of all released versions of Emacs, for use in creating
13950 authorship comments and in synching up.
13952 * glyphs-widget.c (image_instantiator_buttons):
13953 * glyphs-widget.c (image_instantiator_edit_fields):
13954 * glyphs-widget.c (image_instantiator_combo_box):
13955 * glyphs-widget.c (image_instantiator_scrollbar):
13956 * glyphs-widget.c (image_instantiator_progress_guage):
13957 * glyphs-widget.c (image_instantiator_tree_view):
13958 * glyphs-widget.c (image_instantiator_tab_control):
13959 * glyphs-widget.c (image_instantiator_labels):
13960 * glyphs-widget.c (image_instantiator_layout):
13961 * glyphs-widget.c (image_instantiator_native_layout):
13962 rename decode_domain method to governing_domain.
13965 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13966 * glyphs.c (add_entry_to_device_ii_format_list):
13967 make sure we don't put an entry more than once into the list.
13968 * glyphs.c (check_instance_cache_mapper):
13969 *************************************************************
13970 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13972 *************************************************************
13973 * glyphs.c (get_image_instantiator_governing_domain):
13974 clean up, expand on new concept of governing domain.
13975 * glyphs.c (instantiate_image_instantiator):
13976 * glyphs.c (allocate_image_instance):
13977 use governing_domain instead of cache_domain in naming.
13978 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13979 * glyphs.c (make_image_instance_1):
13980 * glyphs.c (Fmake_image_instance):
13981 allow for any domain (not just device), and process the
13982 governing domain correctly. very big doc fix.
13983 * glyphs.c (Fimage_instance_domain):
13984 new primitive, to retrieve the governing domain of an image instance.
13985 * glyphs.c (image_instantiate):
13986 use new governing_domain stuff. this fixes a crash you could get
13987 by instantiating certain widget glyphs in frame locales. (should
13988 signal an error instead of crashing.)
13989 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13990 * glyphs.c (Fglyphp): clean up doc.
13991 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13992 * glyphs.c (syms_of_glyphs):
13993 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13994 * glyphs.c (image_instantiator_format_create): add some comments about
13996 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13997 for current-display-table. (Apparently Hrjove implemented in 1998 a
13998 design I wrote up in 1996, but didn't update the doc string.)
14000 * glyphs.h: clean up a doc string.
14001 * glyphs.h (governing_domain):
14002 * glyphs.h (struct image_instantiator_methods):
14003 changes for governing_domain stuff.
14006 * gutter.c (Fgutter_specifier_p):
14007 * gutter.c (Fgutter_size_specifier_p):
14008 * gutter.c (Fgutter_visible_specifier_p):
14010 * objects.c (Fcolor_specifier_p):
14011 * objects.c (Ffont_specifier_p):
14012 * objects.c (Fface_boolean_specifier_p):
14013 doc strings moved to make-*-specifier.
14015 * redisplay.c (add_disp_table_entry_runes_1):
14016 * redisplay.c (generate_fstring_runes):
14017 * redisplay.c (screen):
14018 add random comments and doc strings.
14021 * specifier.c (Fmake_specifier):
14022 major overhaul of this doc string.
14024 * specifier.c (Fvalid_specifier_domain_p):
14025 comment about the bogosity of image instances being domains.
14026 * specifier.c (decode_domain):
14027 now non-static, used in glyphs.c.
14028 * specifier.c (specifier_instance):
14029 comment about the bogosity of image instances being domains.
14030 * specifier.c (Fgeneric_specifier_p):
14031 move doc string to make-generic-specifier.
14032 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14036 * specifier.h (DOMAIN_FRAME):
14037 * specifier.h (DOMAIN_LIVE_P):
14038 * specifier.h (DOMAIN_XDEVICE):
14040 add comments about problems with these macros.
14041 prototype for decode_domain.
14044 * toolbar.c (Ftoolbar_specifier_p):
14045 move doc string to `make-toolbar-specifier'.
14047 * window.c (window_unmap_subwindows_cache_mapper):
14048 *************************************************************
14049 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14051 *************************************************************
14053 2000-05-09 Andy Piper <andy@xemacs.org>
14055 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14057 * window.c (Fset_window_configuration): reset the frame subwindow
14058 cache and re-initialize the window subwindow caches.
14060 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14062 2000-05-09 Ben Wing <ben@xemacs.org>
14064 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14067 2000-04-26 Mike Woolley <mike@bulsara.com>
14069 * ntheap.c: Changed recreate_heap to limit the amount reserved
14070 for the heap to that which is actually available. Also now
14071 displays a message box (with some dignostics) in the event that
14072 it still can't start.
14074 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14076 * callproc.c (Fold_call_process_internal): GCPRO path
14078 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14080 Patch by Bill Perry.
14082 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14083 back data instead of #ifdef.
14084 (Fscrollbar_page_down): ditto.
14086 2000-05-07 Ben Wing <ben@xemacs.org>
14089 Kludge for defining Qmswindows_tstr.
14092 * nt.c (open_input_file):
14093 * nt.c (open_output_file):
14094 * nt.c (rva_to_section):
14095 * nt.c (mswindows_executable_type):
14096 Move all memory-mapped-file routines here (some were in unexnt.c,
14097 which is bad because they are used by process-nt.c, and unexnt
14098 won't be around when portable dumping). Synched the above routines
14102 Removed ifdef'd out bogus code.
14103 Fixed some prototypes.
14105 * nt.h (file_data):
14106 * nt.h (OFFSET_TO_RVA):
14107 * nt.h (RVA_TO_OFFSET):
14108 * nt.h (RVA_TO_PTR):
14109 Moved the memory-mapped-file structures, macros and prototypes
14110 here, to parallel nt.c. ntheap.h should really be removed
14111 entirely, and it's a non-portable-dumper specific file.
14113 * ntheap.h (round_to_next):
14114 Moved the memory-mapped-file structures, macros and prototypes
14117 * ntproc.c (compare_env):
14118 Moved rva_to_section and mswindows_executable_type to nt.c.
14119 Moved compare_env to process-nt.c.
14120 ntproc.c will die, one day.
14122 * ntproc.c (sys_spawnve):
14123 Account for win32_ -> mswindows_.
14126 * process-nt.c (struct nt_process_data):
14127 * process-nt.c (ensure_console_window_exists):
14128 * process-nt.c (compare_env):
14129 * process-nt.c (nt_create_process):
14130 * process-nt.c (nt_kill_process_by_pid):
14131 * process-nt.c (syms_of_process_nt):
14132 * process-nt.c (vars_of_process_nt):
14133 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14134 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14135 changes). Eliminate our old `nt-quote-process-args' mechanism.
14136 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14137 Move compare_env here from ntproc.c.
14139 * process.c (Fprocess_send_region):
14140 Takes an optional fourth argument, BUFFER, which should fix some
14141 problems with call-process.
14144 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14147 Move ICC_BAR_CLASSES to syscommctrl.h.
14148 Add preliminary macros for MSWindows/Mule. More to come.
14151 * unexnt.c (unexec):
14152 open_output_file moved to nt.c.
14155 2000-05-05 Andy Piper <andy@xemacs.org>
14157 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14158 instance from the frame cache also since GC may catch up too late
14159 to make frame deletion sane.
14161 2000-05-04 Andy Piper <andy@xemacs.org>
14163 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14164 (x_finalize_image_instance): ungcpro on deletion.
14166 * glyphs.c (image_instantiator_format_create): give pointers a
14167 query geometry method so that the geometry is at least set.
14169 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14170 initialize layouts if using widgets.
14172 2000-05-03 Andy Piper <andy@xemacs.org>
14174 * nt.c: remove bogus reference to sysmmsystem.h
14176 * gui-x.c (popup_selection_callback): fix no selection abort.
14178 2000-05-02 Andy Piper <andy@xemacs.org>
14180 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14181 (mswindows_widget_instantiate): ditto.
14183 * glyphs-widget.c (initialize_widget_image_instance): initialize
14184 children correctly.
14185 (widget_instantiate): cope with children and items in the same
14188 * glyphs.c (mark_image_instance): cope with children as a first
14190 (image_instance_equal): ditto.
14191 (image_instance_hash): ditto.
14192 (image_instance_changed): ditto.
14194 2000-04-30 Andy Piper <andy@xemacs.org>
14196 * glyphs.c (subwindow_query_geometry): new function. Return some
14198 (subwindow_instantiate): don't assign dimensions if none have been
14200 (image_instantiator_format_create): add subwindow_query_geometry.
14201 (print_image_instance): cope with layouts as widgets.
14203 2000-04-29 Andy Piper <andy@xemacs.org>
14205 * frame.c (delete_frame_internal): call
14206 free_frame_subwindow_instance_cache so that all subwindows are
14207 finalized before their parent.
14208 (mark_frame): remove subwindow_cachels.
14209 (Fmake_frame): remove subwindow_cachel manipulation.
14210 (allocate_frame_core): subwindow_instance_cache is a weak list.
14211 (delete_frame_internal): set subwindow_instance_cache to nil.
14213 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14215 (mswindows_finalize_image_instance): use the device
14216 not the domain as the domain may have died already.
14218 * glyphs-x.c (x_finalize_image_instance): ditto.
14219 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14222 * redisplay-output.c (redisplay_unmap_subwindows): update for
14223 subwindow instance cache as a weak list.
14224 (redisplay_unmap_subwindows_maybe): ditto.
14225 (redisplay_unmap_subwindows_except_us): ditto.
14227 * glyphs.c (unmap_subwindow): error checking will check the domain
14228 so don't deal with it here. Don't use cachels anymore.
14229 (map_subwindow): ditto.
14230 (update_subwindow_cachel_data): remove old accessor names.
14231 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14232 (Fresize_subwindow): don't update cachel.
14233 (mark_subwindow_cachels):
14234 (update_subwindow_cachel_data):
14235 (add_subwindow_cachel):
14236 (get_subwindow_cachel_index):
14237 (update_subwindow_cachel):
14238 (reset_subwindow_cachels):
14239 (mark_subwindow_cachels_as_not_updated): deleted.
14240 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14241 subwindow instance to the frame cache.
14242 (find_matching_subwindow): update for subwindow instance cache as
14244 (update_widget_instances): ditto.
14245 (image_instance_type_to_mask):inlined.
14246 (free_frame_subwindow_instance_cache): new function. finalize all
14247 subwindows that are instantiated.
14249 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14250 of cachel information.
14251 (IMAGE_INSTANCE_DISPLAY_X):
14252 (IMAGE_INSTANCE_DISPLAY_Y):
14253 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14254 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14255 (XIMAGE_INSTANCE_DISPLAY_X):
14256 (XIMAGE_INSTANCE_DISPLAY_Y):
14257 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14258 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14259 remove subwindow_cachel structure and function references.
14260 (image_instance_type_to_mask): inline from glyphs.c
14262 * redisplay.c (redisplay_frame): remove subwindow_cachel
14265 * frame.h (struct frame): remove subwindow_cachels.
14266 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14268 * frameslots.h: add subwindow_instance_cache.
14270 * window.c (replace_window): check subwindow cache of replacement.
14271 (window_unmap_subwindows_cache_mapper):
14272 (window_unmap_subwindows): new functions. Unmap all subwindows
14273 cached on this window.
14274 (mark_window_as_deleted): unmap all subwindows.
14276 2000-04-27 Andy Piper <andy@xemacs.org>
14278 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14280 * glyphs-widget.c (widget_layout): return something.
14281 (layout_layout): return something. Fail if not initialized.
14282 (layout_query_geometry): ditto.
14283 (image_instantiator_native_layout): new function. Initialized the
14284 native layout type.
14285 (widget_instantiate): don't do layout stuff here.
14287 * glyphs.c (instantiate_image_instantiator): reorded calling or
14288 instantiate and post_instantiate with layout in between.
14289 (image_instance_layout): be more selective about deciding whether
14290 the layout has been done or not.
14292 * glyphs.h (struct image_instantiator_methods): return a value
14293 from layout_method.
14295 2000-04-26 Andy Piper <andy@xemacs.org>
14297 * glyphs.c (allocate_image_instance): make initial width and
14298 height unspecified. Set initialized to 0.
14300 * syscommctrl.h new file. Encapsulates commctrl.h.
14302 * syswindows.h new file. Encapsulates windows.h.
14304 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14306 * console-msw.h: ditto.
14308 * redisplay-tty.c (tty_output_display_block): remove layout references.
14310 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14311 window handle rather than just the frame.
14313 * glyphs.c (mark_image_instance): remove layout references.
14314 (print_image_instance): ditto.
14315 (image_instance_equal): ditto.
14316 (image_instance_hash): ditto.
14317 (decode_image_instance_type): ditto.
14318 (encode_image_instance_type): ditto.
14319 (image_instantiate): ditto.
14320 (allocate_glyph): ditto.
14321 (Fimage_instance_height): ditto.
14322 (Fimage_instance_width): ditto.
14323 (update_subwindow): ditto.
14325 * redisplay-x.c (x_output_display_block): recode for layouts as
14328 * redisplay-output.c (redisplay_output_layout): recode for layouts
14330 (compare_runes): remove layout references.
14332 * redisplay-msw.c (mswindows_output_display_block): recode for
14333 layouts as widgets.
14335 * glyphs-widget.c (image_instantiator_layout): remove
14336 layout_possible_dest_types.
14337 (layout_possible_dest_types): deleted.
14339 * glyphs.h (image_instance_type): remove layout references.
14340 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14341 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14342 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14344 2000-04-25 Andy Piper <andy@xemacs.org>
14346 * glyphs-widget.c (image_instantiator_buttons):
14347 (image_instantiator_edit_fields):
14348 (image_instantiator_combo_box):
14349 (image_instantiator_scrollbar):
14350 (image_instantiator_progress_guage):
14351 (image_instantiator_tree_view):
14352 (image_instantiator_tab_control):
14353 (image_instantiator_labels):
14354 (image_instantiator_layout): call default post_instantiate method.
14355 (widget_post_instantiate): new function. Simply lays out the
14358 * glyphs.h (struct image_instantiator_methods): add
14359 post_instantiate method.
14361 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14364 2000-04-23 Andy Piper <andy@xemacs.org>
14366 * glyphs.h (struct image_instantiator_methods): add
14367 decode_domain_method.
14368 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14369 derived from the domain.
14370 (IMAGE_INSTANCE_FRAME): new accessor.
14371 (XIMAGE_INSTANCE_FRAME): ditto.
14373 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14374 instead of _SUBWINDOW_FRAME.
14375 (finalize_image_instance): ditto.
14376 (Fimage_instance_foreground): ditto.
14377 (Fimage_instance_background): ditto.
14378 (image_instantiate): ditto.
14379 (update_subwindow_cachel): ditto.
14380 (update_subwindow): ditto.
14381 (unmap_subwindow): ditto.
14382 (map_subwindow): ditto
14383 (subwindow_instantiate): ditto.
14384 * glyphs-msw.c (mswindows_update_widget): ditto.
14385 (mswindows_progress_gauge_instantiate): ditto.
14386 (mswindows_tab_control_update): ditto.
14387 * glyphs-x.c (x_update_widget): ditto.
14388 (x_widget_instantiate): ditto.
14389 (x_tab_control_instantiate): ditto.
14390 (x_tab_control_update): ditto.
14391 * event-msw.c (mswindows_wnd_proc): ditto
14393 * glyphs-widget.c (image_instantiator_layout): use
14394 subwindow_decode_domain.
14395 (image_instantiator_buttons): ditto.
14396 (image_instantiator_edit_fields): ditto.
14397 (image_instantiator_combo_box): ditto.
14398 (image_instantiator_scrollbar): ditto.
14399 (image_instantiator_progress_guage): ditto.
14400 (image_instantiator_tree_view): ditto.
14401 (image_instantiator_tab_control): ditto.
14402 (image_instantiator_labels): ditto.
14403 (image_instantiator_layout): ditto.
14405 * glyphs.c: add instance error checking to many functions.
14406 (instantiate_image_instantiator): decode device from cache_domain.
14407 (image_instantiate): partially rewrite by using
14408 decode_image_instantiator_domain to determine what domain the
14409 instance needs to be cached in.
14410 (decode_image_instantiator_domain): new function. Determine what
14411 domain the image needs to be cached in.
14412 (check_window_subwindow_cache): new error checking function.
14413 (check_instance_cache_mapper): ditto.
14414 (check_image_instance_structure): ditto.
14415 (subwindow_decode_domain): new function. Encodes a window as a
14416 subwindow's cache domain.
14417 (image_instantiator_format_create): use it for text and
14420 2000-04-21 Andy Piper <andy@xemacs.org>
14422 * glyphs.c (image_instance_device): new function.
14423 (image_instance_frame): new function.
14424 (image_instance_window): new function.
14425 (image_instance_live_p): new function.
14427 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14430 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14431 (IMAGE_INSTANCE_DOMAIN): new accessor.
14432 (XIMAGE_INSTANCE_DOMAIN): ditto.
14434 * glyphs-x.c (x_finalize_image_instance): device->domain.
14436 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14437 (mswindows_finalize_image_instance): ditto.
14439 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14440 (gif_instantiate): ditto.
14441 (png_instantiate): ditto.
14442 (tiff_instantiate): ditto.
14444 * glyphs.c (instantiate_image_instantiator): use domain rather
14446 (mark_image_instance): device -> domain.
14447 (print_image_instance): ditto.
14448 (finalize_image_instance): ditto.
14449 (image_instance_equal): ditto.
14450 (allocate_image_instance): ditto.
14451 (Fcolorize_image_instance): ditto.
14452 (query_string_geometry): ditto.
14453 (image_instantiate): ditto
14454 (query_string_font): ditto.
14455 (image_instantiate): ditto.
14456 (update_subwindow): ditto.
14457 (unmap_subwindow): ditto.
14458 (map_subwindow): ditto.
14459 (subwindow_instantiate): ditto.
14461 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14462 (DOMAIN_FRAME): ditto.
14463 (DOMAIN_WINDOW): ditto.
14464 (DOMAIN_LIVE_P): ditto.
14465 (XDOMAIN_DEVICE): ditto.
14466 (XDOMAIN_FRAME): ditto.
14467 (XDOMAIN_WINDOW): ditto.
14469 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14470 a valid specifier domain.
14472 2000-04-19 Andy Piper <andy@xemacs.org>
14474 * glyphs-widget.c (syms_of_glyphs_widget): remove
14475 widget-callback-current-channel.
14476 (vars_of_glyphs_widget): ditto.
14479 * gui.c (get_gui_callback): revert to previous behaviour.
14481 2000-04-18 Andy Piper <andy@xemacs.org>
14483 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14484 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14485 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14487 * glyphs.c (image_instance_equal): add margin_width.
14488 (image_instance_hash): ditto.
14490 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14491 (layout_query_geometry): ditto.
14492 (layout_layout): ditto.
14493 (syms_of_glyphs_widget): add margin-width.
14494 (image_instantiator_layout): allow margin-width.
14496 * glyphs.c (update_widget_instances): make a normal function.
14497 (syms_of_glyphs): remove Qupdate_widget_instances.
14500 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14501 so that we don't corrupt ideas about the last event or
14502 command. Remove widget-callback-current-channel fiddling.
14503 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14505 2000-05-01 Martin Buchholz <martin@xemacs.org>
14507 * XEmacs 21.2.33 is released.
14509 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14511 * make-src-depend: Allow dots in header file name.
14513 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14515 * mule-charset.h (struct charset_lookup): Add
14516 next_allocated_1_byte_leading_byte and
14517 next_allocated_2_byte_leading_byte.
14518 * mule-charset.c: Move above two variables so that those values
14521 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14523 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14524 when string length is zero.
14525 (find_charsets_in_emchar_string): Ditto.
14527 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14529 * lisp.h: extern Qdialog and Qmenubar.
14531 * gui-x.c: added events.h.
14532 also fixed typo which made the file uncompilable.
14534 * general.c: Added Qmenubar and Qdialog
14536 2000-04-28 Ben Wing <ben@xemacs.org>
14538 * frame-msw.c (mswindows_init_frame_1):
14539 * frame-msw.c (mswindows_mark_frame):
14540 * event-msw.c (mswindows_enqueue_dispatch_event):
14542 * console-msw.h (struct mswindows_frame):
14543 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14544 there are now three hash tables for callbacks.
14545 mswindows_enqueue_dispatch_event is no longer static.
14547 * dialog-x.c (maybe_run_dbox_text_callback):
14548 * dialog-x.c (dbox_descriptor_to_widget_value):
14549 switch to new cons3 form for callbacks.
14551 * glyphs-msw.c (mswindows_register_gui_item):
14552 * glyphs-msw.c (mswindows_widget_instantiate):
14553 * glyphs-msw.c (add_tree_item):
14554 * glyphs-msw.c (add_tab_item):
14555 new image instance parameter, so it can be passed to callback-ex.
14556 respect :callback-ex as well as :callback.
14558 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14561 * glyphs.c (print_image_instance):
14562 prettify, e.g. now prints widget type.
14565 certain funs have new image instance parameter.
14568 * gui.c (get_gui_callback):
14569 * gui.c (gui_item_add_keyval_pair):
14570 * gui.c (gui_item_init):
14571 * gui.c (gui_add_item_keywords_to_plist):
14572 * gui.c (mark_gui_item):
14573 * gui.c (gui_item_hash):
14574 * gui.c (gui_item_equal):
14575 * gui.c (copy_gui_item):
14576 * gui.c (syms_of_gui):
14577 recognize callback-ex in a number of places.
14578 also, fix the annoying "can't get out of yes-no dialog" bug.
14581 * gui.h (struct Lisp_Gui_Item):
14582 recognize callback-ex in a number of places.
14584 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14585 new parameter in button_item_to_widget_value.
14587 * glyphs-x.c (x_update_widget):
14588 * glyphs-x.c (x_button_instantiate):
14589 * glyphs-x.c (x_button_update):
14590 * glyphs-x.c (x_progress_gauge_instantiate):
14591 * glyphs-x.c (x_edit_field_instantiate):
14592 * glyphs-x.c (x_combo_box_instantiate):
14593 * glyphs-x.c (x_tab_control_instantiate):
14594 * glyphs-x.c (x_label_instantiate):
14595 new image instance parameter in various places.
14598 * event-Xt.c (enqueue_Xt_dispatch_event):
14599 this fun gets exported.
14602 * gui-msw.c (mswindows_handle_gui_wm_command):
14603 handle both :callback and :callback-ex, and generate our own
14604 event because it's one of the callback-ex arguments.
14607 * gui-x.c (popup_selection_callback):
14608 handle both :callback and :callback-ex, and generate our own
14609 event because it's one of the callback-ex arguments.
14610 * gui-x.c (button_item_to_widget_value):
14611 * gui-x.c (gui_items_to_widget_values_1):
14612 * gui-x.c (gui_item_children_to_widget_values):
14613 * gui-x.c (gui_items_to_widget_values):
14614 new image instance parameter in various places.
14616 * fns.c (Freplace_list):
14617 fix small typo in doc string.
14620 declare enqueue_Xt_dispatch_event.
14622 2000-04-28 Ben Wing <ben@xemacs.org>
14625 * buffer.c (Frecord_buffer):
14626 * buffer.c (syms_of_buffer):
14627 delete record-buffer-hook.
14630 * fns.c (Freplace_list):
14631 * fns.c (syms_of_fns):
14632 new primitive replace-list.
14635 slot for old buffer-alist.
14638 exfun replace-list.
14641 * redisplay.c (redisplay_frame):
14642 * redisplay.c (syms_of_redisplay):
14643 * redisplay.c (vars_of_redisplay):
14644 new hook buffer-list-changed-hook.
14647 2000-04-27 Ben Wing <ben@xemacs.org>
14649 * extents.h: extern in_modeline_generation.
14651 * redisplay.c (generate_formatted_string_db): set
14652 in_modeline_generation.
14654 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14655 flags if in modeline generation. otherwise frame-modified-tick
14656 is ticked far too often.
14657 Declare in_modeline_generation.
14659 2000-04-26 Ben Wing <ben@xemacs.org>
14661 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14663 (vars_of_emacs): add quick-build as an error-checking option.
14664 A bit kludgy, but there doesn't seem much point in creating
14665 a real var for this.
14667 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14669 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14671 * redisplay.h (struct display_line): Add a new variable,
14674 * redisplay.c (create_text_block): Set dl->line_continuation if
14675 the line continues.
14676 (create_string_text_block): Ditto.
14677 (regenerate_window_incrementally): Use line_continuation instead
14678 of searching continuation glyph.
14679 (add_margin_runes): Call add_glyph_rune.
14680 (add_glyph_rune): Handle margin glyph.
14682 2000-04-20 Martin Buchholz <martin@xemacs.org>
14684 * filelock.c (fill_in_lock_file_name):
14686 Check for IS_ANY_SEP instead of '/'.
14688 Avoid generating gratuitous garbage. Call user_login_name() directly.
14689 Never check errno without first seeing that system call failed.
14690 (unlock_file): Add GCPRO.
14691 (Flock_buffer): Fix docstring.
14692 (Ffile_locked_p): Fix docstring. Add GCPRO.
14694 2000-04-19 Martin Buchholz <martin@xemacs.org>
14696 * sysdep.c (get_pty_max_bytes):
14697 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14698 strings longer than 252 bytes.
14700 * md5.c: Unconditionally include ANSI header <limits.h>
14702 * glyphs-x.c (convert_EImage_to_XImage):
14703 * lisp-union.h (union Lisp_Object):
14704 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14706 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14708 * filelock.c (current_lock_owner): Remove unused variable o, p.
14710 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14712 * callint.c: Remove multiply defined symbol Qlet
14713 (syms_of_callint): ditto.
14715 2000-04-14 Andy Piper <andy@xemacs.org>
14717 * general.c (syms_of_general): add last-command, this-command, let
14720 * lisp.h: declare various symbols.
14722 * glyphs.h: declare Qwidget_callback_current_channel;
14724 * glyphs-widget.c (syms_of_glyphs_widget): add
14725 Qgui_callback_current_channel.
14726 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14728 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14729 widget-callback-current-channel when invoking the interactive
14730 arg. Also bind last-command and next-command when invoking the
14732 * gui-x.c (popup_selection_callback): ditto.
14734 * gui.c (get_gui_callback): massage args so that we are always
14735 calling eval. This allows us to add our own variable bindings
14738 * glyphs-x.c (x_button_instantiate): use
14739 gui_items_to_widget_values since this is GC safe.
14740 (x_progress_gauge_instantiate): ditto.
14741 (x_edit_field_instantiate): ditto.
14742 (x_label_instantiate): ditto.
14744 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14745 (emacs_Xt_event_widget_focus_out): new function
14746 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14748 (emacs_Xt_event_add_widget_actions): new function. add focus
14749 functions as actions.
14750 (init_event_Xt_late): use it.
14752 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14754 * event-stream.c (Fdispatch_event): Doc fix.
14756 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14758 * postgresql.c: Remove all references to PQsetenv*.
14760 * postgresql.h: Remove references to PGsetenvHandler object.
14761 * lrecord.h (lrecord_type): Ditto.
14763 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14765 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14766 real_heigh and real_width members, and accessor macros for these.
14768 * glyphs-msw.c (init_image_instance_geometry): New function.
14769 (init_image_instance_from_dibitmap): Use it.
14770 (mswindows_resource_instantiate): Use it.
14771 (init_image_instance_from_xbm_inline): Use it.
14772 (mswindows_initialize_image_instance_mask): Use real bitmap
14774 (mswindows_create_resized_bitmap): Ditto.
14775 (mswindows_create_resized_mask): Ditto.
14777 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14778 and bitmap to their surface size.
14780 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14782 * process-unix.c (unix_send_process): Guard against process MIA
14783 after Faccept_process_output.
14785 2000-04-11 Ben Wing <ben@xemacs.org>
14787 * eval.c (unbind_to_hairy): fix brokenness introduced by
14788 nanosecond speed improvements.
14790 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14792 * sunplay.c (init_device): To play sounds correctly, the device
14793 apparently needs to be initialized at least once by XEmacs. Make
14796 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14798 * redisplay.c (add_margin_runes): Add text image glyph
14801 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14803 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14804 gcc is newer than 2.5.
14806 2000-04-06 Colin Rafferty <colin@xemacs.org>
14808 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14810 * fns.c (size_bit_vector):
14811 * alloc.c (size_vector):
14812 (make_vector_internal):
14813 (make_bit_vector_internal):
14814 (sweep_bit_vectors_1):
14815 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14817 2000-04-06 Andy Piper <andy@xemacs.org>
14819 * gmalloc.c (malloc): undo previous change.
14824 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14826 * line-number.c (buffer_line_number): Revert to former version.
14828 2000-04-06 Andy Piper <andy@xemacs.org>
14830 * gmalloc.c (malloc): add error checking.
14835 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14836 button_item_to_widget_value arg.
14838 * glyphs-x.c (x_button_instantiate): add extra
14839 button_item_to_widget_value arg.
14840 (x_progress_gauge_instantiate): ditto.
14841 (x_edit_field_instantiate): ditto.
14842 (x_label_instantiate): ditto.
14844 * gui-x.c (gui_items_to_widget_values_1): add extra
14845 button_item_to_widget_value arg.
14846 (button_item_to_widget_value): add extra menu_item_p arg.
14848 * gui-x.h: change signature of button_item_to_widget_value.
14850 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14851 button_item_to_widget_value arg.
14853 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14855 * buffer.h (struct buffer): auto_save_modified should be long.
14857 2000-04-05 Andy Piper <andy@xemacs.org>
14859 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14861 (button_query_geometry): give a little more room so that athena
14864 2000-04-05 Andy Piper <andy@xemacs.org>
14866 * faces.c (complex_vars_of_faces): The widget face should inherit
14867 the font of the gui-element face.
14869 2000-04-04 Andy Piper <andy@xemacs.org>
14871 * glyphs-x.c (x_button_update): new function. unconditionally
14872 update a button's state when the instance is dirty.
14873 (image_instantiator_format_create_glyphs_x): add x_button_update.
14874 (x_widget_instantiate): remove old resize cruft.
14876 2000-04-02 Andy Piper <andy@xemacs.org>
14878 * frame.c (change_frame_size_1): The introduction of gutters means
14879 that we need to allow 0 as a potential frame dimension.
14881 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14883 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14884 image glyph if allow_cursor.
14885 (add_hscroll_rune): Don't allow cursor to border glyph.
14886 (create_text_block): Ditto.
14888 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14889 text not in buffer.
14890 (redisplay_output_layout): Call ensure_face_cachel_complete for
14894 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14896 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14898 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14901 * redisplay-tty.c (tty_output_display_block): Delete the routine
14902 for text image glyph
14903 * redisplay-x.c (x_output_display_block): ditto
14904 * redisplay-msw.c (mswindows_output_display_block): ditto
14906 2000-02-02 Mike Alexander <mta@arbortext.com>
14908 Note: Some of these were committed by accident as part of other
14911 * regex.c (regex_compile): Avoid compiler warnings.
14913 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14915 * nt.h: Declare term_ntproc correctly.
14917 * nt.c: Remove incorrect declaration of get_home_directory which
14918 is declared correctly in lisp.h.
14920 * keymap.c (get_keyelt): Avoid compiler warnings.
14921 (raw_lookup_key_mapper): Avoid compiler warnings.
14923 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14925 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14927 * filemode.c (mode_string): Avoid compiler warnings.
14929 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14932 * events-mod.h: Undef some things that winuser.h defines differently.
14934 * data.c (Faset): Avoid compiler warnings.
14936 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14938 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14940 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14941 Fall through to simple beep on error.
14942 Replace "extern" by real header file.
14944 * linuxplay.c: Use nativesound.h
14945 (play_sound_data): Return error code. Be less verbose on error.
14947 * sunplay.c: Use nativesound.h
14948 (play_sound_data): Return error code. Be less verbose on error.
14950 * ntplay.c: Use nativesound.h
14951 (play_sound_data): Return fake error code
14953 * sgiplay.c: Use nativesound.h
14954 (play_sound_data): Return error code
14956 * hpplay.c: Use nativesound.h, partially implement
14957 new error code. Break compilation until finished.
14958 (play_sound_data): error code.
14960 * nativesound.h (play_sound_file):
14961 (play_sound_data): Prototype in new header.
14963 2000-03-31 Andy Piper <andy@xemacs.org>
14965 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14966 for toggle and radio buttons.
14967 (image_instantiator_buttons): use it.
14969 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14971 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14972 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14973 found. Scrollbar event probably belonged to some old config.
14975 2000-03-31 Andy Piper <andy@xemacs.org>
14977 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14979 (initialize_widget_image_instance): default layout to
14980 LAYOUT_HORIZONTAL rather than 0.
14981 (widget_instantiate): reverse the item list at the end rather than
14983 (layout_layout): re-code for the border text at the front of the
14984 item list rather than at the end.
14985 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14986 provided by the user.
14987 (widget_query_geometry): comment.
14989 2000-03-30 Andy Piper <andy@xemacs.org>
14991 * glyphs-widget.c (image_instantiator_layout): allow standard
14992 widget keywords in layouts.
14994 * gutter.c (output_gutter): cope with nil gutter contents.
14996 * frame.c (Fset_frame_properties): add gutter docs.
14998 2000-03-29 Andy Piper <andy@xemacs.org>
15000 * toolbar-msw.c (TBSTYLE_FLAT): add.
15001 (mswindows_output_toolbar): minor fiddling.
15003 2000-03-29 Andy Piper <andy@xemacs.org>
15005 * gutter.c (output_gutter): force gutter size recalculation if
15006 what we are trying to display won't fit.
15007 (update_gutter_geometry): new function. A per-gutter version of
15008 update_frame_gutter_geometry.
15009 (update_frame_gutter_geometry): use it.
15010 (redraw_exposed_gutter): add extra debugging output.
15012 2000-03-28 Mike Alexander <mta@arbortext.com>
15014 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15015 (pdump_file_unmap): Implement it on Windows
15016 (pdump_file_get): Save alocated handles for pdump_file_unmap
15018 2000-03-28 Andy Piper <andy@xemacs.org>
15020 * gui.c (get_gui_callback): treat Quit specially.
15022 2000-03-27 Andy Piper <andy@xemacs.org>
15024 * glyphs.c (image_instantiate): be careful to check in the same
15027 2000-03-27 Didier Verna <didier@xemacs.org>
15029 * config.h.in: define the proper SMART_INCLUDE macro.
15030 handle renaming of `foo_h_path' to `foo_h_file'.
15032 * database.c: ditto.
15036 * linuxplay.c: ditto.
15038 * terminfo.c: ditto.
15040 * tooltalk.h: ditto.
15042 2000-03-27 Andy Piper <andy@xemacs.org>
15044 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15045 gets updated whenever the face might have changed.
15047 2000-03-26 Mike Alexander <mta@arbortext.com>
15049 * dumper.c (pdump_resource_free): Fix the comment.
15051 2000-03-21 Olivier Galibert <galibert@pobox.com>
15053 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15055 2000-03-22 Mike Alexander <mta@arbortext.com>
15057 * dumper.c: Include Windows headers on Windows
15058 (pdump_resource_free): Add a body to the function
15059 (pdump_load): exe_name -> exe_path and add some comments.
15061 2000-03-25 Mike Alexander <mta@arbortext.com>
15063 * gui.c (copy_gui_item_tree): Return a value in all cases
15065 2000-03-21 Didier Verna <didier@xemacs.org>
15067 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15069 (SMART_INCLUDE): new macro.
15070 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15071 the proper location.
15073 * postgresql.c: use it.
15077 2000-03-24 Andy Piper <andy@xemacs.org>
15079 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15082 2000-03-24 Andy Piper <andy@xemacs.org>
15084 * redisplay-output.c (compare_runes): use image_instance_changed
15085 to detect changes. Do not depend on glyphs_changed, only depend on
15087 (redisplay_output_layout): add debug messages.
15088 (compare_runes): ditto.
15090 * glyphs.h: declare new functions.
15091 (struct Lisp_Image_Instance): remove percent and associated
15094 * gui.h: declare new copying functions.
15096 * gui.c (copy_gui_item_tree): new function.
15097 (copy_gui_item): new function.
15098 (gui_item_id_hash): revert to standard hash.
15099 (gui_item_hash): ditto.
15100 (gui_item_hash_internal): deleted.
15101 (mark_gui_item): mark value.
15102 (gui_item_add_keyval_pair): add value.
15103 (gui_item_init): ditto.
15104 (gui_add_item_keywords_to_plist): ditto.
15105 (gui_item_equal): ditto.
15106 (syms_of_gui): add Q_value.
15108 * glyphs-x.c (x_progress_gauge_update): use pending items and
15109 value for setting the state.
15110 (x_update_widget): don't set items from pending here.
15112 * glyphs-widget.c (update_widget): update items here.
15113 (progress_gauge_set_property): use items for storing value. Put
15114 new value in pending items.
15116 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15117 items for new value. Convert percent -> value.
15118 (mswindows_tab_control_update): don't update items here.
15120 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15121 (update_subwindow): ditto.
15122 (image_instance_changed): new function. Compare hash values and
15123 past and present widget items.
15124 (image_instantiate): We more careful about where we instantiate
15126 (image_instantiate): add error checking.
15128 * gutter.c (syms_of_gutter): use -hook.
15130 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15132 * console-tty.c (Fset_console_tty_input_coding_system): Use
15134 (Fset_console_tty_output_coding_system): Use Qterminal.
15135 (tty_init_console): Use Qkeyboard and Qterminal.
15137 2000-03-21 Ben Wing <ben@xemacs.org>
15139 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15140 From Mike Alexander <mta@arbortext.com>.
15142 2000-03-21 Ben Wing <ben@xemacs.org>
15144 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15145 process brokenness. Proper implementation to come.
15147 Rename call-process-internal to old-call-process-internal.
15148 New impl. in process.el.
15150 2000-03-21 Martin Buchholz <martin@xemacs.org>
15152 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15154 2000-03-20 Andy Piper <andy@xemacs.org>
15156 * glyphs.c (full_list_hash): make hashes of the same elements in
15157 different orders return different values.
15159 2000-03-20 Martin Buchholz <martin@xemacs.org>
15161 * XEmacs 21.2.32 is released.
15163 2000-03-20 Martin Buchholz <martin@xemacs.org>
15165 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15166 (DFC_MALLOC_USE_CONVERTED_DATA):
15167 Add aliasing-safe casts to allow use with char* or unsigned char*
15170 * eldap.c (Fldap_open):
15171 (Fldap_search_basic):
15174 Make C++-compilable.
15175 Make sure GCPRO'ed variables are initialized.
15176 Use temp variables to avoid repeated calls to Flength.
15178 2000-03-16 Martin Buchholz <martin@xemacs.org>
15181 Make sure PATH_MAX is always defined.
15182 Include limits.h for PATH_MAX.
15183 Deprecate use of MAXPATHLEN.
15185 2000-03-10 Martin Buchholz <martin@xemacs.org>
15187 * emacs.c: Add reinit_vars_of_fileio.
15188 * symsinit.h: Add reinit_vars_of_fileio.
15189 * fileio.c (reinit_vars_of_fileio): New.
15190 * fileio.c (Fmake_temp_name):
15191 Initialize temp_name random number from microseconds to make
15192 collisions even less likely. Initialize always at process startup
15193 time. (make-temp-name) used to return the same file name twice in
15195 Random stylistic fiddling.
15198 2000-03-20 Andy Piper <andy@xemacs.org>
15200 * glyphs.c (image_instantiate): allow text glyphs to be
15201 instantiated in the minibuffer window.
15203 2000-03-19 Andy Piper <andy@xemacs.org>
15205 * glyphs.c (image_instance_hash): be careful about which items we
15208 * glyphs-widget.c (tab_control_set_property): record into pending
15209 items rather than the actual items.
15211 * glyphs-x.c (x_update_widget): use pending items to update with.
15213 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15216 * glyphs.c (mark_image_instance): mark pending items.
15218 * window.c (Fset_window_configuration): record the buffer.
15219 (Fselect_window): totally revert previous change which breaks many
15222 2000-03-18 Andy Piper <andy@xemacs.org>
15224 * glyphs-msw.c (mswindows_tab_control_update): force selected
15227 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15228 window domain cache, otherwise we get inconsistencies at
15229 startup. There is something fishy at startup which can lead to the
15230 minibuffer being the selected window when the gutter content is
15233 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15235 (parse_gui_item_tree_children): ditto.
15236 (parse_gui_item_tree_item): ditto.
15238 * glyphs.c (Fupdate_widget_instances): return something.
15240 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15242 * window.c (Fselect_window): Undo 2000-03-17 change.
15244 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15246 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15247 against v7.0 libraries. Insta-coredump city until the postgres
15250 2000-03-17 Andy Piper <andy@xemacs.org>
15252 * faces.c (complex_vars_of_faces): don't give the widget face an
15253 inherited background pixmap.
15255 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15258 * event-stream.c (Fdispatch_non_command_events): return something.
15260 * gutter.c (output_gutter): use widget face.
15261 (clear_gutter): ditto.
15263 * NEWS: adjust again.
15265 * window.c (Fselect_window): make sure this runs to completion to
15266 avoid oddities with Fset_window_configuration.
15267 (Fcurrent_window_configuration): in general do not save the
15268 minibuffer as the selected window.
15270 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15272 2000-03-16 Olivier Galibert <galibert@pobox.com>
15274 * emacs.c (Frunning_temacs_p): Revert previous patch.
15275 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15277 2000-03-16 Andy Piper <andy@xemacs.org>
15279 * glyphs-x.c (x_tab_control_update): if no widget values then
15282 * NEWS: update for new features.
15284 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15285 synthetic event to the native system.
15286 (reinit_vars_of_event_Xt): set force_event_pending to
15287 emacs_Xt_force_event_pending.
15289 * events.h (struct event_stream): add force_event_pending.
15291 * specifier.c (recompute_one_cached_specifier_in_window): add
15294 * redisplay.c (redisplay_frame): don't call
15295 update_frame_subwindows. Reset subwindow cachels when
15296 subwindows_changed, removing this was an optimization too far.
15298 * redisplay-output.c (compare_runes): reorganize so that we catch
15299 glyph changes when we want them. Set optimize_output when this
15300 would help layouts.
15301 (redisplay_output_layout): remove frame_really_changed, use
15302 optimize_output instead.
15304 * redisplay-msw.c (mswindows_output_display_block): reset
15305 optimize_output after outputting a glyph.
15306 * redisplay-x.c (x_output_display_block): ditto.
15307 * redisplay-tty.c (tty_output_display_block): ditto.
15309 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15311 (gutter_specs_changed): do specific gutter positions.
15312 (top_gutter_specs_changed): new function. Only update the
15313 specified gutter specs.
15314 (bottom_gutter_specs_changed): ditto.
15315 (left_gutter_specs_changed): ditto.
15316 (right_gutter_specs_changed): ditto.
15318 * gui.c (gui_item_hash_internal): new function, does a real hash.
15319 (gui_item_id_hash): use it.
15320 (gui_item_hash): hash the eval'ed gui_item.
15322 * gui-x.c (popup_selection_callback): send an eval event to call
15323 Fupdate_widget_instances.
15325 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15326 to call Fupdate_widget_instances.
15328 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15329 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15331 * glyphs.c: (update_frame_subwindows): deleted.
15332 (Fupdate_widget_instances): new function for updating the dirty
15333 state of widgets that might have changed.
15334 (syms_of_glyphs): add Qupdate_widget_instances.
15335 (full_list_hash): hash a list completely.
15336 (image_instance_hash): use it for items and properties.
15338 * frame-msw.c (mswindows_size_frame_internal): remove unused
15341 * faces.h (struct face_cachel): fix comment.
15343 * event-stream.c (Fdispatch_non_command_events): new
15344 function. Process non-command events, forcing an event cycle
15346 (syms_of_event_stream): declare.
15347 (event_stream_force_event_pending): new function. Force an event
15348 on the native event queue so that an event cycle will occur next
15352 (struct ntpipe_shove_stream):
15353 (mswindows_enqueue_dispatch_event):
15354 (mswindows_dequeue_dispatch_event):
15355 (mswindows_cancel_dispatch_event):
15356 (mswindows_pump_outstanding_events):
15357 (mswindows_drain_windows_queue):
15358 (mswindows_handle_paint):
15359 (mswindows_wnd_proc):
15360 (mswindows_key_to_emacs_keysym):
15361 (get_process_input_waitable):
15362 (emacs_mswindows_delete_stream_pair): re-indent file.
15363 (mswindows_need_event): do not process further fds if the windows
15364 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15365 fixes the 100% cpu problem.
15366 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15368 2000-03-15 Olivier Galibert <galibert@pobox.com>
15374 * emacs.c: Moved dump file searching to dumper.c.
15375 (Frunning_temacs_p): Fixed.
15377 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15378 last_lrecord_type_index_assigned.
15380 2000-02-20 Olivier Galibert <galibert@pobox.com>
15382 * symsinit.h: Added reinit parameter to init_console_stream
15385 * lisp.h: Added file parameter to pdump_load declaration.
15387 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15388 support. Added dump file searching.
15390 * config.h.in: Added EMACS_PROGNAME.
15392 * console-stream.c (init_console_stream): Fix reinitialisation
15393 when running from temacs.
15395 * alloc.c (pdump): Add id support.
15396 (pdump_load): Add file parameter and signature/id support.
15398 * Makefile.in.in: Add full pdump support.
15400 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15402 * postgresql.c: Update documentation to reflect latest code
15404 (print_result): Show tuple counts in printed representation when
15406 (Fpq_put_nbytes): MULE-ize.
15407 (Fpq_get_line_async): Ditto.
15409 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15411 * postgresql.c (Fpq_lo_import): Fix return value.
15412 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15414 2000-03-13 Ben Wing <ben@xemacs.org>
15416 * alloc.c (pdump_load):
15417 Fix compile warning under mswin.
15419 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15421 * postgresql.c: Mule-ization, bug fixes.
15422 Use PG_CODING to encapsulate coding system name changes.
15423 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15424 (pg-coding-system): Create.
15426 (Fpq_conn_defaults): Mule-ize.
15427 (Fpq_connectdb): Mule-ize & bug fix.
15428 (Fpq_connect_start): Mule-ize.
15429 (Fpq_set_client_encoding): Mule-ize.
15430 (Fpq_finish): Document `DEAD' connection status.
15431 (Fpq_clear): Ditto.
15432 (Fpq_pgconn): Mule-ize.
15433 (Fpq_exec): Mule-ize & bug fix.
15434 (Fpq_send_query): Ditto.
15435 (Fpq_get_result): Ditto.
15436 (Fpq_res_status): Mule-ize.
15437 (Fpq_result_error_message): Mule-ize.
15438 (Fpq_ntuples): fix comments.
15439 (Fpq_fname): Mule-ize.
15440 (Fpq_fnumber): Mule-ize.
15441 (Fpq_ftype): fix comments.
15442 (Fpq_get_value): Mule-ize.
15443 (Fpq_cmd_status): Ditto.
15444 (Fpq_cmd_tuples): Ditto.
15445 (Fpq_oid_value): Ditto.
15446 (Fpq_notifies): Ditto.
15447 (Fpq_lo_import): Ditto.
15448 (Fpq_lo_export): Ditto.
15449 (Fpq_get_line): Ditto.
15450 (Fpq_put_line): Mule-ize and bug fix.
15451 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15453 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15455 * postgresql.c (vars_of_postgresql): Mule-ize.
15456 (Fpq_conn_defaults): Ditto.
15458 2000-03-12 Ben Wing <ben@xemacs.org>
15460 * alloc.c (Fmake_byte_code):
15461 * alloc.c (debug_string_purity_print):
15462 * alloc.c (pdump_backtrace):
15463 * alloc.c (pdump_get_indirect_count):
15464 * alloc.c (pdump_register_sub):
15465 * alloc.c (pdump_register_object):
15466 * alloc.c (pdump_register_struct):
15467 * alloc.c (pdump_dump_data):
15468 * alloc.c (pdump_reloc_one):
15472 * console-msw.c (GetConsoleHwnd):
15473 * console-msw.c (msw_hide_console):
15474 * console-msw.c (msw_show_console):
15475 * console-msw.c (msw_ensure_console_buffered):
15476 * console-msw.c (msw_output_console_string):
15477 * console-msw.c (console_type_create_mswindows):
15479 a) Added functions to manipulate the console window for use with
15482 b) Added support for writing text to the console, which is now
15483 used under Windows when xemacs is not being run non-interactively,
15484 to write text that would otherwise be destined for stdout because
15485 under these circumstances, text written to stdout tends to
15486 disappear and not be seen.
15490 * event-Xt.c (x_event_to_emacs_event):
15491 * event-Xt.c (describe_event_window):
15492 * events-mod.h (XEMACS_MOD_CONTROL):
15494 * events.c (Fmake_event):
15495 * events.c (character_to_event):
15496 * events.c (event_to_character):
15497 * events.c (format_event_object):
15498 * events.c (Fevent_modifiers):
15500 * events.h (struct key_data):
15501 * events.h (struct button_data):
15502 * events.h (struct misc_user_data):
15503 * frame-x.c (Fcde_start_drag_internal):
15504 * frame-x.c (Foffix_start_drag_internal):
15505 * gpmevent.c (Freceive_gpm_event):
15507 * keymap.c (bucky_sym_to_bucky_bit):
15508 * keymap.c (control_meta_superify):
15509 * keymap.c (make_key_description):
15510 * keymap.c (keymap_lookup_directly):
15511 * keymap.c (create_bucky_submap):
15512 * keymap.c (keymap_store):
15513 * keymap.c (define_key_check_and_coerce_keysym):
15514 * keymap.c (define_key_parser):
15515 * keymap.c (define_key_alternate_name):
15516 * keymap.c (Fdefine_key):
15517 * keymap.c (raw_lookup_key_mapper):
15518 * keymap.c (struct map_keymap_unsorted_closure):
15519 * keymap.c (map_keymap_unsorted_mapper):
15520 * keymap.c (map_keymap_sort_predicate):
15521 * keymap.c (map_keymap_sorted):
15522 * keymap.c (accessible_keymaps_mapper_1):
15523 * keymap.c (where_is_recursive_mapper):
15524 * keymap.c (describe_map_mapper):
15525 * keymap.c (describe_map_sort_predicate):
15526 * keymap.c (describe_map):
15527 * keymap.c (complex_vars_of_keymap):
15528 And a number of other files, the key modifier preprocessor
15529 constants that xemacs uses have names that conflict with constants
15530 defined under MS Windows for other purposes, so they were renamed
15531 to begin with the prefix XEMACS_. The variables that hold such
15532 modifiers were changed to consistently be of type int to fix
15533 various compile warnings.
15535 * console.c (complex_vars_of_console):
15538 * device-msw.c (mswindows_finish_init_device):
15539 * device-msw.c (msw_get_workspace_coords):
15540 * device-msw.c (mswindows_device_system_metrics):
15541 and various other files, added support for a new
15542 device property called offset-workspace which returns the position
15543 of the upper left corner of the workspace area and goes along with
15544 the existing size-workspace property.
15547 * dialog-msw.c (push_bufbyte_string_as_unicode):
15548 * dialog-msw.c (mswindows_popup_dialog_box):
15549 Added support for XEmacs-style accelerator specifications in
15550 button text. Note: I didn't add support for this under X Windows,
15551 and somebody needs to do this.
15554 * dialog.c (Fpopup_dialog_box):
15555 Documented the support for accelerators that was just mentioned.
15557 editfns.c (get_home_directory): Changed behavior under Windows
15558 when HOME not defined; former behavior was irretrievably broken.
15561 * emacs.c (main_1):
15563 * minibuf.c (clear_echo_area_internal):
15564 * minibuf.c (echo_area_append):
15566 * print.c (std_handle_out_external):
15567 * print.c (std_handle_out_va):
15569 * print.c (write_string_to_stdio_stream):
15570 * print.c (output_string):
15571 * print.c (debug_print):
15572 * print.c (debug_backtrace):
15573 * print.c (debug_short_backtrace):
15574 Cleaned up the code that prints text to stdout so that this can be
15575 changed to output into a console window instead under MS Windows,
15576 as described above.
15579 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15580 * eval.c (internal_catch):
15581 * eval.c (unwind_to_catch):
15582 * eval.c (throw_or_bomb_out):
15583 * eval.c (condition_case_1):
15584 * eval.c (signal_1):
15585 * eval.c (check_error_state_sanity):
15586 * eval.c (call_with_suspended_errors_1):
15587 * eval.c (call_with_suspended_errors):
15588 * eval.c (reinit_vars_of_eval):
15589 Added code to catch throw loops and check for a pesky bug that may
15593 * event-msw.c (key_needs_default_processing_p):
15594 * event-msw.c (mswindows_wnd_proc):
15595 * event-msw.c (mswindows_modifier_state):
15596 * event-msw.c (emacs_mswindows_quit_p):
15597 * event-msw.c (vars_of_event_mswindows):
15598 a) Added support for using the alt key to select menu items as is
15599 standard under MS Windows. This is controlled using the variable
15600 menu-accelerator-enabled, just like under X Windows. There is an
15601 option on the options menu to turn this support on. I really
15602 think that it should be on by default under Windows, but I'm not
15603 going to make this change yet.
15605 b) Added support for dynamic display size changes under Windows.
15608 * event-stream.c (maybe_echo_keys):
15609 * event-stream.c (Fnext_event):
15610 * event-stream.c (command_builder_find_leaf):
15611 * event-stream.c (lookup_command_event):
15612 * event-stream.c (execute_command_event):
15613 * event-stream.c (pre_command_hook):
15614 * event-stream.c (post_command_hook):
15615 * event-stream.c (syms_of_event_stream):
15616 * event-stream.c (vars_of_event_stream):
15617 * event-stream.c (complex_vars_of_event_stream):
15618 * events.h (struct command_builder):
15620 a) Tried to clean up a little bit the horribly written x-specific
15621 accelerator code that crept into this file. I moved this code
15622 into menubar-x.c where it belongs. I also needed to move the
15623 command builder structure into the file events.h because it is
15624 accessed directly by this accelerator code. What I didn't do, but
15625 which should be done at some point, is to properly abstract this
15626 code using device methods instead of the kludgy way that it
15627 currently hooks into the event code.
15629 b) Added the lisp variables this-command-properties and
15630 last-command- properties, which should be used to synchronize two
15631 adjacent commands in preference to playing games with the variable
15632 this-command, which is typically what happens.
15634 c) Added some slightly nasty code to hook into the lisp support
15635 for shifted- motion-key selection. This is actually necessary for
15636 somewhat complicated reasons, which are described in
15637 simple.el. (NB: I think the proper thing would be to have the code
15638 that calls the pre and post command hooks also call out to generic
15639 lisp functions in simple.el, where all built-in stuff could be
15640 added. I will think about this more.)
15642 * event-unixoid.c (poll_fds_for_input):
15643 * lread.c (readchar):
15644 * redisplay-tty.c (tty_clear_frame):
15645 * redisplay-x.c (x_get_gc):
15646 * signal.c (interrupt_signal):
15647 And a whole bunch of other files: fixed up places that printed
15648 directly to stderr to instead call the function stderr_out so that
15649 the changes I made under Windows work correctly.
15651 * filemode.c (mode_string):
15655 * frame-msw.c (mswindows_size_frame_internal):
15656 Fixed the computation of frame size and position to keep the frame
15657 within the workspace area, rather than within the physical
15658 dimensions of the screen, so that the frame doesn't overlap window
15659 manager decorations, such as the start menu and toolbar, typically
15660 at the bottom of the screen.
15662 * frame.c (vars_of_frame):
15663 Changed the default frame title format under MS Windows to consist
15664 of buffername-XEmacs, which is standard under MS Windows. I think
15665 it might be a good idea to change this everywhere because I think
15666 it is superior to the current frame title format, but this is the
15667 kind of change that is likely to cause some people to get annoyed,
15668 so I'm not making it.
15670 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15672 * gui-msw.c (mswindows_handle_gui_wm_command):
15673 Fixed compile warnings.
15676 * gui-x.c (strdup_and_add_accel):
15677 * gui-x.c (button_item_to_widget_value):
15679 Added code to automatically put an accelerator onto the beginning
15680 of menu items that don't have one as is now the standard, and is
15681 described more later. Also fixed things so that the menu item
15682 name can be an evaluated expression, again a new standard.
15685 * gui.c (gui_item_add_keyval_pair):
15686 * gui.c (make_gui_item_from_keywords_internal):
15687 * gui.c (gui_add_item_keywords_to_plist):
15688 * gui.c (gui_item_accelerator):
15689 * gui.c (gui_name_accelerator):
15690 * gui.c (gui_item_included_p):
15691 * gui.c (gui_item_display_flush_left):
15692 * gui.c (gui_item_display_flush_right):
15693 * gui.c (parse_gui_item_tree_item):
15694 * gui.c (parse_gui_item_tree_children):
15695 * gui.c (parse_gui_item_tree_list):
15696 Mule-ized. Cleanup. GCPRO addition.
15698 * line-number.c (buffer_line_number):
15700 * lisp.h (EMACS_INT_MAX):
15701 Added the manifest constant EMACS_INT_MIN corresponding to the
15702 existing constant EMACS_INT_MAX. This is partially to fix compile
15703 warnings under Windows, and partly for cleanliness.
15706 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15707 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15708 * menubar-msw.c (displayable_menu_item):
15709 * menubar-msw.c (populate_menu_add_item):
15710 * menubar-msw.c (populate_or_checksum_helper):
15711 * menubar-msw.c (populate_menu):
15712 * menubar-msw.c (update_frame_menubar_maybe):
15713 * menubar-msw.c (prune_menubar):
15714 * menubar-msw.c (msw_char_is_accelerator):
15715 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15716 * menubar-msw.c (mswindows_handle_wm_command):
15717 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15718 * menubar-msw.c (mswindows_handle_wm_initmenu):
15719 * menubar-msw.c (mswindows_update_frame_menubars):
15720 * menubar-msw.c (mswindows_free_frame_menubars):
15721 * menubar-msw.c (mswindows_popup_menu):
15722 Fixed a bug in handling accelerators where an extra character
15723 would be displayed in the menu item. Also generalized the
15724 function displayable_menu_item because it is now used by the
15725 dialog box code as well. And finally, added code in the functions
15726 that create the menubar to extract a list of accelerators for the
15727 top level menubar, which is used in the event code to determine
15728 whether a particular alt-key combination should be used to invoke
15729 a menu item, or should be passed through to access the standard
15730 XEmacs keymap binding for this key combination.
15732 Much needed GCPROing.
15735 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15736 * menubar-x.c (menu_item_descriptor_to_widget_value):
15737 * menubar-x.c (restore_in_menu_callback):
15738 * menubar-x.c (x_popup_menu):
15739 * menubar-x.c (menu_move_up):
15740 * menubar-x.c (menu_move_down):
15741 * menubar-x.c (menu_move_left):
15742 * menubar-x.c (menu_move_right):
15743 * menubar-x.c (menu_select_item):
15744 * menubar-x.c (command_builder_operate_menu_accelerator):
15745 * menubar-x.c (menu_accelerator_junk_on_error):
15746 * menubar-x.c (command_builder_find_menu_accelerator):
15747 * menubar-x.c (Faccelerate_menu):
15749 Moved a whole bunch of code here that was previously in
15750 event-stream.c as described above. There is also code connected
15751 to the new standard of adding an accelerator to the beginning of
15752 menu items that don't have one as described above and below.
15755 * menubar.c (menu_parse_submenu_keywords):
15756 * menubar.c (Fmenu_find_real_submenu):
15757 * menubar.c (Fnormalize_menu_item_name):
15758 * menubar.c (syms_of_menubar):
15759 * menubar.c (vars_of_menubar):
15760 * menubar.c (complex_vars_of_menubar):
15762 a) Cleaned up a bunch of documentation and improved it.
15764 b) XEmacs now automatically adds an accelerator onto the beginning
15765 of any menu items that don't have one. I did this because there
15766 will inevitably be some menu items on the main menubar that don't
15767 have accelerators on them because the package that adds that
15768 particular menu item hasn't yet been fixed up to have accelerators
15769 in them and it looked rather strange to have some items with and
15770 some items without accelerators, especially since even in items
15771 without accelerators, you can, at least under windows, still
15772 access the item through an accelerator corresponding to the first
15773 character in the item's name. If people don't like this behavior,
15774 I can add a variable to turn it off optionally, but I'm not sure
15775 this is a good idea because we really do need to have accelerators
15776 on all of the menu items, and if a package doesn't like the
15777 accelerators being put on the first character, then it should put
15778 the accelerators where they belong.
15780 c) I made a behavior change, which is that the descriptor that
15781 specifies the text of the menu item, which formerly was just a
15782 string, can now also be an evaluated expression. This makes this
15783 descriptor parallel with all of the others, which could also be
15784 evaluated expressions. This also obviates the need for the
15785 keyword :label, which was previously listed in the documentation
15786 as unimplemented, and which was for the same purpose.
15791 * ntproc.c (new_child):
15792 * ntproc.c (sys_spawnve):
15793 * ntproc.c (find_child_console):
15794 * ntproc.c (sys_kill):
15795 Fixed compile warnings. By the way, this file should really go
15796 away entirely, and this will happen as soon as Kirill makes his
15797 final round of process cleanups, which affect the function
15801 * process-nt.c (struct nt_process_data):
15802 * process-nt.c (find_process_from_pid):
15803 * process-nt.c (send_signal_the_nt_way):
15804 * process-nt.c (enable_child_signals):
15805 * process-nt.c (find_child_console):
15806 * process-nt.c (send_signal_the_95_way):
15807 * process-nt.c (nt_finalize_process_data):
15808 * process-nt.c (ensure_console_window_exists):
15809 * process-nt.c (nt_create_process):
15810 * process-nt.c (nt_kill_child_process):
15811 * process-nt.c (nt_kill_process_by_pid):
15812 * process-nt.c (nt_open_network_stream):
15813 * process-nt.c (vars_of_process_nt):
15814 Copied over code from Emacs 20.5 to correctly send signals to sub-
15815 processes under Windows 95. Also added code to automatically
15816 create and hide console window when a sub-process is created under
15817 Windows 95, which obviates the need for the separate runemacs.exe
15818 executable, and finally implemented some variables that were
15819 implemented in Emacs 20.5, but previously not in XEmacs. These
15820 include mswindows- start-process-share-console and
15821 mswindows-start-process-inherit-error-mode. (Both of these only
15822 apply to Windows 95.)
15824 * regex.c (regex_compile): Fixed a compile warning.
15827 * select-msw.c (mswindows_own_selection):
15828 * select-msw.c (mswindows_get_foreign_selection):
15829 * select-msw.c (mswindows_disown_selection):
15830 * select-msw.c (console_type_create_select_mswindows):
15831 * select-msw.c (syms_of_select_mswindows):
15832 Cleaned up the file and implemented the device method
15833 selection_exists_p, which had accidentally been left out. Also
15834 removed four lisp functions that were remnants from before the
15835 time when the selection code was properly device abstracted.
15836 These functions are no longer needed because there are generic
15837 equivalents, and because they were added recently and don't exist
15838 in FSF Emacs, I don't think there's any problem with just deleting
15842 * sysdep.c (sys_subshell):
15843 Fixed a compile warning, although in this case there's probably
15844 something wrong with this code, and it ought to be looked into
15845 more thoroughly by somebody who understands it.
15848 * window.c (Fwindow_text_area_height):
15849 * window.c (Fwindow_width):
15850 * window.c (Fwindow_full_width):
15851 * window.c (Fwindow_pixel_width):
15852 * window.c (debug_print_window):
15853 * window.c (syms_of_window):
15854 Added functions window-text-area-height and window-full-width,
15855 which are functions for returning various width and height
15856 characteristics of a window. (One of these functions is necessary
15857 for making the file dialog box work correctly, and the other one
15858 was added for completeness.) Also added a table to the
15859 documentation for window-height which describes the entire scheme
15860 for accessing width and height characteristics of a window.
15862 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15864 * nt.c (fstat): Added a comment for another problem with
15865 non-encapsulated [f]stat(), reported by Adrian Aichner
15866 <aichner@ecf.teradyne.com>.
15868 2000-03-11 Andy Piper <andy@xemacs.org>
15870 * window.c (make_dummy_parent): initialize subwindow instance
15872 (Fset_window_configuration): zero extent_modiff.
15874 2000-03-10 Andy Piper <andy@xemacs.org>
15876 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15877 more changes can be triggered.
15878 (Fredisplay_frame): ditto.
15879 (Fredraw_device): ditto.
15880 (Fredisplay_device): ditto.
15881 (redisplay_frame): make non-static.
15882 (redisplay_frame): call update_frame_gutter_geometry outside of
15885 * gutter.h: declare update_frame_gutter_geometry.
15887 * redisplay.h: declare redisplay_frame.
15889 * gutter.c (update_frame_gutter_geometry): move geometry changes
15890 in update_frame_gutters here. Geometry changes can only occur
15891 outside of redisplay.
15892 (update_frame_gutters): remove geometry change code.
15893 (Fredisplay_gutter_area): make sure that we are in display when we
15894 update and that we have flushed any size changes.
15896 2000-03-11 Andy Piper <andy@xemacs.org>
15898 * alloc.c (pdump_dump_data): remove i & count shadows.
15900 2000-02-27 Mike Alexander <mta@arbortext.com>
15902 * sysdep.h: Declare pdump_read_file
15904 * sysdep.c (pdump_read_file): New function
15906 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15909 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15911 * lrecord.h: add `lrecord_type_pgsetenv'.
15913 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15915 * symsinit.h: declare (vars|syms)_of* functions.
15916 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15918 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15920 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15922 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15925 * emacs.c (main_1): Call postgres initialization code.
15927 * postgresql.h: New file. PostgreSQL RDBMS support.
15928 * postgresql.c: New file.
15930 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15932 * redisplay-output.c (redisplay_output_display_block): Disable
15935 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15937 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15938 (Fcanna_henkan_next): Ditto.
15939 (Fcanna_bunsetu_henkou): Ditto.
15940 (Fcanna_henkan_kakutei): Ditto.
15941 (Fcanna_henkan_end): Ditto.
15942 (Fcanna_henkan_quit): Ditto.
15943 (Fcanna_henkan_next): Set retun value correctly.
15944 (c2mu): Use unsigned char instead of signed char.
15946 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15948 * emacs.c (main_1): Always call syms_of_gui.
15949 * inline.c: include gui.h
15951 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15953 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15954 converted to Lisp_Object.
15955 (Qtop_bottom): New variable.
15956 (syms_of_redisplay): Initialize it.
15957 * redisplay.h (Vvisible_bell): Ditto.
15958 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15959 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15960 only flash top and bottom.
15962 2000-03-08 Andy Piper <andy@xemacs.org>
15964 * buffer.c (Frename_buffer): record new buffer name the right way.
15966 2000-03-08 Andy Piper <andy@xemacs.org>
15968 * glyphs.c (update_subwindow): increase hash depth so that widget
15969 items get picked up properly.
15971 * redisplay-output.c (compare_runes): increase hash depth so that
15972 widget items get picked up properly.
15974 2000-03-08 Andy Piper <andy@xemacs.org>
15976 * gutter.c (output_gutter): add some debug.
15978 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15979 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15980 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15982 * redisplay-output.c (compare_runes): use display_hash to
15983 determine if glyphs really are not the same.
15985 * glyphs.c (update_subwindow): check display_hash to see if
15986 anything really needs to be updated. If not then do
15987 nothing. Record the display_hash after updating.
15988 (image_instance_equal): compare the image_instance face also.
15990 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15992 * redisplay.h: Fix comment style.
15994 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15996 * consle-msw.h (struct mswindows_frame):
15997 Added new member paint_pending to indicate whether a WM_PAINT
15998 magic event has been queued for this frame.
16000 * event-msw.c (mswindows_drain_windows_queue):
16001 Don't queue a WM_PAINT magic event if one is already queued.
16002 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16004 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16006 2000-03-07 Didier Verna <didier@xemacs.org>
16008 * dired.c: #include `regex.h' after `sysfile.h'.
16010 2000-03-06 Martin Buchholz <martin@xemacs.org>
16012 * sound.c (init_nas_sound): Fix compiler warning.
16014 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16016 (MARK_STRUCT_AS_FREE):
16017 (MARK_STRUCT_AS_NOT_FREE):
16018 Make `gcc -fstrict-aliasing' work properly.
16020 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16022 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16023 (mswindows_delete_device): Call CoUnnitialize().
16025 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16027 2000-02-25 <CraigL@DyCon.com>
16029 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16032 * sysdep.c: This extern declaration for environ prevents MinGW
16033 from finding the variable in CRTDLL.DLL.
16035 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16037 (SHGFI_EXETYPE): ..
16038 (WM_MOUSEWHEEL): ..
16039 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16041 (MMRESULT): Removed, now defined in cygwin's windows headers.
16043 (uid_t,gid_t,pid_t,ssize_t): ..
16044 (_timeb): Removed, MinGW defines both _timeb and timeb.
16045 (HAVE_H_ERRNO): Added.
16046 (HAVE_TZNAME): Added, configure is not detecting this.
16048 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16050 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16051 * syntax.c (syntax_match): Use it.
16053 * cmds.c: Import auto-fill-chars from FSF Emacs.
16054 (Vauto_fill_chars): New variables.
16055 (internal_self_insert): Check Vauto_fill_chars.
16057 Declare auto-fill-chars as a Lisp variable and initialize it.
16059 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16061 * fileio.c (Fmake_symbolic_link):
16063 Run handlers even if local machine doesn't have symlinks.
16065 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16067 * event-msw.c (mswindows_drain_windows_queue):
16068 Don't generate paint magic events for non-XEmacs frames.
16070 2000-03-05 Andy Piper <andy@xemacs.org>
16072 * redisplay.c (redisplay_frame): generate_displayable_area and
16073 friends assumes that we are not in GC, we therefore have to make
16074 sure that this doesn't happen.
16076 * gutter.c (calculate_gutter_size): generate_displayable_area
16077 assumes that we are not in GC, we therefore have to make sure that
16078 this doesn't happen.
16080 2000-03-05 Martin Buchholz <martin@xemacs.org>
16082 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16084 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16086 * redisplay.c (regenerate_window): Make sure we set a sane value
16087 for end_pos even if we jump out of the loop.
16088 (regenerate_window): Answer Ben's question :-).
16089 (start_end_of_last_line): Add may_error argument.
16090 (start_of_last_line):
16091 (end_of_last_line): Pass may_error = 0.
16092 (end_of_last_line_may_error): New function.
16093 (pixel_to_glyph_translation): Use it, so we don't crash in
16096 2000-03-04 Andy Piper <andy@xemacs.org>
16098 * window.h (struct window): add gutter_extent_modiff.
16100 * window.c (allocate_window): zero out gutter_extent_modiff.
16102 * redisplay.h: declare sync_display_line_structs.
16104 * redisplay.c (add_glyph_rune): add a better comment.
16106 * redisplay-output.c (sync_display_line_structs): made non-static.
16107 (compare_runes): remove unneccesary glyph cachel access.
16109 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16111 * gutter.c (output_gutter): don't output the gutter if extent
16112 changes only involve extents in buffers. use 4 sets of display
16114 (gutter_extent_signal_changed_region_maybe): new function. Mark
16115 extents in gutters as changed.
16116 (update_frame_gutters): use 4 sets of display lines.
16117 (reset_gutter_display_lines): ditto.
16118 (free_frame_gutters): ditto.
16119 (redraw_exposed_gutter): force output of gutters.
16121 * frame.h (struct frame): add 4 sets of gutter display lines.
16123 * extents.c: (extent_changed_for_redisplay): signal changes to
16124 extents in strings in the gutter as well as extents in buffers.
16126 2000-03-02 Andy Piper <andy@xemacs.org>
16128 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16130 * frame.c (Fmake_frame): make sure the gutters get initialized
16131 after the frame is visible.
16132 (set_frame_selected_window): re-arrange compilation macros a
16134 (change_frame_size_1): mark gutters changed.
16136 * device.c (Fset_device_class): mark gutters changed.
16138 2000-03-01 Andy Piper <andy@xemacs.org>
16140 * window.c (window_top_frame_gutter_height): deleted.
16141 (window_bottom_frame_gutter_height): ditto.
16142 (window_left_frame_gutter_height): ditto.
16143 (window_right_frame_gutter_height): ditto.
16144 (window_top_gutter_height): don't use them.
16145 (window_bottom_gutter_height): ditto.
16146 (window_left_gutter_width): ditto.
16147 (window_right_gutter_width): ditto.
16148 (Fsplit_window): ditto.
16149 (Fwindow_pixel_edges): don't use border dimensions here.
16151 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16152 (update_scrollbar_instance): ditto.
16154 * redisplay.c (generate_modeline): don't take gutters into account.
16155 (generate_modeline): ditto.
16156 (redisplay_frame): small gutter display optimization.
16158 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16160 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16161 gutters into account.
16163 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16164 for window position and type.
16166 * gutter.c (get_gutter_coords): fix for frame gutters.
16167 (update_frame_gutters): update frame geometry if the gutters have
16169 (init_frame_gutters): record current gutter geometries.
16171 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16173 (mswindows_widget_instantiate): ditto.
16175 * frame.h (struct frame): add current_gutter_bounds.
16177 * frame.c (change_frame_size_1): position window and minibuffer
16178 appropriately taking into account the frame gutters.
16180 * frame-x.c: (x_initialize_frame_size): take into account the
16183 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16185 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16187 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16189 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16191 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16193 * file-coding.c (reset_decoding_stream): Clear previous
16194 detection state when autodetect.
16196 2000-02-29 Didier Verna <didier@xemacs.org>
16198 * extents.c (set_extent_glyph_1): don't require extents to be
16201 2000-02-27 Andy Piper <andy@xemacs.org>
16203 * gutter.c (Fset_default_gutter_position): don't default left and
16204 right gutter visibility to t.
16205 (Fset_default_gutter_position): run
16206 default-gutter-position-changed-hook.
16207 (syms_of_gutter): add default-gutter-position-changed-hook.
16209 2000-02-26 Andy Piper <andy@xemacs.org>
16211 * specifier.c (Fmake_specifier): add gutter references.
16213 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16215 * lisp.h: declare Fvalid_plist_p.
16217 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16219 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16220 well as its visibility so that it gets reconstructed.
16221 (construct_window_gutter_spec): new function. Construct a string
16222 to be displayed in the gutter from a plist of strings. Take care
16223 to only use elements that are declared as visible.
16224 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16226 (gutter_validate): allow plists of strings in the specifier.
16227 (gutter_specs_changed): construct the real_gutter from the gutter
16228 specs using construct_window_gutter_spec.
16229 (gutter_visible_validate): gutter-visible is a new specifier type.
16230 (Fgutter_visible_specifier_p): new function for the new specifier.
16231 (syms_of_gutter): declare gutter-visible and
16232 Fgutter_visible_specifier_p.
16233 (specifier_type_create_gutter): intitalize new gutter-visible
16235 (reinit_specifier_type_create_gutter): ditto.
16236 (specifier_vars_of_gutter): use new specifier type for gutter
16238 (init_frame_gutters): construct real_gutter correctly.
16239 (Fgutter_specifier_p): beef up documentation.
16240 (Fgutter_size_specifier_p): ditto.
16242 * winslots.h: add real_gutter slots.
16244 2000-02-25 Andy Piper <andy@xemacs.org>
16246 * device-msw.c: Be kind to older cygwin versions. From Raymond
16247 Toy <toy@rtp.ericsson.se>.
16249 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16250 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16252 2000-02-25 Martin Buchholz <martin@xemacs.org>
16254 * elhash.c (MARK_OBJ): Practice macro hygiene.
16256 2000-02-24 Martin Buchholz <martin@xemacs.org>
16258 * miscplay.c: s/__inline__/inline/g;
16259 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16260 (get_device_compdc): INLINE ==> static inline
16261 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16262 find -name '*.h' | \
16263 xargs global-replace \
16264 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16266 2000-02-25 Andy Piper <andy@xemacs.org>
16268 * window.c (window_top_frame_gutter_height): new function.
16269 (window_top_window_gutter_height): ditto.
16270 (window_top_gutter_height): use them.
16271 (window_bottom_frame_gutter_height): new function.
16272 (window_bottom_window_gutter_height): ditto.
16273 (window_bottom_gutter_height): use them.
16274 (window_left_window_gutter_width): new function.
16275 (window_left_frame_gutter_width): ditto.
16276 (window_left_gutter_width): use them.
16277 (window_right_window_gutter_width): new function.
16278 (window_right_frame_gutter_width): ditto.
16279 (window_right_gutter_width): use them.
16280 (window_pixel_height): new function. calulate window pixel height
16281 with frame gutter involvement.
16282 (Fsplit_window): calculate new sizes taking frame gutters into
16284 (window_char_height_to_pixel_height): don't include frame gutters.
16285 (window_char_height): use window_pixel_height.
16286 (window_pixheight): rename from window_pixel_height.
16287 (change_window_height): use it.
16288 (window_pixel_height_to_char_height): don't include frame gutters.
16289 (window_char_width_to_pixel_width): ditto.
16291 2000-02-25 Andy Piper <andy@xemacs.org>
16293 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16296 2000-02-24 Martin Buchholz <martin@xemacs.org>
16298 * alloc.c (staticpro):
16299 (staticpro_nodump):
16304 (compact_string_chars):
16305 (pdump_dump_wired):
16306 Convert: if (foo) abort(); ==> assert (! foo);
16308 * eldap.c (Fldap_search_basic):
16312 Fix compiler warnings, and possible crashes if (random) return
16313 value were to be used.
16315 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16317 * device-msw.c: Workaround ResetDC failure.
16319 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16320 applying a devmode.
16322 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16323 (mswindows_text_width): Do not start printer page.
16325 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16327 * glyphs-msw.c: Added image methods to msprinter console and
16328 msprinter-specific image instantiation.
16330 2000-02-20 Mike Alexander <mta@arbortext.com>
16332 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16333 to avoid crashes when selection-sets-clipboard is on
16334 (mswindows_own_selection): ditto
16336 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16339 * redisplay-msw.c (get_frame_dc):
16340 (get_frame_compdc):
16342 * device-msw.c (mswindows_init_device):
16343 (mswindows_delete_device):
16344 (msprinter_init_device):
16345 (msprinter_delete_device):
16346 * frame-msw.c (mswindows_init_frame_1):
16347 (mswindows_delete_frame):
16348 (msprinter_init_frame_3):
16349 (msprinter_delete_frame): Move compatible DC to device object from
16350 frame object, for both mswindows and msprinter. Only one at a time
16351 is needed, it is a real waste to have one per frame!
16353 2000-02-23 Andy Piper <andy@xemacs.org>
16355 * glyphs.c: add dynamic width and height elements.
16356 (image_instance_equal): ditto.
16358 * glyphs-widget.c (widget_query_geometry): calculate width and
16359 height dynamically if required.
16360 (initialize_widget_image_instance): initialize dynamic dimensions.
16361 (widget_instantiate): pick-up dynamic dimensions.
16363 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16364 dynamic determination. Add appropriate macros.
16366 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16368 (WINDOW_GUTTER_SIZE): ditto.
16369 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16371 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16373 (get_frame_dc): ditto.
16375 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16378 2000-02-23 Martin Buchholz <martin@xemacs.org>
16380 * XEmacs 21.2.31 is released.
16382 2000-02-22 Ben Wing <ben@xemacs.org>
16384 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16386 2000-02-22 Andy Piper <andy@xemacs.org>
16388 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16390 2000-02-21 Mike Sperber <mike@xemacs.org>
16394 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16397 2000-02-21 Mike Sperber <mike@xemacs.org>
16399 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16401 2000-02-21 Martin Buchholz <martin@xemacs.org>
16403 * XEmacs 21.2.30 is released.
16405 2000-02-20 Martin Buchholz <martin@xemacs.org>
16407 Performance hacking.
16409 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16410 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16411 * emacs.c (main_1):
16413 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16414 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16415 * symeval.h (DEFVAR_SYMVAL_FWD):
16416 * symbols.c (guts_of_unbound_marker):
16417 Make all c_readonly objects also lisp_readonly and marked for life.
16418 * lrecord.h (struct lrecord_implementation):
16419 Document flags better.
16420 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16421 * lrecord.h (DECLARE_LRECORD):
16422 * lrecord.h (XSETRECORD):
16423 * lrecord.h (RECORDP):
16424 * lrecord.h (RECORD_TYPEP):
16425 * lrecord.h (RECORD_MARKER): New.
16426 * lrecord.h (error_check_*):
16427 * lrecord.h (CONCHECK_NONRECORD):
16428 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16429 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16430 * lrecord.h (set_lheader_implementation):
16431 * lrecord.h (enum lrecord_type): New.
16432 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16433 * alloc.c (disksave_object_finalization_1):
16434 * alloc.c (mark_object):
16435 * alloc.c (lrecord_type_index):
16436 * alloc.c (tick_lcrecord_stats):
16437 * alloc.c (Fgarbage_collect):
16438 * alloc.c (init_alloc_once_early):
16439 * alloc.c (pdump_load):
16440 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16441 * alloc.c (lrecord_type_index): Delete.
16442 Make lisp object type indexes be constant.
16443 Makes (byte-compile) 5% faster.
16444 Put all marker functions into their own array.
16445 Makes (garbage-collect) 5% faster.
16446 Optimize SYMBOL_VALUE_MAGIC_P.
16447 Makes (byte-compile) 2-3% faster.
16448 * config.h.in (gc_checking_assert): New.
16449 * alloc.c: Use gc_checking_assert().
16450 * .dbxrc: Make compatible with new object type implementation.
16451 * .gdbinit: Make compatible with new object type implementation.
16452 * alloc.c: Delete all symbols defined only for debugging, such as
16453 Lisp_Type_Vector and lrecord_charset.
16455 2000-02-21 Andy Piper <andy@xemacs.org>
16457 * gui-msw.c (Fmswindows_shell_execute): fix file location
16460 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16461 unshowing so that set_window_buffer doesn't undo
16462 kill_buffer_hook's hard work.
16464 * glyphs-widget.c (tab_control_query_geometry): don't count the
16465 first item when calculating geometry.
16467 * glyphs.c (map_subwindow): remove redundant code.
16468 (update_frame_subwindows): be more circumspect about when to
16471 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16472 when items haven't changed. Update faces if faces have changed as
16473 well as just the widget face.
16474 (x_tab_control_update): Update faces if faces have changed as well
16475 as just the widget face.
16477 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16479 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16481 (build_syscolor_string): Use mswindows_color_to_string to try to
16483 (mswindows_device_system_metrics): Reverse the foreground and
16484 background colors so that they match the documentation.
16486 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16487 they match the default Windows palette.
16488 (mswindows_color_to_string): New function.
16490 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16492 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16494 2000-02-18 Olivier Galibert <galibert@pobox.com>
16496 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16497 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16499 * symbols.c (init_symbols_once_early): Removed obsolete
16500 DATA_SEG_BITS related kludge.
16501 (defvar_magic): Ditto.
16503 * malloc.c: Removed obsolete DATA_SEG_BITS
16505 * mem-limits.h: Ditto.
16507 * Makefile.in.in: Removed obsolete HAVE_SHM
16510 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16512 * device-msw.c (mswindows_delete_device): Free DDE string
16515 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16517 * keymap.c (get_keyelt):
16518 * unexnt.c (unexec):
16519 * vm-limit.c (memory_warnings):
16520 * ntheap.c (recreate_heap):
16521 * ntheap.h (UNINIT_PTR):
16522 * select-msw.c (Fmswindows_get_clipboard):
16523 (Fmswindows_set_clipboard):
16524 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16526 * menubar-msw.c (displayable_menu_item):
16528 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16529 * sysdep.c (sys_subshell):
16530 * process-nt.c (nt_create_process):
16531 * nt.c (normalize_filename):
16532 (dostounix_filename):
16533 (unixtodos_filename):
16534 * ntproc.c (win32_executable_type):
16535 * ntplay.c (play_sound_data_1):
16537 * editfns.c (get_home_directory):
16538 * event-msw.c (struct winsock_stream):
16539 (mswindows_dde_callback):
16540 * device-msw.c (msprinter_init_device):
16541 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16543 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16544 mswindows_clear_toolbar were swapped!
16546 * objects-msw.c:(colormap_t):
16548 * emacs.c (struct standard_args): Fixed const jumble.
16550 * glyphs-widget.c (update_widget): Fixed comparison notation.
16552 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16554 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16555 __declspec(noreturn) syntax.
16557 2000-02-19 Martin Buchholz <martin@xemacs.org>
16559 * eldap.c (Fldap_open):
16560 (Fldap_search_basic):
16563 Use new coding system conversion macros.
16565 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16567 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16569 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16571 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16572 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16574 * eldap.c (Qadd, Qreplace): New constant symbols
16575 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16576 interruptions by XEmacs signals
16577 Remove unnecessary calls to slow_down_interrupts and
16578 speed_up_interrupts
16579 (Fldap_search_basic): Renamed from Fldap_search_internal
16580 Added new optional parameter VERBOSE that triggers the
16581 display of progress messages
16582 Remove unnecessary calls to slow_down_interrupts and
16583 speed_up_interrupts
16584 LDAP result code analysis rewritten
16585 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16586 (syms_of_eldap): Define the new symbols and functions
16589 2000-02-17 Martin Buchholz <martin@xemacs.org>
16591 * realpath.c: Determine PATH_MAX maximally portably.
16593 * insdel.c (bytecount_to_charcount): Optimize.
16594 The function used to be optimized for entirely ASCII sequences.
16595 Now it is optimized for successive characters from the same
16596 charset. This also wins big for _mostly_ ASCII sequences.
16598 * fileio.c (Ffile_truename): convert return from realpath() using
16599 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16600 - Rewrite GCPROing slightly.
16602 * sysdep.c (sys_open): Do filename conversion, like all other
16603 sys_* functions. Fixes bug:
16604 (let ((file-name-coding-system 'iso-8859-2))
16605 (write-region x y latin2-name))
16606 ==> writes filename using internal encoding.
16608 2000-02-18 Martin Buchholz <martin@xemacs.org>
16610 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16611 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16612 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16613 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16614 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16615 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16616 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16617 (CONST_IF_NOT_DEBUG): Delete.
16618 * alloc.c (this_one_is_unmarkable): Delete.
16619 (mark_object): Don't check for this_one_is_unmarkable. Use the
16620 c_readonly flag instead.
16621 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16623 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16625 * event-msw.c (mswindows_drain_windows_queue):
16626 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16627 away redundant repaint events.
16629 2000-02-17 Andy Piper <andy@xemacs.org>
16631 * redisplay.h: declare mark_redisplay_structs.
16633 * redisplay.c (redisplay_window):
16634 (redisplay_frame): don't check subwindows_state_changed.
16635 (mark_redisplay): mark gutters here.
16637 * glyphs.c: (instantiate_image_instantiator): always layout if we
16638 haven't done so already.
16639 (allocate_image_instance): don't mark as dirty.
16640 (update_subwindow): bind inhibit_quit.
16642 * gutter.c (mark_gutters): new function.
16644 * glyphs-x.c (x_update_widget): Always resize to get round a
16647 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16648 breaking absolutely everything.
16650 * gutter.h: declare mark_gutters.
16652 2000-02-16 Martin Buchholz <martin@xemacs.org>
16654 * XEmacs 21.2.29 is released.
16656 2000-02-15 Olivier Galibert <galibert@pobox.com>
16658 * fns.c (size_bit_vector): Fix computation of the size.
16660 2000-02-15 Martin Buchholz <martin@xemacs.org>
16662 * *.[ch]: Change CONST to const globally.
16663 find -name '*.[ch]' | \
16664 xargs global-replace \
16665 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16666 - Remove vestigial references to CONST_IS_LOSING
16668 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16670 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16671 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16672 events instead of dispatching them directly.
16673 (mswindows_handle_paint): New function to do repainting.
16674 (mswindows_wnd_proc):
16675 (emacs_mswindows_handle_magic_event): Call above function.
16677 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16679 * objects-msw.c (mswindows_create_font_variant): Return the new
16681 (initialize_font_instance): Get font metrics from the underlined
16682 variant of the font to cope with the case where the underlined
16683 font has a bigger descent.
16685 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16687 * gui.c (gui_item_accelerator): Return the first underlined
16688 character in item name.
16690 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16692 * lisp.h: Added Qprinter.
16694 * general.c (syms_of_general): Initialized it.
16696 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16698 (get_frame_compdc): Made inline.
16700 * console.h (struct console_methods): Added eject_page method.
16702 * frame.h: Added FRAME_DISPLAY_P and friends.
16703 Aligned backslahes in many macros in more readable fashion.
16704 Added page_number to struct frame, and an accessor macro
16707 * defice.h: Added DEVICE_DISPLAY_P and friends.
16709 * device.c (Fdevice_printer_p): Used these.
16711 * frame.c (allocate_frame_core): Initialize page number.
16712 (Fprint_job_page_number):
16713 (Fprint_job_eject_page): Implemented.
16715 * frame-msw.c (msprinter_eject_page): Added method.
16716 (msprinter_start_page): Added.
16718 * window.c (Fwindow_truncated_p): Fixed docstring.
16719 (Fwindow_last_line_visible_height): Implemented.
16721 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16723 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16725 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16727 * syntax.c (scan_words): Always advance at least one character.
16729 2000-02-13 Andy Piper <andy@xemacs.org>
16731 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16732 to make sure the glyph is in the cachels.
16734 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16735 global image instance flag.
16736 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16737 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16739 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16740 (Fset_image_instance_property): mark layout as changed.
16741 (invalidate_glyph_geometry_maybe): mark layout as changed.
16742 (glyph_width): use new NEEDS_LAYOUT macro.
16743 (glyph_ascent): ditto.
16744 (glyph_descent): ditto.
16745 (glyph_height): ditto.
16746 (image_instance_layout): mark layout as clean after laying out.
16747 (update_subwindow): don't mark layout as clean here.
16749 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16750 should no longer be needed.
16752 * glyphs-x.c (x_update_widget): sanitize asserts.
16753 (x_finalize_image_instance): sanitize assignment to widgets.
16755 * glyphs-widget.c (widget_instantiate): don't need to clear the
16758 2000-02-13 Martin Buchholz <martin@xemacs.org>
16760 * sysdep.c (getcwd): Use standard prototype.
16761 * sysdep.h (getcwd): Use standard prototype.
16763 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16764 (sequence, start, end).
16765 Remove redundant type checking.
16766 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16767 view of `caller-protects') to avoid a crash where the real fix was
16770 2000-02-12 Martin Buchholz <martin@xemacs.org>
16772 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16774 * s/sol2.h: Remove feature macro initialization.
16776 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16777 (vector_hash): New. Code from internal_hash.
16779 Fix up allocation subsystem comments.
16781 * config.h.in: Add __EXTENSIONS__ for Solaris.
16783 * systime.h (EMACS_GETTIMEOFDAY): New.
16784 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16785 Remove Solaris-specific code.
16786 Use void* for the (ignored) second arg for gettimeofday().
16788 * elhash.c (hash_table_hash): Implement it, finally.
16789 * elhash.c: Use hashcode_t.
16791 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16792 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16794 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16795 * fns.c (size_bit_vector):
16796 * alloc.c (size_vector):
16797 (make_vector_internal):
16798 (make_bit_vector_internal):
16799 (sweep_bit_vectors_1):
16800 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16802 2000-02-10 Martin Buchholz <martin@xemacs.org>
16804 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16805 Include strings.h to avoid warnings for bzero and strcasecmp.
16807 2000-02-10 Olivier Galibert <galibert@pobox.com>
16809 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16810 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16812 * fns.c (size_bit_vector): New. Declare bit vectors as a
16815 2000-02-10 Olivier Galibert <galibert@pobox.com>
16817 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16818 use a value field instead.
16819 (symbol_value_forward_forward): Use value field.
16820 (DEFVAR_SYMVAL_FWD): Use value field.
16821 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16822 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16823 (DEFVAR_CONST_INT): Ditto.
16824 (DEFVAR_BOOL): Ditto.
16825 (DEFVAR_CONST_BOOL): Ditto.
16826 (DEFVAR_INT_MAGIC): Ditto.
16827 (DEFVAR_BOOL_MAGIC): Ditto.
16829 * symbols.c (guts_of_unbound_marker): Use value field.
16830 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16831 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16833 * lisp.h: Declare dumpopaque and noninteractive1.
16835 * alloc.c (dumpopaque): Added.
16836 (pdump_dump_opaquevec): Added.
16837 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16838 (pdump_load): Reload opaque data. Sync noninteractive1 with
16841 2000-02-10 Andy Piper <andy@xemacs.org>
16843 * glyphs.c (image_instance_layout): if the size changes, mark it
16846 * redisplay-output.c (redisplay_output_layout): Update the
16848 (redisplay_output_subwindow): ditto.
16850 * glyphs.c (update_subwindow): make sure we reset flags for
16851 layouts as well as everything else.
16853 * glyphs-widget.c (layout_layout): don't need to set the instances
16856 2000-02-09 Martin Buchholz <martin@xemacs.org>
16858 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16859 not HAVE_DLOPEN, which is a lower-level thing.
16861 * .cvsignore: Ignore gmon.out
16863 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16865 * .cvsignore: Ignore portable dumper xemacs.dmp file
16867 2000-02-09 Andy Piper <andy@xemacs.org>
16869 * redisplay-output.c (redisplay_output_layout): be more clever
16870 about when we output based on the changed flags.
16872 * glyphs.h (struct image_instantiator_methods): add update_method.
16873 (struct Lisp_Image_Instance): add changed flags. Declare new
16874 macros for manipulating them.
16876 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16877 (image_instance_parent_glyph): find an image_instance's parent
16878 glyph or image_instance.
16879 (image_instance_layout): mark the size as changed.
16880 (set_image_instance_dirty_p): new function. mark an image
16881 instance, plus all of its parents, as dirty.
16882 (Fset_image_instance_property): use it.
16883 (Fglyph_animated_timeout_handler): use it.
16884 (update_subwindow): call update_widget and device methods for
16885 update_subwindow. Mark all changed flags as clean.
16886 (Fresize_subwindow): mark size as changed.
16888 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16890 (x_update_subwindow): only resize subwindows here.
16891 (x_update_widget): new function. Update all changed properties of
16893 (x_resize_subwindow): deleted.
16894 (x_widget_set_property): deleted.
16895 (x_progress_gauge_set_property): deleted.
16896 (x_progress_gauge_update): new function. Implement recorded
16898 (x_tab_control_update): ditto.
16899 (x_tab_control_set_property): deleted.
16900 (console_type_create_glyphs_x): declare new functions.
16901 (image_instantiator_format_create_glyphs_x): ditto.
16903 * glyphs-widget.c (widget_set_property): mark text changed.
16904 (update_widget): new function. Update properties of a widget.
16905 (widget_instantiate): for layouts make sure we set their
16906 children's parent correctly.
16907 (tab_control_set_property): new function. Record changes that will
16908 take place under redisplay's control.
16909 (progress_gauge_set_property): ditto.
16910 (image_instantiator_progress_guage): declare new functions.
16911 (image_instantiator_tab_control): ditto.
16913 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16915 (mswindows_update_widget): new function. Update all properties on
16916 a widget that have changed.
16917 (mswindows_button_update): new function. Update a button's set
16919 (mswindows_tab_control_update): new function. Update the items in
16921 (mswindows_tab_control_set_property): deleted.
16922 (mswindows_progress_gauge_update): new function. Update the
16923 progress gauge's progress.
16924 (mswindows_widget_set_property): deleted. This is all done
16925 asynchronously now.
16926 (mswindows_progress_gauge_set_property): ditto.
16927 (console_type_create_glyphs_mswindows): declare new methods.
16928 (image_instantiator_format_create_glyphs_mswindows): ditto.
16930 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16931 (msprinter_set_frame_properties): ditto.
16933 * console.h (struct console_methods): Add update_widget_method.
16935 2000-02-09 Andy Piper <andy@xemacs.org>
16937 * gui-msw.c (Fmswindows_shell_execute): Make
16938 mswindows-shell-execute industrial strength.
16940 2000-02-08 Martin Buchholz <martin@xemacs.org>
16942 * lrecord.h: Make macro argument `props' match member function `plist'.
16945 * fns.c (Fremprop):
16946 * fns.c (Fobject_plist):
16949 Object property list frobbing cleanup.
16950 - Allow any lisp object (compared with `eq'), not just symbols, as
16951 keys in object plists.
16952 - Move symbol plist frobbing into symbols.c, where it belongs.
16953 - Move string plist frobbing into alloc.c, where it belongs.
16954 - Everything's an lrecord now, so no need to test for symbolp, etc.
16955 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16957 * extents.c: Reorder code to remove declarations.
16959 * frame.h (store_in_alist): Remove useless declaration.
16961 2000-02-07 Martin Buchholz <martin@xemacs.org>
16963 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16964 * config.h.in: Add HAVE_XCONVERTCASE.
16966 2000-02-07 Andy Piper <andy@xemacs.org>
16968 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16969 it breaks many things.
16971 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16973 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16974 actually can start a common comment type.
16975 * src/syntax.h (SYNTAX_END_P): ditto for end.
16977 2000-02-07 Martin Buchholz <martin@xemacs.org>
16979 * XEmacs 21.2.28 is released.
16981 2000-02-06 Martin Buchholz <martin@xemacs.org>
16983 * event-Xt.c (x_keysym_to_character): New.
16984 (maybe_define_x_key_as_self_inserting_character): New.
16985 (x_has_keysym): New.
16986 Auto-define all keys on the keyboard as self-insert-key.
16988 2000-02-02 Martin Buchholz <martin@xemacs.org>
16990 * menubar.c (vars_of_menubar): A small code simplification.
16992 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16995 * ExternalClient.c:
16996 * EmacsShell-sub.c:
16999 Use consistent style for specifying X resources.
17001 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17002 This makes (dontusethis-set-symbol-value-handler) actually usable.
17004 * lrecord.h (lrecord_decription_type):
17005 * alloc.c (pdump_register_sub):
17008 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17009 Comply with XEmacs coding style.
17010 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17011 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17013 * keymap.c (Faccessible_keymaps):
17014 Make (accessible-keymaps map "\C-h") do the Right Thing.
17015 Make (accessible-keymaps map []) do the Right Thing.
17016 Make (accessible-keymaps map "") do the Right Thing.
17017 (check_keymap_definition_loop): New function.
17018 (keymap_store_internal): Keep luser from shooting self in foot,
17019 via (define-key ctl-x-4-map "p" global-map).
17020 Remove fullness slot from struct Lisp_Keymap, since hash tables
17022 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17024 2000-01-30 Martin Buchholz <martin@xemacs.org>
17026 * redisplay.c (init_redisplay): Fix small memory leak.
17028 * elhash.c (pdump_reorganize_hash_table):
17029 Rename from reorganize_hash_table. Change prototype.
17030 Reuse the original memory for hentries. Save 100k.
17031 * alloc.c (PDUMP_READ): new macro.
17032 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17033 * alloc.c: No need to #ifndef before #undef.
17035 * print.c: Allow debug_print() to print readably by modifying
17036 debug_print_readably. Use consistent variable names.
17038 * .dbxrc: Try to get things to work even if stopped in a function
17039 without source available by explicitly specifying source files.
17040 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17042 * unexnt.c (_start): Removed bogus code which caused loading heap
17043 from differrent executable file.
17044 Removed bogus assignment to _fmode, which caused inconsistencies.
17046 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17048 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17049 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17050 Do not preliminary `#define signal sigset'.
17052 * systime.h: Do not prototype environ on windows nt and cygwin,
17053 this conflicts with system header.
17055 * syssignal.h: Use correct define for WINDOWSNT
17057 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17058 with system header.
17060 * sysdep.c (near start of file): Fixed commentary and rearranged
17061 ifdefs in readable order.
17062 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17065 (end_of_data): Do not compile in if using PDUMP.
17067 * symsinit.h: Prototyped vars_of_nt().
17069 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17070 (find_child_console): Use it.
17071 (sys_kill): Use it.
17073 * ntheap.h: Do not extern os_subtype.
17075 * ntheap.c (cache_system_info): Do not cache unneeded:
17076 nt_major_version, nt_minor_version and os_subtype.
17077 (recreate_heap): Do not compile in when PDUMPing.
17079 * nt.c (geteuid and friends): Use the new varibale
17080 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17081 (init_user_info): Removed the above mentioned hackery.
17082 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17083 stat has been fixed in the C runtime.
17084 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17086 * file-coding.c (struct file_coding_dump): Do not define
17087 ucs_to_mule_table in the struct if not MULE.
17088 (struct struct lrecord_description fcd_description_1): Do not dump
17091 * emacs.c (main_1): Call vars_of_nt().
17092 (right before Fdump_emacs_data): Don't need lastfile if using both
17093 portabe dumper and system malloc.
17095 * alloc.c (Fmemory_limit): Conditionalized out.
17096 (pdump): Use OPEN_BINARY for the portable dump file.
17097 (pdump_load): Ditto.
17099 2000-02-02 Mike Alexander <mta@arbortext.com>
17101 * nt.c (convert_time): Set tm_isdst before calling mktime and
17102 avoid calling it at all if the compiler supports 64 bit integers.
17103 Also initialize utc_base_ft before using it.
17105 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17107 * frame.c (change_frame_size_1): Take f->internal_border_width
17108 into consideration when calculating the width of the frame.
17110 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17112 * window.c (frame_min_height):
17113 (frame_size_valid_p):
17114 (frame_pixsize_valid_p): Added.
17115 (check_frame_size): Generalized.
17117 * window.h: Prototyped the above.
17120 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17121 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17122 Deleted Vwin32_* and Vbinary_process_* unused variables.
17124 * device-msw.c (msprinter_init_device): Do not get printer font
17125 list; Added DEVMODE functions.
17127 * frame-msw.c: Added lots of printer code.
17129 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17132 * console-msw.h: Added more msprinter device private slots.
17134 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17136 * event-msw.c (key_needs_default_processing_p): Added.
17137 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17139 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17141 * glyphs.c (image_instance_layout): Mark image instance as clean
17143 (glyph_dirty_p): Removed redundant function.
17144 (invalidate_glyph_geometry_maybe): Added.
17145 (update_glyph_cachel_data): Call it.
17147 * glyphs.h: Prototyped it.
17149 * redisplay.c (add_glyph_rune): Call it.
17150 (redisplay_window): Reset glyphs cachels when frame faces have
17151 changed, thus forcing recomputation of built-in border glyphs.
17153 2000-01-30 Martin Buchholz <martin@xemacs.org>
17155 * Makefile.in.in: Make portable dumper and purify play well together.
17156 Add imperfect, but better than nothing, support for pdump.
17157 Remove xemacs.dmp when temacs is re-generated.
17158 Don't ignore errors when dumping xemacs.
17160 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17162 2000-01-28 Andy Piper <andy@xemacs.org>
17164 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17165 (setup_normal_frame): ditto.
17166 (setup_frame_without_minibuffer): ditto.
17167 (setup_minibuffer_frame): ditto.
17168 (delete_frame_internal): ditto.
17169 (Fmake_frame_invisible): ditto.
17170 (Ficonify_frame): ditto.
17172 * window.h: change Fset_window_buffer signature.
17174 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17175 (Fset_window_buffer): allow recording of buffer if the window is
17176 the selected window.
17177 (window_loop): Use new Fset_window signature.
17179 2000-01-23 Daniel Pittman <daniel@danann.net>
17181 * config.h.in: Added template for `HAVE_ATHENA_3D'
17183 2000-01-29 Andy Piper <andy@xemacs.org>
17185 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17187 * gutter.c (output_gutter): Don't output if the window isn't live.
17189 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17191 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17192 of 01/12/00: Moved SetFocus back here where it belongs.
17194 2000-01-23 Andy Piper <andy@xemacs.org>
17196 * s/cygwin32.h: declare printer things.
17198 2000-01-26 Andy Piper <andy@xemacs.org>
17200 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17203 2000-01-24 Andy Piper <andy@xemacs.org>
17205 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17206 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17208 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17210 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17212 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17214 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17215 (mswindows_output_display_block): Avoid local shadows.
17217 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17218 (mswindows_enqueue_mouse_button_event): ditto.
17219 (mswindows_handle_gui_wm_command): remove declaration.
17221 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17224 * console-msw.h: Avoid shadows.
17225 (mswindows_get_toolbar_button_text):
17226 (emacs_mswindows_create_stream_pair):
17227 (emacs_mswindows_delete_stream_pair):
17228 (mswindows_handle_toolbar_wm_command): declare.
17230 * device-msw.c (build_syscolor_string): Avoid shadows.
17232 2000-01-23 Andy Piper <andy@xemacs.org>
17234 * glyphs-widget.c (widget_instantiate): reverse the items for
17235 layouts so that children are in the expected order.
17237 2000-01-28 Martin Buchholz <martin@xemacs.org>
17239 * ralloc.c: safe_bcopy ==> memmove
17240 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17241 * s/msdos.h: Remove BCOPY macros.
17242 * insdel.c (gap_right): Remove BCOPY conditional code.
17243 * insdel.c (gap_left): Remove BCOPY conditional code.
17244 XEmacs demands a working ANSI C compiler - hence memmove.
17246 * regex.c (regex_compile): Remove accidental use of trigraphs.
17248 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17250 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17253 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17255 * event-msw.c (mswindows_drain_windows_queue): Added the
17257 (mswindows_need_event): Commented the call to
17258 mswindows_drain_windows_queue().
17259 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17262 * console-msw.h: Moved a few function prototypes here from
17265 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17266 parameter from unsigned short to unsigned long.
17267 (Fmswindows_shell_execute): Added return value.
17269 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17271 * sysdep.c (init_system_name):
17272 process-unix.c (unix_canonicalized_host_name):
17273 Don't call freeaddrinfo() if getaddrinfo() fails.
17275 * process-unix.c (unix_open_unix_network_stream):
17276 Moved the code to get a port # into address loop.
17278 2000-01-27 Martin Buchholz <martin@xemacs.org>
17280 * buffer.c (reinit_vars_of_buffer):
17281 The right place to initialize conversion_in_dynarr and
17282 conversion_out_dynarr.
17284 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17286 * process-unix.c (unix_canonicalize_host_name): Muleize.
17287 (unix_open_network_stream): Muleize.
17289 * buffer.h: Fix up prototypes for ralloc.c functions.
17291 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17292 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17293 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17294 instead of gethostbyname()
17295 * process-unix.c: In unix_canonicalize_host_name() and
17296 unix_open_network_stream(), add code to use getaddrinfo()
17297 instead of gethostbyname().
17299 2000-01-27 Daniel Pittman <daniel@danann.net>
17301 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17302 libs when built with flat Athena.
17304 2000-01-27 Martin Buchholz <martin@xemacs.org>
17306 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17307 Use coding standards for function prototypes.
17309 2000-01-25 Martin Buchholz <martin@xemacs.org>
17311 * dialog-msw.c (push_lisp_string_as_unicode):
17312 * doc.c (unparesseuxify_doc_string):
17313 * dired.c (Fuser_name_completion_1):
17314 * dired.c (Fuser_name_all_completions):
17315 * dired.c (free_user_cache):
17316 * dired.c (user_name_completion):
17317 * console-x.c (get_display_arg_connection):
17318 * minibuf.c (clear_echo_area_internal):
17319 * minibuf.c (echo_area_append):
17320 * eldap.c (Fldap_open):
17321 * eldap.c (Fldap_search_internal):
17322 * frame-x.c (x_set_frame_text_value):
17323 * frame-x.c (x_set_frame_properties):
17324 * frame-x.c (x_create_widgets):
17325 * redisplay-tty.c (term_get_fkeys_1):
17326 * objects-x.c (x_parse_nearest_color):
17327 * objects-x.c (x_valid_color_name_p):
17328 * objects-x.c (x_initialize_font_instance):
17329 * objects-x.c (x_list_fonts):
17330 * objects-x.c (x_find_charset_font):
17331 * tooltalk.c (Fadd_tooltalk_message_arg):
17332 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17333 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17334 * process-unix.c (unix_create_process):
17335 * ntproc.c (sys_spawnve):
17336 * sound.c (Fplay_sound_file):
17337 * sound.c (Fplay_sound):
17338 * buffer.c (init_initial_directory):
17339 * buffer.c (init_buffer):
17340 * editfns.c (init_editfns):
17341 * editfns.c (Ftemp_directory):
17342 * editfns.c (Fuser_full_name):
17343 * editfns.c (uncache_home_directory):
17344 * editfns.c (get_home_directory):
17345 * editfns.c (Fuser_home_directory):
17346 * editfns.c (Fformat_time_string):
17347 * editfns.c (Fcurrent_time_string):
17348 * gui-x.c (button_item_to_widget_value):
17349 * database.c (Fopen_database):
17350 * event-Xt.c (x_to_emacs_keysym):
17351 * event-Xt.c (x_event_to_emacs_event):
17352 * event-Xt.c (describe_event_window):
17353 * event-msw.c (mswindows_wnd_proc):
17354 * glyphs-eimage.c (jpeg_instantiate):
17355 * glyphs-eimage.c (gif_instantiate):
17356 * glyphs-eimage.c (png_instantiate):
17357 * glyphs-eimage.c (tiff_instantiate):
17358 * glyphs-x.c (xbm_instantiate_1):
17359 * glyphs-x.c (x_xbm_instantiate):
17360 * glyphs-x.c (x_xface_instantiate):
17361 * glyphs-x.c (autodetect_instantiate):
17362 * glyphs-x.c (cursor_font_instantiate):
17363 * glyphs-x.c (x_widget_instantiate):
17364 * glyphs-x.c (x_widget_set_property):
17365 * glyphs-x.c (x_widget_property):
17366 * glyphs-x.c (BUILD_GLYPH_INST):
17367 * print.c (write_string_to_stdio_stream):
17368 * print.c (output_string):
17369 * print.c (Falternate_debugging_output):
17370 * print.c (Fexternal_debugging_output):
17371 * glyphs-msw.c (extract_xpm_color_names):
17372 * glyphs-msw.c (mswindows_xpm_instantiate):
17373 * glyphs-msw.c (bmp_instantiate):
17374 * glyphs-msw.c (resource_name_to_resource):
17375 * glyphs-msw.c (mswindows_resource_instantiate):
17376 * glyphs-msw.c (xbm_instantiate_1):
17377 * glyphs-msw.c (mswindows_xbm_instantiate):
17378 * glyphs-msw.c (mswindows_xface_instantiate):
17379 * glyphs-msw.c (mswindows_widget_instantiate):
17380 * glyphs-msw.c (add_tree_item):
17381 * glyphs-msw.c (add_tab_item):
17382 * glyphs-msw.c (mswindows_combo_box_instantiate):
17383 * glyphs-msw.c (mswindows_widget_property):
17384 * glyphs-msw.c (mswindows_combo_box_property):
17385 * glyphs-msw.c (mswindows_widget_set_property):
17386 * console.c (stuff_buffered_input):
17387 * objects-msw.c (mswindows_initialize_color_instance):
17388 * objects-msw.c (mswindows_valid_color_name_p):
17389 * objects-msw.c (mswindows_list_fonts):
17390 * objects-msw.c (mswindows_font_instance_truename):
17391 * bytecode.c (optimize_compiled_function):
17392 * select-x.c (symbol_to_x_atom):
17393 * select-x.c (x_atom_to_symbol):
17394 * select-x.c (hack_motif_clipboard_selection):
17395 * select-x.c (selection_data_to_lisp_data):
17396 * select-x.c (lisp_data_to_selection_data):
17397 * select-x.c (Fx_get_cutbuffer_internal):
17398 * select-x.c (Fx_store_cutbuffer_internal):
17399 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17400 * buffer.h (TO_INTERNAL_FORMAT): New function.
17401 * emacs.c (make_arg_list_1):
17402 * emacs.c (make_argc_argv):
17403 * emacs.c (main_1):
17404 * emacs.c (Fdump_emacs):
17405 * emacs.c (split_string_by_emchar_1):
17410 * device-x.c (x_init_device):
17411 * device-x.c (Fx_valid_keysym_name_p):
17412 * device-x.c (Fx_get_font_path):
17413 * device-x.c (Fx_set_font_path):
17414 * glyphs.c (bitmap_to_lisp_data):
17415 * glyphs.c (pixmap_to_lisp_data):
17416 * alloc.c (make_ext_string): Use coding system arguments. Update
17418 * alloc.c (build_string):
17419 * callproc.c (child_setup):
17420 * callproc.c (init_callproc):
17421 * fileio.c (lisp_strerror):
17422 * fileio.c (directory_file_name):
17423 * fileio.c (Fexpand_file_name):
17424 * fileio.c (Ffile_truename):
17425 * fileio.c (Fsysnetunam):
17426 * fileio.c (Fdo_auto_save):
17427 * sysdep.c (sys_readdir):
17428 * tests.c: New file. Allow adding C tests.
17429 Replace GET_* macros with a more comprehensible and flexible
17430 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17432 Any coding system can be used to do format conversion.
17433 Eliminate enum external_data_format.
17434 Eliminate convert_to_external_format.
17435 Eliminate convert_to_internal_format.
17436 Make sure file-name, keyboard, terminal, and ctext are always
17437 defined as coding systems or aliases. Make
17438 file-name-coding-system, terminal-coding-system, and
17439 keyboard-coding-system magical variables that are equivalent to
17440 defining the corresponding coding system aliases.
17442 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17443 * file-coding.c (Fcoding_system_alias_p): New function.
17444 * file-coding.c (Fcoding_system_aliasee): New function.
17445 * file-coding.c (append_suffix_to_symbol): New function.
17446 * file-coding.c (dangling_coding_system_alias_p): New function.
17447 * file-coding.c (Ffind_coding_system):
17448 * file-coding.c (Fcopy_coding_system):
17449 * file-coding.c (encode_coding_no_conversion):
17450 * file-coding.c (syms_of_file_coding):
17451 * file-coding.c (vars_of_file_coding):
17452 Rewrite coding system alias code.
17453 Allow nested aliases, like symbolic links.
17454 Allow redefinition of coding system aliases.
17455 Prevent existence of dangling coding system aliases.
17457 * dired.c (Fuser_name_completion_1):
17458 * dired.c (Fuser_name_all_completions):
17459 A crash would happen if user did QUIT in the middle of building
17460 user_name_cache. Remove redundant code in mainline and unwind_protect.
17463 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17465 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17466 an unsigned char *. Update all callers.
17468 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17470 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17472 2000-01-25 Martin Buchholz <martin@xemacs.org>
17474 * elhash.c (hentry_description): Use more portable definition.
17475 (resize_hash_table): Initialize new hentries using
17476 xnew_array_and_zero, thereby simplifying the code.
17478 * mule-charset.c (make_charset): Make sure entire object is
17479 initialized, to avoid Purify warnings.
17481 * alloc.c (resize_string): Fix unlikely crash with big strings.
17483 2000-01-24 Martin Buchholz <martin@xemacs.org>
17485 * realpath.c (xrealpath):
17486 Don't call getwd().
17488 2000-01-25 Martin Buchholz <martin@xemacs.org>
17490 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17492 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17494 * unexelfsgi.c (unexec): Change the way we decide which segment
17495 should be extended.
17497 Assumption that .bss section should be outside the PT_LOADable
17498 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17499 it's present) is inside the 'data' segment. This would fail the
17500 test which was used to find a segment to grow and cover new
17501 heap. Instead of this assumption, I created another one - on IRIX
17502 the segment to grow should start below .bss and it's address
17503 should extent above the end of .bss. Once this segment is
17504 identified, it's grown to accommodate the new heap and new
17505 zero-length .bss section is added at the end of .data2.
17507 2000-01-25 Martin Buchholz <martin@xemacs.org>
17509 * eval.c (Feval): Wrong number of arguments should use original
17510 function, not the indirect_function version of it.
17512 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17514 * glyphs-x.c (x_button_instantiate): Don't add image if
17515 it is not a pixmap.
17516 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17519 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17521 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17523 (DEFVAR_INT_MAGIC): Ditto.
17524 (DEFVAR_BOOL_MAGIC): Ditto.
17525 * glyphs.h: Reindent backslash.
17527 2000-01-24 Martin Buchholz <martin@xemacs.org>
17529 * glyphs-widget.c (layout_query_geometry):
17530 (layout_layout): Use correct types for gheight, gwidth.
17532 2000-01-24 Martin Buchholz <martin@xemacs.org>
17534 * EmacsManager.c (QueryGeometry): Purified.
17536 2000-01-23 Martin Buchholz <martin@xemacs.org>
17538 * alloc.c (make_float): Make sure entire object is initialized, to
17539 avoid Purify warnings.
17540 (pdump_register_sub): Remove useless assignment.
17541 (pdump): Use xmalloc, not malloc.
17542 (pdump_load): Use xmalloc, not malloc.
17544 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17551 * sysdep.c: Removed redundant #include <windows.h>
17553 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17555 * frame.c (delete_frame_internal): Do not delete device when its
17556 implementation so declares.
17557 (delete_frame_internal): Set device selected frame to nil when
17558 last frame goes away.
17560 * device-msw.c (msprinter_device_system_metrics): Implemented.
17561 (mswindows_device_system_metrics): Added 'device-dpi property.
17563 * device.c: (Fdevice_printer_p): Added.
17564 Added 'offset-workspace device metric.
17566 * console.h (device_metrics): Declared DM_offset_workspace.
17568 2000-01-23 Martin Buchholz <martin@xemacs.org>
17570 * fileio.c (Ffile_truename): Remove pointless and confusing
17571 initialization of elen.
17573 * glyphs-widget.c: Compiler warning fixes.
17575 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17577 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17578 instead of a Lisp_Object as argument to make it consistent with
17579 the other LIVE_P macros.
17580 (CHECK_LIVE_PROCESS): New macro.
17582 * process.c: Declare Qprocess_live_p.
17583 (Fprocess_live_p): New function.
17584 (create_process): Use PROCESS_LIVE_P.
17585 (read_process_output): Ditto.
17586 (set_process_filter): Ditto.
17587 (Fdelete_process): Ditto.
17588 (kill_buffer_processes): Ditto
17589 (process_send_signal): Use CHECK_LIVE_PROCESS.
17590 (Fprocess_input_coding_system): Check whether process is still
17591 alive (fix PR#1061).
17592 (Fprocess_output_coding_system): Ditto.
17593 (Fprocess_coding_system): Ditto.
17594 (Fset_process_input_coding_system): Ditto.
17595 (Fset_process_output_coding_system): Ditto.
17597 2000-01-23 Andy Piper <andy@xemacs.org>
17599 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17602 * glyphs.c (mark_image_instance): take into account changed
17603 image_instance format.
17604 (image_instance_equal): ditto.
17605 (image_instance_hash): ditto.
17607 * glyphs-widget.c (widget_instantiate): Incorporate layout
17608 instantiation here. Delay layout of the layout until later.
17609 (layout_instantiate): deleted.
17610 (layout_query_geometry): new function. get the geometry of a
17612 (layout_layout): layout a layout dynamically.
17613 (image_instantiator_widget): New function - splitting up
17614 image_instantiator_format_create_glyphs_widget for netwinder
17616 (image_instantiator_buttons):
17617 (image_instantiator_edit_fields):
17618 (image_instantiator_combo_box):
17619 (image_instantiator_scrollbar):
17620 (image_instantiator_progress_guage):
17621 (image_instantiator_tree_view):
17622 (image_instantiator_tab_control):
17623 (image_instantiator_labels):
17624 (image_instantiator_layout): ditto.
17625 (image_instantiator_format_create_glyphs_widget): Call preceding
17628 2000-01-22 Martin Buchholz <martin@xemacs.org>
17630 * process.c (Fset_process_coding_system):
17631 * device-x.c (Fx_keysym_hash_table):
17634 * lstream.c (Lstream_write): Return documented value, not 0.
17636 * fileio.c (directory_file_name):
17637 (Fsubstitute_in_file_name):
17638 (Fsubstitute_insert_file_contents_internal):
17639 (Fwrite_region_internal):
17644 Remove vestigial APOLLO-conditional code.
17646 2000-01-21 Martin Buchholz <martin@xemacs.org>
17648 * getpagesize.h: Add guard macros.
17649 * libsst.h: Add guard macros.
17650 * libst.h: Add guard macros.
17651 * line-number.h: Add guard macros.
17652 * ndir.h: Add guard macros.
17653 * sysfloat.h: Add guard macros.
17654 * sysfile.h: Add guard macros.
17655 * sysproc.h: Add guard macros.
17656 * syswait.h: Add guard macros.
17657 * xintrinsic.h: Add guard macros.
17658 * xintrinsicp.h: Add guard macros.
17659 * xmmanager.h: Add guard macros.
17660 * xmmanagerp.h: Add guard macros.
17661 * xmprimitive.h: Add guard macros.
17662 * xmu.h: Add guard macros.
17663 * gpmevent.h: Add copyright statement. Add guard macros.
17664 * miscplay.h: Add guard macros.
17665 * *.h: Use consistent C-standards-approved guard macro names.
17667 * opaque.c (make_opaque): Switch parameter order.
17668 * opaque.h (make_opaque): Switch parameter order.
17669 Update all callers.
17670 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17672 * config.h.in (type_checking_assert): Added.
17673 (bufpos_checking_assert): Added.
17675 2000-01-21 Martin Buchholz <martin@xemacs.org>
17677 * alloc.c: Harmless pdump changes.
17679 - spell alignment correctly.
17680 * sysdep.c: Use countof()
17682 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17684 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17685 initially_selected_for_input() console method, default to 0.
17686 (semi_canonicalize_console_connection): Try to delegate to
17687 canonicalize_console_connection if no such console method.
17688 (canonicalize_console_connection): Vice versa.
17689 (print_console): Do not print nil connection.
17691 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17692 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17693 (XDEVIMPF_FRAMELESS_OK): Added.
17694 (CONSOLE_INHERITS_METHOD): Added.
17696 * console-msw.c (mswindows_canonicalize_console_connection):
17698 (mswindows_canonicalize_device_connection): Added.
17700 * console-msw.h (struct msprinter_device): Added this struct and
17702 (mswindows_device): Made fontlist a lisp object.
17704 * device.c (semi_canonicalize_device_connection): Try to delegate
17705 to canonicalize_device_connection if no such console method.
17706 (canonicalize_device_connection): Vice versa.
17707 (print_device): Do not print nil connection.
17709 * device-msw.c (mswindows_init_device): Call InitCommonControls
17711 (mswindows_delete_device): Removed fontlist deallocation.
17712 (mswindows_mark_device): Added.
17714 * events.c (event_equal): Added abort() at unreached code.
17715 (event_hash): Ditto.
17717 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17718 fallback tags of Windows devices.
17720 * general.c (syms_of_general): Initialized Qmsprinter.
17722 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17723 of fallback tags of Windows devices.
17725 * lisp.h: Declared Qmsprinter.
17727 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17729 (mswindows_list_fonts): Ditto.
17730 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17731 that it can be used by both mswindows and msprinter devices.
17732 (initialize_font_instance): Added.
17733 (mswindows_initialize_font_instance): Use it.
17734 (msprinter_initialize_font_instance): Added.
17736 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17737 and implementation flags check.
17738 (redisplay_without_hooks): Changed the call to the above.
17739 (Fredraw_device): Ditto.
17740 (Fredisplay_device): Ditto.
17742 * redisplay-msw.c (get_frame_dc): Implemented.
17743 (get_frame_compdc): Implemented.
17744 (many functions): Use the two functions above to get device
17745 contexts, ether for a window or a printer.
17747 2000-01-21 Olivier Galibert <galibert@pobox.com>
17749 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17750 initialization here.
17751 (init_symbols_once_early): Call it.
17752 * emacs.c (main_1): Call it.
17753 * symsinit.h: Declare it.
17755 2000-01-19 Olivier Galibert <galibert@pobox.com>
17757 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17759 (pdump_backtrace): Ditto.
17760 (pdump_register_object): Ditto. Cleanup use of the pointers.
17761 (pdump_get_entry): Abort if trying to register a null pointer.
17762 (pdump_dump_data): Cleanup types when relocating.
17763 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17764 (pdump_dump_rtables): Remove bad casts.
17765 (pdump_load): Cleanup relocation w.r.t union type. Use a
17766 Lisp_Object instead of a EMACS_INT for the hashtable
17769 2000-01-20 Martin Buchholz <martin@xemacs.org>
17771 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17773 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17775 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17777 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17779 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17781 * faces.h (FACE_STRIKETHRU_P): Added.
17783 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17786 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17787 (mswindows_set_dc_font): New function, aware of font variants,
17788 separated from mswindows_update_dc.
17790 * objects-msw.h (struct mswindows_font_instance_data): Added
17793 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17794 cached fonts and the data structure.
17795 (mswindows_initialize_font_instance): Added creation of font data
17797 (mswindows_print_font_instance): Print at least something.
17798 (mswindows_create_font_variant): Implemented.
17799 (mswindows_get_hfont): Implemented.
17801 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17803 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17804 prototyping problem with msvc.
17806 * emacs.c (main_1): added syms_of_gui_mswindows() call
17808 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17809 syms_of_gui_mswindows() function
17811 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17813 2000-01-18 Martin Buchholz <martin@xemacs.org>
17815 * XEmacs 21.2.27 is released.
17817 2000-01-18 Martin Buchholz <martin@xemacs.org>
17819 * glyphs-eimage.c (struct tiff_error_struct):
17821 (tiff_warning_func):
17822 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17827 * unexec.c: Remove vestigial Lucid C code.
17831 * libsst.c: Ansify.
17832 Remove declarations of errno and strerror().
17834 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17836 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17838 2000-01-16 Martin Buchholz <martin@xemacs.org>
17840 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17843 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17848 Change enum eol_type to eol_type_t.
17850 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17852 * gui.c (get_gui_callback): Check cons before accessing car.
17854 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17856 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17857 (XSETSPECIFIER_TYPE): Ditto.
17859 2000-01-17 Didier Verna <didier@xemacs.org>
17861 * redisplay.c (generate_fstring_runes): compute string size in
17862 characters, not bytes.
17864 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17866 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17868 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17870 * print.c (print_error_message): Call print_prepare().
17872 2000-01-14 Martin Buchholz <martin@xemacs.org>
17874 * .dbxrc: Renamed from dbxrc.
17876 * events.c (event_to_character):
17877 Use `assert (foo)' instead of `if (!foo) abort()'
17879 * .gdbinit (xtype): Add documentation.
17880 * .gdbinit (check-temacs): New function.
17881 * .gdbinit (check-xemacs): New function.
17882 * dbxrc (check-xemacs): New function.
17883 * dbxrc (check-xemacs): New function.
17885 2000-01-14 Andy Piper <andy@xemacs.org>
17887 * glyphs-widget.c (widget_query_geometry): Make sure that we
17888 calculate default dimensions correctly.
17890 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17892 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17894 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17895 pdump_wire'd variable.
17897 * emacs.c: (main_1): Conditionalized calls to
17898 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17900 2000-01-13 Martin Buchholz <martin@xemacs.org>
17902 * window.c (Fset_window_configuration):
17903 * sysdep.c (_start):
17904 * input-method-motif.c (res):
17905 * event-Xt.c (Xt_process_to_emacs_event):
17906 Simple compiler warning fixes.
17908 * bytecode.c (funcall_compiled_function): Use the original
17909 function symbol on the backtrace list in preference to the
17910 compiled_function object in error messages.
17912 2000-01-13 Andy Piper <andy@xemacs.org>
17914 * glyphs-x.c (update_widget_face): Make sure we update the widget
17915 background as well as foreground.
17917 2000-01-13 Andy Piper <andy@xemacs.org>
17919 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17920 fields to subwindow.
17921 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17922 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17923 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17924 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17926 * glyphs-widget.c (check_valid_tab_orientation): new function.
17927 (initialize_widget_image_instance): zero orientation and
17929 (widget_instantiate): pick up orientation.
17930 (tab_control_query_geometry): return appropriate values for
17933 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17934 appropriate creation flags for left, right and bottom tabs.
17936 * s/cygwin32.h: add tab definitions.
17938 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17940 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17941 frame upon hiding a subwindow.
17942 (mswindows_button_instantiate): Changed the push button style to
17944 (mswindows_button_instantiate): Removed button BS_NOTIFY
17946 (mswindows_button_instantiate): Removed redundant check for
17947 a disabled gui item.
17948 (mswindows_button_instantiate): Made use of WS_TABSTOP
17949 consistent: "operable" controls (edit, button, tree, scroll) have
17950 this style, "display-only" ones (static, progress gauge) do
17951 not. This style is currently ignored by XEmacs though. Also,
17952 removed the WS_EX_CONTROLPARENT style - it is not for children,
17953 it is for their parents!
17954 (mswindows_edit_field_instantiate): Ditto.
17955 (mswindows_progress_gauge_instantiate): Ditto.
17956 (mswindows_tree_view_instantiate): Ditto.
17957 (mswindows_tab_control_instantiate): Ditto.
17958 (mswindows_scrollbar_instantiate): Ditto.
17959 (mswindows_combo_box_instantiate): Ditto.
17960 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17961 style to the "clip" window.
17962 (mswindows_button_instantiate): Removed compilation warning by
17963 equally typing terms of the ?: operator.
17965 2000-01-12 Didier Verna <didier@xemacs.org>
17967 * redisplay.c (generate_fstring_runes): new parameter holding the
17968 last modeline-format extent.
17969 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17970 extent, fill the glyph block with it.
17971 (generate_fstring_runes): handle these parameters.
17972 (generate_formatted_string_db): ditto.
17974 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17975 glyphs'extents in the modeline.
17977 1999-01-11 Mike Woolley <mike@bulsara.com>
17979 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17980 256Mb, as a workaround for the non-starting problem many people
17983 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17985 * console-tty.c (Fset_console_tty_output_coding_system):
17986 Force redrawing tty frame.
17988 2000-01-10 Didier Verna <didier@xemacs.org>
17990 * redisplay.c (generate_fstring_runes): fix size computation bug.
17992 2000-01-09 William M. Perry <wmperry@aventail.com>
17994 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17996 2000-01-09 Andy Piper <andy@xemacs.org>
17998 * glyphs-msw.c: index -> i to avoid shadows.
17999 (xbm_create_bitmap_from_data): make static.
18000 (check_valid_string_or_int): deleted.
18001 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18003 * glyphs-x.c (x_update_subwindow): remove unused args.
18005 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18006 back pointer - this is done in allocate_image_instance.
18007 (query_string_font): return Qnil to make the compiler happy.
18008 (unmap_subwindow): set to ~0 to make the compiler happy.
18009 (glyph_query_geometry): comment out until used.
18010 (glyph_layout): ditto.
18012 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18014 * insdel.c (signal_after_change): Remove extraneous unbind_to().