1 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
4 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
6 (Fconcord_object_genre): New function.
8 - Add new builtin symbols `character' and `feature' when
9 HAVE_LIBCHISE is defined.
10 - Add Add new builtin function `concord-object-genre'.
11 (complex_vars_of_concord): New function; assign genres `character'
12 and `feature' when HAVE_LIBCHISE is defined.
14 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * emacs.c (main_1): Call `complex_vars_of_concord' when
17 HAVE_CONCORD is defined.
19 * symsinit.h (complex_vars_of_concord): New prototype.
21 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * chartab.c (allocate_character): Add `static'.
25 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * chartab.c (allocate_character): New function.
28 (Fdefine_char): Use allocate_character().
30 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
35 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * chartab.c (save_uint8_byte_table): Fixed problem when a property
39 (save_uint16_byte_table): Likewise.
41 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * chartab.c (Fchar_feature_property): New function when LIBCHISE
45 (Fput_char_feature_property): Likewise.
46 (syms_of_chartab): Add new builtin functions
47 `char-feature-property' and `put-char-feature-property' when
50 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
54 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
56 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
59 (make_charset): Add new argument `iso_ir'.
60 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
61 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
63 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
64 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
66 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
67 function `make_charset'.
69 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
70 (struct Lisp_Charset): Add new member `iso_ir'.
71 (CHARSET_ISO_IR): New macro.
73 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
76 code-point by GL charset.
78 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
80 * concord.c (concord_id_validate): New function.
81 (structure_type_create_concord): Use `concord_id_validate' instead
82 of `concord_name_validate' to accept integer and character as =id.
84 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * concord.c (func_for_each_object): Fix bug about GC-protection.
88 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * concord.c (Fconcord_object_put): Check argument FEATURE is a
93 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * text-coding.c (struct decoding_stream): Add new member
96 `bom_flag' in XEmacs CHISE.
97 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
100 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
102 * mule-charset.c: Move definition of `=jis-x0208@1978' to
103 lisp/mule/mule-conf.el.
105 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
108 (make_charset): Add new argument `partial'.
109 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
110 (Fmake_reverse_direction_charset): Modify for `make_charset'.
111 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
113 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
114 `=jis-x0208' as a partial coded-charset.
116 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
118 * text-coding.c (decode_add_er_char): Fix problem when a character
119 represented by an entity-reference is not defined.
121 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
126 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
131 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
134 is a relation feature.
136 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * chartab.c (syms_of_chartab): Define
139 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
141 * chartab.h (Q_denotational): New extern when UTF2000 or
142 HAVE_CONCORD is defined.
143 (Q_denotational_from): Likewise.
144 (Q_subsumptive): Likewise.
145 (Q_subsumptive_from): Likewise.
147 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * concord.c (concord_object_put): New function.
150 (Fconcord_object_put): Use `concord_object_put'.
152 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * concord.c (Fconcord_define_object): New function.
155 (syms_of_concord): Add new builtin function
156 `concord-define-object'.
158 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
163 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * concord.c: Add EXFUN for Fconcord_object_get.
166 (Vconcord_genre_object_hash_table): New variable.
167 (concord_genre_cache_get_object): New function.
168 (concord_genre_cache_put_object): New function.
169 (Fconcord_make_object): Use object cache; put object-ID into `=id'
171 (Fconcord_object_put): Call `concord_index_sync' after
172 `concord_index_strid_put_obj'.
173 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
175 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * concord.c (Fconcord_decode_object): Do GCPRO for
178 Fconcord_make_object.
179 (func_for_each_object): Likewise; do GCPRO for
180 for_each_object_closure->function.
181 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
182 for_each_object_closure->function, for_each_object_closure->genre,
183 for_each_object_closure->ds and for_each_object_closure->ret.
184 (concord_object_validate): Do GCPRO for Fconcord_make_object.
186 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * concord.c: Add EXFUNs for Fconcord_decode_object and
190 (Fconcord_make_object): Change order of arguments.
191 (Fconcord_decode_object): Modify for Fconcord_make_object.
192 (func_for_each_object): Likewise.
193 (concord_object_validate): Likewise.
194 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
196 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
200 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * concord.c (Fconcord_decode_object): Try to use readable print
203 form as a key of Concord-index.
204 (Fconcord_object_get): Try to use readable print form as an ID of
206 (Fconcord_object_put): Try to use readable print form as an ID of
207 Concord-object and a feature value.
208 (Fconcord_object_spec): Try to use readable print form as an ID of
211 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * concord.c (print_concord_object): Support readable form.
215 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * emacs.c (main_1): Call `structure_type_create_concord' when
218 HAVE_CONCORD is defined.
220 * symsinit.h (structure_type_create_concord): New prototype.
222 * concord.c (Qconcord_object): New variable.
225 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
227 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
228 char*> for genre-name.
229 (Fconcord_feature_list): Likewise.
230 (Fconcord_make_object): Likewise.
231 (Fconcord_decode_object): Likewise; use <char*> instead of
232 <unsigned char*> for feature_name and strid.
233 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
234 c_obj and feature_name.
235 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
237 (struct closure_for_object_spec): Use <char*> instead of <unsigned
238 char*> for member `object_id'.
239 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
240 char*> for feature-name.
241 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
243 (func_for_each_object): Cast to avoid warnings.
244 (Fconcord_foreach_object_in_feature): Use <char*> instead of
245 <unsigned char*> for genre_name and feature_name.
246 (concord_name_validate): New function.
247 (concord_object_validate): Likewise.
248 (concord_object_instantiate): Likewise.
249 (syms_of_concord): Add new builtin symbols `concord-object',
251 (structure_type_create_concord): New function.
253 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * concord.c (Vconcord_ds_hash_table): New variable.
256 (Vconcord_genre_hash_table): New variable.
257 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
258 (Fconcord_ds_directory): New function.
259 (Fconcord_assign_genre): New function.
260 (Fconcord_genre_directory): New function.
261 (Fconcord_genre_ds): New function.
262 (Fconcord_feature_list): Allow to omit `ds'.
263 (Fconcord_make_object): Likewise.
264 (Fconcord_decode_object): Likewise.
265 (Fconcord_foreach_object_in_feature): Likewise.
266 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
267 Fconcord_assign_genre, Fconcord_genre_directory and
269 (vars_of_concord): Setup Vconcord_ds_hash_table and
270 Vconcord_genre_hash_table.
272 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * concord.c (struct closure_for_each_object): Add new member
276 (func_for_each_object): Setup the return value to
277 `for_each_object_closure->ret'.
278 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
279 returns the value instead of Qt.
281 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * concord.c: New file.
285 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
288 `lrecord_type_concord_object'.
290 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * symsinit.h (syms_of_concord): New prototype.
293 (vars_of_concord): New prototype.
295 * emacs.c (main_1): Setup symbols and variable about concord if
296 HAVE_CONCORD is defined.
298 * config.h.in (HAVE_CONCORD): New macro.
300 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * chartab.c (Fput_char_attribute): For each character relation
303 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
305 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * chartab.c (Fput_char_attribute): Use
308 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
309 calling `put_char_composition'.
311 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * chartab.c (Q_halfwidth_of): New variable.
314 (put_char_composition): Return `<-halfwidth' instead of
315 `=decomposition' for compatibility mapping to single character
317 (Fput_char_attribute): Convert char-specs in value of
318 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
319 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
321 (syms_of_chartab): Add new symbol `<-halfwidth'.
323 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * chartab.c (put_char_composition): Return
326 `<-formed@{isolated|initial|medial|final}' for compatibility
327 mapping to single character tagged
328 `{isolated|initial|medial|final}'.
330 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * chartab.c (Q_compat_of): Deleted.
333 (put_char_composition): Return `<-FOO' for compatibility mapping
334 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
335 of `symbol_name (XSYMBOL(...))'.
336 (Fput_char_attribute): Convert char-specs in value of
337 `{<-|->}font[^*]*' to characters and put reverse links.
338 (Fsave_char_attribute_table): Don't refer Q_compat_of.
339 (syms_of_chartab): Delete builtin symbol `<-compat'.
341 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * chartab.c (Q_circled_of): New variable.
344 (put_char_composition): Return `<-circled' instead of
345 `=decomposition' for compatibility mapping to single character
347 (Fput_char_attribute): Convert char-specs in value of
348 `{<-|->}circled[^*]*' to characters and put reverse links.
349 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
351 (syms_of_chartab): Add new symbol `<-circled'.
353 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * chartab.c (Qto_decomposition_at_circled): New variable.
356 (put_char_composition): Return `=>decomposition@circled' instead
357 of `=decomposition' for compatibility decomposition mapping tagged
359 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
361 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * chartab.c (Q_subscript_of): New variable.
364 (put_char_composition): Return `<-subscript' instead of
365 `=decomposition' for compatibility mapping to single character
367 (Fput_char_attribute): Convert char-specs in value of
368 `{<-|->}subscript[^*]*' to characters and put reverse links.
369 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
371 (syms_of_chartab): Add new symbol `<-subscript'.
373 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * chartab.c (Q_superscript_of): New variable.
376 (put_char_composition): Return `<-superscript' instead of
377 `=decomposition' for compatibility mapping to single character
379 (Fput_char_attribute): Convert char-specs in value of
380 `{<-|->}superscript[^*]*' to characters and put reverse links.
381 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
383 (syms_of_chartab): Add new symbol `<-superscript'.
385 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * chartab.c (Qto_decomposition_at_compat): Deleted.
388 (Qto_decomposition_at_superscript): New variable.
389 (put_char_composition): Use `=>decomposition@superscript' instead
390 of `=decomposition' for compatibility decomposition mapping tagged
392 (Fput_char_attribute): Fix condition about `put_char_composition'.
393 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
394 add news symbol `=>decomposition@superscript'.
396 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
399 for compatibility decomposition mapping tagged FOO.
400 (Fput_char_attribute): Modify for `put_char_composition'.
402 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * chartab.c (Qto_decomposition_at_compat): New variable.
405 (Q_compat_of): Renamed from `Q_compatibility_of'.
406 (put_char_composition): Rename `Q_compatibility_of' to
407 `Q_compat_of'; return `=>decomposition@compat' for compatibility
408 decomposition mapping.
409 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
411 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
412 `<-compatibility' to `<-compat'.
414 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * chartab.c (Q_compatibility_of): New variable.
417 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
418 object is proved to be a cons cell; return `<-compatibility' if
419 the first element of argument `value' is `compat'.
420 (Fput_char_attribute): Eliminate the first value if
421 `put_char_composition' returns `<-compatibility'.
422 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
423 for `<-compatibility'.
424 (syms_of_chartab): Add new symbol `<-compatibility'.
426 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * chartab.c (Q_canonical): New variable.
429 (put_char_composition): Return a feature name: return
430 `->canonical' if argument `value' specifies single character.
431 (Fput_char_attribute): Use `put_char_composition' to determine
432 feature name for `=decomposition' or `->denotational'.
433 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
435 (syms_of_chartab): Add new symbol `->canonical'.
437 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * chartab.c (Qmap_decomposition): New variable.
440 (Fput_char_attribute): Convert `->decomposition' to
442 (syms_of_chartab): Add new symbol `=decomposition'.
444 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * chartab.c (Fget_range_char_table): Fix serious problem when
449 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
451 * chartab.c (char_table_get_db): Use `read_from_c_string'.
453 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
455 * lread.c (read_from_c_string): New function.
457 * lisp.h (read_from_c_string): New prototype.
459 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * chartab.c (Fput_char_attribute): Convert char-specs in value of
462 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
463 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
464 for `{<-|->}Oracle-Bones[^*]*'.
466 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
471 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * text-coding.c (Qccs_priority_list): New variable in XEmacs
475 (Fmake_coding_system): Support new property `ccs-priority-list' in
477 (Fcoding_system_property): Likewise.
478 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
479 Vdefault_coded_charset_priority_list in XEmacs CHISE.
480 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
482 (complex_vars_of_file_coding): Define new coding-system-property
483 `ccs-priority-list' in XEmacs CHISE.
485 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
487 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
490 changed to normal function.
491 (encode_char_2): Likewise.
493 * mule-charset.c (decoding_table_put_char): Copied from
494 char-ucs.h; changed to normal function.
495 (encode_char_2): Likewise.
497 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
501 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
502 (encode_char_2_search_children): New inline function.
503 (encode_char_2): Refer
504 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
505 and use `encode_char_2_search_children'.
507 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
510 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
511 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
512 (vars_of_mule_charset): Add new variable
513 `display-coded-charset-priority-use-inheritance' and
514 `display-coded-charset-priority-use-hierarchy-order'.
516 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * char-ucs.h (Q_subsumptive): New extern.
519 (Q_denotational): Likewise.
520 (encode_char_2): Search children specified by `->subsumptive' and
523 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
525 * mule-charset.c (complex_vars_of_mule_charset): Modify the
526 X-registry of `ucs-bmp'.
528 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * chartab.c (char-variants): Refer `->subsumptive',
531 `->denotational' and `->identical' as same as `->ucs-unified'.
533 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * chartab.c (Fput_char_attribute): Convert char-specs in value of
536 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
539 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * text-coding.c: Add EXFUN for `Fregexp_quote'.
542 (decode_add_er_char): Fix problem about infinite loop when a CCS
543 specified in `coded-charset-entity-reference-alist' is not
546 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * mule-charset.c (syms_of_mule_charset): Rename
549 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
551 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
553 * fns.c (simplify_char_spec): Don't allocate new character-object
554 if specified char_spec does not have any CCS-features.
556 * chartab.h: Add EXFUN for Fdefine_char.
558 * chartab.c: Delete EXFUN for Fdefine_char.
560 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * fns.c (simplify_char_spec): Use Fdefine_char instead of
563 Ffind_char for char-spec.
565 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * lisp-disunion.h (XCHARVAL): Fix condition about
570 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
574 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
575 point; use <Emchar> instead of <int> for character-id.
577 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
580 (make_char): Likewise.
581 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
583 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
584 instead of <int> as the type of return value; use <Lisp_Object>
585 instead of <Emchar> as the type of argument.
586 (XCHARVAL[macro version]): Cast the result into <Emchar>.
588 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
589 syntaxcode> instead of <int>.
591 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * chartab.c (put_char_composition): Use DECODE_CHAR to get
594 character corresponding with UCS code point.
595 (Fput_char_attribute): Likewise.
597 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
598 character in the UCS decoding-table if the char-id is not equal to
601 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
604 for aliases; write `description'; write
605 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
608 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * chartab.c (Fsave_char_attribute_table): Don't use
611 `save_charset_properties'.
613 * mule-charset.c (Fsave_charset_properties): Renamed from
614 `save_charset_properties' and changed to Lisp function again;
615 write property `type' as `CCS'; write properties `final-byte' and
616 `mother' if they exists.
617 (syms_of_mule_charset): Revive builtin function
618 `save-charset-properties' when HAVE_LIBCHISE is defined.
620 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
623 instead of Vexec_directory.
624 (char_attribute_system_db_file): Likewise.
626 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
628 * chartab.c (Fsave_char_attribute_table): Use
629 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
632 * mule-charset.c (save_charset_properties): Renamed from
633 `Fsave_charset_properties'; changed to non-Lisp function.
634 (syms_of_mule_charset): Abolish builtin function
635 `save-charset-properties'.
637 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * mule-charset.c (Fsave_charset_properties): New function when
640 HAVE_LIBCHISE is defined.
641 (syms_of_mule_charset): Add new builtin function
642 `save-charset-properties' when HAVE_LIBCHISE is defined.
644 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * chartab.c (Fput_char_attribute): Convert char-specs in value of
647 `{<-|->}ancient[^*]*' to characters and put reverse links.
648 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
649 for `{<-|->}ancient[^*]*'.
651 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * chartab.c (Fput_char_attribute): Convert char-specs in value of
654 `{<-|->}original[^*]*' to characters and put reverse links.
655 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
656 for `{<-|->}original[^*]*'.
658 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
662 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
664 * mule-charset.c (Qsystem_char_id): New variable.
666 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
667 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
669 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * chartab.c (Fput_char_attribute): When processing a reference of
672 a character, put into the end of the reversed reference of each
675 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * chartab.c (Q_same): Deleted.
678 (Q_same_of): Deleted.
679 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
680 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
682 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
684 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * chartab.c (Q_vulgar): Deleted.
687 (Q_vulgar_of): Deleted.
688 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
689 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
691 (syms_of_chartab): Don't define `{<-|->}vulgar'.
693 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * chartab.c (Fput_char_attribute): Convert char-specs in value of
696 `{<-|->}wrong[^*]*' to characters and put reverse links.
697 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
698 for `{<-|->}wrong[^*]*'.
700 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * chartab.c (Q_vulgar): New variable.
703 (Q_vulgar_of): New variable.
704 (Fput_char_attribute): Convert char-specs in value of
705 `{->|<-}vulgar' to characters and put reverse links.
706 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
708 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
710 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * text-coding.c (decode_add_er_char): Must to quote prefix string
715 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * mule-charset.c (put_char_ccs_code_point): Store characters of
718 =ucs whose code_points >= 0xF0000.
720 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
722 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
724 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
726 (complex_vars_of_mule_charset): Add new coded-charset
727 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
728 builtin characters over 0xEFFFF.
730 * chartab.c (syms_of_chartab): Don't define symbol
731 `system-char-id' in every case.
733 * char-ucs.h (Qsystem_char_id): New extern variable.
734 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
736 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * text-coding.c (char_encode_utf8): Try to use entity-references
739 for U-000F0000 ... U-0010FFFF.
741 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * text-coding.c (ER_BUF_SIZE): New macro.
744 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
746 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
747 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
749 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * chartab.c (find_char_feature_in_family): New function.
752 (Fchar_feature): Use `find_char_feature_in_family' with
753 `->identical', `<-subsumptive' and `<-denotational'.
755 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * text-coding.c (char_encode_as_entity_reference): Allow prefix
758 within 8 characters; fix infinite loop.
760 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * chartab.c (Q_same): New variable.
763 (Q_same_of): New variable.
764 (Fput_char_attribute): Convert char-specs in value of
765 `{->|<-}same' to characters and put reverse links.
766 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
768 (syms_of_chartab): Add new symbols `{->|<-}same'.
770 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
772 * chartab.c (Q_component): New variable.
773 (Q_component_of): Likewise.
774 (Fput_char_attribute): Convert char-specs in value of
775 `{->|<-}ideographic-component-forms' to characters and put reverse
777 (syms_of_chartab): Add new symbols
778 `{->|<-}ideographic-component-forms'.
780 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
782 * chartab.c (Q_identical): New variable.
783 (Q_identical_from): New variable.
784 (Fchar_feature): Regard `->identical' as a feature to find
786 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
787 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
788 for `{->|<-}identical'.
789 (syms_of_chartab): Add new symbols `{->|<-}identical'.
791 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * char-ucs.h (encode_char_2): New inline function.
794 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
796 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * chartab.c (Fput_char_attribute): Convert char-specs to
799 characters in value of `ideographic-structure'.
800 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
801 for `{<-|->}simplified(@...)'.
802 (Fdefine_char): Try to use predefined character's id.
804 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * fns.c (simplify_char_spec): Try to convert builtin chars to
809 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * chartab.c (Fput_char_attribute): Convert char-specs in value of
812 `<-simplified[^*]*' to characters and put reverse links.
814 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
816 * chartab.c (Q_subsumptive): Renamed from Q_unified.
817 (Q_subsumptive_from): Renamed from Q_unified_from.
818 (Fchar_feature): Use `Q_subsumptive_from' instead of
820 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
822 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
823 `<-unified' to `<-subsumptive'.
825 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
828 inheritance itself; fix typo; stop recursive search if cyclic
829 inheritance is found.
831 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
833 * chartab.c (Q_denotational): New variable.
834 (Q_denotational_from): New variable.
835 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
836 (put_char_attribute): New function.
837 (Fput_char_attribute): Use `put_char_attribute'; regard
838 `->denotational' and `<-denotational' as same as `->unified' and
840 (syms_of_chartab): Add new symbols `->denotational' and
843 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
846 `Fget_char_attribute'.
847 (Fchar_variants): Likewise.
848 (get_char_table): Likewise.
849 (Fchar_feature): New function.
850 (put_char_composition): Use `Fchar_feature' instead of
851 `Fget_char_attribute'.
852 (Fput_char_attribute): Likewise; don't put the target character
853 into its `->unified' value.
854 (syms_of_chartab): Add new builtin function `char-feature'.
856 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
858 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
859 `Fget_char_attribute'.
860 (char_encode_utf8): Likewise.
862 * chartab.h: Add an EXFUN for `Fchar_feature'.
864 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * chartab.c (Vnext_defined_char_id): New variable.
867 (Fput_char_attribute): Accept characters in `->unified'.
868 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
869 new characters which are not related with builtin char-id ranges.
870 (vars_of_chartab): Add new variable `next-defined-char-id'.
872 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * chartab.c (Q_unified): New variable.
875 (Q_unified_from): New variable.
876 (Fput_char_attribute): Add code for `->unified'.
877 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
880 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
882 * mule-charset.c (decode_ccs_conversion): New function.
883 (decode_defined_char): Use `decode_ccs_conversion'.
884 (decode_builtin_char): Likewise.
886 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * char-ucs.h: Change some charset-ids of private coded-charsets.
890 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
893 (char_encode_as_entity_reference): Likewise.
894 (decode_coding_big5): Modify for `decode_defined_char' and
896 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
897 avoid compiler warning.
898 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
900 * mule-charset.c (decode_defined_char): Add new argument
901 `without_inheritance'.
902 (Fdecode_char): Add new optional argument `without_inheritance'.
903 (Fdecode_builtin_char): Modify for `Fdecode_char'.
905 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
906 (simplify_char_spec): Likewise.
908 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
911 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
912 (map_char_table): Likewise.
913 (Fdefine_char): Use `Fdecode_char' without inheritance.
914 (Ffind_char): Modify for `Fdecode_char'.
916 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
918 * char-ucs.h (decode_defined_char): Add new argument
919 `without_inheritance'.
920 (DECODE_CHAR): Likewise.
921 (MAKE_CHAR): Modify for `DECODE_CHAR'.
923 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * chartab.c (Vchise_system_db_directory): New variable.
926 (vars_of_chartab): Add new variable `chise-system-db-directory'.
928 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * chartab.c: EXFUN `Fmount_char_attribute_table'.
931 (print_chartab_range): Don't define when `UTF2000' is defined.
932 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
935 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
938 and optional argument `rehash' is specified, call
939 `open_chise_data_source_maybe' before
940 `chise_ds_foreach_char_feature_name' is called.
942 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
944 * chartab.c (char_attribute_list_reset_map_func): New function
945 when HAVE_LIBCHISE is defined.
946 (Fchar_attribute_list): Add new optional argument `rehash' when
947 HAVE_LIBCHISE is defined.
948 (open_chise_data_source_maybe): Use "chise-db" instead of
950 (char_attribute_system_db_file): Likewise.
951 (Fload_char_attribute_table): Use
952 `chise_feature_foreach_char_with_value' instead of
953 `chise_char_feature_value_iterate'.
955 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
957 * chartab.c (Vchise_db_directory): New variable.
958 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
960 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
963 instead of HAVE_CHISE to specify using with libchise.
965 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
967 * chartab.h: Don't use HAVE_CHISE_CLIENT.
969 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
970 defined or HAVE_LIBCHISE_LIBCHISE is defined.
971 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
973 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
974 HAVE_CHISE to specify using with libchise.
975 (syms_of_chartab): Don't define symbol `system-char-id' when
976 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
978 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
980 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
981 specify CHISE DB support.
982 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
983 of `char_attribute_system_db_file' to check feature DB file.
985 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
986 HAVE_CHISE_CLIENT to specify CHISE DB support.
988 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
989 specify CHISE DB support.
990 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
992 (Freset_char_attribute_table): Use `chise_feature_setup_db'
993 instead of `char_attribute_system_db_file' to check feature DB
996 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
998 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1001 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1003 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1004 (Fsave_charset_mapping_table): Don't use
1005 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1007 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1008 (HAVE_LIBCHISE): New macro.
1010 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1012 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1013 (Fsave_char_attribute_table): Don't use
1014 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1016 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1018 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1020 (save_uint16_byte_table): Likewise.
1021 (save_byte_table): Likewise.
1022 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1023 instead of `chise_char_load_feature_value'.
1024 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1026 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1028 * chartab.h (struct Lisp_Char_Table): Delete member
1029 `feature_table' if CHISE is defined.
1031 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1032 (Fcopy_char_table): Likewise.
1033 (char_table_open_db_maybe): Likewise.
1034 (char_table_close_db_maybe): Likewise.
1035 (char_table_get_db): Likewise.
1036 (Fmount_char_attribute_table): Likewise.
1037 (Fload_char_attribute_table): Likewise.
1039 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * mule-charset.c (load_char_decoding_entry_maybe): Use
1042 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1045 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1047 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1048 instead of `chise_open_data_source'.
1049 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1052 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1054 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1055 instead of `chise_ds_open_feature_table'.
1056 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1058 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * mule-charset.c (Fsave_charset_mapping_table): Use
1061 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1062 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1063 `chise_ccs_sync' instead of `chise_ccst_close'.
1064 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1066 * chartab.c (open_chise_data_source_maybe): Modify for
1067 `chise_open_data_source'.
1068 (char_table_open_db_maybe): Modify for
1069 `chise_ds_open_feature_table'.
1071 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1073 * mule-charset.c (load_char_decoding_entry_maybe): Use
1074 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1077 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1079 * mule-charset.c (Fsave_charset_mapping_table): Use
1080 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1081 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1082 `chise_dt_put_char' and `chise_dt_close'.
1083 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1084 `chise_ccs_decode' and `chise_ccst_close' instead of
1085 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1088 * chartab.c (char_table_get_db): Use
1089 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1090 (load_char_attribute_table_map_func): Modify for
1091 `chise_char_feature_value_iterate'.
1092 (Fload_char_attribute_table): Use
1093 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1095 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1099 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1101 * chartab.c (put_char_table): Modify for inherited coded-charsets
1104 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1106 * chartab.c (Fput_char_table_map_function): Fixed.
1107 (word_boundary_p): Don't check charset in XEmacs CHISE.
1109 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1111 * mule-charset.c (Fsave_charset_mapping_table): Use
1112 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1113 instead of `chise_open_decoding_table'; refer
1114 `default_chise_data_source'; use `chise_dt_close' instead of
1115 `chise_close_decoding_table'.
1116 (load_char_decoding_entry_maybe): Likewise.
1118 * chartab.c (default_chise_data_source): New variable when `CHISE'
1120 (Fcopy_char_table): `ct->ds' is deleted.
1121 (open_chise_data_source_maybe): New function.
1122 (Fclose_char_data_source): New function.
1123 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1124 use `chise_ds_open_feature_table' instead of
1125 `chise_open_feature_table'.
1126 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1127 `chise_close_feature_table'; `cit->ds' is deleted.
1128 (syms_of_chartab): Add new builtin function
1129 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1131 * chartab.h (default_chise_data_source): New extern variable.
1132 (open_chise_data_source_maybe): New prototype.
1133 (struct Lisp_Char_Table): Delete `ds'.
1135 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1137 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1140 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1142 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1143 not defined; add code for non-libchise setting.
1144 (char_table_close_db_maybe): Likewise.
1145 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1147 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1148 even if `CHISE' is not defined.
1149 (Freset_char_attribute_table): Likewise.
1150 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1151 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1152 `char_table_get_db'.
1153 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1154 `char_table_close_db_maybe' even if `CHISE' is not defined.
1156 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1158 * chartab.c (char_table_open_db_maybe): New function.
1159 (char_table_close_db_maybe): New function.
1160 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1161 (Freset_char_attribute_table): Likewise.
1162 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1163 `char_table_close_db_maybe'.
1164 (Fload_char_attribute_table): Likewise.
1166 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1168 * chartab.c: Don't include <chise.h> because it is included in
1170 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1172 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1174 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1176 (Fclose_char_attribute_table): Close `ct->feature_table' and
1177 `ct->ds' when `CHISE' is defined.
1178 (Freset_char_attribute_table): Likewise.
1179 (load_char_attribute_maybe): Use `cit->ds' and
1180 `cit->feature_table' when `CHISE' is defined.
1181 (Fload_char_attribute_table): Likewise.
1183 * chartab.h: Include <chise.h> when `CHISE' is defined.
1184 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1185 when `CHISE' is defined.
1187 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1189 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1191 (char_table_description): Likewise.
1192 (Fmake_char_table): Likewise.
1193 (Fcopy_char_table): Likewise.
1194 (Fmount_char_attribute_table): Likewise.
1195 (Fclose_char_attribute_table): Likewise.
1196 (Freset_char_attribute_table): Likewise.
1197 (load_char_attribute_maybe): Likewise.
1198 (Fload_char_attribute_table): Likewise.
1200 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1203 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * chartab.c (load_char_attribute_table_map_func): New function
1206 when CHISE is defined.
1207 (Qload_char_attribute_table_map_function): Don't define when CHISE
1209 (Fload_char_attribute_table_map_function): Likewise.
1210 (Fload_char_attribute_table): Use libchise when `CHISE' is
1212 (syms_of_chartab): Don't define
1213 `load-char-attribute-table-map-function' when CHISE is defined.
1215 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1217 * chartab.c: Include <chise.h> when `CHISE' is defined.
1218 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1220 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * mule-charset.c (charset_code_point): Fix problem when searching
1223 in mother CCS fails with `defined_only' mode.
1225 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1227 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1228 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1229 (put_char_composition): Likewise.
1230 (Fput_char_attribute): Likewise.
1231 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1233 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1235 * chartab.c (Q_ucs): Deleted.
1236 (Fput_char_attribute): Don't refer `->ucs'.
1237 (Fdefine_char): Likewise.
1238 (Ffind_char): Likewise.
1239 (syms_of_chartab): Delete `->ucs'.
1241 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1243 * mule-charset.c (Qmap_cns11643_2): Renamed from
1244 `Qchinese_cns11643_2'.
1245 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1246 `chinese-cns11643-2'.
1247 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1250 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (Qmap_cns11643_1): Renamed from
1253 `Qchinese_cns11643_1'.
1254 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1255 `chinese-cns11643-1'.
1256 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1259 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1261 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1262 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1264 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1267 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1269 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1270 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1272 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1275 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1277 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1278 (syms_of_mule_charset): Add new symbol `=big5' instead of
1280 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1282 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1284 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1285 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1287 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1290 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1292 * mule-charset.c (Qmap_jis_x0212): Renamed from
1293 `Qjapanese_jisx0212'.
1294 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1295 `japanese-jisx0212'.
1296 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1299 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1301 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1302 `Qjapanese_jisx0208'.
1303 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1304 of `japanese-jisx0208'.
1305 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1308 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1311 `Qjapanese_jisx0208_1978'.
1312 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1313 of `japanese-jisx0208-1978'.
1314 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1317 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1319 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1320 only for XEmacs CHISE.
1322 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * char-ucs.h: Compact non-ISO-IR charset-ids.
1325 (LEADING_BYTE_UCS): Changed to -177.
1326 (LEADING_BYTE_CONTROL_1): Changed to -77.
1327 (LEADING_BYTE_UCS_BMP): Changed to -176.
1328 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1330 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1332 * mule-charset.c (Qiso_ir): New variable.
1333 (Fmake_charset): Recognise new property `iso-ir'.
1334 (syms_of_mule_charset): Add new symbol `iso-ir'.
1336 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1338 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1339 n to -n; charset-id of non ISO-IR sets are changed to positive
1342 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1344 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1345 for &MCS-XXXXXXXX; values.
1347 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * mule.c (Vxemacs_chise_version): Renamed from
1350 `Vutf_2000_version'.
1351 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1352 `utf-2000-version' as an alias for `xemacs-chise-version'.
1354 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1356 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1357 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1360 * config.h.in (CHISE): New macro.
1362 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1366 (Qmap_ucs): New variable.
1367 (syms_of_mule_charset): Add new symbol `=ucs'.
1368 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1370 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1371 (simplify_char_spec): Likewise.
1373 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1375 * char-ucs.h (Qmap_ucs): New extern variable.
1377 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1380 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1381 don't define it when UTF2000 is not defined.
1382 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1383 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1384 when UTF2000 is not defined.
1385 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1386 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1388 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1390 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1392 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1394 (syms_of_mule_charset): Delete `ucs-gb'.
1395 (complex_vars_of_mule_charset): Likewise.
1397 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1399 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1401 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1402 (Qucs_cns): Deleted.
1403 (syms_of_mule_charset): Delete `ucs-cns'.
1404 (complex_vars_of_mule_charset): Likewise.
1406 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1408 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1410 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1411 (Qucs_jis): Deleted.
1412 (syms_of_mule_charset): Delete `ucs-jis'.
1413 (complex_vars_of_mule_charset): Likewise.
1415 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1417 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1419 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1421 (syms_of_mule_charset): Delete `ucs-ks'.
1422 (complex_vars_of_mule_charset): Likewise.
1424 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1426 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1427 (Qideograph_daikanwa_2): Deleted.
1428 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1429 (complex_vars_of_mule_charset): Likewise.
1431 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1432 (LEADING_BYTE_DAIKANWA_1): Deleted.
1433 (LEADING_BYTE_DAIKANWA_2): Deleted.
1434 (MIN_CHAR_DAIKANWA): Deleted.
1435 (MAX_CHAR_DAIKANWA): Deleted.
1437 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1439 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1440 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1441 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1443 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1444 (Vcharset_ideograph_daikanwa): Deleted.
1445 (Qideograph_hanziku_{1..12}): Deleted.
1446 (Qideograph_daikanwa): Deleted.
1447 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1448 Vcharset_ideograph_daikanwa.
1449 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1450 `ideograph-hanziku-{1..12}'.
1451 (complex_vars_of_mule_charset): Likewise.
1453 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1455 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1457 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1458 (Qideograph_gt_pj_{1..11}): Deleted.
1459 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1460 (complex_vars_of_mule_charset): Likewise.
1462 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1464 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1465 (Vcharset_ideograph_gt): Deleted.
1466 (Qucs_big5): Deleted.
1467 (Qideograph_gt): Deleted.
1468 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1470 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1473 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1474 (LEADING_BYTE_GT): Deleted.
1475 (MIN_CHAR_GT): Deleted.
1476 (MAX_CHAR_GT): Deleted.
1478 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1480 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1482 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1485 (save_uint16_byte_table): Likewise.
1486 (save_byte_table): Likewise; convert values by it.
1487 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1488 for `ideographic-structure'.
1489 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1490 as the filter for `ideographic-structure'.
1492 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1494 * chartab.c (put_char_composition): New function.
1495 (Fput_char_attribute): Use `put_char_composition'; use
1496 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1498 * fns.c (simplify_char_spec): New function.
1499 (char_ref_simplify_spec): New function.
1500 (Fchar_refs_simplify_char_specs): New function.
1501 (syms_of_fns): Add new builtin function
1502 `char-refs-simplify-char-specs'.
1504 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1506 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1507 (Qideograph_cbeta): Deleted.
1508 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1509 (complex_vars_of_mule_charset): Likewise.
1511 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1512 (MIN_CHAR_CBETA): Comment out.
1513 (MAX_CHAR_CBETA): Likewise.
1515 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1517 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1518 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1519 CHISE client feature.
1521 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1525 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1527 * mule-charset.c (charset_lookup_description_1): Use
1528 `NUM_LEADING_BYTES' in UTF-2000.
1530 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1532 * char-ucs.h (GC_CHARSETP): Deleted.
1534 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1536 * char-ucs.h (MAX_CHAR_GT): Updated.
1538 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1540 * text-coding.c: Sync with XEmacs 21.4.10.
1542 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1544 * mule-charset.c (Vcharset_china3_jef): Deleted.
1545 (Qchina3_jef): Deleted.
1546 (syms_of_mule_charset): Don't define `china3-jef'.
1547 (complex_vars_of_mule_charset): Likewise.
1549 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1550 (MIN_CHAR_CHINA3_JEF): Comment out.
1551 (MAX_CHAR_CHINA3_JEF): Comment out.
1553 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1555 * mule-charset.c (Vcharset_ucs_gb): New variable.
1556 (Qucs_gb): New variable.
1557 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1558 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1560 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1562 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1564 * mule-charset.c (charset_code_point): if a coded-charset has a
1565 final-byte, don't inherit the builtin range of the mother CCS.
1567 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * mule-charset.c (charset_code_point): Fix problem about
1572 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1574 * mule-charset.c (decode_builtin_char): Reorganized.
1576 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1578 * text-coding.c (char_encode_as_entity_reference): Modify for
1579 `charset_code_point'.
1580 (char_encode_shift_jis): Likewise.
1581 (char_encode_big5): Likewise.
1582 (char_encode_utf8): Likewise.
1583 (char_encode_iso2022): Likewise.
1585 * mule-charset.c (charset_code_point): Add new argument
1587 (Fencode_char): Add new optional argument `defined_only'.
1589 * chartab.c (put_char_table): Modify for `charset_code_point'.
1591 * char-ucs.h (charset_code_point): Add new argument
1593 (encode_char_1): Modify for `charset_code_point'.
1595 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1598 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1600 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1603 (Qjis_x0208): Likewise.
1604 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1605 XCHARSET_FINAL(charset).
1606 (charset_code_point): Modify condition for final-byte based
1608 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1609 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1610 in UTF-2000; specify `=jis-x0208' as the mother of
1611 `japanese-jisx0208-1978', `japanese-jisx0208' and
1612 `japanese-jisx0208-1990' in UTF-2000.
1614 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1616 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1618 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * text-coding.c (decode_coding_utf16): Support UTF-16.
1621 (char_encode_utf16): Fixed.
1623 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1625 * text-coding.c (Qutf16): New variable in MULE.
1626 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1627 (Fcoding_system_type): Add `utf-16' in MULE.
1628 (struct detection_state): Add a structure for utf16 in MULE.
1629 (detect_coding_type): Setup st->utf16.mask in MULE.
1630 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1632 (reset_encoding_stream): Use `char_encode_utf16' and
1633 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1634 (detect_coding_utf16): New function [incomplete].
1635 (decode_coding_utf16): New function [support only UCS-2].
1636 (char_encode_utf16): New function.
1637 (char_finish_utf16): New function.
1638 (syms_of_file_coding): Add new symbol `utf-16'; setup
1639 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1641 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1643 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1644 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1646 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1648 * chartab.c (put_char_table): When a charset is specified as a
1649 range in UTF-2000, don't support builtin characters.
1651 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1653 * mule-charset.c (decode_defined_char): Don't refer external
1654 database if Qunbound or Qnil are found.
1655 (Fsave_charset_mapping_table): Don't define it if
1656 HAVE_CHISE_CLIENT is not defined.
1657 (Freset_charset_mapping_table): New function.
1658 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1659 found in external database.
1660 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1661 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1662 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1664 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1666 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1669 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1672 Q_lowercase, Q_uppercase in UTF-2000.
1674 * chartab.c (get_char_table): Add special code for the standard
1675 case table to use character attribute `->downcase' and
1676 `->uppercase' for case operations in UTF-2000.
1678 * casetab.c (Qflippedcase): New variable in UTF-2000.
1679 (Q_lowercase): Likewise.
1680 (Q_uppercase): Likewise.
1681 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1682 and `->uppercase' in UTF-2000.
1683 (complex_vars_of_casetab): Assign attribute name `downcase' to
1684 downcase and CANON table of Vstandard_case_table in UTF-2000;
1685 assign attribute name `flippedcase' to upcase and EQV table of
1686 Vstandard_case_table in UTF-2000.
1688 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1690 * text-coding.c (decode_add_er_char): Support isolated-chars.
1691 (char_encode_as_entity_reference): Likewise.
1693 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * emacs.c (Vutf_2000_lisp_directory): New variable.
1696 (Vconfigure_utf_2000_lisp_directory): Likewise.
1697 (complex_vars_of_emacs): Add new variable
1698 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1700 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1702 * char-ucs.h (DECODE_CHAR): Delete special code for
1703 `chinese-big5-1' and `chinese-big5-2'.
1705 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1706 (Qbig5_2): Likewise.
1707 (decode_defined_char): Support CONVERSION_BIG5_1 and
1709 (decode_builtin_char): Likewise.
1710 (charset_code_point): Likewise.
1711 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1712 'conversion in UTF-2000.
1713 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1714 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1715 `chinese-big5-2' as children of `chinese-big5'.
1717 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1718 (CONVERSION_BIG5_2): New macro.
1720 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * text-coding.c (char_encode_big5): Support entity-reference.
1724 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1726 * text-coding.c (char_encode_as_entity_reference): New function.
1727 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1729 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1731 * text-coding.c (decode_coding_big5): Support entity-reference
1734 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1736 * text-coding.c (allocate_coding_system): Initialize initial
1737 charsets for CODESYS_UTF8.
1738 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1739 charset-g2 for CODESYS_UTF8.
1740 (decode_coding_utf8): Use charset-g0.
1741 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1742 to force variants to map to UCS.
1744 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1746 * text-coding.c (Qutf_8_mcs): New variable.
1747 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1748 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1749 instead of `utf-8' in UTF-2000.
1751 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1753 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1754 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1755 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1756 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1757 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1758 CONVERSION_96x96x96x96 are introduced.
1759 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1760 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1761 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1763 * char-ucs.h (CONVERSION_94): New macro.
1764 (CONVERSION_96): New macro.
1765 (CONVERSION_94x94): New macro.
1766 (CONVERSION_96x96): New macro.
1767 (CONVERSION_94x94x94): New macro.
1768 (CONVERSION_96x96x96): New macro.
1769 (CONVERSION_94x94x94x60): New macro.
1770 (CONVERSION_94x94x94x94): New macro.
1771 (CONVERSION_96x96x96x96): New macro.
1773 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1775 * chartab.c (Vcharacter_variant_table): Deleted.
1776 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1777 of `Vcharacter_variant_table'.
1778 (Fput_char_attribute): Likewise.
1779 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1780 (complex_vars_of_chartab): Likewise.
1782 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1784 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1786 * fns.c (Qideographic_structure): New variable.
1787 (Qkeyword_char): New variable.
1788 (ids_format_unit): New function.
1789 (Fideographic_structure_to_ids): New function.
1790 (syms_of_fns): Add new symbols `ideographic-structure' and
1791 `:char'; add new builtin function `ideographic-structure-to-ids'.
1793 * data.c (Fchar_ref_p): New function.
1794 (syms_of_data): Add new builtin function `char-ref-p'.
1796 * chartab.h: Add an EXFUN for `Ffind_char'.
1798 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * text-coding.c (Vcharacter_composition_table): Deleted.
1801 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1804 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1806 (Vcharacter_composition_table): Deleted.
1807 (Fget_composite_char): Use the implementation for external-DB
1808 support in every UTF-2000.
1809 (Fput_char_attribute): Likewise.
1810 (char_attribute_system_db_file): Don't define if external-DB
1811 feature is not available.
1812 (Fsave_char_attribute_table): Likewise.
1813 (Fmount_char_attribute_table): Likewise.
1814 (Fclose_char_attribute_table): Likewise.
1815 (Freset_char_attribute_table): Likewise.
1816 (Fload_char_attribute_table): Likewise.
1817 (syms_of_chartab): Don't define `save-char-attribute-table',
1818 `mount-char-attribute-table', `reset-char-attribute-table',
1819 `close-char-attribute-table' and `load-char-attribute-table' if
1820 external-DB feature is not available.
1821 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1823 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1825 * text-coding.c (Qcomposition): Add extern if external-DB feature
1827 (Vcharacter_composition_table): Don't add extern if external-DB
1828 feature is supported.
1829 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1830 character composition rule if external-DB feature is supported.
1832 * chartab.c (Vcharacter_composition_table): Don't define if
1833 external-DB feature is supported.
1834 (Qcomposition): New variable.
1835 (Fget_composite_char): New implementation for external-DB support.
1836 (Fput_char_attribute): Use `composition' property of each
1837 character instead of `Vcharacter_composition_table' to store
1838 character-composition rules if external-DB feature is supported.
1839 (syms_of_chartab): Add new symbol `composition'.
1840 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1841 external-DB feature is supported.
1843 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * chartab.c (Vchar_db_stingy_mode): New variable.
1846 (load_char_attribute_maybe): Close database if
1847 Vchar_db_stingy_mode is not NIL.
1848 (Fload_char_attribute_table_map_function): Use
1849 `get_char_id_table_0' instead of `get_char_id_table'.
1850 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1852 * chartab.h (get_char_id_table_0): New inline function.
1853 (get_char_id_table): Use `get_char_id_table_0'.
1855 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1857 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1858 and `COMPOSE_ADD_CHAR'.
1859 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1861 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1863 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1864 instead of `DECODE_ADD_UCS_CHAR'.
1865 (COMPOSE_ADD_CHAR): Likewise.
1867 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1869 * text-coding.c (decode_flush_er_chars): New inline function.
1870 (decode_add_er_char): New function.
1871 (decode_coding_utf8): Use `decode_flush_er_chars' and
1872 `decode_add_er_char'.
1874 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1876 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1877 done before `decode_output_utf8_partial_char'.
1879 * mule-charset.c (complex_vars_of_mule_charset): Specify
1880 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1881 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1883 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1885 * mule-charset.c (decode_defined_char): New function; search
1887 (decode_builtin_char): Don't search mother if
1888 XCHARSET_MAX_CODE(charset) == 0.
1889 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1890 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1891 (Fdecode_char): Use `decode_defined_char' instead of
1892 `DECODE_DEFINED_CHAR'.
1893 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1894 mother of `Vcharset_ucs_jis'.
1896 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1897 instead of `DECODE_DEFINED_CHAR'.
1899 * char-ucs.h (decode_defined_char): Renamed from
1900 `DECODE_DEFINED_CHAR'; changed to normal function.
1901 (DECODE_CHAR): Use `decode_defined_char' instead of
1902 `DECODE_DEFINED_CHAR'.
1904 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1906 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1910 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1912 (Quse_entity_reference): New variable.
1916 (coding_system_description): Add description for
1917 `ccs_priority_list'.
1918 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1919 (allocate_coding_system): Initialize `ccs_priority_list' in
1921 (Fmake_coding_system): Add description about
1922 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1924 (Fcoding_system_property): Accept `disable-composition' and
1925 `use-entity-reference' in UTF-2000.
1926 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1928 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1929 (decode_coding_utf8): Decode entity-reference if
1930 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1931 (char_encode_utf8): Encode non-Unicode characters as
1932 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1934 (syms_of_file_coding): Add new symbols `use-entity-reference',
1936 (vars_of_file_coding): Add new variable
1937 `coded-charset-entity-reference-alist'.
1938 (complex_vars_of_file_coding): Declare `disable-composition' and
1939 `use-entity-reference' to be coding-system-properties in UTF-2000.
1941 * file-coding.h (struct Lisp_Coding_System): Add new member
1942 `use_entity_reference' and `ccs_priority_list'.
1943 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1944 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1945 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1947 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1949 * chartab.c (save_uint8_byte_table): Don't clear the table.
1950 (save_uint16_byte_table): Likewise.
1951 (save_byte_table): Likewise.
1952 (Fmount_char_attribute_table): New function.
1953 (syms_of_chartab): Add new builtin function
1954 `mount-char-attribute-table'.
1956 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1958 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1960 (load_char_decoding_entry_maybe): Open database as read-only mode.
1962 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1963 open database as "w+" mode.
1964 (load_char_attribute_maybe): Open database as read-only mode.
1965 (Fload_char_attribute_table): Likewise.
1967 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1969 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1970 (char_table_description): Delete member `db_file'.
1971 (Fmake_char_table): Don't refer `ct->db_file'.
1972 (Fcopy_char_table): Likewise.
1973 (Fsave_char_attribute_table): Likewise.
1974 (Fclose_char_attribute_table): Likewise.
1975 (Freset_char_attribute_table): Likewise.
1976 (load_char_attribute_maybe): Likewise.
1977 (Fload_char_attribute_table): Likewise.
1979 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1981 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1983 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1984 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1986 (load_char_attribute_maybe): Likewise.
1987 (Fload_char_attribute_table): Likewise.
1989 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1991 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1992 `ct->db_file' unconditionally.
1994 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1996 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1998 (char_table_description): Add description for `db_file' and `db'
2000 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2002 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2003 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2004 (Fclose_char_attribute_table): New function.
2005 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2006 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2008 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2009 (syms_of_chartab): Add new builtin function
2010 `Fclose_char_attribute_table'.
2012 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2014 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2016 (load_char_attribute_maybe): Change interface.
2017 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2019 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2021 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2023 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2026 instead of `DECODE_CHAR' for mother; don't use special code for
2027 chinese-big5 to use code space of chinese-big5-1 and
2029 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2030 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2032 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2033 (MAX_CHAR_BIG5_CDP): Revival.
2035 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2038 the XLFD registry-encoding name of `chinese-big5'.
2040 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2042 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2043 (Qchinese_big5_cdp): Deleted.
2044 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2045 (complex_vars_of_mule_charset): Delete coded-charset
2048 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2049 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2050 `CHARSET_ID_OFFSET - n' for private CCS.
2051 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2052 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2053 of `MIN_LEADING_BYTE'.
2054 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2055 `(CHARSET_ID_OFFSET - 97)'.
2056 (MIN_CHAR_BIG5_CDP): Deleted.
2057 (MAX_CHAR_BIG5_CDP): Deleted.
2059 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2061 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2063 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2065 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2066 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2069 * chartab.c (Vutf_2000_version): Moved to mule.c.
2070 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2072 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2074 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2075 when HAVE_CHISE_CLIENT is not defined.
2077 * mule.c (vars_of_mule): Provide feature `chise' when
2078 HAVE_CHISE_CLIENT is defined.
2080 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2082 * config.h.in (UTF2000): Add comment.
2083 (HAVE_CHISE_CLIENT): New macro.
2085 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2087 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2089 (Fput_char_attribute): Likewise.
2090 (char_attribute_system_db_file): Encode file-name of attribute.
2091 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2094 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2096 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2097 (Fsave_charset_mapping_table): Use
2098 `char_attribute_system_db_file'.
2099 (load_char_decoding_entry_maybe): Likewise.
2101 * chartab.h (Qsystem_char_id): New external variable.
2102 (char_attribute_system_db_file): New prototype.
2104 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2105 (char_attribute_system_db_file): New function.
2106 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2107 (Freset_char_attribute_table): Likewise.
2108 (load_char_attribute_maybe): Likewise.
2109 (Fload_char_attribute_table): Likewise.
2110 (syms_of_chartab): Add new symbol `system-char-id'.
2112 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2114 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2115 `XCHARSET_GRAPHIC(ccs)'.
2117 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2121 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2123 * chartab.c (Q_ucs_variants): New variable.
2124 (syms_of_chartab): Add new symbol `->ucs-variants'.
2125 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2126 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2127 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2129 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2131 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2132 `HAVE_DATABASE' is defined.
2133 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2134 `HAVE_DATABASE' is defined.
2136 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2138 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2140 (Freset_char_attribute_table): New function.
2141 (syms_of_chartab): Add new builtin function
2142 `reset-char-attribute-table'.
2144 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2146 * chartab.c (load_char_attribute_maybe): Don't make directories.
2148 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2150 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2152 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2155 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2157 * mule-charset.c (Fsave_charset_mapping_table): Use
2158 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2160 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2161 instead of `XCHARSET_CHARS'.
2163 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2165 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2166 (XCHARSET_BYTE_SIZE): Likewise.
2168 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2170 (XCHARSET_BYTE_SIZE): Likewise.
2172 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2174 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2175 data-directory to store database.
2176 (Fsave_char_attribute_table): Likewise.
2177 (load_char_attribute_maybe): Likewise.
2178 (Fload_char_attribute_table): Likewise.
2180 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2182 * mule-charset.c (Fsave_charset_mapping_table): New function.
2183 (syms_of_mule_charset): Add new builtin function
2184 `save-charset-mapping-table'.
2186 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2188 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2189 (get_ccs_octet_table): New inline function.
2190 (put_ccs_octet_table): Likewise.
2191 (decoding_table_put_char): Use `get_ccs_octet_table' and
2192 `put_ccs_octet_table'.
2193 (decoding_table_remove_char): Use `decoding_table_put_char'.
2194 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2196 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2197 into encoding_table.
2198 (make_charset): Use Qunbound instead Qnil as initial value of
2201 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2203 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2204 element is Qunloaded.
2205 (map_over_uint16_byte_table): Likewise.
2206 (map_over_byte_table): Likewise.
2207 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2208 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2209 database support, load encoding-table of the specified
2210 coded-charset if it is not loaded yet.
2211 (save_uint8_byte_table): New function of UTF-2000 with external
2213 (save_uint16_byte_table): Likewise.
2214 (save_byte_table): Likewise.
2215 (Fput_char_attribute): Don't store value into external database
2216 even if the external database feature is supported in UTF-2000;
2217 set `attribute' as name of char-table if the external database
2218 feature is supported.
2219 (Fsave_char_attribute_table): New function in UTF-2000.
2220 (syms_of_chartab): Add new builtin function
2221 `save-char-attribute-table' in UTF-2000.
2223 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2225 * chartab.c (char_attribute_table_to_put): New variable in
2227 (Qput_char_table_map_function): Likewise.
2228 (value_to_put): Likewise.
2229 (Fput_char_table_map_function): New function in UTF-2000.
2230 (put_char_table): Use `Fmap_char_attribute' for
2231 CHARTAB_RANGE_CHARSET in UTF-2000.
2232 (Fput_char_attribute): Store symbol instead of string in
2233 `XCHAR_TABLE_NAME (table)'.
2234 (load_char_attribute_maybe): Likewise.
2235 (syms_of_chartab): Add new symbol/function
2236 `put-char-table-map-function'.
2238 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2240 * database.h: Add new EXFUN for `Fmap_database'.
2242 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2243 (syms_of_database): Likewise.
2245 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2247 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2248 (XCHAR_TABLE_UNLOADED): Likewise.
2250 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2251 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2252 HAVE_DATABASE is defined.
2253 (char_attribute_table_to_load): New variable of UTF-2000 with
2254 external database support.
2255 (Qload_char_attribute_table_map_function): Likewise.
2256 (Fload_char_attribute_table_map_function): New function of
2257 UTF-2000 with external database support.
2258 (Fload_char_attribute_table): New function of UTF-2000.
2259 (Fmap_char_attribute): Call Fload_char_attribute_table if
2260 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2261 (syms_of_chartab): Add new symbol and function
2262 `load-char-attribute-table-map-function' in UTF-2000 with external
2263 database support; add new function `load-char-attribute-table' in
2266 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2268 * chartab.h (load_char_attribute_maybe): New prototype for
2269 UTF-2000 with DATABASE support.
2270 (get_char_id_table): Use `load_char_attribute_maybe' if
2271 HAVE_DATABASE is defined.
2273 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2274 with DATABASE support.
2276 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2278 * chartab.c (Fput_char_attribute): Use S-expression as key of
2281 * chartab.h (get_char_id_table): Use S-expression as key of
2284 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2286 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2287 if an element is not loaded, load the corresponding attributes
2288 from an external database.
2289 (map_over_uint16_byte_table): Likewise.
2290 (map_over_byte_table): Likewise.
2291 (map_char_table): Modify for `map_over_uint8_byte_table',
2292 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2293 element is not loaded, load the corresponding attributes from an
2295 (Fput_char_attribute): Change initial values to Qunloaded.
2297 * chartab.h (get_char_id_table): If a character attribute is not
2298 loaded and the attribute value is not found in an external
2299 database, store Qunbound as the attribute value.
2301 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2303 * chartab.c (BT_UINT8_unloaded): New macro.
2304 (UINT8_VALUE_P): Accept Qunloaded.
2305 (UINT8_ENCODE): Likewise.
2306 (UINT8_DECODE): Likewise.
2307 (BT_UINT16_unloaded): New macro.
2308 (UINT16_VALUE_P): Accept Qunloaded.
2309 (UINT16_ENCODE): Likewise.
2310 (UINT16_DECODE): Likewise.
2311 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2313 (mark_char_table): Mark `ct->name' in UTF-2000.
2314 (char_table_description): Add `name' in UTF-2000.
2315 (Fmake_char_table): Initialize `ct->name'.
2316 (Fcopy_char_table): Copy `ct->name'.
2317 (Fput_char_attribute): Store value into an external database if
2318 HAVE_DATABASE is defined.
2320 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2322 (CHAR_TABLE_NAME): New macro in UTF-2000.
2323 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2324 (get_char_id_table): Try to read an external database if Qunloaded
2325 is stored in a table.
2327 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2330 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2332 * database.h: Add EXFUN definitions for Fopen_database,
2333 Fput_database, Fget_database and Fclose_database.
2335 * data.c (Qunloaded): New variable in UTF-2000.
2337 * lisp.h (Qunloaded): New variable in UTF-2000.
2339 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2341 * mule-charset.c (put_char_ccs_code_point): Modify for
2342 `decoding_table_remove_char' and `decoding_table_put_char'.
2343 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2345 * char-ucs.h (decoding_table_remove_char): Change arguments to
2346 hide decoding_table vector.
2347 (decoding_table_put_char): Likewise.
2349 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2351 * mule-charset.c (decoding_table_remove_char): Moved to
2353 (decoding_table_put_char): Likewise.
2355 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2356 from mule-charset.c].
2357 (decoding_table_remove_char): New inline function [moved from
2359 (decoding_table_put_char): Likewise.
2361 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2363 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2366 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2368 * mule-charset.c (decode_builtin_char): Support mother charsets.
2370 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2372 * mule-charset.c (Q94x94x60): New variable.
2373 (charset_code_point): Support conversion `94x94x60'.
2374 (Fmake_charset): Likewise.
2375 (syms_of_mule_charset): Add new symbol `94x94x60'.
2377 * char-ucs.h (CONVERSION_94x94x60): New macro.
2379 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2381 * mule-charset.c (charset_code_point): Unify code about
2384 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2386 * mule-charset.c (charset_code_point): Merge code about builtin
2387 characters into code about mother charsets; don't use
2388 `range_charset_code_point'.
2389 (range_charset_code_point): Deleted.
2391 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2393 * mule-charset.c (Qcode_offset): New variable.
2394 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2395 `max-code'; accept new property `code-offset'.
2396 (syms_of_mule_charset): Add new symbol `code-offset'.
2398 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * mule-charset.c (range_charset_code_point): Fixed.
2402 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * mule-charset.c (decode_builtin_char): Change semantics of
2405 code-offset of coded-charset.
2406 (charset_code_point): Likewise.
2407 (range_charset_code_point): Likewise.
2408 (complex_vars_of_mule_charset): Modify for the change.
2410 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2412 * mule-charset.c (Fencode_char): Reverse arguments.
2414 * mule-charset.c (charset_code_point): Fixed.
2416 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * mule-charset.c (Vcharset_mojikyo): Deleted.
2419 (Vcharset_mojikyo_2022_1): Deleted.
2420 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2421 (Qmin_code): New variable in UTF-2000.
2422 (Qmax_code): Likewise.
2423 (Qmother): Likewise.
2424 (Qconversion): Likewise.
2426 (Qmojikyo): Deleted.
2427 (Qmojikyo_2022_1): Deleted.
2428 (Qmojikyo_pj_{1..22}): Deleted.
2429 (mark_charset): Mark `cs->mother'.
2430 (charset_description): Add description for `mother'.
2431 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2432 new arguments `mother' and `conversion'; use
2433 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2434 (charset_code_point): Moved from char-ucs.h; support `mother'
2436 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2437 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2438 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2439 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2440 allow 2 as the value of `graphic' in UTF-2000; add new properties
2441 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2442 require `final' in UTF-2000; modify for `make_charset'.
2443 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2444 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2445 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2446 (Fencode_char): New function.
2447 (syms_of_mule_charset): Add new builtin function `encode-char' in
2448 UTF-2000; add new symbols `min-code', `max-code', `mother',
2449 `conversion' and `94x60'; delete symbols `mojikyo',
2450 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2451 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2452 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2453 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2455 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2456 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2458 * char-ucs.h (Vcharset_mojikyo): Deleted.
2459 (Vcharset_mojikyo_2022_1): Deleted.
2460 (LEADING_BYTE_MOJIKYO): Deleted.
2461 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2462 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2463 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2464 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2465 add new member `mother'; add new member `conversion'.
2466 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2467 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2468 (CHARSET_MOTHER): New macro.
2469 (CHARSET_CONVERSION): New macro.
2470 (CONVERSION_IDENTICAL): New macro.
2471 (CONVERSION_94x60): New macro.
2472 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2473 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2474 (XCHARSET_MOTHER): New macro.
2475 (XCHARSET_CONVERSION): New macro.
2476 (MIN_CHAR_MOJIKYO): Deleted.
2477 (MAX_CHAR_MOJIKYO): Deleted.
2478 (DECODE_MOJIKYO_2022): Deleted.
2479 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2480 (charset_code_point): Changed to non-inline function.
2481 (encode_char_1): Use `charset_code_point'.
2482 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2484 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2486 * lread.c (read_compiled_function): Fix prototype.
2487 (read_vector): Likewise.
2489 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2491 * lrecord.h (struct lrecord_header): Delete `older'.
2492 (set_lheader_implementation): Delete code for `older'.
2493 (set_lheader_older_implementation): Deleted.
2494 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2495 (OLDER_RECORD_P): Deleted.
2496 (OLDER_RECORD_HEADER_P): Deleted.
2497 (alloc_older_lcrecord): Deleted.
2498 (alloc_older_lcrecord_type): Deleted.
2500 * alloc.c (all_older_lcrecords): Deleted.
2501 (alloc_older_lcrecord): Deleted.
2502 (disksave_object_finalization_1): Delete code for older objects.
2503 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2504 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2506 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2508 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2509 instead of `make_older_vector'.
2510 (put_char_ccs_code_point): Likewise.
2511 (mark_charset): Mark `cs->decoding_table'.
2512 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2514 * lisp.h (make_older_vector): Deleted.
2515 (make_vector_newer): Deleted.
2517 * config.h.in (HAVE_GGC): Deleted.
2519 * alloc.c (make_older_vector): Deleted.
2520 (make_vector_newer_1): Deleted.
2521 (make_vector_newer): Deleted.
2523 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2525 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2526 (Qideograph_daikanwa_2): New variable.
2527 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2528 (complex_vars_of_mule_charset): Add new coded-charset
2529 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2530 `LEADING_BYTE_DAIKANWA'.
2532 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2533 (LEADING_BYTE_DAIKANWA_1): New macro.
2534 (LEADING_BYTE_DAIKANWA_2): New macro.
2535 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2537 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2539 * mule-charset.c (complex_vars_of_mule_charset): Change
2540 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2541 the second revised version.
2543 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2545 * mule-charset.c (Vcharset_ucs_smp): New variable.
2546 (Vcharset_ucs_sip): New variable.
2547 (Qucs_smp): New variable.
2548 (Qucs_sip): New variable.
2549 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2550 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2551 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2552 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2553 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2554 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2556 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2557 (LEADING_BYTE_UCS_SIP): New macro.
2558 (MIN_CHAR_SMP): New macro.
2559 (MAX_CHAR_SMP): New macro.
2560 (MIN_CHAR_SIP): New macro.
2561 (MAX_CHAR_SIP): New macro.
2563 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2565 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2568 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2570 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2571 value; don't store value into `encoding_table' of `Lisp_Charset'.
2572 (mark_charset): `encoding_table' was deleted.
2573 (charset_description): Likewise.
2574 (make_charset): Likewise.
2575 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2576 `put_char_ccs_code_point'.
2578 * chartab.h (Fput_char_attribute): New EXFUN.
2580 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2581 is unified with normal symbol space.
2582 (Fget_char_attribute): Likewise.
2583 (Fput_char_attribute): Likewise; behavior of
2584 `put_char_ccs_code_point' is changed.
2586 * char-ucs.h: Include "elhash.h".
2587 (Vchar_attribute_hash_table): New external variable.
2588 (struct Lisp_Charset): Delete `encoding_table'.
2589 (CHARSET_ENCODING_TABLE): New implementation; refer
2590 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2593 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2595 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2598 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2600 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2603 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * chartab.c (uint8_byte_table_description): New constant.
2606 (uint8-byte-table): Use `uint8_byte_table_description'.
2607 (uint16_byte_table_description): New constant.
2608 (uint16-byte-table): Use `uint16_byte_table_description'.
2610 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2612 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2613 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2615 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2617 * mule-charset.c (Vcharset_ucs_ks): New variable.
2618 (Qucs_ks): New variable.
2619 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2620 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2622 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2624 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2626 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2627 (Fdecode_char): Likewise.
2629 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2631 (Fdefine_char): Modify for Fdecode_char.
2632 (Ffind_char): Likewise.
2634 * mule-charset.c (Fdecode_char): Add new optional argument
2636 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2638 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2640 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2641 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2642 (allocate_coding_system): Initialize initial-charsets of
2643 CODESYS_BIG5 in XEmacs UTF-2000.
2644 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2645 CODESYS_BIG5 in XEmacs UTF-2000.
2646 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2647 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2649 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2651 (Qideograph_hanziku_{1 .. 12}): Likewise.
2652 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2654 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2655 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2656 `ideograph-hanziku-{1 .. 12}'.
2658 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2659 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2660 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2661 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2662 (DECODE_DEFINED_CHAR): New inline function.
2663 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2665 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2667 * mule-charset.c (Vcharset_china3_jef): Renamed from
2668 `Vcharset_japanese_jef_china3'.
2669 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2670 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2671 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2672 (syms_of_mule_charset): Rename `china3-jef' from
2673 `japanese-jef-china3'.
2674 (complex_vars_of_mule_charset): Likewise; rename
2675 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2677 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2678 `LEADING_BYTE_JEF_CHINA3'.
2679 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2680 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2682 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2684 * mule-charset.c (encode_builtin_char_1): Comment out special code
2685 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2687 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2688 (MAX_CHAR_MOJIKYO_0): Comment out.
2689 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2690 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2691 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2692 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2694 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2696 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2697 (Qideograph_cbeta): New variable.
2698 (encode_builtin_char_1): Comment out special code for
2699 coded-charset `mojikyo' and `japanese-jef-china3'.
2700 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2701 (complex_vars_of_mule_charset): Add new coded-charset
2704 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2705 (MIN_CHAR_CBETA): New macro.
2706 (MAX_CHAR_CBETA): New macro.
2708 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2710 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2711 (LEADING_BYTE_JEF_CHINA3): New macro.
2712 (MIN_CHAR_JEF_CHINA3): New macro.
2713 (MAX_CHAR_JEF_CHINA3): Likewise.
2714 (DECODE_CHAR): Fixed.
2716 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2719 (Qjapanese_jef_china3): New variable.
2720 (encode_builtin_char_1): Support `japanese-jef-china3'.
2721 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2722 (complex_vars_of_mule_charset): Add new coded-charset
2723 `japanese-jef-china3'.
2725 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2728 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2729 94^4, 96^3, 96^4, 128^n and 256^n set.
2730 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2731 (map_char_table): Likewise.
2733 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2735 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2738 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2740 * chartab.h (get_char_id_table): New inline function.
2742 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2745 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * chartab.h (decode_char_table_range): New prototype in XEmacs
2749 (put_char_id_table): New inline function in XEmacs UTF-2000.
2751 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2753 (decode_char_table_range): Delete static declaration in XEmacs
2756 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2758 * chartab.c (put_char_id_table): Use `put_char_table'.
2760 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2763 (map_over_uint16_byte_table): Likewise.
2764 (map_over_byte_table): Likewise.
2765 (map_char_table): Modify for `map_over_uint8_byte_table',
2766 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2769 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2771 * chartab.c (struct map_char_table_for_charset_arg): New
2773 (map_char_table_for_charset_fun): New function.
2774 (map_char_table): Use `map_char_table' for encoding_table of
2777 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2779 * chartab.c (map_char_table): Check a character is found in
2780 range->charset instead of non default value is defined in
2781 char-table when range is CHARTAB_RANGE_ROW.
2783 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2785 * chartab.c (map_char_id_table): Deleted.
2786 (Fmap_char_attribute): Use `map_char_table' instead of
2787 `map_char_id_table'.
2789 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2791 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2793 (update_syntax_table): Deleted in XEmacs UTF-2000.
2795 * syntax.c (find_defun_start): Use `syntax_table' instead of
2796 `mirror_syntax_table' in XEmacs UTF-2000.
2797 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2799 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2801 (Fmatching_paren): Likewise.
2802 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2804 (find_start_of_comment): Likewise.
2805 (find_end_of_comment): Likewise.
2806 (Fforward_comment): Likewise.
2807 (scan_lists): Likewise.
2808 (char_quoted): Likewise.
2809 (Fbackward_prefix_chars): Likewise.
2810 (scan_sexps_forward): Likewise.
2811 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2812 (update_syntax_table): Likewise.
2814 * search.c (skip_chars): Use `syntax_table' instead of
2815 `mirror_syntax_table' in XEmacs UTF-2000.
2816 (wordify): Likewise.
2817 (Freplace_match): Likewise.
2819 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2820 `mirror_syntax_table' in XEmacs UTF-2000.
2821 (WORDCHAR_P_UNSAFE): Likewise.
2822 (re_match_2_internal): Likewise.
2824 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2825 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2827 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2828 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2830 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2833 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2835 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2836 (char_table_description): Delete `mirror_table' in XEmacs
2838 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2840 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2841 (Fcopy_char_table): Likewise.
2842 (put_char_table): Don't call `update_syntax_table' in XEmacs
2845 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2846 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2847 (casify_region_internal): Likewise.
2849 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2851 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2852 `mirror_syntax_table' in XEmacs UTF-2000.
2854 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2855 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2856 (Fexpand_abbrev): Likewise.
2858 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2862 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2865 (map_over_uint16_byte_table): Likewise.
2866 (map_over_byte_table): Likewise.
2867 (get_char_id_table): Refer `cit->default_value'.
2868 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2869 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2870 of character-id ranges.
2871 (mark_char_table): Mark `ct->default_value'.
2872 (char_table_description): Add `default_value'.
2873 (fill_char_table): Use `default_value'.
2874 (decode_char_table_range): Decode `nil' as
2875 `CHARTAB_RANGE_DEFAULT'.
2876 (get_char_id_table): Refer `cit->default_value'.
2877 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2878 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2879 temporary hack; check value of char-table is bound or not.
2880 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2882 * chartab.h (struct Lisp_Char_Table): Add new member
2883 `default_value' in XEmacs UTF-2000.
2884 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2885 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2888 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2890 * chartab.h (Lisp_Char_ID_Table): Deleted.
2892 * chartab.c (char_table_description): Fix typo.
2893 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2894 `Lisp_Char_ID_Table'.
2896 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2898 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2901 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2904 * chartab.h (XCHAR_ID_TABLE): Deleted.
2905 (XSETCHAR_ID_TABLE): Deleted.
2906 (CHAR_ID_TABLE_P): Deleted.
2908 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2910 (Fget_composite_char): Likewise.
2911 (put_char_table): Likewise.
2912 (add_char_attribute_alist_mapper): Fixed.
2913 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2915 (Fget_char_attribute): Likewise.
2916 (Fget_char_attribute): Likewise.
2917 (Fmap_char_attribute): Likewise.
2919 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2921 (encode_char_1): Likewise.
2923 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2925 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2928 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2929 instead of `XCHAR_ID_TABLE'.
2930 (remove_char_ccs): Likewise.
2932 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2934 (Fget_composite_char): Likewise.
2935 (Fchar_variants): Likewise.
2936 (put_char_table): Likewise.
2937 (add_char_attribute_alist_mapper): Likewise.
2938 (Fchar_attribute_alist): Likewise.
2939 (Fget_char_attribute): Likewise.
2940 (Fput_char_attribute): Likewise.
2941 (Fmap_char_attribute): Likewise.
2942 (Fmap_char_attribute): Likewise.
2944 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2946 (encode_char_1): Likewise.
2948 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2950 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2951 `Lisp_Char_ID_Table'.
2952 (mark_char_id_table): Deleted.
2953 (print_char_id_table): Likewise.
2954 (char_id_table_equal): Likewise.
2955 (char_id_table_hash): Likewise.
2956 (char_id_table_description): Likewise.
2957 (char_id_table): Likewise.
2958 (make_char_id_table): Use `Fmake_char_table' and
2960 (get_char_id_table): Use `Lisp_Char_Table' instead of
2961 `Lisp_Char_ID_Table'.
2962 (put_char_id_table): Likewise.
2963 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2965 (Fremove_char_attribute): Likewise.
2966 (syms_of_chartab): Don't define type `char-id-table'.
2968 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2969 (char_id_table): Likewise.
2970 (GC_CHAR_ID_TABLE_P): Likewise.
2971 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2972 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2973 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2974 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2975 (get_char_id_table): Use `Lisp_Char_Table' instead of
2976 `Lisp_Char_ID_Table'.
2977 (put_char_id_table_0): Likewise.
2978 (put_char_id_table): Likewise.
2980 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2982 * chartab.h: Lisp_Byte_Table related codes are moved from
2985 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2987 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2989 * chartab.h: Don't include "chartab.h".
2990 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2991 (Lisp_Char_ID_Table): Likewise.
2992 (char_id_table): Likewise.
2993 (XCHAR_ID_TABLE): Likewise.
2994 (XSETCHAR_ID_TABLE): Likewise.
2995 (CHAR_ID_TABLE_P): Likewise.
2996 (GC_CHAR_ID_TABLE_P): Likewise.
2997 (get_char_id_table): Likewise.
2999 * char-ucs.h: Include "chartab.h".
3000 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3001 (Lisp_Char_ID_Table): Likewise.
3002 (char_id_table): Likewise.
3003 (XCHAR_ID_TABLE): Likewise.
3004 (XSETCHAR_ID_TABLE): Likewise.
3005 (CHAR_ID_TABLE_P): Likewise.
3006 (GC_CHAR_ID_TABLE_P): Likewise.
3007 (get_char_id_table): Likewise.
3009 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3011 * chartab.c (copy_uint8_byte_table): New function.
3012 (copy_uint16_byte_table): New function.
3013 (copy_byte_table): New function.
3014 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3016 (map_over_uint16_byte_table): Likewise.
3017 (map_over_byte_table): Likewise.
3018 (get_byte_table): Move prototype to chartab.h.
3019 (put_byte_table): Likewise.
3020 (put_char_id_table_0): Moved to chartab.h.
3021 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3022 (char_table_entry_equal): Likewise.
3023 (char_table_entry_hash): Likewise.
3024 (char_table_entry_description): Likewise.
3025 (char_table_entry): Likewise.
3026 (make_char_table_entry): Likewise.
3027 (copy_char_table_entry): Likewise.
3028 (get_non_ascii_char_table_value): Likewise.
3029 (map_over_charset_ascii): Likewise.
3030 (map_over_charset_control_1): Likewise.
3031 (map_over_charset_row): Likewise.
3032 (map_over_other_charset): Likewise.
3033 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3034 (print_char_table): Likewise.
3035 (char_table_equal): Likewise.
3036 (char_table_hash): Likewise.
3037 (char_table_description): Likewise.
3038 (fill_char_table): Likewise.
3039 (Fcopy_char_table): Likewise.
3040 (get_char_table): Likewise.
3041 (Fget_range_char_table): Likewise.
3042 (put_char_table): Likewise.
3043 (map_char_table): Likewise.
3044 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3047 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3049 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3050 `Vauto_fill_chars' in XEmacs UTF-2000.
3052 * chartab.h (get_byte_table): New prototype [moved from
3054 (put_byte_table): Likewise [moved from chartab.c].
3055 (put_char_id_table_0): New inline function [moved from chartab.c].
3056 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3057 (Lisp_Char_Table_Entry): Likewise.
3058 (char_table_entry): Likewise.
3059 (XCHAR_TABLE_ENTRY): Likewise.
3060 (XSETCHAR_TABLE_ENTRY): Likewise.
3061 (CHAR_TABLE_ENTRYP): Likewise.
3062 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3063 (NUM_ASCII_CHARS): Likewise.
3064 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3065 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3067 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3069 * chartab.c (get_char_id_table): Change interface.
3070 (put_char_id_table_0): New function.
3071 (put_char_id_table): Change interface; new implementation.
3072 (Fget_composite_char): Modify for interface change of
3073 `get_char_id_table'.
3074 (Fchar_variants): Likewise.
3075 (add_char_attribute_alist_mapper): Likewise.
3076 (Fchar_attribute_alist): Likewise.
3077 (Fget_char_attribute): Likewise.
3078 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3079 as same as character as the first argument like `put-char-table';
3080 modify for interface change of `put_char_id_table'.
3081 (Fremove_char_attribute): Modify for interface change of
3082 `put_char_id_table'.
3084 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3086 * text-coding.c: Sync up with XEmacs 21.2.41.
3087 (COMPOSE_ADD_CHAR): Modify for interface change of
3088 `get_char_id_table'.
3090 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3091 change of `put_char_id_table'.
3092 (remove_char_ccs): Likewise.
3094 * chartab.h (put_char_id_table): Change interface.
3096 * char-ucs.h (get_char_id_table): Change interface.
3097 (charset_code_point): Modify for interface change of
3098 `get_char_id_table'.
3099 (encode_char_1): Likewise.
3101 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3103 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3105 (map_over_uint16_byte_table): Likewise.
3106 (map_over_byte_table): Likewise.
3107 (map_char_id_table): Add new argument `range' like
3109 (Fmap_char_attribute): Add new argument `range' like
3112 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3114 * chartab.c (map_over_uint8_byte_table): Change interface of
3115 mapping function to use struct chartab_range instead of Emchar.
3116 (map_over_uint16_byte_table): Likewise.
3117 (map_over_byte_table): Likewise.
3118 (map_char_id_table): Likewise.
3119 (struct slow_map_char_id_table_arg): Deleted.
3120 (slow_map_char_id_table_fun): Deleted.
3121 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3122 function `slow_map_char_table_fun' instead of struct
3123 `slow_map_char_id_table_arg' and function
3124 `slow_map_char_id_table_fun'.
3126 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3128 * mule-charset.c: Move char-it-table related codes to chartab.c.
3129 (Vutf_2000_version): Moved to chartab.c.
3130 (Fdefine_char): Likewise.
3131 (Ffind_char): Likewise.
3132 (syms_of_mule_charset): Move types `uint8-byte-table',
3133 `uint16-byte-table', `byte-table' and `char-id-table' to
3134 chartab.c; move functions `char_attribute_list,
3135 `find_char_attribute_table, `char_attribute_alist,
3136 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3137 `map_char_attribute, `define_char, `find_char, `char_variants and
3138 `get_composite_char to chartab.c; move symbols `=>ucs',
3139 `->decomposition', `compat', `isolated', `initial', `medial',
3140 `final', `vertical', `noBreak', `fraction', `super', `sub',
3141 `circle', `square', `wide', `narrow', `small' and `font' to
3143 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3144 setting codes for `Vcharacter_composition_table' and
3145 `Vcharacter_variant_table' to chartab.c.
3146 (complex_vars_of_mule_charset): Move setting code for
3147 `Vchar_attribute_hash_table' to chartab.c.
3149 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3150 (make_char_id_table): New prototype.
3151 (put_char_id_table): Likewise.
3152 (Fget_char_attribute): Likewise.
3154 * chartab.c: Move char-id-table related code from mule-charset.c.
3155 (Vutf_2000_version): Moved from mule-charset.c.
3157 * char-ucs.h (Qucs): New external variable.
3158 (put_char_ccs_code_point): New prototype.
3159 (remove_char_ccs): Likewise.
3161 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3163 * mule-charset.c (Vcharset_ucs_jis): New variable.
3164 (Qucs_jis): Likewise.
3165 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3166 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3168 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3170 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3172 * mule-charset.c (map_over_uint8_byte_table): New function.
3173 (map_over_uint16_byte_table): Likewise.
3174 (map_over_byte_table): Likewise.
3175 (map_char_id_table): Likewise.
3176 (slow_map_char_id_table_fun): Likewise.
3177 (Fmap_char_attribute): Likewise.
3178 (syms_of_mule_charset): Add new function `map-char-attribute'.
3180 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3183 (syms_of_mule_charset): Add new function `find-char'.
3185 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3187 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3189 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3190 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3192 (complex_vars_of_mule_charset): Add new coded-charset
3193 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3194 `ideograph-gt-pj-*'.
3196 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3198 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3200 * mule-charset.c (encode_builtin_char_1): Purge codes about
3201 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3202 {MIN|MAX}_CHAR_HEBREW.
3203 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3204 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3206 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3207 (MAX_CHAR_GREEK): Purged.
3208 (MIN_CHAR_CYRILLIC): Purged.
3209 (MAX_CHAR_CYRILLIC): Purged.
3210 (MIN_CHAR_HEBREW): Commented out.
3211 (MAX_CHAR_HEBREW): Likewise.
3213 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3215 * mule-charset.c (Qto_ucs): New variable.
3216 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3217 (Fdefine_char): Likewise.
3218 (syms_of_mule_charset): Add new symbol `=>ucs'.
3220 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3222 * mule-charset.c (Fdecode_char): Fixed.
3224 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3226 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3227 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3230 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3232 * mule-charset.c (Vcharset_ucs_big5): New variable.
3233 (Qucs_big5): Likewise.
3234 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3235 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3237 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3239 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3241 * mule-charset.c (decode_builtin_char): Check Big5 code range
3242 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3244 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3246 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3247 (Qchinese_gb12345): Likewise.
3248 (Fdecode_builtin_char): Fixed.
3249 (syms_of_mule_charset): Add `chinese-gb12345'.
3250 (complex_vars_of_mule_charset): Add coded-charset
3253 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3254 (LEADING_BYTE_CHINESE_GB12345): New macro.
3256 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3258 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3259 and `latin-viscii-upper' for `latin-viscii'.
3261 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3263 * mule-charset.c (Fdecode_builtin_char): Comment out
3264 regularization code for ISO-IR GR representation.
3266 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3268 * mule-charset.c (decode_builtin_char): New function; renamed from
3269 `make_builtin_char'; return -1 instead of signal.
3270 (Fdecode_builtin_char): Use `decode_builtin_char'.
3272 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3273 `make_builtin_char'.
3274 (DECODE_CHAR): Use `decode_builtin_char' instead of
3275 `make_builtin_char'; use mapping table of `chinese-big5' for
3276 `chinese-big5-{1,2}'.
3278 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3280 * text-coding.c (char_encode_big5): New function.
3281 (char_finish_big5): Likewise.
3282 (reset_encoding_stream): Use `char_encode_big5' and
3283 `char_finish_big5' for CODESYS_BIG5.
3284 (mule_encode): Don't use `encode_coding_big5'.
3285 (encode_coding_big5): Deleted.
3287 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3289 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3290 0x81- in XEmacs UTF-2000.
3291 (detect_coding_big5): Likewise.
3293 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3295 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3296 generate character-id if the CCS property does not have
3297 corresponding predefined character.
3298 (make_builtin_char): Return -1 if corresponding predefined
3299 character is not found.
3300 (Fdecode_char): Return nil if corresponding character is not
3302 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3303 don't map to builtin ucs space.
3305 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3307 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3308 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3310 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3312 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3313 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3314 (Qideograph_gt): Likewise.
3315 (Qideograph_gt_pj_{1..11}): Likewise.
3316 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3317 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3318 `ideograph-gt-pj-11'.
3319 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3320 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3321 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3323 * char-ucs.h (LEADING_BYTE_GT): New macro.
3324 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3325 (MIN_CHAR_GT): Likewise.
3326 (MAX_CHAR_GT): Likewise.
3328 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3330 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3331 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3333 * doprnt.c (unsigned_int_converters): Add `c'.
3334 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3336 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3337 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3339 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3340 (MAX_CHAR_MOJIKYO_0): New macro.
3341 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3343 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3345 * mule-charset.c (Fdefine_char): Delete cemented out code.
3346 (encode_builtin_char_1): Modify for new allocation of builtin
3349 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3351 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3353 * mule-charset.c (Vcharset_ucs_cns): New variable.
3354 (Qucs_cns): New variable.
3355 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3356 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3358 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3360 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3362 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3364 * search.c (search_buffer): Make `charset_base_code' as
3365 character-id >> 6 to eliminate the corresponding last byte in
3366 UTF-8 representation [I'm not sure it is right thing].
3367 (boyer_moore): Likewise.
3369 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3371 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3372 representation in MULE.
3374 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3376 * text-coding.c (Fmake_coding_system): Use
3377 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3378 `EXTERNAL_PROPERTY_LIST_LOOP'.
3380 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3382 * text-coding.c (decode_output_utf8_partial_char): New function.
3383 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3385 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3387 * text-coding.c (decode_coding_utf8): Output original byte
3388 sequence if it is broken; change order of conditions.
3390 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3393 * mb-multibyte.h (BYTE_ASCII_P):
3394 Use bit ops for char-signedness safety.
3395 (BYTE_C0_P): Use bit ops for char-signedness safety.
3396 (BYTE_C1_P): Use bit ops for char-signedness safety.
3398 * character.h: (XCHAR_OR_CHAR_INT):
3399 Always use inline function.
3400 Remove redundant type checking assert() - XINT will abort quite
3403 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3405 * text-coding.c: (Fencode_shift_jis_char):
3406 (Fencode_big5_char):
3407 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3408 Replace 0 with '\0' when working with bytes.
3409 Replace initial "(" with "\(" in docstrings.
3411 (Fmake_coding_system):
3412 When type is ccl and value is vector, register it with a proper
3413 symbol. And checks whether the given ccl program is valid.
3414 (mule_decode): When calling ccl_driver, if src indicates
3415 NULL pointer, set an empty string instead.
3416 (mule_encode): Likewise.
3419 (detect_coding_sjis):
3420 (decode_coding_sjis):
3421 (detect_coding_big5):
3422 (decode_coding_big5):
3423 (detect_coding_ucs4):
3424 (decode_coding_ucs4):
3425 (detect_coding_utf8):
3426 (decode_coding_utf8):
3427 (detect_coding_iso2022):
3428 (decode_coding_iso2022):
3429 (decode_coding_no_conversion):
3431 Make all detecting and decoding functions take an Extbyte * arg.
3432 (text_encode_generic):
3433 (encode_coding_big5):
3434 (encode_coding_no_conversion):
3436 Make all encoding functions take a Bufbyte * arg.
3437 Use size_t instead of unsigned int for memory sizes.
3438 Only cast to unsigned char whenever dereferencing Extbyte *.
3440 (struct lrecord_description fcd_description_1): Use countof.
3441 (complex_vars_of_file_coding):
3442 Use countof instead of sizeof.
3443 Use CHECK_NATNUM instead of CHECK_INT.
3445 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3447 * mule-charset.c (Fget_char_attribute): Add new optional argument
3449 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3450 (remove_char_ccs): Likewise.
3452 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3454 * text-coding.c (char_encode_shift_jis): New implementation in
3456 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3459 * mule-charset.c (Vcharset_chinese_big5): New variable in
3461 (Qchinese_big5): New variable in UTF-2000.
3462 (BIG5_SAME_ROW): New macro in UTF-2000.
3463 (make_builtin_char): Use builtin characters of
3464 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3465 characters of `Vcharset_chinese_big5'.
3466 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3467 (complex_vars_of_mule_charset): Add new coded-charset
3468 `chinese-big5' in UTF-2000.
3470 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3471 (Vcharset_chinese_big5): New external variable declaration.
3472 (Vcharset_japanese_jisx0208_1990): Likewise.
3474 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3476 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3478 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3480 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3482 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3483 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3484 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3487 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3489 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3491 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3493 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3496 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3498 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3499 for `CHARSET_BY_ATTRIBUTES'.
3500 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3501 `CHARSET_BY_ATTRIBUTES'.
3503 * text-coding.c (struct decoding_stream): Rename member `CH' to
3505 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3506 (decode_coding_sjis): Likewise.
3507 (decode_coding_big5): Likewise.
3508 (decode_coding_ucs4): Likewise.
3509 (decode_coding_utf8): Likewise.
3510 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3511 `CHARSET_BY_ATTRIBUTES'.
3512 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3513 `str->counter'; decode 3, 4 bytes sets.
3514 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3516 (decode_coding_no_conversion): Use `str->cpos' instead of
3519 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3520 (Qmojikyo_2022_1): New variable.
3521 (make_charset): Don't use `CHARSET_TYPE_*'.
3522 (range_charset_code_point): Support coded-charset
3524 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3525 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3526 `CHARSET_BY_ATTRIBUTES'.
3527 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3528 `CHARSET_BY_ATTRIBUTES'.
3529 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3530 (complex_vars_of_mule_charset): Add new coded-charset
3533 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3534 interface; changed to inline function.
3536 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3537 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3538 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3539 (CHARSET_TYPE_94): Deleted.
3540 (CHARSET_TYPE_94X94): Deleted.
3541 (CHARSET_TYPE_96): Deleted.
3542 (CHARSET_TYPE_96X96): Deleted.
3543 (CHARSET_TYPE_128): Deleted.
3544 (CHARSET_TYPE_128X128): Deleted.
3545 (CHARSET_TYPE_256): Deleted.
3546 (CHARSET_TYPE_256X256): Deleted.
3547 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3549 (DECODE_MOJIKYO_2022): New inline function.
3550 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3551 `Vcharset_mojikyo_2022_1'.
3553 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3555 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3557 (put_byte_table): Likewise.
3558 (char_id_table_equal): Use `get_byte_table' [new implementation].
3560 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3562 * mule-charset.c: Include <limits.h> in UTF-2000.
3563 (BT_UINT8_MIN): New macro in UTF-2000.
3564 (BT_UINT8_MAX): New macro in UTF-2000.
3565 (BT_UINT8_t): New macro in UTF-2000.
3566 (BT_UINT8_nil): New macro in UTF-2000.
3567 (BT_UINT8_unbound): New macro in UTF-2000.
3568 (INT_UINT8_P): New inline function in UTF-2000.
3569 (UINT8_VALUE_P): New inline function in UTF-2000.
3570 (UINT8_ENCODE): New inline function in UTF-2000.
3571 (UINT8_DECODE): New inline function in UTF-2000.
3572 (mark_uint8_byte_table): New function in UTF-2000.
3573 (print_uint8_byte_table): New function in UTF-2000.
3574 (uint8_byte_table_equal): New function in UTF-2000.
3575 (uint8_byte_table_hash): New function in UTF-2000.
3576 (make_uint8_byte_table): New function in UTF-2000.
3577 (uint8_byte_table_same_value_p): New function in UTF-2000.
3578 (BT_UINT16_MIN): New macro in UTF-2000.
3579 (BT_UINT16_MAX): New macro in UTF-2000.
3580 (BT_UINT16_t): New macro in UTF-2000.
3581 (BT_UINT16_nil): New macro in UTF-2000.
3582 (BT_UINT16_unbound): New macro in UTF-2000.
3583 (INT_UINT16_P): New inline function in UTF-2000.
3584 (UINT16_VALUE_P): New inline function in UTF-2000.
3585 (UINT16_ENCODE): New inline function in UTF-2000.
3586 (UINT16_DECODE): New inline function in UTF-2000.
3587 (UINT8_TO_UINT16): New inline function in UTF-2000.
3588 (mark_uint16_byte_table): New function in UTF-2000.
3589 (print_uint16_byte_table): New function in UTF-2000.
3590 (uint16_byte_table_equal): New function in UTF-2000.
3591 (uint16_byte_table_hash): New function in UTF-2000.
3592 (make_uint16_byte_table): New function in UTF-2000.
3593 (uint16_byte_table_same_value_p): New function in UTF-2000.
3594 (print_byte_table): New function in UTF-2000.
3595 (byte-table): Use `print_byte_table' as printer.
3596 (make_byte_table): Delete second argument `older'.
3597 (byte_table_same_value_p): New function in UTF-2000.
3598 (copy_byte_table): Deleted.
3599 (get_byte_table): New function in UTF-2000.
3600 (put_byte_table): New function in UTF-2000.
3601 (print_char_id_table): New function in UTF-2000.
3602 (char-id-table): Use `print_char_id_table' as printer.
3603 (make_char_id_table): Delete second argument `older'.
3604 (get_char_id_table): Use `get_byte_table [new implementation].
3605 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3607 (Ffind_char_attribute_table): New function in UTF-2000.
3608 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3609 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3610 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3611 (syms_of_mule_charset): Add new function
3612 `find-char-attribute-table' in UTF-2000.
3614 * lrecord.h (enum lrecord_type): Add
3615 `lrecord_type_uint16_byte_table' and
3616 `lrecord_type_uint8_byte_table'.
3618 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3619 (Lisp_Uint8_Byte_Table): New type.
3620 (XUINT8_BYTE_TABLE): New macro.
3621 (XSETUINT8_BYTE_TABLE): New macro.
3622 (UINT8_BYTE_TABLE_P): New macro.
3623 (GC_UINT8_BYTE_TABLE_P): New macro.
3624 (struct Lisp_Uint16_Byte_Table): New structure.
3625 (Lisp_Uint16_Byte_Table): New type.
3626 (XUINT16_BYTE_TABLE): New macro.
3627 (XSETUINT16_BYTE_TABLE): New macro.
3628 (UINT16_BYTE_TABLE_P): New macro.
3629 (GC_UINT16_BYTE_TABLE_P): New macro.
3631 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3633 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3634 (Vcharacter_ideographic_strokes_table): Deleted.
3635 (Vcharacter_total_strokes_table): Deleted.
3636 (Vcharacter_morohashi_daikanwa_table): Deleted.
3637 (Vcharacter_decomposition_table): Deleted.
3638 (Qname): Deleted because it is duplicated.
3639 (Qideographic_radical): Deleted.
3640 (Qideographic_strokes): Deleted.
3641 (Qtotal_strokes): Deleted.
3642 (Qmorohashi_daikanwa): Deleted.
3643 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3644 `ideographic-radical', `ideographic-strokes', `total-strokes',
3645 `morohashi-daikanwa' and `->decomposition'.
3646 (Fget_char_attribute): Likewise.
3647 (Fput_char_attribute): Likewise; use `make-vector' instead of
3648 `make_older_vector' for `->decomposition' value.
3649 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3650 `ideograph-daikanwa'.
3651 (syms_of_mule_charset): Delete builtin symbols `name',
3652 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3653 `morohashi-daikanwa'.
3654 (vars_of_mule_charset): Don't setup
3655 `Vcharacter_ideographic_radical_table',
3656 `Vcharacter_ideographic_strokes_table',
3657 `Vcharacter_total_strokes_table',
3658 `Vcharacter_morohashi_daikanwa_table' and
3659 `Vcharacter_decomposition_table'.
3661 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3663 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3664 `make_older_vector', `make_vector_newer_1' and
3665 `make_vector_newer'.
3667 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3668 `make_older_vector' and `make_vector_newer'.
3670 * config.h.in (HAVE_GGC): New macro.
3672 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3674 * mule-charset.c (struct char_attribute_list_closure): New
3675 structure in UTF-2000.
3676 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3677 (Fchar_attribute_list): Likewise.
3678 (Fset_charset_mapping_table): Use `make_vector_newer'.
3679 (Fdecode_builtin_char): New function in UTF-2000.
3680 (syms_of_mule_charset): Add new function `char-attribute-list' and
3681 `decode-builtin-char' in UTF-2000.
3683 * lisp.h (make_vector_newer): New prototype.
3685 * alloc.c (make_vector_newer_1): New function.
3686 (make_vector_newer): New function.
3688 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3690 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3693 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3695 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3696 (Vcharacter_attribute_table): Deleted.
3697 (Vcharacter_name_table): Deleted.
3698 (put_char_attribute): Deleted.
3699 (remove_char_attribute): Deleted.
3700 (struct char_attribute_alist_closure): New structure.
3701 (add_char_attribute_alist_mapper): New function.
3702 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3703 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3704 (Fget_char_attribute): Likewise.
3705 (Fput_char_attribute): Likewise.
3706 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3707 of `remove_char_attribute'.
3708 (Fdefine_char): Return character.
3709 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3710 and `Vcharacter_name_table'.
3711 (complex_vars_of_mule_charset): Likewise
3712 `Vchar_attribute_hash_table'.
3714 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3716 * character.h (CHARC_CHARSET): New macro.
3717 (CHARC_CHARSET_ID): New macro.
3718 (CHARC_CODE_POINT): New macro.
3719 (CHARC_COLUMNS): New macro.
3720 (CHARC_TO_CHAR): New inline function.
3721 (CHARC_EQ): New inline function.
3722 (CHARC_ASCII_EQ): New inline function.
3723 (CHARC_IS_SPACE): New inline function.
3724 (ASCII_TO_CHARC): New inline function.
3726 * char-ucs.h (encode_char_2): Deleted.
3727 (ENCODE_CHAR): Use `encode_char_1' again.
3728 (breakup_char_1): Likewise.
3729 (CHAR_TO_CHARC): New inline function.
3731 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3733 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3735 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3736 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3737 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3738 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3739 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3741 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3743 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3745 (x_output_display_block): Use `CHARC_CHARSET' and
3748 * redisplay-tty.c (tty_output_display_block): Use
3750 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3752 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3754 * insdel.c (find_charsets_in_charc_string): Use
3756 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3757 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3758 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3759 (convert_charc_string_into_malloced_string): Likewise.
3761 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3763 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3764 instead of <Emchar_dynarr *> for buf; use
3765 `convert_bufbyte_string_into_charc_dynarr' instead of
3766 `convert_bufbyte_string_into_emchar_dynarr'; use
3767 `find_charsets_in_charc_string' instead of
3768 `find_charsets_in_emchar_string'.
3771 - Include "character.h".
3772 (struct rune): New member `cglyph'; delete member `chr'.
3774 * redisplay.c (redisplay_text_width_charc_string): New function;
3775 delete `redisplay_text_width_emchar_string'.
3776 (rtw_charc_dynarr): New variable; renamed from
3777 `rtw_emchar_dynarr'.
3778 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3779 `rtw_emchar_dynarr'; use
3780 `convert_bufbyte_string_into_charc_dynarr' instead of
3781 `convert_bufbyte_string_into_emchar_dynarr'; use
3782 `redisplay_text_width_charc_string' instead of
3783 `redisplay_text_width_emchar_string'.
3784 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3785 instead of `rtw_emchar_dynarr'; use
3786 `convert_bufbyte_string_into_charc_dynarr' instead of
3787 `convert_bufbyte_string_into_emchar_dynarr'.
3788 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3789 `redisplay_text_width_charc_string' instead of
3790 `redisplay_text_width_emchar_string'.
3791 (create_text_block): Modify for <struct rune> change.
3792 (generate_formatted_string_db): Likewise.
3793 (create_string_text_block): Likewise.
3794 (pixel_to_glyph_translation): Likewise.
3796 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3797 instead of <const Emchar *>.
3798 (x_text_width): Likewise.
3799 (x_output_display_block): Use <Charc_dynarr *> instead
3800 <Emchar_dynarr *>; modify for <structure rune> change.
3801 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3804 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3805 <const Emchar *>; use `charc_string_displayed_columns' instead of
3806 `emchar_string_displayed_columns'.
3807 (tty_output_display_block): Use <Charc_dynarr *> instead of
3808 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3809 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3810 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3811 `tty_output_emchar_dynarr_dynarr'.
3812 (tty_output_charc_dynarr): New function; delete
3813 `tty_output_charc_dynarr'.
3815 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3816 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3817 <Emchar_dynarr *> for buf; use
3818 `convert_bufbyte_string_into_charc_dynarr' instead of
3819 `convert_bufbyte_string_into_emchar_dynarr'.
3821 * frame.c (title_string_charc_dynarr): New variable; renamed from
3822 `title_string_emchar_dynarr'.
3823 (generate_title_string): Use `title_string_charc_dynarr' instead
3824 of `title_string_emchar_dynarr'; use
3825 `convert_charc_string_into_malloced_string' instead of
3826 `convert_emchar_string_into_malloced_string'.
3827 (init_frame): Use `title_string_charc_dynarr' instead of
3828 `title_string_emchar_dynarr'.
3831 - Include "character.h".
3832 (struct console_methods): Use <const Charc *> instead of <const
3833 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3834 <Emchar_dynarr *> in output_string_method.
3836 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3839 * console-stream.c (stream_text_width): Use <const Charc *>
3840 instead of <const Emchar *>.
3842 * character.h (Charc_dynarr): New type.
3844 * char-ucs.h (structure Charc): New structure; define new type
3847 * char-lb.h (DECODE_CHAR): New inline function.
3848 (encode_char_1): New inline function.
3849 (ENCODE_CHAR): New macro.
3850 (structure Charc): New structure; define new type `Charc'.
3852 * char-1byte.h (Vcharset_control_1): New macro.
3853 (Vcharset_latin_iso8859_1): New macro.
3854 (DECODE_CHAR): New inline function.
3855 (encode_char_1): New inline function.
3856 (ENCODE_CHAR): New macro.
3857 (structure Charc): New structure; define new type `Charc'.
3859 * insdel.c (find_charsets_in_charc_string): New function; delete
3860 `find_charsets_in_emchar_string'.
3861 (charc_string_displayed_columns): New function; delete
3862 `emchar_string_displayed_columns'.
3863 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3864 `convert_bufbyte_string_into_emchar_dynarr'.
3865 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3866 `convert_charc_string_into_bufbyte_dynarr'.
3867 (convert_charc_string_into_malloced_string): New function; delete
3868 `convert_charc_string_into_malloced_string'.
3870 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3871 `find_charsets_in_emchar_string'.
3872 (charc_string_displayed_columns): New prototype; delete
3873 `emchar_string_displayed_columns'.
3874 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3875 `convert_charc_string_into_bufbyte_dynarr'.
3876 (convert_charc_string_into_malloced_string): New prototype; delete
3877 `convert_charc_string_into_malloced_string'.
3879 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3881 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3883 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3885 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3887 * char-ucs.h: Use <short> for <Charset_ID>.
3889 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3892 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3894 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3897 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3899 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3901 (Qmorohashi_daikanwa): New variable.
3902 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3903 for `morohashi-daikanwa' attribute.
3904 (Fget_char_attribute): Likewise.
3905 (Fput_char_attribute): Likewise.
3906 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3907 has the same value of `ideograph-daikanwa'.
3908 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3909 (vars_of_mule_charset): Setup
3910 `Vcharacter_morohashi_daikanwa_table'.
3912 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3914 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3916 (add_charset_to_list_mapper): Add `key' instead of
3917 `XCHARSET_NAME (value)' to return aliases.
3919 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3921 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3923 (Vcharacter_ideographic_strokes_table): New variable.
3924 (Qideographic_radical): New variable.
3925 (Qideographic_strokes): New variable.
3926 (Fchar_attribute_alist): Use
3927 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3928 attribute; use `Vcharacter_ideographic_strokes_table' for
3929 `ideographic-strokes' attribute.
3930 (Fget_char_attribute): Likewise.
3931 (Fput_char_attribute): Likewise.
3932 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3933 `ideographic-strokes'.
3934 (vars_of_mule_charset): Setup
3935 `Vcharacter_ideographic_radical_table' and
3936 `Vcharacter_ideographic_strokes_table'.
3938 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3940 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3941 (Qtotal_strokes): New variable.
3942 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3943 `total-strokes' attribute.
3944 (Fget_char_attribute): Likewise.
3945 (Fput_char_attribute): Likewise.
3946 (syms_of_mule_charset): Add new symbol `total-strokes'.
3947 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3949 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3951 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3952 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3954 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3955 `->decomposition' attribute.
3956 (Fput_char_attribute): Likewise.
3957 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3959 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3961 * mule-charset.c (decoding_table_check_elements): New function.
3962 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3964 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3966 * mule-charset.c (Fset_charset_mapping_table): Use
3967 `put_char_ccs_code_point'.
3969 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3971 * mule-charset.c (decoding_table_put_char): New inline function.
3972 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3974 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3976 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3977 (XCHARSET_BYTE_SIZE): New macro.
3978 (decoding_table_remove_char): New inline function.
3979 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3980 `decoding_table_remove_char'.
3981 (remove_char_ccs): Use `decoding_table_remove_char'.
3982 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3984 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3986 * mule-charset.c (Vcharacter_name_table): New variable.
3987 (Qname): New variable.
3988 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3990 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3991 `Vcharacter_name_table' for `name' attribute.
3992 (Fremove_char_attribute): Use function `remove_char_ccs'.
3993 (put_char_ccs_code_point): New function.
3994 (remove_char_ccs): New function.
3995 (syms_of_mule_charset): Add new symbol `name'.
3996 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3998 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4000 * mule-charset.c (make_byte_table): Add new argument `older'.
4001 (make_char_id_table): Likewise.
4002 (copy_char_id_table): Comment out because it is not used.
4003 (put_char_id_table): Modify for `make_byte_table'.
4004 (Fput_char_attribute): Make encoding_table as older object;
4005 inherit older bit of `Vcharacter_composition_table'.
4006 (mark_charset): Don't mark `cs->encoding_table'.
4007 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4008 normal object; make `Vcharacter_composition_table' as an older
4009 object; delete staticpro for `Vcharacter_composition_table'; make
4010 `Vcharacter_variant_table' as a normal object.
4012 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4013 (mark_object): Don't check older object in UTF-2000.
4015 * lrecord.h (struct lrecord_header): Add new member `older' in
4017 (set_lheader_implementation): Setup `SLI_header->older' in
4019 (set_lheader_older_implementation): New macro in UTF-2000.
4020 (OLDER_RECORD_P): New macro in UTF-2000.
4021 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4022 (alloc_older_lcrecord): New prototype in UTF-2000.
4023 (alloc_older_lcrecord_type): New macro in UTF-2000.
4025 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4027 * mule-charset.c (byte_table_description): Use
4028 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4029 (char_id_table_description): Delete bogus `, 1'.
4030 (Fget_char_attribute): Refer encoding_table of each coded-charset
4031 to get value of coded-charset attribute of a character.
4032 (Fput_char_attribute): Use `make_older_vector' instead of
4033 `make_vector'; use encoding_table of each coded-charset to store
4034 value of coded-charset attribute of a character.
4035 (Fremove_char_attribute): Use encoding_table of each coded-charset
4036 to store value of coded-charset attribute of a character.
4037 (mark_charset): Mark `cs->encoding_table'; don't mark
4038 `cs->decoding_table'.
4039 (charset_description): Add description of new member
4041 (make_charset): Initialize `encoding_table'.
4043 * char-ucs.h (struct Lisp_Charset): Add new member
4045 (CHARSET_ENCODING_TABLE): New macro.
4046 (XCHARSET_ENCODING_TABLE): New macro.
4047 (charset_code_point): New implementation.
4048 (encode_char_1): Likewise.
4050 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4051 (disksave_object_finalization_1): Call finalizers of
4052 `all_older_lcrecords' in UTF-2000.
4053 (make_older_vector): New function in UTF-2000.
4054 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4057 * lisp.h (make_older_vector): New prototype in UTF-2000.
4059 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4061 * lrecord.h (enum lrecord_type): Rename
4062 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4064 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4065 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4066 `get_char_code_table'.
4068 * mule-charset.c (mark_char_id_table): Renamed from
4069 `mark_char_code_table'.
4070 (char_id_table_equal): Renamed from `char_code_table_equal'.
4071 (char_id_table_hash): Renamed from `char_code_table_hash'.
4072 (make_char_id_table): Renamed from `make_char_code_table'.
4073 (copy_char_id_table): Renamed from `copy_char_code_table'.
4074 (get_char_id_table): Renamed from `get_char_code_table'.
4075 (put_char_id_table): Renamed from `put_char_code_table'.
4076 (to_char_id): Renamed from `to_char_code'.
4078 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4079 `Lisp_Char_Code_Table'.
4080 (char_id_table): Renamed from `char_code_table'.
4081 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4082 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4083 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4084 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4085 (get_char_id_table): Renamed from `get_char_code_table'.
4087 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4089 * lrecord.h (enum lrecord_type): Rename
4090 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4092 * mule-charset.c (mark_byte_table): Renamed from
4093 `mark_char_byte_table'.
4094 (byte_table_equal): Renamed from `char_byte_table_equal'.
4095 (byte_table_hash): Renamed from `byte_table_hash'.
4096 (make_byte_table): Renamed from `make_byte_table'.
4097 (copy_byte_table): Renamed from `copy_char_byte_table'.
4099 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4100 `Lisp_Char_Byte_Table'.
4101 (byte_table): Renamed from `char_byte_table'.
4102 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4103 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4104 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4105 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4107 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4109 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4110 (dfc_convert_to_internal_format): Likewise.
4112 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4113 * text-coding.c (Fcoding_system_alias_p): New function.
4114 * text-coding.c (Fcoding_system_aliasee): New function.
4115 * text-coding.c (append_suffix_to_symbol): New function.
4116 * text-coding.c (dangling_coding_system_alias_p): New function.
4117 * text-coding.c (Ffind_coding_system):
4118 * text-coding.c (Fcopy_coding_system):
4119 * text-coding.c (encode_coding_no_conversion):
4120 * text-coding.c (syms_of_file_coding):
4121 * text-coding.c (vars_of_file_coding):
4122 Rewrite coding system alias code.
4123 Allow nested aliases, like symbolic links.
4124 Allow redefinition of coding system aliases.
4125 Prevent existence of dangling coding system aliases.
4126 Eliminate convert_to_external_format.
4127 Eliminate convert_to_internal_format.
4129 * text-coding.c: Change enum eol_type to eol_type_t.
4131 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4133 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4134 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4136 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4137 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4139 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4141 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4142 `ideograph-daikanwa'.
4144 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4145 (Vcharset_ucs_bmp): Likewise.
4146 (Vcharset_mojikyo): Add new extern variable definition.
4147 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4148 (Vcharset_latin_iso8859_3): Likewise.
4149 (Vcharset_latin_iso8859_4): Likewise.
4150 (Vcharset_latin_iso8859_9): Likewise.
4151 (Vcharset_latin_viscii_lower): Likewise.
4152 (Vcharset_latin_viscii_upper): Likewise.
4153 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4154 `mojikyo' code-point is used to decode.
4155 (encode_char_2): New function [to convert `mojikyo' code-point to
4156 Mojikyo font encoding].
4157 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4158 (breakup_char_1): Likewise.
4159 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4161 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4163 * text-coding.c (Fmake_coding_system): Add document about
4164 `disable-composition' property.
4166 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4168 * text-coding.c (Qdisable_composition): New variable; delete
4170 (Fmake_coding_system): Add new property `disable-composite';
4171 delete property `composite'.
4172 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4173 instead of `!CODING_SYSTEM_COMPOSITE'.
4174 (syms_of_file_coding): Add new symbol `disable-composition';
4175 delete symbol `composite'.
4177 * file-coding.h (struct Lisp_Coding_System): Add
4178 `disable_composition'; delete `enable_composition'.
4179 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4180 `CODING_SYSTEM_COMPOSITE'.
4181 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4182 `XCODING_SYSTEM_COMPOSITE'.
4184 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4186 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4189 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4191 * text-coding.c (Qcomposite): New variable.
4192 (Fmake_coding_system): Add new property `composite'.
4193 (struct decoding_stream): Add `combined_char_count',
4194 `combined_chars' and `combining_table' in UTF-2000.
4195 (COMPOSE_FLUSH_CHARS): New macro.
4196 (COMPOSE_ADD_CHAR): New macro.
4197 (reset_decoding_stream): Reset `str->combined_char_count' and
4198 `str->combining_table' in UTF-2000.
4199 (decode_coding_iso2022): Modify for character-decomposition.
4200 (syms_of_file_coding): Add new symbol `composite'.
4202 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4204 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4205 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4206 of `Vcharacter_composition_table' if `->decomposition' property
4208 (Qlatin_tcvn5712): New variable.
4209 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4210 (complex_vars_of_mule_charset): Add new coded-charset
4213 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4215 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4217 * file-coding.h (struct Lisp_Coding_System): Add
4218 `enable_composition'.
4219 (CODING_SYSTEM_COMPOSITE): New macro.
4220 (XCODING_SYSTEM_COMPOSITE): New macro.
4222 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4224 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4226 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4228 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4229 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4231 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4233 * mule-charset.c (Vcharset_mojikyo): New variable.
4234 (Fdefine_char): Don't use coded-charset which does not have
4235 non-builtin character range to allocate character-id.
4236 (Qmojikyo): New variable.
4237 (syms_of_mule_charset): Add new symbol `mojikyo'.
4238 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4240 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4241 (LEADING_BYTE_MOJIKYO): New macro.
4242 (MIN_CHAR_MOJIKYO): New macro.
4243 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4244 (MAX_CHAR_MOJIKYO): New macro.
4246 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4248 * mule-charset.c (remove_char_attribute): Fixed.
4250 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4252 * mule-charset.c (remove_char_attribute): New function.
4253 (Fremove_char_attribute): New function.
4254 (encode_builtin_char_1): Comment out builtin-support for
4255 greek-iso8859-7 and cyrillic-iso8859-5.
4256 (Fdecode_char): Check `code' is an integer.
4257 (syms_of_mule_charset): Add `remove-char-attribute'.
4258 (MIN_CHAR_GREEK): Deleted.
4259 (MAX_CHAR_GREEK): Likewise.
4260 (MIN_CHAR_CYRILLIC): Likewise.
4261 (MAX_CHAR_CYRILLIC): Likewise.
4262 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4263 MAX_CHAR_GREEK for `greek-iso8859-7'.
4265 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4266 (MAX_CHAR_GREEK): Likewise.
4267 (MIN_CHAR_CYRILLIC): Likewise.
4268 (MAX_CHAR_CYRILLIC): Likewise.
4270 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4272 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4273 format is used without `ucs' property.
4274 (Fdecode_char): Fix problem with GR representation.
4275 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4276 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4278 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4280 * mule-charset.c (make_builtin_char): New function.
4281 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4282 (Fset_charset_mapping_table): Modify for new representation of
4284 (Fdecode_char): New function.
4285 (syms_of_mule_charset): Add new builtin function `decode-char' in
4288 * char-ucs.h (make_builtin_char): New prototype.
4289 (DECODE_CHAR): New inline function.
4290 (MAKE_CHAR): Use `DECODE_CHAR'.
4292 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4294 * text-coding.c (parse_charset_conversion_specs): Use
4295 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4297 (iso2022_designate): Likewise.
4299 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4300 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4302 * mule-charset.c (Vcharset_ucs): New variable.
4303 (print_charset): Change design; use `CHARSET_CHARS' and
4304 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4305 (make_charset): Change signature to specify `chars' and
4306 `dimension' instead of `type'.
4307 (range_charset_code_point): Modify for 256^n-set.
4308 (encode_builtin_char_1): Encode as `ucs' in default.
4309 (Fmake_charset): Modify for `make_charset'.
4310 (Fmake_reverse_direction_charset): Likewise.
4311 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4313 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4316 * char-ucs.h (Vcharset_ucs): New variable.
4317 (LEADING_BYTE_UCS): New macro.
4318 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4319 and `chars' to `unsigned short' from `unsigned int'.
4320 (CHARSET_TYPE): Deleted.
4321 (XCHARSET_TYPE): Deleted.
4323 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4325 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4327 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4328 (ENCODE_CHAR): New macro.
4330 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4332 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4333 to 0.14 (Kawachi-Katakami).
4335 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4337 * text-coding.c (char_encode_shift_jis): Modify for
4338 `charset_code_point'.
4339 (char_encode_iso2022): Likewise.
4341 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4342 (integer) instead of list of <Lisp_Object>s (integers) as the
4343 format of code-point of a coded-charset.
4344 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4345 (encode_builtin_char_1): New function; delete
4346 `split_builtin_char'.
4347 (charset_code_point): Return <int> instead of <Lisp_Object>.
4348 (Fsplit_char): Don't use `SPLIT_CHAR'.
4350 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4351 prototype for `split_builtin_char'.
4352 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4353 (charset_code_point): Likewise.
4354 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4355 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4357 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4359 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4360 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4362 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4364 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4366 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4367 (MAX_CHAR_OBS_94x94): Deleted.
4369 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4371 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4373 * char-ucs.h (MAX_CHAR_BMP): New macro.
4375 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4377 * text-coding.c: Sync with r21-2-24.
4379 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4381 * file-coding.c: Modify for UTF-2000.
4383 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4385 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4388 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4390 * mule-charset.c (split_builtin_char): Delete builtin support for
4391 `katakana-jisx0201'.
4392 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4393 BMP area in builtin representation.
4395 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4396 `Vcharset_katakana_jisx0201'.
4398 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4400 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4401 (Qisolated): New variable.
4402 (Qinitial): New variable.
4403 (Qmedial): New variable.
4404 (Qfinal): New variable.
4405 (Qvertical): New variable.
4406 (Qsmall): New variable.
4407 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4408 `Qvertical' and `Qsmall'.
4409 (Qmojikyo_pj_[1 .. 21]): New variable.
4410 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4411 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4412 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4415 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4417 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4418 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4419 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4421 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4423 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4424 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4426 (Qjapanese_jisx0208_1990): New variable.
4427 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4428 (complex_vars_of_mule_charset): Add new coded-charset
4429 `japanese-jisx0208-1990'.
4431 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4432 (MIN_CHAR_JIS_X0208_1990): New macro.
4433 (MAX_CHAR_JIS_X0208_1990): New macro.
4435 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4437 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4438 coded-charset is not found.
4440 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4442 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4443 (Fdefine_char): Use `Fmake_char'.
4445 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4447 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4448 (Vcharset_hiragana_jisx0208): Deleted.
4449 (Vcharset_katakana_jisx0208): Deleted.
4450 (Qideograph_daikanwa): New variable.
4451 (Qhiragana_jisx0208): Deleted.
4452 (Qkatakana_jisx0208): Deleted.
4453 (split_builtin_char): Split `ideograph-daikanwa'.
4454 (Fsplit_char): New implementation for UTF-2000.
4455 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4456 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4457 (complex_vars_of_mule_charset): Add new coded-charset
4458 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4459 `katakana-jisx0208'.
4461 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4462 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4463 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4464 (MIN_CHAR_DAIKANWA): New macro.
4465 (MAX_CHAR_DAIKANWA): New macro.
4467 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4469 * data.c (Fstring_to_number): Don't recognize floating point if
4472 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4474 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4476 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4478 * mule-charset.c (Qsquare): New variable.
4479 (to_char_code): Add `Qsquare'.
4480 (syms_of_mule_charset): Add new symbol `square'.
4482 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4484 * mule-charset.c (Qcircle): New variable.
4485 (to_char_code): Add `Qcircle'.
4486 (syms_of_mule_charset): Add new symbol `circle'.
4488 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4490 * mule-charset.c (Qfont): New variable.
4491 (to_char_code): Add `Qfont'.
4492 (syms_of_mule_charset): Add new symbol `font'.
4494 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4496 * mule-charset.c (Qsub): New variable.
4497 (to_char_code): Add `Qsub'.
4498 (syms_of_mule_charset): Add new symbol `sub'.
4500 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4502 * mule-charset.c (Fput_char_attribute): Convert each element of
4503 VALUE to GL position if ATTRIBUTE is a GR-set,
4505 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4507 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4508 coded-charset is a GR-set.
4510 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4512 * mule-charset.c (Fput_char_attribute): Check each element of
4513 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4515 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4517 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4519 (Qethiopic_ucs): New variable in UTF-2000.
4520 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4521 (complex_vars_of_mule_charset): Add new coded-charset
4522 `ethiopic-ucs' in UTF-2000.
4524 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4525 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4527 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4529 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4531 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4533 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4536 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4538 * mule-charset.c (Vcharacter_variant_table): New variable.
4539 (Q_ucs): New variable.
4540 (Fchar_variants): New function.
4541 (Fput_char_attribute): Register `->ucs' value to
4542 `Vcharacter_variant_table'.
4543 (syms_of_mule_charset): Add new function `char-variants' and new
4545 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4547 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4549 * mule-charset.c (get_char_code_table): Allow negative character
4551 (put_char_code_table): Likewise.
4552 (Vcharacter_composition_table): New variable.
4553 (Q_decomposition): New variable.
4554 (Qwide): New variable.
4555 (Qnarrow): New variable.
4556 (Qcompat): New variable.
4557 (QnoBreak): New variable.
4558 (Qsuper): New variable.
4559 (Qfraction): New variable.
4560 (to_char_code): New function.
4561 (Fget_composite_char): New function.
4562 (Fput_char_attribute): Register `->decomposition' value to
4563 `Vcharacter_composition_table'.
4564 (syms_of_mule_charset): Add new function `get-composite-char', new
4565 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4566 `super' and `fraction'.
4567 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4569 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4571 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4572 character; copy the return value.
4574 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4576 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4578 * mule-charset.c (range_charset_code_point): Must use make_int.
4579 (split_builtin_char): New function.
4581 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4583 * mule-charset.c (char_byte_table): Change name from
4584 "char-code-table" to "char-byte-table".
4585 (mark_char_code_table): New function.
4586 (char_code_table_equal): New function.
4587 (char_code_table_hash): New function.
4588 (char_code_table_description): New constant.
4589 (char_code_table): New type.
4590 (make_char_code_table): New function.
4591 (copy_char_code_table): New function.
4592 (get_char_code_table): Modify for `char_code_table' type.
4593 (put_char_code_table): Likewise.
4594 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4597 * char-ucs.h (char_code_table): New type.
4598 (XCHAR_CODE_TABLE): New macro.
4599 (XSETCHAR_CODE_TABLE): New macro.
4600 (CHAR_CODE_TABLE_P): New macro.
4601 (GC_CHAR_CODE_TABLE_P): New macro.
4602 (struct Lisp_Char_Code_Table): New structure.
4604 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4606 * mule-charset.c (Fmake_charset): Setup byte_offset for
4609 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4611 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4614 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4619 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4621 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4622 charset, it is regarded as a charset.
4623 (put_char_attribute): New function in UTF-2000.
4624 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4625 charset, mapping-table of the charset is modified.
4626 (Fdefine_char): New function in UTF-2000.
4627 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4628 `Fput_char_attribute'.
4629 (syms_of_mule_charset): Add new function `define-char' and new
4630 symbol `ucs' in UTF-2000.
4631 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4633 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4635 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4636 non-UTF-2000 configuration.
4638 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4640 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4641 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4643 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4645 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4646 (Fset_charset_mapping_table): Likewise.
4648 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4649 (CHARSET_ENCODING_TABLE): Delete.
4650 (XCHARSET_ENCODING_TABLE): Delete.
4651 (charset_code_point): New interface.
4653 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4655 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4656 instead of `charset_get_byte1' and `charset_get_byte2'.
4658 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4659 (charset_get_byte2): Deleted.
4661 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4663 * char-ucs.h (SPLIT_CHAR): New inline function.
4664 (breakup_char_1): Use `SPLIT_CHAR'.
4666 * mule-charset.c (range_charset_code_point): New function.
4667 (charset_code_point): New function.
4669 * char-ucs.h (range_charset_code_point): New interface.
4670 (breakup_char_1): Use `range_charset_code_point'.
4672 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4674 * mule-charset.c (Fmake_charset): Delete unused local variable
4677 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4678 (breakup_char_1): Find a charset and code-point in
4679 `Vcharacter_attribute_table'.
4681 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4683 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4686 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4688 * mule-charset.c (Vcharacter_attribute_table): New variable.
4689 (Fchar_attribute_alist): New function.
4690 (Fget_char_attribute): New function.
4691 (Fput_char_attribute): New function.
4692 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4694 (syms_of_mule_charset): Add new function `char-attribute-alist',
4695 `get-char-attribute' and `put-char-attribute'.
4696 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4698 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4700 * mule-charset.c (Fmake_charset): Just use
4701 `get_unallocated_leading_byte'.
4703 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4704 sets; don't use final-byte based number for private sets.
4706 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4708 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4711 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4713 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4716 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4718 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4719 of `CHAR_LEADING_BYTE' in UTF-2000.
4721 * insdel.c (find_charsets_in_bufbyte_string): Use
4722 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4723 (find_charsets_in_emchar_string): Likewise.
4725 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4726 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4728 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4729 (CHAR_CHARSET_ID): New macro.
4731 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4733 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4734 charset-id - MIN_LEADING_BYTE.
4735 (put_char_table): Likewise.
4737 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4739 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4740 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4741 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4742 (CHARSET_ID_OFFSET): New macro.
4743 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4744 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4745 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4746 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4748 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4750 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4751 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4752 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4753 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4754 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4756 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4758 * mule-charset.c (next_allocated_leading_byte): New variable in
4760 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4761 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4762 (get_unallocated_leading_byte): Simply use
4763 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4764 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4767 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4768 (MAX_LEADING_BYTE_PRIVATE): New macro.
4769 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4770 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4772 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4774 * mule-charset.c (Fmake_charset): Allocate final-byte based
4775 charset-id for 94-set, 96-set and 94x94-set.
4777 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4779 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4781 (Fmake_charset): Likewise.
4782 (complex_vars_of_mule_charset): Modify the font registry of
4783 `ucs-bmp' not to match `Ethiopic-Unicode'.
4785 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4787 * mule-charset.c (complex_vars_of_mule_charset): Add font
4788 registory of `ucs-bmp'.
4790 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4792 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4793 coded-charsets in `default-coded-charset-priority-list' when
4794 breaking up a character.
4796 * mule-charset.c (Vcharset_latin_viscii): New variable.
4797 (Qlatin_viscii): New variable.
4798 (make_charset): Don't use `decoding_table'.
4799 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4801 (Fset_charset_mapping_table): New implementation.
4802 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4803 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4804 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4805 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4806 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4807 charset `latin_viscii'.
4809 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4810 (CHARSET_TYPE_94X94): Change to 1 from 2.
4811 (CHARSET_TYPE_96): Change to 2 from 1.
4812 (CHARSET_TYPE_128): New macro.
4813 (CHARSET_TYPE_128X128): Change to 5 from 4.
4814 (CHARSET_TYPE_256): New macro.
4815 (CHARSET_TYPE_256X256): Change to 7 from 5.
4816 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4818 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4820 * text-coding.c (char_encode_shift_jis): Refer
4821 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4822 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4824 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4825 (char_byte_table_equal): New function in UTF-2000.
4826 (char_byte_table_hash): New function in UTF-2000.
4827 (char_byte_table_description): New constant in UTF-2000.
4828 (char_byte_table): New type in UTF-2000.
4829 (make_char_byte_table): New function in UTF-2000.
4830 (copy_char_byte_table): New function in UTF-2000.
4831 (make_char_code_table): New macro in UTF-2000.
4832 (get_char_code_table): New function in UTF-2000.
4833 (put_char_code_table): New function in UTF-2000.
4834 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4835 (charset_description): Add setting in UTF-2000.
4836 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4837 `CHARSET_TO_BYTE1_TABLE(cs)'.
4838 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4839 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4840 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4841 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4842 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4843 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4844 `CHARSET_TO_BYTE2_TABLE(cs)'.
4846 * char-ucs.h (char_byte_table): New type.
4847 (XCHAR_BYTE_TABLE): New macro.
4848 (XSETCHAR_BYTE_TABLE): New macro.
4849 (CHAR_BYTE_TABLE_P): New macro.
4850 (GC_CHAR_BYTE_TABLE_P): New macro.
4851 (struct Lisp_Char_Byte_Table): New structure.
4852 (get_char_code_table): New interface.
4853 (Emchar_to_byte_table): Deleted.
4854 (get_byte_from_character_table): Deleted.
4855 (struct Lisp_Charset): Add `encoding_table'; delete
4856 `to_byte1_table' and `to_byte2_table'.
4857 (CHARSET_ENCODING_TABLE): New macro.
4858 (CHARSET_TO_BYTE1_TABLE): Deleted.
4859 (CHARSET_TO_BYTE2_TABLE): Deleted.
4860 (XCHARSET_ENCODING_TABLE): New macro.
4861 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4862 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4864 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4866 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4867 `vietnamese-viscii-*'.
4869 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4871 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4872 (Qvietnamese_viscii_upper): New variable.
4873 (Fdefine_charset_alias): New function.
4874 (syms_of_mule_charset): Add new function `define-charset-alias'.
4875 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4876 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4879 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4881 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4882 (MAX_CHAR_OBS_94x94): New macro.
4883 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4886 * mule-charset.c (put_byte_from_character_table): Change unit size
4888 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4890 (Fmake_reverse_direction_charset): Modify dummy argument of
4891 `make_charset' for non-UTF-2000 environment.
4893 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4895 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4897 * mule-charset.c (destroy_byte_from_character_table): New macro.
4898 (latin_jisx0201_to_ucs): Deleted.
4899 (latin_iso8859_2_to_ucs): Deleted.
4900 (latin_iso8859_3_to_ucs): Deleted.
4901 (latin_iso8859_4_to_ucs): Deleted.
4902 (latin_iso8859_9_to_ucs): Deleted.
4903 (latin_viscii_lower_to_ucs): Deleted.
4904 (latin_viscii_upper_to_ucs): Deleted.
4905 (mark_charset): Mark `cs->decoding_table'.
4906 (Fcharset_mapping_table): Fix DOC-string.
4907 (Fset_charset_mapping_table): New function.
4908 (syms_of_mule_charset): Add nwe function
4909 `set-charset-mapping-table'.
4910 (complex_vars_of_mule_charset): Don't setup and use
4913 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4915 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4918 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4920 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4921 (Vcharset_katakana_jisx0208): New variable.
4922 (Qhiragana_jisx0208): New variable.
4923 (Qkatakana_jisx0208): New variable.
4924 (make_charset): Add new argument `byte_offset'.
4925 (charset_get_byte1): Modify for new coded-charset definition; use
4926 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4927 `XCHARSET_BYTE_OFFSET'.
4928 (Fmake_charset): Modify for `make_charset'.
4929 (Fmake_reverse_direction_charset): Likewise.
4930 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4931 `katakana-jisx0208'.
4932 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4933 `.' in font registry of charset `katakana-jisx0201',
4934 `latin-jisx0201', `vietnamese-viscii-lower' and
4935 `vietnamese-viscii-upper'; modify DOC-string of charset
4936 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4937 registry of charset `japanese-jisx0208' not to use font for JIS
4938 X0208:1990; add new charset `hiragana-jisx0208' and
4939 `katakana-jisx0208'.
4941 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4942 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4943 (struct Lisp_Charset): Add `byte_offset'.
4944 (CHARSET_BYTE_OFFSET): New macro.
4945 (XCHARSET_UCS_MIN): New macro.
4946 (XCHARSET_UCS_MAX): New macro.
4947 (XCHARSET_CODE_OFFSET): New macro.
4948 (XCHARSET_BYTE_OFFSET): New macro.
4949 (MIN_CHAR_HIRAGANA): New macro.
4950 (MAX_CHAR_HIRAGANA): New macro.
4951 (MIN_CHAR_KATAKANA): New macro.
4952 (MAX_CHAR_KATAKANA): New macro.
4953 (MAKE_CHAR): Modify for new coded-charset definition; use
4954 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4955 `XCHARSET_BYTE_OFFSET'.
4957 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4959 * mule-charset.c (CHAR96): Deleted.
4960 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4962 (latin_iso8859_2_to_ucs): Likewise.
4963 (latin_iso8859_3_to_ucs): Likewise.
4964 (latin_iso8859_4_to_ucs): Likewise.
4965 (latin_iso8859_9_to_ucs): Likewise.
4966 (latin_viscii_lower_to_ucs): Likewise.
4967 (latin_viscii_upper_to_ucs): Likewise.
4968 (latin_tcvn5712_to_ucs): Commented out.
4969 (make_charset): Change type of argument `decoding_table' from
4970 <Emchar*> to <Lisp_Object> [vector of characters].
4971 (Fmake_charset): Modify for `make_charset'.
4972 (Fmake_reverse_direction_charset): Likewise.
4973 (Fcharset_mapping_table): New function in UTF-2000.
4974 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4976 (complex_vars_of_mule_charset): Modify for type change of
4977 `*_to_ucs'; modify for `make_charset'.
4979 * char-ucs.h (struct Lisp_Charset): Change type of
4980 `decoding_table' from <Emchar*> to <Lisp_Object>.
4981 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4983 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4985 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4986 error with non-UTF-2000-Mule.
4988 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4990 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4992 (Vcharset_chinese_cns11643_4): Likewise.
4993 (Vcharset_chinese_cns11643_5): Likewise.
4994 (Vcharset_chinese_cns11643_6): Likewise.
4995 (Vcharset_chinese_cns11643_7): Likewise.
4996 (Qchinese_cns11643_3): Likewise.
4997 (Qchinese_cns11643_4): Likewise.
4998 (Qchinese_cns11643_5): Likewise.
4999 (Qchinese_cns11643_6): Likewise.
5000 (Qchinese_cns11643_7): Likewise.
5001 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5002 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5003 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5004 (complex_vars_of_mule_charset): Likewise.
5006 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5008 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5010 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5011 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5013 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5015 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5017 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5018 (breakup_char_1): Likewise.
5020 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5021 one of them includes the specified character.
5023 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5025 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5027 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5029 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5031 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5033 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5034 definition for non-UTF-2000 Mule.
5035 (latin_iso8859_3_to_ucs): Likewise.
5036 (latin_iso8859_4_to_ucs): Likewise.
5037 (latin_iso8859_9_to_ucs): Likewise.
5038 (latin_jisx0201_to_ucs): Likewise.
5039 (MIN_CHAR_THAI): Likewise.
5040 (MAX_CHAR_THAI): Likewise.
5041 (MIN_CHAR_GREEK): Likewise.
5042 (MAX_CHAR_GREEK): Likewise.
5043 (MIN_CHAR_HEBREW): Likewise.
5044 (MAX_CHAR_HEBREW): Likewise.
5045 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5046 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5047 (MIN_CHAR_CYRILLIC): Likewise.
5048 (MAX_CHAR_CYRILLIC): Likewise.
5050 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5052 * char-ucs.h (breakup_char_1): Use
5053 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5054 thai-tis620 and katakana-jisx0201 area.
5056 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5058 * char-ucs.h (breakup_char_1): Use
5059 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5062 * text-coding.c (reset_encoding_stream): Fixed.
5063 (char_encode_ucs4): Delete `& 255'.
5065 * char-ucs.h (breakup_char_1): Use
5066 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5068 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5070 * file-coding.c (Fmake_coding_system): Don't set up
5071 `codesys->fixed.size'.
5072 (encode_coding_no_conversion): Don't refer
5073 `str->codesys->fixed.size'.
5075 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5077 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5078 (latin_a_char_to_byte1): Deleted.
5079 (latin_a_char_to_byte2): Deleted.
5081 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5083 * mule-charset.c (make_charset): Add new argument `ucs_min',
5084 `ucs_max' and `code_offset'.
5085 (charset_get_byte1): New implementation [delete specific charset
5086 depended implementations].
5087 (Fmake_charset): Modify for `make_charset'.
5088 (Fmake_reverse_direction_charset): Likewise.
5089 (complex_vars_of_mule_charset): Likewise.
5091 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5093 (CHARSET_UCS_MIN): New macro.
5094 (CHARSET_UCS_MAX): New macro.
5095 (CHARSET_CODE_OFFSET): New macro.
5096 (MAKE_CHAR): Delete charset depended definitions [except
5099 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5101 * char-ucs.h (breakup_char_1): Use
5102 `Vdefault_coded_charset_priority_list' for C0-Controls,
5103 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5105 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5107 * char-ucs.h (charset_get_byte1): New function.
5108 (XCHARSET_GET_BYTE1): Deleted.
5109 (charset_get_byte2): New function.
5110 (XCHARSET_GET_BYTE2): Deleted.
5111 (Vdefault_coded_charset_priority_list): New external variable.
5112 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5113 `Vdefault_preferred_coded_charset_list'.
5115 * mule-charset.c (charset_get_byte1): New function.
5116 (charset_get_byte2): New function.
5117 (Vdefault_coded_charset_priority_list): New variable.
5118 (vars_of_mule_charset): Add new variable
5119 `default-coded-charset-priority-list'.
5121 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5123 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5124 (XCHARSET_GET_BYTE2): New inline function.
5125 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5126 `XCHARSET_GET_BYTE2'.
5128 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5130 * mule-charset.c (make_charset): Initialize
5131 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5132 NULL if table is not defined.
5134 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5136 * text-coding.c (char_encode_shift_jis): Use
5137 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5138 `ucs_to_latin_jisx0201'.
5140 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5141 (ucs_to_latin_iso8859_2): Deleted.
5142 (ucs_to_latin_iso8859_3): Deleted.
5143 (ucs_to_latin_iso8859_4): Deleted.
5144 (ucs_to_latin_iso8859_9): Deleted.
5145 (ucs_to_latin_viscii_lower): Deleted.
5146 (ucs_to_latin_viscii_upper): Deleted.
5147 (ucs_to_latin_tcvn5712): Deleted.
5148 (make_charset): Add new argument `decoding_table'; set up
5149 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5150 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5151 `decoding_table' is defined in UTF-2000.
5152 (Fmake_charset): Modify for `make_charset'.
5153 (Fmake_reverse_direction_charset): Likewise.
5154 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5155 and `GENERATE_96_SET'.
5157 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5158 (ucs_to_latin_jisx0201): Deleted.
5159 (latin_iso8859_2_to_ucs): Deleted.
5160 (ucs_to_latin_iso8859_2): Deleted.
5161 (latin_iso8859_3_to_ucs): Deleted.
5162 (ucs_to_latin_iso8859_3): Deleted.
5163 (latin_iso8859_4_to_ucs): Deleted.
5164 (ucs_to_latin_iso8859_4): Deleted.
5165 (latin_iso8859_9_to_ucs): Deleted.
5166 (ucs_to_latin_iso8859_9): Deleted.
5167 (latin_viscii_lower_to_ucs): Deleted.
5168 (ucs_to_latin_viscii_lower): Deleted.
5169 (latin_viscii_upper_to_ucs): Deleted.
5170 (ucs_to_latin_viscii_upper): Deleted.
5171 (struct Lisp_Charset): Renamed `encoding_table' to
5172 `to_byte1_table'; add `to_byte2_table'.
5173 (CHARSET_DECODING_TABLE): New macro.
5174 (CHARSET_TO_BYTE1_TABLE): New macro.
5175 (CHARSET_TO_BYTE2_TABLE): New macro.
5176 (XCHARSET_DECODING_TABLE): New macro.
5177 (XCHARSET_TO_BYTE1_TABLE): New macro.
5178 (XCHARSET_TO_BYTE2_TABLE): New macro.
5179 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5181 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5182 don't use `ucs_to_*' tables.
5184 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5186 * text-coding.c (Fmake_coding_system): Don't set up
5187 `codesys->fixed.size'.
5188 (encode_coding_no_conversion): Use `if' instead of `switch'.
5190 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5192 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5194 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5195 (Fmake_charset): Modify for `make_charset'.
5196 (Fmake_reverse_direction_charset): Likewise.
5197 (complex_vars_of_mule_charset): Likewise.
5199 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5201 * text-coding.c (char_encode_shift_jis): Use table
5202 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5204 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5206 * text-coding.c (text_encode_generic): Use `if' instead of
5208 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5211 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5213 * text-coding.c (encode_coding_sjis): Deleted.
5214 (char_encode_shift_jis): New function.
5215 (char_finish_shift_jis): New function.
5216 (reset_encoding_stream): Set up `encode_char' and `finish' for
5217 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5218 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5219 (char_encode_utf8): Treat `eol_type'.
5221 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5223 * file-coding.c (decode_coding_iso2022): Use
5224 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5226 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5228 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5231 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5233 * char-lb.h (CHAR_COLUMNS): New macro.
5235 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5237 * text-coding.c (char_encode_ucs4): New function.
5238 (char_finish_ucs4): New function.
5239 (encode_coding_ucs4): Deleted.
5240 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5241 (text_encode_generic): Delete local variable `charset' and `half'.
5242 (ucs_to_mule_table): Deleted.
5243 (mule_to_ucs_table): Deleted.
5244 (Fset_ucs_char): Deleted.
5245 (ucs_to_char): Deleted.
5246 (Fucs_char): Deleted.
5247 (Fset_char_ucs): Deleted.
5248 (Fchar_ucs): Deleted.
5249 (decode_ucs4): Deleted.
5250 (mule_char_to_ucs4): Deleted.
5251 (encode_ucs4): Deleted.
5252 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5253 (decode_coding_utf8): Likewise.
5254 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5255 (char_encode_iso2022): Fixed.
5256 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5257 `Fset_char_ucs' and `Fchar_ucs'.
5258 (complex_vars_of_file_coding): Don't initialize
5259 `ucs_to_mule_table'.
5261 * objects-tty.c (tty_initialize_font_instance): Don't use
5264 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5267 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5268 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5270 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5271 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5272 (emchar_string_displayed_columns): Likewise.
5274 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5275 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5276 (string_column_at_point): Likewise.
5277 (Fmove_to_column): Likewise.
5279 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5280 `encoding_table' and `decoding_table'.
5281 (CHARSET_REP_BYTES): Deleted.
5282 (XCHARSET_REP_BYTES): Deleted.
5283 (XCHARSET_COLUMNS): Deleted.
5284 (CHAR_COLUMNS): New macro.
5285 (lookup_composite_char): Deleted unconditionally.
5286 (composite_char_string): Likewise.
5288 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5290 * char-ucs.h (Emchar_to_byte_table): New type.
5291 (get_byte_from_character_table): New function interface.
5292 (Vcharset_latin_jisx0201): New variable.
5293 (latin_jisx0201_to_ucs): New variable.
5294 (ucs_to_latin_jisx0201): New variable.
5295 (Vcharset_latin_iso8859_2): New variable.
5296 (latin_iso8859_2_to_ucs): New variable.
5297 (ucs_to_latin_iso8859_2): New variable.
5298 (Vcharset_latin_iso8859_3): New variable.
5299 (latin_iso8859_3_to_ucs): New variable.
5300 (ucs_to_latin_iso8859_3): New variable.
5301 (Vcharset_latin_iso8859_4): New variable.
5302 (latin_iso8859_4_to_ucs): New variable.
5303 (ucs_to_latin_iso8859_4): New variable.
5304 (Vcharset_latin_iso8859_9): New variable.
5305 (latin_iso8859_9_to_ucs): New variable.
5306 (ucs_to_latin_iso8859_9): New variable.
5307 (Vcharset_latin_viscii_lower): New variable.
5308 (latin_viscii_lower_to_ucs): New variable.
5309 (ucs_to_latin_viscii_lower): New variable.
5310 (Vcharset_latin_viscii_upper): New variable.
5311 (latin_viscii_upper_to_ucs): New variable.
5312 (ucs_to_latin_viscii_upper): New variable.
5313 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5314 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5315 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5316 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5317 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5318 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5319 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5320 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5321 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5322 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5324 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5325 (Vcharset_latin_viscii_upper): New variable.
5326 (make_byte_from_character_table): New function.
5327 (put_byte_from_character_table): New function.
5328 (get_byte_from_character_table): New function.
5329 (CHAR96): New macro.
5330 (ucs_to_latin_jisx0201): New variable.
5331 (latin_jisx0201_to_ucs): New variable.
5332 (ucs_to_latin_iso8859_2): New variable.
5333 (latin_iso8859_2_to_ucs): New variable.
5334 (ucs_to_latin_iso8859_3): New variable.
5335 (latin_iso8859_3_to_ucs): New variable.
5336 (ucs_to_latin_iso8859_4): New variable.
5337 (latin_iso8859_4_to_ucs): New variable.
5338 (ucs_to_latin_iso8859_9): New variable.
5339 (latin_iso8859_9_to_ucs): New variable.
5340 (ucs_to_latin_viscii_lower): New variable.
5341 (latin_viscii_lower_to_ucs): New variable.
5342 (ucs_to_latin_viscii_upper): New variable.
5343 (latin_viscii_upper_to_ucs): New variable.
5344 (ucs_to_latin_tcvn5712): New variable.
5345 (latin_tcvn5712_to_ucs): New variable.
5346 (Qlatin_viscii_lower): New variable.
5347 (Qlatin_viscii_upper): New variable.
5348 (syms_of_mule_charset): Set up new symbol
5349 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5350 (complex_vars_of_mule_charset): Set up new charset
5351 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5352 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5353 `ucs_to_<CHARSET>' tables.
5355 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5357 * text-coding.c: New file.
5359 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5361 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5363 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5364 (MAKE_CHAR): Modify for `ucs-bmp'.
5365 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5366 non-MULE characters of BMP.
5368 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5370 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5373 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5376 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5377 - Include character.h for `CHAR_ASCII_P'.
5379 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5381 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5382 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5384 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5385 (BYTE_C0_P): Likewise.
5386 (BYTE_C1_P): Likewise.
5387 (Lstream_get_emchar_1): Likewise.
5388 (Lstream_fput_emchar): Likewise.
5389 (Lstream_funget_emchar): Likewise.
5390 (copy_internal_to_external): Likewise.
5391 (copy_external_to_internal): Likewise.
5393 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5394 (BYTE_C0_P): Likewise.
5395 (BYTE_C1_P): Likewise.
5396 (Lstream_get_emchar_1): Likewise.
5397 (Lstream_fput_emchar): Likewise.
5398 (Lstream_funget_emchar): Likewise.
5399 (copy_internal_to_external): Likewise.
5400 (copy_external_to_internal): Likewise.
5402 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5403 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5405 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5406 (BYTE_ASCII_P): Moved to mb-1byte.h.
5408 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5410 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5412 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5413 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5414 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5415 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5416 (VALIDATE_CHARPTR_FORWARD): Likewise.
5417 (simple_charptr_emchar): Moved to mb-multibyte.h.
5418 (simple_set_charptr_emchar): Likewise.
5419 (simple_charptr_copy_char): Likewise.
5420 (non_ascii_charptr_emchar): Likewise.
5421 (non_ascii_set_charptr_emchar): Likewise.
5422 (non_ascii_charptr_copy_char): Likewise.
5423 (charptr_emchar): Moved to mb-*byte.h.
5424 (set_charptr_emchar): Likewise.
5425 (charptr_copy_char): Likewise.
5427 * mb-1byte.h, mb-multibyte.h: New files.
5429 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5431 * mb-utf-8.h (MULTIBYTE): New macro.
5432 (MAX_EMCHAR_LEN): Moved from buffer.h.
5433 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5435 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5437 * mb-lb.h, multibyte.h: New files.
5439 * char-1byte.h (Charset_ID): Moved from buffer.h.
5440 (MIN_LEADING_BYTE): Likewise.
5441 (LEADING_BYTE_ASCII): Likewise.
5442 (NUM_LEADING_BYTES): Likewise.
5443 (CHARSETP): Likewise.
5444 (CHARSET_BY_LEADING_BYTE): Likewise.
5445 (XCHARSET_LEADING_BYTE): Likewise.
5446 (XCHARSET_GRAPHIC): Likewise.
5447 (XCHARSET_COLUMNS): Likewise.
5448 (XCHARSET_DIMENSION): Likewise.
5449 (CHAR_CHARSET): Likewise.
5450 (CHAR_LEADING_BYTE): Likewise.
5451 (BREAKUP_CHAR): Likewise.
5452 (Vcharset_ascii): Likewise.
5454 * buffer.h: Include multibyte.h unconditionally.
5455 (VALID_CHARPTR_P): Moved to multibyte.h.
5456 (ASSERT_VALID_CHARPTR): Likewise.
5457 (REAL_INC_CHARPTR): Likewise.
5458 (REAL_INC_CHARBYTIND): Likewise.
5459 (REAL_DEC_CHARPTR): Likewise.
5460 (INC_CHARPTR): Likewise.
5461 (INC_CHARBYTIND): Likewise.
5462 (DEC_CHARPTR): Likewise.
5463 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5464 (VALIDATE_CHARPTR_FORWARD): Likewise.
5465 (charptr_n_addr): Likewise.
5466 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5467 (simple_charptr_emchar): Moved to multibyte.h.
5468 (simple_set_charptr_emchar): Likewise.
5469 (simple_charptr_copy_char): Likewise.
5470 (non_ascii_charptr_emchar): Likewise.
5471 (non_ascii_set_charptr_emchar): Likewise.
5472 (non_ascii_charptr_copy_char): Likewise.
5473 (charptr_emchar): Likewise.
5474 (set_charptr_emchar): Likewise.
5475 (charptr_copy_char): Likewise.
5476 (charptr_emchar_n): Likewise.
5477 (Charset_ID): Moved to char-1byte.h.
5478 (Vcharset_ascii): Likewise.
5479 (CHAR_CHARSET): Likewise.
5480 (CHAR_LEADING_BYTE): Likewise.
5481 (LEADING_BYTE_ASCII): Likewise.
5482 (NUM_LEADING_BYTES): Likewise.
5483 (MIN_LEADING_BYTE): Likewise.
5484 (CHARSETP): Likewise.
5485 (CHARSET_BY_LEADING_BYTE): Likewise.
5486 (XCHARSET_LEADING_BYTE): Likewise.
5487 (XCHARSET_GRAPHIC): Likewise.
5488 (XCHARSET_COLUMNS): Likewise.
5489 (XCHARSET_DIMENSION): Likewise.
5490 (BREAKUP_CHAR): Likewise.
5492 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5494 * character.h: Add document about interface for characters.
5496 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5497 (MAKE_CHAR): Delete comment about
5498 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5499 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5500 (BREAKUP_CHAR): Modify name of arguments.
5501 (CHAR_CHARSET): Modify name of argument.
5503 * buffer.h: Delete document about Emchar accessors.
5505 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5507 * character.h (CHAR_INTP): Moved from buffer.h
5508 (CHAR_OR_CHAR_INTP): Likewise.
5509 (XCHAR_OR_CHAR_INT): Likewise.
5510 (CHECK_CHAR_COERCE_INT): Likewise.
5512 * buffer.h (CHAR_INTP): Moved to character.h
5513 (CHAR_OR_CHAR_INTP): Likewise.
5514 (XCHAR_OR_CHAR_INT): Likewise.
5515 (CHECK_CHAR_COERCE_INT): Likewise.
5517 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5520 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5521 - Include char-1byte.h, char-lb.h or char-ucs.h.
5523 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5525 * buffer.h: Include character unconditionally.
5526 (valid_char_p): Moved to char-*.h.
5527 (non_ascii_valid_char_p): Moved to char-lb.h.
5529 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5531 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5533 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5534 in UTF-2000 because it is not ported yet and not to use
5535 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5536 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5537 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5539 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5540 (CHAR_ASCII_P): Moved from character.h.
5542 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5543 (CHAR_ASCII_P): Likewise.
5544 (CHAR_FIELD1_MASK): Deleted.
5545 (CHAR_FIELD2_MASK): Deleted.
5546 (CHAR_FIELD3_MASK): Deleted.
5547 (MAX_CHAR_BASIC_LATIN): New macro.
5548 (CHAR_FIELD1): Deleted.
5549 (CHAR_FIELD2_INTERNAL): Deleted.
5550 (CHAR_FIELD3_INTERNAL): Deleted.
5551 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5552 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5553 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5554 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5555 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5556 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5557 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5558 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5559 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5560 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5561 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5562 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5563 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5564 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5565 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5566 (MIN_CHAR_COMPOSITION): Deleted.
5567 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5568 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5570 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5572 * buffer.h: Include mb-utf-8.h in UTF-2000.
5574 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5576 * mb-utf-8.h: New file.
5578 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5580 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5583 * mule-charset.h, buffer.h (Charset_ID): New type.
5585 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5587 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5588 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5589 instead of `MULE_CHAR_PRIVATE_OFFSET',
5590 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5591 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5592 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5594 * character.h (Vcharset_japanese_jisx0212): New variable
5597 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5599 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5600 (charset_by_attributes): Delete array about direction.
5601 (latin_a_char_to_charset): New variable in UTF-2000.
5602 (latin_a_char_to_byte1): New variable in UTF-2000.
5603 (latin_a_char_to_byte2): New variable in UTF-2000.
5604 (Qucs_bmp): New variable.
5605 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5607 (next_allocated_2_byte_leading_byte): Likewise.
5608 (non_ascii_set_charptr_emchar): Likewise.
5609 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5610 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5611 `charset_by_attributes'.
5612 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5613 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5614 and `CHARSET_BY_LEADING_BYTE'.
5615 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5616 `utf-2000-version' to `vars_of_mule_charset'.
5617 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5618 define `leading-code-private-11' in UTF-2000; move setting of
5619 `utf-2000-version' from `syms_of_mule_charset'.
5620 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5623 * character.h (Charset_ID): New type.
5624 (LEADING_BYTE_UCS_BMP): New macro.
5625 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5626 (CHARSET_ID_OFFSET_94): New macro.
5627 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5628 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5629 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5631 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5632 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5633 (CHARSET_ID_OFFSET_96): New macro.
5634 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5635 CHARSET_ID_OFFSET_96 and final-byte.
5636 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5637 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5638 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5639 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5640 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5641 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5642 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5643 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5644 (LEADING_BYTE_THAI_TIS620): Likewise.
5645 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5646 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5647 (CHARSET_ID_OFFSET_94x94): New macro.
5648 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5649 CHARSET_ID_OFFSET_94x94 and final-byte.
5650 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5651 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5652 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5653 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5654 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5655 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5656 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5657 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5658 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5659 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5660 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5661 (CHARSET_TYPE_128X128): New macro.
5662 (CHARSET_TYPE_256X256): New macro.
5663 (XCHARSET_PRIVATE_P): Delete unconditionally.
5664 (charset_by_attributes): Delete array about direction.
5665 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5666 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5667 (MIN_CHAR_94): New macro.
5668 (MAX_CHAR_94): New macro.
5669 (MIN_CHAR_96): New macro.
5670 (MAX_CHAR_96): New macro.
5671 (MIN_CHAR_94x94): New macro.
5672 (MAX_CHAR_94x94): New macro.
5673 (MIN_CHAR_96x96): New macro.
5674 (MAX_CHAR_96x96): New macro.
5675 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5676 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5677 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5679 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5680 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5681 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5682 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5683 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5684 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5685 `XCHARSET_LEADING_BYTE' to make code-point.
5686 (latin_a_char_to_charset): New variable.
5687 (latin_a_char_to_byte1): New variable.
5688 (latin_a_char_to_byte2): New variable.
5689 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5690 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5691 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5693 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5694 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5695 (find_charsets_in_emchar_string): Likewise.
5696 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5698 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5700 (decode_coding_iso2022): Likewise.
5702 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5705 * redisplay.c (redisplay_text_width_emchar_string): Use
5706 `Charset_ID' instead of `unsigned char'.
5707 (redisplay_frame_text_width_string): Likewise.
5709 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5712 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5713 instead of `unsigned char'.
5714 (face_cachel_charset_font_metric_info): Likewise.
5716 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5717 (get_non_ascii_char_table_value): Likewise.
5718 (get_char_table): Likewise.
5719 (put_char_table): Likewise.
5720 (map_over_other_charset): Likewise.
5721 (map_char_table): Likewise.
5723 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5724 instead of `unsigned char'.
5726 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5728 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5729 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5731 * mule-charset.c (leading_code_private_11): Don't define in
5734 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5735 in UTF-2000 because it is not ported yet and not to use
5736 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5738 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5740 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5742 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5744 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5747 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5748 of unsigned char to store leading-byte.
5750 * chartab.c (get_non_ascii_char_table_value): Don't use
5751 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5753 * file-coding.c (encode_coding_big5): Delete bogus implementation
5756 * character.h (LEADING_BYTE_*): Delete definition for
5758 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5759 (LEADING_BYTE_PREFIX_P): Deleted.
5760 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5761 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5762 (BUFBYTE_LEADING_BYTE_P): Deleted.
5763 (CHARSET_PRIVATE_P): Deleted unconditionally.
5764 (rep_bytes_by_first_byte): Deleted unconditionally.
5765 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5766 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5767 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5768 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5769 (CHAR_FIELD2): Deleted.
5770 (CHAR_FIELD3): Deleted.
5771 (MAKE_CHAR): Delete definition for non-UTF-2000.
5772 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5773 (breakup_char_1): New implementation.
5774 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5775 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5777 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5779 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5782 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5784 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5785 (CHARSET_PRIVATE_P): Likewise.
5786 (XCHARSET_PRIVATE_P): Likewise.
5787 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5789 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5791 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5793 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5795 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5796 (NUM_LEADING_BYTES): Changed from 128 to 256.
5797 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5798 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5800 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5802 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5804 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5805 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5806 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5807 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5808 (Qchinese_cns11643_3): New variable in UTF2000.
5809 (Qchinese_cns11643_4): New variable in UTF2000.
5810 (Qchinese_cns11643_5): New variable in UTF2000.
5811 (Qchinese_cns11643_6): New variable in UTF2000.
5812 (Qchinese_cns11643_7): New variable in UTF2000.
5813 (syms_of_mule_charset): Define `chinese-cns11643-3',
5814 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5815 and `chinese-cns11643-7' in UTF2000.
5816 (vars_of_mule_charset): Initialize
5817 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5819 (complex_vars_of_mule_charset): Setup charset
5820 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5821 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5823 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5825 * mule-charset.c: Move setting for `leading-code-private-11' from
5826 `syms_of_mule_charset' to `vars_of_mule_charset'.
5828 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5830 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5831 and `NUM_LEADING_BYTES' in assert.
5833 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5835 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5837 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5838 `NUM_LEADING_BYTES' instead of 128.
5840 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5842 * mule-charset.h (charset_by_leading_byte): Use
5843 `NUM_LEADING_BYTES' instead of 128.
5844 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5846 * mule-charset.c (charset_by_leading_byte): Use
5847 `NUM_LEADING_BYTES' instead of 128.
5848 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5850 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5853 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5855 * mule-charset.c (syms_of_mule_charset): Update to
5858 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5860 * file-coding.c (encode_coding_sjis): New implementation for
5861 UTF2000. (decode_coding_sjis): Ditto.
5863 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5865 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5866 Don't define in UTF2000.
5868 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5871 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5872 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5875 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5877 * config.h.in (CHAR_IS_UCS4): New macro.
5879 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5880 conventional MULE representation.
5881 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5883 * mule-charset.h: Reverted to original.
5885 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5886 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5887 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5889 * character.h: New file.
5891 * file-coding.c (Fmake_coding_system): Set 1 to
5892 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5894 (encode_coding_no_conversion): New implementation for UTF2000.
5896 * file-coding.h (struct Lisp_Coding_System): Add new member
5899 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5901 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5902 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5903 (encode_coding_iso2022): New implementation for UTF2000.
5905 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5907 * mule-canna.c (c2mu): New implementation for UTF2000.
5910 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5912 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5914 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5916 * file-coding.c (reset_encoding_stream): Set 0 to
5917 `str->iso2022.current_char_boundary' in UTF2000.
5918 (encode_utf8): Don't define in UTF2000.
5919 (encode_coding_utf8): New implementation for UTF-8 representation
5921 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5923 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5925 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5927 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5929 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5931 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5933 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5934 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5935 as UTF-8 in UTF2000.
5936 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5937 (non_ascii_valid_char_p): Don't define in UTF2000.
5938 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5939 (Lstream_get_emchar_1): Likewise.
5940 (utf-2000-version): New variable in UTF2000.
5942 * lread.c (read_escape): Add new reader `u'.
5944 * insdel.c (three_to_one_table): Don't define in UTF2000.
5945 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5946 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5948 (bytind_to_bufpos_func): Likewise.
5949 (buffer_mule_signal_inserted_region): Likewise.
5950 (vars_of_insdel): Don't initialize `three_to_one_table'.
5951 (init_buffer_text): Use `buf->text->mule_size' instead of
5952 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5955 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5956 UTF-8 representation in UTF2000.
5957 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5958 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5959 (decode_coding_iso2022): Don't define local variable `lb' in
5960 UTF2000; don't use LEADING_BYTE in UTF2000; use
5961 `DECODE_ADD_UCS_CHAR' in UTF2000.
5962 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5964 * config.h.in (UTF2000): New macro.
5966 * buffer.h (struct buffer_text): Add new member `mule_size' and
5967 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5968 (valid_char_p): Return always 1 in UTF2000.
5969 (MAX_EMCHAR_LEN): 6 in UTF2000.
5970 (three_to_one_table): Don't define in UTF2000.
5971 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5973 (real_bytind_to_bufpos): Likewise.
5975 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5977 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5979 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5980 representation change.
5981 (Vutf_2000_version): New variable.
5982 (leading_code_private_11): New variable.
5983 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5984 `leading-code-private-11'.
5986 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5987 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5988 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5989 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5990 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5991 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5992 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5993 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5994 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5995 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5996 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5997 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5998 (MIN_CHAR_GREEK): New macro.
5999 (MAX_CHAR_GREEK): New macro.
6000 (MIN_CHAR_CYRILLIC): New macro.
6001 (MAX_CHAR_CYRILLIC): New macro.
6002 (MIN_CHAR_HEBREW): New macro.
6003 (MAX_CHAR_HEBREW): New macro.
6004 (MIN_CHAR_THAI): New macro.
6005 (MAX_CHAR_THAI): New macro.
6006 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6007 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6008 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6009 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6010 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6011 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6012 (CHAR_FIELD2): New inline function.
6013 (CHAR_FIELD3): New inline function.
6014 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6015 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6016 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6017 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6018 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6019 (MIN_CHAR_COMPOSITION): Likewise.
6020 (CHAR_LEADING_BYTE): Modified for character representation change.
6021 (MAKE_CHAR): Likewise.
6023 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6024 (Vcharset_greek_iso8859_7): Likewise.
6025 (Vcharset_cyrillic_iso8859_5): Likewise.
6026 (Vcharset_hebrew_iso8859_8): Likewise.
6027 (Vcharset_thai_tis620): Likewise.
6028 (Vcharset_katakana_jisx0201): Likewise.
6030 2008-12-28 Vin Shelton <acs@xemacs.org>
6032 * XEmacs 21.4.22 is released
6034 2008-12-27 Vin Shelton <acs@xemacs.org>
6036 * syswindows.h: Don't define wide character interfaces for Cygwin
6039 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6041 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6043 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6045 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6046 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6048 2008-12-25 Vin Shelton <acs@xemacs.org>
6050 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6051 By Julian Bradfield in
6052 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6054 * mule-ccl.c (ccl_driver):
6056 2007-10-07 Vin Shelton <acs@xemacs.org>
6058 * XEmacs 21.4.21 is released
6060 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6062 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6064 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6066 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6067 (png_instantiate): Initialize setjmp_buffer early, and avoid
6068 recursive entry to error handler.
6070 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6072 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6075 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6077 * event-Xt.c (x_reset_modifier_mapping):
6078 * event-gtk.c (gtk_reset_modifier_mapping):
6079 Zero out the device's modifier map once we've freed it, to prevent
6080 a double free on a re-entrant call.
6082 2007-05-17 Vin Shelton <acs@xemacs.org>
6084 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6085 64-bit linux. Patch from Hans de Graaff.
6087 2007-05-02 Vin Shelton <acs@xemacs.org>
6089 * dumper.c (pdump): Don't close pdump_fd (already closed by
6090 fclose() call. Patch from Steve Higham.
6091 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6092 already closed. Patch inspired by Steve Higham.
6094 2007-05-01 Vin Shelton <acs@xemacs.org>
6096 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6097 (mswindows_fstat): Ditto.
6098 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6100 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6102 * postgresql.c: Update Steve Baur's email address by his request.
6103 * postgresql.h: Ditto.
6105 2007-01-04 Vin Shelton <acs@xemacs.org>
6107 * fileio.c (check_writable): Check old-style readonly bit only for
6110 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6112 * src/fileio.c (check_writable):
6113 Cope with the fact that the read-only attribute trumps Windows NTFS
6117 2006-12-09 Vin Shelton <acs@xemacs.org>
6119 * XEmacs 21.4.20 is released
6121 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6123 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6124 relocated the definitions to be used sooner in file.
6125 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6126 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6129 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6131 * sound.c (init_native_sound):
6132 Only X11 and GTK devices can possibly not be on the console of the
6133 associated machine. Fixes a crash when init_native_sound is called
6134 on a msprinter device.
6136 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6138 * buffer.c (buffer-file-name): Document invariant.
6139 (buffer-file-truename): Sync wording to buffer-file-name.
6140 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6143 2006-11-19 Benson Margulies <benson@dchbk.us>
6145 * fileio.c: Add code to use full Win32 API to check for write
6146 access. Win32 has the general design policy that you aren't
6147 supposed to ask this question, since security checks change
6148 depending on asynchronous processes. Nonetheless, there is a way,
6149 by acting as if we are a server doing interpretive access
6152 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6154 * bytecode.c: Use xnew_array instead of alloca.
6156 2006-07-04 Vin Shelton <acs@xemacs.org>
6158 * redisplay-msw.c: Fix tiny, but crucial typo.
6160 2006-06-22 Jerry James <james@xemacs.org>
6162 * EmacsShell-sub.c (ChangeManaged):
6163 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6165 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6166 checking if it is NULL. Also fix a memory leak.
6167 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6168 dereference it, not the other way around.
6169 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6171 * dumper.c (pdump_register_struct): Ditto.
6172 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6173 to (short) warnpath overflow warnpath.
6174 * extents.c (detach_all_extents): Call extent_list_delete_all with
6175 a non-NULL parameter only.
6176 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6177 NULL width and height.
6178 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6179 xic before checking if they are NULL.
6180 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6182 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6183 * nas.c (Err): Fix a memory leak.
6184 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6185 Don't create the buffer if there is nothing to do.
6186 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6187 * redisplay-output.c (redisplay_output_layout): Ditto.
6188 * redisplay-tty.c (tty_output_display_block): Ditto.
6189 * redisplay-x.c (x_output_display_block): Ditto.
6190 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6191 dereference instance->scrollbar_data if it is NULL.
6192 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6193 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6194 for sb->scrollbar_data.
6195 * sound.c (init_native_sound): Avoid a buffer overflow by
6196 allocating a buffer with the appropriate size.
6198 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6200 * EmacsShell-sub.c (RootGeometryManager):
6201 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6202 Based on a suggestion by Francois L'Archeveque.
6204 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6206 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6207 current values found in GNU Emacs.
6209 2006-03-17 Vin Shelton <acs@xemacs.org>
6211 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6212 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6214 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6215 'hex_initialized' because it conflicts with 'initialized' in
6218 2006-01-28 Vin Shelton <acs@xemacs.org>
6220 * XEmacs 21.4.19 is released
6222 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6224 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6226 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6228 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6231 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6233 * database.c: Suppress compiler warning under Cygwin.
6234 * database.c: Removed __FreeBSD__ check, should be handled by
6235 HAVE_U_xxx_T defines.
6237 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6239 * console.c (stuff_buffered_input): Compile body only if
6242 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6244 * callproc.c: #include sysdir.h, so that any appropriate Mule
6245 magic happens with the chdir() call when calling a subprocess.
6247 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6249 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6250 * mule-ccl.c: Check that a character set exists before using it
6251 to create a character.
6253 2005-12-06 Vin Shelton <acs@xemacs.org>
6255 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6258 2005-12-03 Vin Shelton <acs@xemacs.org>
6260 * XEmacs 21.4.18 is released
6262 2005-11-27 Kean Johnston <kean@armory.com>
6264 * redisplay-tty.c (set_tty_modes):
6265 (reset_tty_modes): disable auto-margins if the terminal supports
6267 (init_tty_for_redisplay): fix cursor shape.
6269 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6271 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6272 for control-1 characters properly, both when reading multibyte
6273 characters and writing them.
6275 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6277 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6278 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6279 were seeing with incremental selection transfer failing.
6281 2005-11-26 Vin Shelton <acs@xemacs.org>
6283 * callproc.c (Fold_call_process_internal): Create the buffer if it
6284 does not already exist. The original patch came from Ben Wing in
6285 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6287 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6289 * callproc.c: Process-related docstring improvements spurred by
6292 2005-11-25 Vin Shelton <acs@xemacs.org>
6294 * depend: Regenerated.
6296 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6298 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6299 says it clashes with a global with the same name.
6301 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6303 * sysdll.c (dll_open): Under MacOS X return NULL under the
6304 filename is NULL. Fixes problems finding local symbols under 10.4
6307 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6309 * config.h.in: New HAVE_U_INT*_T defines.
6311 * database.c: Only use u_int*_t typedefs if not already
6314 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6316 * src/process-unix.c (unix_open_network_stream): moved
6317 'portbuf' buffer out of an inner block as it is used in the
6318 entire function. With gcc4, the stack may get corrupted
6319 after leaving this block. This patches adjusts the size of
6320 the used buffer also; static '128' bytes are far too much
6321 currently and might not suffice for future architectures
6322 (e.g. for 512 bit ones ;)). Instead of, use only the really
6323 required space (max octets * ln(256)/ln(10) chars + space
6324 for '\0' and the sign)
6326 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6328 * callproc.c: Include sysdir.h, so any necessary Mule processing
6329 is done on the current directory name before starting a new
6332 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6334 * chartab.c (Fchar_table_p):
6335 (Fget_range_char_table):
6338 Describe range representation and fix typo.
6340 2005-02-12 Vin Shelton <acs@xemacs.org>
6342 * emacs.c (shut_down_emacs): Advise users to send email to the
6343 xemacs-beta list instead of crashes@xemacs.org.
6345 2005-02-03 David Evers <extsw@appliedgenerics.com>
6347 * process-unix.c (unix_send_process): Flush the last chunk, even
6348 when the pipe is blocked.
6350 2005-02-06 Vin Shelton <acs@xemacs.org>
6352 * XEmacs 21.4.17 is released
6354 2005-01-31 Ben Wing <ben@xemacs.org>
6357 Define assert_failed() always.
6359 Always define ABORT().
6361 2005-01-25 Ben Wing <ben@xemacs.org>
6364 * Makefile.in.in (%.o):
6365 Don't compile executable as Windows (-mwindows) under Cygwin.
6366 Semi-recent changes to Cygwin's executable-startup handling make
6367 it impossible to access the TTY this way.
6369 Don't use special linker file under Cygwin (cygwin.sc) except
6370 when non-PDUMP (even in this case it is highly questionable); you
6373 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6374 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6376 2005-01-29 Ben Wing <ben@xemacs.org>
6378 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6380 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6382 2005-01-29 Ben Wing <ben@xemacs.org>
6384 * bytecode.c (optimize_compiled_function):
6386 * print.c (long_to_string):
6387 Add casts to avoid warning.
6390 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6391 #### The better solution is to move the TIFF and JPEG code to
6394 * glyphs-msw.c (mswindows_xbm_instantiate):
6395 Define __STDC__ to avoid problems with compface.h.
6397 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6399 * EmacsShell-sub.c (ABORT):
6400 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6401 * EmacsShell-sub.c (RootGeometryManager):
6403 * EmacsShell.c (ABORT):
6404 * EmacsShell.c (EmacsShellUpdateSizeHints):
6405 * alloc.c (free_lcrecord):
6406 * alloca.c (i00afunc):
6407 * buffer.c (delete_from_buffer_alist):
6408 * buffer.c (MARKED_SLOT):
6409 * bytecode.c (execute_rare_opcode):
6410 * bytecode.c (optimize_byte_code):
6411 * bytecode.c (Ffetch_bytecode):
6412 * chartab.c (char_table_type_to_symbol):
6413 * chartab.c (Freset_char_table):
6414 * chartab.c (decode_char_table_range):
6415 * chartab.c (Fget_range_char_table):
6416 * chartab.c (check_valid_char_table_value):
6417 * chartab.c (map_char_table):
6418 * chartab.c (slow_map_char_table_fun):
6419 * chartab.c (chartab_instantiate):
6420 * cm.c (cmcheckmagic):
6421 * console-msw.c (DHEADER):
6422 * console.c (MARKED_SLOT):
6423 * data.c (finish_marking_weak_lists):
6424 * data.c (encode_weak_list_type):
6425 * debug.h (DASSERT):
6426 * device-gtk.c (gtk_init_device):
6427 * device-msw.c (mswindows_get_default_margin):
6428 * device-tty.c (tty_init_device):
6429 * device-x.c (get_device_from_display):
6430 * device-x.c (x_get_visual_depth):
6431 * doprnt.c (parse_doprnt_spec):
6432 * doprnt.c (get_doprnt_args):
6433 * dumper.c (pdump_get_indirect_count):
6434 * dumper.c (pdump_register_sub):
6435 * dumper.c (pdump_register_object):
6436 * dumper.c (pdump_register_struct):
6437 * dumper.c (pdump_dump_data):
6438 * dumper.c (pdump_reloc_one):
6439 * elhash.c (print_hash_table):
6440 * elhash.c (make_standard_lisp_hash_table):
6441 * elhash.c (hash_table_instantiate):
6443 * emacs.c (Fforce_debugging_signal):
6444 * emacs.c (sort_args):
6446 * emacs.c (assert_failed):
6447 * eval.c (throw_or_bomb_out):
6448 * eval.c (signal_1):
6451 * event-Xt.c (emacs_Xt_mapping_action):
6452 * event-Xt.c (Xt_process_to_emacs_event):
6454 * event-stream.c (check_event_stream_ok):
6455 * event-stream.c (Fadd_timeout):
6456 * event-stream.c (Fadd_async_timeout):
6457 * event-stream.c (Fdiscard_input):
6458 * event-stream.c (execute_internal_event):
6459 * event-stream.c (Frecent_keys):
6460 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6461 * event-stream.c (lookup_command_event):
6462 * event-unixoid.c (poll_fds_for_input):
6464 * events.c (mark_event):
6465 * events.c (event_equal):
6466 * events.c (event_hash):
6467 * events.c (Fmake_event):
6468 * events.c (Fdeallocate_event):
6469 * events.c (event_chain_find_previous):
6470 * events.c (event_to_character):
6471 * events.c (format_event_object):
6472 * events.c (Fevent_type):
6473 * events.c (event_pixel_translation):
6474 * events.c (Fevent_properties):
6475 * extents.c (extent_in_region_p):
6476 * extents.c (print_extent):
6477 * extents.c (process_extents_for_insertion_mapper):
6478 * extents.c (report_extent_modification_mapper):
6479 * extents.c (glyph_layout_to_symbol):
6480 * faces.c (face_validate):
6481 * file-coding.c (eol_type_to_symbol):
6482 * file-coding.c (subsidiary_coding_system):
6483 * file-coding.c (Fcoding_system_type):
6484 * file-coding.c (Fcoding_system_property):
6485 * file-coding.c (mule_decode):
6486 * file-coding.c (mule_encode):
6487 * file-coding.c (encode_coding_ucs4):
6488 * file-coding.c (encode_coding_utf8):
6489 * file-coding.c (parse_iso2022_esc):
6490 * file-coding.c (encode_coding_iso2022):
6495 * fns.c (Fbase64_encode_region):
6496 * fns.c (Fbase64_encode_string):
6497 * fns.c (Fbase64_decode_region):
6498 * fns.c (Fbase64_decode_string):
6499 * font-lock.c (find_context):
6500 * font-lock.c (context_to_symbol):
6501 * frame-gtk.c (gtk_set_frame_pointer):
6502 * frame-gtk.c (gtk_update_frame_external_traits):
6503 * frame-x.c (x_wm_mark_shell_size_user_specified):
6504 * frame-x.c (x_wm_mark_shell_position_user_specified):
6505 * frame-x.c (x_wm_set_shell_iconic_p):
6506 * frame-x.c (x_wm_set_cell_size):
6507 * frame-x.c (x_wm_set_variable_size):
6508 * frame-x.c (x_wm_store_class_hints):
6509 * frame-x.c (x_wm_maybe_store_wm_command):
6510 * frame-x.c (x_initialize_frame_size):
6511 * frame-x.c (x_update_frame_external_traits):
6513 * frame.c (delete_frame_internal):
6514 * frame.c (mouse_pixel_position_1):
6515 * frame.c (change_frame_size_1):
6516 * free-hook.c (check_free):
6517 * free-hook.c (check_realloc):
6518 * free-hook.c (note_block_input):
6519 * free-hook.c (log_gcpro):
6520 * gccache-gtk.c (gc_cache_lookup):
6521 * glyphs-eimage.c (tiff_memory_write):
6522 * glyphs-gtk.c (gtk_finalize_image_instance):
6523 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6524 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6525 * glyphs-gtk.c (gtk_xpm_instantiate):
6526 * glyphs-gtk.c (gtk_unmap_subwindow):
6527 * glyphs-gtk.c (gtk_map_subwindow):
6528 * glyphs-gtk.c (gtk_button_redisplay):
6530 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6531 * glyphs-x.c (init_image_instance_from_xbm_inline):
6532 * glyphs-x.c (extract_xpm_color_names):
6533 * glyphs-x.c (x_xpm_instantiate):
6534 * glyphs.c (get_image_instantiator_governing_domain):
6535 * glyphs.c (print_image_instance):
6536 * glyphs.c (image_instance_equal):
6537 * glyphs.c (image_instance_hash):
6538 * glyphs.c (encode_image_instance_type):
6539 * glyphs.c (make_image_instance_1):
6540 * glyphs.c (inherit_instantiate):
6541 * glyphs.c (image_instantiate):
6542 * glyphs.c (allocate_glyph):
6543 * glyphs.c (Fglyph_type):
6544 * glyphs.c (redisplay_subwindow):
6545 * glyphs.c (display_table_entry):
6546 * gtk-glue.c (xemacs_list_to_gtklist):
6547 * gtk-glue.c (xemacs_gtklist_to_list):
6548 * gtk-glue.c (xemacs_list_to_array):
6549 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6550 * gutter.c (gutter_was_visible):
6551 * gutter.c (get_gutter_coords):
6552 * input-method-xlib.c (get_XIM_input):
6553 * insdel.c (bufpos_to_bytind_func):
6554 * insdel.c (bytind_to_bufpos_func):
6555 * insdel.c (move_gap):
6556 * intl.c (x_get_composed_input):
6557 * keymap.c (keymap_lookup_directly):
6558 * keymap.c (keymap_delete_inverse_internal):
6559 * keymap.c (ensure_meta_prefix_char_keymapp):
6560 * keymap.c (accessible_keymaps_mapper_1):
6561 * keymap.c (where_is_recursive_mapper):
6564 * lread.c (read_atom):
6565 * lstream.c (Lstream_delete):
6566 * lstream.c (make_lisp_buffer_stream_1):
6567 * macros.c (pop_kbd_macro_event):
6568 * malloc.c (malloc):
6570 * marker.c (bi_marker_position):
6571 * marker.c (set_bi_marker_position):
6572 * menubar-gtk.c (menu_descriptor_to_widget_1):
6573 * menubar-msw.c (prune_menubar):
6574 * menubar-x.c (set_frame_menubar):
6575 * mule-charset.c (get_unallocated_leading_byte):
6576 * mule-charset.h (CHAR_LEADING_BYTE):
6577 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6578 * nt.c (init_environment):
6579 * nt.c (generate_inode_val):
6580 * ntproc.c (delete_child):
6581 * ntproc.c (_sys_read_ahead):
6582 * ntproc.c (create_child):
6583 * objects.c (color_instantiate):
6584 * objects.c (font_instantiate):
6585 * objects.c (face_boolean_instantiate):
6586 * print.c (printing_major_badness):
6587 * process-nt.c (nt_send_process):
6588 * process-unix.c (unix_send_process):
6589 * process.c (get_process):
6590 * ralloc.c (obtain):
6591 * ralloc.c (relinquish):
6592 * ralloc.c (relocate_blocs):
6593 * ralloc.c (resize_bloc):
6594 * ralloc.c (r_alloc_free):
6595 * ralloc.c (r_re_alloc):
6596 * ralloc.c (r_alloc_thaw):
6597 * ralloc.c (init_ralloc):
6598 * ralloc.c (Free_Addr_Block):
6599 * ralloc.c (r_alloc):
6600 * redisplay-gtk.c (gtk_output_display_block):
6601 * redisplay-msw.c (mswindows_output_display_block):
6602 * redisplay-output.c (get_next_display_block):
6603 * redisplay-output.c (get_cursor_size_and_location):
6604 * redisplay-output.c (redisplay_output_layout):
6605 * redisplay-output.c (redisplay_clear_region):
6606 * redisplay-tty.c (tty_output_display_block):
6607 * redisplay-x.c (x_output_display_block):
6608 * redisplay.c (add_propagation_runes):
6609 * redisplay.c (add_glyph_rune):
6610 * redisplay.c (create_text_block):
6611 * redisplay.c (add_margin_runes):
6612 * redisplay.c (create_left_glyph_block):
6613 * redisplay.c (create_right_glyph_block):
6614 * redisplay.c (create_string_text_block):
6615 * redisplay.c (regenerate_window):
6616 * redisplay.c (REGEN_INC_FIND_START_END):
6617 * redisplay.c (redisplay_frame):
6618 * redisplay.c (point_in_line_start_cache):
6621 * regex.c (re_compile_fastmap):
6622 * regex.c (re_match_2_internal):
6623 * regex.c (regerror):
6624 * scrollbar-gtk.c (gtk_scrollbar_loop):
6625 * scrollbar-gtk.c (scrollbar_cb):
6626 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6627 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6628 * scrollbar-x.c (x_update_scrollbar_instance_status):
6629 * scrollbar-x.c (x_scrollbar_loop):
6630 * scrollbar-x.c (x_update_frame_scrollbars):
6631 * search.c (search_command):
6632 * search.c (Fmatch_data):
6633 * select-x.c (motif_clipboard_cb):
6634 * signal.c (interrupt_signal):
6635 * specifier.c (specifier_add_spec):
6636 * specifier.c (specifier_instance_from_inst_list):
6637 * specifier.c (specifier_instance):
6639 * specifier.h (struct specifier_methods):
6640 * strftime.c (add_num_time_t):
6641 * sunplay.c (init_device):
6642 * symbols.c (Fsetplist):
6643 * symbols.c (do_symval_forwarding):
6644 * symbols.c (store_symval_forwarding):
6646 * symbols.c (Fbuilt_in_variable_type):
6647 * symbols.c (decode_magic_handler_type):
6648 * symbols.c (handler_type_from_function_symbol):
6649 * syntax.c (update_syntax_cache):
6650 * sysdep.c (init_baud_rate):
6651 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6652 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6653 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6654 * toolbar.c (get_toolbar_coords):
6655 * ui-gtk.c (build_gtk_boxed):
6656 * ui-gtk.c (describe_gtk_arg):
6657 * ui-gtk.c (gtk_type_to_lisp):
6658 * ui-gtk.c (lisp_to_gtk_type):
6659 * ui-gtk.c (lisp_to_gtk_ret_type):
6660 * ui-gtk.c (lisp_to_flag):
6661 * unexnt.c (read_in_bss):
6662 * unexnt.c (map_in_heap):
6663 * window.c (real_window):
6664 * window.c (window_display_lines):
6665 * window.c (window_display_buffer):
6666 * window.c (set_window_display_buffer):
6667 * window.c (window_modeline_height):
6668 * window.c (unshow_buffer):
6669 * window.c (window_loop):
6670 * window.c (Fget_lru_window):
6671 * window.c (Fsplit_window):
6672 * window.c (Fset_window_configuration):
6673 * window.c (saved_window_index):
6674 * xgccache.c (gc_cache_lookup):
6675 abort() -> ABORT(). Eliminate preprocessor games with abort()
6676 since it creates huge problems in VC7, solvable only by including
6677 massive amounts of files in every compile (and not worth it).
6681 Inclusion of process.h does not need to be before lisp.h any more.
6682 Move later and remove comment about abort().
6684 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6686 * regex.c (re_match_2_internal):
6687 Correctly initialize loop which clears uninitialized registers.
6689 2005-01-28 Vin Shelton <acs@xemacs.org>
6691 * sheap.c (more_static_core): Applied Ben's version of the long
6694 2005-01-24 Vin Shelton <acs@xemacs.org>
6696 * sheap.c (more_static_core): Reformatted printf string so
6697 gcc-3.3.3 will compile this on Cygwin.
6699 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6701 * console.c (function_key_map): Reference `key-binding'.
6703 * keymap.c (Vkey_translation_map): Improve docstring.
6705 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6707 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6708 * window.c (window_loop): [fix] Take into account
6709 `allow-deletion-of-last-visible-frame' variable.
6710 * window.c (replace-buffer-in-windows): Ditto.
6712 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6714 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6716 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6718 * event-gtk.c: Recognise AltGr as a valid modifier.
6720 2005-01-12 Ville Skyttä <scop@xemacs.org>
6722 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6724 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6726 Fix backreference bug caught by test suite.
6728 * regex.c (regex_compile):
6729 Make backref duplicate internal register.
6731 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6733 Documentation, code clarification, and warning suppression.
6735 * regex.c (regex_compile):
6737 (re_match_2_internal):
6738 Improve comments and avoid redundant braces. [Most of the big hunk
6739 at l. 4710 is indentation; use diff -w to see the real changes.]
6740 (alt_match_null_string_p):
6741 (common_op_match_null_string_p):
6742 Avoid shadowing global on Mac OS X 10.4, at least.
6744 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6746 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6747 introduced with shy groups fix). [Already applied, probably
6748 with the second "fix shy groups" patch of 2004-10-07.]
6750 2005-01-10 Steve Youngs <steve@sxemacs.org>
6752 From Andrey Slusar <anrays@gmail.com>:
6754 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6756 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6758 * Makefile (RECURSIVE_MAKE): Removed.
6759 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6760 handling parallel builds.
6762 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6764 * Makefile.in.in: Enable support for parallel builds.
6766 2005-01-09 Steve Youngs <steve@sxemacs.org>
6768 From Andrey Slusar <anrays@gmail.com>:
6770 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6771 FreeBSD version is >= 199701 _and_ < 600006.
6773 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6775 * scrollbar.c (compute_scrollbar_instance_usage):
6776 Only call device method compute_scrollbar_instance_usage() if it
6779 2004-12-05 Vin Shelton <acs@xemacs.org>
6781 * XEmacs 21.4.16 is released
6783 2004-12-04 Vin Shelton <acs@xemacs.org>
6785 * depend: Regenerated.
6787 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6789 * regex.c (re_match_2_internal): Map internal to external
6790 registers. Fixes bug identified by Steve Youngs 2004-09-30
6791 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6793 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6795 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6796 to fix a crash. Also, check the buffer is live and it
6797 really exists in buffer_list. If the buffer is not in the list,
6800 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6802 Fix shy groups by implementing recording of all groups for
6803 repetition and backtracking. Backport from 21.5.
6805 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6806 external_to_internal_register, external_to_internal_register_size,
6807 and update comments for re_nsub.
6809 * regex.c (re_opcode_t): Update comments.
6810 (print_compiled_pattern): Ouput external_to_internal_register,
6811 external_to_internal_register_size, and re_ngroups for debugging.
6812 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6813 (regex_compile): Update header comment.
6814 Ensure that all groups are recorded so that repeat matches and
6815 backtracking work correctly. Comment related warning for groups >
6817 (re_search_2): Construct map of API indexes (which count only
6818 nonshy groups) to internal register numbers, and keep it updated.
6820 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6822 * frame-gtk.c (gtk_make_frame_visible):
6823 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6824 show/hide. This is what X uses and is prevents previously hidden
6825 widgets from suddenly reappearing.
6826 * gtk-xemacs.c (gtk_xemacs_paint):
6827 * gtk-xemacs.c (gtk_xemacs_draw):
6828 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6830 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6831 size and location changes so that they can be seen before the next
6832 idle event. Without this rapid changes to scrollbar properties
6835 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6838 * console-gtk.h (struct gtk_frame):
6839 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6840 Add hash tables track tab_control callback data.
6841 Added #defines for GTK object data names.
6842 Declaration of gtk_widget_to_frame().
6843 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6844 * frame-gtk.c (gtk_widget_to_frame): New.
6845 * frame-gtk.c (gtk_create_widgets):
6846 * frame-gtk.c (allocate_gtk_frame_struct):
6847 * frame-gtk.c (gtk_mark_frame):
6848 Manage frame callbakc hash tables.
6849 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6850 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6851 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6853 * glyphs-gtk.c (gtk_widget_query_geometry): New
6854 * glyphs-gtk.c (gtk_register_gui_item): New
6855 * glyphs-gtk.c (gtk_add_tab_item): New
6856 * glyphs-gtk.c (gtk_tab_control_callback): New
6857 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6858 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6859 Use correct list when loading item.
6860 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6861 Register new methods.
6862 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6863 default size, for widgets.
6864 * gui-x.c: Improved comment.
6865 * menubar-gtk.c (__generic_button_callback): Use
6866 gtk_widget_to_frame instead of __get_channel.
6868 * ui-gtk.c: Use symbolic names for GTK object data.
6870 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6872 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6874 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6876 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6878 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6880 * malloc.c (morecore): siz is a long because in some architectures
6881 (eg ia-64) an int cannot hold the address range. Additional patch
6882 from the SuSe distribution.
6884 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6887 * malloc.c: lim_data is a long because in some architectures
6888 (eg ia-64) an int cannot hold the address range.
6889 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6890 instead of ulimit() because ulimit() always returns -1.
6892 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6894 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6896 2004-06-11 David Kastrup <dak@gnu.org>
6898 * search.c (match_limit): Don't flag an error if match-data
6899 exceeding the allocated search_regs.num_regs gets requested, just
6902 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6904 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6905 replace symbolic color entries with the real colors specified in
6906 xpm-color-symbols, before passing the XPM to gtk.
6907 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6908 instead of a GTK specific field, so that it is used in by generic
6911 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6913 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6914 coredump from deref of NULL ptr (ExtData)
6916 2004-04-19 Jerry James <james@xemacs.org>
6918 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6919 VALBITS to compute the location of the sign bit.
6920 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6921 of VALBITS with EMACS_INT_MAX.
6922 * events.c (Fevent_timestamp): Ditto.
6923 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6924 compute the halfway point to timestamp wraparound.
6925 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6926 EMACS_INT_MIN instead of using VALBITS.
6927 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6928 incorrect number with VALBITS.
6929 * fns.c (Frandom): Correct number of integer bits in docstring.
6930 Use INT_VALBITS instead of VALBITS to compute the denominator.
6931 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6932 build random numbers.
6934 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6936 * event-gtk.c (gtk_event_to_emacs_event):
6938 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6939 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6940 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6941 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6942 * menubar-gtk.c (__activate_menu):
6943 * menubar-gtk.c (convert_underscores):
6944 * menubar-gtk.c (remove_underscores):
6945 * menubar-gtk.c (menu_convert):
6946 * menubar-gtk.c (menu_descriptor_to_widget_1):
6947 * menubar-gtk.c (menu_descriptor_to_widget):
6948 * menubar-gtk.c (menu_can_reuse_widget):
6949 * menubar-gtk.c (menu_create_menubar):
6950 * menubar-gtk.c (gtk_popup_menu):
6951 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6952 Added support for Gtk menu bar and menu item mnemonics.
6954 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6956 * sysdll.c: (dll_function): Added support for finding symbols in
6957 Darwin shared libraries as well in Darwin bundles.
6958 * sysdll.c (image_for_address): New
6959 * sysdll.c (my_find_image): New
6960 * sysdll.c (search_linked_libs): New
6962 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6964 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6965 return to GTK requires a different API to marshalling data to use
6967 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6969 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6971 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6973 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6975 * glyphs.c (process_image_string_instantiator):
6976 (Fset_console_type_image_conversion_list):
6977 Stop GCC from warning about shadowing of `exp'.
6979 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6981 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6983 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6985 2004-02-03 Vin Shelton <acs@xemacs.org>
6987 * glyphs.c (image_instance_layout): Remove pointless assertion.
6988 * regex.c (regex_grow_registers): Return type is void.
6990 2004-02-02 Vin Shelton <acs@xemacs.org>
6992 * XEmacs 21.4.15 is released
6994 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6996 * device-x.c (x_error_handler): Don't call stderr_out
6998 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7000 * buffer.c (other-buffer): Clarify documentation of order of
7001 arguments for FSF Emacs.
7003 2003-10-11 Olivier Galibert <galibert@pobox.com>
7005 * window.c (Fdelete_window): Dirty the mirror structure _before_
7006 marking the window deleted.
7008 2003-09-15 Jerry James <james@xemacs.org>
7010 * event-msw.c (debug_mswin_messages): Conditionally compile
7011 messages missing from the Cygwin headers.
7013 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7015 * data.c (eq_with_ebola_notice): Fix typo in comment.
7016 (Ftrue_list_p): Improve docstring.
7018 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7020 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7022 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7024 * search.c (trivial_regexp_p): Regexps containing "\{" are
7025 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7026 Stefan Monnier for suggesting a diagnosis.
7028 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7030 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7032 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7034 * search.c (Fsearch_forward):
7036 Document negative count.
7038 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7040 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7042 2003-09-13 Martin Buchholz <martin@xemacs.org>
7044 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7046 2003-09-15 Vin Shelton <acs@xemacs.org>
7048 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7051 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7053 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7054 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7055 (re_match_2_internal): Use TRANSLATE instead of
7056 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7057 non-ASCII char case conversion.
7059 2003-09-08 Mike Sperber <mike@xemacs.org>
7061 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7062 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7064 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7066 * .gdbinit (pobj): fix printing of symbol name.
7068 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7070 * frame-x.c (x_layout_widgets): When resizing is about to cause
7071 frame size slip, mark it for redisplay.
7073 2003-08-18 Jerry James <james@xemacs.org>
7075 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7077 2003-09-03 Vin Shelton <acs@xemacs.org>
7079 * XEmacs 21.4.14 is released
7081 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7083 * config.h.in (REGEX_MALLOC): Make it configure'able.
7085 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7087 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7089 * sysdll.c (dll_init):
7090 * sysdll.c (dll_open):
7091 * sysdll.c (dll_close):
7092 * sysdll.c (dll_function):
7093 * sysdll.c (dll_variable):
7094 * sysdll.c (dll_error):
7095 Add support for loading bundles using Darwin/MacOSX
7098 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7100 * process.c (start-process-internal): Document coding systems.
7102 2003-07-30 Jerry James <james@xemacs.org>
7104 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7106 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7108 * event-msw.c (mswindows_enqueue_mouse_button_event):
7109 * event-msw.c (mswindows_wnd_proc):
7110 enqueue button event when scrollwheel event isn't handled by
7111 mswindows_handle_mousewheel_event, such as when the scrollbars
7114 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7116 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7118 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7120 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7122 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7124 * regex.c (re_match_2_internal): Fix matching degenerate word
7127 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7129 * XEmacs 21.4.13 is released
7131 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7133 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7134 * lisp.h (<inttypes.h>):
7135 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7138 2003-03-15 Martin Buchholz <martin@xemacs.org>
7140 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7141 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7142 Result: "temacs can only be run in -batch mode."
7143 Fix: Check xemacs executable candidate for directory-ness.
7145 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7147 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7148 they conflict with <sys/types.h>.
7150 2003-02-14 Martin Buchholz <martin@xemacs.org>
7152 * database.c: Berkeley DB wants __STDC__ to be defined.
7154 2003-02-13 Martin Buchholz <martin@xemacs.org>
7156 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7158 2003-02-01 Martin Buchholz <martin@xemacs.org>
7160 * process-unix.c (unix_send_process): Fix C++ compile error.
7162 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7164 * Added .dylib as an acceptable shared library file extension
7165 * to support MacOSX.
7167 2003-02-01 Martin Buchholz <martin@xemacs.org>
7169 * EmacsFrameP.h (EmacsFramePart):
7170 Kludge to allow compiling with Motif1, but linking with Motif2.
7172 2003-01-28 Martin Buchholz <martin@xemacs.org>
7174 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7177 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7179 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7181 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7183 * sysdll.c: Included lisp.h to define needed alloca_array.
7185 2003-02-13 Martin Buchholz <martin@xemacs.org>
7187 Make XEmacs redisplay 10 times faster.
7188 If, that is, you're using a slow X connection and MoveOpaque.
7189 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7190 Use compress_motion = TRUE.
7191 * EmacsFrame.c (emacsFrameClassRec):
7192 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7193 * EmacsManager.c (emacsManagerClassRec):
7194 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7196 2003-01-30 Vin Shelton <acs@xemacs.org>
7198 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7200 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7202 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7203 Patch by Martin Buchholz.
7205 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7207 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7208 Thanks to icc for warning and Martin Buchholz for reporting.
7210 2003-01-29 Vin Shelton <acs@xemacs.org>
7212 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7214 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7215 remember to multiply by the element size.
7217 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7219 * XEmacs 21.4.12 "Portable Code" is released.
7221 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7223 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7224 * s/cygwin.sc: new linker file.
7226 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7228 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7230 * redisplay-x.c (x_output_string): Use X11-specified types.
7231 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7232 * emacs.c (__free_hook): Use typeof with Intel compiler.
7233 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7235 2003-01-08 Andy Piper <andy@xemacs.org>
7237 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7238 reserve size during unexec().
7240 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7242 * process-unix.c (unix_create_process): Don't let outchannel block.
7244 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7246 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7247 Needed for IsBadReadPtr().
7249 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7251 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7253 2002-12-14 Ben Wing <ben@xemacs.org>
7255 * callint.c: Declaration error.
7257 * dumper.c (pdump_load): Warning fix.
7258 * process.c: GCPRO error.
7259 * glyphs.c (unmap_subwindow):
7260 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7261 * event-stream.c (maybe_kbd_translate): Wrong argument to
7262 character_to_event().
7264 * alloc.c (garbage_collect_1):
7266 * emacs.c (debug_can_access_memory):
7267 * emacs.c (fatal_error_signal):
7268 * emacs.c (mswindows_handle_hardware_exceptions):
7271 * emacs.c (assert_failed):
7272 * emacs.c (syms_of_emacs):
7275 * print.c (std_handle_out_va):
7276 * print.c (write_string_to_stdio_stream):
7277 * print.c (write_fmt_string):
7278 * print.c (printing_badness):
7279 * print.c (printing_major_badness):
7280 * print.c (print_internal):
7281 * print.c (debug_print_no_newline):
7282 * print.c (debug_backtrace):
7283 Be more defensive in handling bad values when printing. Add code
7284 from trunk involving inhibit_non_essential_printing_operations.
7285 When going down or in debug_print(), don't do external conversion
7286 and such and try really, really hard when printing to avoid core
7287 dumping. Add force-debugging-signal, debug_break().
7289 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7291 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7292 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7294 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7296 * database.c: Fix open_database. Berkeley DB API has changed in
7297 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7299 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7301 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7303 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7305 * event-Xt.c (Xt_timeout):
7306 (Xt_timeout_callback):
7307 (emacs_Xt_add_timeout):
7308 (emacs_Xt_remove_timeout):
7309 (Xt_timeout_to_emacs_event):
7310 Turn completed_timeouts from a stack into a queue. Fixes
7311 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7313 2002-11-07 Wolfram Gloger <wg@malloc.de>
7315 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7316 * emacs.c (main): Assert that mmap'd allocation is disabled.
7318 2002-10-14 Andy Piper <andy@xemacs.org>
7320 * glyphs-widget.c (layout_query_geometry): add in fiddle
7321 factor. Include border text in width layout calculation.
7322 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7324 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7326 * XEmacs 21.4.10 "Military Intelligence" is released.
7328 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7330 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7331 using the NAS private array SoundFileInfo that no longer exists in
7332 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7333 and earlier. This is broken for some versions between 1.5a and
7336 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7338 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7340 * emacs.c (shut_down_emacs): Improve crash message.
7342 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7344 * file-coding.c (determine_real_coding_system): Check for coding
7345 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7346 shebangs and Python PEP 263.
7348 2002-10-08 Andy Piper <andy@xemacs.org>
7350 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7351 if static sizes haven't been set.
7353 2002-08-30 Mike Alexander <mta@arbortext.com>
7355 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7358 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7360 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7362 2002-09-20 Mike Sperber <mike@xemacs.org>
7364 (This partially gets back my patch from 2002-07-20 without the
7366 * callproc.c (child_setup): Remove Ben's comment noting confusion
7367 over the file descriptors >= 3: close_process_descs() doesn't
7368 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7369 * process-unix.c (unix_create_process): Call
7370 begin_dont_check_for_quit to inhibit unwanted interaction (and
7371 thus breaking of X event synchronicity) in the child.
7373 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7375 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7378 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7380 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7381 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7382 the xemacs process did not exit, but looped infinitely here. This
7385 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7387 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7388 (find_context): Improve comments.
7390 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7391 (re_match_2): An XCHAR_TABLE operation was missing.
7393 Many of the following changes were inspired by Andy Piper's (now
7394 obsolete) patch to make syntax-table text property lookup optional.
7398 * syntax.h (top level): Document semantics of syntax flags.
7399 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7400 * syntax.c, syntax.h (top level): Document syntax cache better in
7403 [Instrument syntax caching (temporary change)]
7405 * syntax.h (enum syntax_cache_statistics_functions, struct
7406 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7407 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7408 * syntax.c (scan_words, Fforward_comment, scan_lists,
7409 Fbackward_prefix_characters):
7410 * font-lock.c (find_context):
7411 Use them to instrument syntax caching.
7412 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7413 syntax_cache_statistics_function_names): New type and variables.
7414 * syntax.c (update_syntax_cache): Update and report statistics.
7416 [Major syntax cache optimizations]
7418 syntax.c (lookup_syntax_properties): Default off.
7420 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7421 * syntax.c (update_syntax_cache):
7422 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7424 [Minor syntax cache optimizations and code clarifications]
7426 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7427 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7428 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7429 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7430 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7431 (Code clarification.)
7433 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7434 scan_lists): Compute code from syncode, use Boolean macros instead
7435 of redundant masking operations. (Code clarification; any decent
7436 compiler can do this optimization.)
7438 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7441 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7442 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7443 use F*_single_property_change instead of F*_extent_change.
7444 Currently F*_single_property_change is _much_ less efficient.
7446 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7447 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7448 syntax_cache.object properly, don't leave Qt or Qnil.
7449 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7450 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7451 tests for Qt or Qnil.
7453 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7455 * redisplay.c (point_in_line_start_cache):
7456 * extents.c (print_extent_1):
7459 * extents.c (Fset_extent_property): Document `syntax-table' property.
7461 * extents.h (Fnext_single_property_change): EXFUN it.
7463 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7465 * search.c (clear_unused_search_regs): New static function.
7469 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7470 Minor clarifications in comments.
7472 * regex.c (re_match_2_internal): Ensure no stale submatches.
7474 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7476 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7478 2002-08-29 Jerry James <james@xemacs.org>
7480 * lisp.h: structrures -> structures.
7482 2002-06-03 Andy Piper <andy@xemacs.org>
7484 * frame.c (frame_conversion_internal): add conversion appropriate
7485 for setting frame dimensions in pixels.
7487 * console.h (struct console_methods): add device-specific widget
7490 * emacs.c (main_1): initialize glyph vars.
7492 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7493 (handle_focus_event_2): new function. Allow focus to
7494 be set to a particular window and widget.
7495 (enqueue_focus_event): new function. Create a
7496 synthetic focus event.
7497 (emacs_Xt_handle_magic_event): call
7498 handle_focus_event_2.
7500 * frame.c (Fset_frame_pixel_height): new function. Allow
7501 pixel-based sizing. Does the right thing on character-oriented
7503 (Fset_frame_pixel_width): ditto.
7504 (Fset_frame_pixel_size): ditto.
7505 (syms_of_frame): declare.
7507 * general-slots.h: add :vertically-justify and
7508 :horizontally-justify.
7510 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7511 (mswindows_widget_border_width): new function.
7512 (mswindows_combo_box_instantiate): set border widths.
7513 (console_type_create_glyphs_mswindows): declare.
7516 (check_valid_justification): allow vertical and horizontal
7518 (widget_border_width): new function. Call device methods.
7519 (widget_instance_border_width): ditto.
7520 (logical_unit_height): new function. Determine the height of a
7521 logical-unit. Logical units are intended to provide grid-like
7522 layout for subcontrols in a layout. If the layout is
7523 :vertically-justify top then subcontrols will be positioned on
7524 logical-unit boundaries, thus allowing adjacent subcontrols to
7526 (widget_logical_unit_height): ditto for widgets.
7527 (redisplay_widget): misc cleanup.
7528 (widget_spacing): new function. Call device specific
7529 methods. Intended to be the default gap between adjacent widgets.
7530 (widget_query_geometry): use new spacing functions to determine
7531 appropriate geometry.
7532 (initialize_widget_image_instance): initialize horizontal and
7533 vertical justification.
7534 (widget_instantiate): use logica-units where appropriate for
7535 sizing large widgets.
7536 (button_query_geometry): use widget_instance_border_width.
7537 (tree_view_query_geometry): ditto.
7538 (tab_control_query_geometry): ditto.
7539 (edit_field_query_geometry): new function.
7540 (layout_update): pick up :justify, :horizontally-justify and
7541 :vertically-justify none of which worked previously. :justify is
7542 used as a fallback for both horizontal and vertical justification.
7543 (layout_query_geometry): use logical units to size appropriately.
7544 (layout_layout): ditto.
7545 (Fwidget_logical_to_character_width): new function. Allow users to
7546 convert from logical units to characters so that frame sizes can
7547 be set appropriately.
7548 (Fwidget_logical_to_character_height): ditto.
7549 (syms_of_glyphs_widget): declare.
7550 (image_instantiator_edit_fields): add edit_field_query_geometry.
7551 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7552 :horizontally-justify.
7553 (specifier_vars_of_glyphs_widget): new function. Declare
7554 Vwidget_border_width which is not yet used.
7556 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7557 (x_widget_border_width): new function.
7558 (x_widget_instantiate): create a sensible name for widgets.
7559 (console_type_create_glyphs_x): declare x_widget_border_width.
7561 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7562 (struct Lisp_Image_Instance): add :vertically-justify and
7563 :horizontally-justify.
7564 (LAYOUT_JUSTIFY_TOP): new.
7565 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7566 (ROUND_UP): new macro. Round argument up to next integral
7569 * redisplay-output.c (redisplay_output_layout): misc formatting.
7571 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7573 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7575 * XEmacs 21.4.9 "Informed Management" is released.
7577 2002-08-19 Andy Piper <andy@xemacs.org>
7579 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7582 * realpath.c (xrealpath): normalize drive spec also so that dir
7583 sep chars are not mixed on cygwin.
7585 2002-08-06 Jerry James <james@xemacs.org>
7587 * window.c (Fsplit_window): Count only half of the divider width
7588 against the left window when splitting horizontally.
7590 2002-06-24 Andy Piper <andy@xemacs.org>
7592 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7593 toolbar was cleared.
7595 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7596 function. Split out from mswindows_output_frame_toolbars.
7597 (mswindows_output_frame_toolbars): move clear pieces to
7598 mswindows_output_frame_toolbars.
7600 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7601 out from gtk_output_frame_toolbars.
7602 (gtk_output_frame_toolbars): move clear pieces to
7603 gtk_clear_frame_toolbars.
7605 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7606 the frame is cleared. How this ever worked before is a mystery.
7607 (x_output_frame_toolbars): Only output toolbars.
7608 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7610 * gutter.c (update_gutter_geometry):
7611 Mark frame layout changed.
7612 (update_frame_gutter_geometry, update_frame_gutters):
7613 Respect frame_layout_changed.
7615 * console.h (struct console_methods): add
7616 clear_frame_toolbars_method.
7618 * redisplay.c (redisplay_frame): call
7619 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7621 * toolbar.h: declare update_frame_toolbars_geometry.
7623 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7624 out from update_frame_toolbars. Call clear_frame_toolbars.
7625 (update_frame_toolbars): only output, do not change geometry.
7627 * redisplay.c: add frame_layout_changed.
7629 * redisplay.h: add frame_layout_changed.
7630 (CLASS_RESET_CHANGED_FLAGS): set it.
7631 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7632 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7633 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7635 * device.h (struct device): add frame_layout_changed.
7636 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7638 * frame.h (struct frame): add frame_layout_changed.
7639 (MARK_FRAME_LAYOUT_CHANGED): new.
7641 2002-06-30 Mike Alexander <mta@arbortext.com>
7643 * event-msw.c (mswindows_need_event): Don't wait for a new message
7644 if the queue is not empty. Suggested by Paul Moore.
7646 2002-06-12 Andy Piper <andy@xemacs.org>
7648 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7649 for printing on accurately.
7651 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7653 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7654 WM_ACTIVATE message. Make sure that the frame is visible if the
7655 window is visible. This seemss to fix the problem where XEmacs
7656 appears to freeze after switching desktops with certain virtual
7658 (debug_output_mswin_message): Added code to output message
7659 parameters for WM_WINDOWPOSCHANGED,
7660 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7662 2002-05-25 Andy Piper <andy@xemacs.org>
7664 * select-x.c (vars_of_select_x): Fix docstring of
7665 x-selection-strict-motif-ownership
7667 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7669 * keymap.c (get_keymap):
7670 Add comment about do_autoload GCPROs own args.
7672 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7674 * bytecode.c (execute_optimized_program): check_opcode ifdef
7675 ERROR_CHECK_BYTE_CODE.
7677 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7679 Thanks to Ben Wing and Michael Sperber.
7681 * eval.c (Fcommand_execute):
7684 (Fmacroexpand_internal):
7685 (function_argcount):
7686 callint.c (Fcall_interactively):
7687 Add comment about do_autoload GCPROs own args.
7689 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7691 * eval.c (Ffuncall): Extra braces to placate GCC.
7693 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7695 * backtrace.h (grow_specpdl):
7697 * EmacsFrame.c (EmacsFrameSetValues):
7698 * eval.c (grow_specpdl):
7699 * ExternalShell.c (hack_event_masks_1):
7700 * glyphs-x.c (convert_EImage_to_XImage):
7701 (x_finalize_image_instance):
7702 * ralloc.c (page_size):
7704 * xgccache.c (gc_cache_hash):
7705 Fix unsigned comparison warnings.
7707 2002-07-29 Jerry James <james@xemacs.org>
7709 * lread.c (locate_file): Any nonnegative return value indicates
7710 success if MODE is nonnegative.
7712 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7714 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7717 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7719 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7721 * dumper.c (pdump_get_indirect_count):
7722 (pdump_scan_by_alignment):
7723 (pdump_dump_root_struct_ptrs):
7724 (pdump_dump_rtables):
7725 (pdump_dump_root_objects):
7727 * nas.c (WaveOpenDataForReading):
7728 * fns.c (print_bit_vector):
7729 * font-lock.c (SINGLE_SYNTAX_STYLE):
7730 * glyphs.c (check_for_ignored_expose):
7731 (find_matching_subwindow):
7733 * imgproc.c (get_histogram):
7734 * redisplay.c (point_in_line_start_cache):
7735 * redisplay-output.c (redisplay_unmap_subwindows):
7736 * symbols.c (defsymbol_massage_name_1):
7737 (defkeyword_massage_name):
7738 (deferror_massage_name_and_message):
7739 * redisplay-x.c (x_output_string):
7740 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7741 * frame.h (struct frame):
7742 * filelock.c (current_lock_owner):
7743 * doprnt.c (emacs_doprnt_1):
7744 * lisp.h (struct Lisp_Bit_Vector):
7748 2002-02-13 Ben Wing <ben@xemacs.org>
7750 * event-stream.c (reset_key_echo):
7751 * event-stream.c (reset_this_command_keys):
7752 * event-stream.c (execute_command_event):
7753 If console is dead as a result of C-x 5 0, then post-command stuff
7754 needs to be careful and do only non-console-specific stuff.
7756 2002-07-01 Mike Sperber <mike@xemacs.org>
7758 * process-unix.c (unix_send_process): Mark coding_outstream as
7759 non-open upon SIGPIPE.
7761 * event-stream.c (Fnext_event): Reorder switch cases to something
7764 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7766 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7767 Don't bogusly reinitialize ascii_character property.
7769 2002-07-08 Mike Sperber <mike@xemacs.org>
7771 * process.c (Fstart_process_internal): Do error checking before we
7772 fork off the child, so the child can't muck with the state of the
7775 2002-07-08 Mike Sperber <mike@xemacs.org>
7777 * ralloc.c (init_ralloc): Allocate properly for pdump.
7779 2002-06-12 Andy Piper <andy@xemacs.org>
7781 * glyphs.c (query_string_geometry): check the string.
7783 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7786 2002-06-17 Jerry James <james@xemacs.org>
7788 * sysdll.c: Remove RTLD_GLOBAL initialization.
7789 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7791 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7793 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7795 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7797 * sysdep.c (sys_rename): Make sys_rename work for the case where
7798 Windows rename sets errno to EACCES if target file exists.
7800 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7802 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7803 Fix detection of metric units to work on Win95
7805 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7807 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7809 2002-04-25 Andy Piper <andy@xemacs.org>
7811 * redisplay.c (create_text_block): Remove extra comment trailer.
7813 2002-04-24 Andy Piper <andy@xemacs.org>
7815 * redisplay.c (create_text_block): Don't actually add propagation
7816 data if the line ends after we have added a glyph.
7818 2002-04-22 Andy Piper <andy@xemacs.org>
7820 * extents.c (extent_fragment_update): check for glyphs we have
7821 previously displayed.
7822 * extents.c (print_extent_1): warning removal.
7823 * extents.h: change prototype.
7824 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7825 widths correctly for wide glyphs.
7826 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7827 * redisplay.c (prop_type): add PROP_GLYPH.
7828 * redisplay.c (struct prop_block): add glyph type
7829 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7830 to the propagation data.
7831 * redisplay.c (create_text_block): if there is a glyph in the
7832 propagation data use it to salt extent_fragment_update.
7833 * redisplay.c (create_string_text_block): ditto.
7835 2002-04-13 Nix <nix@esperi.demon.co.uk>
7837 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7838 * redisplay-output.c (compare_runes): Compare them.
7839 * redisplay.c: Update copyright date.
7840 * redisplay.c (pos_data): Add need_baseline_computation field.
7841 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7842 need_baseline_computation; zero yoffset. Set max_pixmap_height
7843 for all pixmaps, not just automatically positioned ones.
7844 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7845 * redisplay.c (calculate_baseline): New, compute textual baseline.
7846 * redisplay.c (add_glyph_rune): Call them.
7847 * redisplay.c (create_text_block): Likewise.
7848 * redisplay.c (create_overlay_glyph_block): Likewise.
7849 * redisplay.c (add_margin_runes): Likewise.
7850 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7852 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7853 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7854 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7855 * redisplay-msw.c (mswindows_output_string): Likewise.
7856 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7857 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7858 * redisplay-x.c (x_output_display_block): Likewise.
7860 2002-03-28 Ben Wing <ben@xemacs.org>
7862 * redisplay.c: Fixed bug in redisplay
7863 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7864 and down of the lines, since they're bigger than the line
7865 size. (It was seen most obviously when there's a horizontal scroll
7866 bar, e.g. do C-h a glyph or something like that.) The problem was
7867 that the glyph-contrib-p setting on glyphs was ignored even if it
7868 was set properly, which it wasn't until now.
7870 2002-04-24 Andy Piper <andy@xemacs.org>
7872 * lisp.h (Dynarr_end): Fix definition.
7874 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7876 * redisplay.c (mark_redisplay): Remove call to
7877 update_frame_window_mirror.
7879 2001-11-15 Andy Piper <andy@xemacs.org>
7881 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7884 2002-02-13 Andy Piper <andy@xemacs.org>
7886 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7887 we did in fact enqueue the XM_MAPFRAME event.
7889 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7891 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7892 to fix problem switching between virtual desktops under virtuawin
7893 virtual window manager.
7895 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7897 * event-msw.c: Typo fix.
7898 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7899 magic XM_MAPFRAME event has been sent.
7901 2001-11-23 Andy Piper <andy@xemacs.org>
7903 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7905 2001-11-21 Andy Piper <andy@xemacs.org>
7907 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7908 mouse events outside the frame.
7910 2002-03-20 Andy Piper <andy@xemacs.org>
7912 * menubar-msw.c (mswindows_popup_menu): warning removal.
7913 * dialog-msw.c (dialog_popped_down): ditto.
7915 2001-12-11 Andy Piper <andy@xemacs.org>
7917 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7918 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7920 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7921 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7922 * menubar-msw.c (mswindows_popup_menu): ditto.
7924 2001-10-29 Andy Piper <andy@xemacs.org>
7926 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7929 2002-01-03 Andy Piper <andy@xemacs.org>
7931 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7935 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7937 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7938 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7939 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7940 Detect and handle case where machine is set up for metric units
7942 2002-04-02 Andy Piper <andy@xemacs.org>
7944 * dired-msw.c (mswindows_get_files):
7945 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7946 completely handled by XEmacs. Suggested by Thomas Vogler
7947 <mail@thomas-vogler.de>.
7949 2001-11-14 Andy Piper <andy@xemacs.org>
7951 * nt.c (REG_ROOT): change registry key to XEmacs.
7953 2002-04-27 Andy Piper <andy@xemacs.org>
7955 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7957 2002-04-26 Andy Piper <andy@xemacs.org>
7959 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7962 2002-03-14 Mike Alexander <mta@arbortext.com>
7964 * event-msw.c (mswindows_unwait_process): New, remove process from
7966 * process-nt.c (nt_finalize_process_data): Call
7967 mswindows_unwait_process
7968 * console-msw.h: Declare mswindows_unwait_process
7970 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7972 * editfns.c (Fdecode_time):
7973 (Fformat_time_string):
7974 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7975 (make_time): Warning elimination (change arg name).
7977 2001-11-24 Andy Piper <andy@xemacs.org>
7979 * window.c (Fsplit_window): Doc return type.
7981 2002-04-01 Andy Piper <andy@xemacs.org>
7983 * emacs.c (Fkill_emacs): Only output message box in interactive
7986 2002-04-26 Andy Piper <andy@xemacs.org>
7988 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7991 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7993 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7996 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7998 * XEmacs 21.4.8 "Honest Recruiter" is released.
8000 2002-05-07 Nix <nix@esperi.demon.co.uk>
8002 Supersedes 2002-04-17 patch.
8004 * process.h (PROCESS_LIVE_P): Use the process status as
8005 evidence of health, not the state of the input stream.
8006 (PROCESS_READABLE_P): Say if the process is readable
8007 from. (It may be dead nonetheless.)
8008 (CHECK_READABLE_PROCESS): Test for that condition.
8010 * process.c (create_process): Use PROCESS_READABLE_P.
8011 (read_process_output, set_process_filter): Likewise.
8013 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8014 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8016 This code is #if 0'd, this is not the time to add new functions:
8018 * process.c (Fprocess_readable_p): Report readability status.
8019 * process.c (Qprocess_readable_p): New, associated symbol...
8020 * process.c (syms_of_process): ... initialize it.
8022 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8024 * XEmacs 21.4.7 "Economic Science" is released.
8026 2002-04-17 Nix <nix@esperi.demon.co.uk>
8028 * process.h (PROCESS_LIVE_P): Use the process status as
8029 evidence of health, not the state of the input stream.
8031 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8033 * sysdep.c (sys_siglist): change "signum" to "signal"
8035 2001-04-21 Martin Buchholz <martin@xemacs.org>
8037 * s/darwin.h: New file.
8038 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8040 2002-04-23 Andreas Jaeger <aj@suse.de>
8042 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8043 which use lib64 for 64-bit libs.
8044 (START_FILES): Likewise.
8046 2002-02-11 Mike Sperber <mike@xemacs.org>
8049 (x_IO_error_handler):
8050 (x_init_device): Temporarily keep device in static variable
8051 `device_being_initialized' so we can recover gracefully from
8052 internal XOpenDevice failure. (XOpenDevice is documented to
8053 return NULL on failure, but sometimes calls the IO error handler
8056 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8058 * dired.c (Ffile_name_all_completions): Change documentation --
8059 remove reference to completion-ignored-extensions.
8060 * dired.c (vars_of_dired): Change documentation for
8061 completion-ignored-extensions -- remove reference to
8062 file-name-all-completions.
8064 2002-03-06 Jerry James <james@xemacs.org>
8066 * emodules.c (emodules_load): Fix multiple loading of same module.
8068 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8069 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8070 RTLD_LAZY to avoid incorrect symbol binding when using nested
8071 shared libraries on Solaris.
8073 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8075 * fileio.c (Ffind_file_name_handler): Improve docstring.
8077 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8079 * fns.c (Fmapconcat): Improve docstring.
8081 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8083 * device-gtk.c: Add prototype for
8084 emacs_gtk_selection_clear_event_handle.
8085 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8086 selection. Setup signal handler for "selection_clear_event"
8087 (emacs_gtk_selection_clear_event_handle).
8089 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8090 other applications owning the clipboard (based on
8091 x_handle_selection_clear).
8093 2001-12-23 William M. Perry <wmperry@gnu.org>
8095 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8097 2002-01-04 Martin Buchholz <martin@xemacs.org>
8099 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8101 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8103 * XEmacs 21.4.6 "Common Lisp" is released.
8105 2001-12-16 Torsten Duwe <duwe@caldera.de>
8107 * search.c (Freplace_match): Add missing sub-expression functionality.
8109 * buffer.c (decode_buffer): Add a check for pointer type to
8110 decode_buffer, before gcc's CSE optimization reorders a
8111 dereference in front of the allow_string test.
8113 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8115 * window.c (window_loop): Fix bug that sometimes prevented
8116 window_loop() from iterating across multiple devices. Also, at
8117 Ben's request, changed infloop-detecting code to abort() instead
8118 of silently terminating window_loop().
8120 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8122 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8123 * editfns.c (make_time): New function.
8124 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8125 * lisp.h (make_time): Prototype and comment it.
8126 * dired.c (wasteful_word_to_lisp): Deprecate.
8127 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8129 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8131 * fileio.c (auto_save_1): Use current coding system, not
8134 2001-11-13 Ben Wing <ben@xemacs.org>
8137 * window.c (window_truncation_on):
8138 * window.c (syms_of_window):
8139 truncate-partial-width-windows should respect the buffer being
8140 displayed, like other redisplay vars.
8142 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8144 * event-stream.c (Fread_key_sequence): save current buffer.
8146 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8148 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8150 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8152 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8154 2001-10-26 Mike Alexander <mta@arbortext.com>
8156 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8158 2001-10-25 Andy Piper <andy@xemacs.org>
8161 * dialog-msw.c (handle_directory_proc): new function.
8162 (handle_directory_dialog_box): new fucntion.
8163 (handle_file_dialog_box): use new directory dialog support.
8164 (mswindows_make_dialog_box_internal): ditto.
8165 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8167 (mswindows_find_frame): make global.
8168 * fileio.c (Fexpand_file_name): build fix.
8169 * general-slots.h: add Qdirectory.
8170 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8172 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8173 cygwin not leaving win32 paths unchanged.
8174 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8175 cygwin runtime to do path conversion.
8176 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8177 (syms_of_win32): add new function.
8178 * window.c (window_loop): build fix.
8180 2001-10-15 Andy Piper <andy@xemacs.org>
8182 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8184 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8186 * XEmacs 21.4.5 "Civil Service" is released.
8188 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8190 * glyphs-x.c: Force buffer-tab highlight update when moving the
8191 buffer, avoiding an ugly black border, used for keyboard focus
8192 indication, on a widget that can never have keyboard focus, the
8195 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8197 * process-unix.c (unix_open_multicast_group): Remove too much
8198 conversion between host and network byte order.
8200 2001-09-10 Nix <nix@esperi.demon.co.uk>
8202 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8203 before replacing them.
8205 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8208 * src/window.c (undedicate_windows): Use it.
8209 * src/window.h: Add prototype.
8211 2001-09-17 Ben Wing <ben@xemacs.org>
8213 * fileio.c (normalize_filename):
8214 * fileio.c (Fexpand_file_name):
8215 Fix various C++ compile errors in Andy's recent code.
8217 * callint.c (Fcall_interactively):
8218 * editfns.c (Ftemp_directory):
8219 * editfns.c (Fuser_full_name):
8220 * emacs.c (argmatch):
8221 * lread.c (locate_file_map_suffixes):
8222 * redisplay-x.c (x_ring_bell):
8223 Fix sign-compare warnings.
8225 2001-09-08 Andy Piper <andy@xemacs.org>
8227 * fileio.c (normalize_filename): copied from nt.c
8228 * (Ffile_name_directory): enable win32 paths under cygwin.
8229 * (Ffile_name_nondirectory): ditto.
8230 * (directory_file_name): ditto.
8231 * (Fexpand_file_name): ditto.
8232 * (Ffile_truename): ditto.
8233 * (Fsubstitute_in_file_name): ditto.
8234 * (Ffile_name_absolute_p): ditto.
8235 * (Ffile_readable_p): ditto.
8237 2001-09-08 Andy Piper <andy@xemacs.org>
8239 * device-msw.c (mswindows_finish_init_device): remove dde
8241 * device-msw.c (mswindows_init_dde): factor out from
8242 mswindows_finish_init_device()
8243 * device-msw.c (init_mswindows_very_early): new function
8244 initialize but don't enable dde.
8245 * emacs.c (main_1): call init_mswindows_very_early.
8247 * event-msw.c (mswindows_dde_callback): only execute when we are
8249 * symsinit.h: declare init_mswindows_very_early.
8251 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8253 [sjt: This has been in 21.5 for months with no complaints.]
8255 * console.h (struct console_methods): Added flags member.
8256 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8257 (CONMETH_IMPL_FLAG):
8258 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8259 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8261 * device.c (window_system_pixelated_geometry): Use the above macros.
8263 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8264 implememntation flag.
8265 * device.h (DEVICE_DISPLAY_P): Use it.
8267 * frame.c (delete_frame_internal): Use the above macro.
8269 * redisplay.c (redisplay_device): Use it.
8270 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8271 (redisplay_frame): Ditto.
8273 * device-msw.c (mswindows_device_implementation_flags): Removed.
8274 (msprinter_device_implementation_flags): Removed.
8275 (console_type_create_device_mswindows): Removed references to
8276 implementation_flags methods, set implementation flags here.
8277 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8279 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8280 (console_type_create_device_gtk): Removed method declaration.
8281 Added commented out statement which semantically matches the
8282 commented out statement in the above removed method.
8284 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8286 The attached patch fixes a few warnings.
8288 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8289 * src/frame-gtk.c: guard against GNOME calls in GTK only
8290 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8291 * src/select-gtk.c: prototype lisp_to_time
8293 2001-06-08 Ben Wing <ben@xemacs.org>
8295 ------ gc-in-window-procedure fixes ------
8298 * alloc.c (struct post_gc_action):
8299 * alloc.c (register_post_gc_action):
8300 * alloc.c (run_post_gc_actions):
8301 * alloc.c (garbage_collect_1):
8302 Create "post-gc actions", to avoid those dreaded "GC during window
8303 procedure" problems.
8306 Abort, clean and simple, when GC in window procedure. We want
8307 to flush these puppies out.
8310 * glyphs-msw.c (finalize_destroy_window):
8311 * glyphs-msw.c (mswindows_finalize_image_instance):
8312 Use a post-gc action when destroying subwindows.
8315 Declare register_post_gc_action().
8318 * scrollbar-msw.c (unshow_that_mofo):
8319 Use a post-gc action when unshowing scrollbar windows, if in gc.
8321 * redisplay.c (mark_redisplay):
8322 Add comment about the utter evilness of what's going down here.
8324 ------ cygwin setitimer fixes ------
8326 * Makefile.in.in (sheap_objs):
8327 * Makefile.in.in (profile_objs):
8328 * Makefile.in.in (objs):
8329 Compile profile.c only when HAVE_SETITIMER.
8331 * nt.c (mswindows_sigset):
8332 * nt.c (mswindows_sighold):
8333 * nt.c (mswindows_sigrelse):
8334 * nt.c (mswindows_sigpause):
8335 * nt.c (mswindows_raise):
8336 * nt.c (close_file_data):
8340 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8343 * profile.c (Fstart_profiling):
8344 * profile.c (Fstop_profiling):
8345 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8346 instead of just plain setitimer().
8349 * signal.c (set_one_shot_timer):
8351 Define qxe_setitimer() as an encapsulation around setitimer() --
8352 call setitimer() directly unless Cygwin or MS Win, in which case
8353 we use our simulated version in win32.c.
8356 * systime.h (struct itimerval):
8357 * systime.h (ITIMER_REAL):
8358 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8359 comment about "qxe" and the policy regarding encapsulation.
8362 * win32.c (setitimer_helper_proc):
8363 * win32.c (setitimer_helper_period):
8364 * win32.c (setitimer_helper):
8365 * win32.c (mswindows_setitimer):
8366 Move setitimer() emulation here, so Cygwin can use it.
8367 Rename a couple of functions and variables to be longer and more
8368 descriptive. In setitimer_helper_proc(), send the signal
8369 using either mswindows_raise() or (on Cygwin) kill(). If for
8370 some reason we are still getting lockups, we'll change the kill()
8371 to directly invoke the signal handlers.
8373 ------ windows shell fixes ------
8377 Comments about how these two files must die.
8379 * callproc.c (init_callproc):
8380 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8381 not just COMSPEC. (more correct and closer to FSF.) Don't
8382 force a value for SHELL into the environment. (Comments added
8383 to explain why not.)
8385 * nt.c (init_user_info):
8386 Don't shove a fabricated SHELL into the environment. See above.
8388 2001-06-01 Ben Wing <ben@xemacs.org>
8390 * Makefile.in.in (ldflags):
8391 eliminate that pesky "defaulting to 00401000" warning.
8395 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8397 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8398 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8400 2001-04-24 Jerry James <james@xemacs.org>
8402 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8405 2001-06-01 Ben Wing <ben@xemacs.org>
8407 * event-msw.c (debug_mswin_messages):
8408 conditionalize the messages that were causing compile errors.
8409 (if only macros could generate #ifdef statements ...)
8411 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8413 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8415 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8417 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8419 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8421 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8422 * process-unix.c (unix_canonicalize_host_name):
8423 sysdep.c (init_system_name):
8424 Use it to conditionally support IPv6 canonicalization.
8426 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8429 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8431 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8433 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8434 attempt is made to scroll when no scroll bar is available.
8436 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8438 * input-method-motif.c (XIM_delete_frame): New callback.
8439 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8440 got deleted from 21.4.3.)
8442 2001-06-01 Ben Wing <ben@xemacs.org>
8444 * nt.c (mswindows_utime):
8445 * nt.c (close_file_data):
8446 fix off-by-one-indirection error.
8448 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8450 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8451 because set_file_times() now takes Lisp_Object path, instead of
8453 * nt.c: Include buffer.h.
8454 * nt.c (convert_from_time_t): New.
8455 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8456 not set mtime correctly.
8457 * nt.h: Declare mswindows_utime().
8458 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8459 path, instead of char*.
8460 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8462 2001-05-30 Ben Wing <ben@xemacs.org>
8466 (Stephen, just take all event-msw.c patches. This includes
8467 the "iconify" fix below.)
8470 * event-msw.c (mswindows_dequeue_dispatch_event):
8471 * event-msw.c (assert):
8472 * event-msw.c (emacs_mswindows_quit_p):
8473 * event-msw.c (debug_mswin_messages):
8474 * event-msw.c (debug_output_mswin_message):
8475 * event-msw.c (vars_of_event_mswindows):
8476 Fix yet more problems with C-g handling.
8477 Implement debug-mswindows-events.
8479 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8481 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8483 2001-05-23 Ben Wing <ben@xemacs.org>
8485 * event-msw.c (winsock_writer):
8486 * event-msw.c (winsock_closer):
8487 prior kludgy code was clobbering the buffer, thinking it was
8488 "unused" space to store an unneeded return value; instead, use
8489 the variable we've already got staring us in the face.
8491 2001-05-17 Andy Piper <andy@xemacs.org>
8493 * sysfile.h: don't assume that file attributes are boolean
8495 2001-05-23 Ben Wing <ben@xemacs.org>
8497 * device-msw.c (msprinter_init_device):
8498 signal an error rather than crash with an unavailable network
8499 printer (from Mike Alexander).
8502 * event-msw.c (struct winsock_stream):
8503 * event-msw.c (winsock_writer):
8504 * event-msw.c (winsock_closer):
8505 * event-msw.c (make_winsock_stream_1):
8506 cleanup headers. fix (hopefully) an error with data corruption
8507 when sending to a network connection.
8509 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8510 to handle the ~user prefix by (a) always assuming we're referencing
8511 ourselves and not even verifying the user -- hence any file with
8512 a tilde as its first char is invalid! (b) if there wasn't a slash
8513 following the filename, the pointer was set *past* the end of
8514 file and we started reading from uninitialized memory. Now we
8515 simply treat these as files, always.
8517 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8519 2001-05-19 Ben Wing <ben@xemacs.org>
8521 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8524 * process-nt.c (vars_of_process_nt):
8525 remove unused mswindows-quote-process-args. rec for 21.4.
8527 2001-05-12 Ben Wing <ben@xemacs.org>
8529 * event-msw.c (mswindows_dde_callback):
8530 * event-msw.c (mswindows_wnd_proc):
8531 eliminate cygwin warnings.
8533 2001-05-06 Ben Wing <ben@xemacs.org>
8537 * device-msw.c (print_dialog_worker):
8538 * device-msw.c (mswindows_handle_print_dialog_box):
8539 * device-msw.c (syms_of_device_mswindows):
8540 * dialog-msw.c (mswindows_make_dialog_box_internal):
8542 implement printing the selection when it's selected.
8544 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8546 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8548 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8550 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8551 EMACS_INT is signed.
8553 2001-04-15 Michael Lausch <mla@1012surf.net>
8555 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8556 gtk_widget_request_size() to give scrollbar >0 width for
8559 2001-05-30 William M. Perry <wmperry@gnu.org>
8561 * event-gtk.c: Check for buttons as modifier keys.
8563 2001-05-25 Craig Lanning <CraigL@Knology.net>
8566 Properly find MinGW's <process.h> inside Cygwin's restructured
8567 include directories. Don't try to include <cygwin/version.h>
8568 since we are dropping support for MinGW in versions of Cygwin
8571 Drop support for MinGW in versions of Cygwin before b21.
8573 Properly find MinGW's <process.h> inside Cygwin's restructured
8574 include directories.
8576 Drop support for MinGW in versions of Cygwin before b21.
8578 Even though a.out.h is no longer detected by configure, allow
8579 MinGW to use it until we figure out how to do the job with Win32.
8581 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8583 * syntax.c (find_start_of_comment):
8584 Fix `unbalanced parentheses' bug when dealing with mixed comment
8585 styles in c++/java/etc. mode
8587 2001-05-29 Mike Alexander <mta@arbortext.com>
8589 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8590 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8592 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8594 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8596 2001-03-31 Mike Sperber <mike@xemacs.org>
8598 * search.c (Freplace_match): Support FSF-style specification of
8599 match subexpression when applied to a buffer.
8601 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8603 * event-stream.c (is_scrollbar_event): add missing semicolon
8605 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8607 * Makefile.in.in: Use TAR macro instead of hardcoding
8608 tar. Allows use of GNU tar instead of system tar
8610 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8612 * event-stream.c (is_scrollbar_event): add missing semicolon
8614 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8616 * XEmacs 21.4.3 "Academic Rigor" is released.
8618 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8620 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8622 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8624 * buffer.c (Vcase_fold_search): Remove obsolete
8625 comment about non ASCII case-fold-search. This
8626 bug has been fixed by case-table changes.
8628 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8630 * event-msw.c: Restore include of events-mod.h.
8632 2001-04-22 zhaoway <zw@debian.org>
8634 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8637 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8639 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8641 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8643 * mule-charset.c (Fmake_charset): Add missing else.
8645 2001-04-23 Ben Wing <ben@xemacs.org>
8647 * event-msw.c (FAKE_MOD_QUIT):
8648 * event-msw.c (mswindows_dequeue_dispatch_event):
8649 * event-msw.c (mswindows_wnd_proc):
8650 * event-msw.c (emacs_mswindows_quit_p):
8651 Get critical quit working.
8653 2001-05-05 Ben Wing <ben@xemacs.org>
8657 * device-msw.c (mswindows_get_default_margin):
8658 * frame-msw.c (mswindows_size_frame_internal):
8659 * frame-msw.c (msprinter_init_frame_1):
8660 * frame-msw.c (vars_of_frame_mswindows):
8661 Change top/bottom margin defaults to 0.5 inches.
8663 2001-05-01 Martin Buchholz <martin@xemacs.org>
8665 Fix link error with gcc 3.0 on Linux.
8666 * terminfo.c (UP): Remove.
8667 * terminfo.c (BC): Remove.
8668 * terminfo.c (PC): Remove.
8669 They weren't used, and in any case, these symbols should be
8670 defined in the *library*.
8672 2001-05-03 Martin Buchholz <martin@xemacs.org>
8674 * s/aix4.h: Fix crash with xlc -O3.
8675 Improve comment explaining how -O3 works.
8677 2001-04-15 Ben Wing <ben@xemacs.org>
8680 * event-stream.c (Fnext_event):
8681 * event-stream.c (is_scrollbar_event):
8682 * event-stream.c (execute_command_event):
8683 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8684 crash' problem. His fix introduces other problems. We filter
8685 out scrollbar events specifically, making them somewhat invisible
8686 to command-building, and not appearing in `this-command-keys'.
8687 More work is still needed (see comments in event-stream.c), but
8688 this fixes all the major problems.
8690 2001-04-20 Ben Wing <ben@xemacs.org>
8692 * .cvsignore: Added stuff for Windows.
8694 2001-04-28 Ben Wing <ben@xemacs.org>
8696 * buffer.c (Ferase_buffer):
8697 * editfns.c (buffer_insert1):
8698 * editfns.c (Finsert_before_markers):
8699 * editfns.c (Finsert_string):
8700 * editfns.c (Finsert_char):
8701 * editfns.c (Fdelete_region):
8702 * editfns.c (Fwiden):
8703 * editfns.c (Fnarrow_to_region):
8704 remove bogus lines setting zmacs_region_stays to 0.
8706 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8708 * process-unix.c (unix_open_network_stream): If connect() fails
8709 invalidate file descriptor after closing it.
8711 2001-03-08 Mike Alexander <mta@arbortext.com>
8713 * event-msw.c (mswindows_need_event_in_modal_loop):
8714 Don't dispatch a message if we didn't get one.
8715 (mswindows_need_event):
8716 Terminate the correct process when one exits instead of the first
8717 one on Vprocess_list and look for process termination when in
8718 mswindows_protect_modal_loop.
8720 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8722 * XEmacs 21.4.1 "Copyleft" is released.
8724 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8726 * input-method-motif.c (XIM_delete_frame): New callback.
8727 (XIM_init_frame): Register it.
8729 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8731 * XEmacs 21.4.0 "Solid Vapor" is released.
8733 2001-04-15 Ben Wing <ben@xemacs.org>
8735 * cmdloop.c (call_command_loop):
8736 Fix braino in bit-rotting code.
8738 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8740 * extents.c (Fset_extent_endpoints): Force creation of extent info
8741 in buffer_or_string.
8743 * extents.c (process_extents_for_insertion_mapper): Correctly
8744 check for open-open zero-length extents.
8746 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8748 * lisp.h: New typedefs Memory_count, Element_count.
8751 Sign-compare warning elimination: several unsigned -> signed.
8752 Based on work by Ben Wing <ben@xemacs.org>.
8754 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8756 * XEmacs 21.2.47 "Zephir" is released.
8758 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8760 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8762 2001-04-03 Mike Sperber <mike@xemacs.org>
8764 * search.c: Revert previous patch due because of release.
8766 2001-03-30 Ben Wing <ben@xemacs.org>
8769 Add missing killpg prototype.
8772 Add a comment about fixing problems when a new entry is added
8775 * frame-msw.c (mswindows_init_frame_1):
8776 Fix compile warnings.
8778 * menubar.c (vars_of_menubar):
8779 Provide `menu-accelerator-support' to indicate that we properly
8780 support %_ in menu specifications, so that package code can
8781 conditionalize on this (and remove %_ from menu specifications
8786 * scrollbar-msw.c (can_scroll):
8788 Fix handling of mouse wheel under Windows to follow standards --
8789 now scrolls window under pointer, not selected window.
8791 2001-03-31 Mike Sperber <mike@xemacs.org>
8793 * search.c (Freplace_match): Support FSF-style specification of
8794 match subexpression when applied to a buffer.
8796 2001-03-15 Martin Buchholz <martin@xemacs.org>
8798 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8799 function to modify KEYMAP, so map over a copy of the hash table.
8801 2001-03-21 Martin Buchholz <martin@xemacs.org>
8803 * XEmacs 21.2.46 "Urania" is released.
8805 2001-03-20 Dan Holmsand <dan@eyebee.com>
8807 * realpath.c (xrealpath): Make file-truename work with symlinks to
8808 /cygdrive paths on cygwin. Always lowercase drive-letters on
8810 (cygwin_readlink): Don't try to find canonical filename unless
8813 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8815 * ChangeLog: Log GTK merge.
8821 Revert gratuitous whitespace changes from GTK merge.
8823 * emacs.c: Document end of complex #ifdef @ l. 1495.
8826 2001-03-12 Andy Piper <andy@xemacs.org>
8828 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8829 have to do likewise.
8831 2001-03-12 Andy Piper <andy@xemacs.org>
8833 * sysdep.c: we only support mingw now.
8835 2001-03-09 Andy Piper <andy@xemacs.org>
8837 * unexcw.c (copy_executable_and_dump_data_section): making approx
8838 overrun a warning only.
8840 2001-03-10 William M. Perry <wmperry@aventail.com>
8842 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8843 satisfy Stephen's identical-after-cpp plea.
8845 2001-03-02 Ben Wing <ben@xemacs.org>
8848 * cmds.c (Fforward_char):
8852 Augment documentation of the most common motion commands to make
8853 note of the shifted-motion support.
8855 2001-03-02 Ben Wing <ben@xemacs.org>
8857 * nt.c (mswindows_fstat):
8858 * nt.c (mswindows_stat):
8859 * search.c (boyer_moore):
8860 Fix compile warnings under Windows.
8862 * sysdep.c (sys_readdir):
8863 Fix buggy filename-conversion code under Mule.
8865 2001-03-09 William M. Perry <wmperry@aventail.com>
8887 * redisplay-output.c:
8893 The Great GTK Merge.
8900 * emacs-widget-accessors.c:
8914 * native-gtk-toolbar.c:
8925 The Great GTK Merge: new files.
8927 2001-02-26 Ben Wing <ben@xemacs.org>
8929 Reapplied Lstream change.
8931 2001-02-26 Ben Wing <ben@xemacs.org>
8933 Undid the last change, since it is more controversial than I
8934 thought. It should be back in at some point soon.
8936 2001-02-25 Ben Wing <ben@xemacs.org>
8939 * callproc.c (Fold_call_process_internal):
8940 * event-msw.c (ntpipe_slurp_reader):
8941 * event-msw.c (ntpipe_shove_writer):
8942 * event-msw.c (winsock_reader):
8943 * event-msw.c (winsock_writer):
8945 * file-coding.c (detect_eol_type):
8946 * file-coding.c (detect_coding_type):
8947 * file-coding.c (determine_real_coding_system):
8948 * file-coding.c (Fdetect_coding_region):
8949 * file-coding.c (decoding_reader):
8950 * file-coding.c (decoding_writer):
8951 * file-coding.c (mule_decode):
8952 * file-coding.c (Fdecode_coding_region):
8953 * file-coding.c (encoding_reader):
8954 * file-coding.c (encoding_writer):
8955 * file-coding.c (mule_encode):
8956 * file-coding.c (Fencode_coding_region):
8957 * file-coding.c (detect_coding_sjis):
8958 * file-coding.c (decode_coding_sjis):
8959 * file-coding.c (encode_coding_sjis):
8960 * file-coding.c (detect_coding_big5):
8961 * file-coding.c (decode_coding_big5):
8962 * file-coding.c (encode_coding_big5):
8963 * file-coding.c (detect_coding_ucs4):
8964 * file-coding.c (decode_coding_ucs4):
8965 * file-coding.c (encode_coding_ucs4):
8966 * file-coding.c (detect_coding_utf8):
8967 * file-coding.c (decode_coding_utf8):
8968 * file-coding.c (encode_coding_utf8):
8969 * file-coding.c (detect_coding_iso2022):
8970 * file-coding.c (decode_coding_iso2022):
8971 * file-coding.c (encode_coding_iso2022):
8972 * file-coding.c (decode_coding_no_conversion):
8973 * file-coding.c (encode_coding_no_conversion):
8974 * glyphs-x.c (write_lisp_string_to_temp_file):
8975 * gpmevent.c (tty_get_foreign_selection):
8978 * lstream.c (Lstream_flush_out):
8979 * lstream.c (Lstream_adding):
8980 * lstream.c (Lstream_write_1):
8981 * lstream.c (Lstream_write):
8982 * lstream.c (Lstream_raw_read):
8983 * lstream.c (Lstream_read_more):
8984 * lstream.c (Lstream_read):
8985 * lstream.c (Lstream_unread):
8986 * lstream.c (Lstream_fputc):
8987 * lstream.c (stdio_reader):
8988 * lstream.c (stdio_writer):
8989 * lstream.c (filedesc_reader):
8990 * lstream.c (filedesc_writer):
8991 * lstream.c (lisp_string_reader):
8992 * lstream.c (struct fixed_buffer_stream):
8993 * lstream.c (make_fixed_buffer_input_stream):
8994 * lstream.c (make_fixed_buffer_output_stream):
8995 * lstream.c (fixed_buffer_reader):
8996 * lstream.c (fixed_buffer_writer):
8997 * lstream.c (struct resizing_buffer_stream):
8998 * lstream.c (resizing_buffer_writer):
8999 * lstream.c (dynarr_writer):
9000 * lstream.c (lisp_buffer_reader):
9001 * lstream.c (lisp_buffer_writer):
9003 * lstream.h (lstream_implementation):
9004 * lstream.h (struct lstream):
9006 * process-nt.c (nt_send_process):
9007 * process-unix.c (unix_send_process):
9009 Correct Lstream lossage due to mixing of signed and unsigned
9010 quantities. All Lstream uses of size_t and ssize_t are now a
9011 single signed data type Lstream_data_count. This fixes problems
9012 under Windows with sending large quantities of data to a process,
9013 and may well fix other subtle bugs.
9015 2001-02-23 Martin Buchholz <martin@xemacs.org>
9017 * XEmacs 21.2.45 "Thelxepeia" is released.
9019 2001-02-21 Martin Buchholz <martin@xemacs.org>
9021 * lisp-union.h (XSETINT):
9024 Reverse previous change of 2001-02-06.
9026 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9028 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9030 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9031 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9032 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9033 * regex.c (POS_AS_IN_BUFFER): removed
9034 * regex.c (re_search_2):
9035 * regex.c (re_match_2):
9036 Don't use an offset of 1 when calculating buffer positions, since
9037 `BI_BUF_BEGV' does it already.
9039 2001-02-18 Wim Dumon <wim@easics.be>
9041 * insdel.c (prepare_to_modify_buffer): Also check for
9042 supersession when clash-detection is enabled.
9044 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9046 * regex.c (re_match_2_internal):
9047 Convert temp characters from 'const unsigned char' to 're_char'.
9048 Fix crashing bug with extended characters under mule.
9049 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9050 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9051 font-lock, pdump, and new syntax-table code.
9052 * syntax.c (find_start_of_comment):
9053 (find_end_of_comment):
9055 Fix crashing bugs involving moving beyond end of buffer.
9056 * syntax.c (find_start_of_comment):
9057 Fixed logic to allow proper detection of cases where the same
9058 character is used to end both a two-char comment start and a
9059 two-char comment end sequence. Fixes `(forward-comment -1)'.
9060 * syntax.c (find_start_of_comment):
9061 Return position just past last comment-end character for all cases
9062 (previously was only done for two-char comment-end sequences).
9063 * syntax.c (forward-comment):
9064 Take value returned from `find_end_of_comment', rather than
9066 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9067 Properly deal with BUFFERP (syntax_cache.object)
9069 2001-02-17 Martin Buchholz <martin@xemacs.org>
9071 * alloc.c (Fgarbage_collect):
9072 * alloc.c (make_bit_vector_from_byte_vector):
9073 -Wsign-compare-correctness.
9075 2001-02-16 Martin Buchholz <martin@xemacs.org>
9077 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9078 (XSETCHAR): Likewise.
9079 (XSETOBJ): Likewise.
9081 2001-02-15 Martin Buchholz <martin@xemacs.org>
9083 * mule-canna.c (canna-func-delete_previous):
9084 Rename to canna-func-delete-previous.
9086 2001-02-14 Martin Buchholz <martin@xemacs.org>
9088 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9090 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9092 * font-lock.c (find_context): Fix C++ compile errors introduced by
9095 2001-02-13 Martin Buchholz <martin@xemacs.org>
9097 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9098 pragma, but earlier ones barf on the same pragma.
9100 2001-02-06 Mike Sperber <mike@xemacs.org>
9102 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9103 `configure-mule-lisp-directory'.
9105 2001-02-12 Martin Buchholz <martin@xemacs.org>
9107 Make sure dump-id.c is compiled in the same way as other .c's.
9108 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9109 * dump-id.h: Remove.
9110 * emacs.c: Move dump-id.h into dumper.h.
9111 * dumper.h: Move dump-id.h into dumper.h.
9113 Use standard .c.o rule for building dump-id.o.
9114 Remove preprocessor flags from link command.
9115 Add dump-id.o to ${otherobjs} if PDUMP.
9117 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9119 Port FSF 20.7 syntax table improvements.
9123 Fixups for new syntax table stuff.
9124 * dired.c: Include syntax.c.
9125 (Fdirectory_files): Initialize regex_match_object and
9127 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9128 and Fget_char_property.
9130 Use ported FSF 20.7 syntax table improvements.
9135 2001-02-09 Martin Buchholz <martin@xemacs.org>
9137 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9138 Unixware's enum boolean from sys/types.h.
9140 2001-02-10 Martin Buchholz <martin@xemacs.org>
9142 Fix support for building with latest Purify.
9143 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9144 (PURIFY_FLAGS): Likewise.
9146 2001-02-09 Martin Buchholz <martin@xemacs.org>
9148 * fileio.c (lisp_string_set_file_times): New.
9149 * fileio.c (Fcopy_file): Use it.
9151 (copy-file filename non-ascii-filename t t)
9152 ==> No such file or directory, non-ascii-filename
9154 2001-02-10 Martin Buchholz <martin@xemacs.org>
9156 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9157 USHRT_MAX seems clearer than ~0 anyways.
9159 2001-02-09 Martin Buchholz <martin@xemacs.org>
9161 dumper improvements. Inspired by Olivier.
9162 * dumper.c (pdump_max_align): New.
9163 * dumper.c (pdump_add_entry): Use pdump_max_align.
9164 * dumper.c (pdump_get_entry_list): Likewise.
9165 * dumper.c (pdump_scan_by_alignment): Likewise.
9166 Don't iterate through unnecessary alignments.
9167 * dumper.c (pdump_file_get): No need to align result of malloc().
9168 * dumper.c (pdump_mallocadr): Remove.
9169 The result of malloc() is guaranteed to be maximally aligned.
9170 * dumper.c: s/elmt/elt/g;
9171 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9172 * dumper.c (pdump_alert_undump_object): Likewise.
9173 * dumper.c (pdump_align_table):
9174 Don't support alignments > 64.
9175 Store ALIGNOF's, not shift counts, in table.
9177 2001-02-09 Martin Buchholz <martin@xemacs.org>
9179 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9180 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9181 * systime.h: Use HAVE_UTIME.
9182 * sysdep.c (struct utimbuf): Remove.
9183 * sysdep.c (set_file_times): Prefer utime() to utimes().
9184 * config.h.in (HAVE_UTIME): New.
9185 * config.h.in (HAVE_UTIME_H): Remove.
9186 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9188 2001-02-09 Martin Buchholz <martin@xemacs.org>
9190 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9192 2001-02-08 Martin Buchholz <martin@xemacs.org>
9194 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9196 2001-02-08 Martin Buchholz <martin@xemacs.org>
9198 * XEmacs 21.2.44 "Thalia" is released.
9200 2001-02-06 Martin Buchholz <martin@xemacs.org>
9202 Fixes crashes in kill-emacs on some systems.
9203 * process-unix.c (unix_kill_child_process):
9204 It's OK for kill() to fail with ESRCH.
9206 2001-02-07 Martin Buchholz <martin@xemacs.org>
9208 Contortions to make .gdbinit tricks work on most systems.
9209 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9210 * alloc.c (dbg_valmask): Make non-const.
9211 * alloc.c (dbg_typemask): Make non-const.
9212 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9213 * alloc.c (dbg_valbits): Make non-const.
9214 * alloc.c (dbg_gctypebits): Make non-const.
9215 * .gdbinit (decode_object): Make it work with AIX cc.
9217 2001-02-06 Martin Buchholz <martin@xemacs.org>
9219 * elhash.c (make_general_lisp_hash_table):
9220 Use simpler and more efficient calloc to clear entries.
9222 2001-02-07 Martin Buchholz <martin@xemacs.org>
9224 * window.c (window_scroll): Work around an AIX C compiler bug.
9225 Fixes 'scroll-up' does nothing problem with xlC.
9227 2001-02-05 Martin Buchholz <martin@xemacs.org>
9229 * .gdbinit: Remove obsolete comment.
9231 2001-01-31 Mike Alexander <mta@arbortext.com>
9233 * select.c (Fown_selection_internal): Set owned_p for device
9236 2001-02-01 Martin Buchholz <martin@xemacs.org>
9239 "not" cannot be used as a macro name as it is an operator in C++
9240 * config.h.in: Stop #defining `not'.
9241 * chartab.c (check_category_char): not ==> not_p
9242 * chartab.h: Likewise.
9243 * regex.c (re_match_2_internal): Likewise.
9245 2001-02-02 Martin Buchholz <martin@xemacs.org>
9247 * lisp-disunion.h: Fix up comments.
9249 2001-01-31 Martin Buchholz <martin@xemacs.org>
9251 * keymap.c (define_key_check_and_coerce_keysym):
9253 Support mouse-6 and mouse-7 bindings in the obvious way.
9255 2001-02-01 Martin Buchholz <martin@xemacs.org>
9257 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9259 2001-01-30 Martin Buchholz <martin@xemacs.org>
9261 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9262 Previous patch missed DEFVAR_INT_MAGIC.
9263 Make sure future DEFVAR_foo use correct types.
9264 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9265 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9266 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9267 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9268 * (DEFVAR_INT): Likewise.
9269 * redisplay.c (vertical_clip): Should be of type Fixnum.
9270 * redisplay.c (horizontal_clip): Likewise.
9271 * lisp.h (dump_add_opaque_int): New.
9272 (dump_add_opaque_fixnum): New.
9274 2001-01-29 Andy Piper <andy@xemacs.org>
9276 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9277 since they can be eval'ed
9279 2001-01-29 Martin Buchholz <martin@xemacs.org>
9281 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9282 Oops, XEmacs redefines `class'. Use `typename' instead.
9284 2001-01-28 Martin Buchholz <martin@xemacs.org>
9286 * dumper.c: Fix C++ compile errors.
9288 2001-01-29 Martin Buchholz <martin@xemacs.org>
9290 * tparam.c: Use correct prototypes.
9292 2001-01-28 Martin Buchholz <martin@xemacs.org>
9294 * sysproc.h: #include util.h for NetBSD's openpty.
9296 2001-01-27 Martin Buchholz <martin@xemacs.org>
9298 More 64-bit correctness.
9299 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9300 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9302 This finally finishes the 64-bit SGI port.
9303 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9304 * symbols.c: Fix up comments and type casts.
9305 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9306 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9307 * symeval.h (Fixnum): New type.
9308 * symeval.h (symbol_value_type): Fix up comment.
9324 * mule-canna.c: A million DEFVAR_INTs here...
9325 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9338 s/int/Fixnum/g in DEFVAR_INT declarations.
9340 2001-01-26 Martin Buchholz <martin@xemacs.org>
9342 Port pdump to SGI alignment-sensitive environment.
9343 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9344 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9346 Define and use aligned reading and writing macros.
9347 Use buffered stdio instead of posix i/o for faster dumping.
9348 Eliminate kludgy 256 byte space for header.
9349 Read and write from dump file using structs for alignment safety.
9350 * dumper.c (pdump_align_stream): New.
9351 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9352 * dumper.c (PDUMP_READ_ALIGNED): New.
9353 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9354 * dumper.c (pdump_static_Lisp_Object): New struct.
9355 * dumper.c (pdump_static_pointer): New struct.
9356 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9357 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9358 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9359 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9361 * dumper.c (pdump_backtrace):
9362 * dumper.c (pdump_get_indirect_count):
9363 * dumper.c (pdump_register_object):
9364 * dumper.c (pdump_register_struct):
9365 * dumper.c (pdump_reloc_one):
9366 * dumper.c (pdump_scan_by_alignment):
9367 * dumper.c (pdump_dump_from_root_struct_ptrs):
9368 * dumper.c (pdump_dump_opaques):
9369 * dumper.c (pdump_dump_rtables):
9370 * dumper.c (pdump_dump_from_root_objects):
9372 * dumper.c (pdump_load_finish):
9373 Use aligned reading and writing.
9375 * dumper.c (pdump_free): Make static.
9376 * dumper.c (pdump_hFile): Likewise.
9377 * dumper.c (pdump_hMap): Likewise.
9379 2001-01-26 Martin Buchholz <martin@xemacs.org>
9381 * XEmacs 21.2.43 "Terspichore" is released.
9383 2001-01-25 Martin Buchholz <martin@xemacs.org>
9385 Type fiddling for window_config.saved_windows_count
9386 * window.c (struct window_config):
9387 Make saved_windows_count member unsigned.
9388 * window.c (sizeof_window_config_for_n_windows):
9389 Make parameter unsigned.
9390 * window.c (mark_window_config):
9391 * window.c (window_config_equal):
9392 * window.c (free_window_configuration):
9393 * window.c (Fset_window_configuration):
9394 * window.c (count_windows):
9395 * window.c (Fcurrent_window_configuration):
9396 * window.c (reinit_vars_of_window):
9397 Update all callers and users.
9399 2001-01-25 Martin Buchholz <martin@xemacs.org>
9401 Alignment correctness for flexible arrays.
9402 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9403 Make alignment-correct. Add interesting comments.
9404 * alloc.c (size_vector):
9405 * alloc.c (make_vector_internal):
9406 * alloc.c (make_bit_vector_internal):
9407 * alloc.c (sweep_bit_vectors_1):
9408 * fns.c (size_bit_vector):
9409 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9410 * window.c (sizeof_window_config_for_n_windows):
9411 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9413 2001-01-24 Martin Buchholz <martin@xemacs.org>
9415 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9417 2001-01-23 Andy Piper <andy@xemacs.org>
9419 * select.c (Fown_selection_internal): pass owned_p
9421 * select-msw.c (mswindows_own_selection): New Signature.
9423 * console.h (struct console_methods): add owned_p to
9426 * select-x.c (x_own_selection): pass owned_p
9427 (hack_motif_clipboard_selection): use owned_p
9428 (vars_of_select_x): new variable -
9429 x_selection_strict_motif_ownership.
9431 2001-01-23 Martin Buchholz <martin@xemacs.org>
9433 * specifier.h (specifier_data_offset): Remove pointless parens.
9434 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9436 2001-01-24 Martin Buchholz <martin@xemacs.org>
9438 Make Lisp_Object sizeof methods be alignment-correct.
9439 pdump must restore objects to the same alignment as the C compiler
9440 assumes. It really matters on SGIs.
9441 * lstream.c (aligned_sizeof_lstream): New.
9442 (sizeof_lstream): Use aligned_sizeof_lstream.
9443 (Lstream_new): Likewise.
9444 * opaque.c (aligned_sizeof_opaque): New.
9445 (sizeof_opaque): Use aligned_sizeof_opaque.
9446 (make_opaque): Likewise.
9447 * specifier.c (aligned_sizeof_specifier): New.
9448 (sizeof_specifier): Use aligned_sizeof_specifier.
9449 (make_specifier_internal): Likewise.
9451 2001-01-23 Martin Buchholz <martin@xemacs.org>
9453 * lstream.h (struct lstream): Use max_align_t for trailing data.
9454 * specifier.h (struct Lisp_Specifier): Likewise.
9456 2001-01-22 Martin Buchholz <martin@xemacs.org>
9458 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9459 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9460 (CCL_SUSPEND): Likewise.
9461 (CCL_INVALID_CMD): Likewise.
9462 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9463 (ccl_driver): Likewise.
9464 (CCL_WRITE_CHAR): Macro hygiene.
9465 (CCL_WRITE_STRING): Macro hygiene.
9467 2001-01-22 Martin Buchholz <martin@xemacs.org>
9469 Port "portable" dumper to SunOS 4 and HP-UX.
9470 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9471 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9472 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9474 2001-01-22 Martin Buchholz <martin@xemacs.org>
9476 * lisp.h (ALIGNOF): A better definition for C++.
9478 2001-01-20 Martin Buchholz <martin@xemacs.org>
9481 Fix printf warnings: int format, long int arg.
9482 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9483 (PUSH_FAILURE_POINT): Use correct printf formats.
9484 (POP_FAILURE_POINT): Use correct printf formats.
9485 Use do {...} while (0)
9487 2001-01-20 Martin Buchholz <martin@xemacs.org>
9489 * XEmacs 21.2.42 "Poseidon" is released.
9491 2001-01-20 Martin Buchholz <martin@xemacs.org>
9493 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9495 2001-01-19 Martin Buchholz <martin@xemacs.org>
9497 De-kludgify FIXED_TYPE free list frobbing.
9498 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9499 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9500 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9501 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9502 * alloc.c (LRECORD_FREE_P): New.
9503 * alloc.c (MARK_LRECORD_AS_FREE): New.
9504 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9505 * alloc.c (STRUCT_FREE_P): Deleted.
9506 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9507 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9508 * alloc.c (STRING_CHARS_FREE_P): New.
9509 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9510 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9511 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9512 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9513 * alloc.c (resize_string): Use new definitions.
9514 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9515 * alloc.c (verify_string_chars_integrity): Use new definitions.
9516 * alloc.c (compact_string_chars): Use new definitions.
9517 * alloc.c: Update monster comments.
9518 * lrecord.h (lrecord_type): Add some new lrecord types for
9521 2001-01-18 Martin Buchholz <martin@xemacs.org>
9523 Improve alignment hackery.
9524 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9525 (max_align_t): Moved from opaque.h - general purpose.
9526 (ALIGN_PTR): Use size_t, not long.
9527 * opaque.h (max_align_t): Move to lisp.h.
9529 2001-01-18 Norbert Koch <nk@LF.net>
9531 * gui.h: Fix and add prototypes to fix build problems.
9533 2001-01-18 Martin Buchholz <martin@xemacs.org>
9535 temacs is going away, so `dump-temacs' is now a bad name.
9536 * .dbxrc (dump-temacs): Rename to `dmp'.
9537 * .gdbinit (dump-temacs): Rename to `dmp'.
9539 2001-01-17 Andy Piper <andy@xemacs.org>
9541 * glyphs.c (print_image_instance): comment to make martin happy.
9543 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9546 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9548 (mswindows_tab_control_redisplay): warning suppression.
9550 * glyphs-widget.c (widget_update): re-write to cope with updated
9552 (widget_instantiate): use new gui_item functions.
9553 (tab_control_update): deleted.
9554 (progress_gauge_update): deleted.
9555 (image_instantiator_progress_guage): take out update reference.
9556 (image_instantiator_tree_view): ditto.
9557 (image_instantiator_tab_control): ditto.
9559 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9561 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9562 return whether anything was changed.
9563 (update_gui_item_keywords): as it sounds.
9565 * gui.h: declare widget_gui_parse_item_keywords.
9567 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9568 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9570 2001-01-17 Martin Buchholz <martin@xemacs.org>
9572 * XEmacs 21.2.41 "Polyhymnia" is released.
9574 2001-01-16 Didier Verna <didier@xemacs.org>
9576 * glyphs.c (image_instantiate): don't use fallbacks when
9577 instantiating a face's background pixmap by inheritance.
9579 2001-01-14 Mike Sperber <mike@xemacs.org>
9581 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9582 Conditionalize accordingly.
9584 2001-01-16 Martin Buchholz <martin@xemacs.org>
9586 * dumper.c (pdump_file_get): Fix a compiler warning.
9588 2001-01-15 Martin Buchholz <martin@xemacs.org>
9590 Make Purify happy when pdumping.
9591 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9592 iniitalizing all bits of new lisp object memory.
9593 * symbols.c (Fmake_local_variable): Likewise.
9594 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9595 * symbols.c (Fdefvaralias): Likewise.
9596 * mule-charset.c (vars_of_mule_charset): Likewise.
9598 2001-01-15 Martin Buchholz <martin@xemacs.org>
9599 Add the `-nd' flag when running pre-dump operations under the debugger.
9600 * .dbxrc (run-temacs): Add `-nd'.
9601 * .dbxrc (update-elc): Likewise.
9602 * .dbxrc (dump-temacs): Likewise.
9603 * .gdbinit (run-temacs): Likewise.
9604 * .gdbinit (check-temacs): Likewise.
9605 * .gdbinit (update-elc): Likewise.
9606 * .gdbinit (dump-temacs): Likewise.
9608 2001-01-14 Martin Buchholz <martin@xemacs.org>
9610 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9611 export OBJECT_MODE=64
9612 configure --pdump --use-union-type=no
9613 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9614 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9616 * miscplay.c (sndcnv8U_2mono):
9617 Avoid two uses of `++' in the same expression.
9618 Suppresses a GCC warning.
9620 2001-01-13 Martin Buchholz <martin@xemacs.org>
9622 Make sure future compilers don't miscompile alloc.c.
9624 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9625 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9627 2001-01-12 Martin Buchholz <martin@xemacs.org>
9629 * dumper.c: A little post-pdump-rename comment fixup.
9631 2001-01-09 Jerry James <james@eecs.ku.edu>
9633 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9635 2001-01-13 Martin Buchholz <martin@xemacs.org>
9637 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9641 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9644 replace_symbol pdump_wire_lists pdump_weak_object_chains
9645 replace_symbol pdump_wire_list dump_add_weak_object_chain
9647 replace_symbol pdump_wires pdump_root_objects
9648 replace_symbol pdump_wire dump_add_root_object
9650 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9651 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9653 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9654 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9655 replace_symbol dumpstructinfo pdump_root_struct_ptr
9656 replace_symbol dumpstruct dump_add_root_struct_ptr
9658 replace_symbol dumpopaque dump_add_opaque
9659 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9660 replace_symbol dumpopaqueinfos pdump_opaques
9661 replace_symbol dumpopaqueinfo pdump_opaque
9663 replace_symbol nb_structdump nb_root_struct_ptrs
9664 replace_symbol nb_opaquedump nb_opaques
9666 replace_symbol align_table pdump_align_table
9667 replace_symbol dump_header pdump_header
9669 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9670 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9673 2001-01-12 Martin Buchholz <martin@xemacs.org>
9675 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9676 optimizing bytecount_to_charcount().
9678 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9681 (HAVE_DLFCN_H): Removed.
9682 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9684 2001-01-06 Martin Buchholz <martin@xemacs.org>
9686 Portable dumper maintainability improvements.
9687 * alloc.c (staticpro):
9688 * alloc.c (staticpro_nodump):
9689 * alloc.c (garbage_collect_1):
9690 * alloc.c (reinit_alloc_once_early):
9691 * alloc.c (init_alloc_once_early):
9692 * alloc.c: Move dumper functions to alloc.c.
9693 * dumper.c (pdump_backtrace):
9694 * dumper.c (pdump_dump_structs):
9695 * dumper.c (pdump_dump_opaques):
9696 * dumper.c (pdump_dump_rtables):
9697 * dumper.c (pdump_dump_wired):
9699 * dumper.c (pdump_load_check):
9700 * dumper.c (pdump_load_finish):
9701 * dumper.c (pdump_file_unmap):
9702 * dumper.c (pdump_file_get):
9703 * dumper.c (pdump_resource_free):
9704 * dumper.c (pdump_resource_get):
9705 * dumper.c (pdump_file_free):
9706 * dumper.c (pdump_file_try):
9707 * dumper.c (pdump_load):
9708 Remove fixed size limits on staticpro(), staticpro_nodump(),
9709 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9710 Remove custom code for dumping lrecord_implementations_table - use
9712 Remove (most of the) custom code for dumping staticpros - dump it
9713 like any other dynarr.
9715 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9716 * dumper.c: Moved functions from alloc.c.
9717 * alloc.c (dumpstruct): Moved to dumper.c.
9718 * alloc.c (dumpopaque): Likewise.
9719 * alloc.c (pdump_wire): Likewise.
9720 * alloc.c (pdump_wire_list): Likewise.
9722 * lisp.h (Dynarr_sizeof): New.
9723 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9724 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9725 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9727 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9728 * lisp.h (dumpopaque): ditto.
9729 * lisp.h (pdump_wire): ditto.
9730 * lisp.h (pdump_wire_list): ditto.
9732 2001-01-09 Martin Buchholz <martin@xemacs.org>
9734 * make-src-depend (PrintPatternDeps):
9735 Use `sort' to make output independent of perl version.
9737 2001-01-08 Martin Buchholz <martin@xemacs.org>
9740 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9741 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9743 2001-01-03 Didier Verna <didier@xemacs.org>
9745 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9746 that `focus_frame' is alive before thinking of calling
9747 `redisplay_redraw_cursor' on it.
9749 2001-01-08 Martin Buchholz <martin@xemacs.org>
9751 * XEmacs 21.2.40 is released.
9753 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9755 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9757 2001-01-06 Martin Buchholz <martin@xemacs.org>
9759 * alloc.c (dbg_valmask): Make const.
9760 * alloc.c (dbg_typemask): Make const.
9761 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9762 * alloc.c (dbg_valbits): Make const.
9763 * alloc.c (dbg_gctypebits): Make const.
9765 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9767 * redisplay-x.c (x_bevel_area):
9768 redisplay.h (struct rune):
9769 Typo fixes in comments.
9771 2001-01-05 Andy Piper <andy@xemacs.org>
9773 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9776 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9778 2001-01-05 Martin Buchholz <martin@xemacs.org>
9780 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9782 * mule-ccl.c (stack_idx_of_map_multiple):
9783 Non const global data must not be initialized!
9784 Found by MIYASHITA Hisashi.
9786 2001-01-02 Andy Piper <andy@xemacs.org>
9788 * frame.c (change_frame_size): make sure frame size is always
9791 * glyphs.c (image_instance_layout): minor code reuse.
9793 * window.c (Fcurrent_window_configuration): revert previous
9796 2001-01-02 Martin Buchholz <martin@xemacs.org>
9799 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9801 2000-12-31 Andy Piper <andy@xemacs.org>
9803 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9804 when widget gets unmapped.
9806 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9807 function. Make sure widgets losing focus don't just drop it.
9808 (handle_focus_event_1): record the widget with focus.
9810 2000-12-31 Andy Piper <andy@xemacs.org>
9812 * window.c (allocate_window): use
9813 make_image_instance_cache_hash_table.
9814 (make_dummy_parent): ditto.
9815 (Fset_window_configuration): ditto.
9817 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9819 * glyphs.c (process_image_string_instantiator): use
9821 (get_image_instantiator_governing_domain): ditto.
9822 (normalize_image_instantiator): ditto.
9823 (instantiate_image_instantiator): ditto.
9824 (make_image_instance_1): ditto.
9825 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9826 (instantiator_eq_equal): new function for use with instance hash
9828 (instantiator_eq_hash): ditto.
9829 (make_image_instance_cache_hash_table): create a suitable hash
9830 table for storing image instances.
9832 * elhash.h (hash_table_weakness): new internal weakness type
9833 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9834 declare new functions.
9836 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9837 another weakness type for glyphs.
9838 (make_standard_lisp_hash_table): new function split out from
9839 make_general_lisp_hash_table.
9840 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9841 (hash_table_instantiate): ditto.
9842 (Fmake_hash_table): ditto.
9844 2000-12-31 Martin Buchholz <martin@xemacs.org>
9846 * XEmacs 21.2.39 is released.
9848 2000-12-29 Andy Piper <andy@xemacs.org>
9850 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9852 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9853 the frame has changed so that we pick up geometry changes such as
9856 2000-12-28 Andy Piper <andy@xemacs.org>
9858 * lastfile.c (my_ebss): make a char array so we can pad the
9859 bss. Fixes cygwin unexec.
9861 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9863 2000-12-26 Andy Piper <andy@xemacs.org>
9865 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9866 comments and try and be more precise about a non-/SIGIO world.
9867 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9870 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9871 we don't normalize to zero width or height.
9873 2000-12-24 Andy Piper <andy@xemacs.org>
9875 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9877 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9879 * s/sco5.h: SCO 5 has pty support.
9881 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9883 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9884 input-method-xlib.c contains whole contents of input-method-xfs.c,
9885 so we can use input-method-xlib.c's code for USE_XFONTSET
9887 * input-method-xfs.c: removed.
9889 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9891 * file-coding.h (enum coding_category_type): reorder enumerators to
9892 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9893 (now one greater than largest real coding_category_type enumerator).
9894 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9895 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9896 Fcoding_category_list, Fset_coding_priority_list,
9897 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9898 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9900 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9902 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9903 * redisplay-output.c (redisplay_output_window): Clear top of window
9904 when face is changed.
9905 * redisplay-x.c (x_redraw_exposed_window): Call
9906 redisplay_clear_top_of_window.
9907 * redisplay.h: Publish redisplay_clear_top_of_window.
9909 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9911 * buffer.c (Fkill_buffer): Map over all devices.
9912 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9913 (list_windows): New function.
9914 (list_all_windows): Ditto.
9915 (Freplace_buffer_in_windows): Use them.
9917 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9919 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9920 (Fopen_database): Use `db_create' instead of `db_open'.
9921 (syms_of_database): Initialize Qqueue.
9923 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9925 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9926 buffer_local_face_property.
9927 * buffer.h (struct buffer): New member buffer_local_face_property.
9928 * window.c (Fset_window_buffer): Mark window's face as changed
9929 when buffer has buffer local face.
9930 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9931 * objects.c (color_after_change): Set buffer_local_face_property
9932 when locale of face specifier is buffer.
9933 * objects.c (font_after_change): Ditto.
9934 * objects.c (face_boolean_after_change): Ditto.
9935 * glyphs.c (image_after_change): Ditto.
9937 2000-12-09 Dan Holmsand <dan@eyebee.com>
9939 * nt.c (mswindows_fstat): Report file permissions, volume serial
9940 number, etc. Code adapted from FSF Emacs 20.7.
9942 2000-12-09 Dan Holmsand <dan@eyebee.com>
9944 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9945 of stat when we don't have symbolic links, to make sure
9946 mswindows_stat is called on mswindows.
9948 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9950 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9952 2000-12-12 Martin Buchholz <martin@xemacs.org>
9954 * doprnt.c (emacs_doprnt_1): More printing fixes.
9955 Make printing of numbers compatible with libc and FSF Emacs.
9956 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9957 Use the system printf to do most of the hard work of formatting,
9958 instead of doprnt_1().
9959 Calculate memory to allocate for format string.
9960 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9961 (doprnt_1): Cleaner code and documentation.
9963 2000-12-01 Jerry James <james@eecs.ukans.edu>
9965 * Makefile.in.in: Use the loop variable to install headers.
9967 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9969 * window.c (Fsplit_window): Don't invalidate face cache.
9971 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9973 * minibuf.c (Fall_completions): Undo the previous change
9974 which removed checking elements start with space.
9976 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9978 * mule-canna.c: Didier suppression.
9980 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9982 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9983 (warning suppression). Add English comment translations.
9985 2000-12-05 Martin Buchholz <martin@xemacs.org>
9987 * unexelfsgi.c (unexec): Better test for mmap failure.
9989 2000-12-05 Martin Buchholz <martin@xemacs.org>
9991 * XEmacs 21.2.38 is released.
9993 2000-12-05 Martin Buchholz <martin@xemacs.org>
9995 * redisplay.c (bar-cursor): Make a user variable.
9997 * symsinit.h: Add init_postgresql_from_environment.
9999 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10001 * regex.c: Convert to clean C.
10003 2000-12-05 Dan Holmsand <dan@eyebee.com>
10006 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10008 (sys_readlink): renamed to system_readlink to avoid conflict with
10009 the other sys_readlink.
10011 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10013 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10015 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10017 * postgresql.c (init_postgresql_from_environment): new function.
10018 (vars_of_postgresql): Move code initializing Lisp variables out and
10019 into init_postgresql_from_environment.
10020 emacs.c (main_1): Call init_postgresql_from_environment if and only
10021 if running a dumped XEmacs.
10023 2000-08-31 Dan Holmsand <dan@eyebee.com>
10025 * buffer.c: Make find-file-compare-truenames default to true on
10028 * realpath.c (win32_abs_start):
10030 (win32_readlink): New functions.
10031 (xrealpath): Return really real filenames on windows.
10033 * fileio.c (Ffile_truename): Make file-truename work on windows.
10035 2000-11-29 Didier Verna <didier@xemacs.org>
10037 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10038 * faces.c (update_face_cachel_data): use it.
10039 * faces.c (add_face_cachel): use it. Complete background pixmap
10040 frobbing in face cache if `update_face_cachel_data' has not done so.
10042 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10044 * search.c (string_match_1): Don't set last_thing_searched
10045 when search failed.
10047 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10049 * buffer.c: Include casetab.h
10050 (common_init_complex_vars_of_buffer): Use new case-table object.
10051 * buffer.h: Include casetab.h
10052 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10053 (DOWNCASE_TABLE_OF): Ditto.
10054 * bufslots.h: Remove char-tables and add case-table.
10055 * casetab.c: Include casetab.h
10056 (CASE_TABLE_P): Removed.
10057 (mark_case_table): New function.
10058 (allocate_case_table): New function.
10059 (Fcase_table_p): Use new case-table.
10060 (case_table_char): New function.
10061 (Fget_case_table): Ditto.
10062 (Fput_case_table): Ditto.
10063 (Fput_case_table_pair): Ditto.
10064 (Fcopy_case_table): Ditto.
10065 (Fcurrent_case_table): Return case-table.
10066 (Fstandard_case_table): Return case-table.
10067 (Fset_case_table): Fix doc-string.
10068 (set_case_table): Use case-table
10069 (syms_of_casetab): DEFSUBR new functions.
10070 (complex_vars_of_casetab): Set up standard case-table.
10071 * casetab.h: New file.
10072 * editfns.c: Include casetab.h
10073 (Fcompare_buffer_substrings): Use case-table.
10074 * inline.c: Include casetab.h
10075 * lisp.h: Remove bogus extern.
10076 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10077 * search.c: Include casetab.h
10078 (TRANSLATE_ASCII): Removed.
10079 (TRANSLATE): Unconditionally translate character.
10080 (looking_at_1): Use case-table.
10081 (string_match_1): Ditto.
10082 (fast_string_match): Ditto.
10083 (search_command): Ditto.
10084 (search_buffer): Separate boyer_moore. Check whether
10085 boyer_moore is possible.
10086 (simple_search): New function.
10087 (boyer_moore): Separated from search_buffer. Translate char.
10089 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10091 * regex.c (RE_TR_ASCII): Removed.
10092 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10093 (PATFETCH): Call PATFETCH_RAW.
10094 (PATFETCH_RAW): Fetch Emchar.
10095 (PATUNFETCH): Decrement charptr.
10096 (GET_BUFFER_SPACE): Rename b to buf_end.
10098 (BUF_PUSH_2): Ditto.
10099 (BUF_PUSH_3): Ditto.
10100 (EXTEND_BUFFER): Ditto.
10101 (SET_LIST_BIT): Ditto.
10102 (regex_compile): Ditto. Translate non ASCII char.
10103 (compile_range): Ditto.
10104 (re_search_2): Ditto.
10105 (re_match_2_internal): Compare Emchar.
10106 (bcmp_translate): Ditto.
10108 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10110 * lisp.h (basic char/int typedefs): comment improvement.
10112 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10114 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10115 unstomp inhibit_site_lisp. Improve comments.
10117 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10119 * mule-charset.c (Fcharset_property): improve type checking, comments.
10121 2000-11-28 Andy Piper <andy@xemacs.org>
10123 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10124 clipped display for windows in the gutter also.
10125 (redisplay_display_boxes_in_window_p): change semantics of return
10126 codes to be more intuitive.
10128 * gutter.h: declare display_boxes_in_gutter_p.
10130 * gutter.c (display_boxes_in_gutter_p): new function for
10133 2000-11-22 Andy Piper <andy@xemacs.org>
10135 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10138 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10140 * callproc.c (Fold_call_process_internal):
10141 * gpm.c (Freceive_gpm_event):
10142 (tty_get_foreign_selection): Might be just warning supression.
10143 * fileio.c (Fwrite_region_internal):
10144 (Fset_visited_file_modtime):
10145 * keymap.c (event_matches_key_specifier_p):
10146 Initialize GCPROed variable.
10148 * menubar-x.c (command_builder_find_menu_accelerator):
10149 Initialize before use.
10151 2000-11-23 Andy Piper <andy@xemacs.org>
10153 * unexcw.c (unexec): make the resulting executable executable.
10155 2000-11-21 Martin Buchholz <martin@xemacs.org>
10157 * doc.c (get_doc_string):
10158 Use size_t, not int, for result of XSTRING_LENGTH.
10160 * cmds.c (Fdelete_char):
10161 * cmds.c (Fpoint_at_eol):
10162 * cmds.c (Fself_insert_command):
10163 Use EMACS_INT, not int, for result of XINT.
10164 Someday, someone will want to insert more than 2**31 identical characters.
10166 * cmds.c (Fdelete_char):
10167 * cmds.c (Fdelete_backward_char):
10168 * syntax.c (Fforward_word):
10169 * syntax.c (Fforward_comment):
10170 Make COUNT argument optional, for consistency with forward-char et al.
10172 2000-11-22 Martin Buchholz <martin@xemacs.org>
10175 * print.c (long_to_string):
10176 Return a useful value: the pointer at end of data written.
10179 Use `static const char * const' for constant strings.
10180 (union printf_arg): Delete `i', `ui' members.
10183 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10184 Do all printf-ing via the `l' specifier.
10185 Use EMACS_INT instead of int.
10188 2000-11-20 Didier Verna <didier@xemacs.org>
10190 * faces.c (update_face_cachel_data): don't frob the background
10191 pixmap when the window is being created. The face is needed but
10192 does not exist yet.
10194 2000-11-20 Andy Piper <andy@xemacs.org>
10196 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10197 messing with a debug environment.
10199 2000-11-20 Martin Buchholz <martin@xemacs.org>
10201 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10203 2000-11-20 Martin Buchholz <martin@xemacs.org>
10205 * casetab.c (Fcase_table_p): Fix compile error and crash.
10207 2000-11-18 Philip Aston <philipa@mail.com>
10209 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10211 2000-11-18 Martin Buchholz <martin@xemacs.org>
10213 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10214 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10216 2000-11-17 Martin Buchholz <martin@xemacs.org>
10218 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10219 * unexelf.c: Use HAVE_ELF_H.
10220 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10221 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10222 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10223 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10225 So this is an unexelfsgi.c from a different line of development.
10227 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10229 * regex.c (RE_TR_ASCII): New function.
10230 (RE_TRANSLATE): Call it.
10232 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10234 * buffer.h (TRT_TABLE_OF): Remove assert.
10235 (IN_TRT_TABLE_DOMAIN): Removed.
10237 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10239 * free-hook.c (log_gcpro):
10240 (show_gcprohist): Add support for GCPRO5.
10242 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10244 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10246 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10248 * symeval.h: Declare flush_all_buffer_local_cache.
10250 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10251 (flush_buffer_local_cache): Added.
10252 (flush_all_buffer_local_cache): Added.
10254 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10256 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10257 (pdump_dump_data): Ditto.
10258 (pdump_reloc_one): Ditto.
10259 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10263 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10265 * buffer.c: Remove if 0'ed entry.
10266 * buffer.h: Rewrite TRT to use char-table.
10267 * bufslots.h: Remove mirror tables.
10268 * casetab.c: Remove mirror tables.
10269 (CASE_TABLE_P): New macro.
10270 (Fcase_table_p): Element of a case table is string or char-table.
10271 (make_mirror_trt_table): Removed.
10272 (set_case_table): Setup char-table from strings for backward
10274 * dired.c (Fdirectory_files):
10275 * dired-msw.c: (mswindows_get_files):
10276 * lisp.h: Change prototype of re_pattern_buffer.
10277 * regex.c: (RE_TRANSLATE): New macro.
10278 (TRANSLATE_P): Ditto.
10279 Change translate to type RE_TRANSLATE_TYPE.
10280 * regex.h: Define RE_TRANSLATE_TYPE
10281 * search.c (TRANSLATE): New macro.
10282 (TRANSLATE_ASCII): New macro.
10283 Translate table is changed to Lisp_Object.
10284 (signal_failure): Inhibit return.
10286 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10293 Do UNGCPRO before return.
10295 2000-11-14 Martin Buchholz <martin@xemacs.org>
10297 * XEmacs 21.2.37 is released.
10299 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10301 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10302 Add comments about discarded return value.
10304 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10307 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10309 2000-10-27 Andy Piper <andy@xemacs.org>
10311 * gutter.c (Fset_default_gutter_position): default left and right
10312 gutters to visible.
10313 (calculate_gutter_size): calculate resonable heuristic for left
10314 and right gutter sizes.
10315 (specifier_vars_of_gutter): change left and right gutter sizes to
10317 (calculate_gutter_size_from_display_lines): new function.
10318 (output_gutter): check for resizing on left and right gutters.
10319 (clear_gutter): don't special case top and left gutters.
10320 (specifier_vars_of_gutter): use new signature for
10321 set_specifier_caching.
10323 * glyphs-x.c (x_redisplay_widget): spelling fix.
10324 * glyphs.c (specifier_vars_of_glyphs):
10325 * menubar.c (specifier_vars_of_menubar):
10326 * redisplay.c (specifier_vars_of_redisplay):
10327 * toolbar.c (specifier_vars_of_toolbar):
10328 * window.c (specifier_vars_of_window):
10329 * scrollbar.c (specifier_vars_of_scrollbar):
10330 (complex_vars_of_scrollbar): use new signature for
10331 set_specifier_caching.
10333 * specifier.c (set_specifier_caching): include recompute flag.
10334 (recompute_one_cached_specifier_in_window): always recompute if
10336 (recompute_one_cached_specifier_in_frame): ditto.
10338 * specifier.h (struct specifier_caching): add recompute flag.
10340 2000-10-24 Andy Piper <andy@xemacs.org>
10342 * unexcw.c (copy_executable_and_dump_data_section): add new
10343 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10346 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10348 * console-x.h (x_device): New member modifier_release_time.
10349 * event-Xt.c (x_handle_sticky_modifiers):
10350 Bound interval modifier keys are sticky.
10351 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10352 * events.h: extern it.
10354 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10356 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10358 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10360 * event-stream.c (execute_command_event): Preserve current_events
10361 and the like when event is misc-user-event.
10362 Inhibit quit during the call to maybe_echo_keys.
10364 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10366 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10367 symlink when buffer is killed.
10368 (inhibit_clash_detection): New variable.
10370 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10372 * console.c (Fset_input_method): Trigger redisplay on tty.
10374 2000-11-07 Martin Buchholz <martin@xemacs.org>
10376 * process.c (Fprocess_status): Revert to previous behavior:
10377 (process-status "nosuchprocess") ==> nil
10379 2000-11-06 Martin Buchholz <martin@xemacs.org>
10381 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10382 Work around another GCC 2.95.2 optimizer bug.
10384 2000-11-02 Martin Buchholz <martin@xemacs.org>
10386 * process.c (Fget_process): Use LIST_LOOP_2.
10387 (kill_buffer_processes): Use LIST_LOOP_2.
10389 * minibuf.c (Fall_completions):
10390 Delete old non-functional code for FSF fourth argument.
10392 * frame.c (frame_matches_frame_spec):
10393 Renamed from `frame_matches_frametype'. Update all callers.
10394 (device_matches_device_spec):
10395 Renamed from 'device_matches_console_spec'. Update all callers.
10397 * doc.c (Fsubstitute_command_keys):
10398 Remove buffer overflow crash. Small code cleanups.
10400 * casetab.c (check_case_table): Simpler code.
10402 * window.c (Freplace_buffer_in_windows):
10403 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10404 (and similar implementation) as Fdelete_windows_on.
10405 Update all callers.
10407 * alloc.c (Fmake_list):
10408 * alloc.c (make_vector):
10409 * alloc.c (Fmake_vector):
10410 * alloc.c (make_bit_vector):
10411 * alloc.c (Fmake_bit_vector):
10412 * alloc.c (Fbit_vector):
10413 * alloc.c (Fmake_string):
10414 * alloc.c (Fpurecopy):
10415 * alloc.c (Fmemory_limit):
10417 * buffer.c (Fget_buffer):
10418 * buffer.c (Fkill_buffer):
10419 * buffer.c (complex_vars_of_buffer):
10420 * bytecode.c (Fcompiled_function_stack_depth):
10421 * callint.c (Fprefix_numeric_value):
10423 * event-stream.c (Fread_key_sequence):
10425 * casetab.c (Fcase_table_p):
10426 * casetab.c (check_case_table):
10427 * casetab.c (Fset_case_table):
10428 * casetab.c (Fset_standard_case_table):
10430 * chartab.c (Fchar_table_type):
10431 * chartab.c (Freset_char_table):
10432 * chartab.c (Fget_char_table):
10433 * chartab.c (Fget_range_char_table):
10434 * chartab.c (Fput_char_table):
10435 * chartab.c (Fmap_char_table):
10436 * chartab.c (Fcategory_table_p):
10437 * chartab.c (Fcheck_category_at):
10438 * chartab.c (Fchar_in_category_p):
10439 * chartab.c (Fcategory_table):
10440 * chartab.c (Fcopy_category_table):
10441 * chartab.c (Fset_category_table):
10442 * chartab.c (Fcategory_designator_p):
10443 * chartab.c (Fcategory_table_value_p):
10444 * cmds.c (Fdelete_char):
10445 * cmds.c (Fdelete_backward_char):
10446 * cmds.c (Fself_insert_command):
10447 * cmds.c (Fself_insert_internal):
10448 * console.c (Fvalid_console_type_p):
10449 * console.c (Fcdfw_console):
10450 * console.c (Fconsole_type):
10451 * console.c (Fconsole_name):
10452 * console.c (Fconsole_device_list):
10453 * console.c (Fconsole_on_window_system_p):
10456 * data.c (Fold_eq):
10457 * data.c (Fsubr_interactive):
10458 * data.c (Fchar_to_int):
10459 * data.c (Fint_to_char):
10460 * data.c (Fsetcar):
10461 * data.c (Fsetcdr):
10462 * data.c (Fnumber_to_string):
10463 * data.c (Fstring_to_number):
10465 * database.c (mark_database):
10466 * database.c (finalize_database):
10467 * database.c (Fdatabase_live_p):
10468 * database.c (Fdatabasep):
10469 * device-x.c (Fx_get_resource):
10470 * device.c (Fdfw_device):
10472 * dired.c (Ffile_name_completion):
10473 * dired.c (Ffile_name_all_completions):
10474 * dired.c (Fuser_name_completion):
10475 * dired.c (Fuser_name_completion_1):
10476 * dired.c (Fuser_name_all_completions):
10477 * doc.c (Fdocumentation):
10478 * doc.c (Fdocumentation_property):
10479 * doc.c (Fsubstitute_command_keys):
10481 * editfns.c (Fchar_to_string):
10482 * editfns.c (Fstring_to_char):
10483 * editfns.c (Ftemp_directory):
10484 * editfns.c (Finsert_char):
10485 * editfns.c (Fbuffer_substring_no_properties):
10486 * editfns.c (Fnarrow_to_region):
10487 * editfns.c (Fchar_equal):
10488 * editfns.c (Fchar_Equal):
10489 * editfns.c (Ftranspose_regions):
10490 * emacs.c (Fdump_emacs):
10492 * eval.c (Fcommand_execute):
10493 * eval.c (Fautoload):
10494 * eval.c (Fbacktrace):
10495 * eval.c (Fbacktrace_frame):
10497 * events.c (Fcopy_event):
10498 * events.c (Fcharacter_to_event):
10499 * events.c (Fevent_button):
10500 * events.c (Fevent_process):
10502 * extents.c (Fnext_extent_change):
10503 * extents.c (Fextent_property):
10504 * faces.c (Ffacep):
10505 * faces.c (Fmake_face):
10507 * file-coding.c (Fencode_shift_jis_char):
10508 * file-coding.c (Fencode_big5_char):
10509 * fileio.c (Ffile_name_directory):
10510 * fileio.c (Ffile_name_nondirectory):
10511 * fileio.c (Ffile_name_as_directory):
10512 * fileio.c (Fdirectory_file_name):
10513 * fileio.c (Ffile_truename):
10514 * fileio.c (Fsubstitute_in_file_name):
10515 * fileio.c (Ffile_modes):
10516 * fileio.c (Fset_file_modes):
10517 * fileio.c (Fset_default_file_modes):
10518 * fileio.c (Fverify_visited_file_modtime):
10519 * floatfns.c (Facos):
10520 * floatfns.c (Fasin):
10521 * floatfns.c (Fatan):
10522 * floatfns.c (Fcos):
10523 * floatfns.c (Fsin):
10524 * floatfns.c (Ftan):
10525 * floatfns.c (Fbessel_j0):
10526 * floatfns.c (Fbessel_j1):
10527 * floatfns.c (Fbessel_jn):
10528 * floatfns.c (Fbessel_y0):
10529 * floatfns.c (Fbessel_y1):
10530 * floatfns.c (Fbessel_yn):
10531 * floatfns.c (Ferf):
10532 * floatfns.c (Ferfc):
10533 * floatfns.c (Flog_gamma):
10534 * floatfns.c (Fexp):
10535 * floatfns.c (Fexpt):
10536 * floatfns.c (Flog):
10537 * floatfns.c (Flog10):
10538 * floatfns.c (Fsqrt):
10539 * floatfns.c (Fcube_root):
10540 * floatfns.c (Facosh):
10541 * floatfns.c (Fasinh):
10542 * floatfns.c (Fatanh):
10543 * floatfns.c (Fcosh):
10544 * floatfns.c (Fsinh):
10545 * floatfns.c (Ftanh):
10546 * floatfns.c (Fabs):
10547 * floatfns.c (Ffloat):
10548 * floatfns.c (Flogb):
10549 * floatfns.c (Fceiling):
10550 * floatfns.c (Ffloor):
10551 * floatfns.c (Fround):
10552 * floatfns.c (Ftruncate):
10553 * floatfns.c (Ffceiling):
10554 * floatfns.c (Fffloor):
10555 * floatfns.c (Ffround):
10556 * floatfns.c (Fftruncate):
10557 * fns.c (Fstring_equal):
10558 * fns.c (Fstring_lessp):
10561 * fns.c (vconcat2):
10562 * fns.c (vconcat3):
10563 * fns.c (Fsubstring):
10565 * fns.c (Fold_assoc):
10566 * fns.c (assoc_no_quit):
10568 * fns.c (Fold_assq):
10569 * fns.c (assq_no_quit):
10571 * fns.c (Fold_rassoc):
10573 * fns.c (Fold_rassq):
10574 * fns.c (rassq_no_quit):
10575 * fns.c (Fremassoc):
10576 * fns.c (remassoc_no_quit):
10577 * fns.c (Fremassq):
10578 * fns.c (remassq_no_quit):
10579 * fns.c (Fremrassoc):
10580 * fns.c (Fremrassq):
10581 * fns.c (remrassq_no_quit):
10583 * fns.c (Fplist_get):
10584 * fns.c (Fplist_put):
10585 * fns.c (Fplist_remprop):
10586 * fns.c (Fplist_member):
10587 * fns.c (Flax_plist_get):
10588 * fns.c (Flax_plist_put):
10589 * fns.c (Flax_plist_remprop):
10590 * fns.c (Flax_plist_member):
10592 * fns.c (Fold_equal):
10593 * fns.c (Frequire):
10594 * fns.c (Fbase64_encode_region):
10595 * fns.c (Fbase64_encode_string):
10596 * fns.c (Fbase64_decode_region):
10598 * frame.c (frame_matches_frame_spec):
10599 * frame.c (device_matches_device_spec):
10600 * frame.c (next_frame):
10601 * frame.c (previous_frame):
10602 * frame.c (Fnext_frame):
10603 * frame.c (Fprevious_frame):
10604 * frame.c (Fframe_property):
10605 * frame.c (Fset_frame_height):
10606 * frame.c (Fset_frame_size):
10610 * glyphs.c (decode_error_behavior_flag):
10611 * glyphs.c (Fmake_image_instance):
10612 * indent.c (Findent_to):
10613 * intl.c (Fignore_defer_gettext):
10614 * keymap.c (Fkeymapp):
10615 * keymap.c (Flookup_key):
10617 * lread.c (Fload_internal):
10618 * lread.c (Feval_buffer):
10619 * lread.c (Feval_region):
10620 * macros.c (Fexecute_kbd_macro):
10621 * marker.c (set_marker_internal):
10622 * marker.c (Fset_marker):
10623 * marker.c (set_marker_restricted):
10624 * marker.c (Fcopy_marker):
10625 * marker.c (noseeum_copy_marker):
10627 * menubar.c (Fpopup_menu):
10629 * mule-charset.c (Fcharset_name):
10630 * mule-charset.c (Fchar_charset):
10631 * mule-charset.c (Fchar_octet):
10632 * mule-charset.c (Fsplit_char):
10633 * mule-wnnfns.c (Fwnn_open):
10634 * mule-wnnfns.c (Fwnn_dict_comment):
10635 * mule-wnnfns.c (Fwnn_quit_henkan):
10636 * mule-wnnfns.c (Fwnn_word_toroku):
10637 * mule-wnnfns.c (Fwnn_word_sakujo):
10638 * mule-wnnfns.c (Fwnn_word_use):
10639 * mule-wnnfns.c (Fwnn_hindo_set):
10641 * objects.c (Fmake_color_instance):
10642 * objects.c (Fmake_font_instance):
10643 * print.c (Fwrite_char):
10645 * process.c (mark_process):
10646 * process.c (print_process):
10647 * process.c (get_process_from_usid):
10648 * process.c (Fprocessp):
10649 * process.c (Fprocess_live_p):
10650 * process.c (Fget_process):
10651 * process.c (Fget_buffer_process):
10652 * process.c (get_process):
10653 * process.c (Fprocess_id):
10654 * process.c (Fprocess_name):
10655 * process.c (Fprocess_command):
10656 * process.c (init_process_io_handles):
10657 * process.c (start_process_unwind):
10658 * process.c (Fstart_process_internal):
10659 * process.c (Fopen_multicast_group_internal):
10660 * process.c (Fset_process_window_size):
10661 * process.c (read_process_output):
10662 * process.c (send_process):
10663 * process.c (Fprocess_tty_name):
10664 * process.c (Fset_process_buffer):
10665 * process.c (Fprocess_buffer):
10666 * process.c (Fprocess_mark):
10667 * process.c (set_process_filter):
10668 * process.c (Fset_process_filter):
10669 * process.c (Fprocess_filter):
10670 * process.c (Fprocess_send_region):
10671 * process.c (Fprocess_send_string):
10672 * process.c (exec_sentinel):
10673 * process.c (Fset_process_sentinel):
10674 * process.c (Fprocess_sentinel):
10675 * process.c (status_notify):
10676 * process.c (Fprocess_status):
10677 * process.c (Fprocess_exit_status):
10678 * process.c (process_send_signal):
10679 * process.c (Fprocess_send_eof):
10680 * process.c (deactivate_process):
10681 * process.c (remove_process):
10682 * process.c (Fdelete_process):
10683 * process.c (kill_buffer_processes):
10684 * process.c (Fprocess_kill_without_query):
10685 * process.c (Fprocess_kill_without_query_p):
10687 * rangetab.c (Fget_range_table):
10688 * rangetab.c (Fput_range_table):
10689 * rangetab.c (Fremove_range_table):
10690 * rangetab.c (Fclear_range_table):
10692 * search.c (Fskip_chars_forward):
10693 * search.c (Fskip_chars_backward):
10694 * search.c (Fskip_syntax_forward):
10695 * search.c (Fskip_syntax_backward):
10696 * search.c (search_command):
10697 * search.c (Freplace_match):
10698 * search.c (Fregexp_quote):
10699 * select.c (Fown_selection_internal):
10700 * select.c (Fselection_owner_p):
10701 * select.c (Fselection_exists_p):
10702 * select.c (Fget_selection_internal):
10705 * symbols.c (Fintern):
10706 * symbols.c (Fintern_soft):
10707 * symbols.c (Funintern):
10708 * symbols.c (Fapropos_internal):
10709 * symbols.c (Fset_default):
10711 * syntax.c (Fsyntax_table_p):
10712 * syntax.c (Fcopy_syntax_table):
10713 * syntax.c (Fset_syntax_table):
10714 * syntax.c (Fchar_syntax):
10715 * syntax.c (syntax_match):
10716 * syntax.c (Fmatching_paren):
10717 * syntax.c (Fforward_word):
10718 * syntax.c (scan_lists):
10719 * syntax.c (Fscan_lists):
10720 * syntax.c (Fscan_sexps):
10721 * syntax.c (Fparse_partial_sexp):
10722 * toolbar.c (Fcheck_toolbar_button_syntax):
10725 * window.c (Fwindowp):
10726 * window.c (Fwindow_live_p):
10727 * window.c (Fwindow_point):
10728 * window.c (Fdelete_window):
10729 * window.c (Fnext_window):
10730 * window.c (Fprevious_window):
10731 * window.c (Fother_window):
10732 * window.c (window_loop):
10733 * window.c (Fget_lru_window):
10734 * window.c (Fsplit_window):
10735 * window.c (Fenlarge_window):
10736 * window.c (Fenlarge_window_pixels):
10737 * window.c (Fshrink_window):
10738 * window.c (Fshrink_window_pixels):
10739 * window.c (change_window_height):
10740 * window.c (Fwindow_configuration_p):
10741 * window.c (Fcurrent_window_configuration):
10743 * casefiddle.c (casify_object):
10744 * casefiddle.c (Fupcase):
10745 * casefiddle.c (Fdowncase):
10746 * casefiddle.c (Fcapitalize):
10747 * casefiddle.c (Fupcase_initials):
10748 * casefiddle.c (casify_region_internal):
10749 * casefiddle.c (casify_region):
10750 * casefiddle.c (Fupcase_region):
10751 * casefiddle.c (Fdowncase_region):
10752 * casefiddle.c (Fcapitalize_region):
10753 * casefiddle.c (Fupcase_initials_region):
10754 * casefiddle.c (Fupcase_word):
10755 * casefiddle.c (Fdowncase_word):
10756 * casefiddle.c (Fcapitalize_word):
10757 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10758 Replace 0 with '\0' when working with bytes.
10759 Replace initial "(" with "\(" in docstrings.
10761 2000-11-01 Martin Buchholz <martin@xemacs.org>
10763 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10765 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10767 2000-10-31 Martin Buchholz <martin@xemacs.org>
10769 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10771 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10773 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10776 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10778 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10779 (inhibit_auto_save_session): New variable.
10780 (vars_of_fileio): Declare and initialize them.
10781 * fileio.c (Fdo_auto_save): Don't create session file if
10782 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10784 2000-10-31 Martin Buchholz <martin@xemacs.org>
10786 * sgiplay.c (play_internal): C++ compilability.
10787 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10788 * callproc.c (Fold_call_process_internal):
10789 Remove unused vars `env', `first'.
10790 * scrollbar.c (update_scrollbar_instance):
10791 #### unused var `current_window'.
10792 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10793 etc. within #ifdef NOT_YET.
10794 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10795 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10796 * specifier.c (specifier_instance):
10797 #### unused var `tag'.
10798 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10800 2000-10-27 Martin Buchholz <martin@xemacs.org>
10802 * fns.c (Fbutlast):
10803 * fns.c (list_sort):
10804 * fns.c (Ffillarray):
10805 * fns.c (bytecode_nconc2):
10808 * fns.c (Fmapconcat):
10809 Be pedantically 64-bit correct. For the time when someone will
10810 want to have a list with length > 2**32.
10812 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10813 Work around MIPSpro compiler bug.
10815 * process-unix.c (unix_kill_child_process): Add snarky comment.
10816 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10818 * config.h.in: Oops, _getpt ==> _getpty
10820 2000-10-26 Martin Buchholz <martin@xemacs.org>
10824 Use void*, not char*, as return type of alloca().
10826 * alloc.c (free_marker): Side effect inside assert expression!
10828 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10830 * mule-charset.c (Fset_charset_ccl_program): To check
10831 if the given ccl program is valid, use setup_ccl_program()
10832 instead of CHECK_VECTOR().
10833 (Fmake_charset): Likewise.
10835 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10837 * faces.c (get_extent_fragment_face_cache_index):
10838 Fix cachel.merged_faces memory leak.
10840 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10842 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10843 Reset MSB of octets obtained by DECODE_SJIS
10844 because of the incompatibility with Emacs.
10845 (ccl_driver)<CCL_ENCODE_SJIS>:
10846 Set MSB of octets before passing them to
10847 ENCODE_SJIS because of the incompatibility
10850 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10852 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10853 (DECLARE_LRECORD): Undo the last change.
10854 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10856 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10858 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10859 the implementation to lrecord_implementations_table.
10861 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10863 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10864 initial value of `lrecord_type_##c_name' and
10865 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10866 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10867 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10868 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10869 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10871 2000-10-17 Martin Buchholz <martin@xemacs.org>
10873 * miscplay.c (sndcnv8S_2mono):
10874 (sndcnv2monounsigned):
10875 (sndcnvULaw_2linear):
10877 Remove implementation-defined behavior.
10879 2000-10-12 Martin Buchholz <martin@xemacs.org>
10881 * input-method-xlib.c: Warning suppression.
10883 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10885 * mule-ccl.c: Sync up with Emacs 21.0.90.
10886 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10888 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10890 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10891 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10892 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10893 leading char belongs to official 2-dimensional charset.
10894 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10895 write the given character as is. Otherwise,
10896 if it is a multibyte char, convert it by
10897 non_ascii_set_charptr_emchar, then write it.
10898 (CCL_WRITE_STRING): Likewise.
10899 (ccl_get_compiled_code): New function.
10900 (setup_ccl_program): When ccl_prog is invalid,
10902 (Fregister_code_conversion_map): New function.
10903 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10905 * mule-ccl.h: Sync up with Emacs 21.0.90.
10906 (Fregister_ccl_program): export it.
10908 * redisplay-msw.c (separate_textual_runs):
10909 If ccl program is not valid, don't do ccl conversion.
10911 * redisplay-x.c (separate_textual_runs): Ditto.
10913 * file-coding.c (Fmake_coding_system):
10914 When type is ccl and value is vector, register it
10915 with a proper symbol. And checks whether the
10916 given ccl program is valid.
10917 (mule_decode): When calling ccl_driver, if src indicates
10918 NULL pointer, set an empty string instead.
10919 (mule_encode): Likewise.
10921 2000-10-11 Martin Buchholz <martin@xemacs.org>
10923 The following large batch of changes gets us back to a state of
10924 C++ compilability. Extbyte is now a char, which means that
10925 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10927 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10929 * sound.c (Fplay_sound): Type correctness.
10931 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10932 (x_get_window_property): Type correctness.
10933 (receive_incremental_selection): unsigned char ==> Extbyte
10934 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10935 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10936 (Fx_store_cutbuffer_internal): Type correctness.
10938 * process-unix.c (try_to_initialize_subtty): Type correctness.
10940 * objects-x.c (x_print_color_instance): Type correctness.
10941 (x_print_font_instance): Type correctness.
10942 (x_list_fonts): SExtbyte ==> Extbyte.
10943 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10944 (x_find_charset_font): SExtbyte ==> Extbyte.
10945 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10946 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10947 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10948 Use bufbyte_strcmp.
10950 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10951 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10952 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10953 (BYTE_C0_P): Use bit ops for char-signedness safety.
10954 (BYTE_C1_P): Use bit ops for char-signedness safety.
10955 (CHARSET_BY_LEADING_BYTE):
10956 (CHARSET_BY_ATTRIBUTES):
10957 Always use inline function.
10958 Use type_checking_assert.
10961 * mule-charset.c (non_ascii_charptr_copy_char):
10962 Modify to work with both ASCII and non-ASCII characters.
10963 Improve docs and variable names.
10964 Replace over-clever fall-through switch with a simple loop.
10965 (Lstream_get_emchar_1):
10966 Replace over-clever fall-through switch with a simple loop.
10968 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10969 Warning suppression.
10971 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10972 the return value of Lstream_getc, which could be EOF as well.
10974 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10976 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10977 APIs can be used on Extbytes without casts. Risky!
10978 (SExtbyte): Remove.
10979 (UExtbyte): Remove.
10981 * input-method-xlib.c (XIM_init_device):
10982 Use Xlib.h instead of IntrinsicP.h.
10983 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10984 which will break in X11R7.
10985 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10986 to call XRegisterIMInstantiateCallback with correct types.
10988 * gui-x.c (button_item_to_widget_value): Type correctness.
10990 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10992 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10993 (xbm_instantiate_1): Type correctness.
10994 (BUILD_GLYPH_INST): Type correctness.
10996 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10999 (decode_coding_sjis):
11000 (decode_coding_big5):
11001 (decode_coding_ucs4):
11002 (decode_coding_utf8):
11003 (decode_coding_iso2022):
11004 (decode_coding_no_conversion):
11005 Make all decoding functions take an Extbyte * arg.
11006 (encode_coding_sjis):
11007 (encode_coding_big5):
11008 (encode_coding_ucs4):
11009 (encode_coding_utf8):
11010 (encode_coding_iso2022):
11011 (encode_coding_no_conversion):
11012 Make all encoding functions take a Bufbyte * arg.
11013 Use size_t instead of unsigned int for memory sizes.
11014 Only cast to unsigned char whenever dereferencing Extbyte *.
11016 * doc.c (unparesseuxify_doc_string): Type correctness.
11018 * console-x.c (split_up_display_spec):
11019 Rewrite without using details of internal string representation.
11020 (x_semi_canonicalize_device_connection): Type correctness.
11023 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11024 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11025 (HAVE_XFREE386): Removed.
11027 * buffer.h (DEC_CHARPTR): `const' correctness.
11028 (bufbyte_strcmp): New.
11029 (bufbyte_memcmp): New.
11031 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11033 * buffer.h (XCHAR_OR_CHAR_INT):
11034 Always use inline function.
11035 Remove redundant type checking assert() - XINT will abort quite nicely.
11037 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11039 * search.c (Freplace_match): Set newtext to an empty string.
11041 2000-10-10 Martin Buchholz <martin@xemacs.org>
11043 * s/decosf1-3.h: Remove #include of stropts.h
11044 * s/ptx.h: Remove #include of stropts.h
11045 * s/usg5-4.h: Remove #include of stropts.h
11048 Use stropts.h, not sys/stropts.h.
11049 Use strtio.h, not sys/strtio.h.
11051 2000-10-04 Martin Buchholz <martin@xemacs.org>
11053 * XEmacs 21.2.36 is released.
11055 2000-09-21 Andy Piper <andy@xemacs.org>
11057 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11058 changes still involve copying the widget tree.
11059 (update_widget_face): make sure a change is register in the widget
11060 tree. Call update_tab_widget_face appropriately.
11061 (update_tab_widget_face): ditto.
11062 (x_tab_control_redisplay): make sure non-structural changes still
11063 involve copying the widget tree.
11065 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11067 * lread.c (locate_file): Check the path element is non-nil.
11069 2000-10-02 Martin Buchholz <martin@xemacs.org>
11071 * lisp.h: Warning suppression for SCO compilers.
11073 * redisplay-tty.c (reset_tty_modes): Fix crash.
11074 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11076 2000-09-27 Martin Buchholz <martin@xemacs.org>
11078 Big signal/process handling overhaul. Bugs fixed:
11079 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11080 M-x comint-kill-subjob should work for both values nil and t of
11081 process-connection-type. It was broken on most platforms.
11082 Testing on Irix and Cygwin still needed. Other plaforms tested.
11083 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11084 * process-unix.c: Signal/Process handling overhaul.
11085 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11086 (allocate_pty): Use all available modern methods of allocating
11087 ptys, falling back to old style BSD allocation as a last resort.
11088 Use allegedly more secure Unix98 pty allocation by default.
11089 (allocate_pty_the_old_fashioned_way): New. the last resort.
11090 (unix_create_process): Push ptem, ldterm, ttcompat where
11091 available. Autoconfiscate.
11092 (try_to_initialize_subtty): New.
11093 (unix_kill_child_process): Proper signal handling for ptys on most
11094 platforms, using special knowledge of AIX, BSD, etc...
11095 (unix_create_process): Always disconnect_controlling_terminal() for
11096 subprocesses, whether using ptys or not.
11097 * process.h: Remove old getpt-dependent PTY code.
11098 * process.c (Fprocess_send_signal): New, obvious generic function.
11099 (decode_signal): New.
11100 (Finterrupt_process):
11104 (Fcontinue_process):
11105 (Fsignal_process): Use decode_signal.
11106 (process_send_signal):
11107 Many docstring corrections.
11108 Allow any signal to be sent to a process object.
11109 * config.h.in: Add symbols for big signal/process overhaul.
11110 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11111 * sysproc.h: Include process-related headers, where available:
11112 sys/stropts.h sys/strtio.h pty.h libutil.h
11120 Remove old S&M pty stuff.
11121 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11122 * systty.h: Simplify cpp hackery, improve comments.
11123 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11125 * editfns.c (Fformat_time_string):
11126 Be a little more paranoid with the return value of ctime.
11128 * fileio.c (check_executable):
11130 Use symbolic constants X_OK, W_OK.
11132 * console-x.c (split_up_display_spec): Fix a warning.
11134 2000-10-02 Martin Buchholz <martin@xemacs.org>
11136 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11137 * ntproc.c (sys_spawnve): make_string ==> build_string
11138 Small clarity improvements.
11140 2000-09-30 Martin Buchholz <martin@xemacs.org>
11142 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11144 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11146 * config.h.in (HAVE_STRCASECMP): Remove.
11148 2000-09-29 Martin Buchholz <martin@xemacs.org>
11150 * redisplay-output.c (redisplay_output_pixmap):
11151 Cleaner and possibly more 64-bit correct code.
11153 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11155 * dumper.c (pdump_load_finish): move restoration of
11156 `noninteractive1' to emacs.c (main_1).
11157 * emacs.c (main_1): protect LISP-visible command-line flags
11160 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11162 * Makefile.in.in (versionclean): Use EXE_TARGET and
11163 DUMP_TARGET instead of literal program names.
11165 2000-09-20 Martin Buchholz <martin@xemacs.org>
11167 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11169 2000-09-19 Martin Buchholz <martin@xemacs.org>
11171 * *: Spelling mega-patch
11173 2000-09-19 Martin Buchholz <martin@xemacs.org>
11175 * fns.c (bad_bad_turtle):
11176 Delete "Eek!" comment, since we fixed the bug to which it refers.
11178 2000-09-16 Martin Buchholz <martin@xemacs.org>
11180 * alloca.c: Replace REGISTER with register.
11182 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11184 * file-coding.c (ucs_to_char): Use countof.
11186 2000-09-16 Martin Buchholz <martin@xemacs.org>
11188 * file-coding.c: (ucs_to_char):
11189 (complex_vars_of_file_coding):
11190 Use countof instead of sizeof.
11191 Use CHECK_NATNUM instead of CHECK_INT.
11193 * sysdep.c (strcasecmp): Remove.
11194 * device-x.c (ascii_strcasecmp): New.
11195 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11196 Avoid using non-standard non-portable strcasecmp.
11198 2000-09-16 Martin Buchholz <martin@xemacs.org>
11200 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11201 * font-lock.c: remove reference to emacsfns.h.
11202 * search.c: small doc improvement.
11203 * event-Xt.c: correct file names in comments.
11204 * console-x.h Correct file names in comments.
11205 * frame.c: Correct file names in comments.
11206 * event-stream.c: remove Energize from comments.
11208 2000-09-15 Martin Buchholz <martin@xemacs.org>
11210 * symeval.h (DEFERROR_STANDARD):
11213 (DEFSYMBOL_NO_DUMP):
11214 (DEFSYMBOL_MULTIWORD_PREDICATE):
11215 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11217 The construct &##name is not sensible C.
11218 Fixes compilation errors with Unixware native compiler.
11220 2000-09-14 Martin Buchholz <martin@xemacs.org>
11222 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11223 (next_frame_internal): Removed. We now just have next_frame.
11225 Write a simpler and cleaner one-pass algorithm.
11226 Remove called_from_delete_device arg and #ifdefed-out code.
11228 Renamed from prev_frame. Update callers.
11229 Cleaned up to have an analogous implementation to next_frame.
11230 (other_visible_frames_internal): Remove the
11231 called_from_delete_device bogus arg, and hence, remove this
11232 function. Just use other_visible_frames().
11234 * window.c (Fnext_window):
11235 Prettify docstring.
11236 Since next_frame() is guaranteed to return a frame, remove check
11237 for nil inserted in previous patch.
11238 (Fprevious_window):
11239 Prettify docstring.
11240 Make code look more like Fnext_window.
11242 Respect the `console' arg when iterating through windows.
11243 Fixes bug: (get-buffer-window buffer t device) not respecting
11245 This function needs more work, as others have pointed out.
11247 * frame.h: Rename prev_frame to previous_frame.
11248 device_matches_console_spec no longer takes a `frame' arg.
11253 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11254 From "Golubev I. N." <gin@mo.msk.ru>.
11256 * make-src-depend: Fix typo.
11258 2000-09-13 Martin Buchholz <martin@xemacs.org>
11260 * window.c (Fnext_window):
11261 next_frame() might return nil, not a frame.
11263 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11265 * frame.c (next_frame_internal):
11266 We've passed a frame if we've passed its device.
11268 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11269 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11271 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11273 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11274 Allow option to suppress accelerators in menu/dialog items.
11275 (populate_or_checksum_helper): Pass dialog title through above.
11277 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11279 * event-msw.c (mswindows_key_to_emacs_keysym):
11280 Add "pause" key, fix "menu" key.
11282 2000-09-09 Martin Buchholz <martin@xemacs.org>
11284 * eval.c (reinit_vars_of_eval):
11285 Increase max_lisp_eval_depth to 1000,
11286 required for thai-xtis.el to byte-compile under some circumstances.
11288 2000-09-04 Martin Buchholz <martin@xemacs.org>
11290 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11291 From Kenichi Handa.
11293 2000-09-01 Martin Buchholz <martin@xemacs.org>
11295 * make-src-depend: Make the generated Makefiles smaller.
11297 * s/hpux.h (SETUP_SLAVE_PTY):
11298 Provide a %d in the format string for the errno argument.
11300 * editfns.c (Ftemp_directory):
11302 Avoid buffer overrun on very long file name.
11304 * input-method-xlib.c (XIM_init_device):
11305 6th parameter of XRegisterIMInstantiateCallback has different
11306 pointer types on different OSes, so simply cast to (void *).
11308 * unexhp9k800.c: Warning fixes. Fiddly changes.
11310 * sysdll.c (dll_open):
11311 shl_load will hang hard if passed a NULL filename.
11312 Simply return NULL for compatibility with dlopen.
11313 * sysdll.c: Conform to XEmacs coding standards.
11315 * sysdep.c (get_pty_max_bytes):
11316 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11318 2000-08-31 Martin Buchholz <martin@xemacs.org>
11320 * tooltalk.c: Add #include <syssignal.h>
11322 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11324 * s/hpux.h: Don't use undefined function sigunblock().
11326 2000-08-31 Martin Buchholz <martin@xemacs.org>
11328 * config.h.in: Add HAVE_BALLOON_HELP.
11329 * emacs.c: Use HAVE_BALLOON_HELP.
11330 * Makefile.in.in (x_objs):
11331 Make Balloon Help conditional on finding shape.h.
11333 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11335 * syntax.c (regex_emacs_buffer_p): New variable.
11336 * syntax.h (regex_emacs_buffer_p): extern.
11337 * search.c (looking_at_1):
11339 (fast_string_match):
11340 (search_buffer): Set regex_emacs_buffer_p.
11341 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11342 when before_dot, at_dot, after_dot.
11344 2000-08-23 Andy Piper <andy@xemacs.org>
11346 * gui-x.c (popup_selection_callback): Only set action_occurred
11347 when we really have an image instance.
11348 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11350 2000-08-23 Andy Piper <andy@xemacs.org>
11352 * gui-msw.c (mswindows_handle_gui_wm_command): set
11354 * gui-x.c (popup_selection_callback): ditto.
11356 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11357 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11358 (struct Lisp_Image_Instance): add action_occurred flag.
11360 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11361 (image_instance_changed): ditto.
11362 (reset_frame_subwindow_instance_cache): only unmap windows - do
11363 not remove them from the cache also.
11365 * glyphs-widget.c (tab_control_update): better debug.
11366 (progress_gauge_update): ditto.
11367 (layout_update): ditto.
11368 (layout_instantiate): ditto.
11369 (tab_control_order_only_changed): cope with null pending items.
11371 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11372 debug. Force selection of an item when an action occurred. Cope
11373 with null pending_items.
11374 (mswindows_progress_gauge_redisplay): better debug.
11375 * glyphs-x.c (x_tab_control_redisplay): ditto.
11377 * redisplay.c (redisplay_frame): reset the frame cache if the
11380 * window.c (Fset_window_configuration): potentially re-enable
11382 (window_unmap_subwindows): need to finalize instances here since
11383 it is only used in mark_window_as_deleted.
11385 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11387 * nas.c (SndOpenDataForReading):
11388 nas.c (WaveOpenDataForReading):
11389 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11390 Somehow escaped from the 2000-08-14 patch.
11392 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11394 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11395 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11397 2000-08-21 Andy Piper <andy@xemacs.org>
11399 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11400 window if it is not already displayed.
11402 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11403 it is not already displayed.
11405 * window.c (Fset_window_configuration): don't reset the frame
11408 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11409 instances from the frame cache if we are actually finalizing them.
11410 (reset_frame_subwindow_instance_cache): reset frame cache only
11411 after unmapping everything.
11412 (map_subwindow): set displayed flag after mapping.
11414 2000-08-21 Martin Buchholz <martin@xemacs.org>
11416 * data.c (indirect_function):
11417 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11419 * eval.c (function_argcount):
11420 Use original function when signaling errors.
11422 2000-08-18 Andy Piper <andy@xemacs.org>
11424 * frame.c (delete_frame_internal): use new
11425 free_frame_subwindow_instances name.
11427 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11428 (add_tab_item): make return type correct.
11429 (mswindows_tab_control_instantiate): assert index of tab.
11430 (mswindows_tab_control_redisplay): Re-code to use
11431 gui_item_equal_sans_selected and gui_item_list_find_selected.
11433 * glyphs-widget.c (tab_control_update): Correct comment.
11435 * window.c (window_unmap_subwindows): use new
11436 unmap_subwindow_instance_cache_mapper.
11437 (window_unmap_subwindows_cache_mapper): deleted.
11438 (Fset_window_configuration): comparisons should now be with
11439 EQ. Preserve the subwindow instance cache across configuration
11441 (allocate_window): ditto.
11442 (make_dummy_parent): ditto.
11444 * glyphs.c (free_frame_subwindow_instances): rename from
11445 free_frame_subwindow_instance_cache. finalize all instances rather
11446 than just those in the display cache.
11447 (finalize_all_subwindow_instances): walk windows unmapping and
11448 finalizing subwindows.
11449 (unmap_subwindow_instance_cache_mapper): moved from
11450 window.c. Allow finalization as well as unmapping.
11452 * gui.c (gui_item_list_find_selected): new function.
11454 * gui.h (gui_item_list_find_selected): declare.
11456 * glyphs-x.c (x_tab_control_redisplay): pick tab
11457 explicitly. Re-code to use gui_item_equal_sans_selected and
11458 gui_item_list_find_selected.
11460 * glyphs-x.h: add lwlib-utils.h
11462 * buffer.c (Frecord_buffer): undo previous change.
11464 2000-08-09 Vin Shelton <acs@xemacs.org>
11466 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11467 possible. Create temporary files more securely. The patch was
11468 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11469 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11470 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11473 2000-08-07 Ben Wing <ben@xemacs.org>
11475 * getloadavg.c: remove duplicate (and windows-breaking)
11476 includes of fcntl.h and sys/file.h.
11478 * nt.c: remove duplicate getloadavg() definition.
11480 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11483 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11485 * eval.c (function_argcount): If function needs to be autoloaded
11486 actually use the loaded definition.
11489 2000-08-05 Ben Wing <ben@xemacs.org>
11491 * getloadavg.c: add prototype for getloadavg(). remove
11492 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11493 of the code). remove duplicate header includes.
11495 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11497 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11498 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11499 useful load average.
11501 * alloc.c (reinit_alloc_once_early): removed references to
11502 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11503 the lisp vars are the only things referencing the malloc_sbrk_*
11504 vars, and they were already if 0'd out. these vars only exist
11505 in the older malloc.c, which is basically unused, and they're
11506 only for informational purposes.
11508 * m\*.h: removed useless VIRT_ADDR_VARIES.
11510 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11512 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11514 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11515 color if the image is a mono pixmap.
11517 2000-07-30 Ben Wing <ben@xemacs.org>
11519 * Makefile.in.in (release):
11522 * buffer.c (directory_is_current_directory):
11523 * dired-msw.c (mswindows_get_files):
11525 * dired.c (Fdirectory_files):
11526 * dired.c (file_name_completion_stat):
11527 * dired.c (Ffile_attributes):
11528 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11529 preprocessor tricks, to avoid problems on some machines
11532 * callproc.c (egetenv): GC docs.
11535 * console-msw.h (struct mswindows_dialog_id):
11536 * lrecord.h (lrecord_type):
11537 New object for use with MSW dialogs.
11539 * console.h (struct console_methods):
11540 New enable/disable frame methods, for proper modal dialogs.
11542 * device-msw.c (msprinter_default_printer): Fix to follow
11543 proper Mule conventions.
11546 * device-msw.c (signal_open_printer_error):
11547 * device-msw.c (msprinter_init_device):
11548 * device-msw.c (ensure_not_printing):
11549 * device-msw.c (plist_get_margin):
11550 * device-msw.c (Fmsprinter_select_settings):
11551 * device-msw.c (finalize_devmode):
11552 * device-msw.c (Fmsprinter_settings_despecialize):
11553 * device-msw.c (signal_enum_priner_error):
11554 * extents.c (decode_extent):
11555 * extents.c (decode_map_extents_flags):
11556 * extents.c (decode_extent_at_flag):
11557 * extents.c (Fextent_at):
11558 * extents.c (Fextents_at):
11559 * extents.c (symbol_to_glyph_layout):
11560 [[[[2]]]] Use structured errors.
11563 * dialog-msw.c (mswindows_is_dialog_msg):
11564 * dialog-msw.c (mark_mswindows_dialog_id):
11565 * dialog-msw.c (dialog_proc):
11566 * dialog-msw.c (handle_question_dialog_box):
11567 * dialog-msw.c (syms_of_dialog_mswindows):
11568 Define new object to clean up marking; use it as a dialog identifier.
11569 Call new delete-dialog-box-hook.
11571 * dialog-x.c (dbox_selection_callback):
11572 * dialog-x.c (dbox_descriptor_to_widget_value):
11573 * dialog-x.c (x_make_dialog_box_internal):
11574 Call new delete-dialog-box-hook.
11578 * dialog.c (syms_of_dialog):
11579 * dialog.c (vars_of_dialog):
11580 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11583 * eval.c (signal_call_debugger):
11584 when noninteractive, output stack traces on the console instead
11585 of in a (never-seen) buffer.
11587 * eval.c (signal_type_error):
11588 * eval.c (invalid_argument_2):
11590 new funs for use w/structured errors.
11593 * event-Xt.c (x_to_emacs_keysym):
11594 * event-Xt.c (describe_event):
11595 * event-Xt.c (emacs_Xt_event_handler):
11596 * event-Xt.c (vars_of_event_Xt):
11598 * event-msw.c (mswindows_wnd_proc):
11599 * event-msw.c (vars_of_event_mswindows):
11600 rename {x,mswindows}-debug-events to debug-{}-events for
11601 consistency with other debug-foo variables.
11604 document next-event more clearly.
11606 * fileio.c (Ffile_name_directory):
11607 * fileio.c (Ffile_name_nondirectory):
11608 * fileio.c (Funhandled_file_name_directory):
11609 * fileio.c (file_name_as_directory):
11610 * fileio.c (Ffile_name_as_directory):
11611 * fileio.c (directory_file_name):
11612 * fileio.c (Fdirectory_file_name):
11613 * fileio.c (Fmake_temp_name):
11614 * fileio.c (Ffile_truename):
11615 * fileio.c (Fsubstitute_in_file_name):
11616 * fileio.c (expand_and_dir_to_file):
11617 * fileio.c (barf_or_query_if_file_exists):
11618 * fileio.c (check_executable):
11619 * fileio.c (Ffile_exists_p):
11620 * fileio.c (Ffile_writable_p):
11621 * fileio.c (Ffile_directory_p):
11622 * fileio.c (Ffile_regular_p):
11623 * fileio.c (Ffile_modes):
11624 * fileio.c (Ffile_newer_than_file_p):
11625 * fileio.c (Fverify_visited_file_modtime):
11626 * fileio.c (Fset_visited_file_modtime):
11627 * fileio.c (auto_save_1):
11632 * frame-msw.c (mswindows_init_frame_1):
11633 * frame-msw.c (mswindows_enable_frame):
11634 * frame-msw.c (error_frame_unsizable):
11635 * frame-msw.c (msprinter_init_frame_1):
11636 * frame-msw.c (msprinter_init_frame_3):
11637 * frame-msw.c (console_type_create_frame_mswindows):
11639 implement new enable/disable frame methods.
11642 * frame-x.c (x_enable_frame):
11643 * frame-x.c (console_type_create_frame_x):
11644 implement new enable/disable frame methods.
11647 * frame.c (Fdisable_frame):
11648 * frame.c (syms_of_frame):
11649 * frame.h (struct frame):
11650 implement new enable/disable frame methods/functions.
11655 * glyphs-msw.c (mswindows_widget_instantiate):
11656 comment that initial-focus should be implemented.
11659 * glyphs-widget.c (check_valid_instantiator):
11660 * glyphs-widget.c (check_valid_orientation):
11661 * glyphs-widget.c (check_valid_tab_orientation):
11662 * glyphs-widget.c (check_valid_justification):
11663 * glyphs-widget.c (check_valid_border):
11664 * glyphs-widget.c (check_valid_callback):
11665 * glyphs-widget.c (check_valid_int_or_function):
11666 * glyphs-widget.c (check_valid_string_or_vector):
11667 * glyphs-widget.c (check_valid_item_list_1):
11668 * glyphs-widget.c (widget_validate):
11669 * glyphs-widget.c (combo_box_validate):
11670 * glyphs-widget.c (widget_instantiate):
11671 * glyphs-widget.c (syms_of_glyphs_widget):
11672 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11673 * glyphs-widget.c (image_instantiator_combo_box):
11674 * glyphs-widget.c (image_instantiator_scrollbar):
11675 * glyphs-widget.c (image_instantiator_tab_control):
11676 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11678 support (unimplemented) keyword initial-focus.
11679 reindent long macros.
11681 * glyphs-x.c (x_redisplay_widget):
11682 * glyphs-x.c (x_button_instantiate):
11683 * glyphs-x.c (x_button_redisplay):
11684 * glyphs-x.c (x_progress_gauge_instantiate):
11685 * glyphs-x.c (x_edit_field_instantiate):
11686 * glyphs-x.c (x_combo_box_instantiate):
11687 * glyphs-x.c (x_tab_control_instantiate):
11688 * glyphs-x.c (x_label_instantiate):
11690 * gui-x.c (button_item_to_widget_value):
11691 * gui-x.c (gui_items_to_widget_values_1):
11692 * gui-x.c (gui_item_children_to_widget_values):
11693 * gui-x.c (gui_items_to_widget_values):
11695 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11696 add new flag to gui-parsing routines to indicate whether
11697 accelerator specs should be supported.
11699 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11701 * glyphs.h (struct Lisp_Image_Instance):
11702 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11703 add initial-focus flag.
11706 * gui.c (syms_of_gui):
11707 * gui.c (vars_of_gui):
11708 clean up menu-no-selection-hook.
11711 support delete-dialog-box-hook.
11713 * lread.c (Fload_internal):
11714 * lread.c (locate_file_in_directory_mapper):
11718 * lrecord.h (struct toolbar_button):
11719 * lrecord.h (syms_of_toolbar):
11720 document how to create a new object.
11722 * menubar-msw.c (mswindows_char_is_accelerator):
11723 may be called on frames w/o menus.
11725 * menubar.c (vars_of_menubar):
11726 clean up :filter docs.
11733 * process-nt.c (validate_signal_number):
11734 * process-nt.c (signal_cannot_launch):
11735 * process-nt.c (nt_create_process):
11736 * process-nt.c (nt_send_process):
11737 * process-nt.c (nt_kill_child_process):
11738 * process-nt.c (nt_open_network_stream):
11739 * process-nt.c (syms_of_process_nt):
11741 delete quote-handling. call new lisp code that does it better.
11743 * process-unix.c (connect_to_file_descriptor):
11744 * process-unix.c (allocate_pty):
11745 * process-unix.c (unix_send_process):
11746 * process-unix.c (unix_kill_child_process):
11747 * process-unix.c (unix_open_network_stream):
11748 * process-unix.c (unix_open_multicast_group):
11752 * process.c (Fstart_process_internal):
11753 (2). need to canonicalize process path even if absolute.
11755 * select-msw.c (symbol_to_ms_cf):
11756 * select-msw.c (ms_cf_to_symbol):
11757 * select-msw.c (cf_is_autofreed):
11758 * select-msw.c (mswindows_destroy_selection):
11760 * select.c (syms_of_select):
11762 support dibv5, fix bugs. (from Mike Alexander)
11764 * select.c (Fget_selection_internal):
11765 * select.c (select_convert_out):
11768 * sysdep.c (xemacs_stat):
11771 * sysdep.c (mkdir):
11772 * sysdep.c (rmdir):
11773 but keep original stat() here because we provide encapsulation
11777 * sysfile.h (fstat):
11778 remove stat garbage.
11781 fix X/MSW conflict.
11782 don't include tchar.h. it's inappropriate because it makes
11783 compile-time distinctions when we want runtime distinctions.
11784 (we provide our own tchar replacements)
11787 use default object printer for toolbar-button.
11790 make sure we don't encapsulate.
11792 * window.c (vars_of_window):
11793 emphasize that temp-buffer-show-hook is obsolete.
11795 2000-08-05 Martin Buchholz <martin@xemacs.org>
11797 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11798 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11800 * events.c (Fevent_timestamp_lessp):
11801 Not 64-bit clean. Use EMACS_INT, not int.
11803 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11805 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11806 unsigned int and changed the last enum to
11807 lrecord_type_last_built_in_type.
11808 (lrecord_implementations_table): changed prototype to know how
11809 long the array is supposed to be.
11810 (lrecord_type_count): new unsigned int to keep track of the
11811 current number of lisp lrecord types.
11812 (DEFINE_EXTERNAL_LRECORD):
11813 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11814 dynamic-modules to declare new lisp types. They are the same
11815 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11816 int for each new type, and increment lrecord_type_count by 1.
11818 * alloc.c (lrecord_implementations_table): Changed to reference
11819 lrecord_type_last_built_in_type for the size of the array.
11820 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11822 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11824 * glyphs.h (check_valid_item_list): Renamed from
11825 check_valid_item_list_1.
11827 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11829 * select.c (Qselect_coerce): New.
11830 * select.c (Vselection_coercion_alist): New.
11831 * select.c (syms_of_select): Declare.
11832 * select.c (get-selection-internal): Use it.
11833 Use the new select-coerce functionality.
11835 * select.c (select_coerce): New.
11836 * select.h (select_coerce): Declare.
11837 New function to coerce one type of data into another.
11839 2000-08-03 Martin Buchholz <martin@xemacs.org>
11841 * callproc.c (Fcall_process_internal):
11842 (Fcall_process_internal):
11843 * process-unix.c (unix_create_process):
11844 Save and restore the value of errno, so that error messages are accurate.
11846 2000-08-01 Martin Buchholz <martin@xemacs.org>
11848 * elhash.c (print_hash_table):
11849 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11850 Prettify docstrings and indentation.
11852 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11854 * window.c (Fwindow_pixel_edges): Subtract frame border and
11857 2000-07-31 Andy Piper <andy@xemacs.org>
11859 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11860 will acknowledge the change.
11862 * glyphs.h: declare tab_control_order_only_changed.
11864 * glyphs-x.c (x_tab_control_redisplay): use
11865 tab_control_order_only_changed.
11867 * glyphs-widget.c (tab_control_order_only_changed): new function.
11869 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11870 tab_control_order_only_changed.
11872 * gui.c (gui_item_equal_sans_selected): new function.
11873 (gui_item_equal): use it.
11875 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11876 :properties in favor of :items..
11878 * glyphs-widget.c (check_valid_item_list): rename from
11879 check_valid_item_list_1.
11880 (check_valid_item_list_1): renamed.
11881 (combo_box_validate): deprecate :properties in favor of :items.
11882 (widget_instantiate): ditto.
11883 (tab_control_update): ditto.
11884 (image_instantiator_combo_box): ditto.
11885 (image_instantiator_tree_view): ditto.
11886 (image_instantiator_tab_control): ditto.
11887 (layout_post_instantiate): remove dead code.
11889 * print.c (debug_print_no_newline): only write to debugger if in
11892 * elhash.c (Fmake_hash_table): update doc string.
11894 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11895 messages whilst in GC. This at least stops XEmacs crashing but has
11896 the potential for wierd behaviour.
11898 2000-07-31 Martin Buchholz <martin@xemacs.org>
11901 Make existence of s&m files optional.
11903 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11904 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11905 * s/gnu.h: Remove HAVE_GETLOADAVG.
11906 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11907 * s/sol2.h: Remove HAVE_GETLOADAVG.
11908 * lisp.h: Remove getloadavg() declaration.
11910 Include <sys/loadavg.h> if available.
11911 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11912 * config.h.in: Group together getloadavg()-related macros.
11913 Use only configure-time tests to detect getloadavg().
11915 2000-07-30 Martin Buchholz <martin@xemacs.org>
11917 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11919 2000-07-25 Andy Piper <andy@xemacs.org>
11921 * syswindows.h: add tchar.h for native builds.
11923 * frame.c (syms_of_frame): remove set-glyph-image.
11925 * general-slots.h: add Qset_glyph_image.
11927 * glyphs-widget.c (layout_update): add domain arg to
11929 (syms_of_glyphs_widget): remove set-glyph-image.
11931 2000-07-23 Ben Wing <ben@xemacs.org>
11933 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11936 2000-07-22 Andy Piper <andy@xemacs.org>
11938 * symsinit.h: add syms_of_win32().
11940 * gui-msw.c (syms_of_gui_mswindows): remove
11941 Fmswindows_shell_execute.
11942 (Fmswindows_shell_execute): moved to win32.c.
11944 * emacs.c (main_1): add syms_of_win32 ().
11946 * win32.c (init_potentially_nonexistent_functions): rewrite in
11947 compiler-friendly terms.
11948 (Fmswindows_shell_execute): move here from gui-msw.c.
11949 (syms_of_win32): new.
11951 * device-msw.c (Fmswindows_printer_list): clean up args to
11953 Don't include tchar under cygwin or mingw.
11954 (msprinter_default_printer): make cygwin-friendly.
11956 2000-07-21 Andy Piper <andy@xemacs.org>
11958 * glyphs-widget.c (image_instantiator_tree_view): use tab
11959 control's update function.
11960 (layout_property): new function. Retrieve items.
11962 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11963 function. Re-populate the tree view from the pending items.
11965 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11966 is designated the parent if the domain is an image instance. This
11967 is needed so that dirtiness can be cascade up the hierarchy and
11968 thus for layout children to be redisplayed correctly.
11969 (allocate_image_instance): rename glyph -> parent.
11971 * redisplay.h: change redisplay_output_layout signature.
11973 * redisplay-msw.c (mswindows_output_display_block): use domain
11976 * redisplay-x.c (x_output_display_block): use domain arg.
11978 2000-07-10 Andy Piper <andy@xemacs.org>
11980 * window.c (Fset_window_configuration): add comment.
11982 * redisplay-output.c (compare_runes):
11983 (redisplay_output_subwindow): redisplay rather than update subwindow.
11984 (redisplay_output_layout): ditto.
11986 * redisplay-msw.c (mswindows_frame_output_end):
11987 (mswindows_frame_output_end): make defer window pos optional.
11989 * lisp.h: add Flast.
11991 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11992 normalize method. Change update method to be for changed
11993 instantiators. Add redisplay method. Change signature of layout
11995 (struct Lisp_Image_Instance): add instantiator.
11996 (IMAGE_INSTANCE_INSTANTIATOR): new.
11997 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11998 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11999 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12002 (find_instantiator_differences): new function.
12003 (Fset_instantiator_property): new convenience function.
12004 (check_image_instance_structure): strictly check for vector
12006 (normalize_image_instantiator): make non-static.
12007 (instantiate_image_instantiator): pass on dest_mask and use new
12008 signatures for image_instance_layout and friends.
12009 (mark_image_instance): mark the instantiator. Mark the subwindow
12010 face not the widget face.
12011 (image_instance_equal): add instantiator.
12012 (image_instance_hash): ditto.
12013 (allocate_image_instance): ditto.
12014 (Fset_image_instance_property): removed.
12015 (Fimage_instance_file_name): ditto.
12016 (Fcolorize_image_instance): ditto.
12017 (image_instance_layout): add offsets to be set.
12018 (update_image_instance): new function. update an image instance
12019 from its changed instantiator.
12020 (inherit_normalize): add dest_mask.
12021 (xbm_normalize): ditto.
12022 (xface_normalize): ditto.
12023 (xpm_normalize): ditto.
12024 (text_update): set_property -> update.
12025 (image_instantiate): use the glyph identity as a hash key, not the
12027 (glyph_width): use new image_instance_layout signature.
12028 (glyph_ascent): ditto.
12029 (glyph_descent): ditto.
12030 (glyph_height): ditto.
12031 (glyph_query_geometry): ressurrect.
12032 (glyph_layout): ditto.
12033 (redisplay_subwindow): update -> redisplay.
12034 (syms_of_glyphs): add Fset_instantiator_property.
12035 (image_instantiator_format_create): set_property -> update.
12038 (autodetect_normalize): add dest_maks to signature.
12039 (x_redisplay_subwindow): update -> redisplay.
12040 (x_redisplay_widget): ditto.
12041 (x_button_redisplay): ditto.
12042 (x_progress_gauge_redisplay): ditto.
12043 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12045 (console_type_create_glyphs_x): update -> redisplay.
12046 (image_instantiator_format_create_glyphs_x): ditto.
12049 (check_valid_instantiator): disallow glyphs in the instantiator,
12050 they must now be vectors.
12051 (check_valid_instantiator_list): ditto.
12052 (glyph_instantiator_to_glyph): use internal symbol rather than
12054 (widget_update): renamed from widget_set_property. Call cascaded
12056 (redisplay_widget): renamed from update_widget.
12057 (widget_layout): image_instance_layout now takes position as well
12059 (widget_normalize): ditto.
12060 (widget_instantiate): ditto.
12061 (tab_control_query_geometry) ditto.:
12062 (tab_control_update): renamed from tab_control_set_property.
12063 (progress_gauge_update): set_property -> update.
12064 (layout_normalize): rewrite so that child instantiators are
12066 (layout_update): new function. Create glyphs from the normalized
12067 children and cope with any other layout keywords. We do not
12068 instantiate children here that will be take care of by
12069 redisplay_output_layout.
12070 (layout_instantiate): call layout_update and not much else.
12071 (layout_post_instantiate): not sure whether this is needed
12073 (layout_query_geometry): query glyph geometry rather than
12074 image_instance geometry.
12075 (layout_layout): set offsets from pass in parameters. Use glyph
12076 geometry and layout functions rather than image instance ones.
12077 (native_layout_layout): ditto.
12078 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12079 (image_instantiator_widget): set_property -> update.
12080 (image_instantiator_buttons): ditto.
12081 (image_instantiator_progress_guage): ditto.
12082 (image_instantiator_tab_control): ditto.
12083 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12084 (image_instantiator_layout): add update method.
12086 * glyphs-msw.c (bmp_normalize):
12087 (mswindows_resource_normalize): add dest_mask so that it can be
12088 proprogated by layout_normalize.
12089 (begin_defer_window_pos): make optional because it may not be the
12090 right thing to do and it introduces differences with X.
12091 (mswindows_unmap_subwindow): ditto.
12092 (mswindows_map_subwindow): ditto.
12093 (mswindows_redisplay_subwindow): renamed from
12094 mswindows_update_subwindow.
12095 (mswindows_redisplay_widget): ditto.
12096 (mswindows_button_redisplay): renamed from
12097 mswindows_button_update. Update is now what the instantiation
12098 function does for a changed instantiator.
12099 (mswindows_progress_gauge_instantiate): set the progress value
12100 here if appropriate.
12101 (mswindows_tab_control_redisplay): cope with re-ordering of the
12102 members of the tab widget by simply selecting the new top
12103 widget. This makes things appear ok if you click on a tab.
12104 (mswindows_combo_box_instantiate): image_instance_layout now takes
12105 position as well as size.
12106 (mswindows_progress_gauge_redisplay): renamed from
12107 mswindows_progress_gauge_update.
12108 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12109 (image_instantiator_format_create_glyphs_mswindows): ditto.
12111 * glyphs-eimage.c (jpeg_normalize):
12114 (tiff_normalize): add dest_mask so that it can be proprogated by
12118 (print_hash_table):
12119 (hash_table_weakness_validate):
12120 (decode_hash_table_weakness):
12121 (Fhash_table_weakness):
12122 (Fhash_table_type):
12123 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12125 * console.h (struct console_methods): move update_* to
12128 2000-07-20 Ben Wing <ben@xemacs.org>
12130 * *.[ch] (XSETOBJ): remove unused middle argument.
12131 lisp-disunion.h: correct wrap_object() to one argument.
12133 2000-07-15 Ben Wing <ben@xemacs.org>
12136 * s/cygwin32.h (CYGWIN_CONV_PATH):
12137 Add missing logb prototype for v1.1.
12138 Use post-b20 names and alias to pre-b20 names when pre-b20.
12140 * s/windowsnt.h: [5].
12142 2000-07-15 Ben Wing <ben@xemacs.org>
12144 * Makefile.in.in (x_objs):
12145 * Makefile.in.in (sheap_objs):
12146 * Makefile.in.in (objs):
12147 added win32.o, cosmetic cleanups.
12149 * alloc.c (Fmake_byte_code):
12150 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12151 etc. macros which declare their own args now.
12153 * alloc.c (syms_of_alloc):
12154 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12157 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12159 * buffer.c (Fget_file_buffer):
12160 Fixed GCPRO problem.
12162 * buffer.c (get_truename_buffer):
12163 Fixed comment about GC checking.
12165 * buffer.c (syms_of_buffer):
12166 Undeclared those dedicated frame funs.
12170 Define convenience macros for internal/external conversions.
12171 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12172 and Qenvironment_variable_encoding for cleaner code.
12175 Remove dedicated-frame; in lisp.
12177 * bytecode.c (funcall_compiled_function):
12180 * bytecode.c (syms_of_bytecode):
12184 * console-msw.c (mswindows_show_console): Rewrote.
12186 * console-msw.c (Fmswindows_debugging_output): New.
12187 Sends to OutputDebugString (special MSWin debugger interface).
12189 * console-msw.c (Fmswindows_message_box):
12190 Fixed stupid bugs so it works when called from kill-emacs.
12192 * console-msw.c (syms_of_console_mswindows):
12193 Declare Fmswindows_debugging_output.
12196 New MSWin prototypes.
12198 * console-msw.h (struct mswindows_frame):
12199 New entry last-click-mods for improved button-modifier support.
12201 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12202 New struct entry `popup' with corresponding accessor.
12205 * console-x.c (split_up_display_spec):
12206 * console-x.c (get_display_arg_connection):
12207 * console-x.c (x_semi_canonicalize_console_connection):
12208 * console-x.c (x_canonicalize_device_connection):
12209 [[[6]]]: Change char to more specific type.
12210 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12212 * console-x.c (x_semi_canonicalize_console_connection):
12213 * console-x.c (x_canonicalize_device_connection):
12214 [[[9]]]: Fix up error signalling to use new structured error system.
12217 [[[4]]]: Define codesys aliases:
12218 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12219 Qx_color_name_encoding, Qx_display_name_encoding.
12221 * console.h (struct console_methods):
12222 New method make_dialog_box_internal supersedes older
12223 popup_dialog_box method.
12226 Define many new errors, part of new structured errors.
12228 * data.c (init_errors_once_early):
12229 * data.c (syms_of_data):
12232 * device-msw.c (mswindows_init_device):
12233 [[[5]]]: Cleanup to support NT 3.51.
12235 * device-msw.c (decode_devmode): Cleanup.
12237 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12238 * device-msw.c (mswindows_handle_print_dialog_box):
12239 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12240 * device-msw.c (syms_of_device_mswindows):
12241 Delete the dialog box primitives recently introduced by Kirill and
12242 instead interface to general dialog box interface.
12245 * device-x.c (compute_x_app_name):
12246 * device-x.c (x_init_device):
12247 * device-x.c (Fx_valid_keysym_name_p):
12248 * device-x.c (Fx_set_font_path):
12252 * device.h (wrap_device): New.
12253 First of its kind; meant to replace XSETDEVICE.
12255 * dialog-msw.c: Many file-dialog symbols.
12257 * dialog-msw.c (mswindows_register_popup_frame): New.
12258 * dialog-msw.c (mswindows_is_dialog_msg): New.
12259 For supporting kbd traversal in dialog boxes.
12261 * dialog-msw.c (dialog_proc):
12262 Support hitting ESC in dialogs.
12264 * dialog-msw.c (struct):
12265 Common dialog box errors.
12267 * dialog-msw.c (handle_file_dialog_box): New.
12268 Add file dialog code.
12270 * dialog-msw.c (handle_question_dialog_box):
12271 Redo existing code to support new question dialog syntax.
12273 * dialog-msw.c (console_type_create_dialog_mswindows):
12274 We support new dialog console method.
12276 * dialog-msw.c (syms_of_dialog_mswindows):
12277 * dialog-msw.c (vars_of_dialog_mswindows):
12278 New file dialog symbols, vars.
12281 * dialog-x.c (maybe_run_dbox_text_callback):
12282 * dialog-x.c (dbox_descriptor_to_widget_value):
12283 * dialog-x.c (x_make_dialog_box_internal):
12284 * dialog-x.c (console_type_create_dialog_x):
12285 Mule-ize entire file.
12286 Redo to support question dialog syntax.
12290 * dialog.c (Fmake_dialog_box_internal):
12291 * dialog.c (syms_of_dialog):
12292 Kill old popup-dialog-box, replace with new primitive.
12293 Just call device method or signal error.
12295 * eldap.c (Fldap_open):
12296 * eldap.c (Fldap_search_basic):
12297 * eldap.c (Fldap_add):
12298 * eldap.c (Fldap_modify):
12303 * emacs.c (make_arg_list_1):
12304 * emacs.c (make_arg_list):
12305 Mule-ize call to dll_init().
12309 * emacs.c (make_argc_argv):
12310 * emacs.c (free_argc_argv):
12311 * emacs.c (init_cmdargs):
12312 * emacs.c (main_1):
12313 * emacs.c (Fkill_emacs):
12314 * emacs.c (Fdump_emacs):
12315 Update comments about what can be used in syms_* etc.
12316 Call init_win32() when necessary.
12317 Fix up MS Win dialog box in kill-buffer to actually work right.
12328 * eval.c (condition_case_3):
12330 * eval.c (function_argcount):
12331 * eval.c (funcall_lambda):
12334 * eval.c (type_error): New.
12335 * eval.c (maybe_type_error): New.
12336 * eval.c (continuable_type_error): New.
12337 * eval.c (maybe_continuable_type_error): New.
12338 * eval.c (type_error_with_frob): New.
12339 * eval.c (maybe_type_error_with_frob): New.
12340 * eval.c (continuable_type_error_with_frob): New.
12341 * eval.c (maybe_continuable_type_error_with_frob): New.
12342 New functions for use with structured errors.
12345 * event-Xt.c (x_event_to_emacs_event):
12346 Buttons are now modifiers too.
12348 * event-Xt.c (emacs_Xt_current_event_timestamp):
12349 Implement new event method.
12350 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12353 * event-msw.c (ntpipe_shove_writer): [5].
12354 * event-msw.c (mswindows_enqueue_mouse_button_event):
12355 * event-msw.c (mswindows_drain_windows_queue):
12356 * event-msw.c (mswindows_wnd_proc): [7].
12357 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12358 * event-msw.c (mswindows_modifier_state):
12359 Throughout: support new button modifiers.
12361 * event-msw.c (emacs_mswindows_current_event_timestamp):
12362 Implement new event method.
12363 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12366 * event-stream.c (event_stream_current_event_timestamp): New.
12367 * event-stream.c (maybe_kbd_translate): New functionality.
12368 * event-stream.c (vars_of_event_stream):
12369 Document new kbd-translate-table functionality.
12371 * event-stream.c (Fcurrent_event_timestamp): New.
12372 New primitive for use in fabricated events.
12373 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12375 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12378 * events.c (Fmake_event):
12379 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12383 * events.c (format_event_object): fix gcc warnings.
12385 * events.c (Fevent_timestamp): Document new primitives.
12387 * events.c (TIMESTAMP_HALFSPACE): New.
12389 * events.c (Fevent_timestamp_lessp): New. New primitive for
12390 comparing timestamps correctly (half-space algorithm).
12392 * events.c (Fevent_modifier_bits): Doc fix.
12394 * events.c (Fevent_modifiers): Major doc addition.
12395 * events.c (event_x_y_pixel_internal): Typo fix.
12396 * events.c (syms_of_events): Declare new primitives.
12399 Update long comment for button modifiers, timestamps.
12401 * events.h (struct event_stream):
12402 New current_event_timestamp method.
12405 * extents.c (extent_in_region_p):
12406 * extents.c (decode_extent):
12407 * extents.c (Fset_extent_parent):
12408 * extents.c (decode_map_extents_flags):
12412 * extents.c (struct extent_at_arg):
12413 * extents.c (decode_extent_at_flag):
12414 * extents.c (extent_at_mapper):
12415 * extents.c (extent_at_bytind):
12416 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12417 * extents.c (Fextents_at): New primitive. [9].
12418 * extents.c (symbol_to_glyph_layout): [9].
12419 Support new primitive `extents-at'.
12422 * extents.c (get_text_property_bytind):
12423 extent_at_bytind has another arg.
12426 * extents.c (syms_of_extents): New primitive.
12428 * file-coding.c (Fmake_coding_system): [1].
12429 * file-coding.c (subsidiary_coding_system): fix gcc warning
12430 * file-coding.c (syms_of_file_coding): [2].
12432 * fileio.c (Fexpand_file_name):
12433 * fileio.c (Fsysnetunam):
12434 * fileio.c (Ffile_exists_p):
12435 * fileio.c (Ffile_executable_p):
12436 * fileio.c (Fverify_visited_file_modtime):
12439 * fileio.c (syms_of_fileio): [2].
12441 * filelock.c (lock_file_1):
12442 * filelock.c (current_lock_owner):
12443 * filelock.c (lock_if_free):
12444 * filelock.c (lock_file):
12445 * filelock.c (unlock_file):
12448 * fns.c (concat): Fix gcc warning.
12451 * fns.c (Fold_member):
12453 * fns.c (Fold_memq):
12454 * fns.c (memq_no_quit):
12456 * fns.c (Fold_assoc):
12458 * fns.c (Fold_assq):
12459 * fns.c (assq_no_quit):
12461 * fns.c (Fold_rassoc):
12463 * fns.c (Fold_rassq):
12464 * fns.c (rassq_no_quit):
12466 * fns.c (Fold_delete):
12468 * fns.c (Fold_delq):
12469 * fns.c (delq_no_quit):
12470 * fns.c (Fremassoc):
12471 * fns.c (Fremassq):
12472 * fns.c (remassq_no_quit):
12473 * fns.c (Fremrassoc):
12474 * fns.c (Fremrassq):
12475 * fns.c (remrassq_no_quit):
12476 * fns.c (Freverse):
12480 * frame-msw.c (mswindows_init_frame_1):
12481 * frame-msw.c (mswindows_delete_frame):
12482 Register popups with dialog code so keyboard traversing works.
12484 * frame-tty.c (tty_raise_frame_no_select): [1].
12487 * frame-x.c (x_set_frame_text_value):
12488 * frame-x.c (x_set_frame_properties):
12489 * frame-x.c (x_create_widgets):
12493 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12495 * frame.h (wrap_frame): New.
12496 Macro like wrap_device.
12499 * general.c (SYMBOL):
12500 * general.c (syms_of_general):
12501 Major reorg. This is now just a wrapper and symbols themselves
12502 are listed in general-slots.h.
12504 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12505 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12507 * glyphs-msw.c (mswindows_native_layout_instantiate):
12508 Add DS_CONTROL so keyboard traversal will work.
12511 * glyphs-widget.c (syms_of_glyphs_widget):
12512 Move some symbols to general-slots.h.
12515 * glyphs-x.c (xbm_instantiate_1):
12516 * glyphs-x.c (x_xbm_instantiate):
12517 * glyphs-x.c (x_xface_instantiate):
12518 * glyphs-x.c (autodetect_instantiate):
12519 * glyphs-x.c (cursor_font_instantiate):
12520 * glyphs-x.c (x_update_widget):
12521 * glyphs-x.c (x_widget_instantiate):
12522 * glyphs.c (bitmap_to_lisp_data):
12523 * glyphs.c (pixmap_to_lisp_data):
12526 * glyphs.c (syms_of_glyphs):
12530 * gui-x.c (print_widget_value):
12531 * gui-x.c (menu_separator_style_and_to_external):
12532 * gui-x.c (add_accel_and_to_external):
12533 * gui-x.c (button_item_to_widget_value):
12534 * gui-x.c (gui_items_to_widget_values_1):
12535 * gui-x.c (gui_items_to_widget_values):
12536 * gui-x.c (syms_of_gui_x):
12537 * gui-x.c (vars_of_gui_x):
12538 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12542 Muleize, prototype changes matching gui-x.c.
12545 * gui.c (separator_string_p):
12546 * gui.c (gui_item_add_keyval_pair):
12547 * gui.c (make_gui_item_from_keywords_internal):
12548 * gui.c (signal_too_long_error):
12549 * gui.c (parse_gui_item_tree_item):
12550 * gui.c (syms_of_gui):
12551 * gui.c (vars_of_gui):
12553 menu-no-selection-hook moved here (used by MSWin).
12554 Move some symbols to general-slots.h.
12558 * insdel.c (get_buffer_pos_char):
12559 * insdel.c (get_buffer_range_char):
12562 * keymap.c (keymap_lookup_directly):
12563 * keymap.c (keymap_store):
12564 * keymap.c (ensure_meta_prefix_char_keymapp):
12565 * keymap.c (describe_map):
12567 Support new button modifiers.
12569 * lisp-disunion.h (wrap_object):
12570 * lisp-disunion.h (XSETOBJ):
12571 Rename make_obj to wrap_object.
12574 * lisp-union.h (make_int):
12575 * lisp-union.h (make_char):
12576 Support wrap_object.
12579 * lisp.h (LIST_LOOP):
12580 * lisp.h (EXTERNAL_LIST_LOOP):
12581 * lisp.h (LIST_LOOP_2):
12582 * lisp.h (EXTERNAL_LIST_LOOP_1):
12583 * lisp.h (EXTERNAL_LIST_LOOP_2):
12584 * lisp.h (EXTERNAL_LIST_LOOP_3):
12585 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12586 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12587 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12588 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12589 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12590 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12591 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12592 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12593 * lisp.h (struct Lisp_Symbol):
12594 * lisp.h (maybe_continuable_error_with_frob):
12595 Fix up section comments.
12596 Add new types for char to indicate usage.
12597 Delete symbols auto-generated from general-slots.h.
12598 Add prototypes for structured error functions.
12599 Add long comments describing looping macros and change interface
12600 so that lvalues are automatically declared.
12601 Add NO_DECLARE macro in case callers want to declare lvalues
12604 * lread.c (read_syntax_error):
12605 * lread.c (continuable_read_syntax_error):
12606 * lread.c (read_structure):
12607 * lread.c (sequence_reader):
12608 * lread.c (read_list_conser):
12609 * lread.c (read_compiled_function):
12610 Rename syntax_error and continuable_syntax_error to avoid clash
12611 with same-named structured error functions.
12613 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12614 * menubar-msw.c (populate_menu_add_item):
12615 * menubar-msw.c (populate_or_checksum_helper):
12620 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12621 Mule-ize whole file.
12623 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12625 * mule-charset.c (Fmake_charset):
12626 * mule-wnnfns.c (Fwnn_set_param):
12629 * ntproc.c (create_child):
12630 * ntproc.c (Fwin32_set_current_locale):
12631 Add comments portending doom.
12634 * objects-msw.c (old_font_enum_callback_2):
12635 * objects-msw.c (font_enum_callback_1):
12636 * objects-msw.c (mswindows_enumerate_fonts):
12640 * objects-x.c (allocate_nearest_color):
12641 * objects-x.c (x_parse_nearest_color):
12642 * objects-x.c (x_initialize_color_instance):
12643 * objects-x.c (x_print_color_instance):
12644 * objects-x.c (x_finalize_color_instance):
12645 * objects-x.c (x_valid_color_name_p):
12646 * objects-x.c (x_initialize_font_instance):
12647 * objects-x.c (x_print_font_instance):
12648 * objects-x.c (valid_x_font_name_p):
12649 * objects-x.c (truename_via_FONT_prop):
12650 * objects-x.c (truename_via_random_props):
12651 * objects-x.c (truename_via_XListFonts):
12652 * objects-x.c (x_font_truename):
12653 * objects-x.c (x_font_instance_truename):
12654 * objects-x.c (x_font_instance_properties):
12655 * objects-x.c (x_list_fonts):
12656 * objects-x.c (x_find_charset_font):
12657 Mule-ize entire file.
12664 * print.c (std_handle_out_external):
12665 * print.c (debug_print_no_newline):
12666 * print.c (syms_of_print):
12667 Output to all debugger kinds in debug-print.
12668 Fix console-output code under MSWin to actually work.
12670 * process-nt.c (send_signal):
12671 * process-nt.c (nt_create_process):
12672 Use newer Unicode macros.
12674 * process-unix.c (unix_create_process):
12675 * process-unix.c (unix_canonicalize_host_name):
12676 * process-unix.c (unix_open_network_stream):
12682 * search.c (syms_of_search):
12685 * select-msw.c (mswindows_destroy_selection):
12688 * select-x.c (symbol_to_x_atom):
12691 * select.c (syms_of_select):
12694 * sound.c (Fplay_sound_file):
12698 * specifier.c (decode_specifier_type):
12699 * specifier.c (Fvalid_specifier_locale_type_p):
12700 * specifier.c (check_valid_locale_or_locale_type):
12701 * specifier.c (decode_locale):
12702 * specifier.c (decode_locale_type):
12703 * specifier.c (decode_locale_list):
12704 * specifier.c (check_valid_domain):
12705 * specifier.c (decode_specifier_tag_set):
12706 * specifier.c (Fcanonicalize_tag_set):
12707 * specifier.c (Fdefine_specifier_tag):
12708 * specifier.c (Fspecifier_tag_predicate):
12709 * specifier.c (check_valid_inst_list):
12710 * specifier.c (check_valid_spec_list):
12711 * specifier.c (decode_how_to_add_specification):
12712 * specifier.c (check_modifiable_specifier):
12713 * specifier.c (specifier_add_spec):
12714 * specifier.c (boolean_validate):
12715 * specifier.c (display_table_validate):
12718 * specifier.c (syms_of_specifier):
12719 Move some symbols to general-slots.h.
12723 * symbols.c (Fmapatoms):
12724 * symbols.c (Fapropos_internal):
12727 * symbols.c (set_default_buffer_slot_variable):
12728 * symbols.c (set_default_console_slot_variable):
12731 * symbols.c (defsymbol_massage_name_1):
12732 * symbols.c (defkeyword_massage_name):
12733 * symbols.c (deferror_1):
12734 * symbols.c (deferror):
12735 * symbols.c (deferror_massage_name_and_message):
12737 * symeval.h (DEFSYMBOL):
12738 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12740 * symbols.c (syms_of_symbols):
12744 * symsinit.h (init_win32): New.
12745 Also new is syms_of_dialog_mswindows.
12748 Add new Unicode macros, missing Cygwin wide-char functions,
12749 convenience conversion macros for Qmswindows_tstr, macros for
12750 encapsulating required MSWin <-> Cygwin filename conversions,
12751 prototype for dynamically-extracted (not in NT 3.51) functions.
12756 * tooltalk.c (Fadd_tooltalk_message_arg):
12757 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12758 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12761 * tooltalk.c (syms_of_tooltalk):
12765 * unexnt.c (unexec):
12766 Fix up headers, declaration of unexec() to be more standard.
12768 2000-07-20 Martin Buchholz <martin@xemacs.org>
12770 * offix.h: Revert change to guard macros - they're used in offix.c!
12772 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12774 * lisp.h: Defsubred Fdelete.
12776 * console-msw.h: (msprinter_default_printer): Added.
12778 * console-msw.c (msprinter_canonicalize_console_connection):
12779 (msprinter_canonicalize_device_connection): Added.
12781 * device-msw.c (msprinter_default_printer):
12782 (Fmswingows_get_default_printer):
12783 (signal_enum_priner_error):
12784 (Fmswingows_printer_list): Added.
12786 2000-07-19 Martin Buchholz <martin@xemacs.org>
12788 * XEmacs 21.2.35 is released.
12790 2000-07-19 Martin Buchholz <martin@xemacs.org>
12792 * select-x.c (x_handle_selection_request):
12793 Text selected in xemacs and pasted into xterm failed to appear.
12794 Spelling fixes and cosmetic changes.
12796 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12798 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12799 XEmacs frame (fix for doubling chars in dialog boxes).
12801 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12803 * select.c (select_convert_in, select_convert_out):
12804 Don't call intern() every time.
12806 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12807 * select.c (vars_of_select): Initialise them.
12809 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12811 * select.c (selection-coercible-types): New.
12813 * select.c (own-selection-internal):
12814 * select.c (get-selection-internal):
12815 MULE bug fix - these should default to COMPOUND_TEXT and not
12816 STRING for MULE. I think.
12818 * select.c (select_convert_out): Use selection-coercible-types
12819 to find types that we can attempt to perform coercions on.
12821 2000-07-18 Martin Buchholz <martin@xemacs.org>
12825 Add coding: cookie to identify encoding.
12827 * mule-canna.c (CANNA_mode_keys): make static.
12828 Use proper prototypes, even for functions of no arguments.
12829 Remove external prototype for Fding().
12831 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12833 * select.c (syms_of_select): Add missing DEFSUBR.
12835 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12837 * select.c (get_selection_internal, own_selection_internal):
12838 Make the type default to STRING, rather than placing a nil type
12839 into Vselection_alist.
12841 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12843 * gpmevent.c (tty_selection_exists_p):
12844 * gpmevent.c (tty_own_selection):
12845 Updated parameter lists.
12847 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12849 * select.h (selection-alist): Removed declaration.
12851 * select.h (get_local_selection):
12852 * select.c (get_local_selection):
12855 * select.h (convert_selection): Removed declaration.
12856 * select.c (convert_selection): Removed.
12857 This function belongs in Lisp.
12859 * select.h (select_convert_in): Declare.
12860 * select.h (select_convert_out): Declare.
12861 * select.c (select_convert_in): New.
12862 * select.c (select_convert_out): New.
12863 New conversion functions for other files to call.
12865 * select.h (select_notify_buffer_kill): Declare.
12866 * select.c (select_notify_buffer_kill): New.
12867 New functions that get called from kill-buffer.
12869 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12870 X-specific lisp code.
12872 * select.h: Declare some of the lisp-visible functions for
12875 * select.c (clean_local_selection_data): Removed. This was
12876 a disgusting function, and previously should have been in
12877 select-x.c in any case. The functionality is now provided
12878 in select-convert-from-integer (select.el).
12880 * select.c (available-selection-types): Fixed stupidity where
12881 INTEGER and ATOM got added twice. Also add STRING when we see an
12884 * select.c (get-selection-internal): Removed symbol stripping. No
12885 longer causes conversion when data comes from the internal cache.
12887 * select.c (syms_of_select): Added new functions.
12889 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12890 error checking - previously this called abort!
12892 * select-x.c (x_own_selection): Changed comment.
12894 * select-x.c (x_handle_selection_request): Use select_convert_out.
12895 Don't mess with selection-alist; it's an internal variable of select.c.
12897 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12899 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12900 rather than messing with selection-alist.
12902 * select-msw.c (mswindows_get_foreign_selection):
12903 Use TO_INTERNAL_FORMAT rather than hacking.
12905 2000-07-14 Martin Buchholz <martin@xemacs.org>
12907 * process-unix.c (unix_open_multicast_group):
12908 (unix_open_multicast_group): Remove useless casts.
12910 2000-07-13 Martin Buchholz <martin@xemacs.org>
12912 * sound.c (Fplay_sound): Fix `unused variable' warning.
12914 * emacs.c (main): Use correct type for _environ on SCO5.
12916 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12918 * console.h (own_selection_method):
12919 * console.h (selection_exists_p_method):
12920 * console.h (available_selection_types_method): New.
12921 * console.h (register_selection_data_type_method): New.
12922 * console.h (selection_data_type_name): New.
12924 * console-msw.h (mswindows_destroy_selection): Declare it. New
12925 function & alist to track GlobalAlloc()'d handles that need
12926 releasing when the clipboard data gets replaced or emptied.
12928 * event-msw.c (mswindows_wnd_proc): Call it.
12930 * lisp.h, general.c (Qappend): New symbol representing a
12933 * select.c (own-selection-internal):
12934 * select.c (selection-exists-p):
12935 * select.c (available-selection-types): New.
12936 * select.c (register-selection-data-type): New.
12937 * select.c (selection-data-type-name): New. New functions to deal
12938 with device-specific selection data formats.
12939 * select.c (selection-converter-out-alist): Renamed.
12940 * select.c (selection-converter-in-alist): New.
12941 * select.c (selection-appender-alist): New. Added new alists.
12942 * select.c (syms_of_select, vars_of_select): Added new symbols &
12944 * select.c (get_local_selection): Split.
12945 * select.c: Removed spurious type checking - selections may now be
12946 of any type, not just strings.
12947 * select.c (own-selection-internal):
12949 * select.h, select.c (convert_selection): New. Created
12950 convert_selection() function based on get_local_selection().
12951 * select.h, select.c (QCF_*): New symbols representing mswindows
12953 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12954 symbols representing `how-to-add' modes.
12956 * select-msw.c (x_sym_p): New.
12957 * select-msw.c (symbol_to_ms_cf): New.
12958 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12959 symbols & clipboard formats. Can also handle string names.
12960 * select-msw.c (mswindows_own_selection):
12961 * select-msw.c (mswindows_selection_exists_p):
12962 Added `data-type' parameter. Use it.
12963 * select-msw.c (mswindows_available_selection_types): New.
12964 * select-msw.c (mswindows_register_selection_data_type): New.
12965 * select-msw.c (mswindows_selection_data_type_name): New.
12966 * select-msw.c (mswindows_own_selection):
12967 * select-msw.c (mswindows_get_foreign_selection):
12968 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12969 * select-msw.c (console_create_select_mswindows): Added new methods.
12970 * select-msw.c (mswindows_destroy_selection): New.
12971 * select-msw.c (Vhandle_alist): New list.
12972 * select-msw.c (mswindows_own_selection):
12974 * select-x.c (x_own_selection):
12975 * select-x.c (x_selection_exists_p):
12976 * select-x.c: Added some comments about maybe using new
12978 * select-x.c (x_own_selection):
12980 * specifier.c: Remove definition of Qappend (now in general.c)
12981 * specifier.c (syms_of_specifier): Remove Qappend.
12983 2000-07-12 Martin Buchholz <martin@xemacs.org>
12985 * config.h.in: Add socklen_t.
12987 * s/decosf4-0.h: No special compiler flags needed or desired.
12988 In particular, undefine _BSD for DEC OSF 4.0.
12990 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12992 * redisplay-msw.c (msprinter_frame_output_end): Added.
12993 (console_type_create_redisplay_mswindows): Referred the above.
12995 * frame.c (setup_frame_without_minibuffer): Do not create a
12996 default minibuffer frame on a printer device.
12998 * frame-msw.c (apply_dc_geometry): Added.
12999 (msprinter_start_page):
13000 (msprinter_init_frame_3):
13001 (msprinter_eject_page): Use it.
13003 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13004 and removed residual duplex and orientation properties.
13006 2000-07-11 Martin Buchholz <martin@xemacs.org>
13008 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13010 * unexalpha.c: Remove system prototypes from C sources!
13012 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13014 * eval.c: Remove references to M-x edit-options in DEFUNs for
13015 `defvar' and `defconst'.
13017 2000-07-09 Martin Buchholz <martin@xemacs.org>
13019 * config.h.in: Remove SMART_INCLUDE hackery.
13021 PostgreSQL hacking:
13022 * config.h.in: Don't use SMART_INCLUDE.
13024 * postgresql.h: Include libpq-fe.h here. Fix typo.
13025 * inline.c: Simply #include "postgresql.h"
13027 - Don't use SMART_INCLUDE
13028 - Use simply "const".
13029 - Use standard doc string conventions.
13030 - Use correct type for result of PQstatus.
13032 2000-07-09 Martin Buchholz <martin@xemacs.org>
13034 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13036 C++ compilation changes.
13037 * config.h.in (EXTERN_C): Define.
13038 * config.h.in (not): This is also a C++ keyword.
13039 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13040 * cm.c: Use EXTERN_C.
13041 * redisplay-tty.c: Use EXTERN_C.
13042 * sysdep.c: Use EXTERN_C. Remove Gould support.
13044 2000-07-09 Martin Buchholz <martin@xemacs.org>
13046 * general.c: Remove duplicate definition for Qfunction.
13048 2000-07-08 Ben Wing <ben@xemacs.org>
13050 * device-msw.c (msprinter_init_device):
13051 * device-msw.c (sync_printer_with_devmode):
13052 * device-msw.c (handle_devmode_changes):
13053 * device-msw.c (print_dialog_worker):
13054 * device-msw.c (Fmsprinter_apply_settings):
13055 * device-msw.c (hash_devmode):
13056 * device-msw.c (Fmsprinter_settings_despecialize):
13057 use Qmswindows_tstr, not Qctext.
13059 * vm-limit.c (check_memory_limits):
13060 avoid infinite loop printing warning messages.
13062 2000-07-05 Craig Lanning <lanning@scra.org>
13064 * Makefile.in.in: Add support for including the Windows resources
13065 when building with the cygwin and mingw targets.
13067 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13068 not set or not correct.
13069 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13070 (init_initial_directory): Don't try to use $PWD on the
13071 WIN32_NATIVE target.
13074 [[Add -mwindows to eliminate console window.]] not required --ben
13075 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13076 (MAIL_USE_POP): removed; now handled by configure.
13078 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13079 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13080 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13081 (MAIL_USE_POP): removed; now handled by configure.
13082 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13083 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13084 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13086 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13087 up from <winsock.h> via systime.h.
13088 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13089 (getpagesize): from Dan Holmsand, added.
13090 Added #endif which was left dangling by Ben's mega patch; added
13091 comment to help prevent this in the future.
13093 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13095 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13097 * console-msw.h (struct mswindows_device): Removed unnecessary
13098 cached device geometry values.
13099 Added update_tick and an accessor macro.
13100 (Lisp_Devmode): Added lrecord declaration.
13101 (struct msprinter_device): Contain devmode as a Lisp object.
13102 Added mswindows_get_selected_frame_hwnd();
13104 * console.h (struct console_methods): Indentation nitpicking.
13106 * device-msw.c (mswindows_init_device): Do not initialize geometry
13107 cache. Initialize update tick.
13108 (mswindows_device_system_metrics): Ask the device for its geometry.
13109 (global_free_2_maybe):
13110 (devmode_to_hglobal):
13111 (handle_printer_changes):
13112 (ensure_not_printing):
13113 (print_dialog_worker):
13114 (Fmsprinter_print_setup_dialog):
13115 (Fmsprinter_print_dialog):
13116 (plist_get_margin):
13117 (plist_set_margin):
13118 (Fmsprinter_page_setup_dialog): Added functions.
13119 (sync_printer_with_devmode):
13120 (handle_devmode_changes):
13121 (Fmsprinter_get_settings):
13122 (Fmsprinter_select_settings):
13123 (Fmsprinter_apply_settings):
13124 (allocate_devmode):
13125 (Fmsprinter_settings_copy):
13126 (Fmsprinter_settings_despecialize):
13128 (finalize_devmode):
13130 (hash_devmode): Added functions
13131 (syms_of_device_mswindows): Init devmode lrecord class.
13133 * device.h: Added an exfun for find-device.
13135 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13136 geometry; although, recreate the device compatible DC.
13138 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13139 (msprinter_init_frame_3):
13140 (msprinter_frame_property):
13141 (msprinter_internal_frame_property_p):
13142 (msprinter_frame_properties):
13143 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13144 print job properties (will move to device settings).
13146 * lisp.h: Added symbols.
13148 * general.c (syms_of_general): Declared them.
13150 * hash.c (string_hash): Added.
13152 * lrecord.h (lrecord_type): Added devmode lrecord type.
13154 2000-07-02 Mike Sperber <mike@xemacs.org>
13156 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13159 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13161 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13164 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13166 * data.c (Fstring_to_number): Don't recognize floating point if
13169 2000-06-22 Martin Buchholz <martin@xemacs.org>
13171 * glyphs-widget.c (tab_control_query_geometry):
13172 (widget_query_geometry):
13173 (button_query_geometry):
13174 * glyphs.c (text_query_geometry):
13175 Enforce type correctness.
13177 2000-06-18 Martin Buchholz <martin@xemacs.org>
13179 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13180 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13182 2000-06-17 Martin Buchholz <martin@xemacs.org>
13184 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13185 conflicts with gcc's fixincluded version of FOO.h.
13187 * glyphs.h (image_instance_geometry): Remove trailing `,'
13189 2000-06-08 Mike Alexander <mta@arbortext.com>
13191 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13192 (shove_thread): Don't write the same output twice
13193 (make_ntpipe_output_stream): Increase priority of shove thread
13194 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13196 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13199 2000-06-12 Ben Wing <ben@xemacs.org>
13201 * s\mingw32.h (sigset):
13202 * s\windowsnt.h (sigset):
13203 rename msw_ to mswindows_ for consistency with general convention.
13205 2000-06-12 Ben Wing <ben@xemacs.org>
13208 * console-msw.c (mswindows_get_console_hwnd):
13209 * console-msw.c (mswindows_ensure_console_allocated):
13210 * console-msw.c (mswindows_hide_console):
13211 * console-msw.c (mswindows_show_console):
13212 * console-msw.c (mswindows_ensure_console_buffered):
13213 * console-msw.c (mswindows_output_console_string):
13214 * console-msw.c (mswindows_windows9x_p):
13216 * device-msw.c (mswindows_get_workspace_coords):
13217 * device-msw.c (mswindows_device_system_metrics):
13218 * dialog-msw.c (mswindows_popup_dialog_box):
13219 * event-msw.c (mswindows_wnd_proc):
13220 * frame-msw.c (mswindows_size_frame_internal):
13221 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13222 * menubar-msw.c (displayable_menu_item):
13223 * menubar-msw.c (mswindows_char_is_accelerator):
13225 * nt.c (mswindows_sigset):
13226 * nt.c (mswindows_sigrelse):
13227 * nt.c (mswindows_sigpause):
13228 * nt.c (mswindows_raise):
13229 * nt.c (timer_proc):
13231 * ntproc.c (find_child_console):
13232 * ntproc.c (sys_kill):
13234 * print.c (std_handle_out_external):
13235 * process-nt.c (find_child_console):
13236 * process-nt.c (send_signal_the_95_way):
13237 * process-nt.c (ensure_console_window_exists):
13238 * process-nt.c (nt_create_process):
13240 rename msw_ to mswindows_ for consistency with general convention.
13244 include nt.h, not syswindows.h.
13246 * nt.c (mswindows_fstat):
13247 * nt.c (mswindows_stat):
13248 prefix mswindows_ instead of attempting to directly override the
13249 library functions. fix declarations.
13252 include syswindows.h. move some sysdep.h stuff here.
13255 include syswindows.h, not <windows.h>.
13263 * sysdep.c (sys_fstat):
13264 * sysdep.c (sys_stat):
13265 call mswindows versions when appropriate.
13268 move mswin decls to nt.h.
13271 add long comment describing appropriate use of the various windows
13274 2000-06-11 Ben Wing <ben@xemacs.org>
13276 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13278 2000-06-10 Ben Wing <ben@xemacs.org>
13280 * Makefile.in.in (release):
13281 Correction to make sure xemacs.exe always dumped when correct.
13285 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13287 * buffer.c (set_buffer_internal):
13288 [[[[2]]]]: Remove HAVE_FEP code.
13290 * buffer.c (init_initial_directory):
13294 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13298 * callproc.c (call_process_cleanup):
13299 * callproc.c (Fold_call_process_internal):
13300 * callproc.c (child_setup):
13301 * callproc.c (getenv_internal):
13302 * callproc.c (init_callproc):
13303 * callproc.c (vars_of_callproc):
13304 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13305 __CYGWIN32__ -> CYGWIN.
13306 DOS_NT -> WIN32_NATIVE.
13307 Remove MSDOS support/references, converting to WIN32_NATIVE
13309 __MINGW32__ -> MINGW.
13310 Fix windows.h includes.
13311 Remove bogus HAVE_NTGUI.
13317 mswindows_message_outputted added for use in allowing startup
13318 errors on the console to be seen.
13320 * console-msw.c (msw_ensure_console_allocated):
13321 * console-msw.c (msw_output_console_string):
13322 * console-msw.c (DHEADER):
13323 * console-msw.c (DOPAQUE_DATA):
13324 * console-msw.c (DEVENT):
13325 * console-msw.c (DCONS):
13326 * console-msw.c (DCONSCDR):
13327 * console-msw.c (DSTRING):
13328 * console-msw.c (DVECTOR):
13329 * console-msw.c (DSYMBOL):
13330 * console-msw.c (DSYMNAME):
13333 * console-stream.c (stream_init_console):
13334 Fix text/binary problems.
13337 * device-msw.c (mswindows_finish_init_device):
13338 * device-msw.c (mswindows_delete_device):
13341 * device.c (handle_asynch_device_change):
13345 * dgif_lib.c (DGifOpenFileName):
13346 * dgif_lib.c (DGifOpenFileHandle):
13347 * dgif_lib.c (DGifGetLine):
13348 * dgif_lib.c (DGifGetPixel):
13349 Added config.h/lisp.h, fix up includes.
13356 * dired.c (file_name_completion):
13357 * dired.c (Ffile_attributes):
13358 * dired.c (syms_of_dired):
13362 * dumper.c (pdump_file_unmap):
13363 * dumper.c (pdump_load):
13367 * editfns.c (Ftemp_directory):
13368 * editfns.c (user_login_name):
13369 * editfns.c (Fuser_real_login_name):
13370 * editfns.c (get_home_directory):
13373 * elhash.c (finish_marking_weak_hash_tables):
13374 [[[[5]]]]: Fix GCC warnings.
13377 * emacs.c (mswindows_handle_hardware_exceptions):
13378 * emacs.c (make_arg_list_1):
13379 * emacs.c (main_1):
13380 * emacs.c (Fkill_emacs):
13381 * emacs.c (Fdump_emacs):
13383 Fix problems with nested crashes, add long comment.
13385 * event-Xt.c (init_event_Xt_late):
13389 * event-msw.c (mswindows_dde_callback):
13390 * event-msw.c (mswindows_handle_sticky_modifiers):
13391 * event-msw.c (mswindows_wnd_proc):
13395 * events.c (character_to_event):
13399 * fileio.c (Ffile_name_directory):
13400 * fileio.c (Ffile_name_nondirectory):
13401 * fileio.c (directory_file_name):
13402 * fileio.c (Fexpand_file_name):
13403 * fileio.c (Fsubstitute_in_file_name):
13404 * fileio.c (Ffile_name_absolute_p):
13405 * fileio.c (check_executable):
13406 * fileio.c (Ffile_readable_p):
13407 * fileio.c (Ffile_accessible_directory_p):
13408 * fileio.c (Ffile_modes):
13409 * fileio.c (Funix_sync):
13410 * fileio.c (vars_of_fileio):
13413 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13415 Expand getdefdir defn.
13416 Fix bogus rename() comment.
13418 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13419 to use standard XEmacs include files, e.g. sysfile.h, rather
13420 than system-specific includes.
13426 * frame.c (vars_of_frame):
13430 * getloadavg.c (getloadavg):
13432 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13433 (We don't use it elsewhere in the code; just add a comment.)
13440 * glyphs-msw.c (mswindows_resource_instantiate):
13443 * glyphs-x.c (x_native_layout_instantiate):
13446 * gui-msw.c (Fmswindows_shell_execute):
13455 * lread.c (locate_file_in_directory_mapper):
13462 * mem-limits.h (get_lim_data):
13474 * nt.c (rva_to_section):
13475 * nt.c (mswindows_executable_type):
13477 Fix closedir() defn.
13480 [[[[8]]]]: *_OK defs moved to sysfile.h.
13489 * print.c (std_handle_out_external):
13493 * process-nt.c (nt_create_process):
13495 try to fix process quoting somewhat.
13497 * process-unix.c (unix_create_process):
13501 * process.c (vars_of_process):
13508 * realpath.c (xrealpath):
13511 * redisplay-tty.c (init_tty_for_redisplay):
13521 * sheap.c (more_static_core):
13522 * sheap.c (report_sheap_usage):
13526 * signal.c (alarm_signal):
13533 * strftime.c (zone_name):
13536 * symsinit.h (init_sunpro):
13540 commctrl.h not in Cygwin b20.1.
13543 * sysdep.c (endif):
13544 * sysdep.c (sys_subshell):
13545 * sysdep.c (init_baud_rate):
13546 * sysdep.c (emacs_get_tty):
13547 * sysdep.c (emacs_set_tty):
13548 * sysdep.c (tty_init_sys_modes_on_device):
13549 * sysdep.c (init_system_name):
13550 * sysdep.c (sys_open):
13551 * sysdep.c (interruptible_open):
13552 * sysdep.c (sys_fopen):
13553 * sysdep.c (sys_mkdir):
13554 * sysdep.c (sys_rename):
13555 * sysdep.c (get_process_times_1):
13562 * sysdir.h (DIRENTRY_NONEMPTY):
13565 * sysdll.c (dll_init):
13571 added text/binary defs.
13577 * sysproc.h (EDESTADDRREQ):
13578 * sysproc.h (poll_fds_for_input):
13595 Always define WIN32_LEAN_AND_MEAN.
13597 * unexcw.c (unexec):
13601 * unexec.c (copy_text_and_data):
13602 * unexec.c (adjust_lnnoptrs):
13606 * unexnt.c (_start):
13609 2000-06-07 Ben Wing <ben@xemacs.org>
13611 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13612 was used only as a model. We've long since extracted any useful
13613 logic or code out of this. (I just did an exhaustive search.)
13615 * s\msdos.h: Removed.
13617 * s\windows95.h: Removed.
13619 2000-06-10 Ben Wing <ben@xemacs.org>
13623 Don't use extern with fun defs.
13627 Remove nt\inc include.
13628 Remove getdisk, getdefdir. (The former is unused, the latter
13629 expanded in fileio.h.)
13632 * s\windowsnt.h (WIN32_NATIVE):
13633 * s\windowsnt.h (HAVE_STRCASECMP):
13635 Add long comment about preprocessor changes.
13636 Remove getdisk, getdefdir. (The former is unused, the latter
13637 expanded in fileio.h.)
13639 2000-06-10 Ben Wing <ben@xemacs.org>
13648 Remove bogus/unused NO_SOCK_SIGIO.
13650 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13652 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13655 2000-06-04 Mike Sperber <mike@xemacs.org>
13657 * casetab.c (set_case_table): For `set-standard-case-table',
13658 actually deposit the new case tables where the rest of XEmacs can
13661 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13663 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13665 2000-06-05 Ben Wing <ben@xemacs.org>
13667 * callproc.c (child_setup): Don't do close_load_descs() under
13668 MS Windows. Put in a comment explaining why.
13670 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13672 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13673 Toolkit shell" which breaks `kill-compilation' on Windows NT
13674 native, retaining STDERR handling improvements.
13676 2000-06-01 Andreas Jaeger <aj@suse.de>
13678 * s/s390.h: Support for S390, based on a patch by Martin
13679 Schwidefsky <schwidefsky@de.ibm.com>.
13681 2000-05-30 Andy Piper <andy@xemacs.org>
13683 * window.c (allocate_window):
13684 (make_dummy_parent):
13685 (Fset_window_configuration): use new hashtable type.
13687 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13688 (struct image_instantiator_methods):
13689 (struct Lisp_Image_Instance): make instance geometry signed.
13691 * glyphs.c (instantiate_image_instantiator):
13692 (image_instance_query_geometry):
13693 (image_instance_layout):
13694 (image_instance_layout):
13695 (query_string_geometry):
13696 (text_query_geometry):
13697 (image_instantiate):
13698 (image_instantiate):
13699 (cache_subwindow_instance_in_frame_maybe):
13700 (subwindow_query_geometry): make instance geometry signed.
13702 * glyphs-widget.c (widget_query_geometry):
13704 (button_query_geometry):
13705 (tree_view_query_geometry):
13706 (tab_control_query_geometry):
13707 (layout_query_geometry):
13709 (native_layout_layout): make instance geometry signed.
13711 2000-05-29 Olivier Galibert <galibert@pobox.com>
13713 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13716 * general.c (syms_of_general): Add Qfull_assoc symbol.
13718 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13720 (decode_weak_list_type): Decode full-assoc type.
13721 (encode_weak_list_type): Encode full-assoc type.
13722 (Fmake_weak_list): Update doc string.
13724 2000-05-30 Andy Piper <andy@xemacs.org>
13726 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13728 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13729 (decode_hash_table_weakness): ditto.
13730 (Fhash_table_weakness): ditto.
13731 (Fhash_table_type): ditto.
13732 (finish_marking_weak_hash_tables): ditto.
13733 (hash_table_weakness_validate): ditto.
13734 (syms_of_elhash): ditto.
13736 2000-05-28 Martin Buchholz <martin@xemacs.org>
13738 * XEmacs 21.2.34 is released.
13740 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13742 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13744 (updating_line_start_cache): Gone.
13745 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13746 generic code to force a minimum of 1 line laid out in the
13749 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13751 * glyphs.c (instantiate_image_instantiator): Check for initialized
13752 height & width no longer special cases IMAGE_NOTHING.
13753 (nothing_instantiate): Set height and width of instance.
13755 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13757 * unexelf.c (unexec): Search for ".data" section.
13758 Initialize new_data2_offset from old_data_index.
13759 Remove redundant check for ElfW.
13761 2000-05-23 Andy Piper <andy@xemacs.org>
13763 * glyphs.c (get_image_instantiator_governing_domain): allow more
13764 specific domains as the governing domain rather than expecting an
13765 exact match. This fixes problems with layouts.
13767 2000-05-22 Andy Piper <andy@xemacs.org>
13769 * redisplay-output.c (compare_runes): check for non-images
13771 * glyphs.c (set_glyph_dirty_p): ditto.
13772 (update_glyph_cachel_data): ditto.
13774 * glyphs-widget.c (layout_post_instantiate): ditto.
13775 (layout_post_instantiate): ditto.
13777 * event-msw.c (mswindows_wnd_proc): warning removal.
13779 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13781 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13783 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13785 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13787 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13788 (mswindows_executable_type): mingw32 now has enough headers for
13791 2000-05-20 Andy Piper <andy@xemacs.org>
13793 * console-msw.c (mswindows_output_last_error): ; -> ,
13795 2000-05-12 Andy Piper <andy@xemacs.org>
13797 * console-msw.c (FROB): compare ints with ints.
13799 2000-05-11 Andy Piper <andy@xemacs.org>
13801 * glyphs-x.c (x_finalize_image_instance): make minimal build
13804 2000-05-20 Ben Wing <ben@xemacs.org>
13807 * event-Xt.c (vars_of_event_Xt):
13808 move modifier-keys-are-sticky to event-stream.c.
13811 * event-msw.c (mswindows_enqueue_mouse_button_event):
13812 * event-msw.c (key_needs_default_processing_p):
13813 * event-msw.c (XEMSW_LCONTROL):
13814 * event-msw.c (mswindows_handle_sticky_modifiers):
13815 * event-msw.c (FROB):
13816 * event-msw.c (clear_sticky_modifiers):
13817 * event-msw.c (output_modifier_keyboard_state):
13818 * event-msw.c (output_alt_keyboard_state):
13819 * event-msw.c (mswindows_wnd_proc):
13820 * event-msw.c (mswindows_modifier_state):
13821 * event-msw.c (emacs_mswindows_handle_magic_event):
13822 implement sticky modifiers.
13825 * event-stream.c (vars_of_event_stream):
13826 move modifier-keys-are-sticky here.
13829 add CHECK_FUNCTION.
13832 implement map-range-table.
13835 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13837 * redisplay-tty.c (reset_tty_modes):
13838 (tty_redisplay_shutdown): Adjust argument type to
13839 tty_frame_output_end.
13841 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13843 * eval.c (Fbacktrace): Don't output a line with only right
13846 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13848 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13849 (Fpq_reset_poll): Ditto.
13851 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13853 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13855 2000-05-16 Ben Wing <ben@xemacs.org>
13858 * buffer.c (dfc_convert_to/from_internal_format):
13859 * buffer.c (reinit_vars_of_buffer):
13860 Fix conversion functions to allow reentrancy.
13863 * console-msw.c (mswindows_output_last_error):
13864 New fun, generally useful -- output a human-readable
13865 version of GetLastError() on the console.
13868 * console-msw.h (struct mswindows_frame):
13869 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13871 * console-stream.c (stream_output_begin):
13872 * console-stream.c (stream_output_end):
13873 * console-stream.c (stream_output_vertical_divider):
13874 * console-stream.c (stream_clear_region):
13875 * console-stream.c (stream_flash):
13876 * console-stream.c (console_type_create_stream):
13877 Delete blank stream methods, not needed.
13879 * console.h (struct console_methods):
13880 Split begin/end methods into window and frame.
13883 * event-msw.c (mswindows_handle_paint):
13884 * event-msw.c (output_alt_keyboard_state):
13885 * event-msw.c (mswindows_wnd_proc):
13886 * event-msw.c (vars_of_event_mswindows):
13887 Comment about problems with ignored-expose.
13888 Define mswindows-debug-events; not really implemented.
13890 * frame-msw.c (mswindows_init_frame_1):
13894 * glyphs-msw.c (begin_defer_window_pos):
13895 * glyphs-msw.c (mswindows_unmap_subwindow):
13896 * glyphs-msw.c (mswindows_map_subwindow):
13897 * glyphs-msw.c (mswindows_resize_subwindow):
13898 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13900 * glyphs.c (make_image_instance_1):
13903 * gutter.c (Fredisplay_gutter_area):
13904 Use new begin/end methods.
13906 * lisp.h (Dynarr_new2):
13910 * redisplay-msw.c (mswindows_frame_output_begin):
13911 * redisplay-msw.c (mswindows_frame_output_end):
13912 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13913 New begin/end methods -- handle DeferWindowPos.
13915 * redisplay-output.c (redisplay_move_cursor):
13916 * redisplay-output.c (redraw_cursor_in_window):
13917 * redisplay-output.c (redisplay_update_line):
13918 * redisplay-output.c (redisplay_output_window):
13919 New begin/end methods.
13922 * redisplay-tty.c (tty_frame_output_begin):
13923 * redisplay-tty.c (tty_frame_output_end):
13924 * redisplay-tty.c (console_type_create_redisplay_tty):
13925 New begin/end methods.
13928 * redisplay-x.c (x_window_output_begin):
13929 * redisplay-x.c (x_window_output_end):
13930 * redisplay-x.c (console_type_create_redisplay_x):
13931 New begin/end methods.
13933 * redisplay.c (redisplay_frame):
13934 * redisplay.c (Fredisplay_echo_area):
13935 New begin/end methods.
13936 use MAYBE_DEVMETH for clear_frame; it may not exist.
13938 * window.h (WINDOW_XFRAME):
13939 WINDOW_XFOO macros -- get locale and decode struct pointer.
13942 2000-05-12 Ben Wing <ben@xemacs.org>
13945 * emacs.c (ensure_no_quitting_from_now_on):
13946 * emacs.c (fatal_error_signal):
13947 * emacs.c (mswindows_handle_hardware_exceptions):
13949 * emacs.c (Fkill_emacs):
13950 * emacs.c (shut_down_emacs):
13951 * emacs.c (assert_failed):
13952 various improvements in fatal error handling.
13955 move preparing_for_armageddon to emacs.c.
13958 declare fatal_error_in_progress.
13961 * print.c (std_handle_out_external):
13962 * print.c (std_handle_out_va):
13963 * print.c (stderr_out):
13964 * print.c (stdout_out):
13965 use console under mswin when no standard output.
13966 don't do code conversion during fatal error.
13968 * scrollbar.c (Fscrollbar_page_up):
13969 * scrollbar.c (Fscrollbar_page_down):
13970 fix missing else. reindent.
13972 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13976 * glyphs.h (GLYPH_CACHEL_DESCENT):
13977 (GLYPH_CACHEL_DESCENT):
13978 (GLYPH_CACHEL_DESCENT):
13979 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13980 used in case these are inline functions.
13981 Use more absurd values to error check.
13983 include window.h for error check functions.
13985 2000-05-11 Ben Wing <ben@xemacs.org>
13987 * cmdloop.c (Freally_early_error_handler):
13988 Display message box under windows; otherwise, message will disappear
13989 before it can be viewed.
13992 * console-msw.c (Fmswindows_message_box):
13993 * console-msw.c (FROB):
13994 * console-msw.c (syms_of_console_mswindows):
13995 Define new fun `mswindows-message-box'.
13996 #### I will merge this into `popup-dialog-box'; just give me
14000 * general.c (syms_of_general):
14001 Some new symbols used in `mswindows-message-box'.
14004 * glyphs.c (Fset_image_instance_property):
14005 put warning in this fun.
14008 * glyphs.h (GLYPH_CACHEL_WIDTH):
14009 * glyphs.h (GLYPH_CACHEL_ASCENT):
14010 * glyphs.h (GLYPH_CACHEL):
14011 * glyphs.h (GLYPH_CACHEL_GLYPH):
14012 define error-checking versions to try to catch a bug i've seen --
14013 redisplay gets in an infinite loop because the glyph width of the
14014 continuation glyph is 65535.
14017 Extern message-box stuff.
14019 * window.c (allocate_window):
14020 * window.c (make_dummy_parent):
14021 * window.c (Fset_window_configuration):
14022 Use EQUAL not EQ for subwindow caches to make them work a bit
14023 better. (Something is still very broken.)
14026 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14028 * glyphs.c (image_instantiate): Suppress gcc warnings.
14029 (Fmake_image_instance): Fix doc string.
14030 * specifier.c (Fmake_specifier): Ditto.
14032 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14034 * paths.h.in (PATH_LOCK): Removed.
14035 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14036 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14038 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14040 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14041 Document (featurep '(and xemacs 21.02)).
14043 2000-05-09 Ben Wing <ben@xemacs.org>
14045 * buffer.c (complex_vars_of_buffer):
14046 update modeline-format doc.
14049 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14052 timeline of all released versions of Emacs, for use in creating
14053 authorship comments and in synching up.
14055 * glyphs-widget.c (image_instantiator_buttons):
14056 * glyphs-widget.c (image_instantiator_edit_fields):
14057 * glyphs-widget.c (image_instantiator_combo_box):
14058 * glyphs-widget.c (image_instantiator_scrollbar):
14059 * glyphs-widget.c (image_instantiator_progress_guage):
14060 * glyphs-widget.c (image_instantiator_tree_view):
14061 * glyphs-widget.c (image_instantiator_tab_control):
14062 * glyphs-widget.c (image_instantiator_labels):
14063 * glyphs-widget.c (image_instantiator_layout):
14064 * glyphs-widget.c (image_instantiator_native_layout):
14065 rename decode_domain method to governing_domain.
14068 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14069 * glyphs.c (add_entry_to_device_ii_format_list):
14070 make sure we don't put an entry more than once into the list.
14071 * glyphs.c (check_instance_cache_mapper):
14072 *************************************************************
14073 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14075 *************************************************************
14076 * glyphs.c (get_image_instantiator_governing_domain):
14077 clean up, expand on new concept of governing domain.
14078 * glyphs.c (instantiate_image_instantiator):
14079 * glyphs.c (allocate_image_instance):
14080 use governing_domain instead of cache_domain in naming.
14081 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14082 * glyphs.c (make_image_instance_1):
14083 * glyphs.c (Fmake_image_instance):
14084 allow for any domain (not just device), and process the
14085 governing domain correctly. very big doc fix.
14086 * glyphs.c (Fimage_instance_domain):
14087 new primitive, to retrieve the governing domain of an image instance.
14088 * glyphs.c (image_instantiate):
14089 use new governing_domain stuff. this fixes a crash you could get
14090 by instantiating certain widget glyphs in frame locales. (should
14091 signal an error instead of crashing.)
14092 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14093 * glyphs.c (Fglyphp): clean up doc.
14094 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14095 * glyphs.c (syms_of_glyphs):
14096 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14097 * glyphs.c (image_instantiator_format_create): add some comments about
14099 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14100 for current-display-table. (Apparently Hrjove implemented in 1998 a
14101 design I wrote up in 1996, but didn't update the doc string.)
14103 * glyphs.h: clean up a doc string.
14104 * glyphs.h (governing_domain):
14105 * glyphs.h (struct image_instantiator_methods):
14106 changes for governing_domain stuff.
14109 * gutter.c (Fgutter_specifier_p):
14110 * gutter.c (Fgutter_size_specifier_p):
14111 * gutter.c (Fgutter_visible_specifier_p):
14113 * objects.c (Fcolor_specifier_p):
14114 * objects.c (Ffont_specifier_p):
14115 * objects.c (Fface_boolean_specifier_p):
14116 doc strings moved to make-*-specifier.
14118 * redisplay.c (add_disp_table_entry_runes_1):
14119 * redisplay.c (generate_fstring_runes):
14120 * redisplay.c (screen):
14121 add random comments and doc strings.
14124 * specifier.c (Fmake_specifier):
14125 major overhaul of this doc string.
14127 * specifier.c (Fvalid_specifier_domain_p):
14128 comment about the bogosity of image instances being domains.
14129 * specifier.c (decode_domain):
14130 now non-static, used in glyphs.c.
14131 * specifier.c (specifier_instance):
14132 comment about the bogosity of image instances being domains.
14133 * specifier.c (Fgeneric_specifier_p):
14134 move doc string to make-generic-specifier.
14135 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14139 * specifier.h (DOMAIN_FRAME):
14140 * specifier.h (DOMAIN_LIVE_P):
14141 * specifier.h (DOMAIN_XDEVICE):
14143 add comments about problems with these macros.
14144 prototype for decode_domain.
14147 * toolbar.c (Ftoolbar_specifier_p):
14148 move doc string to `make-toolbar-specifier'.
14150 * window.c (window_unmap_subwindows_cache_mapper):
14151 *************************************************************
14152 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14154 *************************************************************
14156 2000-05-09 Andy Piper <andy@xemacs.org>
14158 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14160 * window.c (Fset_window_configuration): reset the frame subwindow
14161 cache and re-initialize the window subwindow caches.
14163 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14165 2000-05-09 Ben Wing <ben@xemacs.org>
14167 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14170 2000-04-26 Mike Woolley <mike@bulsara.com>
14172 * ntheap.c: Changed recreate_heap to limit the amount reserved
14173 for the heap to that which is actually available. Also now
14174 displays a message box (with some dignostics) in the event that
14175 it still can't start.
14177 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14179 * callproc.c (Fold_call_process_internal): GCPRO path
14181 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14183 Patch by Bill Perry.
14185 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14186 back data instead of #ifdef.
14187 (Fscrollbar_page_down): ditto.
14189 2000-05-07 Ben Wing <ben@xemacs.org>
14192 Kludge for defining Qmswindows_tstr.
14195 * nt.c (open_input_file):
14196 * nt.c (open_output_file):
14197 * nt.c (rva_to_section):
14198 * nt.c (mswindows_executable_type):
14199 Move all memory-mapped-file routines here (some were in unexnt.c,
14200 which is bad because they are used by process-nt.c, and unexnt
14201 won't be around when portable dumping). Synched the above routines
14205 Removed ifdef'd out bogus code.
14206 Fixed some prototypes.
14208 * nt.h (file_data):
14209 * nt.h (OFFSET_TO_RVA):
14210 * nt.h (RVA_TO_OFFSET):
14211 * nt.h (RVA_TO_PTR):
14212 Moved the memory-mapped-file structures, macros and prototypes
14213 here, to parallel nt.c. ntheap.h should really be removed
14214 entirely, and it's a non-portable-dumper specific file.
14216 * ntheap.h (round_to_next):
14217 Moved the memory-mapped-file structures, macros and prototypes
14220 * ntproc.c (compare_env):
14221 Moved rva_to_section and mswindows_executable_type to nt.c.
14222 Moved compare_env to process-nt.c.
14223 ntproc.c will die, one day.
14225 * ntproc.c (sys_spawnve):
14226 Account for win32_ -> mswindows_.
14229 * process-nt.c (struct nt_process_data):
14230 * process-nt.c (ensure_console_window_exists):
14231 * process-nt.c (compare_env):
14232 * process-nt.c (nt_create_process):
14233 * process-nt.c (nt_kill_process_by_pid):
14234 * process-nt.c (syms_of_process_nt):
14235 * process-nt.c (vars_of_process_nt):
14236 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14237 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14238 changes). Eliminate our old `nt-quote-process-args' mechanism.
14239 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14240 Move compare_env here from ntproc.c.
14242 * process.c (Fprocess_send_region):
14243 Takes an optional fourth argument, BUFFER, which should fix some
14244 problems with call-process.
14247 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14250 Move ICC_BAR_CLASSES to syscommctrl.h.
14251 Add preliminary macros for MSWindows/Mule. More to come.
14254 * unexnt.c (unexec):
14255 open_output_file moved to nt.c.
14258 2000-05-05 Andy Piper <andy@xemacs.org>
14260 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14261 instance from the frame cache also since GC may catch up too late
14262 to make frame deletion sane.
14264 2000-05-04 Andy Piper <andy@xemacs.org>
14266 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14267 (x_finalize_image_instance): ungcpro on deletion.
14269 * glyphs.c (image_instantiator_format_create): give pointers a
14270 query geometry method so that the geometry is at least set.
14272 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14273 initialize layouts if using widgets.
14275 2000-05-03 Andy Piper <andy@xemacs.org>
14277 * nt.c: remove bogus reference to sysmmsystem.h
14279 * gui-x.c (popup_selection_callback): fix no selection abort.
14281 2000-05-02 Andy Piper <andy@xemacs.org>
14283 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14284 (mswindows_widget_instantiate): ditto.
14286 * glyphs-widget.c (initialize_widget_image_instance): initialize
14287 children correctly.
14288 (widget_instantiate): cope with children and items in the same
14291 * glyphs.c (mark_image_instance): cope with children as a first
14293 (image_instance_equal): ditto.
14294 (image_instance_hash): ditto.
14295 (image_instance_changed): ditto.
14297 2000-04-30 Andy Piper <andy@xemacs.org>
14299 * glyphs.c (subwindow_query_geometry): new function. Return some
14301 (subwindow_instantiate): don't assign dimensions if none have been
14303 (image_instantiator_format_create): add subwindow_query_geometry.
14304 (print_image_instance): cope with layouts as widgets.
14306 2000-04-29 Andy Piper <andy@xemacs.org>
14308 * frame.c (delete_frame_internal): call
14309 free_frame_subwindow_instance_cache so that all subwindows are
14310 finalized before their parent.
14311 (mark_frame): remove subwindow_cachels.
14312 (Fmake_frame): remove subwindow_cachel manipulation.
14313 (allocate_frame_core): subwindow_instance_cache is a weak list.
14314 (delete_frame_internal): set subwindow_instance_cache to nil.
14316 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14318 (mswindows_finalize_image_instance): use the device
14319 not the domain as the domain may have died already.
14321 * glyphs-x.c (x_finalize_image_instance): ditto.
14322 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14325 * redisplay-output.c (redisplay_unmap_subwindows): update for
14326 subwindow instance cache as a weak list.
14327 (redisplay_unmap_subwindows_maybe): ditto.
14328 (redisplay_unmap_subwindows_except_us): ditto.
14330 * glyphs.c (unmap_subwindow): error checking will check the domain
14331 so don't deal with it here. Don't use cachels anymore.
14332 (map_subwindow): ditto.
14333 (update_subwindow_cachel_data): remove old accessor names.
14334 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14335 (Fresize_subwindow): don't update cachel.
14336 (mark_subwindow_cachels):
14337 (update_subwindow_cachel_data):
14338 (add_subwindow_cachel):
14339 (get_subwindow_cachel_index):
14340 (update_subwindow_cachel):
14341 (reset_subwindow_cachels):
14342 (mark_subwindow_cachels_as_not_updated): deleted.
14343 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14344 subwindow instance to the frame cache.
14345 (find_matching_subwindow): update for subwindow instance cache as
14347 (update_widget_instances): ditto.
14348 (image_instance_type_to_mask):inlined.
14349 (free_frame_subwindow_instance_cache): new function. finalize all
14350 subwindows that are instantiated.
14352 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14353 of cachel information.
14354 (IMAGE_INSTANCE_DISPLAY_X):
14355 (IMAGE_INSTANCE_DISPLAY_Y):
14356 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14357 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14358 (XIMAGE_INSTANCE_DISPLAY_X):
14359 (XIMAGE_INSTANCE_DISPLAY_Y):
14360 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14361 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14362 remove subwindow_cachel structure and function references.
14363 (image_instance_type_to_mask): inline from glyphs.c
14365 * redisplay.c (redisplay_frame): remove subwindow_cachel
14368 * frame.h (struct frame): remove subwindow_cachels.
14369 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14371 * frameslots.h: add subwindow_instance_cache.
14373 * window.c (replace_window): check subwindow cache of replacement.
14374 (window_unmap_subwindows_cache_mapper):
14375 (window_unmap_subwindows): new functions. Unmap all subwindows
14376 cached on this window.
14377 (mark_window_as_deleted): unmap all subwindows.
14379 2000-04-27 Andy Piper <andy@xemacs.org>
14381 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14383 * glyphs-widget.c (widget_layout): return something.
14384 (layout_layout): return something. Fail if not initialized.
14385 (layout_query_geometry): ditto.
14386 (image_instantiator_native_layout): new function. Initialized the
14387 native layout type.
14388 (widget_instantiate): don't do layout stuff here.
14390 * glyphs.c (instantiate_image_instantiator): reorded calling or
14391 instantiate and post_instantiate with layout in between.
14392 (image_instance_layout): be more selective about deciding whether
14393 the layout has been done or not.
14395 * glyphs.h (struct image_instantiator_methods): return a value
14396 from layout_method.
14398 2000-04-26 Andy Piper <andy@xemacs.org>
14400 * glyphs.c (allocate_image_instance): make initial width and
14401 height unspecified. Set initialized to 0.
14403 * syscommctrl.h new file. Encapsulates commctrl.h.
14405 * syswindows.h new file. Encapsulates windows.h.
14407 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14409 * console-msw.h: ditto.
14411 * redisplay-tty.c (tty_output_display_block): remove layout references.
14413 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14414 window handle rather than just the frame.
14416 * glyphs.c (mark_image_instance): remove layout references.
14417 (print_image_instance): ditto.
14418 (image_instance_equal): ditto.
14419 (image_instance_hash): ditto.
14420 (decode_image_instance_type): ditto.
14421 (encode_image_instance_type): ditto.
14422 (image_instantiate): ditto.
14423 (allocate_glyph): ditto.
14424 (Fimage_instance_height): ditto.
14425 (Fimage_instance_width): ditto.
14426 (update_subwindow): ditto.
14428 * redisplay-x.c (x_output_display_block): recode for layouts as
14431 * redisplay-output.c (redisplay_output_layout): recode for layouts
14433 (compare_runes): remove layout references.
14435 * redisplay-msw.c (mswindows_output_display_block): recode for
14436 layouts as widgets.
14438 * glyphs-widget.c (image_instantiator_layout): remove
14439 layout_possible_dest_types.
14440 (layout_possible_dest_types): deleted.
14442 * glyphs.h (image_instance_type): remove layout references.
14443 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14444 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14445 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14447 2000-04-25 Andy Piper <andy@xemacs.org>
14449 * glyphs-widget.c (image_instantiator_buttons):
14450 (image_instantiator_edit_fields):
14451 (image_instantiator_combo_box):
14452 (image_instantiator_scrollbar):
14453 (image_instantiator_progress_guage):
14454 (image_instantiator_tree_view):
14455 (image_instantiator_tab_control):
14456 (image_instantiator_labels):
14457 (image_instantiator_layout): call default post_instantiate method.
14458 (widget_post_instantiate): new function. Simply lays out the
14461 * glyphs.h (struct image_instantiator_methods): add
14462 post_instantiate method.
14464 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14467 2000-04-23 Andy Piper <andy@xemacs.org>
14469 * glyphs.h (struct image_instantiator_methods): add
14470 decode_domain_method.
14471 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14472 derived from the domain.
14473 (IMAGE_INSTANCE_FRAME): new accessor.
14474 (XIMAGE_INSTANCE_FRAME): ditto.
14476 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14477 instead of _SUBWINDOW_FRAME.
14478 (finalize_image_instance): ditto.
14479 (Fimage_instance_foreground): ditto.
14480 (Fimage_instance_background): ditto.
14481 (image_instantiate): ditto.
14482 (update_subwindow_cachel): ditto.
14483 (update_subwindow): ditto.
14484 (unmap_subwindow): ditto.
14485 (map_subwindow): ditto
14486 (subwindow_instantiate): ditto.
14487 * glyphs-msw.c (mswindows_update_widget): ditto.
14488 (mswindows_progress_gauge_instantiate): ditto.
14489 (mswindows_tab_control_update): ditto.
14490 * glyphs-x.c (x_update_widget): ditto.
14491 (x_widget_instantiate): ditto.
14492 (x_tab_control_instantiate): ditto.
14493 (x_tab_control_update): ditto.
14494 * event-msw.c (mswindows_wnd_proc): ditto
14496 * glyphs-widget.c (image_instantiator_layout): use
14497 subwindow_decode_domain.
14498 (image_instantiator_buttons): ditto.
14499 (image_instantiator_edit_fields): ditto.
14500 (image_instantiator_combo_box): ditto.
14501 (image_instantiator_scrollbar): ditto.
14502 (image_instantiator_progress_guage): ditto.
14503 (image_instantiator_tree_view): ditto.
14504 (image_instantiator_tab_control): ditto.
14505 (image_instantiator_labels): ditto.
14506 (image_instantiator_layout): ditto.
14508 * glyphs.c: add instance error checking to many functions.
14509 (instantiate_image_instantiator): decode device from cache_domain.
14510 (image_instantiate): partially rewrite by using
14511 decode_image_instantiator_domain to determine what domain the
14512 instance needs to be cached in.
14513 (decode_image_instantiator_domain): new function. Determine what
14514 domain the image needs to be cached in.
14515 (check_window_subwindow_cache): new error checking function.
14516 (check_instance_cache_mapper): ditto.
14517 (check_image_instance_structure): ditto.
14518 (subwindow_decode_domain): new function. Encodes a window as a
14519 subwindow's cache domain.
14520 (image_instantiator_format_create): use it for text and
14523 2000-04-21 Andy Piper <andy@xemacs.org>
14525 * glyphs.c (image_instance_device): new function.
14526 (image_instance_frame): new function.
14527 (image_instance_window): new function.
14528 (image_instance_live_p): new function.
14530 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14533 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14534 (IMAGE_INSTANCE_DOMAIN): new accessor.
14535 (XIMAGE_INSTANCE_DOMAIN): ditto.
14537 * glyphs-x.c (x_finalize_image_instance): device->domain.
14539 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14540 (mswindows_finalize_image_instance): ditto.
14542 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14543 (gif_instantiate): ditto.
14544 (png_instantiate): ditto.
14545 (tiff_instantiate): ditto.
14547 * glyphs.c (instantiate_image_instantiator): use domain rather
14549 (mark_image_instance): device -> domain.
14550 (print_image_instance): ditto.
14551 (finalize_image_instance): ditto.
14552 (image_instance_equal): ditto.
14553 (allocate_image_instance): ditto.
14554 (Fcolorize_image_instance): ditto.
14555 (query_string_geometry): ditto.
14556 (image_instantiate): ditto
14557 (query_string_font): ditto.
14558 (image_instantiate): ditto.
14559 (update_subwindow): ditto.
14560 (unmap_subwindow): ditto.
14561 (map_subwindow): ditto.
14562 (subwindow_instantiate): ditto.
14564 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14565 (DOMAIN_FRAME): ditto.
14566 (DOMAIN_WINDOW): ditto.
14567 (DOMAIN_LIVE_P): ditto.
14568 (XDOMAIN_DEVICE): ditto.
14569 (XDOMAIN_FRAME): ditto.
14570 (XDOMAIN_WINDOW): ditto.
14572 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14573 a valid specifier domain.
14575 2000-04-19 Andy Piper <andy@xemacs.org>
14577 * glyphs-widget.c (syms_of_glyphs_widget): remove
14578 widget-callback-current-channel.
14579 (vars_of_glyphs_widget): ditto.
14582 * gui.c (get_gui_callback): revert to previous behaviour.
14584 2000-04-18 Andy Piper <andy@xemacs.org>
14586 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14587 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14588 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14590 * glyphs.c (image_instance_equal): add margin_width.
14591 (image_instance_hash): ditto.
14593 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14594 (layout_query_geometry): ditto.
14595 (layout_layout): ditto.
14596 (syms_of_glyphs_widget): add margin-width.
14597 (image_instantiator_layout): allow margin-width.
14599 * glyphs.c (update_widget_instances): make a normal function.
14600 (syms_of_glyphs): remove Qupdate_widget_instances.
14603 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14604 so that we don't corrupt ideas about the last event or
14605 command. Remove widget-callback-current-channel fiddling.
14606 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14608 2000-05-01 Martin Buchholz <martin@xemacs.org>
14610 * XEmacs 21.2.33 is released.
14612 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14614 * make-src-depend: Allow dots in header file name.
14616 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14618 * mule-charset.h (struct charset_lookup): Add
14619 next_allocated_1_byte_leading_byte and
14620 next_allocated_2_byte_leading_byte.
14621 * mule-charset.c: Move above two variables so that those values
14624 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14626 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14627 when string length is zero.
14628 (find_charsets_in_emchar_string): Ditto.
14630 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14632 * lisp.h: extern Qdialog and Qmenubar.
14634 * gui-x.c: added events.h.
14635 also fixed typo which made the file uncompilable.
14637 * general.c: Added Qmenubar and Qdialog
14639 2000-04-28 Ben Wing <ben@xemacs.org>
14641 * frame-msw.c (mswindows_init_frame_1):
14642 * frame-msw.c (mswindows_mark_frame):
14643 * event-msw.c (mswindows_enqueue_dispatch_event):
14645 * console-msw.h (struct mswindows_frame):
14646 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14647 there are now three hash tables for callbacks.
14648 mswindows_enqueue_dispatch_event is no longer static.
14650 * dialog-x.c (maybe_run_dbox_text_callback):
14651 * dialog-x.c (dbox_descriptor_to_widget_value):
14652 switch to new cons3 form for callbacks.
14654 * glyphs-msw.c (mswindows_register_gui_item):
14655 * glyphs-msw.c (mswindows_widget_instantiate):
14656 * glyphs-msw.c (add_tree_item):
14657 * glyphs-msw.c (add_tab_item):
14658 new image instance parameter, so it can be passed to callback-ex.
14659 respect :callback-ex as well as :callback.
14661 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14664 * glyphs.c (print_image_instance):
14665 prettify, e.g. now prints widget type.
14668 certain funs have new image instance parameter.
14671 * gui.c (get_gui_callback):
14672 * gui.c (gui_item_add_keyval_pair):
14673 * gui.c (gui_item_init):
14674 * gui.c (gui_add_item_keywords_to_plist):
14675 * gui.c (mark_gui_item):
14676 * gui.c (gui_item_hash):
14677 * gui.c (gui_item_equal):
14678 * gui.c (copy_gui_item):
14679 * gui.c (syms_of_gui):
14680 recognize callback-ex in a number of places.
14681 also, fix the annoying "can't get out of yes-no dialog" bug.
14684 * gui.h (struct Lisp_Gui_Item):
14685 recognize callback-ex in a number of places.
14687 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14688 new parameter in button_item_to_widget_value.
14690 * glyphs-x.c (x_update_widget):
14691 * glyphs-x.c (x_button_instantiate):
14692 * glyphs-x.c (x_button_update):
14693 * glyphs-x.c (x_progress_gauge_instantiate):
14694 * glyphs-x.c (x_edit_field_instantiate):
14695 * glyphs-x.c (x_combo_box_instantiate):
14696 * glyphs-x.c (x_tab_control_instantiate):
14697 * glyphs-x.c (x_label_instantiate):
14698 new image instance parameter in various places.
14701 * event-Xt.c (enqueue_Xt_dispatch_event):
14702 this fun gets exported.
14705 * gui-msw.c (mswindows_handle_gui_wm_command):
14706 handle both :callback and :callback-ex, and generate our own
14707 event because it's one of the callback-ex arguments.
14710 * gui-x.c (popup_selection_callback):
14711 handle both :callback and :callback-ex, and generate our own
14712 event because it's one of the callback-ex arguments.
14713 * gui-x.c (button_item_to_widget_value):
14714 * gui-x.c (gui_items_to_widget_values_1):
14715 * gui-x.c (gui_item_children_to_widget_values):
14716 * gui-x.c (gui_items_to_widget_values):
14717 new image instance parameter in various places.
14719 * fns.c (Freplace_list):
14720 fix small typo in doc string.
14723 declare enqueue_Xt_dispatch_event.
14725 2000-04-28 Ben Wing <ben@xemacs.org>
14728 * buffer.c (Frecord_buffer):
14729 * buffer.c (syms_of_buffer):
14730 delete record-buffer-hook.
14733 * fns.c (Freplace_list):
14734 * fns.c (syms_of_fns):
14735 new primitive replace-list.
14738 slot for old buffer-alist.
14741 exfun replace-list.
14744 * redisplay.c (redisplay_frame):
14745 * redisplay.c (syms_of_redisplay):
14746 * redisplay.c (vars_of_redisplay):
14747 new hook buffer-list-changed-hook.
14750 2000-04-27 Ben Wing <ben@xemacs.org>
14752 * extents.h: extern in_modeline_generation.
14754 * redisplay.c (generate_formatted_string_db): set
14755 in_modeline_generation.
14757 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14758 flags if in modeline generation. otherwise frame-modified-tick
14759 is ticked far too often.
14760 Declare in_modeline_generation.
14762 2000-04-26 Ben Wing <ben@xemacs.org>
14764 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14766 (vars_of_emacs): add quick-build as an error-checking option.
14767 A bit kludgy, but there doesn't seem much point in creating
14768 a real var for this.
14770 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14772 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14774 * redisplay.h (struct display_line): Add a new variable,
14777 * redisplay.c (create_text_block): Set dl->line_continuation if
14778 the line continues.
14779 (create_string_text_block): Ditto.
14780 (regenerate_window_incrementally): Use line_continuation instead
14781 of searching continuation glyph.
14782 (add_margin_runes): Call add_glyph_rune.
14783 (add_glyph_rune): Handle margin glyph.
14785 2000-04-20 Martin Buchholz <martin@xemacs.org>
14787 * filelock.c (fill_in_lock_file_name):
14789 Check for IS_ANY_SEP instead of '/'.
14791 Avoid generating gratuitous garbage. Call user_login_name() directly.
14792 Never check errno without first seeing that system call failed.
14793 (unlock_file): Add GCPRO.
14794 (Flock_buffer): Fix docstring.
14795 (Ffile_locked_p): Fix docstring. Add GCPRO.
14797 2000-04-19 Martin Buchholz <martin@xemacs.org>
14799 * sysdep.c (get_pty_max_bytes):
14800 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14801 strings longer than 252 bytes.
14803 * md5.c: Unconditionally include ANSI header <limits.h>
14805 * glyphs-x.c (convert_EImage_to_XImage):
14806 * lisp-union.h (union Lisp_Object):
14807 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14809 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14811 * filelock.c (current_lock_owner): Remove unused variable o, p.
14813 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14815 * callint.c: Remove multiply defined symbol Qlet
14816 (syms_of_callint): ditto.
14818 2000-04-14 Andy Piper <andy@xemacs.org>
14820 * general.c (syms_of_general): add last-command, this-command, let
14823 * lisp.h: declare various symbols.
14825 * glyphs.h: declare Qwidget_callback_current_channel;
14827 * glyphs-widget.c (syms_of_glyphs_widget): add
14828 Qgui_callback_current_channel.
14829 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14831 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14832 widget-callback-current-channel when invoking the interactive
14833 arg. Also bind last-command and next-command when invoking the
14835 * gui-x.c (popup_selection_callback): ditto.
14837 * gui.c (get_gui_callback): massage args so that we are always
14838 calling eval. This allows us to add our own variable bindings
14841 * glyphs-x.c (x_button_instantiate): use
14842 gui_items_to_widget_values since this is GC safe.
14843 (x_progress_gauge_instantiate): ditto.
14844 (x_edit_field_instantiate): ditto.
14845 (x_label_instantiate): ditto.
14847 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14848 (emacs_Xt_event_widget_focus_out): new function
14849 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14851 (emacs_Xt_event_add_widget_actions): new function. add focus
14852 functions as actions.
14853 (init_event_Xt_late): use it.
14855 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14857 * event-stream.c (Fdispatch_event): Doc fix.
14859 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14861 * postgresql.c: Remove all references to PQsetenv*.
14863 * postgresql.h: Remove references to PGsetenvHandler object.
14864 * lrecord.h (lrecord_type): Ditto.
14866 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14868 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14869 real_heigh and real_width members, and accessor macros for these.
14871 * glyphs-msw.c (init_image_instance_geometry): New function.
14872 (init_image_instance_from_dibitmap): Use it.
14873 (mswindows_resource_instantiate): Use it.
14874 (init_image_instance_from_xbm_inline): Use it.
14875 (mswindows_initialize_image_instance_mask): Use real bitmap
14877 (mswindows_create_resized_bitmap): Ditto.
14878 (mswindows_create_resized_mask): Ditto.
14880 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14881 and bitmap to their surface size.
14883 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14885 * process-unix.c (unix_send_process): Guard against process MIA
14886 after Faccept_process_output.
14888 2000-04-11 Ben Wing <ben@xemacs.org>
14890 * eval.c (unbind_to_hairy): fix brokenness introduced by
14891 nanosecond speed improvements.
14893 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14895 * sunplay.c (init_device): To play sounds correctly, the device
14896 apparently needs to be initialized at least once by XEmacs. Make
14899 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14901 * redisplay.c (add_margin_runes): Add text image glyph
14904 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14906 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14907 gcc is newer than 2.5.
14909 2000-04-06 Colin Rafferty <colin@xemacs.org>
14911 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14913 * fns.c (size_bit_vector):
14914 * alloc.c (size_vector):
14915 (make_vector_internal):
14916 (make_bit_vector_internal):
14917 (sweep_bit_vectors_1):
14918 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14920 2000-04-06 Andy Piper <andy@xemacs.org>
14922 * gmalloc.c (malloc): undo previous change.
14927 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14929 * line-number.c (buffer_line_number): Revert to former version.
14931 2000-04-06 Andy Piper <andy@xemacs.org>
14933 * gmalloc.c (malloc): add error checking.
14938 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14939 button_item_to_widget_value arg.
14941 * glyphs-x.c (x_button_instantiate): add extra
14942 button_item_to_widget_value arg.
14943 (x_progress_gauge_instantiate): ditto.
14944 (x_edit_field_instantiate): ditto.
14945 (x_label_instantiate): ditto.
14947 * gui-x.c (gui_items_to_widget_values_1): add extra
14948 button_item_to_widget_value arg.
14949 (button_item_to_widget_value): add extra menu_item_p arg.
14951 * gui-x.h: change signature of button_item_to_widget_value.
14953 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14954 button_item_to_widget_value arg.
14956 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14958 * buffer.h (struct buffer): auto_save_modified should be long.
14960 2000-04-05 Andy Piper <andy@xemacs.org>
14962 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14964 (button_query_geometry): give a little more room so that athena
14967 2000-04-05 Andy Piper <andy@xemacs.org>
14969 * faces.c (complex_vars_of_faces): The widget face should inherit
14970 the font of the gui-element face.
14972 2000-04-04 Andy Piper <andy@xemacs.org>
14974 * glyphs-x.c (x_button_update): new function. unconditionally
14975 update a button's state when the instance is dirty.
14976 (image_instantiator_format_create_glyphs_x): add x_button_update.
14977 (x_widget_instantiate): remove old resize cruft.
14979 2000-04-02 Andy Piper <andy@xemacs.org>
14981 * frame.c (change_frame_size_1): The introduction of gutters means
14982 that we need to allow 0 as a potential frame dimension.
14984 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14986 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14987 image glyph if allow_cursor.
14988 (add_hscroll_rune): Don't allow cursor to border glyph.
14989 (create_text_block): Ditto.
14991 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14992 text not in buffer.
14993 (redisplay_output_layout): Call ensure_face_cachel_complete for
14997 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14999 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15001 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15004 * redisplay-tty.c (tty_output_display_block): Delete the routine
15005 for text image glyph
15006 * redisplay-x.c (x_output_display_block): ditto
15007 * redisplay-msw.c (mswindows_output_display_block): ditto
15009 2000-02-02 Mike Alexander <mta@arbortext.com>
15011 Note: Some of these were committed by accident as part of other
15014 * regex.c (regex_compile): Avoid compiler warnings.
15016 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15018 * nt.h: Declare term_ntproc correctly.
15020 * nt.c: Remove incorrect declaration of get_home_directory which
15021 is declared correctly in lisp.h.
15023 * keymap.c (get_keyelt): Avoid compiler warnings.
15024 (raw_lookup_key_mapper): Avoid compiler warnings.
15026 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15028 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15030 * filemode.c (mode_string): Avoid compiler warnings.
15032 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15035 * events-mod.h: Undef some things that winuser.h defines differently.
15037 * data.c (Faset): Avoid compiler warnings.
15039 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15041 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15043 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15044 Fall through to simple beep on error.
15045 Replace "extern" by real header file.
15047 * linuxplay.c: Use nativesound.h
15048 (play_sound_data): Return error code. Be less verbose on error.
15050 * sunplay.c: Use nativesound.h
15051 (play_sound_data): Return error code. Be less verbose on error.
15053 * ntplay.c: Use nativesound.h
15054 (play_sound_data): Return fake error code
15056 * sgiplay.c: Use nativesound.h
15057 (play_sound_data): Return error code
15059 * hpplay.c: Use nativesound.h, partially implement
15060 new error code. Break compilation until finished.
15061 (play_sound_data): error code.
15063 * nativesound.h (play_sound_file):
15064 (play_sound_data): Prototype in new header.
15066 2000-03-31 Andy Piper <andy@xemacs.org>
15068 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15069 for toggle and radio buttons.
15070 (image_instantiator_buttons): use it.
15072 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15074 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15075 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15076 found. Scrollbar event probably belonged to some old config.
15078 2000-03-31 Andy Piper <andy@xemacs.org>
15080 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15082 (initialize_widget_image_instance): default layout to
15083 LAYOUT_HORIZONTAL rather than 0.
15084 (widget_instantiate): reverse the item list at the end rather than
15086 (layout_layout): re-code for the border text at the front of the
15087 item list rather than at the end.
15088 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15089 provided by the user.
15090 (widget_query_geometry): comment.
15092 2000-03-30 Andy Piper <andy@xemacs.org>
15094 * glyphs-widget.c (image_instantiator_layout): allow standard
15095 widget keywords in layouts.
15097 * gutter.c (output_gutter): cope with nil gutter contents.
15099 * frame.c (Fset_frame_properties): add gutter docs.
15101 2000-03-29 Andy Piper <andy@xemacs.org>
15103 * toolbar-msw.c (TBSTYLE_FLAT): add.
15104 (mswindows_output_toolbar): minor fiddling.
15106 2000-03-29 Andy Piper <andy@xemacs.org>
15108 * gutter.c (output_gutter): force gutter size recalculation if
15109 what we are trying to display won't fit.
15110 (update_gutter_geometry): new function. A per-gutter version of
15111 update_frame_gutter_geometry.
15112 (update_frame_gutter_geometry): use it.
15113 (redraw_exposed_gutter): add extra debugging output.
15115 2000-03-28 Mike Alexander <mta@arbortext.com>
15117 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15118 (pdump_file_unmap): Implement it on Windows
15119 (pdump_file_get): Save alocated handles for pdump_file_unmap
15121 2000-03-28 Andy Piper <andy@xemacs.org>
15123 * gui.c (get_gui_callback): treat Quit specially.
15125 2000-03-27 Andy Piper <andy@xemacs.org>
15127 * glyphs.c (image_instantiate): be careful to check in the same
15130 2000-03-27 Didier Verna <didier@xemacs.org>
15132 * config.h.in: define the proper SMART_INCLUDE macro.
15133 handle renaming of `foo_h_path' to `foo_h_file'.
15135 * database.c: ditto.
15139 * linuxplay.c: ditto.
15141 * terminfo.c: ditto.
15143 * tooltalk.h: ditto.
15145 2000-03-27 Andy Piper <andy@xemacs.org>
15147 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15148 gets updated whenever the face might have changed.
15150 2000-03-26 Mike Alexander <mta@arbortext.com>
15152 * dumper.c (pdump_resource_free): Fix the comment.
15154 2000-03-21 Olivier Galibert <galibert@pobox.com>
15156 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15158 2000-03-22 Mike Alexander <mta@arbortext.com>
15160 * dumper.c: Include Windows headers on Windows
15161 (pdump_resource_free): Add a body to the function
15162 (pdump_load): exe_name -> exe_path and add some comments.
15164 2000-03-25 Mike Alexander <mta@arbortext.com>
15166 * gui.c (copy_gui_item_tree): Return a value in all cases
15168 2000-03-21 Didier Verna <didier@xemacs.org>
15170 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15172 (SMART_INCLUDE): new macro.
15173 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15174 the proper location.
15176 * postgresql.c: use it.
15180 2000-03-24 Andy Piper <andy@xemacs.org>
15182 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15185 2000-03-24 Andy Piper <andy@xemacs.org>
15187 * redisplay-output.c (compare_runes): use image_instance_changed
15188 to detect changes. Do not depend on glyphs_changed, only depend on
15190 (redisplay_output_layout): add debug messages.
15191 (compare_runes): ditto.
15193 * glyphs.h: declare new functions.
15194 (struct Lisp_Image_Instance): remove percent and associated
15197 * gui.h: declare new copying functions.
15199 * gui.c (copy_gui_item_tree): new function.
15200 (copy_gui_item): new function.
15201 (gui_item_id_hash): revert to standard hash.
15202 (gui_item_hash): ditto.
15203 (gui_item_hash_internal): deleted.
15204 (mark_gui_item): mark value.
15205 (gui_item_add_keyval_pair): add value.
15206 (gui_item_init): ditto.
15207 (gui_add_item_keywords_to_plist): ditto.
15208 (gui_item_equal): ditto.
15209 (syms_of_gui): add Q_value.
15211 * glyphs-x.c (x_progress_gauge_update): use pending items and
15212 value for setting the state.
15213 (x_update_widget): don't set items from pending here.
15215 * glyphs-widget.c (update_widget): update items here.
15216 (progress_gauge_set_property): use items for storing value. Put
15217 new value in pending items.
15219 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15220 items for new value. Convert percent -> value.
15221 (mswindows_tab_control_update): don't update items here.
15223 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15224 (update_subwindow): ditto.
15225 (image_instance_changed): new function. Compare hash values and
15226 past and present widget items.
15227 (image_instantiate): We more careful about where we instantiate
15229 (image_instantiate): add error checking.
15231 * gutter.c (syms_of_gutter): use -hook.
15233 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15235 * console-tty.c (Fset_console_tty_input_coding_system): Use
15237 (Fset_console_tty_output_coding_system): Use Qterminal.
15238 (tty_init_console): Use Qkeyboard and Qterminal.
15240 2000-03-21 Ben Wing <ben@xemacs.org>
15242 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15243 From Mike Alexander <mta@arbortext.com>.
15245 2000-03-21 Ben Wing <ben@xemacs.org>
15247 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15248 process brokenness. Proper implementation to come.
15250 Rename call-process-internal to old-call-process-internal.
15251 New impl. in process.el.
15253 2000-03-21 Martin Buchholz <martin@xemacs.org>
15255 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15257 2000-03-20 Andy Piper <andy@xemacs.org>
15259 * glyphs.c (full_list_hash): make hashes of the same elements in
15260 different orders return different values.
15262 2000-03-20 Martin Buchholz <martin@xemacs.org>
15264 * XEmacs 21.2.32 is released.
15266 2000-03-20 Martin Buchholz <martin@xemacs.org>
15268 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15269 (DFC_MALLOC_USE_CONVERTED_DATA):
15270 Add aliasing-safe casts to allow use with char* or unsigned char*
15273 * eldap.c (Fldap_open):
15274 (Fldap_search_basic):
15277 Make C++-compilable.
15278 Make sure GCPRO'ed variables are initialized.
15279 Use temp variables to avoid repeated calls to Flength.
15281 2000-03-16 Martin Buchholz <martin@xemacs.org>
15284 Make sure PATH_MAX is always defined.
15285 Include limits.h for PATH_MAX.
15286 Deprecate use of MAXPATHLEN.
15288 2000-03-10 Martin Buchholz <martin@xemacs.org>
15290 * emacs.c: Add reinit_vars_of_fileio.
15291 * symsinit.h: Add reinit_vars_of_fileio.
15292 * fileio.c (reinit_vars_of_fileio): New.
15293 * fileio.c (Fmake_temp_name):
15294 Initialize temp_name random number from microseconds to make
15295 collisions even less likely. Initialize always at process startup
15296 time. (make-temp-name) used to return the same file name twice in
15298 Random stylistic fiddling.
15301 2000-03-20 Andy Piper <andy@xemacs.org>
15303 * glyphs.c (image_instantiate): allow text glyphs to be
15304 instantiated in the minibuffer window.
15306 2000-03-19 Andy Piper <andy@xemacs.org>
15308 * glyphs.c (image_instance_hash): be careful about which items we
15311 * glyphs-widget.c (tab_control_set_property): record into pending
15312 items rather than the actual items.
15314 * glyphs-x.c (x_update_widget): use pending items to update with.
15316 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15319 * glyphs.c (mark_image_instance): mark pending items.
15321 * window.c (Fset_window_configuration): record the buffer.
15322 (Fselect_window): totally revert previous change which breaks many
15325 2000-03-18 Andy Piper <andy@xemacs.org>
15327 * glyphs-msw.c (mswindows_tab_control_update): force selected
15330 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15331 window domain cache, otherwise we get inconsistencies at
15332 startup. There is something fishy at startup which can lead to the
15333 minibuffer being the selected window when the gutter content is
15336 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15338 (parse_gui_item_tree_children): ditto.
15339 (parse_gui_item_tree_item): ditto.
15341 * glyphs.c (Fupdate_widget_instances): return something.
15343 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15345 * window.c (Fselect_window): Undo 2000-03-17 change.
15347 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15349 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15350 against v7.0 libraries. Insta-coredump city until the postgres
15353 2000-03-17 Andy Piper <andy@xemacs.org>
15355 * faces.c (complex_vars_of_faces): don't give the widget face an
15356 inherited background pixmap.
15358 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15361 * event-stream.c (Fdispatch_non_command_events): return something.
15363 * gutter.c (output_gutter): use widget face.
15364 (clear_gutter): ditto.
15366 * NEWS: adjust again.
15368 * window.c (Fselect_window): make sure this runs to completion to
15369 avoid oddities with Fset_window_configuration.
15370 (Fcurrent_window_configuration): in general do not save the
15371 minibuffer as the selected window.
15373 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15375 2000-03-16 Olivier Galibert <galibert@pobox.com>
15377 * emacs.c (Frunning_temacs_p): Revert previous patch.
15378 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15380 2000-03-16 Andy Piper <andy@xemacs.org>
15382 * glyphs-x.c (x_tab_control_update): if no widget values then
15385 * NEWS: update for new features.
15387 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15388 synthetic event to the native system.
15389 (reinit_vars_of_event_Xt): set force_event_pending to
15390 emacs_Xt_force_event_pending.
15392 * events.h (struct event_stream): add force_event_pending.
15394 * specifier.c (recompute_one_cached_specifier_in_window): add
15397 * redisplay.c (redisplay_frame): don't call
15398 update_frame_subwindows. Reset subwindow cachels when
15399 subwindows_changed, removing this was an optimization too far.
15401 * redisplay-output.c (compare_runes): reorganize so that we catch
15402 glyph changes when we want them. Set optimize_output when this
15403 would help layouts.
15404 (redisplay_output_layout): remove frame_really_changed, use
15405 optimize_output instead.
15407 * redisplay-msw.c (mswindows_output_display_block): reset
15408 optimize_output after outputting a glyph.
15409 * redisplay-x.c (x_output_display_block): ditto.
15410 * redisplay-tty.c (tty_output_display_block): ditto.
15412 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15414 (gutter_specs_changed): do specific gutter positions.
15415 (top_gutter_specs_changed): new function. Only update the
15416 specified gutter specs.
15417 (bottom_gutter_specs_changed): ditto.
15418 (left_gutter_specs_changed): ditto.
15419 (right_gutter_specs_changed): ditto.
15421 * gui.c (gui_item_hash_internal): new function, does a real hash.
15422 (gui_item_id_hash): use it.
15423 (gui_item_hash): hash the eval'ed gui_item.
15425 * gui-x.c (popup_selection_callback): send an eval event to call
15426 Fupdate_widget_instances.
15428 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15429 to call Fupdate_widget_instances.
15431 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15432 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15434 * glyphs.c: (update_frame_subwindows): deleted.
15435 (Fupdate_widget_instances): new function for updating the dirty
15436 state of widgets that might have changed.
15437 (syms_of_glyphs): add Qupdate_widget_instances.
15438 (full_list_hash): hash a list completely.
15439 (image_instance_hash): use it for items and properties.
15441 * frame-msw.c (mswindows_size_frame_internal): remove unused
15444 * faces.h (struct face_cachel): fix comment.
15446 * event-stream.c (Fdispatch_non_command_events): new
15447 function. Process non-command events, forcing an event cycle
15449 (syms_of_event_stream): declare.
15450 (event_stream_force_event_pending): new function. Force an event
15451 on the native event queue so that an event cycle will occur next
15455 (struct ntpipe_shove_stream):
15456 (mswindows_enqueue_dispatch_event):
15457 (mswindows_dequeue_dispatch_event):
15458 (mswindows_cancel_dispatch_event):
15459 (mswindows_pump_outstanding_events):
15460 (mswindows_drain_windows_queue):
15461 (mswindows_handle_paint):
15462 (mswindows_wnd_proc):
15463 (mswindows_key_to_emacs_keysym):
15464 (get_process_input_waitable):
15465 (emacs_mswindows_delete_stream_pair): re-indent file.
15466 (mswindows_need_event): do not process further fds if the windows
15467 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15468 fixes the 100% cpu problem.
15469 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15471 2000-03-15 Olivier Galibert <galibert@pobox.com>
15477 * emacs.c: Moved dump file searching to dumper.c.
15478 (Frunning_temacs_p): Fixed.
15480 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15481 last_lrecord_type_index_assigned.
15483 2000-02-20 Olivier Galibert <galibert@pobox.com>
15485 * symsinit.h: Added reinit parameter to init_console_stream
15488 * lisp.h: Added file parameter to pdump_load declaration.
15490 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15491 support. Added dump file searching.
15493 * config.h.in: Added EMACS_PROGNAME.
15495 * console-stream.c (init_console_stream): Fix reinitialisation
15496 when running from temacs.
15498 * alloc.c (pdump): Add id support.
15499 (pdump_load): Add file parameter and signature/id support.
15501 * Makefile.in.in: Add full pdump support.
15503 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15505 * postgresql.c: Update documentation to reflect latest code
15507 (print_result): Show tuple counts in printed representation when
15509 (Fpq_put_nbytes): MULE-ize.
15510 (Fpq_get_line_async): Ditto.
15512 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15514 * postgresql.c (Fpq_lo_import): Fix return value.
15515 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15517 2000-03-13 Ben Wing <ben@xemacs.org>
15519 * alloc.c (pdump_load):
15520 Fix compile warning under mswin.
15522 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15524 * postgresql.c: Mule-ization, bug fixes.
15525 Use PG_CODING to encapsulate coding system name changes.
15526 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15527 (pg-coding-system): Create.
15529 (Fpq_conn_defaults): Mule-ize.
15530 (Fpq_connectdb): Mule-ize & bug fix.
15531 (Fpq_connect_start): Mule-ize.
15532 (Fpq_set_client_encoding): Mule-ize.
15533 (Fpq_finish): Document `DEAD' connection status.
15534 (Fpq_clear): Ditto.
15535 (Fpq_pgconn): Mule-ize.
15536 (Fpq_exec): Mule-ize & bug fix.
15537 (Fpq_send_query): Ditto.
15538 (Fpq_get_result): Ditto.
15539 (Fpq_res_status): Mule-ize.
15540 (Fpq_result_error_message): Mule-ize.
15541 (Fpq_ntuples): fix comments.
15542 (Fpq_fname): Mule-ize.
15543 (Fpq_fnumber): Mule-ize.
15544 (Fpq_ftype): fix comments.
15545 (Fpq_get_value): Mule-ize.
15546 (Fpq_cmd_status): Ditto.
15547 (Fpq_cmd_tuples): Ditto.
15548 (Fpq_oid_value): Ditto.
15549 (Fpq_notifies): Ditto.
15550 (Fpq_lo_import): Ditto.
15551 (Fpq_lo_export): Ditto.
15552 (Fpq_get_line): Ditto.
15553 (Fpq_put_line): Mule-ize and bug fix.
15554 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15556 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15558 * postgresql.c (vars_of_postgresql): Mule-ize.
15559 (Fpq_conn_defaults): Ditto.
15561 2000-03-12 Ben Wing <ben@xemacs.org>
15563 * alloc.c (Fmake_byte_code):
15564 * alloc.c (debug_string_purity_print):
15565 * alloc.c (pdump_backtrace):
15566 * alloc.c (pdump_get_indirect_count):
15567 * alloc.c (pdump_register_sub):
15568 * alloc.c (pdump_register_object):
15569 * alloc.c (pdump_register_struct):
15570 * alloc.c (pdump_dump_data):
15571 * alloc.c (pdump_reloc_one):
15575 * console-msw.c (GetConsoleHwnd):
15576 * console-msw.c (msw_hide_console):
15577 * console-msw.c (msw_show_console):
15578 * console-msw.c (msw_ensure_console_buffered):
15579 * console-msw.c (msw_output_console_string):
15580 * console-msw.c (console_type_create_mswindows):
15582 a) Added functions to manipulate the console window for use with
15585 b) Added support for writing text to the console, which is now
15586 used under Windows when xemacs is not being run non-interactively,
15587 to write text that would otherwise be destined for stdout because
15588 under these circumstances, text written to stdout tends to
15589 disappear and not be seen.
15593 * event-Xt.c (x_event_to_emacs_event):
15594 * event-Xt.c (describe_event_window):
15595 * events-mod.h (XEMACS_MOD_CONTROL):
15597 * events.c (Fmake_event):
15598 * events.c (character_to_event):
15599 * events.c (event_to_character):
15600 * events.c (format_event_object):
15601 * events.c (Fevent_modifiers):
15603 * events.h (struct key_data):
15604 * events.h (struct button_data):
15605 * events.h (struct misc_user_data):
15606 * frame-x.c (Fcde_start_drag_internal):
15607 * frame-x.c (Foffix_start_drag_internal):
15608 * gpmevent.c (Freceive_gpm_event):
15610 * keymap.c (bucky_sym_to_bucky_bit):
15611 * keymap.c (control_meta_superify):
15612 * keymap.c (make_key_description):
15613 * keymap.c (keymap_lookup_directly):
15614 * keymap.c (create_bucky_submap):
15615 * keymap.c (keymap_store):
15616 * keymap.c (define_key_check_and_coerce_keysym):
15617 * keymap.c (define_key_parser):
15618 * keymap.c (define_key_alternate_name):
15619 * keymap.c (Fdefine_key):
15620 * keymap.c (raw_lookup_key_mapper):
15621 * keymap.c (struct map_keymap_unsorted_closure):
15622 * keymap.c (map_keymap_unsorted_mapper):
15623 * keymap.c (map_keymap_sort_predicate):
15624 * keymap.c (map_keymap_sorted):
15625 * keymap.c (accessible_keymaps_mapper_1):
15626 * keymap.c (where_is_recursive_mapper):
15627 * keymap.c (describe_map_mapper):
15628 * keymap.c (describe_map_sort_predicate):
15629 * keymap.c (describe_map):
15630 * keymap.c (complex_vars_of_keymap):
15631 And a number of other files, the key modifier preprocessor
15632 constants that xemacs uses have names that conflict with constants
15633 defined under MS Windows for other purposes, so they were renamed
15634 to begin with the prefix XEMACS_. The variables that hold such
15635 modifiers were changed to consistently be of type int to fix
15636 various compile warnings.
15638 * console.c (complex_vars_of_console):
15641 * device-msw.c (mswindows_finish_init_device):
15642 * device-msw.c (msw_get_workspace_coords):
15643 * device-msw.c (mswindows_device_system_metrics):
15644 and various other files, added support for a new
15645 device property called offset-workspace which returns the position
15646 of the upper left corner of the workspace area and goes along with
15647 the existing size-workspace property.
15650 * dialog-msw.c (push_bufbyte_string_as_unicode):
15651 * dialog-msw.c (mswindows_popup_dialog_box):
15652 Added support for XEmacs-style accelerator specifications in
15653 button text. Note: I didn't add support for this under X Windows,
15654 and somebody needs to do this.
15657 * dialog.c (Fpopup_dialog_box):
15658 Documented the support for accelerators that was just mentioned.
15660 editfns.c (get_home_directory): Changed behavior under Windows
15661 when HOME not defined; former behavior was irretrievably broken.
15664 * emacs.c (main_1):
15666 * minibuf.c (clear_echo_area_internal):
15667 * minibuf.c (echo_area_append):
15669 * print.c (std_handle_out_external):
15670 * print.c (std_handle_out_va):
15672 * print.c (write_string_to_stdio_stream):
15673 * print.c (output_string):
15674 * print.c (debug_print):
15675 * print.c (debug_backtrace):
15676 * print.c (debug_short_backtrace):
15677 Cleaned up the code that prints text to stdout so that this can be
15678 changed to output into a console window instead under MS Windows,
15679 as described above.
15682 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15683 * eval.c (internal_catch):
15684 * eval.c (unwind_to_catch):
15685 * eval.c (throw_or_bomb_out):
15686 * eval.c (condition_case_1):
15687 * eval.c (signal_1):
15688 * eval.c (check_error_state_sanity):
15689 * eval.c (call_with_suspended_errors_1):
15690 * eval.c (call_with_suspended_errors):
15691 * eval.c (reinit_vars_of_eval):
15692 Added code to catch throw loops and check for a pesky bug that may
15696 * event-msw.c (key_needs_default_processing_p):
15697 * event-msw.c (mswindows_wnd_proc):
15698 * event-msw.c (mswindows_modifier_state):
15699 * event-msw.c (emacs_mswindows_quit_p):
15700 * event-msw.c (vars_of_event_mswindows):
15701 a) Added support for using the alt key to select menu items as is
15702 standard under MS Windows. This is controlled using the variable
15703 menu-accelerator-enabled, just like under X Windows. There is an
15704 option on the options menu to turn this support on. I really
15705 think that it should be on by default under Windows, but I'm not
15706 going to make this change yet.
15708 b) Added support for dynamic display size changes under Windows.
15711 * event-stream.c (maybe_echo_keys):
15712 * event-stream.c (Fnext_event):
15713 * event-stream.c (command_builder_find_leaf):
15714 * event-stream.c (lookup_command_event):
15715 * event-stream.c (execute_command_event):
15716 * event-stream.c (pre_command_hook):
15717 * event-stream.c (post_command_hook):
15718 * event-stream.c (syms_of_event_stream):
15719 * event-stream.c (vars_of_event_stream):
15720 * event-stream.c (complex_vars_of_event_stream):
15721 * events.h (struct command_builder):
15723 a) Tried to clean up a little bit the horribly written x-specific
15724 accelerator code that crept into this file. I moved this code
15725 into menubar-x.c where it belongs. I also needed to move the
15726 command builder structure into the file events.h because it is
15727 accessed directly by this accelerator code. What I didn't do, but
15728 which should be done at some point, is to properly abstract this
15729 code using device methods instead of the kludgy way that it
15730 currently hooks into the event code.
15732 b) Added the lisp variables this-command-properties and
15733 last-command- properties, which should be used to synchronize two
15734 adjacent commands in preference to playing games with the variable
15735 this-command, which is typically what happens.
15737 c) Added some slightly nasty code to hook into the lisp support
15738 for shifted- motion-key selection. This is actually necessary for
15739 somewhat complicated reasons, which are described in
15740 simple.el. (NB: I think the proper thing would be to have the code
15741 that calls the pre and post command hooks also call out to generic
15742 lisp functions in simple.el, where all built-in stuff could be
15743 added. I will think about this more.)
15745 * event-unixoid.c (poll_fds_for_input):
15746 * lread.c (readchar):
15747 * redisplay-tty.c (tty_clear_frame):
15748 * redisplay-x.c (x_get_gc):
15749 * signal.c (interrupt_signal):
15750 And a whole bunch of other files: fixed up places that printed
15751 directly to stderr to instead call the function stderr_out so that
15752 the changes I made under Windows work correctly.
15754 * filemode.c (mode_string):
15758 * frame-msw.c (mswindows_size_frame_internal):
15759 Fixed the computation of frame size and position to keep the frame
15760 within the workspace area, rather than within the physical
15761 dimensions of the screen, so that the frame doesn't overlap window
15762 manager decorations, such as the start menu and toolbar, typically
15763 at the bottom of the screen.
15765 * frame.c (vars_of_frame):
15766 Changed the default frame title format under MS Windows to consist
15767 of buffername-XEmacs, which is standard under MS Windows. I think
15768 it might be a good idea to change this everywhere because I think
15769 it is superior to the current frame title format, but this is the
15770 kind of change that is likely to cause some people to get annoyed,
15771 so I'm not making it.
15773 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15775 * gui-msw.c (mswindows_handle_gui_wm_command):
15776 Fixed compile warnings.
15779 * gui-x.c (strdup_and_add_accel):
15780 * gui-x.c (button_item_to_widget_value):
15782 Added code to automatically put an accelerator onto the beginning
15783 of menu items that don't have one as is now the standard, and is
15784 described more later. Also fixed things so that the menu item
15785 name can be an evaluated expression, again a new standard.
15788 * gui.c (gui_item_add_keyval_pair):
15789 * gui.c (make_gui_item_from_keywords_internal):
15790 * gui.c (gui_add_item_keywords_to_plist):
15791 * gui.c (gui_item_accelerator):
15792 * gui.c (gui_name_accelerator):
15793 * gui.c (gui_item_included_p):
15794 * gui.c (gui_item_display_flush_left):
15795 * gui.c (gui_item_display_flush_right):
15796 * gui.c (parse_gui_item_tree_item):
15797 * gui.c (parse_gui_item_tree_children):
15798 * gui.c (parse_gui_item_tree_list):
15799 Mule-ized. Cleanup. GCPRO addition.
15801 * line-number.c (buffer_line_number):
15803 * lisp.h (EMACS_INT_MAX):
15804 Added the manifest constant EMACS_INT_MIN corresponding to the
15805 existing constant EMACS_INT_MAX. This is partially to fix compile
15806 warnings under Windows, and partly for cleanliness.
15809 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15810 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15811 * menubar-msw.c (displayable_menu_item):
15812 * menubar-msw.c (populate_menu_add_item):
15813 * menubar-msw.c (populate_or_checksum_helper):
15814 * menubar-msw.c (populate_menu):
15815 * menubar-msw.c (update_frame_menubar_maybe):
15816 * menubar-msw.c (prune_menubar):
15817 * menubar-msw.c (msw_char_is_accelerator):
15818 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15819 * menubar-msw.c (mswindows_handle_wm_command):
15820 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15821 * menubar-msw.c (mswindows_handle_wm_initmenu):
15822 * menubar-msw.c (mswindows_update_frame_menubars):
15823 * menubar-msw.c (mswindows_free_frame_menubars):
15824 * menubar-msw.c (mswindows_popup_menu):
15825 Fixed a bug in handling accelerators where an extra character
15826 would be displayed in the menu item. Also generalized the
15827 function displayable_menu_item because it is now used by the
15828 dialog box code as well. And finally, added code in the functions
15829 that create the menubar to extract a list of accelerators for the
15830 top level menubar, which is used in the event code to determine
15831 whether a particular alt-key combination should be used to invoke
15832 a menu item, or should be passed through to access the standard
15833 XEmacs keymap binding for this key combination.
15835 Much needed GCPROing.
15838 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15839 * menubar-x.c (menu_item_descriptor_to_widget_value):
15840 * menubar-x.c (restore_in_menu_callback):
15841 * menubar-x.c (x_popup_menu):
15842 * menubar-x.c (menu_move_up):
15843 * menubar-x.c (menu_move_down):
15844 * menubar-x.c (menu_move_left):
15845 * menubar-x.c (menu_move_right):
15846 * menubar-x.c (menu_select_item):
15847 * menubar-x.c (command_builder_operate_menu_accelerator):
15848 * menubar-x.c (menu_accelerator_junk_on_error):
15849 * menubar-x.c (command_builder_find_menu_accelerator):
15850 * menubar-x.c (Faccelerate_menu):
15852 Moved a whole bunch of code here that was previously in
15853 event-stream.c as described above. There is also code connected
15854 to the new standard of adding an accelerator to the beginning of
15855 menu items that don't have one as described above and below.
15858 * menubar.c (menu_parse_submenu_keywords):
15859 * menubar.c (Fmenu_find_real_submenu):
15860 * menubar.c (Fnormalize_menu_item_name):
15861 * menubar.c (syms_of_menubar):
15862 * menubar.c (vars_of_menubar):
15863 * menubar.c (complex_vars_of_menubar):
15865 a) Cleaned up a bunch of documentation and improved it.
15867 b) XEmacs now automatically adds an accelerator onto the beginning
15868 of any menu items that don't have one. I did this because there
15869 will inevitably be some menu items on the main menubar that don't
15870 have accelerators on them because the package that adds that
15871 particular menu item hasn't yet been fixed up to have accelerators
15872 in them and it looked rather strange to have some items with and
15873 some items without accelerators, especially since even in items
15874 without accelerators, you can, at least under windows, still
15875 access the item through an accelerator corresponding to the first
15876 character in the item's name. If people don't like this behavior,
15877 I can add a variable to turn it off optionally, but I'm not sure
15878 this is a good idea because we really do need to have accelerators
15879 on all of the menu items, and if a package doesn't like the
15880 accelerators being put on the first character, then it should put
15881 the accelerators where they belong.
15883 c) I made a behavior change, which is that the descriptor that
15884 specifies the text of the menu item, which formerly was just a
15885 string, can now also be an evaluated expression. This makes this
15886 descriptor parallel with all of the others, which could also be
15887 evaluated expressions. This also obviates the need for the
15888 keyword :label, which was previously listed in the documentation
15889 as unimplemented, and which was for the same purpose.
15894 * ntproc.c (new_child):
15895 * ntproc.c (sys_spawnve):
15896 * ntproc.c (find_child_console):
15897 * ntproc.c (sys_kill):
15898 Fixed compile warnings. By the way, this file should really go
15899 away entirely, and this will happen as soon as Kirill makes his
15900 final round of process cleanups, which affect the function
15904 * process-nt.c (struct nt_process_data):
15905 * process-nt.c (find_process_from_pid):
15906 * process-nt.c (send_signal_the_nt_way):
15907 * process-nt.c (enable_child_signals):
15908 * process-nt.c (find_child_console):
15909 * process-nt.c (send_signal_the_95_way):
15910 * process-nt.c (nt_finalize_process_data):
15911 * process-nt.c (ensure_console_window_exists):
15912 * process-nt.c (nt_create_process):
15913 * process-nt.c (nt_kill_child_process):
15914 * process-nt.c (nt_kill_process_by_pid):
15915 * process-nt.c (nt_open_network_stream):
15916 * process-nt.c (vars_of_process_nt):
15917 Copied over code from Emacs 20.5 to correctly send signals to sub-
15918 processes under Windows 95. Also added code to automatically
15919 create and hide console window when a sub-process is created under
15920 Windows 95, which obviates the need for the separate runemacs.exe
15921 executable, and finally implemented some variables that were
15922 implemented in Emacs 20.5, but previously not in XEmacs. These
15923 include mswindows- start-process-share-console and
15924 mswindows-start-process-inherit-error-mode. (Both of these only
15925 apply to Windows 95.)
15927 * regex.c (regex_compile): Fixed a compile warning.
15930 * select-msw.c (mswindows_own_selection):
15931 * select-msw.c (mswindows_get_foreign_selection):
15932 * select-msw.c (mswindows_disown_selection):
15933 * select-msw.c (console_type_create_select_mswindows):
15934 * select-msw.c (syms_of_select_mswindows):
15935 Cleaned up the file and implemented the device method
15936 selection_exists_p, which had accidentally been left out. Also
15937 removed four lisp functions that were remnants from before the
15938 time when the selection code was properly device abstracted.
15939 These functions are no longer needed because there are generic
15940 equivalents, and because they were added recently and don't exist
15941 in FSF Emacs, I don't think there's any problem with just deleting
15945 * sysdep.c (sys_subshell):
15946 Fixed a compile warning, although in this case there's probably
15947 something wrong with this code, and it ought to be looked into
15948 more thoroughly by somebody who understands it.
15951 * window.c (Fwindow_text_area_height):
15952 * window.c (Fwindow_width):
15953 * window.c (Fwindow_full_width):
15954 * window.c (Fwindow_pixel_width):
15955 * window.c (debug_print_window):
15956 * window.c (syms_of_window):
15957 Added functions window-text-area-height and window-full-width,
15958 which are functions for returning various width and height
15959 characteristics of a window. (One of these functions is necessary
15960 for making the file dialog box work correctly, and the other one
15961 was added for completeness.) Also added a table to the
15962 documentation for window-height which describes the entire scheme
15963 for accessing width and height characteristics of a window.
15965 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15967 * nt.c (fstat): Added a comment for another problem with
15968 non-encapsulated [f]stat(), reported by Adrian Aichner
15969 <aichner@ecf.teradyne.com>.
15971 2000-03-11 Andy Piper <andy@xemacs.org>
15973 * window.c (make_dummy_parent): initialize subwindow instance
15975 (Fset_window_configuration): zero extent_modiff.
15977 2000-03-10 Andy Piper <andy@xemacs.org>
15979 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15980 more changes can be triggered.
15981 (Fredisplay_frame): ditto.
15982 (Fredraw_device): ditto.
15983 (Fredisplay_device): ditto.
15984 (redisplay_frame): make non-static.
15985 (redisplay_frame): call update_frame_gutter_geometry outside of
15988 * gutter.h: declare update_frame_gutter_geometry.
15990 * redisplay.h: declare redisplay_frame.
15992 * gutter.c (update_frame_gutter_geometry): move geometry changes
15993 in update_frame_gutters here. Geometry changes can only occur
15994 outside of redisplay.
15995 (update_frame_gutters): remove geometry change code.
15996 (Fredisplay_gutter_area): make sure that we are in display when we
15997 update and that we have flushed any size changes.
15999 2000-03-11 Andy Piper <andy@xemacs.org>
16001 * alloc.c (pdump_dump_data): remove i & count shadows.
16003 2000-02-27 Mike Alexander <mta@arbortext.com>
16005 * sysdep.h: Declare pdump_read_file
16007 * sysdep.c (pdump_read_file): New function
16009 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16012 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16014 * lrecord.h: add `lrecord_type_pgsetenv'.
16016 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16018 * symsinit.h: declare (vars|syms)_of* functions.
16019 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16021 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16023 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16025 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16028 * emacs.c (main_1): Call postgres initialization code.
16030 * postgresql.h: New file. PostgreSQL RDBMS support.
16031 * postgresql.c: New file.
16033 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16035 * redisplay-output.c (redisplay_output_display_block): Disable
16038 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16040 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16041 (Fcanna_henkan_next): Ditto.
16042 (Fcanna_bunsetu_henkou): Ditto.
16043 (Fcanna_henkan_kakutei): Ditto.
16044 (Fcanna_henkan_end): Ditto.
16045 (Fcanna_henkan_quit): Ditto.
16046 (Fcanna_henkan_next): Set retun value correctly.
16047 (c2mu): Use unsigned char instead of signed char.
16049 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16051 * emacs.c (main_1): Always call syms_of_gui.
16052 * inline.c: include gui.h
16054 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16056 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16057 converted to Lisp_Object.
16058 (Qtop_bottom): New variable.
16059 (syms_of_redisplay): Initialize it.
16060 * redisplay.h (Vvisible_bell): Ditto.
16061 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16062 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16063 only flash top and bottom.
16065 2000-03-08 Andy Piper <andy@xemacs.org>
16067 * buffer.c (Frename_buffer): record new buffer name the right way.
16069 2000-03-08 Andy Piper <andy@xemacs.org>
16071 * glyphs.c (update_subwindow): increase hash depth so that widget
16072 items get picked up properly.
16074 * redisplay-output.c (compare_runes): increase hash depth so that
16075 widget items get picked up properly.
16077 2000-03-08 Andy Piper <andy@xemacs.org>
16079 * gutter.c (output_gutter): add some debug.
16081 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16082 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16083 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16085 * redisplay-output.c (compare_runes): use display_hash to
16086 determine if glyphs really are not the same.
16088 * glyphs.c (update_subwindow): check display_hash to see if
16089 anything really needs to be updated. If not then do
16090 nothing. Record the display_hash after updating.
16091 (image_instance_equal): compare the image_instance face also.
16093 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16095 * redisplay.h: Fix comment style.
16097 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16099 * consle-msw.h (struct mswindows_frame):
16100 Added new member paint_pending to indicate whether a WM_PAINT
16101 magic event has been queued for this frame.
16103 * event-msw.c (mswindows_drain_windows_queue):
16104 Don't queue a WM_PAINT magic event if one is already queued.
16105 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16107 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16109 2000-03-07 Didier Verna <didier@xemacs.org>
16111 * dired.c: #include `regex.h' after `sysfile.h'.
16113 2000-03-06 Martin Buchholz <martin@xemacs.org>
16115 * sound.c (init_nas_sound): Fix compiler warning.
16117 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16119 (MARK_STRUCT_AS_FREE):
16120 (MARK_STRUCT_AS_NOT_FREE):
16121 Make `gcc -fstrict-aliasing' work properly.
16123 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16125 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16126 (mswindows_delete_device): Call CoUnnitialize().
16128 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16130 2000-02-25 <CraigL@DyCon.com>
16132 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16135 * sysdep.c: This extern declaration for environ prevents MinGW
16136 from finding the variable in CRTDLL.DLL.
16138 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16140 (SHGFI_EXETYPE): ..
16141 (WM_MOUSEWHEEL): ..
16142 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16144 (MMRESULT): Removed, now defined in cygwin's windows headers.
16146 (uid_t,gid_t,pid_t,ssize_t): ..
16147 (_timeb): Removed, MinGW defines both _timeb and timeb.
16148 (HAVE_H_ERRNO): Added.
16149 (HAVE_TZNAME): Added, configure is not detecting this.
16151 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16153 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16154 * syntax.c (syntax_match): Use it.
16156 * cmds.c: Import auto-fill-chars from FSF Emacs.
16157 (Vauto_fill_chars): New variables.
16158 (internal_self_insert): Check Vauto_fill_chars.
16160 Declare auto-fill-chars as a Lisp variable and initialize it.
16162 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16164 * fileio.c (Fmake_symbolic_link):
16166 Run handlers even if local machine doesn't have symlinks.
16168 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16170 * event-msw.c (mswindows_drain_windows_queue):
16171 Don't generate paint magic events for non-XEmacs frames.
16173 2000-03-05 Andy Piper <andy@xemacs.org>
16175 * redisplay.c (redisplay_frame): generate_displayable_area and
16176 friends assumes that we are not in GC, we therefore have to make
16177 sure that this doesn't happen.
16179 * gutter.c (calculate_gutter_size): generate_displayable_area
16180 assumes that we are not in GC, we therefore have to make sure that
16181 this doesn't happen.
16183 2000-03-05 Martin Buchholz <martin@xemacs.org>
16185 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16187 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16189 * redisplay.c (regenerate_window): Make sure we set a sane value
16190 for end_pos even if we jump out of the loop.
16191 (regenerate_window): Answer Ben's question :-).
16192 (start_end_of_last_line): Add may_error argument.
16193 (start_of_last_line):
16194 (end_of_last_line): Pass may_error = 0.
16195 (end_of_last_line_may_error): New function.
16196 (pixel_to_glyph_translation): Use it, so we don't crash in
16199 2000-03-04 Andy Piper <andy@xemacs.org>
16201 * window.h (struct window): add gutter_extent_modiff.
16203 * window.c (allocate_window): zero out gutter_extent_modiff.
16205 * redisplay.h: declare sync_display_line_structs.
16207 * redisplay.c (add_glyph_rune): add a better comment.
16209 * redisplay-output.c (sync_display_line_structs): made non-static.
16210 (compare_runes): remove unneccesary glyph cachel access.
16212 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16214 * gutter.c (output_gutter): don't output the gutter if extent
16215 changes only involve extents in buffers. use 4 sets of display
16217 (gutter_extent_signal_changed_region_maybe): new function. Mark
16218 extents in gutters as changed.
16219 (update_frame_gutters): use 4 sets of display lines.
16220 (reset_gutter_display_lines): ditto.
16221 (free_frame_gutters): ditto.
16222 (redraw_exposed_gutter): force output of gutters.
16224 * frame.h (struct frame): add 4 sets of gutter display lines.
16226 * extents.c: (extent_changed_for_redisplay): signal changes to
16227 extents in strings in the gutter as well as extents in buffers.
16229 2000-03-02 Andy Piper <andy@xemacs.org>
16231 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16233 * frame.c (Fmake_frame): make sure the gutters get initialized
16234 after the frame is visible.
16235 (set_frame_selected_window): re-arrange compilation macros a
16237 (change_frame_size_1): mark gutters changed.
16239 * device.c (Fset_device_class): mark gutters changed.
16241 2000-03-01 Andy Piper <andy@xemacs.org>
16243 * window.c (window_top_frame_gutter_height): deleted.
16244 (window_bottom_frame_gutter_height): ditto.
16245 (window_left_frame_gutter_height): ditto.
16246 (window_right_frame_gutter_height): ditto.
16247 (window_top_gutter_height): don't use them.
16248 (window_bottom_gutter_height): ditto.
16249 (window_left_gutter_width): ditto.
16250 (window_right_gutter_width): ditto.
16251 (Fsplit_window): ditto.
16252 (Fwindow_pixel_edges): don't use border dimensions here.
16254 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16255 (update_scrollbar_instance): ditto.
16257 * redisplay.c (generate_modeline): don't take gutters into account.
16258 (generate_modeline): ditto.
16259 (redisplay_frame): small gutter display optimization.
16261 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16263 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16264 gutters into account.
16266 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16267 for window position and type.
16269 * gutter.c (get_gutter_coords): fix for frame gutters.
16270 (update_frame_gutters): update frame geometry if the gutters have
16272 (init_frame_gutters): record current gutter geometries.
16274 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16276 (mswindows_widget_instantiate): ditto.
16278 * frame.h (struct frame): add current_gutter_bounds.
16280 * frame.c (change_frame_size_1): position window and minibuffer
16281 appropriately taking into account the frame gutters.
16283 * frame-x.c: (x_initialize_frame_size): take into account the
16286 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16288 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16290 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16292 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16294 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16296 * file-coding.c (reset_decoding_stream): Clear previous
16297 detection state when autodetect.
16299 2000-02-29 Didier Verna <didier@xemacs.org>
16301 * extents.c (set_extent_glyph_1): don't require extents to be
16304 2000-02-27 Andy Piper <andy@xemacs.org>
16306 * gutter.c (Fset_default_gutter_position): don't default left and
16307 right gutter visibility to t.
16308 (Fset_default_gutter_position): run
16309 default-gutter-position-changed-hook.
16310 (syms_of_gutter): add default-gutter-position-changed-hook.
16312 2000-02-26 Andy Piper <andy@xemacs.org>
16314 * specifier.c (Fmake_specifier): add gutter references.
16316 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16318 * lisp.h: declare Fvalid_plist_p.
16320 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16322 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16323 well as its visibility so that it gets reconstructed.
16324 (construct_window_gutter_spec): new function. Construct a string
16325 to be displayed in the gutter from a plist of strings. Take care
16326 to only use elements that are declared as visible.
16327 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16329 (gutter_validate): allow plists of strings in the specifier.
16330 (gutter_specs_changed): construct the real_gutter from the gutter
16331 specs using construct_window_gutter_spec.
16332 (gutter_visible_validate): gutter-visible is a new specifier type.
16333 (Fgutter_visible_specifier_p): new function for the new specifier.
16334 (syms_of_gutter): declare gutter-visible and
16335 Fgutter_visible_specifier_p.
16336 (specifier_type_create_gutter): intitalize new gutter-visible
16338 (reinit_specifier_type_create_gutter): ditto.
16339 (specifier_vars_of_gutter): use new specifier type for gutter
16341 (init_frame_gutters): construct real_gutter correctly.
16342 (Fgutter_specifier_p): beef up documentation.
16343 (Fgutter_size_specifier_p): ditto.
16345 * winslots.h: add real_gutter slots.
16347 2000-02-25 Andy Piper <andy@xemacs.org>
16349 * device-msw.c: Be kind to older cygwin versions. From Raymond
16350 Toy <toy@rtp.ericsson.se>.
16352 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16353 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16355 2000-02-25 Martin Buchholz <martin@xemacs.org>
16357 * elhash.c (MARK_OBJ): Practice macro hygiene.
16359 2000-02-24 Martin Buchholz <martin@xemacs.org>
16361 * miscplay.c: s/__inline__/inline/g;
16362 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16363 (get_device_compdc): INLINE ==> static inline
16364 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16365 find -name '*.h' | \
16366 xargs global-replace \
16367 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16369 2000-02-25 Andy Piper <andy@xemacs.org>
16371 * window.c (window_top_frame_gutter_height): new function.
16372 (window_top_window_gutter_height): ditto.
16373 (window_top_gutter_height): use them.
16374 (window_bottom_frame_gutter_height): new function.
16375 (window_bottom_window_gutter_height): ditto.
16376 (window_bottom_gutter_height): use them.
16377 (window_left_window_gutter_width): new function.
16378 (window_left_frame_gutter_width): ditto.
16379 (window_left_gutter_width): use them.
16380 (window_right_window_gutter_width): new function.
16381 (window_right_frame_gutter_width): ditto.
16382 (window_right_gutter_width): use them.
16383 (window_pixel_height): new function. calulate window pixel height
16384 with frame gutter involvement.
16385 (Fsplit_window): calculate new sizes taking frame gutters into
16387 (window_char_height_to_pixel_height): don't include frame gutters.
16388 (window_char_height): use window_pixel_height.
16389 (window_pixheight): rename from window_pixel_height.
16390 (change_window_height): use it.
16391 (window_pixel_height_to_char_height): don't include frame gutters.
16392 (window_char_width_to_pixel_width): ditto.
16394 2000-02-25 Andy Piper <andy@xemacs.org>
16396 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16399 2000-02-24 Martin Buchholz <martin@xemacs.org>
16401 * alloc.c (staticpro):
16402 (staticpro_nodump):
16407 (compact_string_chars):
16408 (pdump_dump_wired):
16409 Convert: if (foo) abort(); ==> assert (! foo);
16411 * eldap.c (Fldap_search_basic):
16415 Fix compiler warnings, and possible crashes if (random) return
16416 value were to be used.
16418 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16420 * device-msw.c: Workaround ResetDC failure.
16422 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16423 applying a devmode.
16425 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16426 (mswindows_text_width): Do not start printer page.
16428 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16430 * glyphs-msw.c: Added image methods to msprinter console and
16431 msprinter-specific image instantiation.
16433 2000-02-20 Mike Alexander <mta@arbortext.com>
16435 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16436 to avoid crashes when selection-sets-clipboard is on
16437 (mswindows_own_selection): ditto
16439 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16442 * redisplay-msw.c (get_frame_dc):
16443 (get_frame_compdc):
16445 * device-msw.c (mswindows_init_device):
16446 (mswindows_delete_device):
16447 (msprinter_init_device):
16448 (msprinter_delete_device):
16449 * frame-msw.c (mswindows_init_frame_1):
16450 (mswindows_delete_frame):
16451 (msprinter_init_frame_3):
16452 (msprinter_delete_frame): Move compatible DC to device object from
16453 frame object, for both mswindows and msprinter. Only one at a time
16454 is needed, it is a real waste to have one per frame!
16456 2000-02-23 Andy Piper <andy@xemacs.org>
16458 * glyphs.c: add dynamic width and height elements.
16459 (image_instance_equal): ditto.
16461 * glyphs-widget.c (widget_query_geometry): calculate width and
16462 height dynamically if required.
16463 (initialize_widget_image_instance): initialize dynamic dimensions.
16464 (widget_instantiate): pick-up dynamic dimensions.
16466 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16467 dynamic determination. Add appropriate macros.
16469 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16471 (WINDOW_GUTTER_SIZE): ditto.
16472 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16474 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16476 (get_frame_dc): ditto.
16478 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16481 2000-02-23 Martin Buchholz <martin@xemacs.org>
16483 * XEmacs 21.2.31 is released.
16485 2000-02-22 Ben Wing <ben@xemacs.org>
16487 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16489 2000-02-22 Andy Piper <andy@xemacs.org>
16491 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16493 2000-02-21 Mike Sperber <mike@xemacs.org>
16497 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16500 2000-02-21 Mike Sperber <mike@xemacs.org>
16502 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16504 2000-02-21 Martin Buchholz <martin@xemacs.org>
16506 * XEmacs 21.2.30 is released.
16508 2000-02-20 Martin Buchholz <martin@xemacs.org>
16510 Performance hacking.
16512 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16513 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16514 * emacs.c (main_1):
16516 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16517 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16518 * symeval.h (DEFVAR_SYMVAL_FWD):
16519 * symbols.c (guts_of_unbound_marker):
16520 Make all c_readonly objects also lisp_readonly and marked for life.
16521 * lrecord.h (struct lrecord_implementation):
16522 Document flags better.
16523 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16524 * lrecord.h (DECLARE_LRECORD):
16525 * lrecord.h (XSETRECORD):
16526 * lrecord.h (RECORDP):
16527 * lrecord.h (RECORD_TYPEP):
16528 * lrecord.h (RECORD_MARKER): New.
16529 * lrecord.h (error_check_*):
16530 * lrecord.h (CONCHECK_NONRECORD):
16531 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16532 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16533 * lrecord.h (set_lheader_implementation):
16534 * lrecord.h (enum lrecord_type): New.
16535 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16536 * alloc.c (disksave_object_finalization_1):
16537 * alloc.c (mark_object):
16538 * alloc.c (lrecord_type_index):
16539 * alloc.c (tick_lcrecord_stats):
16540 * alloc.c (Fgarbage_collect):
16541 * alloc.c (init_alloc_once_early):
16542 * alloc.c (pdump_load):
16543 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16544 * alloc.c (lrecord_type_index): Delete.
16545 Make lisp object type indexes be constant.
16546 Makes (byte-compile) 5% faster.
16547 Put all marker functions into their own array.
16548 Makes (garbage-collect) 5% faster.
16549 Optimize SYMBOL_VALUE_MAGIC_P.
16550 Makes (byte-compile) 2-3% faster.
16551 * config.h.in (gc_checking_assert): New.
16552 * alloc.c: Use gc_checking_assert().
16553 * .dbxrc: Make compatible with new object type implementation.
16554 * .gdbinit: Make compatible with new object type implementation.
16555 * alloc.c: Delete all symbols defined only for debugging, such as
16556 Lisp_Type_Vector and lrecord_charset.
16558 2000-02-21 Andy Piper <andy@xemacs.org>
16560 * gui-msw.c (Fmswindows_shell_execute): fix file location
16563 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16564 unshowing so that set_window_buffer doesn't undo
16565 kill_buffer_hook's hard work.
16567 * glyphs-widget.c (tab_control_query_geometry): don't count the
16568 first item when calculating geometry.
16570 * glyphs.c (map_subwindow): remove redundant code.
16571 (update_frame_subwindows): be more circumspect about when to
16574 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16575 when items haven't changed. Update faces if faces have changed as
16576 well as just the widget face.
16577 (x_tab_control_update): Update faces if faces have changed as well
16578 as just the widget face.
16580 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16582 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16584 (build_syscolor_string): Use mswindows_color_to_string to try to
16586 (mswindows_device_system_metrics): Reverse the foreground and
16587 background colors so that they match the documentation.
16589 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16590 they match the default Windows palette.
16591 (mswindows_color_to_string): New function.
16593 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16595 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16597 2000-02-18 Olivier Galibert <galibert@pobox.com>
16599 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16600 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16602 * symbols.c (init_symbols_once_early): Removed obsolete
16603 DATA_SEG_BITS related kludge.
16604 (defvar_magic): Ditto.
16606 * malloc.c: Removed obsolete DATA_SEG_BITS
16608 * mem-limits.h: Ditto.
16610 * Makefile.in.in: Removed obsolete HAVE_SHM
16613 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16615 * device-msw.c (mswindows_delete_device): Free DDE string
16618 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16620 * keymap.c (get_keyelt):
16621 * unexnt.c (unexec):
16622 * vm-limit.c (memory_warnings):
16623 * ntheap.c (recreate_heap):
16624 * ntheap.h (UNINIT_PTR):
16625 * select-msw.c (Fmswindows_get_clipboard):
16626 (Fmswindows_set_clipboard):
16627 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16629 * menubar-msw.c (displayable_menu_item):
16631 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16632 * sysdep.c (sys_subshell):
16633 * process-nt.c (nt_create_process):
16634 * nt.c (normalize_filename):
16635 (dostounix_filename):
16636 (unixtodos_filename):
16637 * ntproc.c (win32_executable_type):
16638 * ntplay.c (play_sound_data_1):
16640 * editfns.c (get_home_directory):
16641 * event-msw.c (struct winsock_stream):
16642 (mswindows_dde_callback):
16643 * device-msw.c (msprinter_init_device):
16644 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16646 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16647 mswindows_clear_toolbar were swapped!
16649 * objects-msw.c:(colormap_t):
16651 * emacs.c (struct standard_args): Fixed const jumble.
16653 * glyphs-widget.c (update_widget): Fixed comparison notation.
16655 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16657 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16658 __declspec(noreturn) syntax.
16660 2000-02-19 Martin Buchholz <martin@xemacs.org>
16662 * eldap.c (Fldap_open):
16663 (Fldap_search_basic):
16666 Use new coding system conversion macros.
16668 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16670 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16672 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16674 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16675 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16677 * eldap.c (Qadd, Qreplace): New constant symbols
16678 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16679 interruptions by XEmacs signals
16680 Remove unnecessary calls to slow_down_interrupts and
16681 speed_up_interrupts
16682 (Fldap_search_basic): Renamed from Fldap_search_internal
16683 Added new optional parameter VERBOSE that triggers the
16684 display of progress messages
16685 Remove unnecessary calls to slow_down_interrupts and
16686 speed_up_interrupts
16687 LDAP result code analysis rewritten
16688 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16689 (syms_of_eldap): Define the new symbols and functions
16692 2000-02-17 Martin Buchholz <martin@xemacs.org>
16694 * realpath.c: Determine PATH_MAX maximally portably.
16696 * insdel.c (bytecount_to_charcount): Optimize.
16697 The function used to be optimized for entirely ASCII sequences.
16698 Now it is optimized for successive characters from the same
16699 charset. This also wins big for _mostly_ ASCII sequences.
16701 * fileio.c (Ffile_truename): convert return from realpath() using
16702 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16703 - Rewrite GCPROing slightly.
16705 * sysdep.c (sys_open): Do filename conversion, like all other
16706 sys_* functions. Fixes bug:
16707 (let ((file-name-coding-system 'iso-8859-2))
16708 (write-region x y latin2-name))
16709 ==> writes filename using internal encoding.
16711 2000-02-18 Martin Buchholz <martin@xemacs.org>
16713 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16714 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16715 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16716 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16717 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16718 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16719 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16720 (CONST_IF_NOT_DEBUG): Delete.
16721 * alloc.c (this_one_is_unmarkable): Delete.
16722 (mark_object): Don't check for this_one_is_unmarkable. Use the
16723 c_readonly flag instead.
16724 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16726 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16728 * event-msw.c (mswindows_drain_windows_queue):
16729 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16730 away redundant repaint events.
16732 2000-02-17 Andy Piper <andy@xemacs.org>
16734 * redisplay.h: declare mark_redisplay_structs.
16736 * redisplay.c (redisplay_window):
16737 (redisplay_frame): don't check subwindows_state_changed.
16738 (mark_redisplay): mark gutters here.
16740 * glyphs.c: (instantiate_image_instantiator): always layout if we
16741 haven't done so already.
16742 (allocate_image_instance): don't mark as dirty.
16743 (update_subwindow): bind inhibit_quit.
16745 * gutter.c (mark_gutters): new function.
16747 * glyphs-x.c (x_update_widget): Always resize to get round a
16750 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16751 breaking absolutely everything.
16753 * gutter.h: declare mark_gutters.
16755 2000-02-16 Martin Buchholz <martin@xemacs.org>
16757 * XEmacs 21.2.29 is released.
16759 2000-02-15 Olivier Galibert <galibert@pobox.com>
16761 * fns.c (size_bit_vector): Fix computation of the size.
16763 2000-02-15 Martin Buchholz <martin@xemacs.org>
16765 * *.[ch]: Change CONST to const globally.
16766 find -name '*.[ch]' | \
16767 xargs global-replace \
16768 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16769 - Remove vestigial references to CONST_IS_LOSING
16771 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16773 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16774 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16775 events instead of dispatching them directly.
16776 (mswindows_handle_paint): New function to do repainting.
16777 (mswindows_wnd_proc):
16778 (emacs_mswindows_handle_magic_event): Call above function.
16780 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16782 * objects-msw.c (mswindows_create_font_variant): Return the new
16784 (initialize_font_instance): Get font metrics from the underlined
16785 variant of the font to cope with the case where the underlined
16786 font has a bigger descent.
16788 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16790 * gui.c (gui_item_accelerator): Return the first underlined
16791 character in item name.
16793 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16795 * lisp.h: Added Qprinter.
16797 * general.c (syms_of_general): Initialized it.
16799 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16801 (get_frame_compdc): Made inline.
16803 * console.h (struct console_methods): Added eject_page method.
16805 * frame.h: Added FRAME_DISPLAY_P and friends.
16806 Aligned backslahes in many macros in more readable fashion.
16807 Added page_number to struct frame, and an accessor macro
16810 * defice.h: Added DEVICE_DISPLAY_P and friends.
16812 * device.c (Fdevice_printer_p): Used these.
16814 * frame.c (allocate_frame_core): Initialize page number.
16815 (Fprint_job_page_number):
16816 (Fprint_job_eject_page): Implemented.
16818 * frame-msw.c (msprinter_eject_page): Added method.
16819 (msprinter_start_page): Added.
16821 * window.c (Fwindow_truncated_p): Fixed docstring.
16822 (Fwindow_last_line_visible_height): Implemented.
16824 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16826 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16828 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16830 * syntax.c (scan_words): Always advance at least one character.
16832 2000-02-13 Andy Piper <andy@xemacs.org>
16834 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16835 to make sure the glyph is in the cachels.
16837 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16838 global image instance flag.
16839 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16840 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16842 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16843 (Fset_image_instance_property): mark layout as changed.
16844 (invalidate_glyph_geometry_maybe): mark layout as changed.
16845 (glyph_width): use new NEEDS_LAYOUT macro.
16846 (glyph_ascent): ditto.
16847 (glyph_descent): ditto.
16848 (glyph_height): ditto.
16849 (image_instance_layout): mark layout as clean after laying out.
16850 (update_subwindow): don't mark layout as clean here.
16852 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16853 should no longer be needed.
16855 * glyphs-x.c (x_update_widget): sanitize asserts.
16856 (x_finalize_image_instance): sanitize assignment to widgets.
16858 * glyphs-widget.c (widget_instantiate): don't need to clear the
16861 2000-02-13 Martin Buchholz <martin@xemacs.org>
16863 * sysdep.c (getcwd): Use standard prototype.
16864 * sysdep.h (getcwd): Use standard prototype.
16866 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16867 (sequence, start, end).
16868 Remove redundant type checking.
16869 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16870 view of `caller-protects') to avoid a crash where the real fix was
16873 2000-02-12 Martin Buchholz <martin@xemacs.org>
16875 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16877 * s/sol2.h: Remove feature macro initialization.
16879 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16880 (vector_hash): New. Code from internal_hash.
16882 Fix up allocation subsystem comments.
16884 * config.h.in: Add __EXTENSIONS__ for Solaris.
16886 * systime.h (EMACS_GETTIMEOFDAY): New.
16887 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16888 Remove Solaris-specific code.
16889 Use void* for the (ignored) second arg for gettimeofday().
16891 * elhash.c (hash_table_hash): Implement it, finally.
16892 * elhash.c: Use hashcode_t.
16894 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16895 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16897 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16898 * fns.c (size_bit_vector):
16899 * alloc.c (size_vector):
16900 (make_vector_internal):
16901 (make_bit_vector_internal):
16902 (sweep_bit_vectors_1):
16903 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16905 2000-02-10 Martin Buchholz <martin@xemacs.org>
16907 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16908 Include strings.h to avoid warnings for bzero and strcasecmp.
16910 2000-02-10 Olivier Galibert <galibert@pobox.com>
16912 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16913 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16915 * fns.c (size_bit_vector): New. Declare bit vectors as a
16918 2000-02-10 Olivier Galibert <galibert@pobox.com>
16920 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16921 use a value field instead.
16922 (symbol_value_forward_forward): Use value field.
16923 (DEFVAR_SYMVAL_FWD): Use value field.
16924 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16925 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16926 (DEFVAR_CONST_INT): Ditto.
16927 (DEFVAR_BOOL): Ditto.
16928 (DEFVAR_CONST_BOOL): Ditto.
16929 (DEFVAR_INT_MAGIC): Ditto.
16930 (DEFVAR_BOOL_MAGIC): Ditto.
16932 * symbols.c (guts_of_unbound_marker): Use value field.
16933 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16934 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16936 * lisp.h: Declare dumpopaque and noninteractive1.
16938 * alloc.c (dumpopaque): Added.
16939 (pdump_dump_opaquevec): Added.
16940 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16941 (pdump_load): Reload opaque data. Sync noninteractive1 with
16944 2000-02-10 Andy Piper <andy@xemacs.org>
16946 * glyphs.c (image_instance_layout): if the size changes, mark it
16949 * redisplay-output.c (redisplay_output_layout): Update the
16951 (redisplay_output_subwindow): ditto.
16953 * glyphs.c (update_subwindow): make sure we reset flags for
16954 layouts as well as everything else.
16956 * glyphs-widget.c (layout_layout): don't need to set the instances
16959 2000-02-09 Martin Buchholz <martin@xemacs.org>
16961 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16962 not HAVE_DLOPEN, which is a lower-level thing.
16964 * .cvsignore: Ignore gmon.out
16966 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16968 * .cvsignore: Ignore portable dumper xemacs.dmp file
16970 2000-02-09 Andy Piper <andy@xemacs.org>
16972 * redisplay-output.c (redisplay_output_layout): be more clever
16973 about when we output based on the changed flags.
16975 * glyphs.h (struct image_instantiator_methods): add update_method.
16976 (struct Lisp_Image_Instance): add changed flags. Declare new
16977 macros for manipulating them.
16979 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16980 (image_instance_parent_glyph): find an image_instance's parent
16981 glyph or image_instance.
16982 (image_instance_layout): mark the size as changed.
16983 (set_image_instance_dirty_p): new function. mark an image
16984 instance, plus all of its parents, as dirty.
16985 (Fset_image_instance_property): use it.
16986 (Fglyph_animated_timeout_handler): use it.
16987 (update_subwindow): call update_widget and device methods for
16988 update_subwindow. Mark all changed flags as clean.
16989 (Fresize_subwindow): mark size as changed.
16991 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16993 (x_update_subwindow): only resize subwindows here.
16994 (x_update_widget): new function. Update all changed properties of
16996 (x_resize_subwindow): deleted.
16997 (x_widget_set_property): deleted.
16998 (x_progress_gauge_set_property): deleted.
16999 (x_progress_gauge_update): new function. Implement recorded
17001 (x_tab_control_update): ditto.
17002 (x_tab_control_set_property): deleted.
17003 (console_type_create_glyphs_x): declare new functions.
17004 (image_instantiator_format_create_glyphs_x): ditto.
17006 * glyphs-widget.c (widget_set_property): mark text changed.
17007 (update_widget): new function. Update properties of a widget.
17008 (widget_instantiate): for layouts make sure we set their
17009 children's parent correctly.
17010 (tab_control_set_property): new function. Record changes that will
17011 take place under redisplay's control.
17012 (progress_gauge_set_property): ditto.
17013 (image_instantiator_progress_guage): declare new functions.
17014 (image_instantiator_tab_control): ditto.
17016 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17018 (mswindows_update_widget): new function. Update all properties on
17019 a widget that have changed.
17020 (mswindows_button_update): new function. Update a button's set
17022 (mswindows_tab_control_update): new function. Update the items in
17024 (mswindows_tab_control_set_property): deleted.
17025 (mswindows_progress_gauge_update): new function. Update the
17026 progress gauge's progress.
17027 (mswindows_widget_set_property): deleted. This is all done
17028 asynchronously now.
17029 (mswindows_progress_gauge_set_property): ditto.
17030 (console_type_create_glyphs_mswindows): declare new methods.
17031 (image_instantiator_format_create_glyphs_mswindows): ditto.
17033 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17034 (msprinter_set_frame_properties): ditto.
17036 * console.h (struct console_methods): Add update_widget_method.
17038 2000-02-09 Andy Piper <andy@xemacs.org>
17040 * gui-msw.c (Fmswindows_shell_execute): Make
17041 mswindows-shell-execute industrial strength.
17043 2000-02-08 Martin Buchholz <martin@xemacs.org>
17045 * lrecord.h: Make macro argument `props' match member function `plist'.
17048 * fns.c (Fremprop):
17049 * fns.c (Fobject_plist):
17052 Object property list frobbing cleanup.
17053 - Allow any lisp object (compared with `eq'), not just symbols, as
17054 keys in object plists.
17055 - Move symbol plist frobbing into symbols.c, where it belongs.
17056 - Move string plist frobbing into alloc.c, where it belongs.
17057 - Everything's an lrecord now, so no need to test for symbolp, etc.
17058 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17060 * extents.c: Reorder code to remove declarations.
17062 * frame.h (store_in_alist): Remove useless declaration.
17064 2000-02-07 Martin Buchholz <martin@xemacs.org>
17066 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17067 * config.h.in: Add HAVE_XCONVERTCASE.
17069 2000-02-07 Andy Piper <andy@xemacs.org>
17071 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17072 it breaks many things.
17074 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17076 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17077 actually can start a common comment type.
17078 * src/syntax.h (SYNTAX_END_P): ditto for end.
17080 2000-02-07 Martin Buchholz <martin@xemacs.org>
17082 * XEmacs 21.2.28 is released.
17084 2000-02-06 Martin Buchholz <martin@xemacs.org>
17086 * event-Xt.c (x_keysym_to_character): New.
17087 (maybe_define_x_key_as_self_inserting_character): New.
17088 (x_has_keysym): New.
17089 Auto-define all keys on the keyboard as self-insert-key.
17091 2000-02-02 Martin Buchholz <martin@xemacs.org>
17093 * menubar.c (vars_of_menubar): A small code simplification.
17095 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17098 * ExternalClient.c:
17099 * EmacsShell-sub.c:
17102 Use consistent style for specifying X resources.
17104 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17105 This makes (dontusethis-set-symbol-value-handler) actually usable.
17107 * lrecord.h (lrecord_decription_type):
17108 * alloc.c (pdump_register_sub):
17111 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17112 Comply with XEmacs coding style.
17113 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17114 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17116 * keymap.c (Faccessible_keymaps):
17117 Make (accessible-keymaps map "\C-h") do the Right Thing.
17118 Make (accessible-keymaps map []) do the Right Thing.
17119 Make (accessible-keymaps map "") do the Right Thing.
17120 (check_keymap_definition_loop): New function.
17121 (keymap_store_internal): Keep luser from shooting self in foot,
17122 via (define-key ctl-x-4-map "p" global-map).
17123 Remove fullness slot from struct Lisp_Keymap, since hash tables
17125 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17127 2000-01-30 Martin Buchholz <martin@xemacs.org>
17129 * redisplay.c (init_redisplay): Fix small memory leak.
17131 * elhash.c (pdump_reorganize_hash_table):
17132 Rename from reorganize_hash_table. Change prototype.
17133 Reuse the original memory for hentries. Save 100k.
17134 * alloc.c (PDUMP_READ): new macro.
17135 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17136 * alloc.c: No need to #ifndef before #undef.
17138 * print.c: Allow debug_print() to print readably by modifying
17139 debug_print_readably. Use consistent variable names.
17141 * .dbxrc: Try to get things to work even if stopped in a function
17142 without source available by explicitly specifying source files.
17143 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17145 * unexnt.c (_start): Removed bogus code which caused loading heap
17146 from differrent executable file.
17147 Removed bogus assignment to _fmode, which caused inconsistencies.
17149 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17151 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17152 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17153 Do not preliminary `#define signal sigset'.
17155 * systime.h: Do not prototype environ on windows nt and cygwin,
17156 this conflicts with system header.
17158 * syssignal.h: Use correct define for WINDOWSNT
17160 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17161 with system header.
17163 * sysdep.c (near start of file): Fixed commentary and rearranged
17164 ifdefs in readable order.
17165 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17168 (end_of_data): Do not compile in if using PDUMP.
17170 * symsinit.h: Prototyped vars_of_nt().
17172 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17173 (find_child_console): Use it.
17174 (sys_kill): Use it.
17176 * ntheap.h: Do not extern os_subtype.
17178 * ntheap.c (cache_system_info): Do not cache unneeded:
17179 nt_major_version, nt_minor_version and os_subtype.
17180 (recreate_heap): Do not compile in when PDUMPing.
17182 * nt.c (geteuid and friends): Use the new varibale
17183 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17184 (init_user_info): Removed the above mentioned hackery.
17185 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17186 stat has been fixed in the C runtime.
17187 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17189 * file-coding.c (struct file_coding_dump): Do not define
17190 ucs_to_mule_table in the struct if not MULE.
17191 (struct struct lrecord_description fcd_description_1): Do not dump
17194 * emacs.c (main_1): Call vars_of_nt().
17195 (right before Fdump_emacs_data): Don't need lastfile if using both
17196 portabe dumper and system malloc.
17198 * alloc.c (Fmemory_limit): Conditionalized out.
17199 (pdump): Use OPEN_BINARY for the portable dump file.
17200 (pdump_load): Ditto.
17202 2000-02-02 Mike Alexander <mta@arbortext.com>
17204 * nt.c (convert_time): Set tm_isdst before calling mktime and
17205 avoid calling it at all if the compiler supports 64 bit integers.
17206 Also initialize utc_base_ft before using it.
17208 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17210 * frame.c (change_frame_size_1): Take f->internal_border_width
17211 into consideration when calculating the width of the frame.
17213 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17215 * window.c (frame_min_height):
17216 (frame_size_valid_p):
17217 (frame_pixsize_valid_p): Added.
17218 (check_frame_size): Generalized.
17220 * window.h: Prototyped the above.
17223 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17224 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17225 Deleted Vwin32_* and Vbinary_process_* unused variables.
17227 * device-msw.c (msprinter_init_device): Do not get printer font
17228 list; Added DEVMODE functions.
17230 * frame-msw.c: Added lots of printer code.
17232 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17235 * console-msw.h: Added more msprinter device private slots.
17237 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17239 * event-msw.c (key_needs_default_processing_p): Added.
17240 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17242 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17244 * glyphs.c (image_instance_layout): Mark image instance as clean
17246 (glyph_dirty_p): Removed redundant function.
17247 (invalidate_glyph_geometry_maybe): Added.
17248 (update_glyph_cachel_data): Call it.
17250 * glyphs.h: Prototyped it.
17252 * redisplay.c (add_glyph_rune): Call it.
17253 (redisplay_window): Reset glyphs cachels when frame faces have
17254 changed, thus forcing recomputation of built-in border glyphs.
17256 2000-01-30 Martin Buchholz <martin@xemacs.org>
17258 * Makefile.in.in: Make portable dumper and purify play well together.
17259 Add imperfect, but better than nothing, support for pdump.
17260 Remove xemacs.dmp when temacs is re-generated.
17261 Don't ignore errors when dumping xemacs.
17263 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17265 2000-01-28 Andy Piper <andy@xemacs.org>
17267 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17268 (setup_normal_frame): ditto.
17269 (setup_frame_without_minibuffer): ditto.
17270 (setup_minibuffer_frame): ditto.
17271 (delete_frame_internal): ditto.
17272 (Fmake_frame_invisible): ditto.
17273 (Ficonify_frame): ditto.
17275 * window.h: change Fset_window_buffer signature.
17277 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17278 (Fset_window_buffer): allow recording of buffer if the window is
17279 the selected window.
17280 (window_loop): Use new Fset_window signature.
17282 2000-01-23 Daniel Pittman <daniel@danann.net>
17284 * config.h.in: Added template for `HAVE_ATHENA_3D'
17286 2000-01-29 Andy Piper <andy@xemacs.org>
17288 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17290 * gutter.c (output_gutter): Don't output if the window isn't live.
17292 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17294 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17295 of 01/12/00: Moved SetFocus back here where it belongs.
17297 2000-01-23 Andy Piper <andy@xemacs.org>
17299 * s/cygwin32.h: declare printer things.
17301 2000-01-26 Andy Piper <andy@xemacs.org>
17303 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17306 2000-01-24 Andy Piper <andy@xemacs.org>
17308 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17309 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17311 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17313 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17315 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17317 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17318 (mswindows_output_display_block): Avoid local shadows.
17320 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17321 (mswindows_enqueue_mouse_button_event): ditto.
17322 (mswindows_handle_gui_wm_command): remove declaration.
17324 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17327 * console-msw.h: Avoid shadows.
17328 (mswindows_get_toolbar_button_text):
17329 (emacs_mswindows_create_stream_pair):
17330 (emacs_mswindows_delete_stream_pair):
17331 (mswindows_handle_toolbar_wm_command): declare.
17333 * device-msw.c (build_syscolor_string): Avoid shadows.
17335 2000-01-23 Andy Piper <andy@xemacs.org>
17337 * glyphs-widget.c (widget_instantiate): reverse the items for
17338 layouts so that children are in the expected order.
17340 2000-01-28 Martin Buchholz <martin@xemacs.org>
17342 * ralloc.c: safe_bcopy ==> memmove
17343 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17344 * s/msdos.h: Remove BCOPY macros.
17345 * insdel.c (gap_right): Remove BCOPY conditional code.
17346 * insdel.c (gap_left): Remove BCOPY conditional code.
17347 XEmacs demands a working ANSI C compiler - hence memmove.
17349 * regex.c (regex_compile): Remove accidental use of trigraphs.
17351 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17353 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17356 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17358 * event-msw.c (mswindows_drain_windows_queue): Added the
17360 (mswindows_need_event): Commented the call to
17361 mswindows_drain_windows_queue().
17362 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17365 * console-msw.h: Moved a few function prototypes here from
17368 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17369 parameter from unsigned short to unsigned long.
17370 (Fmswindows_shell_execute): Added return value.
17372 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17374 * sysdep.c (init_system_name):
17375 process-unix.c (unix_canonicalized_host_name):
17376 Don't call freeaddrinfo() if getaddrinfo() fails.
17378 * process-unix.c (unix_open_unix_network_stream):
17379 Moved the code to get a port # into address loop.
17381 2000-01-27 Martin Buchholz <martin@xemacs.org>
17383 * buffer.c (reinit_vars_of_buffer):
17384 The right place to initialize conversion_in_dynarr and
17385 conversion_out_dynarr.
17387 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17389 * process-unix.c (unix_canonicalize_host_name): Muleize.
17390 (unix_open_network_stream): Muleize.
17392 * buffer.h: Fix up prototypes for ralloc.c functions.
17394 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17395 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17396 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17397 instead of gethostbyname()
17398 * process-unix.c: In unix_canonicalize_host_name() and
17399 unix_open_network_stream(), add code to use getaddrinfo()
17400 instead of gethostbyname().
17402 2000-01-27 Daniel Pittman <daniel@danann.net>
17404 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17405 libs when built with flat Athena.
17407 2000-01-27 Martin Buchholz <martin@xemacs.org>
17409 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17410 Use coding standards for function prototypes.
17412 2000-01-25 Martin Buchholz <martin@xemacs.org>
17414 * dialog-msw.c (push_lisp_string_as_unicode):
17415 * doc.c (unparesseuxify_doc_string):
17416 * dired.c (Fuser_name_completion_1):
17417 * dired.c (Fuser_name_all_completions):
17418 * dired.c (free_user_cache):
17419 * dired.c (user_name_completion):
17420 * console-x.c (get_display_arg_connection):
17421 * minibuf.c (clear_echo_area_internal):
17422 * minibuf.c (echo_area_append):
17423 * eldap.c (Fldap_open):
17424 * eldap.c (Fldap_search_internal):
17425 * frame-x.c (x_set_frame_text_value):
17426 * frame-x.c (x_set_frame_properties):
17427 * frame-x.c (x_create_widgets):
17428 * redisplay-tty.c (term_get_fkeys_1):
17429 * objects-x.c (x_parse_nearest_color):
17430 * objects-x.c (x_valid_color_name_p):
17431 * objects-x.c (x_initialize_font_instance):
17432 * objects-x.c (x_list_fonts):
17433 * objects-x.c (x_find_charset_font):
17434 * tooltalk.c (Fadd_tooltalk_message_arg):
17435 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17436 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17437 * process-unix.c (unix_create_process):
17438 * ntproc.c (sys_spawnve):
17439 * sound.c (Fplay_sound_file):
17440 * sound.c (Fplay_sound):
17441 * buffer.c (init_initial_directory):
17442 * buffer.c (init_buffer):
17443 * editfns.c (init_editfns):
17444 * editfns.c (Ftemp_directory):
17445 * editfns.c (Fuser_full_name):
17446 * editfns.c (uncache_home_directory):
17447 * editfns.c (get_home_directory):
17448 * editfns.c (Fuser_home_directory):
17449 * editfns.c (Fformat_time_string):
17450 * editfns.c (Fcurrent_time_string):
17451 * gui-x.c (button_item_to_widget_value):
17452 * database.c (Fopen_database):
17453 * event-Xt.c (x_to_emacs_keysym):
17454 * event-Xt.c (x_event_to_emacs_event):
17455 * event-Xt.c (describe_event_window):
17456 * event-msw.c (mswindows_wnd_proc):
17457 * glyphs-eimage.c (jpeg_instantiate):
17458 * glyphs-eimage.c (gif_instantiate):
17459 * glyphs-eimage.c (png_instantiate):
17460 * glyphs-eimage.c (tiff_instantiate):
17461 * glyphs-x.c (xbm_instantiate_1):
17462 * glyphs-x.c (x_xbm_instantiate):
17463 * glyphs-x.c (x_xface_instantiate):
17464 * glyphs-x.c (autodetect_instantiate):
17465 * glyphs-x.c (cursor_font_instantiate):
17466 * glyphs-x.c (x_widget_instantiate):
17467 * glyphs-x.c (x_widget_set_property):
17468 * glyphs-x.c (x_widget_property):
17469 * glyphs-x.c (BUILD_GLYPH_INST):
17470 * print.c (write_string_to_stdio_stream):
17471 * print.c (output_string):
17472 * print.c (Falternate_debugging_output):
17473 * print.c (Fexternal_debugging_output):
17474 * glyphs-msw.c (extract_xpm_color_names):
17475 * glyphs-msw.c (mswindows_xpm_instantiate):
17476 * glyphs-msw.c (bmp_instantiate):
17477 * glyphs-msw.c (resource_name_to_resource):
17478 * glyphs-msw.c (mswindows_resource_instantiate):
17479 * glyphs-msw.c (xbm_instantiate_1):
17480 * glyphs-msw.c (mswindows_xbm_instantiate):
17481 * glyphs-msw.c (mswindows_xface_instantiate):
17482 * glyphs-msw.c (mswindows_widget_instantiate):
17483 * glyphs-msw.c (add_tree_item):
17484 * glyphs-msw.c (add_tab_item):
17485 * glyphs-msw.c (mswindows_combo_box_instantiate):
17486 * glyphs-msw.c (mswindows_widget_property):
17487 * glyphs-msw.c (mswindows_combo_box_property):
17488 * glyphs-msw.c (mswindows_widget_set_property):
17489 * console.c (stuff_buffered_input):
17490 * objects-msw.c (mswindows_initialize_color_instance):
17491 * objects-msw.c (mswindows_valid_color_name_p):
17492 * objects-msw.c (mswindows_list_fonts):
17493 * objects-msw.c (mswindows_font_instance_truename):
17494 * bytecode.c (optimize_compiled_function):
17495 * select-x.c (symbol_to_x_atom):
17496 * select-x.c (x_atom_to_symbol):
17497 * select-x.c (hack_motif_clipboard_selection):
17498 * select-x.c (selection_data_to_lisp_data):
17499 * select-x.c (lisp_data_to_selection_data):
17500 * select-x.c (Fx_get_cutbuffer_internal):
17501 * select-x.c (Fx_store_cutbuffer_internal):
17502 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17503 * buffer.h (TO_INTERNAL_FORMAT): New function.
17504 * emacs.c (make_arg_list_1):
17505 * emacs.c (make_argc_argv):
17506 * emacs.c (main_1):
17507 * emacs.c (Fdump_emacs):
17508 * emacs.c (split_string_by_emchar_1):
17513 * device-x.c (x_init_device):
17514 * device-x.c (Fx_valid_keysym_name_p):
17515 * device-x.c (Fx_get_font_path):
17516 * device-x.c (Fx_set_font_path):
17517 * glyphs.c (bitmap_to_lisp_data):
17518 * glyphs.c (pixmap_to_lisp_data):
17519 * alloc.c (make_ext_string): Use coding system arguments. Update
17521 * alloc.c (build_string):
17522 * callproc.c (child_setup):
17523 * callproc.c (init_callproc):
17524 * fileio.c (lisp_strerror):
17525 * fileio.c (directory_file_name):
17526 * fileio.c (Fexpand_file_name):
17527 * fileio.c (Ffile_truename):
17528 * fileio.c (Fsysnetunam):
17529 * fileio.c (Fdo_auto_save):
17530 * sysdep.c (sys_readdir):
17531 * tests.c: New file. Allow adding C tests.
17532 Replace GET_* macros with a more comprehensible and flexible
17533 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17535 Any coding system can be used to do format conversion.
17536 Eliminate enum external_data_format.
17537 Eliminate convert_to_external_format.
17538 Eliminate convert_to_internal_format.
17539 Make sure file-name, keyboard, terminal, and ctext are always
17540 defined as coding systems or aliases. Make
17541 file-name-coding-system, terminal-coding-system, and
17542 keyboard-coding-system magical variables that are equivalent to
17543 defining the corresponding coding system aliases.
17545 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17546 * file-coding.c (Fcoding_system_alias_p): New function.
17547 * file-coding.c (Fcoding_system_aliasee): New function.
17548 * file-coding.c (append_suffix_to_symbol): New function.
17549 * file-coding.c (dangling_coding_system_alias_p): New function.
17550 * file-coding.c (Ffind_coding_system):
17551 * file-coding.c (Fcopy_coding_system):
17552 * file-coding.c (encode_coding_no_conversion):
17553 * file-coding.c (syms_of_file_coding):
17554 * file-coding.c (vars_of_file_coding):
17555 Rewrite coding system alias code.
17556 Allow nested aliases, like symbolic links.
17557 Allow redefinition of coding system aliases.
17558 Prevent existence of dangling coding system aliases.
17560 * dired.c (Fuser_name_completion_1):
17561 * dired.c (Fuser_name_all_completions):
17562 A crash would happen if user did QUIT in the middle of building
17563 user_name_cache. Remove redundant code in mainline and unwind_protect.
17566 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17568 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17569 an unsigned char *. Update all callers.
17571 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17573 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17575 2000-01-25 Martin Buchholz <martin@xemacs.org>
17577 * elhash.c (hentry_description): Use more portable definition.
17578 (resize_hash_table): Initialize new hentries using
17579 xnew_array_and_zero, thereby simplifying the code.
17581 * mule-charset.c (make_charset): Make sure entire object is
17582 initialized, to avoid Purify warnings.
17584 * alloc.c (resize_string): Fix unlikely crash with big strings.
17586 2000-01-24 Martin Buchholz <martin@xemacs.org>
17588 * realpath.c (xrealpath):
17589 Don't call getwd().
17591 2000-01-25 Martin Buchholz <martin@xemacs.org>
17593 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17595 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17597 * unexelfsgi.c (unexec): Change the way we decide which segment
17598 should be extended.
17600 Assumption that .bss section should be outside the PT_LOADable
17601 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17602 it's present) is inside the 'data' segment. This would fail the
17603 test which was used to find a segment to grow and cover new
17604 heap. Instead of this assumption, I created another one - on IRIX
17605 the segment to grow should start below .bss and it's address
17606 should extent above the end of .bss. Once this segment is
17607 identified, it's grown to accommodate the new heap and new
17608 zero-length .bss section is added at the end of .data2.
17610 2000-01-25 Martin Buchholz <martin@xemacs.org>
17612 * eval.c (Feval): Wrong number of arguments should use original
17613 function, not the indirect_function version of it.
17615 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17617 * glyphs-x.c (x_button_instantiate): Don't add image if
17618 it is not a pixmap.
17619 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17622 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17624 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17626 (DEFVAR_INT_MAGIC): Ditto.
17627 (DEFVAR_BOOL_MAGIC): Ditto.
17628 * glyphs.h: Reindent backslash.
17630 2000-01-24 Martin Buchholz <martin@xemacs.org>
17632 * glyphs-widget.c (layout_query_geometry):
17633 (layout_layout): Use correct types for gheight, gwidth.
17635 2000-01-24 Martin Buchholz <martin@xemacs.org>
17637 * EmacsManager.c (QueryGeometry): Purified.
17639 2000-01-23 Martin Buchholz <martin@xemacs.org>
17641 * alloc.c (make_float): Make sure entire object is initialized, to
17642 avoid Purify warnings.
17643 (pdump_register_sub): Remove useless assignment.
17644 (pdump): Use xmalloc, not malloc.
17645 (pdump_load): Use xmalloc, not malloc.
17647 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17654 * sysdep.c: Removed redundant #include <windows.h>
17656 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17658 * frame.c (delete_frame_internal): Do not delete device when its
17659 implementation so declares.
17660 (delete_frame_internal): Set device selected frame to nil when
17661 last frame goes away.
17663 * device-msw.c (msprinter_device_system_metrics): Implemented.
17664 (mswindows_device_system_metrics): Added 'device-dpi property.
17666 * device.c: (Fdevice_printer_p): Added.
17667 Added 'offset-workspace device metric.
17669 * console.h (device_metrics): Declared DM_offset_workspace.
17671 2000-01-23 Martin Buchholz <martin@xemacs.org>
17673 * fileio.c (Ffile_truename): Remove pointless and confusing
17674 initialization of elen.
17676 * glyphs-widget.c: Compiler warning fixes.
17678 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17680 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17681 instead of a Lisp_Object as argument to make it consistent with
17682 the other LIVE_P macros.
17683 (CHECK_LIVE_PROCESS): New macro.
17685 * process.c: Declare Qprocess_live_p.
17686 (Fprocess_live_p): New function.
17687 (create_process): Use PROCESS_LIVE_P.
17688 (read_process_output): Ditto.
17689 (set_process_filter): Ditto.
17690 (Fdelete_process): Ditto.
17691 (kill_buffer_processes): Ditto
17692 (process_send_signal): Use CHECK_LIVE_PROCESS.
17693 (Fprocess_input_coding_system): Check whether process is still
17694 alive (fix PR#1061).
17695 (Fprocess_output_coding_system): Ditto.
17696 (Fprocess_coding_system): Ditto.
17697 (Fset_process_input_coding_system): Ditto.
17698 (Fset_process_output_coding_system): Ditto.
17700 2000-01-23 Andy Piper <andy@xemacs.org>
17702 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17705 * glyphs.c (mark_image_instance): take into account changed
17706 image_instance format.
17707 (image_instance_equal): ditto.
17708 (image_instance_hash): ditto.
17710 * glyphs-widget.c (widget_instantiate): Incorporate layout
17711 instantiation here. Delay layout of the layout until later.
17712 (layout_instantiate): deleted.
17713 (layout_query_geometry): new function. get the geometry of a
17715 (layout_layout): layout a layout dynamically.
17716 (image_instantiator_widget): New function - splitting up
17717 image_instantiator_format_create_glyphs_widget for netwinder
17719 (image_instantiator_buttons):
17720 (image_instantiator_edit_fields):
17721 (image_instantiator_combo_box):
17722 (image_instantiator_scrollbar):
17723 (image_instantiator_progress_guage):
17724 (image_instantiator_tree_view):
17725 (image_instantiator_tab_control):
17726 (image_instantiator_labels):
17727 (image_instantiator_layout): ditto.
17728 (image_instantiator_format_create_glyphs_widget): Call preceding
17731 2000-01-22 Martin Buchholz <martin@xemacs.org>
17733 * process.c (Fset_process_coding_system):
17734 * device-x.c (Fx_keysym_hash_table):
17737 * lstream.c (Lstream_write): Return documented value, not 0.
17739 * fileio.c (directory_file_name):
17740 (Fsubstitute_in_file_name):
17741 (Fsubstitute_insert_file_contents_internal):
17742 (Fwrite_region_internal):
17747 Remove vestigial APOLLO-conditional code.
17749 2000-01-21 Martin Buchholz <martin@xemacs.org>
17751 * getpagesize.h: Add guard macros.
17752 * libsst.h: Add guard macros.
17753 * libst.h: Add guard macros.
17754 * line-number.h: Add guard macros.
17755 * ndir.h: Add guard macros.
17756 * sysfloat.h: Add guard macros.
17757 * sysfile.h: Add guard macros.
17758 * sysproc.h: Add guard macros.
17759 * syswait.h: Add guard macros.
17760 * xintrinsic.h: Add guard macros.
17761 * xintrinsicp.h: Add guard macros.
17762 * xmmanager.h: Add guard macros.
17763 * xmmanagerp.h: Add guard macros.
17764 * xmprimitive.h: Add guard macros.
17765 * xmu.h: Add guard macros.
17766 * gpmevent.h: Add copyright statement. Add guard macros.
17767 * miscplay.h: Add guard macros.
17768 * *.h: Use consistent C-standards-approved guard macro names.
17770 * opaque.c (make_opaque): Switch parameter order.
17771 * opaque.h (make_opaque): Switch parameter order.
17772 Update all callers.
17773 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17775 * config.h.in (type_checking_assert): Added.
17776 (bufpos_checking_assert): Added.
17778 2000-01-21 Martin Buchholz <martin@xemacs.org>
17780 * alloc.c: Harmless pdump changes.
17782 - spell alignment correctly.
17783 * sysdep.c: Use countof()
17785 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17787 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17788 initially_selected_for_input() console method, default to 0.
17789 (semi_canonicalize_console_connection): Try to delegate to
17790 canonicalize_console_connection if no such console method.
17791 (canonicalize_console_connection): Vice versa.
17792 (print_console): Do not print nil connection.
17794 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17795 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17796 (XDEVIMPF_FRAMELESS_OK): Added.
17797 (CONSOLE_INHERITS_METHOD): Added.
17799 * console-msw.c (mswindows_canonicalize_console_connection):
17801 (mswindows_canonicalize_device_connection): Added.
17803 * console-msw.h (struct msprinter_device): Added this struct and
17805 (mswindows_device): Made fontlist a lisp object.
17807 * device.c (semi_canonicalize_device_connection): Try to delegate
17808 to canonicalize_device_connection if no such console method.
17809 (canonicalize_device_connection): Vice versa.
17810 (print_device): Do not print nil connection.
17812 * device-msw.c (mswindows_init_device): Call InitCommonControls
17814 (mswindows_delete_device): Removed fontlist deallocation.
17815 (mswindows_mark_device): Added.
17817 * events.c (event_equal): Added abort() at unreached code.
17818 (event_hash): Ditto.
17820 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17821 fallback tags of Windows devices.
17823 * general.c (syms_of_general): Initialized Qmsprinter.
17825 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17826 of fallback tags of Windows devices.
17828 * lisp.h: Declared Qmsprinter.
17830 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17832 (mswindows_list_fonts): Ditto.
17833 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17834 that it can be used by both mswindows and msprinter devices.
17835 (initialize_font_instance): Added.
17836 (mswindows_initialize_font_instance): Use it.
17837 (msprinter_initialize_font_instance): Added.
17839 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17840 and implementation flags check.
17841 (redisplay_without_hooks): Changed the call to the above.
17842 (Fredraw_device): Ditto.
17843 (Fredisplay_device): Ditto.
17845 * redisplay-msw.c (get_frame_dc): Implemented.
17846 (get_frame_compdc): Implemented.
17847 (many functions): Use the two functions above to get device
17848 contexts, ether for a window or a printer.
17850 2000-01-21 Olivier Galibert <galibert@pobox.com>
17852 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17853 initialization here.
17854 (init_symbols_once_early): Call it.
17855 * emacs.c (main_1): Call it.
17856 * symsinit.h: Declare it.
17858 2000-01-19 Olivier Galibert <galibert@pobox.com>
17860 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17862 (pdump_backtrace): Ditto.
17863 (pdump_register_object): Ditto. Cleanup use of the pointers.
17864 (pdump_get_entry): Abort if trying to register a null pointer.
17865 (pdump_dump_data): Cleanup types when relocating.
17866 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17867 (pdump_dump_rtables): Remove bad casts.
17868 (pdump_load): Cleanup relocation w.r.t union type. Use a
17869 Lisp_Object instead of a EMACS_INT for the hashtable
17872 2000-01-20 Martin Buchholz <martin@xemacs.org>
17874 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17876 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17878 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17880 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17882 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17884 * faces.h (FACE_STRIKETHRU_P): Added.
17886 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17889 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17890 (mswindows_set_dc_font): New function, aware of font variants,
17891 separated from mswindows_update_dc.
17893 * objects-msw.h (struct mswindows_font_instance_data): Added
17896 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17897 cached fonts and the data structure.
17898 (mswindows_initialize_font_instance): Added creation of font data
17900 (mswindows_print_font_instance): Print at least something.
17901 (mswindows_create_font_variant): Implemented.
17902 (mswindows_get_hfont): Implemented.
17904 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17906 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17907 prototyping problem with msvc.
17909 * emacs.c (main_1): added syms_of_gui_mswindows() call
17911 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17912 syms_of_gui_mswindows() function
17914 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17916 2000-01-18 Martin Buchholz <martin@xemacs.org>
17918 * XEmacs 21.2.27 is released.
17920 2000-01-18 Martin Buchholz <martin@xemacs.org>
17922 * glyphs-eimage.c (struct tiff_error_struct):
17924 (tiff_warning_func):
17925 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17930 * unexec.c: Remove vestigial Lucid C code.
17934 * libsst.c: Ansify.
17935 Remove declarations of errno and strerror().
17937 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17939 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17941 2000-01-16 Martin Buchholz <martin@xemacs.org>
17943 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17946 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17951 Change enum eol_type to eol_type_t.
17953 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17955 * gui.c (get_gui_callback): Check cons before accessing car.
17957 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17959 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17960 (XSETSPECIFIER_TYPE): Ditto.
17962 2000-01-17 Didier Verna <didier@xemacs.org>
17964 * redisplay.c (generate_fstring_runes): compute string size in
17965 characters, not bytes.
17967 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17969 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17971 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17973 * print.c (print_error_message): Call print_prepare().
17975 2000-01-14 Martin Buchholz <martin@xemacs.org>
17977 * .dbxrc: Renamed from dbxrc.
17979 * events.c (event_to_character):
17980 Use `assert (foo)' instead of `if (!foo) abort()'
17982 * .gdbinit (xtype): Add documentation.
17983 * .gdbinit (check-temacs): New function.
17984 * .gdbinit (check-xemacs): New function.
17985 * dbxrc (check-xemacs): New function.
17986 * dbxrc (check-xemacs): New function.
17988 2000-01-14 Andy Piper <andy@xemacs.org>
17990 * glyphs-widget.c (widget_query_geometry): Make sure that we
17991 calculate default dimensions correctly.
17993 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17995 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17997 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17998 pdump_wire'd variable.
18000 * emacs.c: (main_1): Conditionalized calls to
18001 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18003 2000-01-13 Martin Buchholz <martin@xemacs.org>
18005 * window.c (Fset_window_configuration):
18006 * sysdep.c (_start):
18007 * input-method-motif.c (res):
18008 * event-Xt.c (Xt_process_to_emacs_event):
18009 Simple compiler warning fixes.
18011 * bytecode.c (funcall_compiled_function): Use the original
18012 function symbol on the backtrace list in preference to the
18013 compiled_function object in error messages.
18015 2000-01-13 Andy Piper <andy@xemacs.org>
18017 * glyphs-x.c (update_widget_face): Make sure we update the widget
18018 background as well as foreground.
18020 2000-01-13 Andy Piper <andy@xemacs.org>
18022 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18023 fields to subwindow.
18024 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18025 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18026 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18027 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18029 * glyphs-widget.c (check_valid_tab_orientation): new function.
18030 (initialize_widget_image_instance): zero orientation and
18032 (widget_instantiate): pick up orientation.
18033 (tab_control_query_geometry): return appropriate values for
18036 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18037 appropriate creation flags for left, right and bottom tabs.
18039 * s/cygwin32.h: add tab definitions.
18041 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18043 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18044 frame upon hiding a subwindow.
18045 (mswindows_button_instantiate): Changed the push button style to
18047 (mswindows_button_instantiate): Removed button BS_NOTIFY
18049 (mswindows_button_instantiate): Removed redundant check for
18050 a disabled gui item.
18051 (mswindows_button_instantiate): Made use of WS_TABSTOP
18052 consistent: "operable" controls (edit, button, tree, scroll) have
18053 this style, "display-only" ones (static, progress gauge) do
18054 not. This style is currently ignored by XEmacs though. Also,
18055 removed the WS_EX_CONTROLPARENT style - it is not for children,
18056 it is for their parents!
18057 (mswindows_edit_field_instantiate): Ditto.
18058 (mswindows_progress_gauge_instantiate): Ditto.
18059 (mswindows_tree_view_instantiate): Ditto.
18060 (mswindows_tab_control_instantiate): Ditto.
18061 (mswindows_scrollbar_instantiate): Ditto.
18062 (mswindows_combo_box_instantiate): Ditto.
18063 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18064 style to the "clip" window.
18065 (mswindows_button_instantiate): Removed compilation warning by
18066 equally typing terms of the ?: operator.
18068 2000-01-12 Didier Verna <didier@xemacs.org>
18070 * redisplay.c (generate_fstring_runes): new parameter holding the
18071 last modeline-format extent.
18072 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18073 extent, fill the glyph block with it.
18074 (generate_fstring_runes): handle these parameters.
18075 (generate_formatted_string_db): ditto.
18077 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18078 glyphs'extents in the modeline.
18080 1999-01-11 Mike Woolley <mike@bulsara.com>
18082 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18083 256Mb, as a workaround for the non-starting problem many people
18086 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18088 * console-tty.c (Fset_console_tty_output_coding_system):
18089 Force redrawing tty frame.
18091 2000-01-10 Didier Verna <didier@xemacs.org>
18093 * redisplay.c (generate_fstring_runes): fix size computation bug.
18095 2000-01-09 William M. Perry <wmperry@aventail.com>
18097 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18099 2000-01-09 Andy Piper <andy@xemacs.org>
18101 * glyphs-msw.c: index -> i to avoid shadows.
18102 (xbm_create_bitmap_from_data): make static.
18103 (check_valid_string_or_int): deleted.
18104 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18106 * glyphs-x.c (x_update_subwindow): remove unused args.
18108 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18109 back pointer - this is done in allocate_image_instance.
18110 (query_string_font): return Qnil to make the compiler happy.
18111 (unmap_subwindow): set to ~0 to make the compiler happy.
18112 (glyph_query_geometry): comment out until used.
18113 (glyph_layout): ditto.
18115 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18117 * insdel.c (signal_after_change): Remove extraneous unbind_to().