1 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (charset_code_point): If nil is specified as a
4 feature-value, don't find in mother and return -1.
6 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
8 * chartab.c (Fput_char_attribute): Accept nil as a value of
9 CCS-feature [it means that specified object does not have
10 code-point of the CCS-feature].
12 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
15 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
17 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * text-coding.c (char_encode_as_entity_reference): Don't use
20 `DECODE_CHAR' to detect isolated characters.
22 * mule-charset.c (charset_code_point): Change the third argument
23 `defined_only' to `accepted_mode'; `accepted_mode' can be
24 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
26 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
27 (CHAR_ALL): New macro.
28 (CHAR_DEFINED_ONLY): New macro.
30 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
32 * chartab.c (Fchar_feature_base_name_eq): New function when
34 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
35 (syms_of_chartab): Add new builtin function
36 `char-feature-base-name=' when UTF2000 is enabled.
38 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
40 * text-coding.c (Vdecomposition_feature_list): New variable when
42 (char_encode_utf8): Refer variable `decomposition-feature-list'
43 instead of `=decomposition' feature.
44 (vars_of_file_coding): Add new variable
45 `decomposition-feature-list' when UTF2000 is defined.
47 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
49 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
50 `=decomposition' feature.
52 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
54 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
55 coded-charsets with builtin characters.
57 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
59 * text-coding.c (Qrep_decomposition): New extern.
60 (char_encode_utf8): Try to encode as combing sequence (or IVS).
62 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
65 "#endif" for code to refer Vchise_system_db_directory.
67 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
69 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
70 (Fconcord_object_adjoin): New function.
71 (Fconcord_object_adjoinX): New function.
72 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
73 `Fconcord_object_adjoinX'.
75 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 - Include "elconcord.h".
79 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
80 and `Fconcord_object_get' to elconcord.h.
81 (Lisp_CONCORD_DS): Moved to elconcord.h.
82 (struct Lisp_CONCORD_DS): Ditto.
84 (XSET_CONCORD_DS): Ditto.
85 (CONCORD_DS_P): Ditto.
86 (CHECK_CONCORD_DS): Ditto.
87 (CONCHECK_CONCORD_DS): Ditto.
88 (Lisp_CONCORD_Object): Ditto.
89 (struct Lisp_CONCORD_Object): Ditto.
90 (XCONCORD_OBJECT): Ditto.
91 (XSET_CONCORD_OBJECT): Ditto.
92 (CONCORD_OBJECT_P): Ditto.
93 (CHECK_CONCORD_OBJECT): Ditto.
94 (CONCHECK_CONCORD_OBJECT): Ditto.
95 (CONCORD_OBJECT_GENRE): Ditto.
96 (CONCORD_OBJECT_ID): Ditto.
97 (XCONCORD_OBJECT_ID): Ditto.
98 (XCONCORD_OBJECT_GENRE): Ditto.
99 (concord_object_equal): New function.
100 (LRECORD_IMPLEMENTATION of "concord_object"): Use
101 `concord_object_equal'.
103 * elconcord.h: New file.
105 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * concord.c (print_concord_object): Use readable form even if
108 `print-readably' is nil.
110 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * concord.c (print_concord_object): Don't display location of
113 data-source when `print-readably' is nil.
115 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
118 the default location of data-source.
119 (complex_vars_of_concord): Use Vchise_system_db_directory to
120 assign genre `character' and `feature'.
122 * chartab.h (Vchise_system_db_directory): New extern when
123 HAVE_CONCORD is defined.
125 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
127 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
128 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
130 (Fconcord_object_genre): New function.
132 - Add new builtin symbols `character' and `feature' when
133 HAVE_LIBCHISE is defined.
134 - Add Add new builtin function `concord-object-genre'.
135 (complex_vars_of_concord): New function; assign genres `character'
136 and `feature' when HAVE_LIBCHISE is defined.
138 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * emacs.c (main_1): Call `complex_vars_of_concord' when
141 HAVE_CONCORD is defined.
143 * symsinit.h (complex_vars_of_concord): New prototype.
145 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * chartab.c (allocate_character): Add `static'.
149 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * chartab.c (allocate_character): New function.
152 (Fdefine_char): Use allocate_character().
154 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
159 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * chartab.c (save_uint8_byte_table): Fixed problem when a property
163 (save_uint16_byte_table): Likewise.
165 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * chartab.c (Fchar_feature_property): New function when LIBCHISE
169 (Fput_char_feature_property): Likewise.
170 (syms_of_chartab): Add new builtin functions
171 `char-feature-property' and `put-char-feature-property' when
174 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
178 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
180 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
183 (make_charset): Add new argument `iso_ir'.
184 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
185 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
187 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
188 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
190 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
191 function `make_charset'.
193 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
194 (struct Lisp_Charset): Add new member `iso_ir'.
195 (CHARSET_ISO_IR): New macro.
197 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
200 code-point by GL charset.
202 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * concord.c (concord_id_validate): New function.
205 (structure_type_create_concord): Use `concord_id_validate' instead
206 of `concord_name_validate' to accept integer and character as =id.
208 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * concord.c (func_for_each_object): Fix bug about GC-protection.
212 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
214 * concord.c (Fconcord_object_put): Check argument FEATURE is a
217 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * text-coding.c (struct decoding_stream): Add new member
220 `bom_flag' in XEmacs CHISE.
221 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
224 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * mule-charset.c: Move definition of `=jis-x0208@1978' to
227 lisp/mule/mule-conf.el.
229 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
232 (make_charset): Add new argument `partial'.
233 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
234 (Fmake_reverse_direction_charset): Modify for `make_charset'.
235 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
237 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
238 `=jis-x0208' as a partial coded-charset.
240 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * text-coding.c (decode_add_er_char): Fix problem when a character
243 represented by an entity-reference is not defined.
245 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
250 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
255 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
258 is a relation feature.
260 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * chartab.c (syms_of_chartab): Define
263 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
265 * chartab.h (Q_denotational): New extern when UTF2000 or
266 HAVE_CONCORD is defined.
267 (Q_denotational_from): Likewise.
268 (Q_subsumptive): Likewise.
269 (Q_subsumptive_from): Likewise.
271 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * concord.c (concord_object_put): New function.
274 (Fconcord_object_put): Use `concord_object_put'.
276 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * concord.c (Fconcord_define_object): New function.
279 (syms_of_concord): Add new builtin function
280 `concord-define-object'.
282 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
287 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * concord.c: Add EXFUN for Fconcord_object_get.
290 (Vconcord_genre_object_hash_table): New variable.
291 (concord_genre_cache_get_object): New function.
292 (concord_genre_cache_put_object): New function.
293 (Fconcord_make_object): Use object cache; put object-ID into `=id'
295 (Fconcord_object_put): Call `concord_index_sync' after
296 `concord_index_strid_put_obj'.
297 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
299 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * concord.c (Fconcord_decode_object): Do GCPRO for
302 Fconcord_make_object.
303 (func_for_each_object): Likewise; do GCPRO for
304 for_each_object_closure->function.
305 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
306 for_each_object_closure->function, for_each_object_closure->genre,
307 for_each_object_closure->ds and for_each_object_closure->ret.
308 (concord_object_validate): Do GCPRO for Fconcord_make_object.
310 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * concord.c: Add EXFUNs for Fconcord_decode_object and
314 (Fconcord_make_object): Change order of arguments.
315 (Fconcord_decode_object): Modify for Fconcord_make_object.
316 (func_for_each_object): Likewise.
317 (concord_object_validate): Likewise.
318 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
320 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
324 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * concord.c (Fconcord_decode_object): Try to use readable print
327 form as a key of Concord-index.
328 (Fconcord_object_get): Try to use readable print form as an ID of
330 (Fconcord_object_put): Try to use readable print form as an ID of
331 Concord-object and a feature value.
332 (Fconcord_object_spec): Try to use readable print form as an ID of
335 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * concord.c (print_concord_object): Support readable form.
339 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * emacs.c (main_1): Call `structure_type_create_concord' when
342 HAVE_CONCORD is defined.
344 * symsinit.h (structure_type_create_concord): New prototype.
346 * concord.c (Qconcord_object): New variable.
349 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
351 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
352 char*> for genre-name.
353 (Fconcord_feature_list): Likewise.
354 (Fconcord_make_object): Likewise.
355 (Fconcord_decode_object): Likewise; use <char*> instead of
356 <unsigned char*> for feature_name and strid.
357 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
358 c_obj and feature_name.
359 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
361 (struct closure_for_object_spec): Use <char*> instead of <unsigned
362 char*> for member `object_id'.
363 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
364 char*> for feature-name.
365 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
367 (func_for_each_object): Cast to avoid warnings.
368 (Fconcord_foreach_object_in_feature): Use <char*> instead of
369 <unsigned char*> for genre_name and feature_name.
370 (concord_name_validate): New function.
371 (concord_object_validate): Likewise.
372 (concord_object_instantiate): Likewise.
373 (syms_of_concord): Add new builtin symbols `concord-object',
375 (structure_type_create_concord): New function.
377 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * concord.c (Vconcord_ds_hash_table): New variable.
380 (Vconcord_genre_hash_table): New variable.
381 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
382 (Fconcord_ds_directory): New function.
383 (Fconcord_assign_genre): New function.
384 (Fconcord_genre_directory): New function.
385 (Fconcord_genre_ds): New function.
386 (Fconcord_feature_list): Allow to omit `ds'.
387 (Fconcord_make_object): Likewise.
388 (Fconcord_decode_object): Likewise.
389 (Fconcord_foreach_object_in_feature): Likewise.
390 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
391 Fconcord_assign_genre, Fconcord_genre_directory and
393 (vars_of_concord): Setup Vconcord_ds_hash_table and
394 Vconcord_genre_hash_table.
396 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * concord.c (struct closure_for_each_object): Add new member
400 (func_for_each_object): Setup the return value to
401 `for_each_object_closure->ret'.
402 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
403 returns the value instead of Qt.
405 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
407 * concord.c: New file.
409 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
412 `lrecord_type_concord_object'.
414 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * symsinit.h (syms_of_concord): New prototype.
417 (vars_of_concord): New prototype.
419 * emacs.c (main_1): Setup symbols and variable about concord if
420 HAVE_CONCORD is defined.
422 * config.h.in (HAVE_CONCORD): New macro.
424 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Fput_char_attribute): For each character relation
427 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
429 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * chartab.c (Fput_char_attribute): Use
432 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
433 calling `put_char_composition'.
435 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * chartab.c (Q_halfwidth_of): New variable.
438 (put_char_composition): Return `<-halfwidth' instead of
439 `=decomposition' for compatibility mapping to single character
441 (Fput_char_attribute): Convert char-specs in value of
442 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
443 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
445 (syms_of_chartab): Add new symbol `<-halfwidth'.
447 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * chartab.c (put_char_composition): Return
450 `<-formed@{isolated|initial|medial|final}' for compatibility
451 mapping to single character tagged
452 `{isolated|initial|medial|final}'.
454 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
456 * chartab.c (Q_compat_of): Deleted.
457 (put_char_composition): Return `<-FOO' for compatibility mapping
458 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
459 of `symbol_name (XSYMBOL(...))'.
460 (Fput_char_attribute): Convert char-specs in value of
461 `{<-|->}font[^*]*' to characters and put reverse links.
462 (Fsave_char_attribute_table): Don't refer Q_compat_of.
463 (syms_of_chartab): Delete builtin symbol `<-compat'.
465 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * chartab.c (Q_circled_of): New variable.
468 (put_char_composition): Return `<-circled' instead of
469 `=decomposition' for compatibility mapping to single character
471 (Fput_char_attribute): Convert char-specs in value of
472 `{<-|->}circled[^*]*' to characters and put reverse links.
473 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
475 (syms_of_chartab): Add new symbol `<-circled'.
477 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * chartab.c (Qto_decomposition_at_circled): New variable.
480 (put_char_composition): Return `=>decomposition@circled' instead
481 of `=decomposition' for compatibility decomposition mapping tagged
483 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
485 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * chartab.c (Q_subscript_of): New variable.
488 (put_char_composition): Return `<-subscript' instead of
489 `=decomposition' for compatibility mapping to single character
491 (Fput_char_attribute): Convert char-specs in value of
492 `{<-|->}subscript[^*]*' to characters and put reverse links.
493 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
495 (syms_of_chartab): Add new symbol `<-subscript'.
497 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * chartab.c (Q_superscript_of): New variable.
500 (put_char_composition): Return `<-superscript' instead of
501 `=decomposition' for compatibility mapping to single character
503 (Fput_char_attribute): Convert char-specs in value of
504 `{<-|->}superscript[^*]*' to characters and put reverse links.
505 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
507 (syms_of_chartab): Add new symbol `<-superscript'.
509 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * chartab.c (Qto_decomposition_at_compat): Deleted.
512 (Qto_decomposition_at_superscript): New variable.
513 (put_char_composition): Use `=>decomposition@superscript' instead
514 of `=decomposition' for compatibility decomposition mapping tagged
516 (Fput_char_attribute): Fix condition about `put_char_composition'.
517 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
518 add news symbol `=>decomposition@superscript'.
520 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
523 for compatibility decomposition mapping tagged FOO.
524 (Fput_char_attribute): Modify for `put_char_composition'.
526 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * chartab.c (Qto_decomposition_at_compat): New variable.
529 (Q_compat_of): Renamed from `Q_compatibility_of'.
530 (put_char_composition): Rename `Q_compatibility_of' to
531 `Q_compat_of'; return `=>decomposition@compat' for compatibility
532 decomposition mapping.
533 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
535 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
536 `<-compatibility' to `<-compat'.
538 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * chartab.c (Q_compatibility_of): New variable.
541 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
542 object is proved to be a cons cell; return `<-compatibility' if
543 the first element of argument `value' is `compat'.
544 (Fput_char_attribute): Eliminate the first value if
545 `put_char_composition' returns `<-compatibility'.
546 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
547 for `<-compatibility'.
548 (syms_of_chartab): Add new symbol `<-compatibility'.
550 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (Q_canonical): New variable.
553 (put_char_composition): Return a feature name: return
554 `->canonical' if argument `value' specifies single character.
555 (Fput_char_attribute): Use `put_char_composition' to determine
556 feature name for `=decomposition' or `->denotational'.
557 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
559 (syms_of_chartab): Add new symbol `->canonical'.
561 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * chartab.c (Qmap_decomposition): New variable.
564 (Fput_char_attribute): Convert `->decomposition' to
566 (syms_of_chartab): Add new symbol `=decomposition'.
568 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.c (Fget_range_char_table): Fix serious problem when
573 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * chartab.c (char_table_get_db): Use `read_from_c_string'.
577 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * lread.c (read_from_c_string): New function.
581 * lisp.h (read_from_c_string): New prototype.
583 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * chartab.c (Fput_char_attribute): Convert char-specs in value of
586 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
587 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
588 for `{<-|->}Oracle-Bones[^*]*'.
590 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
595 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * text-coding.c (Qccs_priority_list): New variable in XEmacs
599 (Fmake_coding_system): Support new property `ccs-priority-list' in
601 (Fcoding_system_property): Likewise.
602 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
603 Vdefault_coded_charset_priority_list in XEmacs CHISE.
604 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
606 (complex_vars_of_file_coding): Define new coding-system-property
607 `ccs-priority-list' in XEmacs CHISE.
609 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
611 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
614 changed to normal function.
615 (encode_char_2): Likewise.
617 * mule-charset.c (decoding_table_put_char): Copied from
618 char-ucs.h; changed to normal function.
619 (encode_char_2): Likewise.
621 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
625 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
626 (encode_char_2_search_children): New inline function.
627 (encode_char_2): Refer
628 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
629 and use `encode_char_2_search_children'.
631 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
635 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
636 (vars_of_mule_charset): Add new variable
637 `display-coded-charset-priority-use-inheritance' and
638 `display-coded-charset-priority-use-hierarchy-order'.
640 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * char-ucs.h (Q_subsumptive): New extern.
643 (Q_denotational): Likewise.
644 (encode_char_2): Search children specified by `->subsumptive' and
647 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
649 * mule-charset.c (complex_vars_of_mule_charset): Modify the
650 X-registry of `ucs-bmp'.
652 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * chartab.c (char-variants): Refer `->subsumptive',
655 `->denotational' and `->identical' as same as `->ucs-unified'.
657 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * chartab.c (Fput_char_attribute): Convert char-specs in value of
660 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
663 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * text-coding.c: Add EXFUN for `Fregexp_quote'.
666 (decode_add_er_char): Fix problem about infinite loop when a CCS
667 specified in `coded-charset-entity-reference-alist' is not
670 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
672 * mule-charset.c (syms_of_mule_charset): Rename
673 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
675 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * fns.c (simplify_char_spec): Don't allocate new character-object
678 if specified char_spec does not have any CCS-features.
680 * chartab.h: Add EXFUN for Fdefine_char.
682 * chartab.c: Delete EXFUN for Fdefine_char.
684 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * fns.c (simplify_char_spec): Use Fdefine_char instead of
687 Ffind_char for char-spec.
689 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * lisp-disunion.h (XCHARVAL): Fix condition about
694 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
698 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
699 point; use <Emchar> instead of <int> for character-id.
701 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
704 (make_char): Likewise.
705 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
707 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
708 instead of <int> as the type of return value; use <Lisp_Object>
709 instead of <Emchar> as the type of argument.
710 (XCHARVAL[macro version]): Cast the result into <Emchar>.
712 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
713 syntaxcode> instead of <int>.
715 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * chartab.c (put_char_composition): Use DECODE_CHAR to get
718 character corresponding with UCS code point.
719 (Fput_char_attribute): Likewise.
721 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
722 character in the UCS decoding-table if the char-id is not equal to
725 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
728 for aliases; write `description'; write
729 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
732 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * chartab.c (Fsave_char_attribute_table): Don't use
735 `save_charset_properties'.
737 * mule-charset.c (Fsave_charset_properties): Renamed from
738 `save_charset_properties' and changed to Lisp function again;
739 write property `type' as `CCS'; write properties `final-byte' and
740 `mother' if they exists.
741 (syms_of_mule_charset): Revive builtin function
742 `save-charset-properties' when HAVE_LIBCHISE is defined.
744 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
746 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
747 instead of Vexec_directory.
748 (char_attribute_system_db_file): Likewise.
750 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * chartab.c (Fsave_char_attribute_table): Use
753 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
756 * mule-charset.c (save_charset_properties): Renamed from
757 `Fsave_charset_properties'; changed to non-Lisp function.
758 (syms_of_mule_charset): Abolish builtin function
759 `save-charset-properties'.
761 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * mule-charset.c (Fsave_charset_properties): New function when
764 HAVE_LIBCHISE is defined.
765 (syms_of_mule_charset): Add new builtin function
766 `save-charset-properties' when HAVE_LIBCHISE is defined.
768 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * chartab.c (Fput_char_attribute): Convert char-specs in value of
771 `{<-|->}ancient[^*]*' to characters and put reverse links.
772 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
773 for `{<-|->}ancient[^*]*'.
775 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * chartab.c (Fput_char_attribute): Convert char-specs in value of
778 `{<-|->}original[^*]*' to characters and put reverse links.
779 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
780 for `{<-|->}original[^*]*'.
782 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
784 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
786 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
788 * mule-charset.c (Qsystem_char_id): New variable.
790 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
791 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
793 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * chartab.c (Fput_char_attribute): When processing a reference of
796 a character, put into the end of the reversed reference of each
799 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * chartab.c (Q_same): Deleted.
802 (Q_same_of): Deleted.
803 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
804 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
806 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
808 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * chartab.c (Q_vulgar): Deleted.
811 (Q_vulgar_of): Deleted.
812 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
813 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
815 (syms_of_chartab): Don't define `{<-|->}vulgar'.
817 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * chartab.c (Fput_char_attribute): Convert char-specs in value of
820 `{<-|->}wrong[^*]*' to characters and put reverse links.
821 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
822 for `{<-|->}wrong[^*]*'.
824 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * chartab.c (Q_vulgar): New variable.
827 (Q_vulgar_of): New variable.
828 (Fput_char_attribute): Convert char-specs in value of
829 `{->|<-}vulgar' to characters and put reverse links.
830 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
832 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
834 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * text-coding.c (decode_add_er_char): Must to quote prefix string
839 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
841 * mule-charset.c (put_char_ccs_code_point): Store characters of
842 =ucs whose code_points >= 0xF0000.
844 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
848 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
850 (complex_vars_of_mule_charset): Add new coded-charset
851 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
852 builtin characters over 0xEFFFF.
854 * chartab.c (syms_of_chartab): Don't define symbol
855 `system-char-id' in every case.
857 * char-ucs.h (Qsystem_char_id): New extern variable.
858 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
860 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * text-coding.c (char_encode_utf8): Try to use entity-references
863 for U-000F0000 ... U-0010FFFF.
865 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * text-coding.c (ER_BUF_SIZE): New macro.
868 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
870 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
871 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
873 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
875 * chartab.c (find_char_feature_in_family): New function.
876 (Fchar_feature): Use `find_char_feature_in_family' with
877 `->identical', `<-subsumptive' and `<-denotational'.
879 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * text-coding.c (char_encode_as_entity_reference): Allow prefix
882 within 8 characters; fix infinite loop.
884 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * chartab.c (Q_same): New variable.
887 (Q_same_of): New variable.
888 (Fput_char_attribute): Convert char-specs in value of
889 `{->|<-}same' to characters and put reverse links.
890 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
892 (syms_of_chartab): Add new symbols `{->|<-}same'.
894 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
896 * chartab.c (Q_component): New variable.
897 (Q_component_of): Likewise.
898 (Fput_char_attribute): Convert char-specs in value of
899 `{->|<-}ideographic-component-forms' to characters and put reverse
901 (syms_of_chartab): Add new symbols
902 `{->|<-}ideographic-component-forms'.
904 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
906 * chartab.c (Q_identical): New variable.
907 (Q_identical_from): New variable.
908 (Fchar_feature): Regard `->identical' as a feature to find
910 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
911 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
912 for `{->|<-}identical'.
913 (syms_of_chartab): Add new symbols `{->|<-}identical'.
915 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * char-ucs.h (encode_char_2): New inline function.
918 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
920 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c (Fput_char_attribute): Convert char-specs to
923 characters in value of `ideographic-structure'.
924 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
925 for `{<-|->}simplified(@...)'.
926 (Fdefine_char): Try to use predefined character's id.
928 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * fns.c (simplify_char_spec): Try to convert builtin chars to
933 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * chartab.c (Fput_char_attribute): Convert char-specs in value of
936 `<-simplified[^*]*' to characters and put reverse links.
938 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
940 * chartab.c (Q_subsumptive): Renamed from Q_unified.
941 (Q_subsumptive_from): Renamed from Q_unified_from.
942 (Fchar_feature): Use `Q_subsumptive_from' instead of
944 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
946 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
947 `<-unified' to `<-subsumptive'.
949 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
951 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
952 inheritance itself; fix typo; stop recursive search if cyclic
953 inheritance is found.
955 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
957 * chartab.c (Q_denotational): New variable.
958 (Q_denotational_from): New variable.
959 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
960 (put_char_attribute): New function.
961 (Fput_char_attribute): Use `put_char_attribute'; regard
962 `->denotational' and `<-denotational' as same as `->unified' and
964 (syms_of_chartab): Add new symbols `->denotational' and
967 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
969 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
970 `Fget_char_attribute'.
971 (Fchar_variants): Likewise.
972 (get_char_table): Likewise.
973 (Fchar_feature): New function.
974 (put_char_composition): Use `Fchar_feature' instead of
975 `Fget_char_attribute'.
976 (Fput_char_attribute): Likewise; don't put the target character
977 into its `->unified' value.
978 (syms_of_chartab): Add new builtin function `char-feature'.
980 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
982 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
983 `Fget_char_attribute'.
984 (char_encode_utf8): Likewise.
986 * chartab.h: Add an EXFUN for `Fchar_feature'.
988 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
990 * chartab.c (Vnext_defined_char_id): New variable.
991 (Fput_char_attribute): Accept characters in `->unified'.
992 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
993 new characters which are not related with builtin char-id ranges.
994 (vars_of_chartab): Add new variable `next-defined-char-id'.
996 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
998 * chartab.c (Q_unified): New variable.
999 (Q_unified_from): New variable.
1000 (Fput_char_attribute): Add code for `->unified'.
1001 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1004 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1006 * mule-charset.c (decode_ccs_conversion): New function.
1007 (decode_defined_char): Use `decode_ccs_conversion'.
1008 (decode_builtin_char): Likewise.
1010 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * char-ucs.h: Change some charset-ids of private coded-charsets.
1014 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1017 (char_encode_as_entity_reference): Likewise.
1018 (decode_coding_big5): Modify for `decode_defined_char' and
1020 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1021 avoid compiler warning.
1022 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1024 * mule-charset.c (decode_defined_char): Add new argument
1025 `without_inheritance'.
1026 (Fdecode_char): Add new optional argument `without_inheritance'.
1027 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1029 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1030 (simplify_char_spec): Likewise.
1032 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1035 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1036 (map_char_table): Likewise.
1037 (Fdefine_char): Use `Fdecode_char' without inheritance.
1038 (Ffind_char): Modify for `Fdecode_char'.
1040 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1042 * char-ucs.h (decode_defined_char): Add new argument
1043 `without_inheritance'.
1044 (DECODE_CHAR): Likewise.
1045 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1047 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1049 * chartab.c (Vchise_system_db_directory): New variable.
1050 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1052 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1054 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1055 (print_chartab_range): Don't define when `UTF2000' is defined.
1056 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1059 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1061 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1062 and optional argument `rehash' is specified, call
1063 `open_chise_data_source_maybe' before
1064 `chise_ds_foreach_char_feature_name' is called.
1066 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * chartab.c (char_attribute_list_reset_map_func): New function
1069 when HAVE_LIBCHISE is defined.
1070 (Fchar_attribute_list): Add new optional argument `rehash' when
1071 HAVE_LIBCHISE is defined.
1072 (open_chise_data_source_maybe): Use "chise-db" instead of
1074 (char_attribute_system_db_file): Likewise.
1075 (Fload_char_attribute_table): Use
1076 `chise_feature_foreach_char_with_value' instead of
1077 `chise_char_feature_value_iterate'.
1079 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * chartab.c (Vchise_db_directory): New variable.
1082 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1084 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1087 instead of HAVE_CHISE to specify using with libchise.
1089 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1091 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1093 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1094 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1095 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1097 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1098 HAVE_CHISE to specify using with libchise.
1099 (syms_of_chartab): Don't define symbol `system-char-id' when
1100 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1102 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1104 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1105 specify CHISE DB support.
1106 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1107 of `char_attribute_system_db_file' to check feature DB file.
1109 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1110 HAVE_CHISE_CLIENT to specify CHISE DB support.
1112 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1113 specify CHISE DB support.
1114 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1116 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1117 instead of `char_attribute_system_db_file' to check feature DB
1120 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1122 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1123 `HAVE_CHISE_CLIENT'.
1125 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1128 (Fsave_charset_mapping_table): Don't use
1129 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1131 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1132 (HAVE_LIBCHISE): New macro.
1134 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1136 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1137 (Fsave_char_attribute_table): Don't use
1138 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1140 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1142 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1144 (save_uint16_byte_table): Likewise.
1145 (save_byte_table): Likewise.
1146 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1147 instead of `chise_char_load_feature_value'.
1148 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1150 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152 * chartab.h (struct Lisp_Char_Table): Delete member
1153 `feature_table' if CHISE is defined.
1155 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1156 (Fcopy_char_table): Likewise.
1157 (char_table_open_db_maybe): Likewise.
1158 (char_table_close_db_maybe): Likewise.
1159 (char_table_get_db): Likewise.
1160 (Fmount_char_attribute_table): Likewise.
1161 (Fload_char_attribute_table): Likewise.
1163 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1165 * mule-charset.c (load_char_decoding_entry_maybe): Use
1166 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1169 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1171 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1172 instead of `chise_open_data_source'.
1173 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1176 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1178 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1179 instead of `chise_ds_open_feature_table'.
1180 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1182 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * mule-charset.c (Fsave_charset_mapping_table): Use
1185 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1186 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1187 `chise_ccs_sync' instead of `chise_ccst_close'.
1188 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1190 * chartab.c (open_chise_data_source_maybe): Modify for
1191 `chise_open_data_source'.
1192 (char_table_open_db_maybe): Modify for
1193 `chise_ds_open_feature_table'.
1195 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1197 * mule-charset.c (load_char_decoding_entry_maybe): Use
1198 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1201 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1203 * mule-charset.c (Fsave_charset_mapping_table): Use
1204 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1205 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1206 `chise_dt_put_char' and `chise_dt_close'.
1207 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1208 `chise_ccs_decode' and `chise_ccst_close' instead of
1209 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1212 * chartab.c (char_table_get_db): Use
1213 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1214 (load_char_attribute_table_map_func): Modify for
1215 `chise_char_feature_value_iterate'.
1216 (Fload_char_attribute_table): Use
1217 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1219 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1223 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1225 * chartab.c (put_char_table): Modify for inherited coded-charsets
1228 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1230 * chartab.c (Fput_char_table_map_function): Fixed.
1231 (word_boundary_p): Don't check charset in XEmacs CHISE.
1233 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1235 * mule-charset.c (Fsave_charset_mapping_table): Use
1236 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1237 instead of `chise_open_decoding_table'; refer
1238 `default_chise_data_source'; use `chise_dt_close' instead of
1239 `chise_close_decoding_table'.
1240 (load_char_decoding_entry_maybe): Likewise.
1242 * chartab.c (default_chise_data_source): New variable when `CHISE'
1244 (Fcopy_char_table): `ct->ds' is deleted.
1245 (open_chise_data_source_maybe): New function.
1246 (Fclose_char_data_source): New function.
1247 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1248 use `chise_ds_open_feature_table' instead of
1249 `chise_open_feature_table'.
1250 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1251 `chise_close_feature_table'; `cit->ds' is deleted.
1252 (syms_of_chartab): Add new builtin function
1253 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1255 * chartab.h (default_chise_data_source): New extern variable.
1256 (open_chise_data_source_maybe): New prototype.
1257 (struct Lisp_Char_Table): Delete `ds'.
1259 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1261 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1264 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1266 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1267 not defined; add code for non-libchise setting.
1268 (char_table_close_db_maybe): Likewise.
1269 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1271 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1272 even if `CHISE' is not defined.
1273 (Freset_char_attribute_table): Likewise.
1274 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1275 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1276 `char_table_get_db'.
1277 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1278 `char_table_close_db_maybe' even if `CHISE' is not defined.
1280 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1282 * chartab.c (char_table_open_db_maybe): New function.
1283 (char_table_close_db_maybe): New function.
1284 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1285 (Freset_char_attribute_table): Likewise.
1286 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1287 `char_table_close_db_maybe'.
1288 (Fload_char_attribute_table): Likewise.
1290 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1292 * chartab.c: Don't include <chise.h> because it is included in
1294 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1296 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1298 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1300 (Fclose_char_attribute_table): Close `ct->feature_table' and
1301 `ct->ds' when `CHISE' is defined.
1302 (Freset_char_attribute_table): Likewise.
1303 (load_char_attribute_maybe): Use `cit->ds' and
1304 `cit->feature_table' when `CHISE' is defined.
1305 (Fload_char_attribute_table): Likewise.
1307 * chartab.h: Include <chise.h> when `CHISE' is defined.
1308 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1309 when `CHISE' is defined.
1311 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1313 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1315 (char_table_description): Likewise.
1316 (Fmake_char_table): Likewise.
1317 (Fcopy_char_table): Likewise.
1318 (Fmount_char_attribute_table): Likewise.
1319 (Fclose_char_attribute_table): Likewise.
1320 (Freset_char_attribute_table): Likewise.
1321 (load_char_attribute_maybe): Likewise.
1322 (Fload_char_attribute_table): Likewise.
1324 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1327 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1329 * chartab.c (load_char_attribute_table_map_func): New function
1330 when CHISE is defined.
1331 (Qload_char_attribute_table_map_function): Don't define when CHISE
1333 (Fload_char_attribute_table_map_function): Likewise.
1334 (Fload_char_attribute_table): Use libchise when `CHISE' is
1336 (syms_of_chartab): Don't define
1337 `load-char-attribute-table-map-function' when CHISE is defined.
1339 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1341 * chartab.c: Include <chise.h> when `CHISE' is defined.
1342 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1344 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1346 * mule-charset.c (charset_code_point): Fix problem when searching
1347 in mother CCS fails with `defined_only' mode.
1349 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1351 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1352 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1353 (put_char_composition): Likewise.
1354 (Fput_char_attribute): Likewise.
1355 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1357 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1359 * chartab.c (Q_ucs): Deleted.
1360 (Fput_char_attribute): Don't refer `->ucs'.
1361 (Fdefine_char): Likewise.
1362 (Ffind_char): Likewise.
1363 (syms_of_chartab): Delete `->ucs'.
1365 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1367 * mule-charset.c (Qmap_cns11643_2): Renamed from
1368 `Qchinese_cns11643_2'.
1369 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1370 `chinese-cns11643-2'.
1371 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1374 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1376 * mule-charset.c (Qmap_cns11643_1): Renamed from
1377 `Qchinese_cns11643_1'.
1378 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1379 `chinese-cns11643-1'.
1380 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1383 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1385 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1386 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1388 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1391 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1393 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1394 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1396 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1399 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1402 (syms_of_mule_charset): Add new symbol `=big5' instead of
1404 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1406 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1408 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1409 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1411 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1414 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1416 * mule-charset.c (Qmap_jis_x0212): Renamed from
1417 `Qjapanese_jisx0212'.
1418 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1419 `japanese-jisx0212'.
1420 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1423 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1425 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1426 `Qjapanese_jisx0208'.
1427 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1428 of `japanese-jisx0208'.
1429 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1432 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1434 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1435 `Qjapanese_jisx0208_1978'.
1436 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1437 of `japanese-jisx0208-1978'.
1438 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1441 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1443 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1444 only for XEmacs CHISE.
1446 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1448 * char-ucs.h: Compact non-ISO-IR charset-ids.
1449 (LEADING_BYTE_UCS): Changed to -177.
1450 (LEADING_BYTE_CONTROL_1): Changed to -77.
1451 (LEADING_BYTE_UCS_BMP): Changed to -176.
1452 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1454 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * mule-charset.c (Qiso_ir): New variable.
1457 (Fmake_charset): Recognise new property `iso-ir'.
1458 (syms_of_mule_charset): Add new symbol `iso-ir'.
1460 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1463 n to -n; charset-id of non ISO-IR sets are changed to positive
1466 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1468 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1469 for &MCS-XXXXXXXX; values.
1471 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1473 * mule.c (Vxemacs_chise_version): Renamed from
1474 `Vutf_2000_version'.
1475 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1476 `utf-2000-version' as an alias for `xemacs-chise-version'.
1478 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1480 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1481 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1484 * config.h.in (CHISE): New macro.
1486 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1488 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1490 (Qmap_ucs): New variable.
1491 (syms_of_mule_charset): Add new symbol `=ucs'.
1492 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1494 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1495 (simplify_char_spec): Likewise.
1497 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1499 * char-ucs.h (Qmap_ucs): New extern variable.
1501 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1503 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1504 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1505 don't define it when UTF2000 is not defined.
1506 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1507 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1508 when UTF2000 is not defined.
1509 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1510 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1512 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1514 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1516 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1518 (syms_of_mule_charset): Delete `ucs-gb'.
1519 (complex_vars_of_mule_charset): Likewise.
1521 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1525 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1526 (Qucs_cns): Deleted.
1527 (syms_of_mule_charset): Delete `ucs-cns'.
1528 (complex_vars_of_mule_charset): Likewise.
1530 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1532 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1534 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1535 (Qucs_jis): Deleted.
1536 (syms_of_mule_charset): Delete `ucs-jis'.
1537 (complex_vars_of_mule_charset): Likewise.
1539 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1541 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1543 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1545 (syms_of_mule_charset): Delete `ucs-ks'.
1546 (complex_vars_of_mule_charset): Likewise.
1548 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1550 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1551 (Qideograph_daikanwa_2): Deleted.
1552 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1553 (complex_vars_of_mule_charset): Likewise.
1555 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1556 (LEADING_BYTE_DAIKANWA_1): Deleted.
1557 (LEADING_BYTE_DAIKANWA_2): Deleted.
1558 (MIN_CHAR_DAIKANWA): Deleted.
1559 (MAX_CHAR_DAIKANWA): Deleted.
1561 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1563 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1564 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1565 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1567 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1568 (Vcharset_ideograph_daikanwa): Deleted.
1569 (Qideograph_hanziku_{1..12}): Deleted.
1570 (Qideograph_daikanwa): Deleted.
1571 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1572 Vcharset_ideograph_daikanwa.
1573 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1574 `ideograph-hanziku-{1..12}'.
1575 (complex_vars_of_mule_charset): Likewise.
1577 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1579 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1581 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1582 (Qideograph_gt_pj_{1..11}): Deleted.
1583 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1584 (complex_vars_of_mule_charset): Likewise.
1586 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1588 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1589 (Vcharset_ideograph_gt): Deleted.
1590 (Qucs_big5): Deleted.
1591 (Qideograph_gt): Deleted.
1592 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1594 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1597 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1598 (LEADING_BYTE_GT): Deleted.
1599 (MIN_CHAR_GT): Deleted.
1600 (MAX_CHAR_GT): Deleted.
1602 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1604 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1606 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1608 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1609 (save_uint16_byte_table): Likewise.
1610 (save_byte_table): Likewise; convert values by it.
1611 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1612 for `ideographic-structure'.
1613 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1614 as the filter for `ideographic-structure'.
1616 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * chartab.c (put_char_composition): New function.
1619 (Fput_char_attribute): Use `put_char_composition'; use
1620 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1622 * fns.c (simplify_char_spec): New function.
1623 (char_ref_simplify_spec): New function.
1624 (Fchar_refs_simplify_char_specs): New function.
1625 (syms_of_fns): Add new builtin function
1626 `char-refs-simplify-char-specs'.
1628 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1630 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1631 (Qideograph_cbeta): Deleted.
1632 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1633 (complex_vars_of_mule_charset): Likewise.
1635 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1636 (MIN_CHAR_CBETA): Comment out.
1637 (MAX_CHAR_CBETA): Likewise.
1639 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1641 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1642 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1643 CHISE client feature.
1645 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1647 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1649 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1651 * mule-charset.c (charset_lookup_description_1): Use
1652 `NUM_LEADING_BYTES' in UTF-2000.
1654 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1656 * char-ucs.h (GC_CHARSETP): Deleted.
1658 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1660 * char-ucs.h (MAX_CHAR_GT): Updated.
1662 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1664 * text-coding.c: Sync with XEmacs 21.4.10.
1666 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * mule-charset.c (Vcharset_china3_jef): Deleted.
1669 (Qchina3_jef): Deleted.
1670 (syms_of_mule_charset): Don't define `china3-jef'.
1671 (complex_vars_of_mule_charset): Likewise.
1673 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1674 (MIN_CHAR_CHINA3_JEF): Comment out.
1675 (MAX_CHAR_CHINA3_JEF): Comment out.
1677 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * mule-charset.c (Vcharset_ucs_gb): New variable.
1680 (Qucs_gb): New variable.
1681 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1682 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1684 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1686 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * mule-charset.c (charset_code_point): if a coded-charset has a
1689 final-byte, don't inherit the builtin range of the mother CCS.
1691 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1693 * mule-charset.c (charset_code_point): Fix problem about
1696 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1698 * mule-charset.c (decode_builtin_char): Reorganized.
1700 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1702 * text-coding.c (char_encode_as_entity_reference): Modify for
1703 `charset_code_point'.
1704 (char_encode_shift_jis): Likewise.
1705 (char_encode_big5): Likewise.
1706 (char_encode_utf8): Likewise.
1707 (char_encode_iso2022): Likewise.
1709 * mule-charset.c (charset_code_point): Add new argument
1711 (Fencode_char): Add new optional argument `defined_only'.
1713 * chartab.c (put_char_table): Modify for `charset_code_point'.
1715 * char-ucs.h (charset_code_point): Add new argument
1717 (encode_char_1): Modify for `charset_code_point'.
1719 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1721 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1722 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1724 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1726 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1727 (Qjis_x0208): Likewise.
1728 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1729 XCHARSET_FINAL(charset).
1730 (charset_code_point): Modify condition for final-byte based
1732 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1733 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1734 in UTF-2000; specify `=jis-x0208' as the mother of
1735 `japanese-jisx0208-1978', `japanese-jisx0208' and
1736 `japanese-jisx0208-1990' in UTF-2000.
1738 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1740 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1742 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1744 * text-coding.c (decode_coding_utf16): Support UTF-16.
1745 (char_encode_utf16): Fixed.
1747 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1749 * text-coding.c (Qutf16): New variable in MULE.
1750 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1751 (Fcoding_system_type): Add `utf-16' in MULE.
1752 (struct detection_state): Add a structure for utf16 in MULE.
1753 (detect_coding_type): Setup st->utf16.mask in MULE.
1754 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1756 (reset_encoding_stream): Use `char_encode_utf16' and
1757 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1758 (detect_coding_utf16): New function [incomplete].
1759 (decode_coding_utf16): New function [support only UCS-2].
1760 (char_encode_utf16): New function.
1761 (char_finish_utf16): New function.
1762 (syms_of_file_coding): Add new symbol `utf-16'; setup
1763 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1765 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1767 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1768 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1770 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1772 * chartab.c (put_char_table): When a charset is specified as a
1773 range in UTF-2000, don't support builtin characters.
1775 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1777 * mule-charset.c (decode_defined_char): Don't refer external
1778 database if Qunbound or Qnil are found.
1779 (Fsave_charset_mapping_table): Don't define it if
1780 HAVE_CHISE_CLIENT is not defined.
1781 (Freset_charset_mapping_table): New function.
1782 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1783 found in external database.
1784 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1785 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1786 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1788 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1790 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1793 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1795 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1796 Q_lowercase, Q_uppercase in UTF-2000.
1798 * chartab.c (get_char_table): Add special code for the standard
1799 case table to use character attribute `->downcase' and
1800 `->uppercase' for case operations in UTF-2000.
1802 * casetab.c (Qflippedcase): New variable in UTF-2000.
1803 (Q_lowercase): Likewise.
1804 (Q_uppercase): Likewise.
1805 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1806 and `->uppercase' in UTF-2000.
1807 (complex_vars_of_casetab): Assign attribute name `downcase' to
1808 downcase and CANON table of Vstandard_case_table in UTF-2000;
1809 assign attribute name `flippedcase' to upcase and EQV table of
1810 Vstandard_case_table in UTF-2000.
1812 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1814 * text-coding.c (decode_add_er_char): Support isolated-chars.
1815 (char_encode_as_entity_reference): Likewise.
1817 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1819 * emacs.c (Vutf_2000_lisp_directory): New variable.
1820 (Vconfigure_utf_2000_lisp_directory): Likewise.
1821 (complex_vars_of_emacs): Add new variable
1822 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1824 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1826 * char-ucs.h (DECODE_CHAR): Delete special code for
1827 `chinese-big5-1' and `chinese-big5-2'.
1829 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1830 (Qbig5_2): Likewise.
1831 (decode_defined_char): Support CONVERSION_BIG5_1 and
1833 (decode_builtin_char): Likewise.
1834 (charset_code_point): Likewise.
1835 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1836 'conversion in UTF-2000.
1837 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1838 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1839 `chinese-big5-2' as children of `chinese-big5'.
1841 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1842 (CONVERSION_BIG5_2): New macro.
1844 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1846 * text-coding.c (char_encode_big5): Support entity-reference.
1848 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1850 * text-coding.c (char_encode_as_entity_reference): New function.
1851 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1853 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1855 * text-coding.c (decode_coding_big5): Support entity-reference
1858 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1860 * text-coding.c (allocate_coding_system): Initialize initial
1861 charsets for CODESYS_UTF8.
1862 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1863 charset-g2 for CODESYS_UTF8.
1864 (decode_coding_utf8): Use charset-g0.
1865 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1866 to force variants to map to UCS.
1868 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1870 * text-coding.c (Qutf_8_mcs): New variable.
1871 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1872 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1873 instead of `utf-8' in UTF-2000.
1875 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1877 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1878 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1879 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1880 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1881 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1882 CONVERSION_96x96x96x96 are introduced.
1883 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1884 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1885 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1887 * char-ucs.h (CONVERSION_94): New macro.
1888 (CONVERSION_96): New macro.
1889 (CONVERSION_94x94): New macro.
1890 (CONVERSION_96x96): New macro.
1891 (CONVERSION_94x94x94): New macro.
1892 (CONVERSION_96x96x96): New macro.
1893 (CONVERSION_94x94x94x60): New macro.
1894 (CONVERSION_94x94x94x94): New macro.
1895 (CONVERSION_96x96x96x96): New macro.
1897 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1899 * chartab.c (Vcharacter_variant_table): Deleted.
1900 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1901 of `Vcharacter_variant_table'.
1902 (Fput_char_attribute): Likewise.
1903 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1904 (complex_vars_of_chartab): Likewise.
1906 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1908 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1910 * fns.c (Qideographic_structure): New variable.
1911 (Qkeyword_char): New variable.
1912 (ids_format_unit): New function.
1913 (Fideographic_structure_to_ids): New function.
1914 (syms_of_fns): Add new symbols `ideographic-structure' and
1915 `:char'; add new builtin function `ideographic-structure-to-ids'.
1917 * data.c (Fchar_ref_p): New function.
1918 (syms_of_data): Add new builtin function `char-ref-p'.
1920 * chartab.h: Add an EXFUN for `Ffind_char'.
1922 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1924 * text-coding.c (Vcharacter_composition_table): Deleted.
1925 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1928 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1930 (Vcharacter_composition_table): Deleted.
1931 (Fget_composite_char): Use the implementation for external-DB
1932 support in every UTF-2000.
1933 (Fput_char_attribute): Likewise.
1934 (char_attribute_system_db_file): Don't define if external-DB
1935 feature is not available.
1936 (Fsave_char_attribute_table): Likewise.
1937 (Fmount_char_attribute_table): Likewise.
1938 (Fclose_char_attribute_table): Likewise.
1939 (Freset_char_attribute_table): Likewise.
1940 (Fload_char_attribute_table): Likewise.
1941 (syms_of_chartab): Don't define `save-char-attribute-table',
1942 `mount-char-attribute-table', `reset-char-attribute-table',
1943 `close-char-attribute-table' and `load-char-attribute-table' if
1944 external-DB feature is not available.
1945 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1947 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1949 * text-coding.c (Qcomposition): Add extern if external-DB feature
1951 (Vcharacter_composition_table): Don't add extern if external-DB
1952 feature is supported.
1953 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1954 character composition rule if external-DB feature is supported.
1956 * chartab.c (Vcharacter_composition_table): Don't define if
1957 external-DB feature is supported.
1958 (Qcomposition): New variable.
1959 (Fget_composite_char): New implementation for external-DB support.
1960 (Fput_char_attribute): Use `composition' property of each
1961 character instead of `Vcharacter_composition_table' to store
1962 character-composition rules if external-DB feature is supported.
1963 (syms_of_chartab): Add new symbol `composition'.
1964 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1965 external-DB feature is supported.
1967 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1969 * chartab.c (Vchar_db_stingy_mode): New variable.
1970 (load_char_attribute_maybe): Close database if
1971 Vchar_db_stingy_mode is not NIL.
1972 (Fload_char_attribute_table_map_function): Use
1973 `get_char_id_table_0' instead of `get_char_id_table'.
1974 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1976 * chartab.h (get_char_id_table_0): New inline function.
1977 (get_char_id_table): Use `get_char_id_table_0'.
1979 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1981 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1982 and `COMPOSE_ADD_CHAR'.
1983 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1985 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1987 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1988 instead of `DECODE_ADD_UCS_CHAR'.
1989 (COMPOSE_ADD_CHAR): Likewise.
1991 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1993 * text-coding.c (decode_flush_er_chars): New inline function.
1994 (decode_add_er_char): New function.
1995 (decode_coding_utf8): Use `decode_flush_er_chars' and
1996 `decode_add_er_char'.
1998 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2000 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2001 done before `decode_output_utf8_partial_char'.
2003 * mule-charset.c (complex_vars_of_mule_charset): Specify
2004 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2005 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2007 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2009 * mule-charset.c (decode_defined_char): New function; search
2011 (decode_builtin_char): Don't search mother if
2012 XCHARSET_MAX_CODE(charset) == 0.
2013 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2014 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2015 (Fdecode_char): Use `decode_defined_char' instead of
2016 `DECODE_DEFINED_CHAR'.
2017 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2018 mother of `Vcharset_ucs_jis'.
2020 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2021 instead of `DECODE_DEFINED_CHAR'.
2023 * char-ucs.h (decode_defined_char): Renamed from
2024 `DECODE_DEFINED_CHAR'; changed to normal function.
2025 (DECODE_CHAR): Use `decode_defined_char' instead of
2026 `DECODE_DEFINED_CHAR'.
2028 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2030 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2032 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2034 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2036 (Quse_entity_reference): New variable.
2040 (coding_system_description): Add description for
2041 `ccs_priority_list'.
2042 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2043 (allocate_coding_system): Initialize `ccs_priority_list' in
2045 (Fmake_coding_system): Add description about
2046 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2048 (Fcoding_system_property): Accept `disable-composition' and
2049 `use-entity-reference' in UTF-2000.
2050 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2052 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2053 (decode_coding_utf8): Decode entity-reference if
2054 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2055 (char_encode_utf8): Encode non-Unicode characters as
2056 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2058 (syms_of_file_coding): Add new symbols `use-entity-reference',
2060 (vars_of_file_coding): Add new variable
2061 `coded-charset-entity-reference-alist'.
2062 (complex_vars_of_file_coding): Declare `disable-composition' and
2063 `use-entity-reference' to be coding-system-properties in UTF-2000.
2065 * file-coding.h (struct Lisp_Coding_System): Add new member
2066 `use_entity_reference' and `ccs_priority_list'.
2067 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2068 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2069 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2071 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2073 * chartab.c (save_uint8_byte_table): Don't clear the table.
2074 (save_uint16_byte_table): Likewise.
2075 (save_byte_table): Likewise.
2076 (Fmount_char_attribute_table): New function.
2077 (syms_of_chartab): Add new builtin function
2078 `mount-char-attribute-table'.
2080 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2082 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2084 (load_char_decoding_entry_maybe): Open database as read-only mode.
2086 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2087 open database as "w+" mode.
2088 (load_char_attribute_maybe): Open database as read-only mode.
2089 (Fload_char_attribute_table): Likewise.
2091 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2093 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2094 (char_table_description): Delete member `db_file'.
2095 (Fmake_char_table): Don't refer `ct->db_file'.
2096 (Fcopy_char_table): Likewise.
2097 (Fsave_char_attribute_table): Likewise.
2098 (Fclose_char_attribute_table): Likewise.
2099 (Freset_char_attribute_table): Likewise.
2100 (load_char_attribute_maybe): Likewise.
2101 (Fload_char_attribute_table): Likewise.
2103 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2105 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2107 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2108 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2110 (load_char_attribute_maybe): Likewise.
2111 (Fload_char_attribute_table): Likewise.
2113 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2115 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2116 `ct->db_file' unconditionally.
2118 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2120 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2122 (char_table_description): Add description for `db_file' and `db'
2124 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2126 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2127 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2128 (Fclose_char_attribute_table): New function.
2129 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2130 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2132 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2133 (syms_of_chartab): Add new builtin function
2134 `Fclose_char_attribute_table'.
2136 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2138 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2140 (load_char_attribute_maybe): Change interface.
2141 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2143 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2145 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2147 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2149 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2150 instead of `DECODE_CHAR' for mother; don't use special code for
2151 chinese-big5 to use code space of chinese-big5-1 and
2153 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2154 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2156 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2157 (MAX_CHAR_BIG5_CDP): Revival.
2159 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2161 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2162 the XLFD registry-encoding name of `chinese-big5'.
2164 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2166 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2167 (Qchinese_big5_cdp): Deleted.
2168 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2169 (complex_vars_of_mule_charset): Delete coded-charset
2172 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2173 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2174 `CHARSET_ID_OFFSET - n' for private CCS.
2175 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2176 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2177 of `MIN_LEADING_BYTE'.
2178 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2179 `(CHARSET_ID_OFFSET - 97)'.
2180 (MIN_CHAR_BIG5_CDP): Deleted.
2181 (MAX_CHAR_BIG5_CDP): Deleted.
2183 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2185 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2187 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2189 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2190 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2193 * chartab.c (Vutf_2000_version): Moved to mule.c.
2194 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2196 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2198 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2199 when HAVE_CHISE_CLIENT is not defined.
2201 * mule.c (vars_of_mule): Provide feature `chise' when
2202 HAVE_CHISE_CLIENT is defined.
2204 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2206 * config.h.in (UTF2000): Add comment.
2207 (HAVE_CHISE_CLIENT): New macro.
2209 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2211 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2213 (Fput_char_attribute): Likewise.
2214 (char_attribute_system_db_file): Encode file-name of attribute.
2215 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2218 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2220 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2221 (Fsave_charset_mapping_table): Use
2222 `char_attribute_system_db_file'.
2223 (load_char_decoding_entry_maybe): Likewise.
2225 * chartab.h (Qsystem_char_id): New external variable.
2226 (char_attribute_system_db_file): New prototype.
2228 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2229 (char_attribute_system_db_file): New function.
2230 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2231 (Freset_char_attribute_table): Likewise.
2232 (load_char_attribute_maybe): Likewise.
2233 (Fload_char_attribute_table): Likewise.
2234 (syms_of_chartab): Add new symbol `system-char-id'.
2236 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2238 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2239 `XCHARSET_GRAPHIC(ccs)'.
2241 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2243 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2245 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2247 * chartab.c (Q_ucs_variants): New variable.
2248 (syms_of_chartab): Add new symbol `->ucs-variants'.
2249 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2250 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2251 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2253 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2255 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2256 `HAVE_DATABASE' is defined.
2257 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2258 `HAVE_DATABASE' is defined.
2260 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2262 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2264 (Freset_char_attribute_table): New function.
2265 (syms_of_chartab): Add new builtin function
2266 `reset-char-attribute-table'.
2268 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2270 * chartab.c (load_char_attribute_maybe): Don't make directories.
2272 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2274 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2276 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2279 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2281 * mule-charset.c (Fsave_charset_mapping_table): Use
2282 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2284 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2285 instead of `XCHARSET_CHARS'.
2287 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2289 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2290 (XCHARSET_BYTE_SIZE): Likewise.
2292 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2294 (XCHARSET_BYTE_SIZE): Likewise.
2296 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2298 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2299 data-directory to store database.
2300 (Fsave_char_attribute_table): Likewise.
2301 (load_char_attribute_maybe): Likewise.
2302 (Fload_char_attribute_table): Likewise.
2304 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2306 * mule-charset.c (Fsave_charset_mapping_table): New function.
2307 (syms_of_mule_charset): Add new builtin function
2308 `save-charset-mapping-table'.
2310 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2312 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2313 (get_ccs_octet_table): New inline function.
2314 (put_ccs_octet_table): Likewise.
2315 (decoding_table_put_char): Use `get_ccs_octet_table' and
2316 `put_ccs_octet_table'.
2317 (decoding_table_remove_char): Use `decoding_table_put_char'.
2318 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2320 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2321 into encoding_table.
2322 (make_charset): Use Qunbound instead Qnil as initial value of
2325 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2327 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2328 element is Qunloaded.
2329 (map_over_uint16_byte_table): Likewise.
2330 (map_over_byte_table): Likewise.
2331 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2332 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2333 database support, load encoding-table of the specified
2334 coded-charset if it is not loaded yet.
2335 (save_uint8_byte_table): New function of UTF-2000 with external
2337 (save_uint16_byte_table): Likewise.
2338 (save_byte_table): Likewise.
2339 (Fput_char_attribute): Don't store value into external database
2340 even if the external database feature is supported in UTF-2000;
2341 set `attribute' as name of char-table if the external database
2342 feature is supported.
2343 (Fsave_char_attribute_table): New function in UTF-2000.
2344 (syms_of_chartab): Add new builtin function
2345 `save-char-attribute-table' in UTF-2000.
2347 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2349 * chartab.c (char_attribute_table_to_put): New variable in
2351 (Qput_char_table_map_function): Likewise.
2352 (value_to_put): Likewise.
2353 (Fput_char_table_map_function): New function in UTF-2000.
2354 (put_char_table): Use `Fmap_char_attribute' for
2355 CHARTAB_RANGE_CHARSET in UTF-2000.
2356 (Fput_char_attribute): Store symbol instead of string in
2357 `XCHAR_TABLE_NAME (table)'.
2358 (load_char_attribute_maybe): Likewise.
2359 (syms_of_chartab): Add new symbol/function
2360 `put-char-table-map-function'.
2362 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2364 * database.h: Add new EXFUN for `Fmap_database'.
2366 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2367 (syms_of_database): Likewise.
2369 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2371 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2372 (XCHAR_TABLE_UNLOADED): Likewise.
2374 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2375 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2376 HAVE_DATABASE is defined.
2377 (char_attribute_table_to_load): New variable of UTF-2000 with
2378 external database support.
2379 (Qload_char_attribute_table_map_function): Likewise.
2380 (Fload_char_attribute_table_map_function): New function of
2381 UTF-2000 with external database support.
2382 (Fload_char_attribute_table): New function of UTF-2000.
2383 (Fmap_char_attribute): Call Fload_char_attribute_table if
2384 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2385 (syms_of_chartab): Add new symbol and function
2386 `load-char-attribute-table-map-function' in UTF-2000 with external
2387 database support; add new function `load-char-attribute-table' in
2390 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2392 * chartab.h (load_char_attribute_maybe): New prototype for
2393 UTF-2000 with DATABASE support.
2394 (get_char_id_table): Use `load_char_attribute_maybe' if
2395 HAVE_DATABASE is defined.
2397 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2398 with DATABASE support.
2400 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * chartab.c (Fput_char_attribute): Use S-expression as key of
2405 * chartab.h (get_char_id_table): Use S-expression as key of
2408 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2410 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2411 if an element is not loaded, load the corresponding attributes
2412 from an external database.
2413 (map_over_uint16_byte_table): Likewise.
2414 (map_over_byte_table): Likewise.
2415 (map_char_table): Modify for `map_over_uint8_byte_table',
2416 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2417 element is not loaded, load the corresponding attributes from an
2419 (Fput_char_attribute): Change initial values to Qunloaded.
2421 * chartab.h (get_char_id_table): If a character attribute is not
2422 loaded and the attribute value is not found in an external
2423 database, store Qunbound as the attribute value.
2425 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2427 * chartab.c (BT_UINT8_unloaded): New macro.
2428 (UINT8_VALUE_P): Accept Qunloaded.
2429 (UINT8_ENCODE): Likewise.
2430 (UINT8_DECODE): Likewise.
2431 (BT_UINT16_unloaded): New macro.
2432 (UINT16_VALUE_P): Accept Qunloaded.
2433 (UINT16_ENCODE): Likewise.
2434 (UINT16_DECODE): Likewise.
2435 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2437 (mark_char_table): Mark `ct->name' in UTF-2000.
2438 (char_table_description): Add `name' in UTF-2000.
2439 (Fmake_char_table): Initialize `ct->name'.
2440 (Fcopy_char_table): Copy `ct->name'.
2441 (Fput_char_attribute): Store value into an external database if
2442 HAVE_DATABASE is defined.
2444 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2446 (CHAR_TABLE_NAME): New macro in UTF-2000.
2447 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2448 (get_char_id_table): Try to read an external database if Qunloaded
2449 is stored in a table.
2451 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2454 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2456 * database.h: Add EXFUN definitions for Fopen_database,
2457 Fput_database, Fget_database and Fclose_database.
2459 * data.c (Qunloaded): New variable in UTF-2000.
2461 * lisp.h (Qunloaded): New variable in UTF-2000.
2463 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2465 * mule-charset.c (put_char_ccs_code_point): Modify for
2466 `decoding_table_remove_char' and `decoding_table_put_char'.
2467 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2469 * char-ucs.h (decoding_table_remove_char): Change arguments to
2470 hide decoding_table vector.
2471 (decoding_table_put_char): Likewise.
2473 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * mule-charset.c (decoding_table_remove_char): Moved to
2477 (decoding_table_put_char): Likewise.
2479 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2480 from mule-charset.c].
2481 (decoding_table_remove_char): New inline function [moved from
2483 (decoding_table_put_char): Likewise.
2485 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2487 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2490 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2492 * mule-charset.c (decode_builtin_char): Support mother charsets.
2494 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2496 * mule-charset.c (Q94x94x60): New variable.
2497 (charset_code_point): Support conversion `94x94x60'.
2498 (Fmake_charset): Likewise.
2499 (syms_of_mule_charset): Add new symbol `94x94x60'.
2501 * char-ucs.h (CONVERSION_94x94x60): New macro.
2503 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2505 * mule-charset.c (charset_code_point): Unify code about
2508 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2510 * mule-charset.c (charset_code_point): Merge code about builtin
2511 characters into code about mother charsets; don't use
2512 `range_charset_code_point'.
2513 (range_charset_code_point): Deleted.
2515 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2517 * mule-charset.c (Qcode_offset): New variable.
2518 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2519 `max-code'; accept new property `code-offset'.
2520 (syms_of_mule_charset): Add new symbol `code-offset'.
2522 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2524 * mule-charset.c (range_charset_code_point): Fixed.
2526 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2528 * mule-charset.c (decode_builtin_char): Change semantics of
2529 code-offset of coded-charset.
2530 (charset_code_point): Likewise.
2531 (range_charset_code_point): Likewise.
2532 (complex_vars_of_mule_charset): Modify for the change.
2534 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2536 * mule-charset.c (Fencode_char): Reverse arguments.
2538 * mule-charset.c (charset_code_point): Fixed.
2540 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2542 * mule-charset.c (Vcharset_mojikyo): Deleted.
2543 (Vcharset_mojikyo_2022_1): Deleted.
2544 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2545 (Qmin_code): New variable in UTF-2000.
2546 (Qmax_code): Likewise.
2547 (Qmother): Likewise.
2548 (Qconversion): Likewise.
2550 (Qmojikyo): Deleted.
2551 (Qmojikyo_2022_1): Deleted.
2552 (Qmojikyo_pj_{1..22}): Deleted.
2553 (mark_charset): Mark `cs->mother'.
2554 (charset_description): Add description for `mother'.
2555 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2556 new arguments `mother' and `conversion'; use
2557 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2558 (charset_code_point): Moved from char-ucs.h; support `mother'
2560 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2561 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2562 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2563 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2564 allow 2 as the value of `graphic' in UTF-2000; add new properties
2565 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2566 require `final' in UTF-2000; modify for `make_charset'.
2567 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2568 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2569 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2570 (Fencode_char): New function.
2571 (syms_of_mule_charset): Add new builtin function `encode-char' in
2572 UTF-2000; add new symbols `min-code', `max-code', `mother',
2573 `conversion' and `94x60'; delete symbols `mojikyo',
2574 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2575 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2576 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2577 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2579 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2580 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2582 * char-ucs.h (Vcharset_mojikyo): Deleted.
2583 (Vcharset_mojikyo_2022_1): Deleted.
2584 (LEADING_BYTE_MOJIKYO): Deleted.
2585 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2586 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2587 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2588 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2589 add new member `mother'; add new member `conversion'.
2590 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2591 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2592 (CHARSET_MOTHER): New macro.
2593 (CHARSET_CONVERSION): New macro.
2594 (CONVERSION_IDENTICAL): New macro.
2595 (CONVERSION_94x60): New macro.
2596 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2597 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2598 (XCHARSET_MOTHER): New macro.
2599 (XCHARSET_CONVERSION): New macro.
2600 (MIN_CHAR_MOJIKYO): Deleted.
2601 (MAX_CHAR_MOJIKYO): Deleted.
2602 (DECODE_MOJIKYO_2022): Deleted.
2603 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2604 (charset_code_point): Changed to non-inline function.
2605 (encode_char_1): Use `charset_code_point'.
2606 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2608 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2610 * lread.c (read_compiled_function): Fix prototype.
2611 (read_vector): Likewise.
2613 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2615 * lrecord.h (struct lrecord_header): Delete `older'.
2616 (set_lheader_implementation): Delete code for `older'.
2617 (set_lheader_older_implementation): Deleted.
2618 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2619 (OLDER_RECORD_P): Deleted.
2620 (OLDER_RECORD_HEADER_P): Deleted.
2621 (alloc_older_lcrecord): Deleted.
2622 (alloc_older_lcrecord_type): Deleted.
2624 * alloc.c (all_older_lcrecords): Deleted.
2625 (alloc_older_lcrecord): Deleted.
2626 (disksave_object_finalization_1): Delete code for older objects.
2627 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2628 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2630 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2633 instead of `make_older_vector'.
2634 (put_char_ccs_code_point): Likewise.
2635 (mark_charset): Mark `cs->decoding_table'.
2636 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2638 * lisp.h (make_older_vector): Deleted.
2639 (make_vector_newer): Deleted.
2641 * config.h.in (HAVE_GGC): Deleted.
2643 * alloc.c (make_older_vector): Deleted.
2644 (make_vector_newer_1): Deleted.
2645 (make_vector_newer): Deleted.
2647 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2649 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2650 (Qideograph_daikanwa_2): New variable.
2651 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2652 (complex_vars_of_mule_charset): Add new coded-charset
2653 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2654 `LEADING_BYTE_DAIKANWA'.
2656 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2657 (LEADING_BYTE_DAIKANWA_1): New macro.
2658 (LEADING_BYTE_DAIKANWA_2): New macro.
2659 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2661 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2663 * mule-charset.c (complex_vars_of_mule_charset): Change
2664 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2665 the second revised version.
2667 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2669 * mule-charset.c (Vcharset_ucs_smp): New variable.
2670 (Vcharset_ucs_sip): New variable.
2671 (Qucs_smp): New variable.
2672 (Qucs_sip): New variable.
2673 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2674 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2675 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2676 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2677 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2678 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2680 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2681 (LEADING_BYTE_UCS_SIP): New macro.
2682 (MIN_CHAR_SMP): New macro.
2683 (MAX_CHAR_SMP): New macro.
2684 (MIN_CHAR_SIP): New macro.
2685 (MAX_CHAR_SIP): New macro.
2687 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2689 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2692 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2694 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2695 value; don't store value into `encoding_table' of `Lisp_Charset'.
2696 (mark_charset): `encoding_table' was deleted.
2697 (charset_description): Likewise.
2698 (make_charset): Likewise.
2699 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2700 `put_char_ccs_code_point'.
2702 * chartab.h (Fput_char_attribute): New EXFUN.
2704 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2705 is unified with normal symbol space.
2706 (Fget_char_attribute): Likewise.
2707 (Fput_char_attribute): Likewise; behavior of
2708 `put_char_ccs_code_point' is changed.
2710 * char-ucs.h: Include "elhash.h".
2711 (Vchar_attribute_hash_table): New external variable.
2712 (struct Lisp_Charset): Delete `encoding_table'.
2713 (CHARSET_ENCODING_TABLE): New implementation; refer
2714 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2717 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2719 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2722 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2727 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * chartab.c (uint8_byte_table_description): New constant.
2730 (uint8-byte-table): Use `uint8_byte_table_description'.
2731 (uint16_byte_table_description): New constant.
2732 (uint16-byte-table): Use `uint16_byte_table_description'.
2734 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2737 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2739 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * mule-charset.c (Vcharset_ucs_ks): New variable.
2742 (Qucs_ks): New variable.
2743 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2744 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2746 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2748 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2750 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2751 (Fdecode_char): Likewise.
2753 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2755 (Fdefine_char): Modify for Fdecode_char.
2756 (Ffind_char): Likewise.
2758 * mule-charset.c (Fdecode_char): Add new optional argument
2760 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2762 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2764 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2765 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2766 (allocate_coding_system): Initialize initial-charsets of
2767 CODESYS_BIG5 in XEmacs UTF-2000.
2768 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2769 CODESYS_BIG5 in XEmacs UTF-2000.
2770 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2771 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2773 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2775 (Qideograph_hanziku_{1 .. 12}): Likewise.
2776 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2778 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2779 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2780 `ideograph-hanziku-{1 .. 12}'.
2782 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2783 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2784 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2785 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2786 (DECODE_DEFINED_CHAR): New inline function.
2787 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2789 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2791 * mule-charset.c (Vcharset_china3_jef): Renamed from
2792 `Vcharset_japanese_jef_china3'.
2793 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2794 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2795 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2796 (syms_of_mule_charset): Rename `china3-jef' from
2797 `japanese-jef-china3'.
2798 (complex_vars_of_mule_charset): Likewise; rename
2799 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2801 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2802 `LEADING_BYTE_JEF_CHINA3'.
2803 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2804 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2806 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2808 * mule-charset.c (encode_builtin_char_1): Comment out special code
2809 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2811 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2812 (MAX_CHAR_MOJIKYO_0): Comment out.
2813 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2814 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2815 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2816 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2818 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2821 (Qideograph_cbeta): New variable.
2822 (encode_builtin_char_1): Comment out special code for
2823 coded-charset `mojikyo' and `japanese-jef-china3'.
2824 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2825 (complex_vars_of_mule_charset): Add new coded-charset
2828 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2829 (MIN_CHAR_CBETA): New macro.
2830 (MAX_CHAR_CBETA): New macro.
2832 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2834 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2835 (LEADING_BYTE_JEF_CHINA3): New macro.
2836 (MIN_CHAR_JEF_CHINA3): New macro.
2837 (MAX_CHAR_JEF_CHINA3): Likewise.
2838 (DECODE_CHAR): Fixed.
2840 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2842 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2843 (Qjapanese_jef_china3): New variable.
2844 (encode_builtin_char_1): Support `japanese-jef-china3'.
2845 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2846 (complex_vars_of_mule_charset): Add new coded-charset
2847 `japanese-jef-china3'.
2849 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2851 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2852 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2853 94^4, 96^3, 96^4, 128^n and 256^n set.
2854 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2855 (map_char_table): Likewise.
2857 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2862 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * chartab.h (get_char_id_table): New inline function.
2866 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2869 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2871 * chartab.h (decode_char_table_range): New prototype in XEmacs
2873 (put_char_id_table): New inline function in XEmacs UTF-2000.
2875 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2877 (decode_char_table_range): Delete static declaration in XEmacs
2880 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2882 * chartab.c (put_char_id_table): Use `put_char_table'.
2884 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2886 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2887 (map_over_uint16_byte_table): Likewise.
2888 (map_over_byte_table): Likewise.
2889 (map_char_table): Modify for `map_over_uint8_byte_table',
2890 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2893 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2895 * chartab.c (struct map_char_table_for_charset_arg): New
2897 (map_char_table_for_charset_fun): New function.
2898 (map_char_table): Use `map_char_table' for encoding_table of
2901 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2903 * chartab.c (map_char_table): Check a character is found in
2904 range->charset instead of non default value is defined in
2905 char-table when range is CHARTAB_RANGE_ROW.
2907 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2909 * chartab.c (map_char_id_table): Deleted.
2910 (Fmap_char_attribute): Use `map_char_table' instead of
2911 `map_char_id_table'.
2913 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2915 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2917 (update_syntax_table): Deleted in XEmacs UTF-2000.
2919 * syntax.c (find_defun_start): Use `syntax_table' instead of
2920 `mirror_syntax_table' in XEmacs UTF-2000.
2921 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2923 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2925 (Fmatching_paren): Likewise.
2926 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2928 (find_start_of_comment): Likewise.
2929 (find_end_of_comment): Likewise.
2930 (Fforward_comment): Likewise.
2931 (scan_lists): Likewise.
2932 (char_quoted): Likewise.
2933 (Fbackward_prefix_chars): Likewise.
2934 (scan_sexps_forward): Likewise.
2935 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2936 (update_syntax_table): Likewise.
2938 * search.c (skip_chars): Use `syntax_table' instead of
2939 `mirror_syntax_table' in XEmacs UTF-2000.
2940 (wordify): Likewise.
2941 (Freplace_match): Likewise.
2943 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2944 `mirror_syntax_table' in XEmacs UTF-2000.
2945 (WORDCHAR_P_UNSAFE): Likewise.
2946 (re_match_2_internal): Likewise.
2948 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2949 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2951 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2952 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2954 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2957 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2959 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2960 (char_table_description): Delete `mirror_table' in XEmacs
2962 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2964 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2965 (Fcopy_char_table): Likewise.
2966 (put_char_table): Don't call `update_syntax_table' in XEmacs
2969 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2970 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2971 (casify_region_internal): Likewise.
2973 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2975 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2976 `mirror_syntax_table' in XEmacs UTF-2000.
2978 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2979 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2980 (Fexpand_abbrev): Likewise.
2982 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2984 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2986 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2988 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2989 (map_over_uint16_byte_table): Likewise.
2990 (map_over_byte_table): Likewise.
2991 (get_char_id_table): Refer `cit->default_value'.
2992 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2993 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2994 of character-id ranges.
2995 (mark_char_table): Mark `ct->default_value'.
2996 (char_table_description): Add `default_value'.
2997 (fill_char_table): Use `default_value'.
2998 (decode_char_table_range): Decode `nil' as
2999 `CHARTAB_RANGE_DEFAULT'.
3000 (get_char_id_table): Refer `cit->default_value'.
3001 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3002 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3003 temporary hack; check value of char-table is bound or not.
3004 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3006 * chartab.h (struct Lisp_Char_Table): Add new member
3007 `default_value' in XEmacs UTF-2000.
3008 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3009 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3012 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3014 * chartab.h (Lisp_Char_ID_Table): Deleted.
3016 * chartab.c (char_table_description): Fix typo.
3017 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3018 `Lisp_Char_ID_Table'.
3020 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3022 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3025 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3028 * chartab.h (XCHAR_ID_TABLE): Deleted.
3029 (XSETCHAR_ID_TABLE): Deleted.
3030 (CHAR_ID_TABLE_P): Deleted.
3032 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3034 (Fget_composite_char): Likewise.
3035 (put_char_table): Likewise.
3036 (add_char_attribute_alist_mapper): Fixed.
3037 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3039 (Fget_char_attribute): Likewise.
3040 (Fget_char_attribute): Likewise.
3041 (Fmap_char_attribute): Likewise.
3043 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3045 (encode_char_1): Likewise.
3047 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3049 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3052 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3053 instead of `XCHAR_ID_TABLE'.
3054 (remove_char_ccs): Likewise.
3056 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3058 (Fget_composite_char): Likewise.
3059 (Fchar_variants): Likewise.
3060 (put_char_table): Likewise.
3061 (add_char_attribute_alist_mapper): Likewise.
3062 (Fchar_attribute_alist): Likewise.
3063 (Fget_char_attribute): Likewise.
3064 (Fput_char_attribute): Likewise.
3065 (Fmap_char_attribute): Likewise.
3066 (Fmap_char_attribute): Likewise.
3068 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3070 (encode_char_1): Likewise.
3072 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3074 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3075 `Lisp_Char_ID_Table'.
3076 (mark_char_id_table): Deleted.
3077 (print_char_id_table): Likewise.
3078 (char_id_table_equal): Likewise.
3079 (char_id_table_hash): Likewise.
3080 (char_id_table_description): Likewise.
3081 (char_id_table): Likewise.
3082 (make_char_id_table): Use `Fmake_char_table' and
3084 (get_char_id_table): Use `Lisp_Char_Table' instead of
3085 `Lisp_Char_ID_Table'.
3086 (put_char_id_table): Likewise.
3087 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3089 (Fremove_char_attribute): Likewise.
3090 (syms_of_chartab): Don't define type `char-id-table'.
3092 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3093 (char_id_table): Likewise.
3094 (GC_CHAR_ID_TABLE_P): Likewise.
3095 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3096 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3097 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3098 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3099 (get_char_id_table): Use `Lisp_Char_Table' instead of
3100 `Lisp_Char_ID_Table'.
3101 (put_char_id_table_0): Likewise.
3102 (put_char_id_table): Likewise.
3104 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3106 * chartab.h: Lisp_Byte_Table related codes are moved from
3109 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3111 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3113 * chartab.h: Don't include "chartab.h".
3114 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3115 (Lisp_Char_ID_Table): Likewise.
3116 (char_id_table): Likewise.
3117 (XCHAR_ID_TABLE): Likewise.
3118 (XSETCHAR_ID_TABLE): Likewise.
3119 (CHAR_ID_TABLE_P): Likewise.
3120 (GC_CHAR_ID_TABLE_P): Likewise.
3121 (get_char_id_table): Likewise.
3123 * char-ucs.h: Include "chartab.h".
3124 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3125 (Lisp_Char_ID_Table): Likewise.
3126 (char_id_table): Likewise.
3127 (XCHAR_ID_TABLE): Likewise.
3128 (XSETCHAR_ID_TABLE): Likewise.
3129 (CHAR_ID_TABLE_P): Likewise.
3130 (GC_CHAR_ID_TABLE_P): Likewise.
3131 (get_char_id_table): Likewise.
3133 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3135 * chartab.c (copy_uint8_byte_table): New function.
3136 (copy_uint16_byte_table): New function.
3137 (copy_byte_table): New function.
3138 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3140 (map_over_uint16_byte_table): Likewise.
3141 (map_over_byte_table): Likewise.
3142 (get_byte_table): Move prototype to chartab.h.
3143 (put_byte_table): Likewise.
3144 (put_char_id_table_0): Moved to chartab.h.
3145 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3146 (char_table_entry_equal): Likewise.
3147 (char_table_entry_hash): Likewise.
3148 (char_table_entry_description): Likewise.
3149 (char_table_entry): Likewise.
3150 (make_char_table_entry): Likewise.
3151 (copy_char_table_entry): Likewise.
3152 (get_non_ascii_char_table_value): Likewise.
3153 (map_over_charset_ascii): Likewise.
3154 (map_over_charset_control_1): Likewise.
3155 (map_over_charset_row): Likewise.
3156 (map_over_other_charset): Likewise.
3157 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3158 (print_char_table): Likewise.
3159 (char_table_equal): Likewise.
3160 (char_table_hash): Likewise.
3161 (char_table_description): Likewise.
3162 (fill_char_table): Likewise.
3163 (Fcopy_char_table): Likewise.
3164 (get_char_table): Likewise.
3165 (Fget_range_char_table): Likewise.
3166 (put_char_table): Likewise.
3167 (map_char_table): Likewise.
3168 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3171 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3173 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3174 `Vauto_fill_chars' in XEmacs UTF-2000.
3176 * chartab.h (get_byte_table): New prototype [moved from
3178 (put_byte_table): Likewise [moved from chartab.c].
3179 (put_char_id_table_0): New inline function [moved from chartab.c].
3180 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3181 (Lisp_Char_Table_Entry): Likewise.
3182 (char_table_entry): Likewise.
3183 (XCHAR_TABLE_ENTRY): Likewise.
3184 (XSETCHAR_TABLE_ENTRY): Likewise.
3185 (CHAR_TABLE_ENTRYP): Likewise.
3186 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3187 (NUM_ASCII_CHARS): Likewise.
3188 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3189 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3191 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3193 * chartab.c (get_char_id_table): Change interface.
3194 (put_char_id_table_0): New function.
3195 (put_char_id_table): Change interface; new implementation.
3196 (Fget_composite_char): Modify for interface change of
3197 `get_char_id_table'.
3198 (Fchar_variants): Likewise.
3199 (add_char_attribute_alist_mapper): Likewise.
3200 (Fchar_attribute_alist): Likewise.
3201 (Fget_char_attribute): Likewise.
3202 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3203 as same as character as the first argument like `put-char-table';
3204 modify for interface change of `put_char_id_table'.
3205 (Fremove_char_attribute): Modify for interface change of
3206 `put_char_id_table'.
3208 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * text-coding.c: Sync up with XEmacs 21.2.41.
3211 (COMPOSE_ADD_CHAR): Modify for interface change of
3212 `get_char_id_table'.
3214 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3215 change of `put_char_id_table'.
3216 (remove_char_ccs): Likewise.
3218 * chartab.h (put_char_id_table): Change interface.
3220 * char-ucs.h (get_char_id_table): Change interface.
3221 (charset_code_point): Modify for interface change of
3222 `get_char_id_table'.
3223 (encode_char_1): Likewise.
3225 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3227 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3229 (map_over_uint16_byte_table): Likewise.
3230 (map_over_byte_table): Likewise.
3231 (map_char_id_table): Add new argument `range' like
3233 (Fmap_char_attribute): Add new argument `range' like
3236 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3238 * chartab.c (map_over_uint8_byte_table): Change interface of
3239 mapping function to use struct chartab_range instead of Emchar.
3240 (map_over_uint16_byte_table): Likewise.
3241 (map_over_byte_table): Likewise.
3242 (map_char_id_table): Likewise.
3243 (struct slow_map_char_id_table_arg): Deleted.
3244 (slow_map_char_id_table_fun): Deleted.
3245 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3246 function `slow_map_char_table_fun' instead of struct
3247 `slow_map_char_id_table_arg' and function
3248 `slow_map_char_id_table_fun'.
3250 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * mule-charset.c: Move char-it-table related codes to chartab.c.
3253 (Vutf_2000_version): Moved to chartab.c.
3254 (Fdefine_char): Likewise.
3255 (Ffind_char): Likewise.
3256 (syms_of_mule_charset): Move types `uint8-byte-table',
3257 `uint16-byte-table', `byte-table' and `char-id-table' to
3258 chartab.c; move functions `char_attribute_list,
3259 `find_char_attribute_table, `char_attribute_alist,
3260 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3261 `map_char_attribute, `define_char, `find_char, `char_variants and
3262 `get_composite_char to chartab.c; move symbols `=>ucs',
3263 `->decomposition', `compat', `isolated', `initial', `medial',
3264 `final', `vertical', `noBreak', `fraction', `super', `sub',
3265 `circle', `square', `wide', `narrow', `small' and `font' to
3267 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3268 setting codes for `Vcharacter_composition_table' and
3269 `Vcharacter_variant_table' to chartab.c.
3270 (complex_vars_of_mule_charset): Move setting code for
3271 `Vchar_attribute_hash_table' to chartab.c.
3273 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3274 (make_char_id_table): New prototype.
3275 (put_char_id_table): Likewise.
3276 (Fget_char_attribute): Likewise.
3278 * chartab.c: Move char-id-table related code from mule-charset.c.
3279 (Vutf_2000_version): Moved from mule-charset.c.
3281 * char-ucs.h (Qucs): New external variable.
3282 (put_char_ccs_code_point): New prototype.
3283 (remove_char_ccs): Likewise.
3285 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3287 * mule-charset.c (Vcharset_ucs_jis): New variable.
3288 (Qucs_jis): Likewise.
3289 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3290 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3292 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3294 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3296 * mule-charset.c (map_over_uint8_byte_table): New function.
3297 (map_over_uint16_byte_table): Likewise.
3298 (map_over_byte_table): Likewise.
3299 (map_char_id_table): Likewise.
3300 (slow_map_char_id_table_fun): Likewise.
3301 (Fmap_char_attribute): Likewise.
3302 (syms_of_mule_charset): Add new function `map-char-attribute'.
3304 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3306 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3307 (syms_of_mule_charset): Add new function `find-char'.
3309 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3311 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3313 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3314 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3316 (complex_vars_of_mule_charset): Add new coded-charset
3317 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3318 `ideograph-gt-pj-*'.
3320 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3322 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3324 * mule-charset.c (encode_builtin_char_1): Purge codes about
3325 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3326 {MIN|MAX}_CHAR_HEBREW.
3327 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3328 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3330 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3331 (MAX_CHAR_GREEK): Purged.
3332 (MIN_CHAR_CYRILLIC): Purged.
3333 (MAX_CHAR_CYRILLIC): Purged.
3334 (MIN_CHAR_HEBREW): Commented out.
3335 (MAX_CHAR_HEBREW): Likewise.
3337 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3339 * mule-charset.c (Qto_ucs): New variable.
3340 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3341 (Fdefine_char): Likewise.
3342 (syms_of_mule_charset): Add new symbol `=>ucs'.
3344 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3346 * mule-charset.c (Fdecode_char): Fixed.
3348 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3350 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3351 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3354 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3356 * mule-charset.c (Vcharset_ucs_big5): New variable.
3357 (Qucs_big5): Likewise.
3358 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3359 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3361 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3363 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3365 * mule-charset.c (decode_builtin_char): Check Big5 code range
3366 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3368 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3370 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3371 (Qchinese_gb12345): Likewise.
3372 (Fdecode_builtin_char): Fixed.
3373 (syms_of_mule_charset): Add `chinese-gb12345'.
3374 (complex_vars_of_mule_charset): Add coded-charset
3377 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3378 (LEADING_BYTE_CHINESE_GB12345): New macro.
3380 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3382 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3383 and `latin-viscii-upper' for `latin-viscii'.
3385 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3387 * mule-charset.c (Fdecode_builtin_char): Comment out
3388 regularization code for ISO-IR GR representation.
3390 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3392 * mule-charset.c (decode_builtin_char): New function; renamed from
3393 `make_builtin_char'; return -1 instead of signal.
3394 (Fdecode_builtin_char): Use `decode_builtin_char'.
3396 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3397 `make_builtin_char'.
3398 (DECODE_CHAR): Use `decode_builtin_char' instead of
3399 `make_builtin_char'; use mapping table of `chinese-big5' for
3400 `chinese-big5-{1,2}'.
3402 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3404 * text-coding.c (char_encode_big5): New function.
3405 (char_finish_big5): Likewise.
3406 (reset_encoding_stream): Use `char_encode_big5' and
3407 `char_finish_big5' for CODESYS_BIG5.
3408 (mule_encode): Don't use `encode_coding_big5'.
3409 (encode_coding_big5): Deleted.
3411 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3413 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3414 0x81- in XEmacs UTF-2000.
3415 (detect_coding_big5): Likewise.
3417 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3419 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3420 generate character-id if the CCS property does not have
3421 corresponding predefined character.
3422 (make_builtin_char): Return -1 if corresponding predefined
3423 character is not found.
3424 (Fdecode_char): Return nil if corresponding character is not
3426 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3427 don't map to builtin ucs space.
3429 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3431 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3432 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3434 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3436 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3437 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3438 (Qideograph_gt): Likewise.
3439 (Qideograph_gt_pj_{1..11}): Likewise.
3440 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3441 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3442 `ideograph-gt-pj-11'.
3443 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3444 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3445 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3447 * char-ucs.h (LEADING_BYTE_GT): New macro.
3448 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3449 (MIN_CHAR_GT): Likewise.
3450 (MAX_CHAR_GT): Likewise.
3452 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3454 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3455 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3457 * doprnt.c (unsigned_int_converters): Add `c'.
3458 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3460 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3461 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3463 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3464 (MAX_CHAR_MOJIKYO_0): New macro.
3465 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3467 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3469 * mule-charset.c (Fdefine_char): Delete cemented out code.
3470 (encode_builtin_char_1): Modify for new allocation of builtin
3473 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3475 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3477 * mule-charset.c (Vcharset_ucs_cns): New variable.
3478 (Qucs_cns): New variable.
3479 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3480 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3482 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3484 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3486 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3488 * search.c (search_buffer): Make `charset_base_code' as
3489 character-id >> 6 to eliminate the corresponding last byte in
3490 UTF-8 representation [I'm not sure it is right thing].
3491 (boyer_moore): Likewise.
3493 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3495 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3496 representation in MULE.
3498 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3500 * text-coding.c (Fmake_coding_system): Use
3501 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3502 `EXTERNAL_PROPERTY_LIST_LOOP'.
3504 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3506 * text-coding.c (decode_output_utf8_partial_char): New function.
3507 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3509 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3511 * text-coding.c (decode_coding_utf8): Output original byte
3512 sequence if it is broken; change order of conditions.
3514 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3517 * mb-multibyte.h (BYTE_ASCII_P):
3518 Use bit ops for char-signedness safety.
3519 (BYTE_C0_P): Use bit ops for char-signedness safety.
3520 (BYTE_C1_P): Use bit ops for char-signedness safety.
3522 * character.h: (XCHAR_OR_CHAR_INT):
3523 Always use inline function.
3524 Remove redundant type checking assert() - XINT will abort quite
3527 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3529 * text-coding.c: (Fencode_shift_jis_char):
3530 (Fencode_big5_char):
3531 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3532 Replace 0 with '\0' when working with bytes.
3533 Replace initial "(" with "\(" in docstrings.
3535 (Fmake_coding_system):
3536 When type is ccl and value is vector, register it with a proper
3537 symbol. And checks whether the given ccl program is valid.
3538 (mule_decode): When calling ccl_driver, if src indicates
3539 NULL pointer, set an empty string instead.
3540 (mule_encode): Likewise.
3543 (detect_coding_sjis):
3544 (decode_coding_sjis):
3545 (detect_coding_big5):
3546 (decode_coding_big5):
3547 (detect_coding_ucs4):
3548 (decode_coding_ucs4):
3549 (detect_coding_utf8):
3550 (decode_coding_utf8):
3551 (detect_coding_iso2022):
3552 (decode_coding_iso2022):
3553 (decode_coding_no_conversion):
3555 Make all detecting and decoding functions take an Extbyte * arg.
3556 (text_encode_generic):
3557 (encode_coding_big5):
3558 (encode_coding_no_conversion):
3560 Make all encoding functions take a Bufbyte * arg.
3561 Use size_t instead of unsigned int for memory sizes.
3562 Only cast to unsigned char whenever dereferencing Extbyte *.
3564 (struct lrecord_description fcd_description_1): Use countof.
3565 (complex_vars_of_file_coding):
3566 Use countof instead of sizeof.
3567 Use CHECK_NATNUM instead of CHECK_INT.
3569 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3571 * mule-charset.c (Fget_char_attribute): Add new optional argument
3573 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3574 (remove_char_ccs): Likewise.
3576 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3578 * text-coding.c (char_encode_shift_jis): New implementation in
3580 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3583 * mule-charset.c (Vcharset_chinese_big5): New variable in
3585 (Qchinese_big5): New variable in UTF-2000.
3586 (BIG5_SAME_ROW): New macro in UTF-2000.
3587 (make_builtin_char): Use builtin characters of
3588 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3589 characters of `Vcharset_chinese_big5'.
3590 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3591 (complex_vars_of_mule_charset): Add new coded-charset
3592 `chinese-big5' in UTF-2000.
3594 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3595 (Vcharset_chinese_big5): New external variable declaration.
3596 (Vcharset_japanese_jisx0208_1990): Likewise.
3598 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3600 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3602 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3604 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3606 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3607 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3608 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3611 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3613 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3615 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3617 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3620 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3622 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3623 for `CHARSET_BY_ATTRIBUTES'.
3624 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3625 `CHARSET_BY_ATTRIBUTES'.
3627 * text-coding.c (struct decoding_stream): Rename member `CH' to
3629 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3630 (decode_coding_sjis): Likewise.
3631 (decode_coding_big5): Likewise.
3632 (decode_coding_ucs4): Likewise.
3633 (decode_coding_utf8): Likewise.
3634 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3635 `CHARSET_BY_ATTRIBUTES'.
3636 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3637 `str->counter'; decode 3, 4 bytes sets.
3638 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3640 (decode_coding_no_conversion): Use `str->cpos' instead of
3643 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3644 (Qmojikyo_2022_1): New variable.
3645 (make_charset): Don't use `CHARSET_TYPE_*'.
3646 (range_charset_code_point): Support coded-charset
3648 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3649 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3650 `CHARSET_BY_ATTRIBUTES'.
3651 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3652 `CHARSET_BY_ATTRIBUTES'.
3653 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3654 (complex_vars_of_mule_charset): Add new coded-charset
3657 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3658 interface; changed to inline function.
3660 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3661 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3662 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3663 (CHARSET_TYPE_94): Deleted.
3664 (CHARSET_TYPE_94X94): Deleted.
3665 (CHARSET_TYPE_96): Deleted.
3666 (CHARSET_TYPE_96X96): Deleted.
3667 (CHARSET_TYPE_128): Deleted.
3668 (CHARSET_TYPE_128X128): Deleted.
3669 (CHARSET_TYPE_256): Deleted.
3670 (CHARSET_TYPE_256X256): Deleted.
3671 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3673 (DECODE_MOJIKYO_2022): New inline function.
3674 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3675 `Vcharset_mojikyo_2022_1'.
3677 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3679 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3681 (put_byte_table): Likewise.
3682 (char_id_table_equal): Use `get_byte_table' [new implementation].
3684 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3686 * mule-charset.c: Include <limits.h> in UTF-2000.
3687 (BT_UINT8_MIN): New macro in UTF-2000.
3688 (BT_UINT8_MAX): New macro in UTF-2000.
3689 (BT_UINT8_t): New macro in UTF-2000.
3690 (BT_UINT8_nil): New macro in UTF-2000.
3691 (BT_UINT8_unbound): New macro in UTF-2000.
3692 (INT_UINT8_P): New inline function in UTF-2000.
3693 (UINT8_VALUE_P): New inline function in UTF-2000.
3694 (UINT8_ENCODE): New inline function in UTF-2000.
3695 (UINT8_DECODE): New inline function in UTF-2000.
3696 (mark_uint8_byte_table): New function in UTF-2000.
3697 (print_uint8_byte_table): New function in UTF-2000.
3698 (uint8_byte_table_equal): New function in UTF-2000.
3699 (uint8_byte_table_hash): New function in UTF-2000.
3700 (make_uint8_byte_table): New function in UTF-2000.
3701 (uint8_byte_table_same_value_p): New function in UTF-2000.
3702 (BT_UINT16_MIN): New macro in UTF-2000.
3703 (BT_UINT16_MAX): New macro in UTF-2000.
3704 (BT_UINT16_t): New macro in UTF-2000.
3705 (BT_UINT16_nil): New macro in UTF-2000.
3706 (BT_UINT16_unbound): New macro in UTF-2000.
3707 (INT_UINT16_P): New inline function in UTF-2000.
3708 (UINT16_VALUE_P): New inline function in UTF-2000.
3709 (UINT16_ENCODE): New inline function in UTF-2000.
3710 (UINT16_DECODE): New inline function in UTF-2000.
3711 (UINT8_TO_UINT16): New inline function in UTF-2000.
3712 (mark_uint16_byte_table): New function in UTF-2000.
3713 (print_uint16_byte_table): New function in UTF-2000.
3714 (uint16_byte_table_equal): New function in UTF-2000.
3715 (uint16_byte_table_hash): New function in UTF-2000.
3716 (make_uint16_byte_table): New function in UTF-2000.
3717 (uint16_byte_table_same_value_p): New function in UTF-2000.
3718 (print_byte_table): New function in UTF-2000.
3719 (byte-table): Use `print_byte_table' as printer.
3720 (make_byte_table): Delete second argument `older'.
3721 (byte_table_same_value_p): New function in UTF-2000.
3722 (copy_byte_table): Deleted.
3723 (get_byte_table): New function in UTF-2000.
3724 (put_byte_table): New function in UTF-2000.
3725 (print_char_id_table): New function in UTF-2000.
3726 (char-id-table): Use `print_char_id_table' as printer.
3727 (make_char_id_table): Delete second argument `older'.
3728 (get_char_id_table): Use `get_byte_table [new implementation].
3729 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3731 (Ffind_char_attribute_table): New function in UTF-2000.
3732 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3733 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3734 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3735 (syms_of_mule_charset): Add new function
3736 `find-char-attribute-table' in UTF-2000.
3738 * lrecord.h (enum lrecord_type): Add
3739 `lrecord_type_uint16_byte_table' and
3740 `lrecord_type_uint8_byte_table'.
3742 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3743 (Lisp_Uint8_Byte_Table): New type.
3744 (XUINT8_BYTE_TABLE): New macro.
3745 (XSETUINT8_BYTE_TABLE): New macro.
3746 (UINT8_BYTE_TABLE_P): New macro.
3747 (GC_UINT8_BYTE_TABLE_P): New macro.
3748 (struct Lisp_Uint16_Byte_Table): New structure.
3749 (Lisp_Uint16_Byte_Table): New type.
3750 (XUINT16_BYTE_TABLE): New macro.
3751 (XSETUINT16_BYTE_TABLE): New macro.
3752 (UINT16_BYTE_TABLE_P): New macro.
3753 (GC_UINT16_BYTE_TABLE_P): New macro.
3755 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3757 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3758 (Vcharacter_ideographic_strokes_table): Deleted.
3759 (Vcharacter_total_strokes_table): Deleted.
3760 (Vcharacter_morohashi_daikanwa_table): Deleted.
3761 (Vcharacter_decomposition_table): Deleted.
3762 (Qname): Deleted because it is duplicated.
3763 (Qideographic_radical): Deleted.
3764 (Qideographic_strokes): Deleted.
3765 (Qtotal_strokes): Deleted.
3766 (Qmorohashi_daikanwa): Deleted.
3767 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3768 `ideographic-radical', `ideographic-strokes', `total-strokes',
3769 `morohashi-daikanwa' and `->decomposition'.
3770 (Fget_char_attribute): Likewise.
3771 (Fput_char_attribute): Likewise; use `make-vector' instead of
3772 `make_older_vector' for `->decomposition' value.
3773 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3774 `ideograph-daikanwa'.
3775 (syms_of_mule_charset): Delete builtin symbols `name',
3776 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3777 `morohashi-daikanwa'.
3778 (vars_of_mule_charset): Don't setup
3779 `Vcharacter_ideographic_radical_table',
3780 `Vcharacter_ideographic_strokes_table',
3781 `Vcharacter_total_strokes_table',
3782 `Vcharacter_morohashi_daikanwa_table' and
3783 `Vcharacter_decomposition_table'.
3785 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3787 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3788 `make_older_vector', `make_vector_newer_1' and
3789 `make_vector_newer'.
3791 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3792 `make_older_vector' and `make_vector_newer'.
3794 * config.h.in (HAVE_GGC): New macro.
3796 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3798 * mule-charset.c (struct char_attribute_list_closure): New
3799 structure in UTF-2000.
3800 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3801 (Fchar_attribute_list): Likewise.
3802 (Fset_charset_mapping_table): Use `make_vector_newer'.
3803 (Fdecode_builtin_char): New function in UTF-2000.
3804 (syms_of_mule_charset): Add new function `char-attribute-list' and
3805 `decode-builtin-char' in UTF-2000.
3807 * lisp.h (make_vector_newer): New prototype.
3809 * alloc.c (make_vector_newer_1): New function.
3810 (make_vector_newer): New function.
3812 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3814 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3817 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3819 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3820 (Vcharacter_attribute_table): Deleted.
3821 (Vcharacter_name_table): Deleted.
3822 (put_char_attribute): Deleted.
3823 (remove_char_attribute): Deleted.
3824 (struct char_attribute_alist_closure): New structure.
3825 (add_char_attribute_alist_mapper): New function.
3826 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3827 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3828 (Fget_char_attribute): Likewise.
3829 (Fput_char_attribute): Likewise.
3830 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3831 of `remove_char_attribute'.
3832 (Fdefine_char): Return character.
3833 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3834 and `Vcharacter_name_table'.
3835 (complex_vars_of_mule_charset): Likewise
3836 `Vchar_attribute_hash_table'.
3838 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3840 * character.h (CHARC_CHARSET): New macro.
3841 (CHARC_CHARSET_ID): New macro.
3842 (CHARC_CODE_POINT): New macro.
3843 (CHARC_COLUMNS): New macro.
3844 (CHARC_TO_CHAR): New inline function.
3845 (CHARC_EQ): New inline function.
3846 (CHARC_ASCII_EQ): New inline function.
3847 (CHARC_IS_SPACE): New inline function.
3848 (ASCII_TO_CHARC): New inline function.
3850 * char-ucs.h (encode_char_2): Deleted.
3851 (ENCODE_CHAR): Use `encode_char_1' again.
3852 (breakup_char_1): Likewise.
3853 (CHAR_TO_CHARC): New inline function.
3855 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3857 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3859 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3860 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3861 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3862 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3863 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3865 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3867 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3869 (x_output_display_block): Use `CHARC_CHARSET' and
3872 * redisplay-tty.c (tty_output_display_block): Use
3874 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3876 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3878 * insdel.c (find_charsets_in_charc_string): Use
3880 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3881 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3882 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3883 (convert_charc_string_into_malloced_string): Likewise.
3885 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3887 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3888 instead of <Emchar_dynarr *> for buf; use
3889 `convert_bufbyte_string_into_charc_dynarr' instead of
3890 `convert_bufbyte_string_into_emchar_dynarr'; use
3891 `find_charsets_in_charc_string' instead of
3892 `find_charsets_in_emchar_string'.
3895 - Include "character.h".
3896 (struct rune): New member `cglyph'; delete member `chr'.
3898 * redisplay.c (redisplay_text_width_charc_string): New function;
3899 delete `redisplay_text_width_emchar_string'.
3900 (rtw_charc_dynarr): New variable; renamed from
3901 `rtw_emchar_dynarr'.
3902 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3903 `rtw_emchar_dynarr'; use
3904 `convert_bufbyte_string_into_charc_dynarr' instead of
3905 `convert_bufbyte_string_into_emchar_dynarr'; use
3906 `redisplay_text_width_charc_string' instead of
3907 `redisplay_text_width_emchar_string'.
3908 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3909 instead of `rtw_emchar_dynarr'; use
3910 `convert_bufbyte_string_into_charc_dynarr' instead of
3911 `convert_bufbyte_string_into_emchar_dynarr'.
3912 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3913 `redisplay_text_width_charc_string' instead of
3914 `redisplay_text_width_emchar_string'.
3915 (create_text_block): Modify for <struct rune> change.
3916 (generate_formatted_string_db): Likewise.
3917 (create_string_text_block): Likewise.
3918 (pixel_to_glyph_translation): Likewise.
3920 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3921 instead of <const Emchar *>.
3922 (x_text_width): Likewise.
3923 (x_output_display_block): Use <Charc_dynarr *> instead
3924 <Emchar_dynarr *>; modify for <structure rune> change.
3925 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3928 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3929 <const Emchar *>; use `charc_string_displayed_columns' instead of
3930 `emchar_string_displayed_columns'.
3931 (tty_output_display_block): Use <Charc_dynarr *> instead of
3932 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3933 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3934 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3935 `tty_output_emchar_dynarr_dynarr'.
3936 (tty_output_charc_dynarr): New function; delete
3937 `tty_output_charc_dynarr'.
3939 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3940 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3941 <Emchar_dynarr *> for buf; use
3942 `convert_bufbyte_string_into_charc_dynarr' instead of
3943 `convert_bufbyte_string_into_emchar_dynarr'.
3945 * frame.c (title_string_charc_dynarr): New variable; renamed from
3946 `title_string_emchar_dynarr'.
3947 (generate_title_string): Use `title_string_charc_dynarr' instead
3948 of `title_string_emchar_dynarr'; use
3949 `convert_charc_string_into_malloced_string' instead of
3950 `convert_emchar_string_into_malloced_string'.
3951 (init_frame): Use `title_string_charc_dynarr' instead of
3952 `title_string_emchar_dynarr'.
3955 - Include "character.h".
3956 (struct console_methods): Use <const Charc *> instead of <const
3957 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3958 <Emchar_dynarr *> in output_string_method.
3960 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3963 * console-stream.c (stream_text_width): Use <const Charc *>
3964 instead of <const Emchar *>.
3966 * character.h (Charc_dynarr): New type.
3968 * char-ucs.h (structure Charc): New structure; define new type
3971 * char-lb.h (DECODE_CHAR): New inline function.
3972 (encode_char_1): New inline function.
3973 (ENCODE_CHAR): New macro.
3974 (structure Charc): New structure; define new type `Charc'.
3976 * char-1byte.h (Vcharset_control_1): New macro.
3977 (Vcharset_latin_iso8859_1): New macro.
3978 (DECODE_CHAR): New inline function.
3979 (encode_char_1): New inline function.
3980 (ENCODE_CHAR): New macro.
3981 (structure Charc): New structure; define new type `Charc'.
3983 * insdel.c (find_charsets_in_charc_string): New function; delete
3984 `find_charsets_in_emchar_string'.
3985 (charc_string_displayed_columns): New function; delete
3986 `emchar_string_displayed_columns'.
3987 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3988 `convert_bufbyte_string_into_emchar_dynarr'.
3989 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3990 `convert_charc_string_into_bufbyte_dynarr'.
3991 (convert_charc_string_into_malloced_string): New function; delete
3992 `convert_charc_string_into_malloced_string'.
3994 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3995 `find_charsets_in_emchar_string'.
3996 (charc_string_displayed_columns): New prototype; delete
3997 `emchar_string_displayed_columns'.
3998 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3999 `convert_charc_string_into_bufbyte_dynarr'.
4000 (convert_charc_string_into_malloced_string): New prototype; delete
4001 `convert_charc_string_into_malloced_string'.
4003 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4005 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4007 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4009 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4011 * char-ucs.h: Use <short> for <Charset_ID>.
4013 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4016 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4018 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4021 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4023 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4025 (Qmorohashi_daikanwa): New variable.
4026 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4027 for `morohashi-daikanwa' attribute.
4028 (Fget_char_attribute): Likewise.
4029 (Fput_char_attribute): Likewise.
4030 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4031 has the same value of `ideograph-daikanwa'.
4032 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4033 (vars_of_mule_charset): Setup
4034 `Vcharacter_morohashi_daikanwa_table'.
4036 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4038 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4040 (add_charset_to_list_mapper): Add `key' instead of
4041 `XCHARSET_NAME (value)' to return aliases.
4043 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4045 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4047 (Vcharacter_ideographic_strokes_table): New variable.
4048 (Qideographic_radical): New variable.
4049 (Qideographic_strokes): New variable.
4050 (Fchar_attribute_alist): Use
4051 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4052 attribute; use `Vcharacter_ideographic_strokes_table' for
4053 `ideographic-strokes' attribute.
4054 (Fget_char_attribute): Likewise.
4055 (Fput_char_attribute): Likewise.
4056 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4057 `ideographic-strokes'.
4058 (vars_of_mule_charset): Setup
4059 `Vcharacter_ideographic_radical_table' and
4060 `Vcharacter_ideographic_strokes_table'.
4062 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4064 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4065 (Qtotal_strokes): New variable.
4066 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4067 `total-strokes' attribute.
4068 (Fget_char_attribute): Likewise.
4069 (Fput_char_attribute): Likewise.
4070 (syms_of_mule_charset): Add new symbol `total-strokes'.
4071 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4073 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4075 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4076 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4078 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4079 `->decomposition' attribute.
4080 (Fput_char_attribute): Likewise.
4081 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4083 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4085 * mule-charset.c (decoding_table_check_elements): New function.
4086 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4088 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4090 * mule-charset.c (Fset_charset_mapping_table): Use
4091 `put_char_ccs_code_point'.
4093 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4095 * mule-charset.c (decoding_table_put_char): New inline function.
4096 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4098 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4100 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4101 (XCHARSET_BYTE_SIZE): New macro.
4102 (decoding_table_remove_char): New inline function.
4103 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4104 `decoding_table_remove_char'.
4105 (remove_char_ccs): Use `decoding_table_remove_char'.
4106 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4108 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4110 * mule-charset.c (Vcharacter_name_table): New variable.
4111 (Qname): New variable.
4112 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4114 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4115 `Vcharacter_name_table' for `name' attribute.
4116 (Fremove_char_attribute): Use function `remove_char_ccs'.
4117 (put_char_ccs_code_point): New function.
4118 (remove_char_ccs): New function.
4119 (syms_of_mule_charset): Add new symbol `name'.
4120 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4122 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4124 * mule-charset.c (make_byte_table): Add new argument `older'.
4125 (make_char_id_table): Likewise.
4126 (copy_char_id_table): Comment out because it is not used.
4127 (put_char_id_table): Modify for `make_byte_table'.
4128 (Fput_char_attribute): Make encoding_table as older object;
4129 inherit older bit of `Vcharacter_composition_table'.
4130 (mark_charset): Don't mark `cs->encoding_table'.
4131 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4132 normal object; make `Vcharacter_composition_table' as an older
4133 object; delete staticpro for `Vcharacter_composition_table'; make
4134 `Vcharacter_variant_table' as a normal object.
4136 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4137 (mark_object): Don't check older object in UTF-2000.
4139 * lrecord.h (struct lrecord_header): Add new member `older' in
4141 (set_lheader_implementation): Setup `SLI_header->older' in
4143 (set_lheader_older_implementation): New macro in UTF-2000.
4144 (OLDER_RECORD_P): New macro in UTF-2000.
4145 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4146 (alloc_older_lcrecord): New prototype in UTF-2000.
4147 (alloc_older_lcrecord_type): New macro in UTF-2000.
4149 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4151 * mule-charset.c (byte_table_description): Use
4152 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4153 (char_id_table_description): Delete bogus `, 1'.
4154 (Fget_char_attribute): Refer encoding_table of each coded-charset
4155 to get value of coded-charset attribute of a character.
4156 (Fput_char_attribute): Use `make_older_vector' instead of
4157 `make_vector'; use encoding_table of each coded-charset to store
4158 value of coded-charset attribute of a character.
4159 (Fremove_char_attribute): Use encoding_table of each coded-charset
4160 to store value of coded-charset attribute of a character.
4161 (mark_charset): Mark `cs->encoding_table'; don't mark
4162 `cs->decoding_table'.
4163 (charset_description): Add description of new member
4165 (make_charset): Initialize `encoding_table'.
4167 * char-ucs.h (struct Lisp_Charset): Add new member
4169 (CHARSET_ENCODING_TABLE): New macro.
4170 (XCHARSET_ENCODING_TABLE): New macro.
4171 (charset_code_point): New implementation.
4172 (encode_char_1): Likewise.
4174 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4175 (disksave_object_finalization_1): Call finalizers of
4176 `all_older_lcrecords' in UTF-2000.
4177 (make_older_vector): New function in UTF-2000.
4178 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4181 * lisp.h (make_older_vector): New prototype in UTF-2000.
4183 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4185 * lrecord.h (enum lrecord_type): Rename
4186 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4188 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4189 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4190 `get_char_code_table'.
4192 * mule-charset.c (mark_char_id_table): Renamed from
4193 `mark_char_code_table'.
4194 (char_id_table_equal): Renamed from `char_code_table_equal'.
4195 (char_id_table_hash): Renamed from `char_code_table_hash'.
4196 (make_char_id_table): Renamed from `make_char_code_table'.
4197 (copy_char_id_table): Renamed from `copy_char_code_table'.
4198 (get_char_id_table): Renamed from `get_char_code_table'.
4199 (put_char_id_table): Renamed from `put_char_code_table'.
4200 (to_char_id): Renamed from `to_char_code'.
4202 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4203 `Lisp_Char_Code_Table'.
4204 (char_id_table): Renamed from `char_code_table'.
4205 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4206 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4207 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4208 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4209 (get_char_id_table): Renamed from `get_char_code_table'.
4211 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4213 * lrecord.h (enum lrecord_type): Rename
4214 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4216 * mule-charset.c (mark_byte_table): Renamed from
4217 `mark_char_byte_table'.
4218 (byte_table_equal): Renamed from `char_byte_table_equal'.
4219 (byte_table_hash): Renamed from `byte_table_hash'.
4220 (make_byte_table): Renamed from `make_byte_table'.
4221 (copy_byte_table): Renamed from `copy_char_byte_table'.
4223 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4224 `Lisp_Char_Byte_Table'.
4225 (byte_table): Renamed from `char_byte_table'.
4226 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4227 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4228 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4229 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4231 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4233 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4234 (dfc_convert_to_internal_format): Likewise.
4236 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4237 * text-coding.c (Fcoding_system_alias_p): New function.
4238 * text-coding.c (Fcoding_system_aliasee): New function.
4239 * text-coding.c (append_suffix_to_symbol): New function.
4240 * text-coding.c (dangling_coding_system_alias_p): New function.
4241 * text-coding.c (Ffind_coding_system):
4242 * text-coding.c (Fcopy_coding_system):
4243 * text-coding.c (encode_coding_no_conversion):
4244 * text-coding.c (syms_of_file_coding):
4245 * text-coding.c (vars_of_file_coding):
4246 Rewrite coding system alias code.
4247 Allow nested aliases, like symbolic links.
4248 Allow redefinition of coding system aliases.
4249 Prevent existence of dangling coding system aliases.
4250 Eliminate convert_to_external_format.
4251 Eliminate convert_to_internal_format.
4253 * text-coding.c: Change enum eol_type to eol_type_t.
4255 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4257 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4258 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4260 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4261 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4263 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4265 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4266 `ideograph-daikanwa'.
4268 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4269 (Vcharset_ucs_bmp): Likewise.
4270 (Vcharset_mojikyo): Add new extern variable definition.
4271 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4272 (Vcharset_latin_iso8859_3): Likewise.
4273 (Vcharset_latin_iso8859_4): Likewise.
4274 (Vcharset_latin_iso8859_9): Likewise.
4275 (Vcharset_latin_viscii_lower): Likewise.
4276 (Vcharset_latin_viscii_upper): Likewise.
4277 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4278 `mojikyo' code-point is used to decode.
4279 (encode_char_2): New function [to convert `mojikyo' code-point to
4280 Mojikyo font encoding].
4281 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4282 (breakup_char_1): Likewise.
4283 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4285 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4287 * text-coding.c (Fmake_coding_system): Add document about
4288 `disable-composition' property.
4290 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4292 * text-coding.c (Qdisable_composition): New variable; delete
4294 (Fmake_coding_system): Add new property `disable-composite';
4295 delete property `composite'.
4296 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4297 instead of `!CODING_SYSTEM_COMPOSITE'.
4298 (syms_of_file_coding): Add new symbol `disable-composition';
4299 delete symbol `composite'.
4301 * file-coding.h (struct Lisp_Coding_System): Add
4302 `disable_composition'; delete `enable_composition'.
4303 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4304 `CODING_SYSTEM_COMPOSITE'.
4305 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4306 `XCODING_SYSTEM_COMPOSITE'.
4308 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4310 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4313 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4315 * text-coding.c (Qcomposite): New variable.
4316 (Fmake_coding_system): Add new property `composite'.
4317 (struct decoding_stream): Add `combined_char_count',
4318 `combined_chars' and `combining_table' in UTF-2000.
4319 (COMPOSE_FLUSH_CHARS): New macro.
4320 (COMPOSE_ADD_CHAR): New macro.
4321 (reset_decoding_stream): Reset `str->combined_char_count' and
4322 `str->combining_table' in UTF-2000.
4323 (decode_coding_iso2022): Modify for character-decomposition.
4324 (syms_of_file_coding): Add new symbol `composite'.
4326 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4328 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4329 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4330 of `Vcharacter_composition_table' if `->decomposition' property
4332 (Qlatin_tcvn5712): New variable.
4333 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4334 (complex_vars_of_mule_charset): Add new coded-charset
4337 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4339 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4341 * file-coding.h (struct Lisp_Coding_System): Add
4342 `enable_composition'.
4343 (CODING_SYSTEM_COMPOSITE): New macro.
4344 (XCODING_SYSTEM_COMPOSITE): New macro.
4346 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4348 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4350 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4352 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4353 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4355 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4357 * mule-charset.c (Vcharset_mojikyo): New variable.
4358 (Fdefine_char): Don't use coded-charset which does not have
4359 non-builtin character range to allocate character-id.
4360 (Qmojikyo): New variable.
4361 (syms_of_mule_charset): Add new symbol `mojikyo'.
4362 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4364 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4365 (LEADING_BYTE_MOJIKYO): New macro.
4366 (MIN_CHAR_MOJIKYO): New macro.
4367 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4368 (MAX_CHAR_MOJIKYO): New macro.
4370 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4372 * mule-charset.c (remove_char_attribute): Fixed.
4374 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4376 * mule-charset.c (remove_char_attribute): New function.
4377 (Fremove_char_attribute): New function.
4378 (encode_builtin_char_1): Comment out builtin-support for
4379 greek-iso8859-7 and cyrillic-iso8859-5.
4380 (Fdecode_char): Check `code' is an integer.
4381 (syms_of_mule_charset): Add `remove-char-attribute'.
4382 (MIN_CHAR_GREEK): Deleted.
4383 (MAX_CHAR_GREEK): Likewise.
4384 (MIN_CHAR_CYRILLIC): Likewise.
4385 (MAX_CHAR_CYRILLIC): Likewise.
4386 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4387 MAX_CHAR_GREEK for `greek-iso8859-7'.
4389 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4390 (MAX_CHAR_GREEK): Likewise.
4391 (MIN_CHAR_CYRILLIC): Likewise.
4392 (MAX_CHAR_CYRILLIC): Likewise.
4394 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4396 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4397 format is used without `ucs' property.
4398 (Fdecode_char): Fix problem with GR representation.
4399 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4400 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4402 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4404 * mule-charset.c (make_builtin_char): New function.
4405 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4406 (Fset_charset_mapping_table): Modify for new representation of
4408 (Fdecode_char): New function.
4409 (syms_of_mule_charset): Add new builtin function `decode-char' in
4412 * char-ucs.h (make_builtin_char): New prototype.
4413 (DECODE_CHAR): New inline function.
4414 (MAKE_CHAR): Use `DECODE_CHAR'.
4416 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4418 * text-coding.c (parse_charset_conversion_specs): Use
4419 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4421 (iso2022_designate): Likewise.
4423 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4424 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4426 * mule-charset.c (Vcharset_ucs): New variable.
4427 (print_charset): Change design; use `CHARSET_CHARS' and
4428 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4429 (make_charset): Change signature to specify `chars' and
4430 `dimension' instead of `type'.
4431 (range_charset_code_point): Modify for 256^n-set.
4432 (encode_builtin_char_1): Encode as `ucs' in default.
4433 (Fmake_charset): Modify for `make_charset'.
4434 (Fmake_reverse_direction_charset): Likewise.
4435 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4437 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4440 * char-ucs.h (Vcharset_ucs): New variable.
4441 (LEADING_BYTE_UCS): New macro.
4442 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4443 and `chars' to `unsigned short' from `unsigned int'.
4444 (CHARSET_TYPE): Deleted.
4445 (XCHARSET_TYPE): Deleted.
4447 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4449 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4451 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4452 (ENCODE_CHAR): New macro.
4454 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4456 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4457 to 0.14 (Kawachi-Katakami).
4459 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4461 * text-coding.c (char_encode_shift_jis): Modify for
4462 `charset_code_point'.
4463 (char_encode_iso2022): Likewise.
4465 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4466 (integer) instead of list of <Lisp_Object>s (integers) as the
4467 format of code-point of a coded-charset.
4468 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4469 (encode_builtin_char_1): New function; delete
4470 `split_builtin_char'.
4471 (charset_code_point): Return <int> instead of <Lisp_Object>.
4472 (Fsplit_char): Don't use `SPLIT_CHAR'.
4474 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4475 prototype for `split_builtin_char'.
4476 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4477 (charset_code_point): Likewise.
4478 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4479 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4481 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4483 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4484 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4486 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4488 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4490 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4491 (MAX_CHAR_OBS_94x94): Deleted.
4493 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4495 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4497 * char-ucs.h (MAX_CHAR_BMP): New macro.
4499 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4501 * text-coding.c: Sync with r21-2-24.
4503 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4505 * file-coding.c: Modify for UTF-2000.
4507 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4509 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4512 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4514 * mule-charset.c (split_builtin_char): Delete builtin support for
4515 `katakana-jisx0201'.
4516 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4517 BMP area in builtin representation.
4519 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4520 `Vcharset_katakana_jisx0201'.
4522 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4524 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4525 (Qisolated): New variable.
4526 (Qinitial): New variable.
4527 (Qmedial): New variable.
4528 (Qfinal): New variable.
4529 (Qvertical): New variable.
4530 (Qsmall): New variable.
4531 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4532 `Qvertical' and `Qsmall'.
4533 (Qmojikyo_pj_[1 .. 21]): New variable.
4534 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4535 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4536 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4539 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4541 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4542 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4543 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4545 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4547 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4548 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4550 (Qjapanese_jisx0208_1990): New variable.
4551 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4552 (complex_vars_of_mule_charset): Add new coded-charset
4553 `japanese-jisx0208-1990'.
4555 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4556 (MIN_CHAR_JIS_X0208_1990): New macro.
4557 (MAX_CHAR_JIS_X0208_1990): New macro.
4559 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4561 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4562 coded-charset is not found.
4564 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4566 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4567 (Fdefine_char): Use `Fmake_char'.
4569 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4571 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4572 (Vcharset_hiragana_jisx0208): Deleted.
4573 (Vcharset_katakana_jisx0208): Deleted.
4574 (Qideograph_daikanwa): New variable.
4575 (Qhiragana_jisx0208): Deleted.
4576 (Qkatakana_jisx0208): Deleted.
4577 (split_builtin_char): Split `ideograph-daikanwa'.
4578 (Fsplit_char): New implementation for UTF-2000.
4579 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4580 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4581 (complex_vars_of_mule_charset): Add new coded-charset
4582 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4583 `katakana-jisx0208'.
4585 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4586 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4587 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4588 (MIN_CHAR_DAIKANWA): New macro.
4589 (MAX_CHAR_DAIKANWA): New macro.
4591 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4593 * data.c (Fstring_to_number): Don't recognize floating point if
4596 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4598 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4600 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4602 * mule-charset.c (Qsquare): New variable.
4603 (to_char_code): Add `Qsquare'.
4604 (syms_of_mule_charset): Add new symbol `square'.
4606 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4608 * mule-charset.c (Qcircle): New variable.
4609 (to_char_code): Add `Qcircle'.
4610 (syms_of_mule_charset): Add new symbol `circle'.
4612 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4614 * mule-charset.c (Qfont): New variable.
4615 (to_char_code): Add `Qfont'.
4616 (syms_of_mule_charset): Add new symbol `font'.
4618 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4620 * mule-charset.c (Qsub): New variable.
4621 (to_char_code): Add `Qsub'.
4622 (syms_of_mule_charset): Add new symbol `sub'.
4624 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4626 * mule-charset.c (Fput_char_attribute): Convert each element of
4627 VALUE to GL position if ATTRIBUTE is a GR-set,
4629 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4631 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4632 coded-charset is a GR-set.
4634 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4636 * mule-charset.c (Fput_char_attribute): Check each element of
4637 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4639 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4641 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4643 (Qethiopic_ucs): New variable in UTF-2000.
4644 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4645 (complex_vars_of_mule_charset): Add new coded-charset
4646 `ethiopic-ucs' in UTF-2000.
4648 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4649 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4651 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4653 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4655 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4657 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4660 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * mule-charset.c (Vcharacter_variant_table): New variable.
4663 (Q_ucs): New variable.
4664 (Fchar_variants): New function.
4665 (Fput_char_attribute): Register `->ucs' value to
4666 `Vcharacter_variant_table'.
4667 (syms_of_mule_charset): Add new function `char-variants' and new
4669 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4671 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4673 * mule-charset.c (get_char_code_table): Allow negative character
4675 (put_char_code_table): Likewise.
4676 (Vcharacter_composition_table): New variable.
4677 (Q_decomposition): New variable.
4678 (Qwide): New variable.
4679 (Qnarrow): New variable.
4680 (Qcompat): New variable.
4681 (QnoBreak): New variable.
4682 (Qsuper): New variable.
4683 (Qfraction): New variable.
4684 (to_char_code): New function.
4685 (Fget_composite_char): New function.
4686 (Fput_char_attribute): Register `->decomposition' value to
4687 `Vcharacter_composition_table'.
4688 (syms_of_mule_charset): Add new function `get-composite-char', new
4689 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4690 `super' and `fraction'.
4691 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4693 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4695 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4696 character; copy the return value.
4698 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4700 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4702 * mule-charset.c (range_charset_code_point): Must use make_int.
4703 (split_builtin_char): New function.
4705 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4707 * mule-charset.c (char_byte_table): Change name from
4708 "char-code-table" to "char-byte-table".
4709 (mark_char_code_table): New function.
4710 (char_code_table_equal): New function.
4711 (char_code_table_hash): New function.
4712 (char_code_table_description): New constant.
4713 (char_code_table): New type.
4714 (make_char_code_table): New function.
4715 (copy_char_code_table): New function.
4716 (get_char_code_table): Modify for `char_code_table' type.
4717 (put_char_code_table): Likewise.
4718 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4721 * char-ucs.h (char_code_table): New type.
4722 (XCHAR_CODE_TABLE): New macro.
4723 (XSETCHAR_CODE_TABLE): New macro.
4724 (CHAR_CODE_TABLE_P): New macro.
4725 (GC_CHAR_CODE_TABLE_P): New macro.
4726 (struct Lisp_Char_Code_Table): New structure.
4728 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4730 * mule-charset.c (Fmake_charset): Setup byte_offset for
4733 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4735 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4738 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4740 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4743 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4745 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4746 charset, it is regarded as a charset.
4747 (put_char_attribute): New function in UTF-2000.
4748 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4749 charset, mapping-table of the charset is modified.
4750 (Fdefine_char): New function in UTF-2000.
4751 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4752 `Fput_char_attribute'.
4753 (syms_of_mule_charset): Add new function `define-char' and new
4754 symbol `ucs' in UTF-2000.
4755 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4757 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4759 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4760 non-UTF-2000 configuration.
4762 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4764 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4765 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4767 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4769 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4770 (Fset_charset_mapping_table): Likewise.
4772 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4773 (CHARSET_ENCODING_TABLE): Delete.
4774 (XCHARSET_ENCODING_TABLE): Delete.
4775 (charset_code_point): New interface.
4777 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4779 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4780 instead of `charset_get_byte1' and `charset_get_byte2'.
4782 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4783 (charset_get_byte2): Deleted.
4785 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4787 * char-ucs.h (SPLIT_CHAR): New inline function.
4788 (breakup_char_1): Use `SPLIT_CHAR'.
4790 * mule-charset.c (range_charset_code_point): New function.
4791 (charset_code_point): New function.
4793 * char-ucs.h (range_charset_code_point): New interface.
4794 (breakup_char_1): Use `range_charset_code_point'.
4796 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4798 * mule-charset.c (Fmake_charset): Delete unused local variable
4801 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4802 (breakup_char_1): Find a charset and code-point in
4803 `Vcharacter_attribute_table'.
4805 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4807 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4810 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4812 * mule-charset.c (Vcharacter_attribute_table): New variable.
4813 (Fchar_attribute_alist): New function.
4814 (Fget_char_attribute): New function.
4815 (Fput_char_attribute): New function.
4816 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4818 (syms_of_mule_charset): Add new function `char-attribute-alist',
4819 `get-char-attribute' and `put-char-attribute'.
4820 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4822 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4824 * mule-charset.c (Fmake_charset): Just use
4825 `get_unallocated_leading_byte'.
4827 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4828 sets; don't use final-byte based number for private sets.
4830 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4832 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4835 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4837 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4840 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4842 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4843 of `CHAR_LEADING_BYTE' in UTF-2000.
4845 * insdel.c (find_charsets_in_bufbyte_string): Use
4846 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4847 (find_charsets_in_emchar_string): Likewise.
4849 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4850 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4852 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4853 (CHAR_CHARSET_ID): New macro.
4855 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4857 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4858 charset-id - MIN_LEADING_BYTE.
4859 (put_char_table): Likewise.
4861 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4863 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4864 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4865 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4866 (CHARSET_ID_OFFSET): New macro.
4867 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4868 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4869 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4870 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4872 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4874 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4875 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4876 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4877 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4878 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4880 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4882 * mule-charset.c (next_allocated_leading_byte): New variable in
4884 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4885 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4886 (get_unallocated_leading_byte): Simply use
4887 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4888 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4891 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4892 (MAX_LEADING_BYTE_PRIVATE): New macro.
4893 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4894 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4896 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4898 * mule-charset.c (Fmake_charset): Allocate final-byte based
4899 charset-id for 94-set, 96-set and 94x94-set.
4901 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4903 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4905 (Fmake_charset): Likewise.
4906 (complex_vars_of_mule_charset): Modify the font registry of
4907 `ucs-bmp' not to match `Ethiopic-Unicode'.
4909 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4911 * mule-charset.c (complex_vars_of_mule_charset): Add font
4912 registory of `ucs-bmp'.
4914 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4916 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4917 coded-charsets in `default-coded-charset-priority-list' when
4918 breaking up a character.
4920 * mule-charset.c (Vcharset_latin_viscii): New variable.
4921 (Qlatin_viscii): New variable.
4922 (make_charset): Don't use `decoding_table'.
4923 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4925 (Fset_charset_mapping_table): New implementation.
4926 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4927 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4928 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4929 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4930 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4931 charset `latin_viscii'.
4933 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4934 (CHARSET_TYPE_94X94): Change to 1 from 2.
4935 (CHARSET_TYPE_96): Change to 2 from 1.
4936 (CHARSET_TYPE_128): New macro.
4937 (CHARSET_TYPE_128X128): Change to 5 from 4.
4938 (CHARSET_TYPE_256): New macro.
4939 (CHARSET_TYPE_256X256): Change to 7 from 5.
4940 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4942 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4944 * text-coding.c (char_encode_shift_jis): Refer
4945 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4946 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4948 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4949 (char_byte_table_equal): New function in UTF-2000.
4950 (char_byte_table_hash): New function in UTF-2000.
4951 (char_byte_table_description): New constant in UTF-2000.
4952 (char_byte_table): New type in UTF-2000.
4953 (make_char_byte_table): New function in UTF-2000.
4954 (copy_char_byte_table): New function in UTF-2000.
4955 (make_char_code_table): New macro in UTF-2000.
4956 (get_char_code_table): New function in UTF-2000.
4957 (put_char_code_table): New function in UTF-2000.
4958 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4959 (charset_description): Add setting in UTF-2000.
4960 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4961 `CHARSET_TO_BYTE1_TABLE(cs)'.
4962 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4963 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4964 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4965 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4966 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4967 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4968 `CHARSET_TO_BYTE2_TABLE(cs)'.
4970 * char-ucs.h (char_byte_table): New type.
4971 (XCHAR_BYTE_TABLE): New macro.
4972 (XSETCHAR_BYTE_TABLE): New macro.
4973 (CHAR_BYTE_TABLE_P): New macro.
4974 (GC_CHAR_BYTE_TABLE_P): New macro.
4975 (struct Lisp_Char_Byte_Table): New structure.
4976 (get_char_code_table): New interface.
4977 (Emchar_to_byte_table): Deleted.
4978 (get_byte_from_character_table): Deleted.
4979 (struct Lisp_Charset): Add `encoding_table'; delete
4980 `to_byte1_table' and `to_byte2_table'.
4981 (CHARSET_ENCODING_TABLE): New macro.
4982 (CHARSET_TO_BYTE1_TABLE): Deleted.
4983 (CHARSET_TO_BYTE2_TABLE): Deleted.
4984 (XCHARSET_ENCODING_TABLE): New macro.
4985 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4986 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4988 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4990 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4991 `vietnamese-viscii-*'.
4993 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4995 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4996 (Qvietnamese_viscii_upper): New variable.
4997 (Fdefine_charset_alias): New function.
4998 (syms_of_mule_charset): Add new function `define-charset-alias'.
4999 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5000 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5003 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5005 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5006 (MAX_CHAR_OBS_94x94): New macro.
5007 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5010 * mule-charset.c (put_byte_from_character_table): Change unit size
5012 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5014 (Fmake_reverse_direction_charset): Modify dummy argument of
5015 `make_charset' for non-UTF-2000 environment.
5017 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5019 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5021 * mule-charset.c (destroy_byte_from_character_table): New macro.
5022 (latin_jisx0201_to_ucs): Deleted.
5023 (latin_iso8859_2_to_ucs): Deleted.
5024 (latin_iso8859_3_to_ucs): Deleted.
5025 (latin_iso8859_4_to_ucs): Deleted.
5026 (latin_iso8859_9_to_ucs): Deleted.
5027 (latin_viscii_lower_to_ucs): Deleted.
5028 (latin_viscii_upper_to_ucs): Deleted.
5029 (mark_charset): Mark `cs->decoding_table'.
5030 (Fcharset_mapping_table): Fix DOC-string.
5031 (Fset_charset_mapping_table): New function.
5032 (syms_of_mule_charset): Add nwe function
5033 `set-charset-mapping-table'.
5034 (complex_vars_of_mule_charset): Don't setup and use
5037 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5039 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5042 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5044 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5045 (Vcharset_katakana_jisx0208): New variable.
5046 (Qhiragana_jisx0208): New variable.
5047 (Qkatakana_jisx0208): New variable.
5048 (make_charset): Add new argument `byte_offset'.
5049 (charset_get_byte1): Modify for new coded-charset definition; use
5050 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5051 `XCHARSET_BYTE_OFFSET'.
5052 (Fmake_charset): Modify for `make_charset'.
5053 (Fmake_reverse_direction_charset): Likewise.
5054 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5055 `katakana-jisx0208'.
5056 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5057 `.' in font registry of charset `katakana-jisx0201',
5058 `latin-jisx0201', `vietnamese-viscii-lower' and
5059 `vietnamese-viscii-upper'; modify DOC-string of charset
5060 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5061 registry of charset `japanese-jisx0208' not to use font for JIS
5062 X0208:1990; add new charset `hiragana-jisx0208' and
5063 `katakana-jisx0208'.
5065 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5066 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5067 (struct Lisp_Charset): Add `byte_offset'.
5068 (CHARSET_BYTE_OFFSET): New macro.
5069 (XCHARSET_UCS_MIN): New macro.
5070 (XCHARSET_UCS_MAX): New macro.
5071 (XCHARSET_CODE_OFFSET): New macro.
5072 (XCHARSET_BYTE_OFFSET): New macro.
5073 (MIN_CHAR_HIRAGANA): New macro.
5074 (MAX_CHAR_HIRAGANA): New macro.
5075 (MIN_CHAR_KATAKANA): New macro.
5076 (MAX_CHAR_KATAKANA): New macro.
5077 (MAKE_CHAR): Modify for new coded-charset definition; use
5078 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5079 `XCHARSET_BYTE_OFFSET'.
5081 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5083 * mule-charset.c (CHAR96): Deleted.
5084 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5086 (latin_iso8859_2_to_ucs): Likewise.
5087 (latin_iso8859_3_to_ucs): Likewise.
5088 (latin_iso8859_4_to_ucs): Likewise.
5089 (latin_iso8859_9_to_ucs): Likewise.
5090 (latin_viscii_lower_to_ucs): Likewise.
5091 (latin_viscii_upper_to_ucs): Likewise.
5092 (latin_tcvn5712_to_ucs): Commented out.
5093 (make_charset): Change type of argument `decoding_table' from
5094 <Emchar*> to <Lisp_Object> [vector of characters].
5095 (Fmake_charset): Modify for `make_charset'.
5096 (Fmake_reverse_direction_charset): Likewise.
5097 (Fcharset_mapping_table): New function in UTF-2000.
5098 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5100 (complex_vars_of_mule_charset): Modify for type change of
5101 `*_to_ucs'; modify for `make_charset'.
5103 * char-ucs.h (struct Lisp_Charset): Change type of
5104 `decoding_table' from <Emchar*> to <Lisp_Object>.
5105 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5107 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5109 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5110 error with non-UTF-2000-Mule.
5112 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5114 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5116 (Vcharset_chinese_cns11643_4): Likewise.
5117 (Vcharset_chinese_cns11643_5): Likewise.
5118 (Vcharset_chinese_cns11643_6): Likewise.
5119 (Vcharset_chinese_cns11643_7): Likewise.
5120 (Qchinese_cns11643_3): Likewise.
5121 (Qchinese_cns11643_4): Likewise.
5122 (Qchinese_cns11643_5): Likewise.
5123 (Qchinese_cns11643_6): Likewise.
5124 (Qchinese_cns11643_7): Likewise.
5125 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5126 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5127 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5128 (complex_vars_of_mule_charset): Likewise.
5130 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5132 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5134 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5135 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5137 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5139 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5141 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5142 (breakup_char_1): Likewise.
5144 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5145 one of them includes the specified character.
5147 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5149 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5151 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5153 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5155 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5157 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5158 definition for non-UTF-2000 Mule.
5159 (latin_iso8859_3_to_ucs): Likewise.
5160 (latin_iso8859_4_to_ucs): Likewise.
5161 (latin_iso8859_9_to_ucs): Likewise.
5162 (latin_jisx0201_to_ucs): Likewise.
5163 (MIN_CHAR_THAI): Likewise.
5164 (MAX_CHAR_THAI): Likewise.
5165 (MIN_CHAR_GREEK): Likewise.
5166 (MAX_CHAR_GREEK): Likewise.
5167 (MIN_CHAR_HEBREW): Likewise.
5168 (MAX_CHAR_HEBREW): Likewise.
5169 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5170 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5171 (MIN_CHAR_CYRILLIC): Likewise.
5172 (MAX_CHAR_CYRILLIC): Likewise.
5174 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5176 * char-ucs.h (breakup_char_1): Use
5177 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5178 thai-tis620 and katakana-jisx0201 area.
5180 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5182 * char-ucs.h (breakup_char_1): Use
5183 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5186 * text-coding.c (reset_encoding_stream): Fixed.
5187 (char_encode_ucs4): Delete `& 255'.
5189 * char-ucs.h (breakup_char_1): Use
5190 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5192 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5194 * file-coding.c (Fmake_coding_system): Don't set up
5195 `codesys->fixed.size'.
5196 (encode_coding_no_conversion): Don't refer
5197 `str->codesys->fixed.size'.
5199 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5201 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5202 (latin_a_char_to_byte1): Deleted.
5203 (latin_a_char_to_byte2): Deleted.
5205 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5207 * mule-charset.c (make_charset): Add new argument `ucs_min',
5208 `ucs_max' and `code_offset'.
5209 (charset_get_byte1): New implementation [delete specific charset
5210 depended implementations].
5211 (Fmake_charset): Modify for `make_charset'.
5212 (Fmake_reverse_direction_charset): Likewise.
5213 (complex_vars_of_mule_charset): Likewise.
5215 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5217 (CHARSET_UCS_MIN): New macro.
5218 (CHARSET_UCS_MAX): New macro.
5219 (CHARSET_CODE_OFFSET): New macro.
5220 (MAKE_CHAR): Delete charset depended definitions [except
5223 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5225 * char-ucs.h (breakup_char_1): Use
5226 `Vdefault_coded_charset_priority_list' for C0-Controls,
5227 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5229 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5231 * char-ucs.h (charset_get_byte1): New function.
5232 (XCHARSET_GET_BYTE1): Deleted.
5233 (charset_get_byte2): New function.
5234 (XCHARSET_GET_BYTE2): Deleted.
5235 (Vdefault_coded_charset_priority_list): New external variable.
5236 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5237 `Vdefault_preferred_coded_charset_list'.
5239 * mule-charset.c (charset_get_byte1): New function.
5240 (charset_get_byte2): New function.
5241 (Vdefault_coded_charset_priority_list): New variable.
5242 (vars_of_mule_charset): Add new variable
5243 `default-coded-charset-priority-list'.
5245 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5247 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5248 (XCHARSET_GET_BYTE2): New inline function.
5249 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5250 `XCHARSET_GET_BYTE2'.
5252 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5254 * mule-charset.c (make_charset): Initialize
5255 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5256 NULL if table is not defined.
5258 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5260 * text-coding.c (char_encode_shift_jis): Use
5261 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5262 `ucs_to_latin_jisx0201'.
5264 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5265 (ucs_to_latin_iso8859_2): Deleted.
5266 (ucs_to_latin_iso8859_3): Deleted.
5267 (ucs_to_latin_iso8859_4): Deleted.
5268 (ucs_to_latin_iso8859_9): Deleted.
5269 (ucs_to_latin_viscii_lower): Deleted.
5270 (ucs_to_latin_viscii_upper): Deleted.
5271 (ucs_to_latin_tcvn5712): Deleted.
5272 (make_charset): Add new argument `decoding_table'; set up
5273 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5274 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5275 `decoding_table' is defined in UTF-2000.
5276 (Fmake_charset): Modify for `make_charset'.
5277 (Fmake_reverse_direction_charset): Likewise.
5278 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5279 and `GENERATE_96_SET'.
5281 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5282 (ucs_to_latin_jisx0201): Deleted.
5283 (latin_iso8859_2_to_ucs): Deleted.
5284 (ucs_to_latin_iso8859_2): Deleted.
5285 (latin_iso8859_3_to_ucs): Deleted.
5286 (ucs_to_latin_iso8859_3): Deleted.
5287 (latin_iso8859_4_to_ucs): Deleted.
5288 (ucs_to_latin_iso8859_4): Deleted.
5289 (latin_iso8859_9_to_ucs): Deleted.
5290 (ucs_to_latin_iso8859_9): Deleted.
5291 (latin_viscii_lower_to_ucs): Deleted.
5292 (ucs_to_latin_viscii_lower): Deleted.
5293 (latin_viscii_upper_to_ucs): Deleted.
5294 (ucs_to_latin_viscii_upper): Deleted.
5295 (struct Lisp_Charset): Renamed `encoding_table' to
5296 `to_byte1_table'; add `to_byte2_table'.
5297 (CHARSET_DECODING_TABLE): New macro.
5298 (CHARSET_TO_BYTE1_TABLE): New macro.
5299 (CHARSET_TO_BYTE2_TABLE): New macro.
5300 (XCHARSET_DECODING_TABLE): New macro.
5301 (XCHARSET_TO_BYTE1_TABLE): New macro.
5302 (XCHARSET_TO_BYTE2_TABLE): New macro.
5303 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5305 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5306 don't use `ucs_to_*' tables.
5308 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5310 * text-coding.c (Fmake_coding_system): Don't set up
5311 `codesys->fixed.size'.
5312 (encode_coding_no_conversion): Use `if' instead of `switch'.
5314 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5316 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5318 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5319 (Fmake_charset): Modify for `make_charset'.
5320 (Fmake_reverse_direction_charset): Likewise.
5321 (complex_vars_of_mule_charset): Likewise.
5323 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5325 * text-coding.c (char_encode_shift_jis): Use table
5326 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5328 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5330 * text-coding.c (text_encode_generic): Use `if' instead of
5332 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5335 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5337 * text-coding.c (encode_coding_sjis): Deleted.
5338 (char_encode_shift_jis): New function.
5339 (char_finish_shift_jis): New function.
5340 (reset_encoding_stream): Set up `encode_char' and `finish' for
5341 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5342 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5343 (char_encode_utf8): Treat `eol_type'.
5345 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5347 * file-coding.c (decode_coding_iso2022): Use
5348 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5350 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5352 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5355 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5357 * char-lb.h (CHAR_COLUMNS): New macro.
5359 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5361 * text-coding.c (char_encode_ucs4): New function.
5362 (char_finish_ucs4): New function.
5363 (encode_coding_ucs4): Deleted.
5364 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5365 (text_encode_generic): Delete local variable `charset' and `half'.
5366 (ucs_to_mule_table): Deleted.
5367 (mule_to_ucs_table): Deleted.
5368 (Fset_ucs_char): Deleted.
5369 (ucs_to_char): Deleted.
5370 (Fucs_char): Deleted.
5371 (Fset_char_ucs): Deleted.
5372 (Fchar_ucs): Deleted.
5373 (decode_ucs4): Deleted.
5374 (mule_char_to_ucs4): Deleted.
5375 (encode_ucs4): Deleted.
5376 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5377 (decode_coding_utf8): Likewise.
5378 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5379 (char_encode_iso2022): Fixed.
5380 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5381 `Fset_char_ucs' and `Fchar_ucs'.
5382 (complex_vars_of_file_coding): Don't initialize
5383 `ucs_to_mule_table'.
5385 * objects-tty.c (tty_initialize_font_instance): Don't use
5388 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5391 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5392 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5394 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5395 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5396 (emchar_string_displayed_columns): Likewise.
5398 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5399 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5400 (string_column_at_point): Likewise.
5401 (Fmove_to_column): Likewise.
5403 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5404 `encoding_table' and `decoding_table'.
5405 (CHARSET_REP_BYTES): Deleted.
5406 (XCHARSET_REP_BYTES): Deleted.
5407 (XCHARSET_COLUMNS): Deleted.
5408 (CHAR_COLUMNS): New macro.
5409 (lookup_composite_char): Deleted unconditionally.
5410 (composite_char_string): Likewise.
5412 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5414 * char-ucs.h (Emchar_to_byte_table): New type.
5415 (get_byte_from_character_table): New function interface.
5416 (Vcharset_latin_jisx0201): New variable.
5417 (latin_jisx0201_to_ucs): New variable.
5418 (ucs_to_latin_jisx0201): New variable.
5419 (Vcharset_latin_iso8859_2): New variable.
5420 (latin_iso8859_2_to_ucs): New variable.
5421 (ucs_to_latin_iso8859_2): New variable.
5422 (Vcharset_latin_iso8859_3): New variable.
5423 (latin_iso8859_3_to_ucs): New variable.
5424 (ucs_to_latin_iso8859_3): New variable.
5425 (Vcharset_latin_iso8859_4): New variable.
5426 (latin_iso8859_4_to_ucs): New variable.
5427 (ucs_to_latin_iso8859_4): New variable.
5428 (Vcharset_latin_iso8859_9): New variable.
5429 (latin_iso8859_9_to_ucs): New variable.
5430 (ucs_to_latin_iso8859_9): New variable.
5431 (Vcharset_latin_viscii_lower): New variable.
5432 (latin_viscii_lower_to_ucs): New variable.
5433 (ucs_to_latin_viscii_lower): New variable.
5434 (Vcharset_latin_viscii_upper): New variable.
5435 (latin_viscii_upper_to_ucs): New variable.
5436 (ucs_to_latin_viscii_upper): New variable.
5437 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5438 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5439 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5440 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5441 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5442 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5443 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5444 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5445 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5446 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5448 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5449 (Vcharset_latin_viscii_upper): New variable.
5450 (make_byte_from_character_table): New function.
5451 (put_byte_from_character_table): New function.
5452 (get_byte_from_character_table): New function.
5453 (CHAR96): New macro.
5454 (ucs_to_latin_jisx0201): New variable.
5455 (latin_jisx0201_to_ucs): New variable.
5456 (ucs_to_latin_iso8859_2): New variable.
5457 (latin_iso8859_2_to_ucs): New variable.
5458 (ucs_to_latin_iso8859_3): New variable.
5459 (latin_iso8859_3_to_ucs): New variable.
5460 (ucs_to_latin_iso8859_4): New variable.
5461 (latin_iso8859_4_to_ucs): New variable.
5462 (ucs_to_latin_iso8859_9): New variable.
5463 (latin_iso8859_9_to_ucs): New variable.
5464 (ucs_to_latin_viscii_lower): New variable.
5465 (latin_viscii_lower_to_ucs): New variable.
5466 (ucs_to_latin_viscii_upper): New variable.
5467 (latin_viscii_upper_to_ucs): New variable.
5468 (ucs_to_latin_tcvn5712): New variable.
5469 (latin_tcvn5712_to_ucs): New variable.
5470 (Qlatin_viscii_lower): New variable.
5471 (Qlatin_viscii_upper): New variable.
5472 (syms_of_mule_charset): Set up new symbol
5473 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5474 (complex_vars_of_mule_charset): Set up new charset
5475 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5476 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5477 `ucs_to_<CHARSET>' tables.
5479 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5481 * text-coding.c: New file.
5483 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5485 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5487 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5488 (MAKE_CHAR): Modify for `ucs-bmp'.
5489 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5490 non-MULE characters of BMP.
5492 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5494 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5497 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5500 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5501 - Include character.h for `CHAR_ASCII_P'.
5503 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5505 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5506 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5508 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5509 (BYTE_C0_P): Likewise.
5510 (BYTE_C1_P): Likewise.
5511 (Lstream_get_emchar_1): Likewise.
5512 (Lstream_fput_emchar): Likewise.
5513 (Lstream_funget_emchar): Likewise.
5514 (copy_internal_to_external): Likewise.
5515 (copy_external_to_internal): Likewise.
5517 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5518 (BYTE_C0_P): Likewise.
5519 (BYTE_C1_P): Likewise.
5520 (Lstream_get_emchar_1): Likewise.
5521 (Lstream_fput_emchar): Likewise.
5522 (Lstream_funget_emchar): Likewise.
5523 (copy_internal_to_external): Likewise.
5524 (copy_external_to_internal): Likewise.
5526 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5527 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5529 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5530 (BYTE_ASCII_P): Moved to mb-1byte.h.
5532 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5534 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5536 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5537 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5538 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5539 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5540 (VALIDATE_CHARPTR_FORWARD): Likewise.
5541 (simple_charptr_emchar): Moved to mb-multibyte.h.
5542 (simple_set_charptr_emchar): Likewise.
5543 (simple_charptr_copy_char): Likewise.
5544 (non_ascii_charptr_emchar): Likewise.
5545 (non_ascii_set_charptr_emchar): Likewise.
5546 (non_ascii_charptr_copy_char): Likewise.
5547 (charptr_emchar): Moved to mb-*byte.h.
5548 (set_charptr_emchar): Likewise.
5549 (charptr_copy_char): Likewise.
5551 * mb-1byte.h, mb-multibyte.h: New files.
5553 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5555 * mb-utf-8.h (MULTIBYTE): New macro.
5556 (MAX_EMCHAR_LEN): Moved from buffer.h.
5557 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5559 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5561 * mb-lb.h, multibyte.h: New files.
5563 * char-1byte.h (Charset_ID): Moved from buffer.h.
5564 (MIN_LEADING_BYTE): Likewise.
5565 (LEADING_BYTE_ASCII): Likewise.
5566 (NUM_LEADING_BYTES): Likewise.
5567 (CHARSETP): Likewise.
5568 (CHARSET_BY_LEADING_BYTE): Likewise.
5569 (XCHARSET_LEADING_BYTE): Likewise.
5570 (XCHARSET_GRAPHIC): Likewise.
5571 (XCHARSET_COLUMNS): Likewise.
5572 (XCHARSET_DIMENSION): Likewise.
5573 (CHAR_CHARSET): Likewise.
5574 (CHAR_LEADING_BYTE): Likewise.
5575 (BREAKUP_CHAR): Likewise.
5576 (Vcharset_ascii): Likewise.
5578 * buffer.h: Include multibyte.h unconditionally.
5579 (VALID_CHARPTR_P): Moved to multibyte.h.
5580 (ASSERT_VALID_CHARPTR): Likewise.
5581 (REAL_INC_CHARPTR): Likewise.
5582 (REAL_INC_CHARBYTIND): Likewise.
5583 (REAL_DEC_CHARPTR): Likewise.
5584 (INC_CHARPTR): Likewise.
5585 (INC_CHARBYTIND): Likewise.
5586 (DEC_CHARPTR): Likewise.
5587 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5588 (VALIDATE_CHARPTR_FORWARD): Likewise.
5589 (charptr_n_addr): Likewise.
5590 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5591 (simple_charptr_emchar): Moved to multibyte.h.
5592 (simple_set_charptr_emchar): Likewise.
5593 (simple_charptr_copy_char): Likewise.
5594 (non_ascii_charptr_emchar): Likewise.
5595 (non_ascii_set_charptr_emchar): Likewise.
5596 (non_ascii_charptr_copy_char): Likewise.
5597 (charptr_emchar): Likewise.
5598 (set_charptr_emchar): Likewise.
5599 (charptr_copy_char): Likewise.
5600 (charptr_emchar_n): Likewise.
5601 (Charset_ID): Moved to char-1byte.h.
5602 (Vcharset_ascii): Likewise.
5603 (CHAR_CHARSET): Likewise.
5604 (CHAR_LEADING_BYTE): Likewise.
5605 (LEADING_BYTE_ASCII): Likewise.
5606 (NUM_LEADING_BYTES): Likewise.
5607 (MIN_LEADING_BYTE): Likewise.
5608 (CHARSETP): Likewise.
5609 (CHARSET_BY_LEADING_BYTE): Likewise.
5610 (XCHARSET_LEADING_BYTE): Likewise.
5611 (XCHARSET_GRAPHIC): Likewise.
5612 (XCHARSET_COLUMNS): Likewise.
5613 (XCHARSET_DIMENSION): Likewise.
5614 (BREAKUP_CHAR): Likewise.
5616 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5618 * character.h: Add document about interface for characters.
5620 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5621 (MAKE_CHAR): Delete comment about
5622 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5623 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5624 (BREAKUP_CHAR): Modify name of arguments.
5625 (CHAR_CHARSET): Modify name of argument.
5627 * buffer.h: Delete document about Emchar accessors.
5629 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5631 * character.h (CHAR_INTP): Moved from buffer.h
5632 (CHAR_OR_CHAR_INTP): Likewise.
5633 (XCHAR_OR_CHAR_INT): Likewise.
5634 (CHECK_CHAR_COERCE_INT): Likewise.
5636 * buffer.h (CHAR_INTP): Moved to character.h
5637 (CHAR_OR_CHAR_INTP): Likewise.
5638 (XCHAR_OR_CHAR_INT): Likewise.
5639 (CHECK_CHAR_COERCE_INT): Likewise.
5641 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5644 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5645 - Include char-1byte.h, char-lb.h or char-ucs.h.
5647 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5649 * buffer.h: Include character unconditionally.
5650 (valid_char_p): Moved to char-*.h.
5651 (non_ascii_valid_char_p): Moved to char-lb.h.
5653 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5655 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5657 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5658 in UTF-2000 because it is not ported yet and not to use
5659 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5660 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5661 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5663 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5664 (CHAR_ASCII_P): Moved from character.h.
5666 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5667 (CHAR_ASCII_P): Likewise.
5668 (CHAR_FIELD1_MASK): Deleted.
5669 (CHAR_FIELD2_MASK): Deleted.
5670 (CHAR_FIELD3_MASK): Deleted.
5671 (MAX_CHAR_BASIC_LATIN): New macro.
5672 (CHAR_FIELD1): Deleted.
5673 (CHAR_FIELD2_INTERNAL): Deleted.
5674 (CHAR_FIELD3_INTERNAL): Deleted.
5675 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5676 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5677 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5678 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5679 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5680 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5681 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5682 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5683 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5684 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5685 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5686 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5687 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5688 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5689 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5690 (MIN_CHAR_COMPOSITION): Deleted.
5691 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5692 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5694 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5696 * buffer.h: Include mb-utf-8.h in UTF-2000.
5698 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5700 * mb-utf-8.h: New file.
5702 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5704 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5707 * mule-charset.h, buffer.h (Charset_ID): New type.
5709 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5711 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5712 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5713 instead of `MULE_CHAR_PRIVATE_OFFSET',
5714 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5715 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5716 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5718 * character.h (Vcharset_japanese_jisx0212): New variable
5721 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5723 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5724 (charset_by_attributes): Delete array about direction.
5725 (latin_a_char_to_charset): New variable in UTF-2000.
5726 (latin_a_char_to_byte1): New variable in UTF-2000.
5727 (latin_a_char_to_byte2): New variable in UTF-2000.
5728 (Qucs_bmp): New variable.
5729 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5731 (next_allocated_2_byte_leading_byte): Likewise.
5732 (non_ascii_set_charptr_emchar): Likewise.
5733 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5734 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5735 `charset_by_attributes'.
5736 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5737 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5738 and `CHARSET_BY_LEADING_BYTE'.
5739 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5740 `utf-2000-version' to `vars_of_mule_charset'.
5741 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5742 define `leading-code-private-11' in UTF-2000; move setting of
5743 `utf-2000-version' from `syms_of_mule_charset'.
5744 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5747 * character.h (Charset_ID): New type.
5748 (LEADING_BYTE_UCS_BMP): New macro.
5749 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5750 (CHARSET_ID_OFFSET_94): New macro.
5751 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5752 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5753 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5755 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5756 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5757 (CHARSET_ID_OFFSET_96): New macro.
5758 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5759 CHARSET_ID_OFFSET_96 and final-byte.
5760 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5761 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5762 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5763 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5764 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5765 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5766 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5767 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5768 (LEADING_BYTE_THAI_TIS620): Likewise.
5769 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5770 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5771 (CHARSET_ID_OFFSET_94x94): New macro.
5772 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5773 CHARSET_ID_OFFSET_94x94 and final-byte.
5774 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5775 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5776 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5777 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5778 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5779 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5780 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5781 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5782 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5783 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5784 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5785 (CHARSET_TYPE_128X128): New macro.
5786 (CHARSET_TYPE_256X256): New macro.
5787 (XCHARSET_PRIVATE_P): Delete unconditionally.
5788 (charset_by_attributes): Delete array about direction.
5789 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5790 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5791 (MIN_CHAR_94): New macro.
5792 (MAX_CHAR_94): New macro.
5793 (MIN_CHAR_96): New macro.
5794 (MAX_CHAR_96): New macro.
5795 (MIN_CHAR_94x94): New macro.
5796 (MAX_CHAR_94x94): New macro.
5797 (MIN_CHAR_96x96): New macro.
5798 (MAX_CHAR_96x96): New macro.
5799 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5800 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5801 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5803 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5804 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5805 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5806 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5807 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5808 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5809 `XCHARSET_LEADING_BYTE' to make code-point.
5810 (latin_a_char_to_charset): New variable.
5811 (latin_a_char_to_byte1): New variable.
5812 (latin_a_char_to_byte2): New variable.
5813 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5814 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5815 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5817 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5818 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5819 (find_charsets_in_emchar_string): Likewise.
5820 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5822 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5824 (decode_coding_iso2022): Likewise.
5826 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5829 * redisplay.c (redisplay_text_width_emchar_string): Use
5830 `Charset_ID' instead of `unsigned char'.
5831 (redisplay_frame_text_width_string): Likewise.
5833 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5836 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5837 instead of `unsigned char'.
5838 (face_cachel_charset_font_metric_info): Likewise.
5840 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5841 (get_non_ascii_char_table_value): Likewise.
5842 (get_char_table): Likewise.
5843 (put_char_table): Likewise.
5844 (map_over_other_charset): Likewise.
5845 (map_char_table): Likewise.
5847 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5848 instead of `unsigned char'.
5850 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5852 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5853 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5855 * mule-charset.c (leading_code_private_11): Don't define in
5858 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5859 in UTF-2000 because it is not ported yet and not to use
5860 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5862 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5864 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5866 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5868 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5871 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5872 of unsigned char to store leading-byte.
5874 * chartab.c (get_non_ascii_char_table_value): Don't use
5875 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5877 * file-coding.c (encode_coding_big5): Delete bogus implementation
5880 * character.h (LEADING_BYTE_*): Delete definition for
5882 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5883 (LEADING_BYTE_PREFIX_P): Deleted.
5884 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5885 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5886 (BUFBYTE_LEADING_BYTE_P): Deleted.
5887 (CHARSET_PRIVATE_P): Deleted unconditionally.
5888 (rep_bytes_by_first_byte): Deleted unconditionally.
5889 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5890 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5891 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5892 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5893 (CHAR_FIELD2): Deleted.
5894 (CHAR_FIELD3): Deleted.
5895 (MAKE_CHAR): Delete definition for non-UTF-2000.
5896 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5897 (breakup_char_1): New implementation.
5898 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5899 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5901 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5903 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5906 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5908 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5909 (CHARSET_PRIVATE_P): Likewise.
5910 (XCHARSET_PRIVATE_P): Likewise.
5911 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5913 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5915 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5917 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5919 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5920 (NUM_LEADING_BYTES): Changed from 128 to 256.
5921 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5922 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5924 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5926 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5928 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5929 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5930 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5931 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5932 (Qchinese_cns11643_3): New variable in UTF2000.
5933 (Qchinese_cns11643_4): New variable in UTF2000.
5934 (Qchinese_cns11643_5): New variable in UTF2000.
5935 (Qchinese_cns11643_6): New variable in UTF2000.
5936 (Qchinese_cns11643_7): New variable in UTF2000.
5937 (syms_of_mule_charset): Define `chinese-cns11643-3',
5938 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5939 and `chinese-cns11643-7' in UTF2000.
5940 (vars_of_mule_charset): Initialize
5941 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5943 (complex_vars_of_mule_charset): Setup charset
5944 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5945 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5947 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5949 * mule-charset.c: Move setting for `leading-code-private-11' from
5950 `syms_of_mule_charset' to `vars_of_mule_charset'.
5952 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5954 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5955 and `NUM_LEADING_BYTES' in assert.
5957 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5959 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5961 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5962 `NUM_LEADING_BYTES' instead of 128.
5964 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5966 * mule-charset.h (charset_by_leading_byte): Use
5967 `NUM_LEADING_BYTES' instead of 128.
5968 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5970 * mule-charset.c (charset_by_leading_byte): Use
5971 `NUM_LEADING_BYTES' instead of 128.
5972 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5974 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5977 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5979 * mule-charset.c (syms_of_mule_charset): Update to
5982 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5984 * file-coding.c (encode_coding_sjis): New implementation for
5985 UTF2000. (decode_coding_sjis): Ditto.
5987 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5989 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5990 Don't define in UTF2000.
5992 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5995 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5996 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5999 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6001 * config.h.in (CHAR_IS_UCS4): New macro.
6003 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6004 conventional MULE representation.
6005 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6007 * mule-charset.h: Reverted to original.
6009 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6010 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6011 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6013 * character.h: New file.
6015 * file-coding.c (Fmake_coding_system): Set 1 to
6016 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6018 (encode_coding_no_conversion): New implementation for UTF2000.
6020 * file-coding.h (struct Lisp_Coding_System): Add new member
6023 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6025 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6026 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6027 (encode_coding_iso2022): New implementation for UTF2000.
6029 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6031 * mule-canna.c (c2mu): New implementation for UTF2000.
6034 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6036 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6038 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6040 * file-coding.c (reset_encoding_stream): Set 0 to
6041 `str->iso2022.current_char_boundary' in UTF2000.
6042 (encode_utf8): Don't define in UTF2000.
6043 (encode_coding_utf8): New implementation for UTF-8 representation
6045 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6047 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6049 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6051 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6053 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6055 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6057 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6058 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6059 as UTF-8 in UTF2000.
6060 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6061 (non_ascii_valid_char_p): Don't define in UTF2000.
6062 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6063 (Lstream_get_emchar_1): Likewise.
6064 (utf-2000-version): New variable in UTF2000.
6066 * lread.c (read_escape): Add new reader `u'.
6068 * insdel.c (three_to_one_table): Don't define in UTF2000.
6069 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6070 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6072 (bytind_to_bufpos_func): Likewise.
6073 (buffer_mule_signal_inserted_region): Likewise.
6074 (vars_of_insdel): Don't initialize `three_to_one_table'.
6075 (init_buffer_text): Use `buf->text->mule_size' instead of
6076 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6079 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6080 UTF-8 representation in UTF2000.
6081 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6082 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6083 (decode_coding_iso2022): Don't define local variable `lb' in
6084 UTF2000; don't use LEADING_BYTE in UTF2000; use
6085 `DECODE_ADD_UCS_CHAR' in UTF2000.
6086 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6088 * config.h.in (UTF2000): New macro.
6090 * buffer.h (struct buffer_text): Add new member `mule_size' and
6091 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6092 (valid_char_p): Return always 1 in UTF2000.
6093 (MAX_EMCHAR_LEN): 6 in UTF2000.
6094 (three_to_one_table): Don't define in UTF2000.
6095 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6097 (real_bytind_to_bufpos): Likewise.
6099 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6101 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6103 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6104 representation change.
6105 (Vutf_2000_version): New variable.
6106 (leading_code_private_11): New variable.
6107 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6108 `leading-code-private-11'.
6110 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6111 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6112 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6113 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6114 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6115 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6116 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6117 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6118 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6119 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6120 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6121 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6122 (MIN_CHAR_GREEK): New macro.
6123 (MAX_CHAR_GREEK): New macro.
6124 (MIN_CHAR_CYRILLIC): New macro.
6125 (MAX_CHAR_CYRILLIC): New macro.
6126 (MIN_CHAR_HEBREW): New macro.
6127 (MAX_CHAR_HEBREW): New macro.
6128 (MIN_CHAR_THAI): New macro.
6129 (MAX_CHAR_THAI): New macro.
6130 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6131 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6132 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6133 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6134 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6135 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6136 (CHAR_FIELD2): New inline function.
6137 (CHAR_FIELD3): New inline function.
6138 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6139 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6140 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6141 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6142 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6143 (MIN_CHAR_COMPOSITION): Likewise.
6144 (CHAR_LEADING_BYTE): Modified for character representation change.
6145 (MAKE_CHAR): Likewise.
6147 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6148 (Vcharset_greek_iso8859_7): Likewise.
6149 (Vcharset_cyrillic_iso8859_5): Likewise.
6150 (Vcharset_hebrew_iso8859_8): Likewise.
6151 (Vcharset_thai_tis620): Likewise.
6152 (Vcharset_katakana_jisx0201): Likewise.
6154 2008-12-28 Vin Shelton <acs@xemacs.org>
6156 * XEmacs 21.4.22 is released
6158 2008-12-27 Vin Shelton <acs@xemacs.org>
6160 * syswindows.h: Don't define wide character interfaces for Cygwin
6163 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6165 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6167 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6169 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6170 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6172 2008-12-25 Vin Shelton <acs@xemacs.org>
6174 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6175 By Julian Bradfield in
6176 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6178 * mule-ccl.c (ccl_driver):
6180 2007-10-07 Vin Shelton <acs@xemacs.org>
6182 * XEmacs 21.4.21 is released
6184 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6186 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6188 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6190 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6191 (png_instantiate): Initialize setjmp_buffer early, and avoid
6192 recursive entry to error handler.
6194 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6196 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6199 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6201 * event-Xt.c (x_reset_modifier_mapping):
6202 * event-gtk.c (gtk_reset_modifier_mapping):
6203 Zero out the device's modifier map once we've freed it, to prevent
6204 a double free on a re-entrant call.
6206 2007-05-17 Vin Shelton <acs@xemacs.org>
6208 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6209 64-bit linux. Patch from Hans de Graaff.
6211 2007-05-02 Vin Shelton <acs@xemacs.org>
6213 * dumper.c (pdump): Don't close pdump_fd (already closed by
6214 fclose() call. Patch from Steve Higham.
6215 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6216 already closed. Patch inspired by Steve Higham.
6218 2007-05-01 Vin Shelton <acs@xemacs.org>
6220 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6221 (mswindows_fstat): Ditto.
6222 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6224 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6226 * postgresql.c: Update Steve Baur's email address by his request.
6227 * postgresql.h: Ditto.
6229 2007-01-04 Vin Shelton <acs@xemacs.org>
6231 * fileio.c (check_writable): Check old-style readonly bit only for
6234 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6236 * src/fileio.c (check_writable):
6237 Cope with the fact that the read-only attribute trumps Windows NTFS
6241 2006-12-09 Vin Shelton <acs@xemacs.org>
6243 * XEmacs 21.4.20 is released
6245 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6247 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6248 relocated the definitions to be used sooner in file.
6249 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6250 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6253 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6255 * sound.c (init_native_sound):
6256 Only X11 and GTK devices can possibly not be on the console of the
6257 associated machine. Fixes a crash when init_native_sound is called
6258 on a msprinter device.
6260 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6262 * buffer.c (buffer-file-name): Document invariant.
6263 (buffer-file-truename): Sync wording to buffer-file-name.
6264 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6267 2006-11-19 Benson Margulies <benson@dchbk.us>
6269 * fileio.c: Add code to use full Win32 API to check for write
6270 access. Win32 has the general design policy that you aren't
6271 supposed to ask this question, since security checks change
6272 depending on asynchronous processes. Nonetheless, there is a way,
6273 by acting as if we are a server doing interpretive access
6276 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6278 * bytecode.c: Use xnew_array instead of alloca.
6280 2006-07-04 Vin Shelton <acs@xemacs.org>
6282 * redisplay-msw.c: Fix tiny, but crucial typo.
6284 2006-06-22 Jerry James <james@xemacs.org>
6286 * EmacsShell-sub.c (ChangeManaged):
6287 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6289 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6290 checking if it is NULL. Also fix a memory leak.
6291 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6292 dereference it, not the other way around.
6293 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6295 * dumper.c (pdump_register_struct): Ditto.
6296 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6297 to (short) warnpath overflow warnpath.
6298 * extents.c (detach_all_extents): Call extent_list_delete_all with
6299 a non-NULL parameter only.
6300 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6301 NULL width and height.
6302 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6303 xic before checking if they are NULL.
6304 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6306 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6307 * nas.c (Err): Fix a memory leak.
6308 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6309 Don't create the buffer if there is nothing to do.
6310 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6311 * redisplay-output.c (redisplay_output_layout): Ditto.
6312 * redisplay-tty.c (tty_output_display_block): Ditto.
6313 * redisplay-x.c (x_output_display_block): Ditto.
6314 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6315 dereference instance->scrollbar_data if it is NULL.
6316 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6317 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6318 for sb->scrollbar_data.
6319 * sound.c (init_native_sound): Avoid a buffer overflow by
6320 allocating a buffer with the appropriate size.
6322 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6324 * EmacsShell-sub.c (RootGeometryManager):
6325 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6326 Based on a suggestion by Francois L'Archeveque.
6328 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6330 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6331 current values found in GNU Emacs.
6333 2006-03-17 Vin Shelton <acs@xemacs.org>
6335 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6336 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6338 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6339 'hex_initialized' because it conflicts with 'initialized' in
6342 2006-01-28 Vin Shelton <acs@xemacs.org>
6344 * XEmacs 21.4.19 is released
6346 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6348 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6350 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6352 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6355 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6357 * database.c: Suppress compiler warning under Cygwin.
6358 * database.c: Removed __FreeBSD__ check, should be handled by
6359 HAVE_U_xxx_T defines.
6361 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6363 * console.c (stuff_buffered_input): Compile body only if
6366 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6368 * callproc.c: #include sysdir.h, so that any appropriate Mule
6369 magic happens with the chdir() call when calling a subprocess.
6371 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6373 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6374 * mule-ccl.c: Check that a character set exists before using it
6375 to create a character.
6377 2005-12-06 Vin Shelton <acs@xemacs.org>
6379 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6382 2005-12-03 Vin Shelton <acs@xemacs.org>
6384 * XEmacs 21.4.18 is released
6386 2005-11-27 Kean Johnston <kean@armory.com>
6388 * redisplay-tty.c (set_tty_modes):
6389 (reset_tty_modes): disable auto-margins if the terminal supports
6391 (init_tty_for_redisplay): fix cursor shape.
6393 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6395 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6396 for control-1 characters properly, both when reading multibyte
6397 characters and writing them.
6399 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6401 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6402 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6403 were seeing with incremental selection transfer failing.
6405 2005-11-26 Vin Shelton <acs@xemacs.org>
6407 * callproc.c (Fold_call_process_internal): Create the buffer if it
6408 does not already exist. The original patch came from Ben Wing in
6409 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6411 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6413 * callproc.c: Process-related docstring improvements spurred by
6416 2005-11-25 Vin Shelton <acs@xemacs.org>
6418 * depend: Regenerated.
6420 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6422 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6423 says it clashes with a global with the same name.
6425 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6427 * sysdll.c (dll_open): Under MacOS X return NULL under the
6428 filename is NULL. Fixes problems finding local symbols under 10.4
6431 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6433 * config.h.in: New HAVE_U_INT*_T defines.
6435 * database.c: Only use u_int*_t typedefs if not already
6438 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6440 * src/process-unix.c (unix_open_network_stream): moved
6441 'portbuf' buffer out of an inner block as it is used in the
6442 entire function. With gcc4, the stack may get corrupted
6443 after leaving this block. This patches adjusts the size of
6444 the used buffer also; static '128' bytes are far too much
6445 currently and might not suffice for future architectures
6446 (e.g. for 512 bit ones ;)). Instead of, use only the really
6447 required space (max octets * ln(256)/ln(10) chars + space
6448 for '\0' and the sign)
6450 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6452 * callproc.c: Include sysdir.h, so any necessary Mule processing
6453 is done on the current directory name before starting a new
6456 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6458 * chartab.c (Fchar_table_p):
6459 (Fget_range_char_table):
6462 Describe range representation and fix typo.
6464 2005-02-12 Vin Shelton <acs@xemacs.org>
6466 * emacs.c (shut_down_emacs): Advise users to send email to the
6467 xemacs-beta list instead of crashes@xemacs.org.
6469 2005-02-03 David Evers <extsw@appliedgenerics.com>
6471 * process-unix.c (unix_send_process): Flush the last chunk, even
6472 when the pipe is blocked.
6474 2005-02-06 Vin Shelton <acs@xemacs.org>
6476 * XEmacs 21.4.17 is released
6478 2005-01-31 Ben Wing <ben@xemacs.org>
6481 Define assert_failed() always.
6483 Always define ABORT().
6485 2005-01-25 Ben Wing <ben@xemacs.org>
6488 * Makefile.in.in (%.o):
6489 Don't compile executable as Windows (-mwindows) under Cygwin.
6490 Semi-recent changes to Cygwin's executable-startup handling make
6491 it impossible to access the TTY this way.
6493 Don't use special linker file under Cygwin (cygwin.sc) except
6494 when non-PDUMP (even in this case it is highly questionable); you
6497 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6498 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6500 2005-01-29 Ben Wing <ben@xemacs.org>
6502 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6504 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6506 2005-01-29 Ben Wing <ben@xemacs.org>
6508 * bytecode.c (optimize_compiled_function):
6510 * print.c (long_to_string):
6511 Add casts to avoid warning.
6514 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6515 #### The better solution is to move the TIFF and JPEG code to
6518 * glyphs-msw.c (mswindows_xbm_instantiate):
6519 Define __STDC__ to avoid problems with compface.h.
6521 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6523 * EmacsShell-sub.c (ABORT):
6524 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6525 * EmacsShell-sub.c (RootGeometryManager):
6527 * EmacsShell.c (ABORT):
6528 * EmacsShell.c (EmacsShellUpdateSizeHints):
6529 * alloc.c (free_lcrecord):
6530 * alloca.c (i00afunc):
6531 * buffer.c (delete_from_buffer_alist):
6532 * buffer.c (MARKED_SLOT):
6533 * bytecode.c (execute_rare_opcode):
6534 * bytecode.c (optimize_byte_code):
6535 * bytecode.c (Ffetch_bytecode):
6536 * chartab.c (char_table_type_to_symbol):
6537 * chartab.c (Freset_char_table):
6538 * chartab.c (decode_char_table_range):
6539 * chartab.c (Fget_range_char_table):
6540 * chartab.c (check_valid_char_table_value):
6541 * chartab.c (map_char_table):
6542 * chartab.c (slow_map_char_table_fun):
6543 * chartab.c (chartab_instantiate):
6544 * cm.c (cmcheckmagic):
6545 * console-msw.c (DHEADER):
6546 * console.c (MARKED_SLOT):
6547 * data.c (finish_marking_weak_lists):
6548 * data.c (encode_weak_list_type):
6549 * debug.h (DASSERT):
6550 * device-gtk.c (gtk_init_device):
6551 * device-msw.c (mswindows_get_default_margin):
6552 * device-tty.c (tty_init_device):
6553 * device-x.c (get_device_from_display):
6554 * device-x.c (x_get_visual_depth):
6555 * doprnt.c (parse_doprnt_spec):
6556 * doprnt.c (get_doprnt_args):
6557 * dumper.c (pdump_get_indirect_count):
6558 * dumper.c (pdump_register_sub):
6559 * dumper.c (pdump_register_object):
6560 * dumper.c (pdump_register_struct):
6561 * dumper.c (pdump_dump_data):
6562 * dumper.c (pdump_reloc_one):
6563 * elhash.c (print_hash_table):
6564 * elhash.c (make_standard_lisp_hash_table):
6565 * elhash.c (hash_table_instantiate):
6567 * emacs.c (Fforce_debugging_signal):
6568 * emacs.c (sort_args):
6570 * emacs.c (assert_failed):
6571 * eval.c (throw_or_bomb_out):
6572 * eval.c (signal_1):
6575 * event-Xt.c (emacs_Xt_mapping_action):
6576 * event-Xt.c (Xt_process_to_emacs_event):
6578 * event-stream.c (check_event_stream_ok):
6579 * event-stream.c (Fadd_timeout):
6580 * event-stream.c (Fadd_async_timeout):
6581 * event-stream.c (Fdiscard_input):
6582 * event-stream.c (execute_internal_event):
6583 * event-stream.c (Frecent_keys):
6584 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6585 * event-stream.c (lookup_command_event):
6586 * event-unixoid.c (poll_fds_for_input):
6588 * events.c (mark_event):
6589 * events.c (event_equal):
6590 * events.c (event_hash):
6591 * events.c (Fmake_event):
6592 * events.c (Fdeallocate_event):
6593 * events.c (event_chain_find_previous):
6594 * events.c (event_to_character):
6595 * events.c (format_event_object):
6596 * events.c (Fevent_type):
6597 * events.c (event_pixel_translation):
6598 * events.c (Fevent_properties):
6599 * extents.c (extent_in_region_p):
6600 * extents.c (print_extent):
6601 * extents.c (process_extents_for_insertion_mapper):
6602 * extents.c (report_extent_modification_mapper):
6603 * extents.c (glyph_layout_to_symbol):
6604 * faces.c (face_validate):
6605 * file-coding.c (eol_type_to_symbol):
6606 * file-coding.c (subsidiary_coding_system):
6607 * file-coding.c (Fcoding_system_type):
6608 * file-coding.c (Fcoding_system_property):
6609 * file-coding.c (mule_decode):
6610 * file-coding.c (mule_encode):
6611 * file-coding.c (encode_coding_ucs4):
6612 * file-coding.c (encode_coding_utf8):
6613 * file-coding.c (parse_iso2022_esc):
6614 * file-coding.c (encode_coding_iso2022):
6619 * fns.c (Fbase64_encode_region):
6620 * fns.c (Fbase64_encode_string):
6621 * fns.c (Fbase64_decode_region):
6622 * fns.c (Fbase64_decode_string):
6623 * font-lock.c (find_context):
6624 * font-lock.c (context_to_symbol):
6625 * frame-gtk.c (gtk_set_frame_pointer):
6626 * frame-gtk.c (gtk_update_frame_external_traits):
6627 * frame-x.c (x_wm_mark_shell_size_user_specified):
6628 * frame-x.c (x_wm_mark_shell_position_user_specified):
6629 * frame-x.c (x_wm_set_shell_iconic_p):
6630 * frame-x.c (x_wm_set_cell_size):
6631 * frame-x.c (x_wm_set_variable_size):
6632 * frame-x.c (x_wm_store_class_hints):
6633 * frame-x.c (x_wm_maybe_store_wm_command):
6634 * frame-x.c (x_initialize_frame_size):
6635 * frame-x.c (x_update_frame_external_traits):
6637 * frame.c (delete_frame_internal):
6638 * frame.c (mouse_pixel_position_1):
6639 * frame.c (change_frame_size_1):
6640 * free-hook.c (check_free):
6641 * free-hook.c (check_realloc):
6642 * free-hook.c (note_block_input):
6643 * free-hook.c (log_gcpro):
6644 * gccache-gtk.c (gc_cache_lookup):
6645 * glyphs-eimage.c (tiff_memory_write):
6646 * glyphs-gtk.c (gtk_finalize_image_instance):
6647 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6648 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6649 * glyphs-gtk.c (gtk_xpm_instantiate):
6650 * glyphs-gtk.c (gtk_unmap_subwindow):
6651 * glyphs-gtk.c (gtk_map_subwindow):
6652 * glyphs-gtk.c (gtk_button_redisplay):
6654 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6655 * glyphs-x.c (init_image_instance_from_xbm_inline):
6656 * glyphs-x.c (extract_xpm_color_names):
6657 * glyphs-x.c (x_xpm_instantiate):
6658 * glyphs.c (get_image_instantiator_governing_domain):
6659 * glyphs.c (print_image_instance):
6660 * glyphs.c (image_instance_equal):
6661 * glyphs.c (image_instance_hash):
6662 * glyphs.c (encode_image_instance_type):
6663 * glyphs.c (make_image_instance_1):
6664 * glyphs.c (inherit_instantiate):
6665 * glyphs.c (image_instantiate):
6666 * glyphs.c (allocate_glyph):
6667 * glyphs.c (Fglyph_type):
6668 * glyphs.c (redisplay_subwindow):
6669 * glyphs.c (display_table_entry):
6670 * gtk-glue.c (xemacs_list_to_gtklist):
6671 * gtk-glue.c (xemacs_gtklist_to_list):
6672 * gtk-glue.c (xemacs_list_to_array):
6673 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6674 * gutter.c (gutter_was_visible):
6675 * gutter.c (get_gutter_coords):
6676 * input-method-xlib.c (get_XIM_input):
6677 * insdel.c (bufpos_to_bytind_func):
6678 * insdel.c (bytind_to_bufpos_func):
6679 * insdel.c (move_gap):
6680 * intl.c (x_get_composed_input):
6681 * keymap.c (keymap_lookup_directly):
6682 * keymap.c (keymap_delete_inverse_internal):
6683 * keymap.c (ensure_meta_prefix_char_keymapp):
6684 * keymap.c (accessible_keymaps_mapper_1):
6685 * keymap.c (where_is_recursive_mapper):
6688 * lread.c (read_atom):
6689 * lstream.c (Lstream_delete):
6690 * lstream.c (make_lisp_buffer_stream_1):
6691 * macros.c (pop_kbd_macro_event):
6692 * malloc.c (malloc):
6694 * marker.c (bi_marker_position):
6695 * marker.c (set_bi_marker_position):
6696 * menubar-gtk.c (menu_descriptor_to_widget_1):
6697 * menubar-msw.c (prune_menubar):
6698 * menubar-x.c (set_frame_menubar):
6699 * mule-charset.c (get_unallocated_leading_byte):
6700 * mule-charset.h (CHAR_LEADING_BYTE):
6701 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6702 * nt.c (init_environment):
6703 * nt.c (generate_inode_val):
6704 * ntproc.c (delete_child):
6705 * ntproc.c (_sys_read_ahead):
6706 * ntproc.c (create_child):
6707 * objects.c (color_instantiate):
6708 * objects.c (font_instantiate):
6709 * objects.c (face_boolean_instantiate):
6710 * print.c (printing_major_badness):
6711 * process-nt.c (nt_send_process):
6712 * process-unix.c (unix_send_process):
6713 * process.c (get_process):
6714 * ralloc.c (obtain):
6715 * ralloc.c (relinquish):
6716 * ralloc.c (relocate_blocs):
6717 * ralloc.c (resize_bloc):
6718 * ralloc.c (r_alloc_free):
6719 * ralloc.c (r_re_alloc):
6720 * ralloc.c (r_alloc_thaw):
6721 * ralloc.c (init_ralloc):
6722 * ralloc.c (Free_Addr_Block):
6723 * ralloc.c (r_alloc):
6724 * redisplay-gtk.c (gtk_output_display_block):
6725 * redisplay-msw.c (mswindows_output_display_block):
6726 * redisplay-output.c (get_next_display_block):
6727 * redisplay-output.c (get_cursor_size_and_location):
6728 * redisplay-output.c (redisplay_output_layout):
6729 * redisplay-output.c (redisplay_clear_region):
6730 * redisplay-tty.c (tty_output_display_block):
6731 * redisplay-x.c (x_output_display_block):
6732 * redisplay.c (add_propagation_runes):
6733 * redisplay.c (add_glyph_rune):
6734 * redisplay.c (create_text_block):
6735 * redisplay.c (add_margin_runes):
6736 * redisplay.c (create_left_glyph_block):
6737 * redisplay.c (create_right_glyph_block):
6738 * redisplay.c (create_string_text_block):
6739 * redisplay.c (regenerate_window):
6740 * redisplay.c (REGEN_INC_FIND_START_END):
6741 * redisplay.c (redisplay_frame):
6742 * redisplay.c (point_in_line_start_cache):
6745 * regex.c (re_compile_fastmap):
6746 * regex.c (re_match_2_internal):
6747 * regex.c (regerror):
6748 * scrollbar-gtk.c (gtk_scrollbar_loop):
6749 * scrollbar-gtk.c (scrollbar_cb):
6750 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6751 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6752 * scrollbar-x.c (x_update_scrollbar_instance_status):
6753 * scrollbar-x.c (x_scrollbar_loop):
6754 * scrollbar-x.c (x_update_frame_scrollbars):
6755 * search.c (search_command):
6756 * search.c (Fmatch_data):
6757 * select-x.c (motif_clipboard_cb):
6758 * signal.c (interrupt_signal):
6759 * specifier.c (specifier_add_spec):
6760 * specifier.c (specifier_instance_from_inst_list):
6761 * specifier.c (specifier_instance):
6763 * specifier.h (struct specifier_methods):
6764 * strftime.c (add_num_time_t):
6765 * sunplay.c (init_device):
6766 * symbols.c (Fsetplist):
6767 * symbols.c (do_symval_forwarding):
6768 * symbols.c (store_symval_forwarding):
6770 * symbols.c (Fbuilt_in_variable_type):
6771 * symbols.c (decode_magic_handler_type):
6772 * symbols.c (handler_type_from_function_symbol):
6773 * syntax.c (update_syntax_cache):
6774 * sysdep.c (init_baud_rate):
6775 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6776 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6777 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6778 * toolbar.c (get_toolbar_coords):
6779 * ui-gtk.c (build_gtk_boxed):
6780 * ui-gtk.c (describe_gtk_arg):
6781 * ui-gtk.c (gtk_type_to_lisp):
6782 * ui-gtk.c (lisp_to_gtk_type):
6783 * ui-gtk.c (lisp_to_gtk_ret_type):
6784 * ui-gtk.c (lisp_to_flag):
6785 * unexnt.c (read_in_bss):
6786 * unexnt.c (map_in_heap):
6787 * window.c (real_window):
6788 * window.c (window_display_lines):
6789 * window.c (window_display_buffer):
6790 * window.c (set_window_display_buffer):
6791 * window.c (window_modeline_height):
6792 * window.c (unshow_buffer):
6793 * window.c (window_loop):
6794 * window.c (Fget_lru_window):
6795 * window.c (Fsplit_window):
6796 * window.c (Fset_window_configuration):
6797 * window.c (saved_window_index):
6798 * xgccache.c (gc_cache_lookup):
6799 abort() -> ABORT(). Eliminate preprocessor games with abort()
6800 since it creates huge problems in VC7, solvable only by including
6801 massive amounts of files in every compile (and not worth it).
6805 Inclusion of process.h does not need to be before lisp.h any more.
6806 Move later and remove comment about abort().
6808 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6810 * regex.c (re_match_2_internal):
6811 Correctly initialize loop which clears uninitialized registers.
6813 2005-01-28 Vin Shelton <acs@xemacs.org>
6815 * sheap.c (more_static_core): Applied Ben's version of the long
6818 2005-01-24 Vin Shelton <acs@xemacs.org>
6820 * sheap.c (more_static_core): Reformatted printf string so
6821 gcc-3.3.3 will compile this on Cygwin.
6823 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6825 * console.c (function_key_map): Reference `key-binding'.
6827 * keymap.c (Vkey_translation_map): Improve docstring.
6829 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6831 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6832 * window.c (window_loop): [fix] Take into account
6833 `allow-deletion-of-last-visible-frame' variable.
6834 * window.c (replace-buffer-in-windows): Ditto.
6836 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6838 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6840 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6842 * event-gtk.c: Recognise AltGr as a valid modifier.
6844 2005-01-12 Ville Skyttä <scop@xemacs.org>
6846 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6848 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6850 Fix backreference bug caught by test suite.
6852 * regex.c (regex_compile):
6853 Make backref duplicate internal register.
6855 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6857 Documentation, code clarification, and warning suppression.
6859 * regex.c (regex_compile):
6861 (re_match_2_internal):
6862 Improve comments and avoid redundant braces. [Most of the big hunk
6863 at l. 4710 is indentation; use diff -w to see the real changes.]
6864 (alt_match_null_string_p):
6865 (common_op_match_null_string_p):
6866 Avoid shadowing global on Mac OS X 10.4, at least.
6868 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6870 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6871 introduced with shy groups fix). [Already applied, probably
6872 with the second "fix shy groups" patch of 2004-10-07.]
6874 2005-01-10 Steve Youngs <steve@sxemacs.org>
6876 From Andrey Slusar <anrays@gmail.com>:
6878 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6880 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6882 * Makefile (RECURSIVE_MAKE): Removed.
6883 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6884 handling parallel builds.
6886 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6888 * Makefile.in.in: Enable support for parallel builds.
6890 2005-01-09 Steve Youngs <steve@sxemacs.org>
6892 From Andrey Slusar <anrays@gmail.com>:
6894 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6895 FreeBSD version is >= 199701 _and_ < 600006.
6897 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6899 * scrollbar.c (compute_scrollbar_instance_usage):
6900 Only call device method compute_scrollbar_instance_usage() if it
6903 2004-12-05 Vin Shelton <acs@xemacs.org>
6905 * XEmacs 21.4.16 is released
6907 2004-12-04 Vin Shelton <acs@xemacs.org>
6909 * depend: Regenerated.
6911 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6913 * regex.c (re_match_2_internal): Map internal to external
6914 registers. Fixes bug identified by Steve Youngs 2004-09-30
6915 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6917 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6919 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6920 to fix a crash. Also, check the buffer is live and it
6921 really exists in buffer_list. If the buffer is not in the list,
6924 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6926 Fix shy groups by implementing recording of all groups for
6927 repetition and backtracking. Backport from 21.5.
6929 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6930 external_to_internal_register, external_to_internal_register_size,
6931 and update comments for re_nsub.
6933 * regex.c (re_opcode_t): Update comments.
6934 (print_compiled_pattern): Ouput external_to_internal_register,
6935 external_to_internal_register_size, and re_ngroups for debugging.
6936 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6937 (regex_compile): Update header comment.
6938 Ensure that all groups are recorded so that repeat matches and
6939 backtracking work correctly. Comment related warning for groups >
6941 (re_search_2): Construct map of API indexes (which count only
6942 nonshy groups) to internal register numbers, and keep it updated.
6944 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6946 * frame-gtk.c (gtk_make_frame_visible):
6947 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6948 show/hide. This is what X uses and is prevents previously hidden
6949 widgets from suddenly reappearing.
6950 * gtk-xemacs.c (gtk_xemacs_paint):
6951 * gtk-xemacs.c (gtk_xemacs_draw):
6952 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6954 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6955 size and location changes so that they can be seen before the next
6956 idle event. Without this rapid changes to scrollbar properties
6959 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6962 * console-gtk.h (struct gtk_frame):
6963 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6964 Add hash tables track tab_control callback data.
6965 Added #defines for GTK object data names.
6966 Declaration of gtk_widget_to_frame().
6967 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6968 * frame-gtk.c (gtk_widget_to_frame): New.
6969 * frame-gtk.c (gtk_create_widgets):
6970 * frame-gtk.c (allocate_gtk_frame_struct):
6971 * frame-gtk.c (gtk_mark_frame):
6972 Manage frame callbakc hash tables.
6973 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6974 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6975 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6977 * glyphs-gtk.c (gtk_widget_query_geometry): New
6978 * glyphs-gtk.c (gtk_register_gui_item): New
6979 * glyphs-gtk.c (gtk_add_tab_item): New
6980 * glyphs-gtk.c (gtk_tab_control_callback): New
6981 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6982 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6983 Use correct list when loading item.
6984 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6985 Register new methods.
6986 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6987 default size, for widgets.
6988 * gui-x.c: Improved comment.
6989 * menubar-gtk.c (__generic_button_callback): Use
6990 gtk_widget_to_frame instead of __get_channel.
6992 * ui-gtk.c: Use symbolic names for GTK object data.
6994 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6996 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6998 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7000 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7002 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7004 * malloc.c (morecore): siz is a long because in some architectures
7005 (eg ia-64) an int cannot hold the address range. Additional patch
7006 from the SuSe distribution.
7008 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7011 * malloc.c: lim_data is a long because in some architectures
7012 (eg ia-64) an int cannot hold the address range.
7013 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7014 instead of ulimit() because ulimit() always returns -1.
7016 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7018 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7020 2004-06-11 David Kastrup <dak@gnu.org>
7022 * search.c (match_limit): Don't flag an error if match-data
7023 exceeding the allocated search_regs.num_regs gets requested, just
7026 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7028 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7029 replace symbolic color entries with the real colors specified in
7030 xpm-color-symbols, before passing the XPM to gtk.
7031 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7032 instead of a GTK specific field, so that it is used in by generic
7035 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7037 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7038 coredump from deref of NULL ptr (ExtData)
7040 2004-04-19 Jerry James <james@xemacs.org>
7042 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7043 VALBITS to compute the location of the sign bit.
7044 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7045 of VALBITS with EMACS_INT_MAX.
7046 * events.c (Fevent_timestamp): Ditto.
7047 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7048 compute the halfway point to timestamp wraparound.
7049 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7050 EMACS_INT_MIN instead of using VALBITS.
7051 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7052 incorrect number with VALBITS.
7053 * fns.c (Frandom): Correct number of integer bits in docstring.
7054 Use INT_VALBITS instead of VALBITS to compute the denominator.
7055 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7056 build random numbers.
7058 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7060 * event-gtk.c (gtk_event_to_emacs_event):
7062 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7063 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7064 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7065 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7066 * menubar-gtk.c (__activate_menu):
7067 * menubar-gtk.c (convert_underscores):
7068 * menubar-gtk.c (remove_underscores):
7069 * menubar-gtk.c (menu_convert):
7070 * menubar-gtk.c (menu_descriptor_to_widget_1):
7071 * menubar-gtk.c (menu_descriptor_to_widget):
7072 * menubar-gtk.c (menu_can_reuse_widget):
7073 * menubar-gtk.c (menu_create_menubar):
7074 * menubar-gtk.c (gtk_popup_menu):
7075 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7076 Added support for Gtk menu bar and menu item mnemonics.
7078 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7080 * sysdll.c: (dll_function): Added support for finding symbols in
7081 Darwin shared libraries as well in Darwin bundles.
7082 * sysdll.c (image_for_address): New
7083 * sysdll.c (my_find_image): New
7084 * sysdll.c (search_linked_libs): New
7086 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7088 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7089 return to GTK requires a different API to marshalling data to use
7091 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7093 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7095 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7097 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7099 * glyphs.c (process_image_string_instantiator):
7100 (Fset_console_type_image_conversion_list):
7101 Stop GCC from warning about shadowing of `exp'.
7103 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7105 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7107 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7109 2004-02-03 Vin Shelton <acs@xemacs.org>
7111 * glyphs.c (image_instance_layout): Remove pointless assertion.
7112 * regex.c (regex_grow_registers): Return type is void.
7114 2004-02-02 Vin Shelton <acs@xemacs.org>
7116 * XEmacs 21.4.15 is released
7118 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7120 * device-x.c (x_error_handler): Don't call stderr_out
7122 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7124 * buffer.c (other-buffer): Clarify documentation of order of
7125 arguments for FSF Emacs.
7127 2003-10-11 Olivier Galibert <galibert@pobox.com>
7129 * window.c (Fdelete_window): Dirty the mirror structure _before_
7130 marking the window deleted.
7132 2003-09-15 Jerry James <james@xemacs.org>
7134 * event-msw.c (debug_mswin_messages): Conditionally compile
7135 messages missing from the Cygwin headers.
7137 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7139 * data.c (eq_with_ebola_notice): Fix typo in comment.
7140 (Ftrue_list_p): Improve docstring.
7142 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7144 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7146 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7148 * search.c (trivial_regexp_p): Regexps containing "\{" are
7149 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7150 Stefan Monnier for suggesting a diagnosis.
7152 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7154 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7156 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7158 * search.c (Fsearch_forward):
7160 Document negative count.
7162 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7164 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7166 2003-09-13 Martin Buchholz <martin@xemacs.org>
7168 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7170 2003-09-15 Vin Shelton <acs@xemacs.org>
7172 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7175 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7177 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7178 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7179 (re_match_2_internal): Use TRANSLATE instead of
7180 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7181 non-ASCII char case conversion.
7183 2003-09-08 Mike Sperber <mike@xemacs.org>
7185 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7186 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7188 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7190 * .gdbinit (pobj): fix printing of symbol name.
7192 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7194 * frame-x.c (x_layout_widgets): When resizing is about to cause
7195 frame size slip, mark it for redisplay.
7197 2003-08-18 Jerry James <james@xemacs.org>
7199 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7201 2003-09-03 Vin Shelton <acs@xemacs.org>
7203 * XEmacs 21.4.14 is released
7205 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7207 * config.h.in (REGEX_MALLOC): Make it configure'able.
7209 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7211 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7213 * sysdll.c (dll_init):
7214 * sysdll.c (dll_open):
7215 * sysdll.c (dll_close):
7216 * sysdll.c (dll_function):
7217 * sysdll.c (dll_variable):
7218 * sysdll.c (dll_error):
7219 Add support for loading bundles using Darwin/MacOSX
7222 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7224 * process.c (start-process-internal): Document coding systems.
7226 2003-07-30 Jerry James <james@xemacs.org>
7228 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7230 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7232 * event-msw.c (mswindows_enqueue_mouse_button_event):
7233 * event-msw.c (mswindows_wnd_proc):
7234 enqueue button event when scrollwheel event isn't handled by
7235 mswindows_handle_mousewheel_event, such as when the scrollbars
7238 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7240 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7242 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7244 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7246 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7248 * regex.c (re_match_2_internal): Fix matching degenerate word
7251 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7253 * XEmacs 21.4.13 is released
7255 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7257 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7258 * lisp.h (<inttypes.h>):
7259 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7262 2003-03-15 Martin Buchholz <martin@xemacs.org>
7264 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7265 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7266 Result: "temacs can only be run in -batch mode."
7267 Fix: Check xemacs executable candidate for directory-ness.
7269 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7271 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7272 they conflict with <sys/types.h>.
7274 2003-02-14 Martin Buchholz <martin@xemacs.org>
7276 * database.c: Berkeley DB wants __STDC__ to be defined.
7278 2003-02-13 Martin Buchholz <martin@xemacs.org>
7280 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7282 2003-02-01 Martin Buchholz <martin@xemacs.org>
7284 * process-unix.c (unix_send_process): Fix C++ compile error.
7286 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7288 * Added .dylib as an acceptable shared library file extension
7289 * to support MacOSX.
7291 2003-02-01 Martin Buchholz <martin@xemacs.org>
7293 * EmacsFrameP.h (EmacsFramePart):
7294 Kludge to allow compiling with Motif1, but linking with Motif2.
7296 2003-01-28 Martin Buchholz <martin@xemacs.org>
7298 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7301 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7303 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7305 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7307 * sysdll.c: Included lisp.h to define needed alloca_array.
7309 2003-02-13 Martin Buchholz <martin@xemacs.org>
7311 Make XEmacs redisplay 10 times faster.
7312 If, that is, you're using a slow X connection and MoveOpaque.
7313 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7314 Use compress_motion = TRUE.
7315 * EmacsFrame.c (emacsFrameClassRec):
7316 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7317 * EmacsManager.c (emacsManagerClassRec):
7318 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7320 2003-01-30 Vin Shelton <acs@xemacs.org>
7322 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7324 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7326 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7327 Patch by Martin Buchholz.
7329 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7331 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7332 Thanks to icc for warning and Martin Buchholz for reporting.
7334 2003-01-29 Vin Shelton <acs@xemacs.org>
7336 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7338 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7339 remember to multiply by the element size.
7341 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7343 * XEmacs 21.4.12 "Portable Code" is released.
7345 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7347 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7348 * s/cygwin.sc: new linker file.
7350 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7352 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7354 * redisplay-x.c (x_output_string): Use X11-specified types.
7355 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7356 * emacs.c (__free_hook): Use typeof with Intel compiler.
7357 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7359 2003-01-08 Andy Piper <andy@xemacs.org>
7361 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7362 reserve size during unexec().
7364 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7366 * process-unix.c (unix_create_process): Don't let outchannel block.
7368 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7370 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7371 Needed for IsBadReadPtr().
7373 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7375 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7377 2002-12-14 Ben Wing <ben@xemacs.org>
7379 * callint.c: Declaration error.
7381 * dumper.c (pdump_load): Warning fix.
7382 * process.c: GCPRO error.
7383 * glyphs.c (unmap_subwindow):
7384 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7385 * event-stream.c (maybe_kbd_translate): Wrong argument to
7386 character_to_event().
7388 * alloc.c (garbage_collect_1):
7390 * emacs.c (debug_can_access_memory):
7391 * emacs.c (fatal_error_signal):
7392 * emacs.c (mswindows_handle_hardware_exceptions):
7395 * emacs.c (assert_failed):
7396 * emacs.c (syms_of_emacs):
7399 * print.c (std_handle_out_va):
7400 * print.c (write_string_to_stdio_stream):
7401 * print.c (write_fmt_string):
7402 * print.c (printing_badness):
7403 * print.c (printing_major_badness):
7404 * print.c (print_internal):
7405 * print.c (debug_print_no_newline):
7406 * print.c (debug_backtrace):
7407 Be more defensive in handling bad values when printing. Add code
7408 from trunk involving inhibit_non_essential_printing_operations.
7409 When going down or in debug_print(), don't do external conversion
7410 and such and try really, really hard when printing to avoid core
7411 dumping. Add force-debugging-signal, debug_break().
7413 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7415 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7416 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7418 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7420 * database.c: Fix open_database. Berkeley DB API has changed in
7421 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7423 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7425 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7427 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7429 * event-Xt.c (Xt_timeout):
7430 (Xt_timeout_callback):
7431 (emacs_Xt_add_timeout):
7432 (emacs_Xt_remove_timeout):
7433 (Xt_timeout_to_emacs_event):
7434 Turn completed_timeouts from a stack into a queue. Fixes
7435 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7437 2002-11-07 Wolfram Gloger <wg@malloc.de>
7439 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7440 * emacs.c (main): Assert that mmap'd allocation is disabled.
7442 2002-10-14 Andy Piper <andy@xemacs.org>
7444 * glyphs-widget.c (layout_query_geometry): add in fiddle
7445 factor. Include border text in width layout calculation.
7446 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7448 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7450 * XEmacs 21.4.10 "Military Intelligence" is released.
7452 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7454 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7455 using the NAS private array SoundFileInfo that no longer exists in
7456 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7457 and earlier. This is broken for some versions between 1.5a and
7460 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7462 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7464 * emacs.c (shut_down_emacs): Improve crash message.
7466 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7468 * file-coding.c (determine_real_coding_system): Check for coding
7469 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7470 shebangs and Python PEP 263.
7472 2002-10-08 Andy Piper <andy@xemacs.org>
7474 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7475 if static sizes haven't been set.
7477 2002-08-30 Mike Alexander <mta@arbortext.com>
7479 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7482 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7484 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7486 2002-09-20 Mike Sperber <mike@xemacs.org>
7488 (This partially gets back my patch from 2002-07-20 without the
7490 * callproc.c (child_setup): Remove Ben's comment noting confusion
7491 over the file descriptors >= 3: close_process_descs() doesn't
7492 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7493 * process-unix.c (unix_create_process): Call
7494 begin_dont_check_for_quit to inhibit unwanted interaction (and
7495 thus breaking of X event synchronicity) in the child.
7497 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7499 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7502 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7504 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7505 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7506 the xemacs process did not exit, but looped infinitely here. This
7509 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7511 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7512 (find_context): Improve comments.
7514 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7515 (re_match_2): An XCHAR_TABLE operation was missing.
7517 Many of the following changes were inspired by Andy Piper's (now
7518 obsolete) patch to make syntax-table text property lookup optional.
7522 * syntax.h (top level): Document semantics of syntax flags.
7523 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7524 * syntax.c, syntax.h (top level): Document syntax cache better in
7527 [Instrument syntax caching (temporary change)]
7529 * syntax.h (enum syntax_cache_statistics_functions, struct
7530 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7531 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7532 * syntax.c (scan_words, Fforward_comment, scan_lists,
7533 Fbackward_prefix_characters):
7534 * font-lock.c (find_context):
7535 Use them to instrument syntax caching.
7536 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7537 syntax_cache_statistics_function_names): New type and variables.
7538 * syntax.c (update_syntax_cache): Update and report statistics.
7540 [Major syntax cache optimizations]
7542 syntax.c (lookup_syntax_properties): Default off.
7544 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7545 * syntax.c (update_syntax_cache):
7546 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7548 [Minor syntax cache optimizations and code clarifications]
7550 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7551 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7552 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7553 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7554 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7555 (Code clarification.)
7557 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7558 scan_lists): Compute code from syncode, use Boolean macros instead
7559 of redundant masking operations. (Code clarification; any decent
7560 compiler can do this optimization.)
7562 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7565 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7566 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7567 use F*_single_property_change instead of F*_extent_change.
7568 Currently F*_single_property_change is _much_ less efficient.
7570 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7571 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7572 syntax_cache.object properly, don't leave Qt or Qnil.
7573 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7574 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7575 tests for Qt or Qnil.
7577 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7579 * redisplay.c (point_in_line_start_cache):
7580 * extents.c (print_extent_1):
7583 * extents.c (Fset_extent_property): Document `syntax-table' property.
7585 * extents.h (Fnext_single_property_change): EXFUN it.
7587 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7589 * search.c (clear_unused_search_regs): New static function.
7593 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7594 Minor clarifications in comments.
7596 * regex.c (re_match_2_internal): Ensure no stale submatches.
7598 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7600 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7602 2002-08-29 Jerry James <james@xemacs.org>
7604 * lisp.h: structrures -> structures.
7606 2002-06-03 Andy Piper <andy@xemacs.org>
7608 * frame.c (frame_conversion_internal): add conversion appropriate
7609 for setting frame dimensions in pixels.
7611 * console.h (struct console_methods): add device-specific widget
7614 * emacs.c (main_1): initialize glyph vars.
7616 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7617 (handle_focus_event_2): new function. Allow focus to
7618 be set to a particular window and widget.
7619 (enqueue_focus_event): new function. Create a
7620 synthetic focus event.
7621 (emacs_Xt_handle_magic_event): call
7622 handle_focus_event_2.
7624 * frame.c (Fset_frame_pixel_height): new function. Allow
7625 pixel-based sizing. Does the right thing on character-oriented
7627 (Fset_frame_pixel_width): ditto.
7628 (Fset_frame_pixel_size): ditto.
7629 (syms_of_frame): declare.
7631 * general-slots.h: add :vertically-justify and
7632 :horizontally-justify.
7634 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7635 (mswindows_widget_border_width): new function.
7636 (mswindows_combo_box_instantiate): set border widths.
7637 (console_type_create_glyphs_mswindows): declare.
7640 (check_valid_justification): allow vertical and horizontal
7642 (widget_border_width): new function. Call device methods.
7643 (widget_instance_border_width): ditto.
7644 (logical_unit_height): new function. Determine the height of a
7645 logical-unit. Logical units are intended to provide grid-like
7646 layout for subcontrols in a layout. If the layout is
7647 :vertically-justify top then subcontrols will be positioned on
7648 logical-unit boundaries, thus allowing adjacent subcontrols to
7650 (widget_logical_unit_height): ditto for widgets.
7651 (redisplay_widget): misc cleanup.
7652 (widget_spacing): new function. Call device specific
7653 methods. Intended to be the default gap between adjacent widgets.
7654 (widget_query_geometry): use new spacing functions to determine
7655 appropriate geometry.
7656 (initialize_widget_image_instance): initialize horizontal and
7657 vertical justification.
7658 (widget_instantiate): use logica-units where appropriate for
7659 sizing large widgets.
7660 (button_query_geometry): use widget_instance_border_width.
7661 (tree_view_query_geometry): ditto.
7662 (tab_control_query_geometry): ditto.
7663 (edit_field_query_geometry): new function.
7664 (layout_update): pick up :justify, :horizontally-justify and
7665 :vertically-justify none of which worked previously. :justify is
7666 used as a fallback for both horizontal and vertical justification.
7667 (layout_query_geometry): use logical units to size appropriately.
7668 (layout_layout): ditto.
7669 (Fwidget_logical_to_character_width): new function. Allow users to
7670 convert from logical units to characters so that frame sizes can
7671 be set appropriately.
7672 (Fwidget_logical_to_character_height): ditto.
7673 (syms_of_glyphs_widget): declare.
7674 (image_instantiator_edit_fields): add edit_field_query_geometry.
7675 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7676 :horizontally-justify.
7677 (specifier_vars_of_glyphs_widget): new function. Declare
7678 Vwidget_border_width which is not yet used.
7680 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7681 (x_widget_border_width): new function.
7682 (x_widget_instantiate): create a sensible name for widgets.
7683 (console_type_create_glyphs_x): declare x_widget_border_width.
7685 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7686 (struct Lisp_Image_Instance): add :vertically-justify and
7687 :horizontally-justify.
7688 (LAYOUT_JUSTIFY_TOP): new.
7689 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7690 (ROUND_UP): new macro. Round argument up to next integral
7693 * redisplay-output.c (redisplay_output_layout): misc formatting.
7695 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7697 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7699 * XEmacs 21.4.9 "Informed Management" is released.
7701 2002-08-19 Andy Piper <andy@xemacs.org>
7703 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7706 * realpath.c (xrealpath): normalize drive spec also so that dir
7707 sep chars are not mixed on cygwin.
7709 2002-08-06 Jerry James <james@xemacs.org>
7711 * window.c (Fsplit_window): Count only half of the divider width
7712 against the left window when splitting horizontally.
7714 2002-06-24 Andy Piper <andy@xemacs.org>
7716 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7717 toolbar was cleared.
7719 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7720 function. Split out from mswindows_output_frame_toolbars.
7721 (mswindows_output_frame_toolbars): move clear pieces to
7722 mswindows_output_frame_toolbars.
7724 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7725 out from gtk_output_frame_toolbars.
7726 (gtk_output_frame_toolbars): move clear pieces to
7727 gtk_clear_frame_toolbars.
7729 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7730 the frame is cleared. How this ever worked before is a mystery.
7731 (x_output_frame_toolbars): Only output toolbars.
7732 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7734 * gutter.c (update_gutter_geometry):
7735 Mark frame layout changed.
7736 (update_frame_gutter_geometry, update_frame_gutters):
7737 Respect frame_layout_changed.
7739 * console.h (struct console_methods): add
7740 clear_frame_toolbars_method.
7742 * redisplay.c (redisplay_frame): call
7743 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7745 * toolbar.h: declare update_frame_toolbars_geometry.
7747 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7748 out from update_frame_toolbars. Call clear_frame_toolbars.
7749 (update_frame_toolbars): only output, do not change geometry.
7751 * redisplay.c: add frame_layout_changed.
7753 * redisplay.h: add frame_layout_changed.
7754 (CLASS_RESET_CHANGED_FLAGS): set it.
7755 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7756 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7757 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7759 * device.h (struct device): add frame_layout_changed.
7760 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7762 * frame.h (struct frame): add frame_layout_changed.
7763 (MARK_FRAME_LAYOUT_CHANGED): new.
7765 2002-06-30 Mike Alexander <mta@arbortext.com>
7767 * event-msw.c (mswindows_need_event): Don't wait for a new message
7768 if the queue is not empty. Suggested by Paul Moore.
7770 2002-06-12 Andy Piper <andy@xemacs.org>
7772 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7773 for printing on accurately.
7775 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7777 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7778 WM_ACTIVATE message. Make sure that the frame is visible if the
7779 window is visible. This seemss to fix the problem where XEmacs
7780 appears to freeze after switching desktops with certain virtual
7782 (debug_output_mswin_message): Added code to output message
7783 parameters for WM_WINDOWPOSCHANGED,
7784 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7786 2002-05-25 Andy Piper <andy@xemacs.org>
7788 * select-x.c (vars_of_select_x): Fix docstring of
7789 x-selection-strict-motif-ownership
7791 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7793 * keymap.c (get_keymap):
7794 Add comment about do_autoload GCPROs own args.
7796 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7798 * bytecode.c (execute_optimized_program): check_opcode ifdef
7799 ERROR_CHECK_BYTE_CODE.
7801 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7803 Thanks to Ben Wing and Michael Sperber.
7805 * eval.c (Fcommand_execute):
7808 (Fmacroexpand_internal):
7809 (function_argcount):
7810 callint.c (Fcall_interactively):
7811 Add comment about do_autoload GCPROs own args.
7813 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7815 * eval.c (Ffuncall): Extra braces to placate GCC.
7817 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7819 * backtrace.h (grow_specpdl):
7821 * EmacsFrame.c (EmacsFrameSetValues):
7822 * eval.c (grow_specpdl):
7823 * ExternalShell.c (hack_event_masks_1):
7824 * glyphs-x.c (convert_EImage_to_XImage):
7825 (x_finalize_image_instance):
7826 * ralloc.c (page_size):
7828 * xgccache.c (gc_cache_hash):
7829 Fix unsigned comparison warnings.
7831 2002-07-29 Jerry James <james@xemacs.org>
7833 * lread.c (locate_file): Any nonnegative return value indicates
7834 success if MODE is nonnegative.
7836 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7838 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7841 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7843 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7845 * dumper.c (pdump_get_indirect_count):
7846 (pdump_scan_by_alignment):
7847 (pdump_dump_root_struct_ptrs):
7848 (pdump_dump_rtables):
7849 (pdump_dump_root_objects):
7851 * nas.c (WaveOpenDataForReading):
7852 * fns.c (print_bit_vector):
7853 * font-lock.c (SINGLE_SYNTAX_STYLE):
7854 * glyphs.c (check_for_ignored_expose):
7855 (find_matching_subwindow):
7857 * imgproc.c (get_histogram):
7858 * redisplay.c (point_in_line_start_cache):
7859 * redisplay-output.c (redisplay_unmap_subwindows):
7860 * symbols.c (defsymbol_massage_name_1):
7861 (defkeyword_massage_name):
7862 (deferror_massage_name_and_message):
7863 * redisplay-x.c (x_output_string):
7864 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7865 * frame.h (struct frame):
7866 * filelock.c (current_lock_owner):
7867 * doprnt.c (emacs_doprnt_1):
7868 * lisp.h (struct Lisp_Bit_Vector):
7872 2002-02-13 Ben Wing <ben@xemacs.org>
7874 * event-stream.c (reset_key_echo):
7875 * event-stream.c (reset_this_command_keys):
7876 * event-stream.c (execute_command_event):
7877 If console is dead as a result of C-x 5 0, then post-command stuff
7878 needs to be careful and do only non-console-specific stuff.
7880 2002-07-01 Mike Sperber <mike@xemacs.org>
7882 * process-unix.c (unix_send_process): Mark coding_outstream as
7883 non-open upon SIGPIPE.
7885 * event-stream.c (Fnext_event): Reorder switch cases to something
7888 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7890 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7891 Don't bogusly reinitialize ascii_character property.
7893 2002-07-08 Mike Sperber <mike@xemacs.org>
7895 * process.c (Fstart_process_internal): Do error checking before we
7896 fork off the child, so the child can't muck with the state of the
7899 2002-07-08 Mike Sperber <mike@xemacs.org>
7901 * ralloc.c (init_ralloc): Allocate properly for pdump.
7903 2002-06-12 Andy Piper <andy@xemacs.org>
7905 * glyphs.c (query_string_geometry): check the string.
7907 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7910 2002-06-17 Jerry James <james@xemacs.org>
7912 * sysdll.c: Remove RTLD_GLOBAL initialization.
7913 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7915 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7917 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7919 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7921 * sysdep.c (sys_rename): Make sys_rename work for the case where
7922 Windows rename sets errno to EACCES if target file exists.
7924 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7926 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7927 Fix detection of metric units to work on Win95
7929 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7931 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7933 2002-04-25 Andy Piper <andy@xemacs.org>
7935 * redisplay.c (create_text_block): Remove extra comment trailer.
7937 2002-04-24 Andy Piper <andy@xemacs.org>
7939 * redisplay.c (create_text_block): Don't actually add propagation
7940 data if the line ends after we have added a glyph.
7942 2002-04-22 Andy Piper <andy@xemacs.org>
7944 * extents.c (extent_fragment_update): check for glyphs we have
7945 previously displayed.
7946 * extents.c (print_extent_1): warning removal.
7947 * extents.h: change prototype.
7948 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7949 widths correctly for wide glyphs.
7950 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7951 * redisplay.c (prop_type): add PROP_GLYPH.
7952 * redisplay.c (struct prop_block): add glyph type
7953 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7954 to the propagation data.
7955 * redisplay.c (create_text_block): if there is a glyph in the
7956 propagation data use it to salt extent_fragment_update.
7957 * redisplay.c (create_string_text_block): ditto.
7959 2002-04-13 Nix <nix@esperi.demon.co.uk>
7961 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7962 * redisplay-output.c (compare_runes): Compare them.
7963 * redisplay.c: Update copyright date.
7964 * redisplay.c (pos_data): Add need_baseline_computation field.
7965 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7966 need_baseline_computation; zero yoffset. Set max_pixmap_height
7967 for all pixmaps, not just automatically positioned ones.
7968 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7969 * redisplay.c (calculate_baseline): New, compute textual baseline.
7970 * redisplay.c (add_glyph_rune): Call them.
7971 * redisplay.c (create_text_block): Likewise.
7972 * redisplay.c (create_overlay_glyph_block): Likewise.
7973 * redisplay.c (add_margin_runes): Likewise.
7974 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7976 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7977 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7978 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7979 * redisplay-msw.c (mswindows_output_string): Likewise.
7980 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7981 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7982 * redisplay-x.c (x_output_display_block): Likewise.
7984 2002-03-28 Ben Wing <ben@xemacs.org>
7986 * redisplay.c: Fixed bug in redisplay
7987 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7988 and down of the lines, since they're bigger than the line
7989 size. (It was seen most obviously when there's a horizontal scroll
7990 bar, e.g. do C-h a glyph or something like that.) The problem was
7991 that the glyph-contrib-p setting on glyphs was ignored even if it
7992 was set properly, which it wasn't until now.
7994 2002-04-24 Andy Piper <andy@xemacs.org>
7996 * lisp.h (Dynarr_end): Fix definition.
7998 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8000 * redisplay.c (mark_redisplay): Remove call to
8001 update_frame_window_mirror.
8003 2001-11-15 Andy Piper <andy@xemacs.org>
8005 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8008 2002-02-13 Andy Piper <andy@xemacs.org>
8010 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8011 we did in fact enqueue the XM_MAPFRAME event.
8013 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8015 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8016 to fix problem switching between virtual desktops under virtuawin
8017 virtual window manager.
8019 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8021 * event-msw.c: Typo fix.
8022 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8023 magic XM_MAPFRAME event has been sent.
8025 2001-11-23 Andy Piper <andy@xemacs.org>
8027 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8029 2001-11-21 Andy Piper <andy@xemacs.org>
8031 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8032 mouse events outside the frame.
8034 2002-03-20 Andy Piper <andy@xemacs.org>
8036 * menubar-msw.c (mswindows_popup_menu): warning removal.
8037 * dialog-msw.c (dialog_popped_down): ditto.
8039 2001-12-11 Andy Piper <andy@xemacs.org>
8041 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8042 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8044 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8045 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8046 * menubar-msw.c (mswindows_popup_menu): ditto.
8048 2001-10-29 Andy Piper <andy@xemacs.org>
8050 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8053 2002-01-03 Andy Piper <andy@xemacs.org>
8055 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8059 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8061 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8062 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8063 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8064 Detect and handle case where machine is set up for metric units
8066 2002-04-02 Andy Piper <andy@xemacs.org>
8068 * dired-msw.c (mswindows_get_files):
8069 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8070 completely handled by XEmacs. Suggested by Thomas Vogler
8071 <mail@thomas-vogler.de>.
8073 2001-11-14 Andy Piper <andy@xemacs.org>
8075 * nt.c (REG_ROOT): change registry key to XEmacs.
8077 2002-04-27 Andy Piper <andy@xemacs.org>
8079 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8081 2002-04-26 Andy Piper <andy@xemacs.org>
8083 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8086 2002-03-14 Mike Alexander <mta@arbortext.com>
8088 * event-msw.c (mswindows_unwait_process): New, remove process from
8090 * process-nt.c (nt_finalize_process_data): Call
8091 mswindows_unwait_process
8092 * console-msw.h: Declare mswindows_unwait_process
8094 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8096 * editfns.c (Fdecode_time):
8097 (Fformat_time_string):
8098 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8099 (make_time): Warning elimination (change arg name).
8101 2001-11-24 Andy Piper <andy@xemacs.org>
8103 * window.c (Fsplit_window): Doc return type.
8105 2002-04-01 Andy Piper <andy@xemacs.org>
8107 * emacs.c (Fkill_emacs): Only output message box in interactive
8110 2002-04-26 Andy Piper <andy@xemacs.org>
8112 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8115 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8117 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8120 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8122 * XEmacs 21.4.8 "Honest Recruiter" is released.
8124 2002-05-07 Nix <nix@esperi.demon.co.uk>
8126 Supersedes 2002-04-17 patch.
8128 * process.h (PROCESS_LIVE_P): Use the process status as
8129 evidence of health, not the state of the input stream.
8130 (PROCESS_READABLE_P): Say if the process is readable
8131 from. (It may be dead nonetheless.)
8132 (CHECK_READABLE_PROCESS): Test for that condition.
8134 * process.c (create_process): Use PROCESS_READABLE_P.
8135 (read_process_output, set_process_filter): Likewise.
8137 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8138 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8140 This code is #if 0'd, this is not the time to add new functions:
8142 * process.c (Fprocess_readable_p): Report readability status.
8143 * process.c (Qprocess_readable_p): New, associated symbol...
8144 * process.c (syms_of_process): ... initialize it.
8146 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8148 * XEmacs 21.4.7 "Economic Science" is released.
8150 2002-04-17 Nix <nix@esperi.demon.co.uk>
8152 * process.h (PROCESS_LIVE_P): Use the process status as
8153 evidence of health, not the state of the input stream.
8155 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8157 * sysdep.c (sys_siglist): change "signum" to "signal"
8159 2001-04-21 Martin Buchholz <martin@xemacs.org>
8161 * s/darwin.h: New file.
8162 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8164 2002-04-23 Andreas Jaeger <aj@suse.de>
8166 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8167 which use lib64 for 64-bit libs.
8168 (START_FILES): Likewise.
8170 2002-02-11 Mike Sperber <mike@xemacs.org>
8173 (x_IO_error_handler):
8174 (x_init_device): Temporarily keep device in static variable
8175 `device_being_initialized' so we can recover gracefully from
8176 internal XOpenDevice failure. (XOpenDevice is documented to
8177 return NULL on failure, but sometimes calls the IO error handler
8180 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8182 * dired.c (Ffile_name_all_completions): Change documentation --
8183 remove reference to completion-ignored-extensions.
8184 * dired.c (vars_of_dired): Change documentation for
8185 completion-ignored-extensions -- remove reference to
8186 file-name-all-completions.
8188 2002-03-06 Jerry James <james@xemacs.org>
8190 * emodules.c (emodules_load): Fix multiple loading of same module.
8192 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8193 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8194 RTLD_LAZY to avoid incorrect symbol binding when using nested
8195 shared libraries on Solaris.
8197 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8199 * fileio.c (Ffind_file_name_handler): Improve docstring.
8201 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8203 * fns.c (Fmapconcat): Improve docstring.
8205 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8207 * device-gtk.c: Add prototype for
8208 emacs_gtk_selection_clear_event_handle.
8209 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8210 selection. Setup signal handler for "selection_clear_event"
8211 (emacs_gtk_selection_clear_event_handle).
8213 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8214 other applications owning the clipboard (based on
8215 x_handle_selection_clear).
8217 2001-12-23 William M. Perry <wmperry@gnu.org>
8219 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8221 2002-01-04 Martin Buchholz <martin@xemacs.org>
8223 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8225 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8227 * XEmacs 21.4.6 "Common Lisp" is released.
8229 2001-12-16 Torsten Duwe <duwe@caldera.de>
8231 * search.c (Freplace_match): Add missing sub-expression functionality.
8233 * buffer.c (decode_buffer): Add a check for pointer type to
8234 decode_buffer, before gcc's CSE optimization reorders a
8235 dereference in front of the allow_string test.
8237 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8239 * window.c (window_loop): Fix bug that sometimes prevented
8240 window_loop() from iterating across multiple devices. Also, at
8241 Ben's request, changed infloop-detecting code to abort() instead
8242 of silently terminating window_loop().
8244 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8246 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8247 * editfns.c (make_time): New function.
8248 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8249 * lisp.h (make_time): Prototype and comment it.
8250 * dired.c (wasteful_word_to_lisp): Deprecate.
8251 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8253 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8255 * fileio.c (auto_save_1): Use current coding system, not
8258 2001-11-13 Ben Wing <ben@xemacs.org>
8261 * window.c (window_truncation_on):
8262 * window.c (syms_of_window):
8263 truncate-partial-width-windows should respect the buffer being
8264 displayed, like other redisplay vars.
8266 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8268 * event-stream.c (Fread_key_sequence): save current buffer.
8270 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8272 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8274 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8276 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8278 2001-10-26 Mike Alexander <mta@arbortext.com>
8280 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8282 2001-10-25 Andy Piper <andy@xemacs.org>
8285 * dialog-msw.c (handle_directory_proc): new function.
8286 (handle_directory_dialog_box): new fucntion.
8287 (handle_file_dialog_box): use new directory dialog support.
8288 (mswindows_make_dialog_box_internal): ditto.
8289 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8291 (mswindows_find_frame): make global.
8292 * fileio.c (Fexpand_file_name): build fix.
8293 * general-slots.h: add Qdirectory.
8294 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8296 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8297 cygwin not leaving win32 paths unchanged.
8298 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8299 cygwin runtime to do path conversion.
8300 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8301 (syms_of_win32): add new function.
8302 * window.c (window_loop): build fix.
8304 2001-10-15 Andy Piper <andy@xemacs.org>
8306 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8308 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8310 * XEmacs 21.4.5 "Civil Service" is released.
8312 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8314 * glyphs-x.c: Force buffer-tab highlight update when moving the
8315 buffer, avoiding an ugly black border, used for keyboard focus
8316 indication, on a widget that can never have keyboard focus, the
8319 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8321 * process-unix.c (unix_open_multicast_group): Remove too much
8322 conversion between host and network byte order.
8324 2001-09-10 Nix <nix@esperi.demon.co.uk>
8326 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8327 before replacing them.
8329 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8332 * src/window.c (undedicate_windows): Use it.
8333 * src/window.h: Add prototype.
8335 2001-09-17 Ben Wing <ben@xemacs.org>
8337 * fileio.c (normalize_filename):
8338 * fileio.c (Fexpand_file_name):
8339 Fix various C++ compile errors in Andy's recent code.
8341 * callint.c (Fcall_interactively):
8342 * editfns.c (Ftemp_directory):
8343 * editfns.c (Fuser_full_name):
8344 * emacs.c (argmatch):
8345 * lread.c (locate_file_map_suffixes):
8346 * redisplay-x.c (x_ring_bell):
8347 Fix sign-compare warnings.
8349 2001-09-08 Andy Piper <andy@xemacs.org>
8351 * fileio.c (normalize_filename): copied from nt.c
8352 * (Ffile_name_directory): enable win32 paths under cygwin.
8353 * (Ffile_name_nondirectory): ditto.
8354 * (directory_file_name): ditto.
8355 * (Fexpand_file_name): ditto.
8356 * (Ffile_truename): ditto.
8357 * (Fsubstitute_in_file_name): ditto.
8358 * (Ffile_name_absolute_p): ditto.
8359 * (Ffile_readable_p): ditto.
8361 2001-09-08 Andy Piper <andy@xemacs.org>
8363 * device-msw.c (mswindows_finish_init_device): remove dde
8365 * device-msw.c (mswindows_init_dde): factor out from
8366 mswindows_finish_init_device()
8367 * device-msw.c (init_mswindows_very_early): new function
8368 initialize but don't enable dde.
8369 * emacs.c (main_1): call init_mswindows_very_early.
8371 * event-msw.c (mswindows_dde_callback): only execute when we are
8373 * symsinit.h: declare init_mswindows_very_early.
8375 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8377 [sjt: This has been in 21.5 for months with no complaints.]
8379 * console.h (struct console_methods): Added flags member.
8380 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8381 (CONMETH_IMPL_FLAG):
8382 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8383 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8385 * device.c (window_system_pixelated_geometry): Use the above macros.
8387 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8388 implememntation flag.
8389 * device.h (DEVICE_DISPLAY_P): Use it.
8391 * frame.c (delete_frame_internal): Use the above macro.
8393 * redisplay.c (redisplay_device): Use it.
8394 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8395 (redisplay_frame): Ditto.
8397 * device-msw.c (mswindows_device_implementation_flags): Removed.
8398 (msprinter_device_implementation_flags): Removed.
8399 (console_type_create_device_mswindows): Removed references to
8400 implementation_flags methods, set implementation flags here.
8401 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8403 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8404 (console_type_create_device_gtk): Removed method declaration.
8405 Added commented out statement which semantically matches the
8406 commented out statement in the above removed method.
8408 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8410 The attached patch fixes a few warnings.
8412 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8413 * src/frame-gtk.c: guard against GNOME calls in GTK only
8414 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8415 * src/select-gtk.c: prototype lisp_to_time
8417 2001-06-08 Ben Wing <ben@xemacs.org>
8419 ------ gc-in-window-procedure fixes ------
8422 * alloc.c (struct post_gc_action):
8423 * alloc.c (register_post_gc_action):
8424 * alloc.c (run_post_gc_actions):
8425 * alloc.c (garbage_collect_1):
8426 Create "post-gc actions", to avoid those dreaded "GC during window
8427 procedure" problems.
8430 Abort, clean and simple, when GC in window procedure. We want
8431 to flush these puppies out.
8434 * glyphs-msw.c (finalize_destroy_window):
8435 * glyphs-msw.c (mswindows_finalize_image_instance):
8436 Use a post-gc action when destroying subwindows.
8439 Declare register_post_gc_action().
8442 * scrollbar-msw.c (unshow_that_mofo):
8443 Use a post-gc action when unshowing scrollbar windows, if in gc.
8445 * redisplay.c (mark_redisplay):
8446 Add comment about the utter evilness of what's going down here.
8448 ------ cygwin setitimer fixes ------
8450 * Makefile.in.in (sheap_objs):
8451 * Makefile.in.in (profile_objs):
8452 * Makefile.in.in (objs):
8453 Compile profile.c only when HAVE_SETITIMER.
8455 * nt.c (mswindows_sigset):
8456 * nt.c (mswindows_sighold):
8457 * nt.c (mswindows_sigrelse):
8458 * nt.c (mswindows_sigpause):
8459 * nt.c (mswindows_raise):
8460 * nt.c (close_file_data):
8464 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8467 * profile.c (Fstart_profiling):
8468 * profile.c (Fstop_profiling):
8469 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8470 instead of just plain setitimer().
8473 * signal.c (set_one_shot_timer):
8475 Define qxe_setitimer() as an encapsulation around setitimer() --
8476 call setitimer() directly unless Cygwin or MS Win, in which case
8477 we use our simulated version in win32.c.
8480 * systime.h (struct itimerval):
8481 * systime.h (ITIMER_REAL):
8482 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8483 comment about "qxe" and the policy regarding encapsulation.
8486 * win32.c (setitimer_helper_proc):
8487 * win32.c (setitimer_helper_period):
8488 * win32.c (setitimer_helper):
8489 * win32.c (mswindows_setitimer):
8490 Move setitimer() emulation here, so Cygwin can use it.
8491 Rename a couple of functions and variables to be longer and more
8492 descriptive. In setitimer_helper_proc(), send the signal
8493 using either mswindows_raise() or (on Cygwin) kill(). If for
8494 some reason we are still getting lockups, we'll change the kill()
8495 to directly invoke the signal handlers.
8497 ------ windows shell fixes ------
8501 Comments about how these two files must die.
8503 * callproc.c (init_callproc):
8504 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8505 not just COMSPEC. (more correct and closer to FSF.) Don't
8506 force a value for SHELL into the environment. (Comments added
8507 to explain why not.)
8509 * nt.c (init_user_info):
8510 Don't shove a fabricated SHELL into the environment. See above.
8512 2001-06-01 Ben Wing <ben@xemacs.org>
8514 * Makefile.in.in (ldflags):
8515 eliminate that pesky "defaulting to 00401000" warning.
8519 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8521 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8522 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8524 2001-04-24 Jerry James <james@xemacs.org>
8526 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8529 2001-06-01 Ben Wing <ben@xemacs.org>
8531 * event-msw.c (debug_mswin_messages):
8532 conditionalize the messages that were causing compile errors.
8533 (if only macros could generate #ifdef statements ...)
8535 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8537 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8539 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8541 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8543 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8545 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8546 * process-unix.c (unix_canonicalize_host_name):
8547 sysdep.c (init_system_name):
8548 Use it to conditionally support IPv6 canonicalization.
8550 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8553 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8555 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8557 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8558 attempt is made to scroll when no scroll bar is available.
8560 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8562 * input-method-motif.c (XIM_delete_frame): New callback.
8563 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8564 got deleted from 21.4.3.)
8566 2001-06-01 Ben Wing <ben@xemacs.org>
8568 * nt.c (mswindows_utime):
8569 * nt.c (close_file_data):
8570 fix off-by-one-indirection error.
8572 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8574 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8575 because set_file_times() now takes Lisp_Object path, instead of
8577 * nt.c: Include buffer.h.
8578 * nt.c (convert_from_time_t): New.
8579 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8580 not set mtime correctly.
8581 * nt.h: Declare mswindows_utime().
8582 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8583 path, instead of char*.
8584 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8586 2001-05-30 Ben Wing <ben@xemacs.org>
8590 (Stephen, just take all event-msw.c patches. This includes
8591 the "iconify" fix below.)
8594 * event-msw.c (mswindows_dequeue_dispatch_event):
8595 * event-msw.c (assert):
8596 * event-msw.c (emacs_mswindows_quit_p):
8597 * event-msw.c (debug_mswin_messages):
8598 * event-msw.c (debug_output_mswin_message):
8599 * event-msw.c (vars_of_event_mswindows):
8600 Fix yet more problems with C-g handling.
8601 Implement debug-mswindows-events.
8603 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8605 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8607 2001-05-23 Ben Wing <ben@xemacs.org>
8609 * event-msw.c (winsock_writer):
8610 * event-msw.c (winsock_closer):
8611 prior kludgy code was clobbering the buffer, thinking it was
8612 "unused" space to store an unneeded return value; instead, use
8613 the variable we've already got staring us in the face.
8615 2001-05-17 Andy Piper <andy@xemacs.org>
8617 * sysfile.h: don't assume that file attributes are boolean
8619 2001-05-23 Ben Wing <ben@xemacs.org>
8621 * device-msw.c (msprinter_init_device):
8622 signal an error rather than crash with an unavailable network
8623 printer (from Mike Alexander).
8626 * event-msw.c (struct winsock_stream):
8627 * event-msw.c (winsock_writer):
8628 * event-msw.c (winsock_closer):
8629 * event-msw.c (make_winsock_stream_1):
8630 cleanup headers. fix (hopefully) an error with data corruption
8631 when sending to a network connection.
8633 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8634 to handle the ~user prefix by (a) always assuming we're referencing
8635 ourselves and not even verifying the user -- hence any file with
8636 a tilde as its first char is invalid! (b) if there wasn't a slash
8637 following the filename, the pointer was set *past* the end of
8638 file and we started reading from uninitialized memory. Now we
8639 simply treat these as files, always.
8641 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8643 2001-05-19 Ben Wing <ben@xemacs.org>
8645 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8648 * process-nt.c (vars_of_process_nt):
8649 remove unused mswindows-quote-process-args. rec for 21.4.
8651 2001-05-12 Ben Wing <ben@xemacs.org>
8653 * event-msw.c (mswindows_dde_callback):
8654 * event-msw.c (mswindows_wnd_proc):
8655 eliminate cygwin warnings.
8657 2001-05-06 Ben Wing <ben@xemacs.org>
8661 * device-msw.c (print_dialog_worker):
8662 * device-msw.c (mswindows_handle_print_dialog_box):
8663 * device-msw.c (syms_of_device_mswindows):
8664 * dialog-msw.c (mswindows_make_dialog_box_internal):
8666 implement printing the selection when it's selected.
8668 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8670 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8672 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8674 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8675 EMACS_INT is signed.
8677 2001-04-15 Michael Lausch <mla@1012surf.net>
8679 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8680 gtk_widget_request_size() to give scrollbar >0 width for
8683 2001-05-30 William M. Perry <wmperry@gnu.org>
8685 * event-gtk.c: Check for buttons as modifier keys.
8687 2001-05-25 Craig Lanning <CraigL@Knology.net>
8690 Properly find MinGW's <process.h> inside Cygwin's restructured
8691 include directories. Don't try to include <cygwin/version.h>
8692 since we are dropping support for MinGW in versions of Cygwin
8695 Drop support for MinGW in versions of Cygwin before b21.
8697 Properly find MinGW's <process.h> inside Cygwin's restructured
8698 include directories.
8700 Drop support for MinGW in versions of Cygwin before b21.
8702 Even though a.out.h is no longer detected by configure, allow
8703 MinGW to use it until we figure out how to do the job with Win32.
8705 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8707 * syntax.c (find_start_of_comment):
8708 Fix `unbalanced parentheses' bug when dealing with mixed comment
8709 styles in c++/java/etc. mode
8711 2001-05-29 Mike Alexander <mta@arbortext.com>
8713 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8714 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8716 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8718 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8720 2001-03-31 Mike Sperber <mike@xemacs.org>
8722 * search.c (Freplace_match): Support FSF-style specification of
8723 match subexpression when applied to a buffer.
8725 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8727 * event-stream.c (is_scrollbar_event): add missing semicolon
8729 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8731 * Makefile.in.in: Use TAR macro instead of hardcoding
8732 tar. Allows use of GNU tar instead of system tar
8734 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8736 * event-stream.c (is_scrollbar_event): add missing semicolon
8738 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8740 * XEmacs 21.4.3 "Academic Rigor" is released.
8742 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8744 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8746 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8748 * buffer.c (Vcase_fold_search): Remove obsolete
8749 comment about non ASCII case-fold-search. This
8750 bug has been fixed by case-table changes.
8752 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8754 * event-msw.c: Restore include of events-mod.h.
8756 2001-04-22 zhaoway <zw@debian.org>
8758 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8761 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8763 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8765 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8767 * mule-charset.c (Fmake_charset): Add missing else.
8769 2001-04-23 Ben Wing <ben@xemacs.org>
8771 * event-msw.c (FAKE_MOD_QUIT):
8772 * event-msw.c (mswindows_dequeue_dispatch_event):
8773 * event-msw.c (mswindows_wnd_proc):
8774 * event-msw.c (emacs_mswindows_quit_p):
8775 Get critical quit working.
8777 2001-05-05 Ben Wing <ben@xemacs.org>
8781 * device-msw.c (mswindows_get_default_margin):
8782 * frame-msw.c (mswindows_size_frame_internal):
8783 * frame-msw.c (msprinter_init_frame_1):
8784 * frame-msw.c (vars_of_frame_mswindows):
8785 Change top/bottom margin defaults to 0.5 inches.
8787 2001-05-01 Martin Buchholz <martin@xemacs.org>
8789 Fix link error with gcc 3.0 on Linux.
8790 * terminfo.c (UP): Remove.
8791 * terminfo.c (BC): Remove.
8792 * terminfo.c (PC): Remove.
8793 They weren't used, and in any case, these symbols should be
8794 defined in the *library*.
8796 2001-05-03 Martin Buchholz <martin@xemacs.org>
8798 * s/aix4.h: Fix crash with xlc -O3.
8799 Improve comment explaining how -O3 works.
8801 2001-04-15 Ben Wing <ben@xemacs.org>
8804 * event-stream.c (Fnext_event):
8805 * event-stream.c (is_scrollbar_event):
8806 * event-stream.c (execute_command_event):
8807 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8808 crash' problem. His fix introduces other problems. We filter
8809 out scrollbar events specifically, making them somewhat invisible
8810 to command-building, and not appearing in `this-command-keys'.
8811 More work is still needed (see comments in event-stream.c), but
8812 this fixes all the major problems.
8814 2001-04-20 Ben Wing <ben@xemacs.org>
8816 * .cvsignore: Added stuff for Windows.
8818 2001-04-28 Ben Wing <ben@xemacs.org>
8820 * buffer.c (Ferase_buffer):
8821 * editfns.c (buffer_insert1):
8822 * editfns.c (Finsert_before_markers):
8823 * editfns.c (Finsert_string):
8824 * editfns.c (Finsert_char):
8825 * editfns.c (Fdelete_region):
8826 * editfns.c (Fwiden):
8827 * editfns.c (Fnarrow_to_region):
8828 remove bogus lines setting zmacs_region_stays to 0.
8830 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8832 * process-unix.c (unix_open_network_stream): If connect() fails
8833 invalidate file descriptor after closing it.
8835 2001-03-08 Mike Alexander <mta@arbortext.com>
8837 * event-msw.c (mswindows_need_event_in_modal_loop):
8838 Don't dispatch a message if we didn't get one.
8839 (mswindows_need_event):
8840 Terminate the correct process when one exits instead of the first
8841 one on Vprocess_list and look for process termination when in
8842 mswindows_protect_modal_loop.
8844 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8846 * XEmacs 21.4.1 "Copyleft" is released.
8848 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8850 * input-method-motif.c (XIM_delete_frame): New callback.
8851 (XIM_init_frame): Register it.
8853 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8855 * XEmacs 21.4.0 "Solid Vapor" is released.
8857 2001-04-15 Ben Wing <ben@xemacs.org>
8859 * cmdloop.c (call_command_loop):
8860 Fix braino in bit-rotting code.
8862 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8864 * extents.c (Fset_extent_endpoints): Force creation of extent info
8865 in buffer_or_string.
8867 * extents.c (process_extents_for_insertion_mapper): Correctly
8868 check for open-open zero-length extents.
8870 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8872 * lisp.h: New typedefs Memory_count, Element_count.
8875 Sign-compare warning elimination: several unsigned -> signed.
8876 Based on work by Ben Wing <ben@xemacs.org>.
8878 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8880 * XEmacs 21.2.47 "Zephir" is released.
8882 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8884 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8886 2001-04-03 Mike Sperber <mike@xemacs.org>
8888 * search.c: Revert previous patch due because of release.
8890 2001-03-30 Ben Wing <ben@xemacs.org>
8893 Add missing killpg prototype.
8896 Add a comment about fixing problems when a new entry is added
8899 * frame-msw.c (mswindows_init_frame_1):
8900 Fix compile warnings.
8902 * menubar.c (vars_of_menubar):
8903 Provide `menu-accelerator-support' to indicate that we properly
8904 support %_ in menu specifications, so that package code can
8905 conditionalize on this (and remove %_ from menu specifications
8910 * scrollbar-msw.c (can_scroll):
8912 Fix handling of mouse wheel under Windows to follow standards --
8913 now scrolls window under pointer, not selected window.
8915 2001-03-31 Mike Sperber <mike@xemacs.org>
8917 * search.c (Freplace_match): Support FSF-style specification of
8918 match subexpression when applied to a buffer.
8920 2001-03-15 Martin Buchholz <martin@xemacs.org>
8922 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8923 function to modify KEYMAP, so map over a copy of the hash table.
8925 2001-03-21 Martin Buchholz <martin@xemacs.org>
8927 * XEmacs 21.2.46 "Urania" is released.
8929 2001-03-20 Dan Holmsand <dan@eyebee.com>
8931 * realpath.c (xrealpath): Make file-truename work with symlinks to
8932 /cygdrive paths on cygwin. Always lowercase drive-letters on
8934 (cygwin_readlink): Don't try to find canonical filename unless
8937 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8939 * ChangeLog: Log GTK merge.
8945 Revert gratuitous whitespace changes from GTK merge.
8947 * emacs.c: Document end of complex #ifdef @ l. 1495.
8950 2001-03-12 Andy Piper <andy@xemacs.org>
8952 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8953 have to do likewise.
8955 2001-03-12 Andy Piper <andy@xemacs.org>
8957 * sysdep.c: we only support mingw now.
8959 2001-03-09 Andy Piper <andy@xemacs.org>
8961 * unexcw.c (copy_executable_and_dump_data_section): making approx
8962 overrun a warning only.
8964 2001-03-10 William M. Perry <wmperry@aventail.com>
8966 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8967 satisfy Stephen's identical-after-cpp plea.
8969 2001-03-02 Ben Wing <ben@xemacs.org>
8972 * cmds.c (Fforward_char):
8976 Augment documentation of the most common motion commands to make
8977 note of the shifted-motion support.
8979 2001-03-02 Ben Wing <ben@xemacs.org>
8981 * nt.c (mswindows_fstat):
8982 * nt.c (mswindows_stat):
8983 * search.c (boyer_moore):
8984 Fix compile warnings under Windows.
8986 * sysdep.c (sys_readdir):
8987 Fix buggy filename-conversion code under Mule.
8989 2001-03-09 William M. Perry <wmperry@aventail.com>
9011 * redisplay-output.c:
9017 The Great GTK Merge.
9024 * emacs-widget-accessors.c:
9038 * native-gtk-toolbar.c:
9049 The Great GTK Merge: new files.
9051 2001-02-26 Ben Wing <ben@xemacs.org>
9053 Reapplied Lstream change.
9055 2001-02-26 Ben Wing <ben@xemacs.org>
9057 Undid the last change, since it is more controversial than I
9058 thought. It should be back in at some point soon.
9060 2001-02-25 Ben Wing <ben@xemacs.org>
9063 * callproc.c (Fold_call_process_internal):
9064 * event-msw.c (ntpipe_slurp_reader):
9065 * event-msw.c (ntpipe_shove_writer):
9066 * event-msw.c (winsock_reader):
9067 * event-msw.c (winsock_writer):
9069 * file-coding.c (detect_eol_type):
9070 * file-coding.c (detect_coding_type):
9071 * file-coding.c (determine_real_coding_system):
9072 * file-coding.c (Fdetect_coding_region):
9073 * file-coding.c (decoding_reader):
9074 * file-coding.c (decoding_writer):
9075 * file-coding.c (mule_decode):
9076 * file-coding.c (Fdecode_coding_region):
9077 * file-coding.c (encoding_reader):
9078 * file-coding.c (encoding_writer):
9079 * file-coding.c (mule_encode):
9080 * file-coding.c (Fencode_coding_region):
9081 * file-coding.c (detect_coding_sjis):
9082 * file-coding.c (decode_coding_sjis):
9083 * file-coding.c (encode_coding_sjis):
9084 * file-coding.c (detect_coding_big5):
9085 * file-coding.c (decode_coding_big5):
9086 * file-coding.c (encode_coding_big5):
9087 * file-coding.c (detect_coding_ucs4):
9088 * file-coding.c (decode_coding_ucs4):
9089 * file-coding.c (encode_coding_ucs4):
9090 * file-coding.c (detect_coding_utf8):
9091 * file-coding.c (decode_coding_utf8):
9092 * file-coding.c (encode_coding_utf8):
9093 * file-coding.c (detect_coding_iso2022):
9094 * file-coding.c (decode_coding_iso2022):
9095 * file-coding.c (encode_coding_iso2022):
9096 * file-coding.c (decode_coding_no_conversion):
9097 * file-coding.c (encode_coding_no_conversion):
9098 * glyphs-x.c (write_lisp_string_to_temp_file):
9099 * gpmevent.c (tty_get_foreign_selection):
9102 * lstream.c (Lstream_flush_out):
9103 * lstream.c (Lstream_adding):
9104 * lstream.c (Lstream_write_1):
9105 * lstream.c (Lstream_write):
9106 * lstream.c (Lstream_raw_read):
9107 * lstream.c (Lstream_read_more):
9108 * lstream.c (Lstream_read):
9109 * lstream.c (Lstream_unread):
9110 * lstream.c (Lstream_fputc):
9111 * lstream.c (stdio_reader):
9112 * lstream.c (stdio_writer):
9113 * lstream.c (filedesc_reader):
9114 * lstream.c (filedesc_writer):
9115 * lstream.c (lisp_string_reader):
9116 * lstream.c (struct fixed_buffer_stream):
9117 * lstream.c (make_fixed_buffer_input_stream):
9118 * lstream.c (make_fixed_buffer_output_stream):
9119 * lstream.c (fixed_buffer_reader):
9120 * lstream.c (fixed_buffer_writer):
9121 * lstream.c (struct resizing_buffer_stream):
9122 * lstream.c (resizing_buffer_writer):
9123 * lstream.c (dynarr_writer):
9124 * lstream.c (lisp_buffer_reader):
9125 * lstream.c (lisp_buffer_writer):
9127 * lstream.h (lstream_implementation):
9128 * lstream.h (struct lstream):
9130 * process-nt.c (nt_send_process):
9131 * process-unix.c (unix_send_process):
9133 Correct Lstream lossage due to mixing of signed and unsigned
9134 quantities. All Lstream uses of size_t and ssize_t are now a
9135 single signed data type Lstream_data_count. This fixes problems
9136 under Windows with sending large quantities of data to a process,
9137 and may well fix other subtle bugs.
9139 2001-02-23 Martin Buchholz <martin@xemacs.org>
9141 * XEmacs 21.2.45 "Thelxepeia" is released.
9143 2001-02-21 Martin Buchholz <martin@xemacs.org>
9145 * lisp-union.h (XSETINT):
9148 Reverse previous change of 2001-02-06.
9150 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9152 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9154 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9155 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9156 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9157 * regex.c (POS_AS_IN_BUFFER): removed
9158 * regex.c (re_search_2):
9159 * regex.c (re_match_2):
9160 Don't use an offset of 1 when calculating buffer positions, since
9161 `BI_BUF_BEGV' does it already.
9163 2001-02-18 Wim Dumon <wim@easics.be>
9165 * insdel.c (prepare_to_modify_buffer): Also check for
9166 supersession when clash-detection is enabled.
9168 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9170 * regex.c (re_match_2_internal):
9171 Convert temp characters from 'const unsigned char' to 're_char'.
9172 Fix crashing bug with extended characters under mule.
9173 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9174 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9175 font-lock, pdump, and new syntax-table code.
9176 * syntax.c (find_start_of_comment):
9177 (find_end_of_comment):
9179 Fix crashing bugs involving moving beyond end of buffer.
9180 * syntax.c (find_start_of_comment):
9181 Fixed logic to allow proper detection of cases where the same
9182 character is used to end both a two-char comment start and a
9183 two-char comment end sequence. Fixes `(forward-comment -1)'.
9184 * syntax.c (find_start_of_comment):
9185 Return position just past last comment-end character for all cases
9186 (previously was only done for two-char comment-end sequences).
9187 * syntax.c (forward-comment):
9188 Take value returned from `find_end_of_comment', rather than
9190 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9191 Properly deal with BUFFERP (syntax_cache.object)
9193 2001-02-17 Martin Buchholz <martin@xemacs.org>
9195 * alloc.c (Fgarbage_collect):
9196 * alloc.c (make_bit_vector_from_byte_vector):
9197 -Wsign-compare-correctness.
9199 2001-02-16 Martin Buchholz <martin@xemacs.org>
9201 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9202 (XSETCHAR): Likewise.
9203 (XSETOBJ): Likewise.
9205 2001-02-15 Martin Buchholz <martin@xemacs.org>
9207 * mule-canna.c (canna-func-delete_previous):
9208 Rename to canna-func-delete-previous.
9210 2001-02-14 Martin Buchholz <martin@xemacs.org>
9212 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9214 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9216 * font-lock.c (find_context): Fix C++ compile errors introduced by
9219 2001-02-13 Martin Buchholz <martin@xemacs.org>
9221 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9222 pragma, but earlier ones barf on the same pragma.
9224 2001-02-06 Mike Sperber <mike@xemacs.org>
9226 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9227 `configure-mule-lisp-directory'.
9229 2001-02-12 Martin Buchholz <martin@xemacs.org>
9231 Make sure dump-id.c is compiled in the same way as other .c's.
9232 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9233 * dump-id.h: Remove.
9234 * emacs.c: Move dump-id.h into dumper.h.
9235 * dumper.h: Move dump-id.h into dumper.h.
9237 Use standard .c.o rule for building dump-id.o.
9238 Remove preprocessor flags from link command.
9239 Add dump-id.o to ${otherobjs} if PDUMP.
9241 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9243 Port FSF 20.7 syntax table improvements.
9247 Fixups for new syntax table stuff.
9248 * dired.c: Include syntax.c.
9249 (Fdirectory_files): Initialize regex_match_object and
9251 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9252 and Fget_char_property.
9254 Use ported FSF 20.7 syntax table improvements.
9259 2001-02-09 Martin Buchholz <martin@xemacs.org>
9261 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9262 Unixware's enum boolean from sys/types.h.
9264 2001-02-10 Martin Buchholz <martin@xemacs.org>
9266 Fix support for building with latest Purify.
9267 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9268 (PURIFY_FLAGS): Likewise.
9270 2001-02-09 Martin Buchholz <martin@xemacs.org>
9272 * fileio.c (lisp_string_set_file_times): New.
9273 * fileio.c (Fcopy_file): Use it.
9275 (copy-file filename non-ascii-filename t t)
9276 ==> No such file or directory, non-ascii-filename
9278 2001-02-10 Martin Buchholz <martin@xemacs.org>
9280 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9281 USHRT_MAX seems clearer than ~0 anyways.
9283 2001-02-09 Martin Buchholz <martin@xemacs.org>
9285 dumper improvements. Inspired by Olivier.
9286 * dumper.c (pdump_max_align): New.
9287 * dumper.c (pdump_add_entry): Use pdump_max_align.
9288 * dumper.c (pdump_get_entry_list): Likewise.
9289 * dumper.c (pdump_scan_by_alignment): Likewise.
9290 Don't iterate through unnecessary alignments.
9291 * dumper.c (pdump_file_get): No need to align result of malloc().
9292 * dumper.c (pdump_mallocadr): Remove.
9293 The result of malloc() is guaranteed to be maximally aligned.
9294 * dumper.c: s/elmt/elt/g;
9295 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9296 * dumper.c (pdump_alert_undump_object): Likewise.
9297 * dumper.c (pdump_align_table):
9298 Don't support alignments > 64.
9299 Store ALIGNOF's, not shift counts, in table.
9301 2001-02-09 Martin Buchholz <martin@xemacs.org>
9303 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9304 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9305 * systime.h: Use HAVE_UTIME.
9306 * sysdep.c (struct utimbuf): Remove.
9307 * sysdep.c (set_file_times): Prefer utime() to utimes().
9308 * config.h.in (HAVE_UTIME): New.
9309 * config.h.in (HAVE_UTIME_H): Remove.
9310 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9312 2001-02-09 Martin Buchholz <martin@xemacs.org>
9314 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9316 2001-02-08 Martin Buchholz <martin@xemacs.org>
9318 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9320 2001-02-08 Martin Buchholz <martin@xemacs.org>
9322 * XEmacs 21.2.44 "Thalia" is released.
9324 2001-02-06 Martin Buchholz <martin@xemacs.org>
9326 Fixes crashes in kill-emacs on some systems.
9327 * process-unix.c (unix_kill_child_process):
9328 It's OK for kill() to fail with ESRCH.
9330 2001-02-07 Martin Buchholz <martin@xemacs.org>
9332 Contortions to make .gdbinit tricks work on most systems.
9333 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9334 * alloc.c (dbg_valmask): Make non-const.
9335 * alloc.c (dbg_typemask): Make non-const.
9336 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9337 * alloc.c (dbg_valbits): Make non-const.
9338 * alloc.c (dbg_gctypebits): Make non-const.
9339 * .gdbinit (decode_object): Make it work with AIX cc.
9341 2001-02-06 Martin Buchholz <martin@xemacs.org>
9343 * elhash.c (make_general_lisp_hash_table):
9344 Use simpler and more efficient calloc to clear entries.
9346 2001-02-07 Martin Buchholz <martin@xemacs.org>
9348 * window.c (window_scroll): Work around an AIX C compiler bug.
9349 Fixes 'scroll-up' does nothing problem with xlC.
9351 2001-02-05 Martin Buchholz <martin@xemacs.org>
9353 * .gdbinit: Remove obsolete comment.
9355 2001-01-31 Mike Alexander <mta@arbortext.com>
9357 * select.c (Fown_selection_internal): Set owned_p for device
9360 2001-02-01 Martin Buchholz <martin@xemacs.org>
9363 "not" cannot be used as a macro name as it is an operator in C++
9364 * config.h.in: Stop #defining `not'.
9365 * chartab.c (check_category_char): not ==> not_p
9366 * chartab.h: Likewise.
9367 * regex.c (re_match_2_internal): Likewise.
9369 2001-02-02 Martin Buchholz <martin@xemacs.org>
9371 * lisp-disunion.h: Fix up comments.
9373 2001-01-31 Martin Buchholz <martin@xemacs.org>
9375 * keymap.c (define_key_check_and_coerce_keysym):
9377 Support mouse-6 and mouse-7 bindings in the obvious way.
9379 2001-02-01 Martin Buchholz <martin@xemacs.org>
9381 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9383 2001-01-30 Martin Buchholz <martin@xemacs.org>
9385 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9386 Previous patch missed DEFVAR_INT_MAGIC.
9387 Make sure future DEFVAR_foo use correct types.
9388 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9389 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9390 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9391 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9392 * (DEFVAR_INT): Likewise.
9393 * redisplay.c (vertical_clip): Should be of type Fixnum.
9394 * redisplay.c (horizontal_clip): Likewise.
9395 * lisp.h (dump_add_opaque_int): New.
9396 (dump_add_opaque_fixnum): New.
9398 2001-01-29 Andy Piper <andy@xemacs.org>
9400 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9401 since they can be eval'ed
9403 2001-01-29 Martin Buchholz <martin@xemacs.org>
9405 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9406 Oops, XEmacs redefines `class'. Use `typename' instead.
9408 2001-01-28 Martin Buchholz <martin@xemacs.org>
9410 * dumper.c: Fix C++ compile errors.
9412 2001-01-29 Martin Buchholz <martin@xemacs.org>
9414 * tparam.c: Use correct prototypes.
9416 2001-01-28 Martin Buchholz <martin@xemacs.org>
9418 * sysproc.h: #include util.h for NetBSD's openpty.
9420 2001-01-27 Martin Buchholz <martin@xemacs.org>
9422 More 64-bit correctness.
9423 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9424 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9426 This finally finishes the 64-bit SGI port.
9427 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9428 * symbols.c: Fix up comments and type casts.
9429 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9430 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9431 * symeval.h (Fixnum): New type.
9432 * symeval.h (symbol_value_type): Fix up comment.
9448 * mule-canna.c: A million DEFVAR_INTs here...
9449 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9462 s/int/Fixnum/g in DEFVAR_INT declarations.
9464 2001-01-26 Martin Buchholz <martin@xemacs.org>
9466 Port pdump to SGI alignment-sensitive environment.
9467 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9468 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9470 Define and use aligned reading and writing macros.
9471 Use buffered stdio instead of posix i/o for faster dumping.
9472 Eliminate kludgy 256 byte space for header.
9473 Read and write from dump file using structs for alignment safety.
9474 * dumper.c (pdump_align_stream): New.
9475 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9476 * dumper.c (PDUMP_READ_ALIGNED): New.
9477 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9478 * dumper.c (pdump_static_Lisp_Object): New struct.
9479 * dumper.c (pdump_static_pointer): New struct.
9480 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9481 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9482 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9483 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9485 * dumper.c (pdump_backtrace):
9486 * dumper.c (pdump_get_indirect_count):
9487 * dumper.c (pdump_register_object):
9488 * dumper.c (pdump_register_struct):
9489 * dumper.c (pdump_reloc_one):
9490 * dumper.c (pdump_scan_by_alignment):
9491 * dumper.c (pdump_dump_from_root_struct_ptrs):
9492 * dumper.c (pdump_dump_opaques):
9493 * dumper.c (pdump_dump_rtables):
9494 * dumper.c (pdump_dump_from_root_objects):
9496 * dumper.c (pdump_load_finish):
9497 Use aligned reading and writing.
9499 * dumper.c (pdump_free): Make static.
9500 * dumper.c (pdump_hFile): Likewise.
9501 * dumper.c (pdump_hMap): Likewise.
9503 2001-01-26 Martin Buchholz <martin@xemacs.org>
9505 * XEmacs 21.2.43 "Terspichore" is released.
9507 2001-01-25 Martin Buchholz <martin@xemacs.org>
9509 Type fiddling for window_config.saved_windows_count
9510 * window.c (struct window_config):
9511 Make saved_windows_count member unsigned.
9512 * window.c (sizeof_window_config_for_n_windows):
9513 Make parameter unsigned.
9514 * window.c (mark_window_config):
9515 * window.c (window_config_equal):
9516 * window.c (free_window_configuration):
9517 * window.c (Fset_window_configuration):
9518 * window.c (count_windows):
9519 * window.c (Fcurrent_window_configuration):
9520 * window.c (reinit_vars_of_window):
9521 Update all callers and users.
9523 2001-01-25 Martin Buchholz <martin@xemacs.org>
9525 Alignment correctness for flexible arrays.
9526 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9527 Make alignment-correct. Add interesting comments.
9528 * alloc.c (size_vector):
9529 * alloc.c (make_vector_internal):
9530 * alloc.c (make_bit_vector_internal):
9531 * alloc.c (sweep_bit_vectors_1):
9532 * fns.c (size_bit_vector):
9533 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9534 * window.c (sizeof_window_config_for_n_windows):
9535 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9537 2001-01-24 Martin Buchholz <martin@xemacs.org>
9539 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9541 2001-01-23 Andy Piper <andy@xemacs.org>
9543 * select.c (Fown_selection_internal): pass owned_p
9545 * select-msw.c (mswindows_own_selection): New Signature.
9547 * console.h (struct console_methods): add owned_p to
9550 * select-x.c (x_own_selection): pass owned_p
9551 (hack_motif_clipboard_selection): use owned_p
9552 (vars_of_select_x): new variable -
9553 x_selection_strict_motif_ownership.
9555 2001-01-23 Martin Buchholz <martin@xemacs.org>
9557 * specifier.h (specifier_data_offset): Remove pointless parens.
9558 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9560 2001-01-24 Martin Buchholz <martin@xemacs.org>
9562 Make Lisp_Object sizeof methods be alignment-correct.
9563 pdump must restore objects to the same alignment as the C compiler
9564 assumes. It really matters on SGIs.
9565 * lstream.c (aligned_sizeof_lstream): New.
9566 (sizeof_lstream): Use aligned_sizeof_lstream.
9567 (Lstream_new): Likewise.
9568 * opaque.c (aligned_sizeof_opaque): New.
9569 (sizeof_opaque): Use aligned_sizeof_opaque.
9570 (make_opaque): Likewise.
9571 * specifier.c (aligned_sizeof_specifier): New.
9572 (sizeof_specifier): Use aligned_sizeof_specifier.
9573 (make_specifier_internal): Likewise.
9575 2001-01-23 Martin Buchholz <martin@xemacs.org>
9577 * lstream.h (struct lstream): Use max_align_t for trailing data.
9578 * specifier.h (struct Lisp_Specifier): Likewise.
9580 2001-01-22 Martin Buchholz <martin@xemacs.org>
9582 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9583 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9584 (CCL_SUSPEND): Likewise.
9585 (CCL_INVALID_CMD): Likewise.
9586 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9587 (ccl_driver): Likewise.
9588 (CCL_WRITE_CHAR): Macro hygiene.
9589 (CCL_WRITE_STRING): Macro hygiene.
9591 2001-01-22 Martin Buchholz <martin@xemacs.org>
9593 Port "portable" dumper to SunOS 4 and HP-UX.
9594 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9595 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9596 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9598 2001-01-22 Martin Buchholz <martin@xemacs.org>
9600 * lisp.h (ALIGNOF): A better definition for C++.
9602 2001-01-20 Martin Buchholz <martin@xemacs.org>
9605 Fix printf warnings: int format, long int arg.
9606 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9607 (PUSH_FAILURE_POINT): Use correct printf formats.
9608 (POP_FAILURE_POINT): Use correct printf formats.
9609 Use do {...} while (0)
9611 2001-01-20 Martin Buchholz <martin@xemacs.org>
9613 * XEmacs 21.2.42 "Poseidon" is released.
9615 2001-01-20 Martin Buchholz <martin@xemacs.org>
9617 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9619 2001-01-19 Martin Buchholz <martin@xemacs.org>
9621 De-kludgify FIXED_TYPE free list frobbing.
9622 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9623 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9624 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9625 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9626 * alloc.c (LRECORD_FREE_P): New.
9627 * alloc.c (MARK_LRECORD_AS_FREE): New.
9628 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9629 * alloc.c (STRUCT_FREE_P): Deleted.
9630 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9631 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9632 * alloc.c (STRING_CHARS_FREE_P): New.
9633 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9634 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9635 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9636 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9637 * alloc.c (resize_string): Use new definitions.
9638 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9639 * alloc.c (verify_string_chars_integrity): Use new definitions.
9640 * alloc.c (compact_string_chars): Use new definitions.
9641 * alloc.c: Update monster comments.
9642 * lrecord.h (lrecord_type): Add some new lrecord types for
9645 2001-01-18 Martin Buchholz <martin@xemacs.org>
9647 Improve alignment hackery.
9648 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9649 (max_align_t): Moved from opaque.h - general purpose.
9650 (ALIGN_PTR): Use size_t, not long.
9651 * opaque.h (max_align_t): Move to lisp.h.
9653 2001-01-18 Norbert Koch <nk@LF.net>
9655 * gui.h: Fix and add prototypes to fix build problems.
9657 2001-01-18 Martin Buchholz <martin@xemacs.org>
9659 temacs is going away, so `dump-temacs' is now a bad name.
9660 * .dbxrc (dump-temacs): Rename to `dmp'.
9661 * .gdbinit (dump-temacs): Rename to `dmp'.
9663 2001-01-17 Andy Piper <andy@xemacs.org>
9665 * glyphs.c (print_image_instance): comment to make martin happy.
9667 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9670 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9672 (mswindows_tab_control_redisplay): warning suppression.
9674 * glyphs-widget.c (widget_update): re-write to cope with updated
9676 (widget_instantiate): use new gui_item functions.
9677 (tab_control_update): deleted.
9678 (progress_gauge_update): deleted.
9679 (image_instantiator_progress_guage): take out update reference.
9680 (image_instantiator_tree_view): ditto.
9681 (image_instantiator_tab_control): ditto.
9683 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9685 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9686 return whether anything was changed.
9687 (update_gui_item_keywords): as it sounds.
9689 * gui.h: declare widget_gui_parse_item_keywords.
9691 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9692 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9694 2001-01-17 Martin Buchholz <martin@xemacs.org>
9696 * XEmacs 21.2.41 "Polyhymnia" is released.
9698 2001-01-16 Didier Verna <didier@xemacs.org>
9700 * glyphs.c (image_instantiate): don't use fallbacks when
9701 instantiating a face's background pixmap by inheritance.
9703 2001-01-14 Mike Sperber <mike@xemacs.org>
9705 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9706 Conditionalize accordingly.
9708 2001-01-16 Martin Buchholz <martin@xemacs.org>
9710 * dumper.c (pdump_file_get): Fix a compiler warning.
9712 2001-01-15 Martin Buchholz <martin@xemacs.org>
9714 Make Purify happy when pdumping.
9715 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9716 iniitalizing all bits of new lisp object memory.
9717 * symbols.c (Fmake_local_variable): Likewise.
9718 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9719 * symbols.c (Fdefvaralias): Likewise.
9720 * mule-charset.c (vars_of_mule_charset): Likewise.
9722 2001-01-15 Martin Buchholz <martin@xemacs.org>
9723 Add the `-nd' flag when running pre-dump operations under the debugger.
9724 * .dbxrc (run-temacs): Add `-nd'.
9725 * .dbxrc (update-elc): Likewise.
9726 * .dbxrc (dump-temacs): Likewise.
9727 * .gdbinit (run-temacs): Likewise.
9728 * .gdbinit (check-temacs): Likewise.
9729 * .gdbinit (update-elc): Likewise.
9730 * .gdbinit (dump-temacs): Likewise.
9732 2001-01-14 Martin Buchholz <martin@xemacs.org>
9734 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9735 export OBJECT_MODE=64
9736 configure --pdump --use-union-type=no
9737 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9738 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9740 * miscplay.c (sndcnv8U_2mono):
9741 Avoid two uses of `++' in the same expression.
9742 Suppresses a GCC warning.
9744 2001-01-13 Martin Buchholz <martin@xemacs.org>
9746 Make sure future compilers don't miscompile alloc.c.
9748 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9749 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9751 2001-01-12 Martin Buchholz <martin@xemacs.org>
9753 * dumper.c: A little post-pdump-rename comment fixup.
9755 2001-01-09 Jerry James <james@eecs.ku.edu>
9757 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9759 2001-01-13 Martin Buchholz <martin@xemacs.org>
9761 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9765 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9768 replace_symbol pdump_wire_lists pdump_weak_object_chains
9769 replace_symbol pdump_wire_list dump_add_weak_object_chain
9771 replace_symbol pdump_wires pdump_root_objects
9772 replace_symbol pdump_wire dump_add_root_object
9774 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9775 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9777 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9778 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9779 replace_symbol dumpstructinfo pdump_root_struct_ptr
9780 replace_symbol dumpstruct dump_add_root_struct_ptr
9782 replace_symbol dumpopaque dump_add_opaque
9783 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9784 replace_symbol dumpopaqueinfos pdump_opaques
9785 replace_symbol dumpopaqueinfo pdump_opaque
9787 replace_symbol nb_structdump nb_root_struct_ptrs
9788 replace_symbol nb_opaquedump nb_opaques
9790 replace_symbol align_table pdump_align_table
9791 replace_symbol dump_header pdump_header
9793 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9794 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9797 2001-01-12 Martin Buchholz <martin@xemacs.org>
9799 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9800 optimizing bytecount_to_charcount().
9802 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9805 (HAVE_DLFCN_H): Removed.
9806 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9808 2001-01-06 Martin Buchholz <martin@xemacs.org>
9810 Portable dumper maintainability improvements.
9811 * alloc.c (staticpro):
9812 * alloc.c (staticpro_nodump):
9813 * alloc.c (garbage_collect_1):
9814 * alloc.c (reinit_alloc_once_early):
9815 * alloc.c (init_alloc_once_early):
9816 * alloc.c: Move dumper functions to alloc.c.
9817 * dumper.c (pdump_backtrace):
9818 * dumper.c (pdump_dump_structs):
9819 * dumper.c (pdump_dump_opaques):
9820 * dumper.c (pdump_dump_rtables):
9821 * dumper.c (pdump_dump_wired):
9823 * dumper.c (pdump_load_check):
9824 * dumper.c (pdump_load_finish):
9825 * dumper.c (pdump_file_unmap):
9826 * dumper.c (pdump_file_get):
9827 * dumper.c (pdump_resource_free):
9828 * dumper.c (pdump_resource_get):
9829 * dumper.c (pdump_file_free):
9830 * dumper.c (pdump_file_try):
9831 * dumper.c (pdump_load):
9832 Remove fixed size limits on staticpro(), staticpro_nodump(),
9833 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9834 Remove custom code for dumping lrecord_implementations_table - use
9836 Remove (most of the) custom code for dumping staticpros - dump it
9837 like any other dynarr.
9839 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9840 * dumper.c: Moved functions from alloc.c.
9841 * alloc.c (dumpstruct): Moved to dumper.c.
9842 * alloc.c (dumpopaque): Likewise.
9843 * alloc.c (pdump_wire): Likewise.
9844 * alloc.c (pdump_wire_list): Likewise.
9846 * lisp.h (Dynarr_sizeof): New.
9847 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9848 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9849 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9851 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9852 * lisp.h (dumpopaque): ditto.
9853 * lisp.h (pdump_wire): ditto.
9854 * lisp.h (pdump_wire_list): ditto.
9856 2001-01-09 Martin Buchholz <martin@xemacs.org>
9858 * make-src-depend (PrintPatternDeps):
9859 Use `sort' to make output independent of perl version.
9861 2001-01-08 Martin Buchholz <martin@xemacs.org>
9864 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9865 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9867 2001-01-03 Didier Verna <didier@xemacs.org>
9869 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9870 that `focus_frame' is alive before thinking of calling
9871 `redisplay_redraw_cursor' on it.
9873 2001-01-08 Martin Buchholz <martin@xemacs.org>
9875 * XEmacs 21.2.40 is released.
9877 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9879 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9881 2001-01-06 Martin Buchholz <martin@xemacs.org>
9883 * alloc.c (dbg_valmask): Make const.
9884 * alloc.c (dbg_typemask): Make const.
9885 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9886 * alloc.c (dbg_valbits): Make const.
9887 * alloc.c (dbg_gctypebits): Make const.
9889 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9891 * redisplay-x.c (x_bevel_area):
9892 redisplay.h (struct rune):
9893 Typo fixes in comments.
9895 2001-01-05 Andy Piper <andy@xemacs.org>
9897 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9900 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9902 2001-01-05 Martin Buchholz <martin@xemacs.org>
9904 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9906 * mule-ccl.c (stack_idx_of_map_multiple):
9907 Non const global data must not be initialized!
9908 Found by MIYASHITA Hisashi.
9910 2001-01-02 Andy Piper <andy@xemacs.org>
9912 * frame.c (change_frame_size): make sure frame size is always
9915 * glyphs.c (image_instance_layout): minor code reuse.
9917 * window.c (Fcurrent_window_configuration): revert previous
9920 2001-01-02 Martin Buchholz <martin@xemacs.org>
9923 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9925 2000-12-31 Andy Piper <andy@xemacs.org>
9927 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9928 when widget gets unmapped.
9930 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9931 function. Make sure widgets losing focus don't just drop it.
9932 (handle_focus_event_1): record the widget with focus.
9934 2000-12-31 Andy Piper <andy@xemacs.org>
9936 * window.c (allocate_window): use
9937 make_image_instance_cache_hash_table.
9938 (make_dummy_parent): ditto.
9939 (Fset_window_configuration): ditto.
9941 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9943 * glyphs.c (process_image_string_instantiator): use
9945 (get_image_instantiator_governing_domain): ditto.
9946 (normalize_image_instantiator): ditto.
9947 (instantiate_image_instantiator): ditto.
9948 (make_image_instance_1): ditto.
9949 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9950 (instantiator_eq_equal): new function for use with instance hash
9952 (instantiator_eq_hash): ditto.
9953 (make_image_instance_cache_hash_table): create a suitable hash
9954 table for storing image instances.
9956 * elhash.h (hash_table_weakness): new internal weakness type
9957 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9958 declare new functions.
9960 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9961 another weakness type for glyphs.
9962 (make_standard_lisp_hash_table): new function split out from
9963 make_general_lisp_hash_table.
9964 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9965 (hash_table_instantiate): ditto.
9966 (Fmake_hash_table): ditto.
9968 2000-12-31 Martin Buchholz <martin@xemacs.org>
9970 * XEmacs 21.2.39 is released.
9972 2000-12-29 Andy Piper <andy@xemacs.org>
9974 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9976 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9977 the frame has changed so that we pick up geometry changes such as
9980 2000-12-28 Andy Piper <andy@xemacs.org>
9982 * lastfile.c (my_ebss): make a char array so we can pad the
9983 bss. Fixes cygwin unexec.
9985 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9987 2000-12-26 Andy Piper <andy@xemacs.org>
9989 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9990 comments and try and be more precise about a non-/SIGIO world.
9991 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9994 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9995 we don't normalize to zero width or height.
9997 2000-12-24 Andy Piper <andy@xemacs.org>
9999 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10001 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10003 * s/sco5.h: SCO 5 has pty support.
10005 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10007 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10008 input-method-xlib.c contains whole contents of input-method-xfs.c,
10009 so we can use input-method-xlib.c's code for USE_XFONTSET
10011 * input-method-xfs.c: removed.
10013 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10015 * file-coding.h (enum coding_category_type): reorder enumerators to
10016 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10017 (now one greater than largest real coding_category_type enumerator).
10018 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10019 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10020 Fcoding_category_list, Fset_coding_priority_list,
10021 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10022 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10024 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10026 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10027 * redisplay-output.c (redisplay_output_window): Clear top of window
10028 when face is changed.
10029 * redisplay-x.c (x_redraw_exposed_window): Call
10030 redisplay_clear_top_of_window.
10031 * redisplay.h: Publish redisplay_clear_top_of_window.
10033 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10035 * buffer.c (Fkill_buffer): Map over all devices.
10036 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10037 (list_windows): New function.
10038 (list_all_windows): Ditto.
10039 (Freplace_buffer_in_windows): Use them.
10041 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10043 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10044 (Fopen_database): Use `db_create' instead of `db_open'.
10045 (syms_of_database): Initialize Qqueue.
10047 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10049 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10050 buffer_local_face_property.
10051 * buffer.h (struct buffer): New member buffer_local_face_property.
10052 * window.c (Fset_window_buffer): Mark window's face as changed
10053 when buffer has buffer local face.
10054 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10055 * objects.c (color_after_change): Set buffer_local_face_property
10056 when locale of face specifier is buffer.
10057 * objects.c (font_after_change): Ditto.
10058 * objects.c (face_boolean_after_change): Ditto.
10059 * glyphs.c (image_after_change): Ditto.
10061 2000-12-09 Dan Holmsand <dan@eyebee.com>
10063 * nt.c (mswindows_fstat): Report file permissions, volume serial
10064 number, etc. Code adapted from FSF Emacs 20.7.
10066 2000-12-09 Dan Holmsand <dan@eyebee.com>
10068 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10069 of stat when we don't have symbolic links, to make sure
10070 mswindows_stat is called on mswindows.
10072 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10074 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10076 2000-12-12 Martin Buchholz <martin@xemacs.org>
10078 * doprnt.c (emacs_doprnt_1): More printing fixes.
10079 Make printing of numbers compatible with libc and FSF Emacs.
10080 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10081 Use the system printf to do most of the hard work of formatting,
10082 instead of doprnt_1().
10083 Calculate memory to allocate for format string.
10084 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10085 (doprnt_1): Cleaner code and documentation.
10087 2000-12-01 Jerry James <james@eecs.ukans.edu>
10089 * Makefile.in.in: Use the loop variable to install headers.
10091 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10093 * window.c (Fsplit_window): Don't invalidate face cache.
10095 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10097 * minibuf.c (Fall_completions): Undo the previous change
10098 which removed checking elements start with space.
10100 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10102 * mule-canna.c: Didier suppression.
10104 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10106 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10107 (warning suppression). Add English comment translations.
10109 2000-12-05 Martin Buchholz <martin@xemacs.org>
10111 * unexelfsgi.c (unexec): Better test for mmap failure.
10113 2000-12-05 Martin Buchholz <martin@xemacs.org>
10115 * XEmacs 21.2.38 is released.
10117 2000-12-05 Martin Buchholz <martin@xemacs.org>
10119 * redisplay.c (bar-cursor): Make a user variable.
10121 * symsinit.h: Add init_postgresql_from_environment.
10123 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10125 * regex.c: Convert to clean C.
10127 2000-12-05 Dan Holmsand <dan@eyebee.com>
10130 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10132 (sys_readlink): renamed to system_readlink to avoid conflict with
10133 the other sys_readlink.
10135 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10137 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10139 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10141 * postgresql.c (init_postgresql_from_environment): new function.
10142 (vars_of_postgresql): Move code initializing Lisp variables out and
10143 into init_postgresql_from_environment.
10144 emacs.c (main_1): Call init_postgresql_from_environment if and only
10145 if running a dumped XEmacs.
10147 2000-08-31 Dan Holmsand <dan@eyebee.com>
10149 * buffer.c: Make find-file-compare-truenames default to true on
10152 * realpath.c (win32_abs_start):
10154 (win32_readlink): New functions.
10155 (xrealpath): Return really real filenames on windows.
10157 * fileio.c (Ffile_truename): Make file-truename work on windows.
10159 2000-11-29 Didier Verna <didier@xemacs.org>
10161 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10162 * faces.c (update_face_cachel_data): use it.
10163 * faces.c (add_face_cachel): use it. Complete background pixmap
10164 frobbing in face cache if `update_face_cachel_data' has not done so.
10166 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10168 * search.c (string_match_1): Don't set last_thing_searched
10169 when search failed.
10171 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10173 * buffer.c: Include casetab.h
10174 (common_init_complex_vars_of_buffer): Use new case-table object.
10175 * buffer.h: Include casetab.h
10176 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10177 (DOWNCASE_TABLE_OF): Ditto.
10178 * bufslots.h: Remove char-tables and add case-table.
10179 * casetab.c: Include casetab.h
10180 (CASE_TABLE_P): Removed.
10181 (mark_case_table): New function.
10182 (allocate_case_table): New function.
10183 (Fcase_table_p): Use new case-table.
10184 (case_table_char): New function.
10185 (Fget_case_table): Ditto.
10186 (Fput_case_table): Ditto.
10187 (Fput_case_table_pair): Ditto.
10188 (Fcopy_case_table): Ditto.
10189 (Fcurrent_case_table): Return case-table.
10190 (Fstandard_case_table): Return case-table.
10191 (Fset_case_table): Fix doc-string.
10192 (set_case_table): Use case-table
10193 (syms_of_casetab): DEFSUBR new functions.
10194 (complex_vars_of_casetab): Set up standard case-table.
10195 * casetab.h: New file.
10196 * editfns.c: Include casetab.h
10197 (Fcompare_buffer_substrings): Use case-table.
10198 * inline.c: Include casetab.h
10199 * lisp.h: Remove bogus extern.
10200 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10201 * search.c: Include casetab.h
10202 (TRANSLATE_ASCII): Removed.
10203 (TRANSLATE): Unconditionally translate character.
10204 (looking_at_1): Use case-table.
10205 (string_match_1): Ditto.
10206 (fast_string_match): Ditto.
10207 (search_command): Ditto.
10208 (search_buffer): Separate boyer_moore. Check whether
10209 boyer_moore is possible.
10210 (simple_search): New function.
10211 (boyer_moore): Separated from search_buffer. Translate char.
10213 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10215 * regex.c (RE_TR_ASCII): Removed.
10216 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10217 (PATFETCH): Call PATFETCH_RAW.
10218 (PATFETCH_RAW): Fetch Emchar.
10219 (PATUNFETCH): Decrement charptr.
10220 (GET_BUFFER_SPACE): Rename b to buf_end.
10222 (BUF_PUSH_2): Ditto.
10223 (BUF_PUSH_3): Ditto.
10224 (EXTEND_BUFFER): Ditto.
10225 (SET_LIST_BIT): Ditto.
10226 (regex_compile): Ditto. Translate non ASCII char.
10227 (compile_range): Ditto.
10228 (re_search_2): Ditto.
10229 (re_match_2_internal): Compare Emchar.
10230 (bcmp_translate): Ditto.
10232 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10234 * lisp.h (basic char/int typedefs): comment improvement.
10236 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10238 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10239 unstomp inhibit_site_lisp. Improve comments.
10241 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10243 * mule-charset.c (Fcharset_property): improve type checking, comments.
10245 2000-11-28 Andy Piper <andy@xemacs.org>
10247 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10248 clipped display for windows in the gutter also.
10249 (redisplay_display_boxes_in_window_p): change semantics of return
10250 codes to be more intuitive.
10252 * gutter.h: declare display_boxes_in_gutter_p.
10254 * gutter.c (display_boxes_in_gutter_p): new function for
10257 2000-11-22 Andy Piper <andy@xemacs.org>
10259 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10262 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10264 * callproc.c (Fold_call_process_internal):
10265 * gpm.c (Freceive_gpm_event):
10266 (tty_get_foreign_selection): Might be just warning supression.
10267 * fileio.c (Fwrite_region_internal):
10268 (Fset_visited_file_modtime):
10269 * keymap.c (event_matches_key_specifier_p):
10270 Initialize GCPROed variable.
10272 * menubar-x.c (command_builder_find_menu_accelerator):
10273 Initialize before use.
10275 2000-11-23 Andy Piper <andy@xemacs.org>
10277 * unexcw.c (unexec): make the resulting executable executable.
10279 2000-11-21 Martin Buchholz <martin@xemacs.org>
10281 * doc.c (get_doc_string):
10282 Use size_t, not int, for result of XSTRING_LENGTH.
10284 * cmds.c (Fdelete_char):
10285 * cmds.c (Fpoint_at_eol):
10286 * cmds.c (Fself_insert_command):
10287 Use EMACS_INT, not int, for result of XINT.
10288 Someday, someone will want to insert more than 2**31 identical characters.
10290 * cmds.c (Fdelete_char):
10291 * cmds.c (Fdelete_backward_char):
10292 * syntax.c (Fforward_word):
10293 * syntax.c (Fforward_comment):
10294 Make COUNT argument optional, for consistency with forward-char et al.
10296 2000-11-22 Martin Buchholz <martin@xemacs.org>
10299 * print.c (long_to_string):
10300 Return a useful value: the pointer at end of data written.
10303 Use `static const char * const' for constant strings.
10304 (union printf_arg): Delete `i', `ui' members.
10307 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10308 Do all printf-ing via the `l' specifier.
10309 Use EMACS_INT instead of int.
10312 2000-11-20 Didier Verna <didier@xemacs.org>
10314 * faces.c (update_face_cachel_data): don't frob the background
10315 pixmap when the window is being created. The face is needed but
10316 does not exist yet.
10318 2000-11-20 Andy Piper <andy@xemacs.org>
10320 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10321 messing with a debug environment.
10323 2000-11-20 Martin Buchholz <martin@xemacs.org>
10325 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10327 2000-11-20 Martin Buchholz <martin@xemacs.org>
10329 * casetab.c (Fcase_table_p): Fix compile error and crash.
10331 2000-11-18 Philip Aston <philipa@mail.com>
10333 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10335 2000-11-18 Martin Buchholz <martin@xemacs.org>
10337 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10338 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10340 2000-11-17 Martin Buchholz <martin@xemacs.org>
10342 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10343 * unexelf.c: Use HAVE_ELF_H.
10344 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10345 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10346 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10347 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10349 So this is an unexelfsgi.c from a different line of development.
10351 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10353 * regex.c (RE_TR_ASCII): New function.
10354 (RE_TRANSLATE): Call it.
10356 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10358 * buffer.h (TRT_TABLE_OF): Remove assert.
10359 (IN_TRT_TABLE_DOMAIN): Removed.
10361 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10363 * free-hook.c (log_gcpro):
10364 (show_gcprohist): Add support for GCPRO5.
10366 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10368 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10370 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10372 * symeval.h: Declare flush_all_buffer_local_cache.
10374 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10375 (flush_buffer_local_cache): Added.
10376 (flush_all_buffer_local_cache): Added.
10378 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10380 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10381 (pdump_dump_data): Ditto.
10382 (pdump_reloc_one): Ditto.
10383 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10387 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10389 * buffer.c: Remove if 0'ed entry.
10390 * buffer.h: Rewrite TRT to use char-table.
10391 * bufslots.h: Remove mirror tables.
10392 * casetab.c: Remove mirror tables.
10393 (CASE_TABLE_P): New macro.
10394 (Fcase_table_p): Element of a case table is string or char-table.
10395 (make_mirror_trt_table): Removed.
10396 (set_case_table): Setup char-table from strings for backward
10398 * dired.c (Fdirectory_files):
10399 * dired-msw.c: (mswindows_get_files):
10400 * lisp.h: Change prototype of re_pattern_buffer.
10401 * regex.c: (RE_TRANSLATE): New macro.
10402 (TRANSLATE_P): Ditto.
10403 Change translate to type RE_TRANSLATE_TYPE.
10404 * regex.h: Define RE_TRANSLATE_TYPE
10405 * search.c (TRANSLATE): New macro.
10406 (TRANSLATE_ASCII): New macro.
10407 Translate table is changed to Lisp_Object.
10408 (signal_failure): Inhibit return.
10410 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10417 Do UNGCPRO before return.
10419 2000-11-14 Martin Buchholz <martin@xemacs.org>
10421 * XEmacs 21.2.37 is released.
10423 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10425 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10426 Add comments about discarded return value.
10428 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10431 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10433 2000-10-27 Andy Piper <andy@xemacs.org>
10435 * gutter.c (Fset_default_gutter_position): default left and right
10436 gutters to visible.
10437 (calculate_gutter_size): calculate resonable heuristic for left
10438 and right gutter sizes.
10439 (specifier_vars_of_gutter): change left and right gutter sizes to
10441 (calculate_gutter_size_from_display_lines): new function.
10442 (output_gutter): check for resizing on left and right gutters.
10443 (clear_gutter): don't special case top and left gutters.
10444 (specifier_vars_of_gutter): use new signature for
10445 set_specifier_caching.
10447 * glyphs-x.c (x_redisplay_widget): spelling fix.
10448 * glyphs.c (specifier_vars_of_glyphs):
10449 * menubar.c (specifier_vars_of_menubar):
10450 * redisplay.c (specifier_vars_of_redisplay):
10451 * toolbar.c (specifier_vars_of_toolbar):
10452 * window.c (specifier_vars_of_window):
10453 * scrollbar.c (specifier_vars_of_scrollbar):
10454 (complex_vars_of_scrollbar): use new signature for
10455 set_specifier_caching.
10457 * specifier.c (set_specifier_caching): include recompute flag.
10458 (recompute_one_cached_specifier_in_window): always recompute if
10460 (recompute_one_cached_specifier_in_frame): ditto.
10462 * specifier.h (struct specifier_caching): add recompute flag.
10464 2000-10-24 Andy Piper <andy@xemacs.org>
10466 * unexcw.c (copy_executable_and_dump_data_section): add new
10467 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10470 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10472 * console-x.h (x_device): New member modifier_release_time.
10473 * event-Xt.c (x_handle_sticky_modifiers):
10474 Bound interval modifier keys are sticky.
10475 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10476 * events.h: extern it.
10478 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10480 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10482 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10484 * event-stream.c (execute_command_event): Preserve current_events
10485 and the like when event is misc-user-event.
10486 Inhibit quit during the call to maybe_echo_keys.
10488 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10490 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10491 symlink when buffer is killed.
10492 (inhibit_clash_detection): New variable.
10494 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10496 * console.c (Fset_input_method): Trigger redisplay on tty.
10498 2000-11-07 Martin Buchholz <martin@xemacs.org>
10500 * process.c (Fprocess_status): Revert to previous behavior:
10501 (process-status "nosuchprocess") ==> nil
10503 2000-11-06 Martin Buchholz <martin@xemacs.org>
10505 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10506 Work around another GCC 2.95.2 optimizer bug.
10508 2000-11-02 Martin Buchholz <martin@xemacs.org>
10510 * process.c (Fget_process): Use LIST_LOOP_2.
10511 (kill_buffer_processes): Use LIST_LOOP_2.
10513 * minibuf.c (Fall_completions):
10514 Delete old non-functional code for FSF fourth argument.
10516 * frame.c (frame_matches_frame_spec):
10517 Renamed from `frame_matches_frametype'. Update all callers.
10518 (device_matches_device_spec):
10519 Renamed from 'device_matches_console_spec'. Update all callers.
10521 * doc.c (Fsubstitute_command_keys):
10522 Remove buffer overflow crash. Small code cleanups.
10524 * casetab.c (check_case_table): Simpler code.
10526 * window.c (Freplace_buffer_in_windows):
10527 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10528 (and similar implementation) as Fdelete_windows_on.
10529 Update all callers.
10531 * alloc.c (Fmake_list):
10532 * alloc.c (make_vector):
10533 * alloc.c (Fmake_vector):
10534 * alloc.c (make_bit_vector):
10535 * alloc.c (Fmake_bit_vector):
10536 * alloc.c (Fbit_vector):
10537 * alloc.c (Fmake_string):
10538 * alloc.c (Fpurecopy):
10539 * alloc.c (Fmemory_limit):
10541 * buffer.c (Fget_buffer):
10542 * buffer.c (Fkill_buffer):
10543 * buffer.c (complex_vars_of_buffer):
10544 * bytecode.c (Fcompiled_function_stack_depth):
10545 * callint.c (Fprefix_numeric_value):
10547 * event-stream.c (Fread_key_sequence):
10549 * casetab.c (Fcase_table_p):
10550 * casetab.c (check_case_table):
10551 * casetab.c (Fset_case_table):
10552 * casetab.c (Fset_standard_case_table):
10554 * chartab.c (Fchar_table_type):
10555 * chartab.c (Freset_char_table):
10556 * chartab.c (Fget_char_table):
10557 * chartab.c (Fget_range_char_table):
10558 * chartab.c (Fput_char_table):
10559 * chartab.c (Fmap_char_table):
10560 * chartab.c (Fcategory_table_p):
10561 * chartab.c (Fcheck_category_at):
10562 * chartab.c (Fchar_in_category_p):
10563 * chartab.c (Fcategory_table):
10564 * chartab.c (Fcopy_category_table):
10565 * chartab.c (Fset_category_table):
10566 * chartab.c (Fcategory_designator_p):
10567 * chartab.c (Fcategory_table_value_p):
10568 * cmds.c (Fdelete_char):
10569 * cmds.c (Fdelete_backward_char):
10570 * cmds.c (Fself_insert_command):
10571 * cmds.c (Fself_insert_internal):
10572 * console.c (Fvalid_console_type_p):
10573 * console.c (Fcdfw_console):
10574 * console.c (Fconsole_type):
10575 * console.c (Fconsole_name):
10576 * console.c (Fconsole_device_list):
10577 * console.c (Fconsole_on_window_system_p):
10580 * data.c (Fold_eq):
10581 * data.c (Fsubr_interactive):
10582 * data.c (Fchar_to_int):
10583 * data.c (Fint_to_char):
10584 * data.c (Fsetcar):
10585 * data.c (Fsetcdr):
10586 * data.c (Fnumber_to_string):
10587 * data.c (Fstring_to_number):
10589 * database.c (mark_database):
10590 * database.c (finalize_database):
10591 * database.c (Fdatabase_live_p):
10592 * database.c (Fdatabasep):
10593 * device-x.c (Fx_get_resource):
10594 * device.c (Fdfw_device):
10596 * dired.c (Ffile_name_completion):
10597 * dired.c (Ffile_name_all_completions):
10598 * dired.c (Fuser_name_completion):
10599 * dired.c (Fuser_name_completion_1):
10600 * dired.c (Fuser_name_all_completions):
10601 * doc.c (Fdocumentation):
10602 * doc.c (Fdocumentation_property):
10603 * doc.c (Fsubstitute_command_keys):
10605 * editfns.c (Fchar_to_string):
10606 * editfns.c (Fstring_to_char):
10607 * editfns.c (Ftemp_directory):
10608 * editfns.c (Finsert_char):
10609 * editfns.c (Fbuffer_substring_no_properties):
10610 * editfns.c (Fnarrow_to_region):
10611 * editfns.c (Fchar_equal):
10612 * editfns.c (Fchar_Equal):
10613 * editfns.c (Ftranspose_regions):
10614 * emacs.c (Fdump_emacs):
10616 * eval.c (Fcommand_execute):
10617 * eval.c (Fautoload):
10618 * eval.c (Fbacktrace):
10619 * eval.c (Fbacktrace_frame):
10621 * events.c (Fcopy_event):
10622 * events.c (Fcharacter_to_event):
10623 * events.c (Fevent_button):
10624 * events.c (Fevent_process):
10626 * extents.c (Fnext_extent_change):
10627 * extents.c (Fextent_property):
10628 * faces.c (Ffacep):
10629 * faces.c (Fmake_face):
10631 * file-coding.c (Fencode_shift_jis_char):
10632 * file-coding.c (Fencode_big5_char):
10633 * fileio.c (Ffile_name_directory):
10634 * fileio.c (Ffile_name_nondirectory):
10635 * fileio.c (Ffile_name_as_directory):
10636 * fileio.c (Fdirectory_file_name):
10637 * fileio.c (Ffile_truename):
10638 * fileio.c (Fsubstitute_in_file_name):
10639 * fileio.c (Ffile_modes):
10640 * fileio.c (Fset_file_modes):
10641 * fileio.c (Fset_default_file_modes):
10642 * fileio.c (Fverify_visited_file_modtime):
10643 * floatfns.c (Facos):
10644 * floatfns.c (Fasin):
10645 * floatfns.c (Fatan):
10646 * floatfns.c (Fcos):
10647 * floatfns.c (Fsin):
10648 * floatfns.c (Ftan):
10649 * floatfns.c (Fbessel_j0):
10650 * floatfns.c (Fbessel_j1):
10651 * floatfns.c (Fbessel_jn):
10652 * floatfns.c (Fbessel_y0):
10653 * floatfns.c (Fbessel_y1):
10654 * floatfns.c (Fbessel_yn):
10655 * floatfns.c (Ferf):
10656 * floatfns.c (Ferfc):
10657 * floatfns.c (Flog_gamma):
10658 * floatfns.c (Fexp):
10659 * floatfns.c (Fexpt):
10660 * floatfns.c (Flog):
10661 * floatfns.c (Flog10):
10662 * floatfns.c (Fsqrt):
10663 * floatfns.c (Fcube_root):
10664 * floatfns.c (Facosh):
10665 * floatfns.c (Fasinh):
10666 * floatfns.c (Fatanh):
10667 * floatfns.c (Fcosh):
10668 * floatfns.c (Fsinh):
10669 * floatfns.c (Ftanh):
10670 * floatfns.c (Fabs):
10671 * floatfns.c (Ffloat):
10672 * floatfns.c (Flogb):
10673 * floatfns.c (Fceiling):
10674 * floatfns.c (Ffloor):
10675 * floatfns.c (Fround):
10676 * floatfns.c (Ftruncate):
10677 * floatfns.c (Ffceiling):
10678 * floatfns.c (Fffloor):
10679 * floatfns.c (Ffround):
10680 * floatfns.c (Fftruncate):
10681 * fns.c (Fstring_equal):
10682 * fns.c (Fstring_lessp):
10685 * fns.c (vconcat2):
10686 * fns.c (vconcat3):
10687 * fns.c (Fsubstring):
10689 * fns.c (Fold_assoc):
10690 * fns.c (assoc_no_quit):
10692 * fns.c (Fold_assq):
10693 * fns.c (assq_no_quit):
10695 * fns.c (Fold_rassoc):
10697 * fns.c (Fold_rassq):
10698 * fns.c (rassq_no_quit):
10699 * fns.c (Fremassoc):
10700 * fns.c (remassoc_no_quit):
10701 * fns.c (Fremassq):
10702 * fns.c (remassq_no_quit):
10703 * fns.c (Fremrassoc):
10704 * fns.c (Fremrassq):
10705 * fns.c (remrassq_no_quit):
10707 * fns.c (Fplist_get):
10708 * fns.c (Fplist_put):
10709 * fns.c (Fplist_remprop):
10710 * fns.c (Fplist_member):
10711 * fns.c (Flax_plist_get):
10712 * fns.c (Flax_plist_put):
10713 * fns.c (Flax_plist_remprop):
10714 * fns.c (Flax_plist_member):
10716 * fns.c (Fold_equal):
10717 * fns.c (Frequire):
10718 * fns.c (Fbase64_encode_region):
10719 * fns.c (Fbase64_encode_string):
10720 * fns.c (Fbase64_decode_region):
10722 * frame.c (frame_matches_frame_spec):
10723 * frame.c (device_matches_device_spec):
10724 * frame.c (next_frame):
10725 * frame.c (previous_frame):
10726 * frame.c (Fnext_frame):
10727 * frame.c (Fprevious_frame):
10728 * frame.c (Fframe_property):
10729 * frame.c (Fset_frame_height):
10730 * frame.c (Fset_frame_size):
10734 * glyphs.c (decode_error_behavior_flag):
10735 * glyphs.c (Fmake_image_instance):
10736 * indent.c (Findent_to):
10737 * intl.c (Fignore_defer_gettext):
10738 * keymap.c (Fkeymapp):
10739 * keymap.c (Flookup_key):
10741 * lread.c (Fload_internal):
10742 * lread.c (Feval_buffer):
10743 * lread.c (Feval_region):
10744 * macros.c (Fexecute_kbd_macro):
10745 * marker.c (set_marker_internal):
10746 * marker.c (Fset_marker):
10747 * marker.c (set_marker_restricted):
10748 * marker.c (Fcopy_marker):
10749 * marker.c (noseeum_copy_marker):
10751 * menubar.c (Fpopup_menu):
10753 * mule-charset.c (Fcharset_name):
10754 * mule-charset.c (Fchar_charset):
10755 * mule-charset.c (Fchar_octet):
10756 * mule-charset.c (Fsplit_char):
10757 * mule-wnnfns.c (Fwnn_open):
10758 * mule-wnnfns.c (Fwnn_dict_comment):
10759 * mule-wnnfns.c (Fwnn_quit_henkan):
10760 * mule-wnnfns.c (Fwnn_word_toroku):
10761 * mule-wnnfns.c (Fwnn_word_sakujo):
10762 * mule-wnnfns.c (Fwnn_word_use):
10763 * mule-wnnfns.c (Fwnn_hindo_set):
10765 * objects.c (Fmake_color_instance):
10766 * objects.c (Fmake_font_instance):
10767 * print.c (Fwrite_char):
10769 * process.c (mark_process):
10770 * process.c (print_process):
10771 * process.c (get_process_from_usid):
10772 * process.c (Fprocessp):
10773 * process.c (Fprocess_live_p):
10774 * process.c (Fget_process):
10775 * process.c (Fget_buffer_process):
10776 * process.c (get_process):
10777 * process.c (Fprocess_id):
10778 * process.c (Fprocess_name):
10779 * process.c (Fprocess_command):
10780 * process.c (init_process_io_handles):
10781 * process.c (start_process_unwind):
10782 * process.c (Fstart_process_internal):
10783 * process.c (Fopen_multicast_group_internal):
10784 * process.c (Fset_process_window_size):
10785 * process.c (read_process_output):
10786 * process.c (send_process):
10787 * process.c (Fprocess_tty_name):
10788 * process.c (Fset_process_buffer):
10789 * process.c (Fprocess_buffer):
10790 * process.c (Fprocess_mark):
10791 * process.c (set_process_filter):
10792 * process.c (Fset_process_filter):
10793 * process.c (Fprocess_filter):
10794 * process.c (Fprocess_send_region):
10795 * process.c (Fprocess_send_string):
10796 * process.c (exec_sentinel):
10797 * process.c (Fset_process_sentinel):
10798 * process.c (Fprocess_sentinel):
10799 * process.c (status_notify):
10800 * process.c (Fprocess_status):
10801 * process.c (Fprocess_exit_status):
10802 * process.c (process_send_signal):
10803 * process.c (Fprocess_send_eof):
10804 * process.c (deactivate_process):
10805 * process.c (remove_process):
10806 * process.c (Fdelete_process):
10807 * process.c (kill_buffer_processes):
10808 * process.c (Fprocess_kill_without_query):
10809 * process.c (Fprocess_kill_without_query_p):
10811 * rangetab.c (Fget_range_table):
10812 * rangetab.c (Fput_range_table):
10813 * rangetab.c (Fremove_range_table):
10814 * rangetab.c (Fclear_range_table):
10816 * search.c (Fskip_chars_forward):
10817 * search.c (Fskip_chars_backward):
10818 * search.c (Fskip_syntax_forward):
10819 * search.c (Fskip_syntax_backward):
10820 * search.c (search_command):
10821 * search.c (Freplace_match):
10822 * search.c (Fregexp_quote):
10823 * select.c (Fown_selection_internal):
10824 * select.c (Fselection_owner_p):
10825 * select.c (Fselection_exists_p):
10826 * select.c (Fget_selection_internal):
10829 * symbols.c (Fintern):
10830 * symbols.c (Fintern_soft):
10831 * symbols.c (Funintern):
10832 * symbols.c (Fapropos_internal):
10833 * symbols.c (Fset_default):
10835 * syntax.c (Fsyntax_table_p):
10836 * syntax.c (Fcopy_syntax_table):
10837 * syntax.c (Fset_syntax_table):
10838 * syntax.c (Fchar_syntax):
10839 * syntax.c (syntax_match):
10840 * syntax.c (Fmatching_paren):
10841 * syntax.c (Fforward_word):
10842 * syntax.c (scan_lists):
10843 * syntax.c (Fscan_lists):
10844 * syntax.c (Fscan_sexps):
10845 * syntax.c (Fparse_partial_sexp):
10846 * toolbar.c (Fcheck_toolbar_button_syntax):
10849 * window.c (Fwindowp):
10850 * window.c (Fwindow_live_p):
10851 * window.c (Fwindow_point):
10852 * window.c (Fdelete_window):
10853 * window.c (Fnext_window):
10854 * window.c (Fprevious_window):
10855 * window.c (Fother_window):
10856 * window.c (window_loop):
10857 * window.c (Fget_lru_window):
10858 * window.c (Fsplit_window):
10859 * window.c (Fenlarge_window):
10860 * window.c (Fenlarge_window_pixels):
10861 * window.c (Fshrink_window):
10862 * window.c (Fshrink_window_pixels):
10863 * window.c (change_window_height):
10864 * window.c (Fwindow_configuration_p):
10865 * window.c (Fcurrent_window_configuration):
10867 * casefiddle.c (casify_object):
10868 * casefiddle.c (Fupcase):
10869 * casefiddle.c (Fdowncase):
10870 * casefiddle.c (Fcapitalize):
10871 * casefiddle.c (Fupcase_initials):
10872 * casefiddle.c (casify_region_internal):
10873 * casefiddle.c (casify_region):
10874 * casefiddle.c (Fupcase_region):
10875 * casefiddle.c (Fdowncase_region):
10876 * casefiddle.c (Fcapitalize_region):
10877 * casefiddle.c (Fupcase_initials_region):
10878 * casefiddle.c (Fupcase_word):
10879 * casefiddle.c (Fdowncase_word):
10880 * casefiddle.c (Fcapitalize_word):
10881 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10882 Replace 0 with '\0' when working with bytes.
10883 Replace initial "(" with "\(" in docstrings.
10885 2000-11-01 Martin Buchholz <martin@xemacs.org>
10887 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10889 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10891 2000-10-31 Martin Buchholz <martin@xemacs.org>
10893 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10895 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10897 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10900 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10902 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10903 (inhibit_auto_save_session): New variable.
10904 (vars_of_fileio): Declare and initialize them.
10905 * fileio.c (Fdo_auto_save): Don't create session file if
10906 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10908 2000-10-31 Martin Buchholz <martin@xemacs.org>
10910 * sgiplay.c (play_internal): C++ compilability.
10911 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10912 * callproc.c (Fold_call_process_internal):
10913 Remove unused vars `env', `first'.
10914 * scrollbar.c (update_scrollbar_instance):
10915 #### unused var `current_window'.
10916 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10917 etc. within #ifdef NOT_YET.
10918 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10919 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10920 * specifier.c (specifier_instance):
10921 #### unused var `tag'.
10922 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10924 2000-10-27 Martin Buchholz <martin@xemacs.org>
10926 * fns.c (Fbutlast):
10927 * fns.c (list_sort):
10928 * fns.c (Ffillarray):
10929 * fns.c (bytecode_nconc2):
10932 * fns.c (Fmapconcat):
10933 Be pedantically 64-bit correct. For the time when someone will
10934 want to have a list with length > 2**32.
10936 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10937 Work around MIPSpro compiler bug.
10939 * process-unix.c (unix_kill_child_process): Add snarky comment.
10940 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10942 * config.h.in: Oops, _getpt ==> _getpty
10944 2000-10-26 Martin Buchholz <martin@xemacs.org>
10948 Use void*, not char*, as return type of alloca().
10950 * alloc.c (free_marker): Side effect inside assert expression!
10952 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10954 * mule-charset.c (Fset_charset_ccl_program): To check
10955 if the given ccl program is valid, use setup_ccl_program()
10956 instead of CHECK_VECTOR().
10957 (Fmake_charset): Likewise.
10959 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10961 * faces.c (get_extent_fragment_face_cache_index):
10962 Fix cachel.merged_faces memory leak.
10964 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10966 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10967 Reset MSB of octets obtained by DECODE_SJIS
10968 because of the incompatibility with Emacs.
10969 (ccl_driver)<CCL_ENCODE_SJIS>:
10970 Set MSB of octets before passing them to
10971 ENCODE_SJIS because of the incompatibility
10974 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10976 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10977 (DECLARE_LRECORD): Undo the last change.
10978 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10980 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10982 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10983 the implementation to lrecord_implementations_table.
10985 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10987 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10988 initial value of `lrecord_type_##c_name' and
10989 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10990 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10991 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10992 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10993 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10995 2000-10-17 Martin Buchholz <martin@xemacs.org>
10997 * miscplay.c (sndcnv8S_2mono):
10998 (sndcnv2monounsigned):
10999 (sndcnvULaw_2linear):
11001 Remove implementation-defined behavior.
11003 2000-10-12 Martin Buchholz <martin@xemacs.org>
11005 * input-method-xlib.c: Warning suppression.
11007 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11009 * mule-ccl.c: Sync up with Emacs 21.0.90.
11010 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11012 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11014 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11015 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11016 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11017 leading char belongs to official 2-dimensional charset.
11018 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11019 write the given character as is. Otherwise,
11020 if it is a multibyte char, convert it by
11021 non_ascii_set_charptr_emchar, then write it.
11022 (CCL_WRITE_STRING): Likewise.
11023 (ccl_get_compiled_code): New function.
11024 (setup_ccl_program): When ccl_prog is invalid,
11026 (Fregister_code_conversion_map): New function.
11027 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11029 * mule-ccl.h: Sync up with Emacs 21.0.90.
11030 (Fregister_ccl_program): export it.
11032 * redisplay-msw.c (separate_textual_runs):
11033 If ccl program is not valid, don't do ccl conversion.
11035 * redisplay-x.c (separate_textual_runs): Ditto.
11037 * file-coding.c (Fmake_coding_system):
11038 When type is ccl and value is vector, register it
11039 with a proper symbol. And checks whether the
11040 given ccl program is valid.
11041 (mule_decode): When calling ccl_driver, if src indicates
11042 NULL pointer, set an empty string instead.
11043 (mule_encode): Likewise.
11045 2000-10-11 Martin Buchholz <martin@xemacs.org>
11047 The following large batch of changes gets us back to a state of
11048 C++ compilability. Extbyte is now a char, which means that
11049 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11051 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11053 * sound.c (Fplay_sound): Type correctness.
11055 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11056 (x_get_window_property): Type correctness.
11057 (receive_incremental_selection): unsigned char ==> Extbyte
11058 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11059 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11060 (Fx_store_cutbuffer_internal): Type correctness.
11062 * process-unix.c (try_to_initialize_subtty): Type correctness.
11064 * objects-x.c (x_print_color_instance): Type correctness.
11065 (x_print_font_instance): Type correctness.
11066 (x_list_fonts): SExtbyte ==> Extbyte.
11067 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11068 (x_find_charset_font): SExtbyte ==> Extbyte.
11069 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11070 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11071 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11072 Use bufbyte_strcmp.
11074 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11075 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11076 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11077 (BYTE_C0_P): Use bit ops for char-signedness safety.
11078 (BYTE_C1_P): Use bit ops for char-signedness safety.
11079 (CHARSET_BY_LEADING_BYTE):
11080 (CHARSET_BY_ATTRIBUTES):
11081 Always use inline function.
11082 Use type_checking_assert.
11085 * mule-charset.c (non_ascii_charptr_copy_char):
11086 Modify to work with both ASCII and non-ASCII characters.
11087 Improve docs and variable names.
11088 Replace over-clever fall-through switch with a simple loop.
11089 (Lstream_get_emchar_1):
11090 Replace over-clever fall-through switch with a simple loop.
11092 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11093 Warning suppression.
11095 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11096 the return value of Lstream_getc, which could be EOF as well.
11098 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11100 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11101 APIs can be used on Extbytes without casts. Risky!
11102 (SExtbyte): Remove.
11103 (UExtbyte): Remove.
11105 * input-method-xlib.c (XIM_init_device):
11106 Use Xlib.h instead of IntrinsicP.h.
11107 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11108 which will break in X11R7.
11109 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11110 to call XRegisterIMInstantiateCallback with correct types.
11112 * gui-x.c (button_item_to_widget_value): Type correctness.
11114 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11116 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11117 (xbm_instantiate_1): Type correctness.
11118 (BUILD_GLYPH_INST): Type correctness.
11120 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11123 (decode_coding_sjis):
11124 (decode_coding_big5):
11125 (decode_coding_ucs4):
11126 (decode_coding_utf8):
11127 (decode_coding_iso2022):
11128 (decode_coding_no_conversion):
11129 Make all decoding functions take an Extbyte * arg.
11130 (encode_coding_sjis):
11131 (encode_coding_big5):
11132 (encode_coding_ucs4):
11133 (encode_coding_utf8):
11134 (encode_coding_iso2022):
11135 (encode_coding_no_conversion):
11136 Make all encoding functions take a Bufbyte * arg.
11137 Use size_t instead of unsigned int for memory sizes.
11138 Only cast to unsigned char whenever dereferencing Extbyte *.
11140 * doc.c (unparesseuxify_doc_string): Type correctness.
11142 * console-x.c (split_up_display_spec):
11143 Rewrite without using details of internal string representation.
11144 (x_semi_canonicalize_device_connection): Type correctness.
11147 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11148 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11149 (HAVE_XFREE386): Removed.
11151 * buffer.h (DEC_CHARPTR): `const' correctness.
11152 (bufbyte_strcmp): New.
11153 (bufbyte_memcmp): New.
11155 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11157 * buffer.h (XCHAR_OR_CHAR_INT):
11158 Always use inline function.
11159 Remove redundant type checking assert() - XINT will abort quite nicely.
11161 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11163 * search.c (Freplace_match): Set newtext to an empty string.
11165 2000-10-10 Martin Buchholz <martin@xemacs.org>
11167 * s/decosf1-3.h: Remove #include of stropts.h
11168 * s/ptx.h: Remove #include of stropts.h
11169 * s/usg5-4.h: Remove #include of stropts.h
11172 Use stropts.h, not sys/stropts.h.
11173 Use strtio.h, not sys/strtio.h.
11175 2000-10-04 Martin Buchholz <martin@xemacs.org>
11177 * XEmacs 21.2.36 is released.
11179 2000-09-21 Andy Piper <andy@xemacs.org>
11181 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11182 changes still involve copying the widget tree.
11183 (update_widget_face): make sure a change is register in the widget
11184 tree. Call update_tab_widget_face appropriately.
11185 (update_tab_widget_face): ditto.
11186 (x_tab_control_redisplay): make sure non-structural changes still
11187 involve copying the widget tree.
11189 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11191 * lread.c (locate_file): Check the path element is non-nil.
11193 2000-10-02 Martin Buchholz <martin@xemacs.org>
11195 * lisp.h: Warning suppression for SCO compilers.
11197 * redisplay-tty.c (reset_tty_modes): Fix crash.
11198 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11200 2000-09-27 Martin Buchholz <martin@xemacs.org>
11202 Big signal/process handling overhaul. Bugs fixed:
11203 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11204 M-x comint-kill-subjob should work for both values nil and t of
11205 process-connection-type. It was broken on most platforms.
11206 Testing on Irix and Cygwin still needed. Other plaforms tested.
11207 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11208 * process-unix.c: Signal/Process handling overhaul.
11209 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11210 (allocate_pty): Use all available modern methods of allocating
11211 ptys, falling back to old style BSD allocation as a last resort.
11212 Use allegedly more secure Unix98 pty allocation by default.
11213 (allocate_pty_the_old_fashioned_way): New. the last resort.
11214 (unix_create_process): Push ptem, ldterm, ttcompat where
11215 available. Autoconfiscate.
11216 (try_to_initialize_subtty): New.
11217 (unix_kill_child_process): Proper signal handling for ptys on most
11218 platforms, using special knowledge of AIX, BSD, etc...
11219 (unix_create_process): Always disconnect_controlling_terminal() for
11220 subprocesses, whether using ptys or not.
11221 * process.h: Remove old getpt-dependent PTY code.
11222 * process.c (Fprocess_send_signal): New, obvious generic function.
11223 (decode_signal): New.
11224 (Finterrupt_process):
11228 (Fcontinue_process):
11229 (Fsignal_process): Use decode_signal.
11230 (process_send_signal):
11231 Many docstring corrections.
11232 Allow any signal to be sent to a process object.
11233 * config.h.in: Add symbols for big signal/process overhaul.
11234 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11235 * sysproc.h: Include process-related headers, where available:
11236 sys/stropts.h sys/strtio.h pty.h libutil.h
11244 Remove old S&M pty stuff.
11245 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11246 * systty.h: Simplify cpp hackery, improve comments.
11247 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11249 * editfns.c (Fformat_time_string):
11250 Be a little more paranoid with the return value of ctime.
11252 * fileio.c (check_executable):
11254 Use symbolic constants X_OK, W_OK.
11256 * console-x.c (split_up_display_spec): Fix a warning.
11258 2000-10-02 Martin Buchholz <martin@xemacs.org>
11260 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11261 * ntproc.c (sys_spawnve): make_string ==> build_string
11262 Small clarity improvements.
11264 2000-09-30 Martin Buchholz <martin@xemacs.org>
11266 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11268 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11270 * config.h.in (HAVE_STRCASECMP): Remove.
11272 2000-09-29 Martin Buchholz <martin@xemacs.org>
11274 * redisplay-output.c (redisplay_output_pixmap):
11275 Cleaner and possibly more 64-bit correct code.
11277 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11279 * dumper.c (pdump_load_finish): move restoration of
11280 `noninteractive1' to emacs.c (main_1).
11281 * emacs.c (main_1): protect LISP-visible command-line flags
11284 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11286 * Makefile.in.in (versionclean): Use EXE_TARGET and
11287 DUMP_TARGET instead of literal program names.
11289 2000-09-20 Martin Buchholz <martin@xemacs.org>
11291 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11293 2000-09-19 Martin Buchholz <martin@xemacs.org>
11295 * *: Spelling mega-patch
11297 2000-09-19 Martin Buchholz <martin@xemacs.org>
11299 * fns.c (bad_bad_turtle):
11300 Delete "Eek!" comment, since we fixed the bug to which it refers.
11302 2000-09-16 Martin Buchholz <martin@xemacs.org>
11304 * alloca.c: Replace REGISTER with register.
11306 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11308 * file-coding.c (ucs_to_char): Use countof.
11310 2000-09-16 Martin Buchholz <martin@xemacs.org>
11312 * file-coding.c: (ucs_to_char):
11313 (complex_vars_of_file_coding):
11314 Use countof instead of sizeof.
11315 Use CHECK_NATNUM instead of CHECK_INT.
11317 * sysdep.c (strcasecmp): Remove.
11318 * device-x.c (ascii_strcasecmp): New.
11319 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11320 Avoid using non-standard non-portable strcasecmp.
11322 2000-09-16 Martin Buchholz <martin@xemacs.org>
11324 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11325 * font-lock.c: remove reference to emacsfns.h.
11326 * search.c: small doc improvement.
11327 * event-Xt.c: correct file names in comments.
11328 * console-x.h Correct file names in comments.
11329 * frame.c: Correct file names in comments.
11330 * event-stream.c: remove Energize from comments.
11332 2000-09-15 Martin Buchholz <martin@xemacs.org>
11334 * symeval.h (DEFERROR_STANDARD):
11337 (DEFSYMBOL_NO_DUMP):
11338 (DEFSYMBOL_MULTIWORD_PREDICATE):
11339 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11341 The construct &##name is not sensible C.
11342 Fixes compilation errors with Unixware native compiler.
11344 2000-09-14 Martin Buchholz <martin@xemacs.org>
11346 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11347 (next_frame_internal): Removed. We now just have next_frame.
11349 Write a simpler and cleaner one-pass algorithm.
11350 Remove called_from_delete_device arg and #ifdefed-out code.
11352 Renamed from prev_frame. Update callers.
11353 Cleaned up to have an analogous implementation to next_frame.
11354 (other_visible_frames_internal): Remove the
11355 called_from_delete_device bogus arg, and hence, remove this
11356 function. Just use other_visible_frames().
11358 * window.c (Fnext_window):
11359 Prettify docstring.
11360 Since next_frame() is guaranteed to return a frame, remove check
11361 for nil inserted in previous patch.
11362 (Fprevious_window):
11363 Prettify docstring.
11364 Make code look more like Fnext_window.
11366 Respect the `console' arg when iterating through windows.
11367 Fixes bug: (get-buffer-window buffer t device) not respecting
11369 This function needs more work, as others have pointed out.
11371 * frame.h: Rename prev_frame to previous_frame.
11372 device_matches_console_spec no longer takes a `frame' arg.
11377 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11378 From "Golubev I. N." <gin@mo.msk.ru>.
11380 * make-src-depend: Fix typo.
11382 2000-09-13 Martin Buchholz <martin@xemacs.org>
11384 * window.c (Fnext_window):
11385 next_frame() might return nil, not a frame.
11387 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11389 * frame.c (next_frame_internal):
11390 We've passed a frame if we've passed its device.
11392 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11393 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11395 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11397 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11398 Allow option to suppress accelerators in menu/dialog items.
11399 (populate_or_checksum_helper): Pass dialog title through above.
11401 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11403 * event-msw.c (mswindows_key_to_emacs_keysym):
11404 Add "pause" key, fix "menu" key.
11406 2000-09-09 Martin Buchholz <martin@xemacs.org>
11408 * eval.c (reinit_vars_of_eval):
11409 Increase max_lisp_eval_depth to 1000,
11410 required for thai-xtis.el to byte-compile under some circumstances.
11412 2000-09-04 Martin Buchholz <martin@xemacs.org>
11414 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11415 From Kenichi Handa.
11417 2000-09-01 Martin Buchholz <martin@xemacs.org>
11419 * make-src-depend: Make the generated Makefiles smaller.
11421 * s/hpux.h (SETUP_SLAVE_PTY):
11422 Provide a %d in the format string for the errno argument.
11424 * editfns.c (Ftemp_directory):
11426 Avoid buffer overrun on very long file name.
11428 * input-method-xlib.c (XIM_init_device):
11429 6th parameter of XRegisterIMInstantiateCallback has different
11430 pointer types on different OSes, so simply cast to (void *).
11432 * unexhp9k800.c: Warning fixes. Fiddly changes.
11434 * sysdll.c (dll_open):
11435 shl_load will hang hard if passed a NULL filename.
11436 Simply return NULL for compatibility with dlopen.
11437 * sysdll.c: Conform to XEmacs coding standards.
11439 * sysdep.c (get_pty_max_bytes):
11440 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11442 2000-08-31 Martin Buchholz <martin@xemacs.org>
11444 * tooltalk.c: Add #include <syssignal.h>
11446 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11448 * s/hpux.h: Don't use undefined function sigunblock().
11450 2000-08-31 Martin Buchholz <martin@xemacs.org>
11452 * config.h.in: Add HAVE_BALLOON_HELP.
11453 * emacs.c: Use HAVE_BALLOON_HELP.
11454 * Makefile.in.in (x_objs):
11455 Make Balloon Help conditional on finding shape.h.
11457 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11459 * syntax.c (regex_emacs_buffer_p): New variable.
11460 * syntax.h (regex_emacs_buffer_p): extern.
11461 * search.c (looking_at_1):
11463 (fast_string_match):
11464 (search_buffer): Set regex_emacs_buffer_p.
11465 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11466 when before_dot, at_dot, after_dot.
11468 2000-08-23 Andy Piper <andy@xemacs.org>
11470 * gui-x.c (popup_selection_callback): Only set action_occurred
11471 when we really have an image instance.
11472 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11474 2000-08-23 Andy Piper <andy@xemacs.org>
11476 * gui-msw.c (mswindows_handle_gui_wm_command): set
11478 * gui-x.c (popup_selection_callback): ditto.
11480 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11481 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11482 (struct Lisp_Image_Instance): add action_occurred flag.
11484 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11485 (image_instance_changed): ditto.
11486 (reset_frame_subwindow_instance_cache): only unmap windows - do
11487 not remove them from the cache also.
11489 * glyphs-widget.c (tab_control_update): better debug.
11490 (progress_gauge_update): ditto.
11491 (layout_update): ditto.
11492 (layout_instantiate): ditto.
11493 (tab_control_order_only_changed): cope with null pending items.
11495 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11496 debug. Force selection of an item when an action occurred. Cope
11497 with null pending_items.
11498 (mswindows_progress_gauge_redisplay): better debug.
11499 * glyphs-x.c (x_tab_control_redisplay): ditto.
11501 * redisplay.c (redisplay_frame): reset the frame cache if the
11504 * window.c (Fset_window_configuration): potentially re-enable
11506 (window_unmap_subwindows): need to finalize instances here since
11507 it is only used in mark_window_as_deleted.
11509 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11511 * nas.c (SndOpenDataForReading):
11512 nas.c (WaveOpenDataForReading):
11513 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11514 Somehow escaped from the 2000-08-14 patch.
11516 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11518 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11519 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11521 2000-08-21 Andy Piper <andy@xemacs.org>
11523 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11524 window if it is not already displayed.
11526 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11527 it is not already displayed.
11529 * window.c (Fset_window_configuration): don't reset the frame
11532 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11533 instances from the frame cache if we are actually finalizing them.
11534 (reset_frame_subwindow_instance_cache): reset frame cache only
11535 after unmapping everything.
11536 (map_subwindow): set displayed flag after mapping.
11538 2000-08-21 Martin Buchholz <martin@xemacs.org>
11540 * data.c (indirect_function):
11541 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11543 * eval.c (function_argcount):
11544 Use original function when signaling errors.
11546 2000-08-18 Andy Piper <andy@xemacs.org>
11548 * frame.c (delete_frame_internal): use new
11549 free_frame_subwindow_instances name.
11551 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11552 (add_tab_item): make return type correct.
11553 (mswindows_tab_control_instantiate): assert index of tab.
11554 (mswindows_tab_control_redisplay): Re-code to use
11555 gui_item_equal_sans_selected and gui_item_list_find_selected.
11557 * glyphs-widget.c (tab_control_update): Correct comment.
11559 * window.c (window_unmap_subwindows): use new
11560 unmap_subwindow_instance_cache_mapper.
11561 (window_unmap_subwindows_cache_mapper): deleted.
11562 (Fset_window_configuration): comparisons should now be with
11563 EQ. Preserve the subwindow instance cache across configuration
11565 (allocate_window): ditto.
11566 (make_dummy_parent): ditto.
11568 * glyphs.c (free_frame_subwindow_instances): rename from
11569 free_frame_subwindow_instance_cache. finalize all instances rather
11570 than just those in the display cache.
11571 (finalize_all_subwindow_instances): walk windows unmapping and
11572 finalizing subwindows.
11573 (unmap_subwindow_instance_cache_mapper): moved from
11574 window.c. Allow finalization as well as unmapping.
11576 * gui.c (gui_item_list_find_selected): new function.
11578 * gui.h (gui_item_list_find_selected): declare.
11580 * glyphs-x.c (x_tab_control_redisplay): pick tab
11581 explicitly. Re-code to use gui_item_equal_sans_selected and
11582 gui_item_list_find_selected.
11584 * glyphs-x.h: add lwlib-utils.h
11586 * buffer.c (Frecord_buffer): undo previous change.
11588 2000-08-09 Vin Shelton <acs@xemacs.org>
11590 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11591 possible. Create temporary files more securely. The patch was
11592 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11593 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11594 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11597 2000-08-07 Ben Wing <ben@xemacs.org>
11599 * getloadavg.c: remove duplicate (and windows-breaking)
11600 includes of fcntl.h and sys/file.h.
11602 * nt.c: remove duplicate getloadavg() definition.
11604 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11607 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11609 * eval.c (function_argcount): If function needs to be autoloaded
11610 actually use the loaded definition.
11613 2000-08-05 Ben Wing <ben@xemacs.org>
11615 * getloadavg.c: add prototype for getloadavg(). remove
11616 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11617 of the code). remove duplicate header includes.
11619 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11621 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11622 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11623 useful load average.
11625 * alloc.c (reinit_alloc_once_early): removed references to
11626 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11627 the lisp vars are the only things referencing the malloc_sbrk_*
11628 vars, and they were already if 0'd out. these vars only exist
11629 in the older malloc.c, which is basically unused, and they're
11630 only for informational purposes.
11632 * m\*.h: removed useless VIRT_ADDR_VARIES.
11634 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11636 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11638 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11639 color if the image is a mono pixmap.
11641 2000-07-30 Ben Wing <ben@xemacs.org>
11643 * Makefile.in.in (release):
11646 * buffer.c (directory_is_current_directory):
11647 * dired-msw.c (mswindows_get_files):
11649 * dired.c (Fdirectory_files):
11650 * dired.c (file_name_completion_stat):
11651 * dired.c (Ffile_attributes):
11652 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11653 preprocessor tricks, to avoid problems on some machines
11656 * callproc.c (egetenv): GC docs.
11659 * console-msw.h (struct mswindows_dialog_id):
11660 * lrecord.h (lrecord_type):
11661 New object for use with MSW dialogs.
11663 * console.h (struct console_methods):
11664 New enable/disable frame methods, for proper modal dialogs.
11666 * device-msw.c (msprinter_default_printer): Fix to follow
11667 proper Mule conventions.
11670 * device-msw.c (signal_open_printer_error):
11671 * device-msw.c (msprinter_init_device):
11672 * device-msw.c (ensure_not_printing):
11673 * device-msw.c (plist_get_margin):
11674 * device-msw.c (Fmsprinter_select_settings):
11675 * device-msw.c (finalize_devmode):
11676 * device-msw.c (Fmsprinter_settings_despecialize):
11677 * device-msw.c (signal_enum_priner_error):
11678 * extents.c (decode_extent):
11679 * extents.c (decode_map_extents_flags):
11680 * extents.c (decode_extent_at_flag):
11681 * extents.c (Fextent_at):
11682 * extents.c (Fextents_at):
11683 * extents.c (symbol_to_glyph_layout):
11684 [[[[2]]]] Use structured errors.
11687 * dialog-msw.c (mswindows_is_dialog_msg):
11688 * dialog-msw.c (mark_mswindows_dialog_id):
11689 * dialog-msw.c (dialog_proc):
11690 * dialog-msw.c (handle_question_dialog_box):
11691 * dialog-msw.c (syms_of_dialog_mswindows):
11692 Define new object to clean up marking; use it as a dialog identifier.
11693 Call new delete-dialog-box-hook.
11695 * dialog-x.c (dbox_selection_callback):
11696 * dialog-x.c (dbox_descriptor_to_widget_value):
11697 * dialog-x.c (x_make_dialog_box_internal):
11698 Call new delete-dialog-box-hook.
11702 * dialog.c (syms_of_dialog):
11703 * dialog.c (vars_of_dialog):
11704 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11707 * eval.c (signal_call_debugger):
11708 when noninteractive, output stack traces on the console instead
11709 of in a (never-seen) buffer.
11711 * eval.c (signal_type_error):
11712 * eval.c (invalid_argument_2):
11714 new funs for use w/structured errors.
11717 * event-Xt.c (x_to_emacs_keysym):
11718 * event-Xt.c (describe_event):
11719 * event-Xt.c (emacs_Xt_event_handler):
11720 * event-Xt.c (vars_of_event_Xt):
11722 * event-msw.c (mswindows_wnd_proc):
11723 * event-msw.c (vars_of_event_mswindows):
11724 rename {x,mswindows}-debug-events to debug-{}-events for
11725 consistency with other debug-foo variables.
11728 document next-event more clearly.
11730 * fileio.c (Ffile_name_directory):
11731 * fileio.c (Ffile_name_nondirectory):
11732 * fileio.c (Funhandled_file_name_directory):
11733 * fileio.c (file_name_as_directory):
11734 * fileio.c (Ffile_name_as_directory):
11735 * fileio.c (directory_file_name):
11736 * fileio.c (Fdirectory_file_name):
11737 * fileio.c (Fmake_temp_name):
11738 * fileio.c (Ffile_truename):
11739 * fileio.c (Fsubstitute_in_file_name):
11740 * fileio.c (expand_and_dir_to_file):
11741 * fileio.c (barf_or_query_if_file_exists):
11742 * fileio.c (check_executable):
11743 * fileio.c (Ffile_exists_p):
11744 * fileio.c (Ffile_writable_p):
11745 * fileio.c (Ffile_directory_p):
11746 * fileio.c (Ffile_regular_p):
11747 * fileio.c (Ffile_modes):
11748 * fileio.c (Ffile_newer_than_file_p):
11749 * fileio.c (Fverify_visited_file_modtime):
11750 * fileio.c (Fset_visited_file_modtime):
11751 * fileio.c (auto_save_1):
11756 * frame-msw.c (mswindows_init_frame_1):
11757 * frame-msw.c (mswindows_enable_frame):
11758 * frame-msw.c (error_frame_unsizable):
11759 * frame-msw.c (msprinter_init_frame_1):
11760 * frame-msw.c (msprinter_init_frame_3):
11761 * frame-msw.c (console_type_create_frame_mswindows):
11763 implement new enable/disable frame methods.
11766 * frame-x.c (x_enable_frame):
11767 * frame-x.c (console_type_create_frame_x):
11768 implement new enable/disable frame methods.
11771 * frame.c (Fdisable_frame):
11772 * frame.c (syms_of_frame):
11773 * frame.h (struct frame):
11774 implement new enable/disable frame methods/functions.
11779 * glyphs-msw.c (mswindows_widget_instantiate):
11780 comment that initial-focus should be implemented.
11783 * glyphs-widget.c (check_valid_instantiator):
11784 * glyphs-widget.c (check_valid_orientation):
11785 * glyphs-widget.c (check_valid_tab_orientation):
11786 * glyphs-widget.c (check_valid_justification):
11787 * glyphs-widget.c (check_valid_border):
11788 * glyphs-widget.c (check_valid_callback):
11789 * glyphs-widget.c (check_valid_int_or_function):
11790 * glyphs-widget.c (check_valid_string_or_vector):
11791 * glyphs-widget.c (check_valid_item_list_1):
11792 * glyphs-widget.c (widget_validate):
11793 * glyphs-widget.c (combo_box_validate):
11794 * glyphs-widget.c (widget_instantiate):
11795 * glyphs-widget.c (syms_of_glyphs_widget):
11796 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11797 * glyphs-widget.c (image_instantiator_combo_box):
11798 * glyphs-widget.c (image_instantiator_scrollbar):
11799 * glyphs-widget.c (image_instantiator_tab_control):
11800 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11802 support (unimplemented) keyword initial-focus.
11803 reindent long macros.
11805 * glyphs-x.c (x_redisplay_widget):
11806 * glyphs-x.c (x_button_instantiate):
11807 * glyphs-x.c (x_button_redisplay):
11808 * glyphs-x.c (x_progress_gauge_instantiate):
11809 * glyphs-x.c (x_edit_field_instantiate):
11810 * glyphs-x.c (x_combo_box_instantiate):
11811 * glyphs-x.c (x_tab_control_instantiate):
11812 * glyphs-x.c (x_label_instantiate):
11814 * gui-x.c (button_item_to_widget_value):
11815 * gui-x.c (gui_items_to_widget_values_1):
11816 * gui-x.c (gui_item_children_to_widget_values):
11817 * gui-x.c (gui_items_to_widget_values):
11819 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11820 add new flag to gui-parsing routines to indicate whether
11821 accelerator specs should be supported.
11823 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11825 * glyphs.h (struct Lisp_Image_Instance):
11826 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11827 add initial-focus flag.
11830 * gui.c (syms_of_gui):
11831 * gui.c (vars_of_gui):
11832 clean up menu-no-selection-hook.
11835 support delete-dialog-box-hook.
11837 * lread.c (Fload_internal):
11838 * lread.c (locate_file_in_directory_mapper):
11842 * lrecord.h (struct toolbar_button):
11843 * lrecord.h (syms_of_toolbar):
11844 document how to create a new object.
11846 * menubar-msw.c (mswindows_char_is_accelerator):
11847 may be called on frames w/o menus.
11849 * menubar.c (vars_of_menubar):
11850 clean up :filter docs.
11857 * process-nt.c (validate_signal_number):
11858 * process-nt.c (signal_cannot_launch):
11859 * process-nt.c (nt_create_process):
11860 * process-nt.c (nt_send_process):
11861 * process-nt.c (nt_kill_child_process):
11862 * process-nt.c (nt_open_network_stream):
11863 * process-nt.c (syms_of_process_nt):
11865 delete quote-handling. call new lisp code that does it better.
11867 * process-unix.c (connect_to_file_descriptor):
11868 * process-unix.c (allocate_pty):
11869 * process-unix.c (unix_send_process):
11870 * process-unix.c (unix_kill_child_process):
11871 * process-unix.c (unix_open_network_stream):
11872 * process-unix.c (unix_open_multicast_group):
11876 * process.c (Fstart_process_internal):
11877 (2). need to canonicalize process path even if absolute.
11879 * select-msw.c (symbol_to_ms_cf):
11880 * select-msw.c (ms_cf_to_symbol):
11881 * select-msw.c (cf_is_autofreed):
11882 * select-msw.c (mswindows_destroy_selection):
11884 * select.c (syms_of_select):
11886 support dibv5, fix bugs. (from Mike Alexander)
11888 * select.c (Fget_selection_internal):
11889 * select.c (select_convert_out):
11892 * sysdep.c (xemacs_stat):
11895 * sysdep.c (mkdir):
11896 * sysdep.c (rmdir):
11897 but keep original stat() here because we provide encapsulation
11901 * sysfile.h (fstat):
11902 remove stat garbage.
11905 fix X/MSW conflict.
11906 don't include tchar.h. it's inappropriate because it makes
11907 compile-time distinctions when we want runtime distinctions.
11908 (we provide our own tchar replacements)
11911 use default object printer for toolbar-button.
11914 make sure we don't encapsulate.
11916 * window.c (vars_of_window):
11917 emphasize that temp-buffer-show-hook is obsolete.
11919 2000-08-05 Martin Buchholz <martin@xemacs.org>
11921 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11922 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11924 * events.c (Fevent_timestamp_lessp):
11925 Not 64-bit clean. Use EMACS_INT, not int.
11927 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11929 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11930 unsigned int and changed the last enum to
11931 lrecord_type_last_built_in_type.
11932 (lrecord_implementations_table): changed prototype to know how
11933 long the array is supposed to be.
11934 (lrecord_type_count): new unsigned int to keep track of the
11935 current number of lisp lrecord types.
11936 (DEFINE_EXTERNAL_LRECORD):
11937 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11938 dynamic-modules to declare new lisp types. They are the same
11939 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11940 int for each new type, and increment lrecord_type_count by 1.
11942 * alloc.c (lrecord_implementations_table): Changed to reference
11943 lrecord_type_last_built_in_type for the size of the array.
11944 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11946 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11948 * glyphs.h (check_valid_item_list): Renamed from
11949 check_valid_item_list_1.
11951 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11953 * select.c (Qselect_coerce): New.
11954 * select.c (Vselection_coercion_alist): New.
11955 * select.c (syms_of_select): Declare.
11956 * select.c (get-selection-internal): Use it.
11957 Use the new select-coerce functionality.
11959 * select.c (select_coerce): New.
11960 * select.h (select_coerce): Declare.
11961 New function to coerce one type of data into another.
11963 2000-08-03 Martin Buchholz <martin@xemacs.org>
11965 * callproc.c (Fcall_process_internal):
11966 (Fcall_process_internal):
11967 * process-unix.c (unix_create_process):
11968 Save and restore the value of errno, so that error messages are accurate.
11970 2000-08-01 Martin Buchholz <martin@xemacs.org>
11972 * elhash.c (print_hash_table):
11973 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11974 Prettify docstrings and indentation.
11976 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11978 * window.c (Fwindow_pixel_edges): Subtract frame border and
11981 2000-07-31 Andy Piper <andy@xemacs.org>
11983 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11984 will acknowledge the change.
11986 * glyphs.h: declare tab_control_order_only_changed.
11988 * glyphs-x.c (x_tab_control_redisplay): use
11989 tab_control_order_only_changed.
11991 * glyphs-widget.c (tab_control_order_only_changed): new function.
11993 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11994 tab_control_order_only_changed.
11996 * gui.c (gui_item_equal_sans_selected): new function.
11997 (gui_item_equal): use it.
11999 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12000 :properties in favor of :items..
12002 * glyphs-widget.c (check_valid_item_list): rename from
12003 check_valid_item_list_1.
12004 (check_valid_item_list_1): renamed.
12005 (combo_box_validate): deprecate :properties in favor of :items.
12006 (widget_instantiate): ditto.
12007 (tab_control_update): ditto.
12008 (image_instantiator_combo_box): ditto.
12009 (image_instantiator_tree_view): ditto.
12010 (image_instantiator_tab_control): ditto.
12011 (layout_post_instantiate): remove dead code.
12013 * print.c (debug_print_no_newline): only write to debugger if in
12016 * elhash.c (Fmake_hash_table): update doc string.
12018 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12019 messages whilst in GC. This at least stops XEmacs crashing but has
12020 the potential for wierd behaviour.
12022 2000-07-31 Martin Buchholz <martin@xemacs.org>
12025 Make existence of s&m files optional.
12027 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12028 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12029 * s/gnu.h: Remove HAVE_GETLOADAVG.
12030 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12031 * s/sol2.h: Remove HAVE_GETLOADAVG.
12032 * lisp.h: Remove getloadavg() declaration.
12034 Include <sys/loadavg.h> if available.
12035 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12036 * config.h.in: Group together getloadavg()-related macros.
12037 Use only configure-time tests to detect getloadavg().
12039 2000-07-30 Martin Buchholz <martin@xemacs.org>
12041 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12043 2000-07-25 Andy Piper <andy@xemacs.org>
12045 * syswindows.h: add tchar.h for native builds.
12047 * frame.c (syms_of_frame): remove set-glyph-image.
12049 * general-slots.h: add Qset_glyph_image.
12051 * glyphs-widget.c (layout_update): add domain arg to
12053 (syms_of_glyphs_widget): remove set-glyph-image.
12055 2000-07-23 Ben Wing <ben@xemacs.org>
12057 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12060 2000-07-22 Andy Piper <andy@xemacs.org>
12062 * symsinit.h: add syms_of_win32().
12064 * gui-msw.c (syms_of_gui_mswindows): remove
12065 Fmswindows_shell_execute.
12066 (Fmswindows_shell_execute): moved to win32.c.
12068 * emacs.c (main_1): add syms_of_win32 ().
12070 * win32.c (init_potentially_nonexistent_functions): rewrite in
12071 compiler-friendly terms.
12072 (Fmswindows_shell_execute): move here from gui-msw.c.
12073 (syms_of_win32): new.
12075 * device-msw.c (Fmswindows_printer_list): clean up args to
12077 Don't include tchar under cygwin or mingw.
12078 (msprinter_default_printer): make cygwin-friendly.
12080 2000-07-21 Andy Piper <andy@xemacs.org>
12082 * glyphs-widget.c (image_instantiator_tree_view): use tab
12083 control's update function.
12084 (layout_property): new function. Retrieve items.
12086 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12087 function. Re-populate the tree view from the pending items.
12089 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12090 is designated the parent if the domain is an image instance. This
12091 is needed so that dirtiness can be cascade up the hierarchy and
12092 thus for layout children to be redisplayed correctly.
12093 (allocate_image_instance): rename glyph -> parent.
12095 * redisplay.h: change redisplay_output_layout signature.
12097 * redisplay-msw.c (mswindows_output_display_block): use domain
12100 * redisplay-x.c (x_output_display_block): use domain arg.
12102 2000-07-10 Andy Piper <andy@xemacs.org>
12104 * window.c (Fset_window_configuration): add comment.
12106 * redisplay-output.c (compare_runes):
12107 (redisplay_output_subwindow): redisplay rather than update subwindow.
12108 (redisplay_output_layout): ditto.
12110 * redisplay-msw.c (mswindows_frame_output_end):
12111 (mswindows_frame_output_end): make defer window pos optional.
12113 * lisp.h: add Flast.
12115 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12116 normalize method. Change update method to be for changed
12117 instantiators. Add redisplay method. Change signature of layout
12119 (struct Lisp_Image_Instance): add instantiator.
12120 (IMAGE_INSTANCE_INSTANTIATOR): new.
12121 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12122 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12123 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12126 (find_instantiator_differences): new function.
12127 (Fset_instantiator_property): new convenience function.
12128 (check_image_instance_structure): strictly check for vector
12130 (normalize_image_instantiator): make non-static.
12131 (instantiate_image_instantiator): pass on dest_mask and use new
12132 signatures for image_instance_layout and friends.
12133 (mark_image_instance): mark the instantiator. Mark the subwindow
12134 face not the widget face.
12135 (image_instance_equal): add instantiator.
12136 (image_instance_hash): ditto.
12137 (allocate_image_instance): ditto.
12138 (Fset_image_instance_property): removed.
12139 (Fimage_instance_file_name): ditto.
12140 (Fcolorize_image_instance): ditto.
12141 (image_instance_layout): add offsets to be set.
12142 (update_image_instance): new function. update an image instance
12143 from its changed instantiator.
12144 (inherit_normalize): add dest_mask.
12145 (xbm_normalize): ditto.
12146 (xface_normalize): ditto.
12147 (xpm_normalize): ditto.
12148 (text_update): set_property -> update.
12149 (image_instantiate): use the glyph identity as a hash key, not the
12151 (glyph_width): use new image_instance_layout signature.
12152 (glyph_ascent): ditto.
12153 (glyph_descent): ditto.
12154 (glyph_height): ditto.
12155 (glyph_query_geometry): ressurrect.
12156 (glyph_layout): ditto.
12157 (redisplay_subwindow): update -> redisplay.
12158 (syms_of_glyphs): add Fset_instantiator_property.
12159 (image_instantiator_format_create): set_property -> update.
12162 (autodetect_normalize): add dest_maks to signature.
12163 (x_redisplay_subwindow): update -> redisplay.
12164 (x_redisplay_widget): ditto.
12165 (x_button_redisplay): ditto.
12166 (x_progress_gauge_redisplay): ditto.
12167 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12169 (console_type_create_glyphs_x): update -> redisplay.
12170 (image_instantiator_format_create_glyphs_x): ditto.
12173 (check_valid_instantiator): disallow glyphs in the instantiator,
12174 they must now be vectors.
12175 (check_valid_instantiator_list): ditto.
12176 (glyph_instantiator_to_glyph): use internal symbol rather than
12178 (widget_update): renamed from widget_set_property. Call cascaded
12180 (redisplay_widget): renamed from update_widget.
12181 (widget_layout): image_instance_layout now takes position as well
12183 (widget_normalize): ditto.
12184 (widget_instantiate): ditto.
12185 (tab_control_query_geometry) ditto.:
12186 (tab_control_update): renamed from tab_control_set_property.
12187 (progress_gauge_update): set_property -> update.
12188 (layout_normalize): rewrite so that child instantiators are
12190 (layout_update): new function. Create glyphs from the normalized
12191 children and cope with any other layout keywords. We do not
12192 instantiate children here that will be take care of by
12193 redisplay_output_layout.
12194 (layout_instantiate): call layout_update and not much else.
12195 (layout_post_instantiate): not sure whether this is needed
12197 (layout_query_geometry): query glyph geometry rather than
12198 image_instance geometry.
12199 (layout_layout): set offsets from pass in parameters. Use glyph
12200 geometry and layout functions rather than image instance ones.
12201 (native_layout_layout): ditto.
12202 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12203 (image_instantiator_widget): set_property -> update.
12204 (image_instantiator_buttons): ditto.
12205 (image_instantiator_progress_guage): ditto.
12206 (image_instantiator_tab_control): ditto.
12207 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12208 (image_instantiator_layout): add update method.
12210 * glyphs-msw.c (bmp_normalize):
12211 (mswindows_resource_normalize): add dest_mask so that it can be
12212 proprogated by layout_normalize.
12213 (begin_defer_window_pos): make optional because it may not be the
12214 right thing to do and it introduces differences with X.
12215 (mswindows_unmap_subwindow): ditto.
12216 (mswindows_map_subwindow): ditto.
12217 (mswindows_redisplay_subwindow): renamed from
12218 mswindows_update_subwindow.
12219 (mswindows_redisplay_widget): ditto.
12220 (mswindows_button_redisplay): renamed from
12221 mswindows_button_update. Update is now what the instantiation
12222 function does for a changed instantiator.
12223 (mswindows_progress_gauge_instantiate): set the progress value
12224 here if appropriate.
12225 (mswindows_tab_control_redisplay): cope with re-ordering of the
12226 members of the tab widget by simply selecting the new top
12227 widget. This makes things appear ok if you click on a tab.
12228 (mswindows_combo_box_instantiate): image_instance_layout now takes
12229 position as well as size.
12230 (mswindows_progress_gauge_redisplay): renamed from
12231 mswindows_progress_gauge_update.
12232 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12233 (image_instantiator_format_create_glyphs_mswindows): ditto.
12235 * glyphs-eimage.c (jpeg_normalize):
12238 (tiff_normalize): add dest_mask so that it can be proprogated by
12242 (print_hash_table):
12243 (hash_table_weakness_validate):
12244 (decode_hash_table_weakness):
12245 (Fhash_table_weakness):
12246 (Fhash_table_type):
12247 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12249 * console.h (struct console_methods): move update_* to
12252 2000-07-20 Ben Wing <ben@xemacs.org>
12254 * *.[ch] (XSETOBJ): remove unused middle argument.
12255 lisp-disunion.h: correct wrap_object() to one argument.
12257 2000-07-15 Ben Wing <ben@xemacs.org>
12260 * s/cygwin32.h (CYGWIN_CONV_PATH):
12261 Add missing logb prototype for v1.1.
12262 Use post-b20 names and alias to pre-b20 names when pre-b20.
12264 * s/windowsnt.h: [5].
12266 2000-07-15 Ben Wing <ben@xemacs.org>
12268 * Makefile.in.in (x_objs):
12269 * Makefile.in.in (sheap_objs):
12270 * Makefile.in.in (objs):
12271 added win32.o, cosmetic cleanups.
12273 * alloc.c (Fmake_byte_code):
12274 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12275 etc. macros which declare their own args now.
12277 * alloc.c (syms_of_alloc):
12278 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12281 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12283 * buffer.c (Fget_file_buffer):
12284 Fixed GCPRO problem.
12286 * buffer.c (get_truename_buffer):
12287 Fixed comment about GC checking.
12289 * buffer.c (syms_of_buffer):
12290 Undeclared those dedicated frame funs.
12294 Define convenience macros for internal/external conversions.
12295 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12296 and Qenvironment_variable_encoding for cleaner code.
12299 Remove dedicated-frame; in lisp.
12301 * bytecode.c (funcall_compiled_function):
12304 * bytecode.c (syms_of_bytecode):
12308 * console-msw.c (mswindows_show_console): Rewrote.
12310 * console-msw.c (Fmswindows_debugging_output): New.
12311 Sends to OutputDebugString (special MSWin debugger interface).
12313 * console-msw.c (Fmswindows_message_box):
12314 Fixed stupid bugs so it works when called from kill-emacs.
12316 * console-msw.c (syms_of_console_mswindows):
12317 Declare Fmswindows_debugging_output.
12320 New MSWin prototypes.
12322 * console-msw.h (struct mswindows_frame):
12323 New entry last-click-mods for improved button-modifier support.
12325 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12326 New struct entry `popup' with corresponding accessor.
12329 * console-x.c (split_up_display_spec):
12330 * console-x.c (get_display_arg_connection):
12331 * console-x.c (x_semi_canonicalize_console_connection):
12332 * console-x.c (x_canonicalize_device_connection):
12333 [[[6]]]: Change char to more specific type.
12334 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12336 * console-x.c (x_semi_canonicalize_console_connection):
12337 * console-x.c (x_canonicalize_device_connection):
12338 [[[9]]]: Fix up error signalling to use new structured error system.
12341 [[[4]]]: Define codesys aliases:
12342 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12343 Qx_color_name_encoding, Qx_display_name_encoding.
12345 * console.h (struct console_methods):
12346 New method make_dialog_box_internal supersedes older
12347 popup_dialog_box method.
12350 Define many new errors, part of new structured errors.
12352 * data.c (init_errors_once_early):
12353 * data.c (syms_of_data):
12356 * device-msw.c (mswindows_init_device):
12357 [[[5]]]: Cleanup to support NT 3.51.
12359 * device-msw.c (decode_devmode): Cleanup.
12361 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12362 * device-msw.c (mswindows_handle_print_dialog_box):
12363 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12364 * device-msw.c (syms_of_device_mswindows):
12365 Delete the dialog box primitives recently introduced by Kirill and
12366 instead interface to general dialog box interface.
12369 * device-x.c (compute_x_app_name):
12370 * device-x.c (x_init_device):
12371 * device-x.c (Fx_valid_keysym_name_p):
12372 * device-x.c (Fx_set_font_path):
12376 * device.h (wrap_device): New.
12377 First of its kind; meant to replace XSETDEVICE.
12379 * dialog-msw.c: Many file-dialog symbols.
12381 * dialog-msw.c (mswindows_register_popup_frame): New.
12382 * dialog-msw.c (mswindows_is_dialog_msg): New.
12383 For supporting kbd traversal in dialog boxes.
12385 * dialog-msw.c (dialog_proc):
12386 Support hitting ESC in dialogs.
12388 * dialog-msw.c (struct):
12389 Common dialog box errors.
12391 * dialog-msw.c (handle_file_dialog_box): New.
12392 Add file dialog code.
12394 * dialog-msw.c (handle_question_dialog_box):
12395 Redo existing code to support new question dialog syntax.
12397 * dialog-msw.c (console_type_create_dialog_mswindows):
12398 We support new dialog console method.
12400 * dialog-msw.c (syms_of_dialog_mswindows):
12401 * dialog-msw.c (vars_of_dialog_mswindows):
12402 New file dialog symbols, vars.
12405 * dialog-x.c (maybe_run_dbox_text_callback):
12406 * dialog-x.c (dbox_descriptor_to_widget_value):
12407 * dialog-x.c (x_make_dialog_box_internal):
12408 * dialog-x.c (console_type_create_dialog_x):
12409 Mule-ize entire file.
12410 Redo to support question dialog syntax.
12414 * dialog.c (Fmake_dialog_box_internal):
12415 * dialog.c (syms_of_dialog):
12416 Kill old popup-dialog-box, replace with new primitive.
12417 Just call device method or signal error.
12419 * eldap.c (Fldap_open):
12420 * eldap.c (Fldap_search_basic):
12421 * eldap.c (Fldap_add):
12422 * eldap.c (Fldap_modify):
12427 * emacs.c (make_arg_list_1):
12428 * emacs.c (make_arg_list):
12429 Mule-ize call to dll_init().
12433 * emacs.c (make_argc_argv):
12434 * emacs.c (free_argc_argv):
12435 * emacs.c (init_cmdargs):
12436 * emacs.c (main_1):
12437 * emacs.c (Fkill_emacs):
12438 * emacs.c (Fdump_emacs):
12439 Update comments about what can be used in syms_* etc.
12440 Call init_win32() when necessary.
12441 Fix up MS Win dialog box in kill-buffer to actually work right.
12452 * eval.c (condition_case_3):
12454 * eval.c (function_argcount):
12455 * eval.c (funcall_lambda):
12458 * eval.c (type_error): New.
12459 * eval.c (maybe_type_error): New.
12460 * eval.c (continuable_type_error): New.
12461 * eval.c (maybe_continuable_type_error): New.
12462 * eval.c (type_error_with_frob): New.
12463 * eval.c (maybe_type_error_with_frob): New.
12464 * eval.c (continuable_type_error_with_frob): New.
12465 * eval.c (maybe_continuable_type_error_with_frob): New.
12466 New functions for use with structured errors.
12469 * event-Xt.c (x_event_to_emacs_event):
12470 Buttons are now modifiers too.
12472 * event-Xt.c (emacs_Xt_current_event_timestamp):
12473 Implement new event method.
12474 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12477 * event-msw.c (ntpipe_shove_writer): [5].
12478 * event-msw.c (mswindows_enqueue_mouse_button_event):
12479 * event-msw.c (mswindows_drain_windows_queue):
12480 * event-msw.c (mswindows_wnd_proc): [7].
12481 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12482 * event-msw.c (mswindows_modifier_state):
12483 Throughout: support new button modifiers.
12485 * event-msw.c (emacs_mswindows_current_event_timestamp):
12486 Implement new event method.
12487 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12490 * event-stream.c (event_stream_current_event_timestamp): New.
12491 * event-stream.c (maybe_kbd_translate): New functionality.
12492 * event-stream.c (vars_of_event_stream):
12493 Document new kbd-translate-table functionality.
12495 * event-stream.c (Fcurrent_event_timestamp): New.
12496 New primitive for use in fabricated events.
12497 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12499 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12502 * events.c (Fmake_event):
12503 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12507 * events.c (format_event_object): fix gcc warnings.
12509 * events.c (Fevent_timestamp): Document new primitives.
12511 * events.c (TIMESTAMP_HALFSPACE): New.
12513 * events.c (Fevent_timestamp_lessp): New. New primitive for
12514 comparing timestamps correctly (half-space algorithm).
12516 * events.c (Fevent_modifier_bits): Doc fix.
12518 * events.c (Fevent_modifiers): Major doc addition.
12519 * events.c (event_x_y_pixel_internal): Typo fix.
12520 * events.c (syms_of_events): Declare new primitives.
12523 Update long comment for button modifiers, timestamps.
12525 * events.h (struct event_stream):
12526 New current_event_timestamp method.
12529 * extents.c (extent_in_region_p):
12530 * extents.c (decode_extent):
12531 * extents.c (Fset_extent_parent):
12532 * extents.c (decode_map_extents_flags):
12536 * extents.c (struct extent_at_arg):
12537 * extents.c (decode_extent_at_flag):
12538 * extents.c (extent_at_mapper):
12539 * extents.c (extent_at_bytind):
12540 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12541 * extents.c (Fextents_at): New primitive. [9].
12542 * extents.c (symbol_to_glyph_layout): [9].
12543 Support new primitive `extents-at'.
12546 * extents.c (get_text_property_bytind):
12547 extent_at_bytind has another arg.
12550 * extents.c (syms_of_extents): New primitive.
12552 * file-coding.c (Fmake_coding_system): [1].
12553 * file-coding.c (subsidiary_coding_system): fix gcc warning
12554 * file-coding.c (syms_of_file_coding): [2].
12556 * fileio.c (Fexpand_file_name):
12557 * fileio.c (Fsysnetunam):
12558 * fileio.c (Ffile_exists_p):
12559 * fileio.c (Ffile_executable_p):
12560 * fileio.c (Fverify_visited_file_modtime):
12563 * fileio.c (syms_of_fileio): [2].
12565 * filelock.c (lock_file_1):
12566 * filelock.c (current_lock_owner):
12567 * filelock.c (lock_if_free):
12568 * filelock.c (lock_file):
12569 * filelock.c (unlock_file):
12572 * fns.c (concat): Fix gcc warning.
12575 * fns.c (Fold_member):
12577 * fns.c (Fold_memq):
12578 * fns.c (memq_no_quit):
12580 * fns.c (Fold_assoc):
12582 * fns.c (Fold_assq):
12583 * fns.c (assq_no_quit):
12585 * fns.c (Fold_rassoc):
12587 * fns.c (Fold_rassq):
12588 * fns.c (rassq_no_quit):
12590 * fns.c (Fold_delete):
12592 * fns.c (Fold_delq):
12593 * fns.c (delq_no_quit):
12594 * fns.c (Fremassoc):
12595 * fns.c (Fremassq):
12596 * fns.c (remassq_no_quit):
12597 * fns.c (Fremrassoc):
12598 * fns.c (Fremrassq):
12599 * fns.c (remrassq_no_quit):
12600 * fns.c (Freverse):
12604 * frame-msw.c (mswindows_init_frame_1):
12605 * frame-msw.c (mswindows_delete_frame):
12606 Register popups with dialog code so keyboard traversing works.
12608 * frame-tty.c (tty_raise_frame_no_select): [1].
12611 * frame-x.c (x_set_frame_text_value):
12612 * frame-x.c (x_set_frame_properties):
12613 * frame-x.c (x_create_widgets):
12617 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12619 * frame.h (wrap_frame): New.
12620 Macro like wrap_device.
12623 * general.c (SYMBOL):
12624 * general.c (syms_of_general):
12625 Major reorg. This is now just a wrapper and symbols themselves
12626 are listed in general-slots.h.
12628 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12629 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12631 * glyphs-msw.c (mswindows_native_layout_instantiate):
12632 Add DS_CONTROL so keyboard traversal will work.
12635 * glyphs-widget.c (syms_of_glyphs_widget):
12636 Move some symbols to general-slots.h.
12639 * glyphs-x.c (xbm_instantiate_1):
12640 * glyphs-x.c (x_xbm_instantiate):
12641 * glyphs-x.c (x_xface_instantiate):
12642 * glyphs-x.c (autodetect_instantiate):
12643 * glyphs-x.c (cursor_font_instantiate):
12644 * glyphs-x.c (x_update_widget):
12645 * glyphs-x.c (x_widget_instantiate):
12646 * glyphs.c (bitmap_to_lisp_data):
12647 * glyphs.c (pixmap_to_lisp_data):
12650 * glyphs.c (syms_of_glyphs):
12654 * gui-x.c (print_widget_value):
12655 * gui-x.c (menu_separator_style_and_to_external):
12656 * gui-x.c (add_accel_and_to_external):
12657 * gui-x.c (button_item_to_widget_value):
12658 * gui-x.c (gui_items_to_widget_values_1):
12659 * gui-x.c (gui_items_to_widget_values):
12660 * gui-x.c (syms_of_gui_x):
12661 * gui-x.c (vars_of_gui_x):
12662 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12666 Muleize, prototype changes matching gui-x.c.
12669 * gui.c (separator_string_p):
12670 * gui.c (gui_item_add_keyval_pair):
12671 * gui.c (make_gui_item_from_keywords_internal):
12672 * gui.c (signal_too_long_error):
12673 * gui.c (parse_gui_item_tree_item):
12674 * gui.c (syms_of_gui):
12675 * gui.c (vars_of_gui):
12677 menu-no-selection-hook moved here (used by MSWin).
12678 Move some symbols to general-slots.h.
12682 * insdel.c (get_buffer_pos_char):
12683 * insdel.c (get_buffer_range_char):
12686 * keymap.c (keymap_lookup_directly):
12687 * keymap.c (keymap_store):
12688 * keymap.c (ensure_meta_prefix_char_keymapp):
12689 * keymap.c (describe_map):
12691 Support new button modifiers.
12693 * lisp-disunion.h (wrap_object):
12694 * lisp-disunion.h (XSETOBJ):
12695 Rename make_obj to wrap_object.
12698 * lisp-union.h (make_int):
12699 * lisp-union.h (make_char):
12700 Support wrap_object.
12703 * lisp.h (LIST_LOOP):
12704 * lisp.h (EXTERNAL_LIST_LOOP):
12705 * lisp.h (LIST_LOOP_2):
12706 * lisp.h (EXTERNAL_LIST_LOOP_1):
12707 * lisp.h (EXTERNAL_LIST_LOOP_2):
12708 * lisp.h (EXTERNAL_LIST_LOOP_3):
12709 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12710 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12711 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12712 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12713 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12714 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12715 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12716 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12717 * lisp.h (struct Lisp_Symbol):
12718 * lisp.h (maybe_continuable_error_with_frob):
12719 Fix up section comments.
12720 Add new types for char to indicate usage.
12721 Delete symbols auto-generated from general-slots.h.
12722 Add prototypes for structured error functions.
12723 Add long comments describing looping macros and change interface
12724 so that lvalues are automatically declared.
12725 Add NO_DECLARE macro in case callers want to declare lvalues
12728 * lread.c (read_syntax_error):
12729 * lread.c (continuable_read_syntax_error):
12730 * lread.c (read_structure):
12731 * lread.c (sequence_reader):
12732 * lread.c (read_list_conser):
12733 * lread.c (read_compiled_function):
12734 Rename syntax_error and continuable_syntax_error to avoid clash
12735 with same-named structured error functions.
12737 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12738 * menubar-msw.c (populate_menu_add_item):
12739 * menubar-msw.c (populate_or_checksum_helper):
12744 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12745 Mule-ize whole file.
12747 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12749 * mule-charset.c (Fmake_charset):
12750 * mule-wnnfns.c (Fwnn_set_param):
12753 * ntproc.c (create_child):
12754 * ntproc.c (Fwin32_set_current_locale):
12755 Add comments portending doom.
12758 * objects-msw.c (old_font_enum_callback_2):
12759 * objects-msw.c (font_enum_callback_1):
12760 * objects-msw.c (mswindows_enumerate_fonts):
12764 * objects-x.c (allocate_nearest_color):
12765 * objects-x.c (x_parse_nearest_color):
12766 * objects-x.c (x_initialize_color_instance):
12767 * objects-x.c (x_print_color_instance):
12768 * objects-x.c (x_finalize_color_instance):
12769 * objects-x.c (x_valid_color_name_p):
12770 * objects-x.c (x_initialize_font_instance):
12771 * objects-x.c (x_print_font_instance):
12772 * objects-x.c (valid_x_font_name_p):
12773 * objects-x.c (truename_via_FONT_prop):
12774 * objects-x.c (truename_via_random_props):
12775 * objects-x.c (truename_via_XListFonts):
12776 * objects-x.c (x_font_truename):
12777 * objects-x.c (x_font_instance_truename):
12778 * objects-x.c (x_font_instance_properties):
12779 * objects-x.c (x_list_fonts):
12780 * objects-x.c (x_find_charset_font):
12781 Mule-ize entire file.
12788 * print.c (std_handle_out_external):
12789 * print.c (debug_print_no_newline):
12790 * print.c (syms_of_print):
12791 Output to all debugger kinds in debug-print.
12792 Fix console-output code under MSWin to actually work.
12794 * process-nt.c (send_signal):
12795 * process-nt.c (nt_create_process):
12796 Use newer Unicode macros.
12798 * process-unix.c (unix_create_process):
12799 * process-unix.c (unix_canonicalize_host_name):
12800 * process-unix.c (unix_open_network_stream):
12806 * search.c (syms_of_search):
12809 * select-msw.c (mswindows_destroy_selection):
12812 * select-x.c (symbol_to_x_atom):
12815 * select.c (syms_of_select):
12818 * sound.c (Fplay_sound_file):
12822 * specifier.c (decode_specifier_type):
12823 * specifier.c (Fvalid_specifier_locale_type_p):
12824 * specifier.c (check_valid_locale_or_locale_type):
12825 * specifier.c (decode_locale):
12826 * specifier.c (decode_locale_type):
12827 * specifier.c (decode_locale_list):
12828 * specifier.c (check_valid_domain):
12829 * specifier.c (decode_specifier_tag_set):
12830 * specifier.c (Fcanonicalize_tag_set):
12831 * specifier.c (Fdefine_specifier_tag):
12832 * specifier.c (Fspecifier_tag_predicate):
12833 * specifier.c (check_valid_inst_list):
12834 * specifier.c (check_valid_spec_list):
12835 * specifier.c (decode_how_to_add_specification):
12836 * specifier.c (check_modifiable_specifier):
12837 * specifier.c (specifier_add_spec):
12838 * specifier.c (boolean_validate):
12839 * specifier.c (display_table_validate):
12842 * specifier.c (syms_of_specifier):
12843 Move some symbols to general-slots.h.
12847 * symbols.c (Fmapatoms):
12848 * symbols.c (Fapropos_internal):
12851 * symbols.c (set_default_buffer_slot_variable):
12852 * symbols.c (set_default_console_slot_variable):
12855 * symbols.c (defsymbol_massage_name_1):
12856 * symbols.c (defkeyword_massage_name):
12857 * symbols.c (deferror_1):
12858 * symbols.c (deferror):
12859 * symbols.c (deferror_massage_name_and_message):
12861 * symeval.h (DEFSYMBOL):
12862 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12864 * symbols.c (syms_of_symbols):
12868 * symsinit.h (init_win32): New.
12869 Also new is syms_of_dialog_mswindows.
12872 Add new Unicode macros, missing Cygwin wide-char functions,
12873 convenience conversion macros for Qmswindows_tstr, macros for
12874 encapsulating required MSWin <-> Cygwin filename conversions,
12875 prototype for dynamically-extracted (not in NT 3.51) functions.
12880 * tooltalk.c (Fadd_tooltalk_message_arg):
12881 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12882 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12885 * tooltalk.c (syms_of_tooltalk):
12889 * unexnt.c (unexec):
12890 Fix up headers, declaration of unexec() to be more standard.
12892 2000-07-20 Martin Buchholz <martin@xemacs.org>
12894 * offix.h: Revert change to guard macros - they're used in offix.c!
12896 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12898 * lisp.h: Defsubred Fdelete.
12900 * console-msw.h: (msprinter_default_printer): Added.
12902 * console-msw.c (msprinter_canonicalize_console_connection):
12903 (msprinter_canonicalize_device_connection): Added.
12905 * device-msw.c (msprinter_default_printer):
12906 (Fmswingows_get_default_printer):
12907 (signal_enum_priner_error):
12908 (Fmswingows_printer_list): Added.
12910 2000-07-19 Martin Buchholz <martin@xemacs.org>
12912 * XEmacs 21.2.35 is released.
12914 2000-07-19 Martin Buchholz <martin@xemacs.org>
12916 * select-x.c (x_handle_selection_request):
12917 Text selected in xemacs and pasted into xterm failed to appear.
12918 Spelling fixes and cosmetic changes.
12920 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12922 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12923 XEmacs frame (fix for doubling chars in dialog boxes).
12925 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12927 * select.c (select_convert_in, select_convert_out):
12928 Don't call intern() every time.
12930 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12931 * select.c (vars_of_select): Initialise them.
12933 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12935 * select.c (selection-coercible-types): New.
12937 * select.c (own-selection-internal):
12938 * select.c (get-selection-internal):
12939 MULE bug fix - these should default to COMPOUND_TEXT and not
12940 STRING for MULE. I think.
12942 * select.c (select_convert_out): Use selection-coercible-types
12943 to find types that we can attempt to perform coercions on.
12945 2000-07-18 Martin Buchholz <martin@xemacs.org>
12949 Add coding: cookie to identify encoding.
12951 * mule-canna.c (CANNA_mode_keys): make static.
12952 Use proper prototypes, even for functions of no arguments.
12953 Remove external prototype for Fding().
12955 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12957 * select.c (syms_of_select): Add missing DEFSUBR.
12959 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12961 * select.c (get_selection_internal, own_selection_internal):
12962 Make the type default to STRING, rather than placing a nil type
12963 into Vselection_alist.
12965 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12967 * gpmevent.c (tty_selection_exists_p):
12968 * gpmevent.c (tty_own_selection):
12969 Updated parameter lists.
12971 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12973 * select.h (selection-alist): Removed declaration.
12975 * select.h (get_local_selection):
12976 * select.c (get_local_selection):
12979 * select.h (convert_selection): Removed declaration.
12980 * select.c (convert_selection): Removed.
12981 This function belongs in Lisp.
12983 * select.h (select_convert_in): Declare.
12984 * select.h (select_convert_out): Declare.
12985 * select.c (select_convert_in): New.
12986 * select.c (select_convert_out): New.
12987 New conversion functions for other files to call.
12989 * select.h (select_notify_buffer_kill): Declare.
12990 * select.c (select_notify_buffer_kill): New.
12991 New functions that get called from kill-buffer.
12993 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12994 X-specific lisp code.
12996 * select.h: Declare some of the lisp-visible functions for
12999 * select.c (clean_local_selection_data): Removed. This was
13000 a disgusting function, and previously should have been in
13001 select-x.c in any case. The functionality is now provided
13002 in select-convert-from-integer (select.el).
13004 * select.c (available-selection-types): Fixed stupidity where
13005 INTEGER and ATOM got added twice. Also add STRING when we see an
13008 * select.c (get-selection-internal): Removed symbol stripping. No
13009 longer causes conversion when data comes from the internal cache.
13011 * select.c (syms_of_select): Added new functions.
13013 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13014 error checking - previously this called abort!
13016 * select-x.c (x_own_selection): Changed comment.
13018 * select-x.c (x_handle_selection_request): Use select_convert_out.
13019 Don't mess with selection-alist; it's an internal variable of select.c.
13021 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13023 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13024 rather than messing with selection-alist.
13026 * select-msw.c (mswindows_get_foreign_selection):
13027 Use TO_INTERNAL_FORMAT rather than hacking.
13029 2000-07-14 Martin Buchholz <martin@xemacs.org>
13031 * process-unix.c (unix_open_multicast_group):
13032 (unix_open_multicast_group): Remove useless casts.
13034 2000-07-13 Martin Buchholz <martin@xemacs.org>
13036 * sound.c (Fplay_sound): Fix `unused variable' warning.
13038 * emacs.c (main): Use correct type for _environ on SCO5.
13040 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13042 * console.h (own_selection_method):
13043 * console.h (selection_exists_p_method):
13044 * console.h (available_selection_types_method): New.
13045 * console.h (register_selection_data_type_method): New.
13046 * console.h (selection_data_type_name): New.
13048 * console-msw.h (mswindows_destroy_selection): Declare it. New
13049 function & alist to track GlobalAlloc()'d handles that need
13050 releasing when the clipboard data gets replaced or emptied.
13052 * event-msw.c (mswindows_wnd_proc): Call it.
13054 * lisp.h, general.c (Qappend): New symbol representing a
13057 * select.c (own-selection-internal):
13058 * select.c (selection-exists-p):
13059 * select.c (available-selection-types): New.
13060 * select.c (register-selection-data-type): New.
13061 * select.c (selection-data-type-name): New. New functions to deal
13062 with device-specific selection data formats.
13063 * select.c (selection-converter-out-alist): Renamed.
13064 * select.c (selection-converter-in-alist): New.
13065 * select.c (selection-appender-alist): New. Added new alists.
13066 * select.c (syms_of_select, vars_of_select): Added new symbols &
13068 * select.c (get_local_selection): Split.
13069 * select.c: Removed spurious type checking - selections may now be
13070 of any type, not just strings.
13071 * select.c (own-selection-internal):
13073 * select.h, select.c (convert_selection): New. Created
13074 convert_selection() function based on get_local_selection().
13075 * select.h, select.c (QCF_*): New symbols representing mswindows
13077 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13078 symbols representing `how-to-add' modes.
13080 * select-msw.c (x_sym_p): New.
13081 * select-msw.c (symbol_to_ms_cf): New.
13082 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13083 symbols & clipboard formats. Can also handle string names.
13084 * select-msw.c (mswindows_own_selection):
13085 * select-msw.c (mswindows_selection_exists_p):
13086 Added `data-type' parameter. Use it.
13087 * select-msw.c (mswindows_available_selection_types): New.
13088 * select-msw.c (mswindows_register_selection_data_type): New.
13089 * select-msw.c (mswindows_selection_data_type_name): New.
13090 * select-msw.c (mswindows_own_selection):
13091 * select-msw.c (mswindows_get_foreign_selection):
13092 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13093 * select-msw.c (console_create_select_mswindows): Added new methods.
13094 * select-msw.c (mswindows_destroy_selection): New.
13095 * select-msw.c (Vhandle_alist): New list.
13096 * select-msw.c (mswindows_own_selection):
13098 * select-x.c (x_own_selection):
13099 * select-x.c (x_selection_exists_p):
13100 * select-x.c: Added some comments about maybe using new
13102 * select-x.c (x_own_selection):
13104 * specifier.c: Remove definition of Qappend (now in general.c)
13105 * specifier.c (syms_of_specifier): Remove Qappend.
13107 2000-07-12 Martin Buchholz <martin@xemacs.org>
13109 * config.h.in: Add socklen_t.
13111 * s/decosf4-0.h: No special compiler flags needed or desired.
13112 In particular, undefine _BSD for DEC OSF 4.0.
13114 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13116 * redisplay-msw.c (msprinter_frame_output_end): Added.
13117 (console_type_create_redisplay_mswindows): Referred the above.
13119 * frame.c (setup_frame_without_minibuffer): Do not create a
13120 default minibuffer frame on a printer device.
13122 * frame-msw.c (apply_dc_geometry): Added.
13123 (msprinter_start_page):
13124 (msprinter_init_frame_3):
13125 (msprinter_eject_page): Use it.
13127 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13128 and removed residual duplex and orientation properties.
13130 2000-07-11 Martin Buchholz <martin@xemacs.org>
13132 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13134 * unexalpha.c: Remove system prototypes from C sources!
13136 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13138 * eval.c: Remove references to M-x edit-options in DEFUNs for
13139 `defvar' and `defconst'.
13141 2000-07-09 Martin Buchholz <martin@xemacs.org>
13143 * config.h.in: Remove SMART_INCLUDE hackery.
13145 PostgreSQL hacking:
13146 * config.h.in: Don't use SMART_INCLUDE.
13148 * postgresql.h: Include libpq-fe.h here. Fix typo.
13149 * inline.c: Simply #include "postgresql.h"
13151 - Don't use SMART_INCLUDE
13152 - Use simply "const".
13153 - Use standard doc string conventions.
13154 - Use correct type for result of PQstatus.
13156 2000-07-09 Martin Buchholz <martin@xemacs.org>
13158 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13160 C++ compilation changes.
13161 * config.h.in (EXTERN_C): Define.
13162 * config.h.in (not): This is also a C++ keyword.
13163 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13164 * cm.c: Use EXTERN_C.
13165 * redisplay-tty.c: Use EXTERN_C.
13166 * sysdep.c: Use EXTERN_C. Remove Gould support.
13168 2000-07-09 Martin Buchholz <martin@xemacs.org>
13170 * general.c: Remove duplicate definition for Qfunction.
13172 2000-07-08 Ben Wing <ben@xemacs.org>
13174 * device-msw.c (msprinter_init_device):
13175 * device-msw.c (sync_printer_with_devmode):
13176 * device-msw.c (handle_devmode_changes):
13177 * device-msw.c (print_dialog_worker):
13178 * device-msw.c (Fmsprinter_apply_settings):
13179 * device-msw.c (hash_devmode):
13180 * device-msw.c (Fmsprinter_settings_despecialize):
13181 use Qmswindows_tstr, not Qctext.
13183 * vm-limit.c (check_memory_limits):
13184 avoid infinite loop printing warning messages.
13186 2000-07-05 Craig Lanning <lanning@scra.org>
13188 * Makefile.in.in: Add support for including the Windows resources
13189 when building with the cygwin and mingw targets.
13191 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13192 not set or not correct.
13193 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13194 (init_initial_directory): Don't try to use $PWD on the
13195 WIN32_NATIVE target.
13198 [[Add -mwindows to eliminate console window.]] not required --ben
13199 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13200 (MAIL_USE_POP): removed; now handled by configure.
13202 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13203 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13204 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13205 (MAIL_USE_POP): removed; now handled by configure.
13206 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13207 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13208 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13210 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13211 up from <winsock.h> via systime.h.
13212 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13213 (getpagesize): from Dan Holmsand, added.
13214 Added #endif which was left dangling by Ben's mega patch; added
13215 comment to help prevent this in the future.
13217 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13219 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13221 * console-msw.h (struct mswindows_device): Removed unnecessary
13222 cached device geometry values.
13223 Added update_tick and an accessor macro.
13224 (Lisp_Devmode): Added lrecord declaration.
13225 (struct msprinter_device): Contain devmode as a Lisp object.
13226 Added mswindows_get_selected_frame_hwnd();
13228 * console.h (struct console_methods): Indentation nitpicking.
13230 * device-msw.c (mswindows_init_device): Do not initialize geometry
13231 cache. Initialize update tick.
13232 (mswindows_device_system_metrics): Ask the device for its geometry.
13233 (global_free_2_maybe):
13234 (devmode_to_hglobal):
13235 (handle_printer_changes):
13236 (ensure_not_printing):
13237 (print_dialog_worker):
13238 (Fmsprinter_print_setup_dialog):
13239 (Fmsprinter_print_dialog):
13240 (plist_get_margin):
13241 (plist_set_margin):
13242 (Fmsprinter_page_setup_dialog): Added functions.
13243 (sync_printer_with_devmode):
13244 (handle_devmode_changes):
13245 (Fmsprinter_get_settings):
13246 (Fmsprinter_select_settings):
13247 (Fmsprinter_apply_settings):
13248 (allocate_devmode):
13249 (Fmsprinter_settings_copy):
13250 (Fmsprinter_settings_despecialize):
13252 (finalize_devmode):
13254 (hash_devmode): Added functions
13255 (syms_of_device_mswindows): Init devmode lrecord class.
13257 * device.h: Added an exfun for find-device.
13259 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13260 geometry; although, recreate the device compatible DC.
13262 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13263 (msprinter_init_frame_3):
13264 (msprinter_frame_property):
13265 (msprinter_internal_frame_property_p):
13266 (msprinter_frame_properties):
13267 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13268 print job properties (will move to device settings).
13270 * lisp.h: Added symbols.
13272 * general.c (syms_of_general): Declared them.
13274 * hash.c (string_hash): Added.
13276 * lrecord.h (lrecord_type): Added devmode lrecord type.
13278 2000-07-02 Mike Sperber <mike@xemacs.org>
13280 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13283 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13285 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13288 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13290 * data.c (Fstring_to_number): Don't recognize floating point if
13293 2000-06-22 Martin Buchholz <martin@xemacs.org>
13295 * glyphs-widget.c (tab_control_query_geometry):
13296 (widget_query_geometry):
13297 (button_query_geometry):
13298 * glyphs.c (text_query_geometry):
13299 Enforce type correctness.
13301 2000-06-18 Martin Buchholz <martin@xemacs.org>
13303 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13304 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13306 2000-06-17 Martin Buchholz <martin@xemacs.org>
13308 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13309 conflicts with gcc's fixincluded version of FOO.h.
13311 * glyphs.h (image_instance_geometry): Remove trailing `,'
13313 2000-06-08 Mike Alexander <mta@arbortext.com>
13315 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13316 (shove_thread): Don't write the same output twice
13317 (make_ntpipe_output_stream): Increase priority of shove thread
13318 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13320 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13323 2000-06-12 Ben Wing <ben@xemacs.org>
13325 * s\mingw32.h (sigset):
13326 * s\windowsnt.h (sigset):
13327 rename msw_ to mswindows_ for consistency with general convention.
13329 2000-06-12 Ben Wing <ben@xemacs.org>
13332 * console-msw.c (mswindows_get_console_hwnd):
13333 * console-msw.c (mswindows_ensure_console_allocated):
13334 * console-msw.c (mswindows_hide_console):
13335 * console-msw.c (mswindows_show_console):
13336 * console-msw.c (mswindows_ensure_console_buffered):
13337 * console-msw.c (mswindows_output_console_string):
13338 * console-msw.c (mswindows_windows9x_p):
13340 * device-msw.c (mswindows_get_workspace_coords):
13341 * device-msw.c (mswindows_device_system_metrics):
13342 * dialog-msw.c (mswindows_popup_dialog_box):
13343 * event-msw.c (mswindows_wnd_proc):
13344 * frame-msw.c (mswindows_size_frame_internal):
13345 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13346 * menubar-msw.c (displayable_menu_item):
13347 * menubar-msw.c (mswindows_char_is_accelerator):
13349 * nt.c (mswindows_sigset):
13350 * nt.c (mswindows_sigrelse):
13351 * nt.c (mswindows_sigpause):
13352 * nt.c (mswindows_raise):
13353 * nt.c (timer_proc):
13355 * ntproc.c (find_child_console):
13356 * ntproc.c (sys_kill):
13358 * print.c (std_handle_out_external):
13359 * process-nt.c (find_child_console):
13360 * process-nt.c (send_signal_the_95_way):
13361 * process-nt.c (ensure_console_window_exists):
13362 * process-nt.c (nt_create_process):
13364 rename msw_ to mswindows_ for consistency with general convention.
13368 include nt.h, not syswindows.h.
13370 * nt.c (mswindows_fstat):
13371 * nt.c (mswindows_stat):
13372 prefix mswindows_ instead of attempting to directly override the
13373 library functions. fix declarations.
13376 include syswindows.h. move some sysdep.h stuff here.
13379 include syswindows.h, not <windows.h>.
13387 * sysdep.c (sys_fstat):
13388 * sysdep.c (sys_stat):
13389 call mswindows versions when appropriate.
13392 move mswin decls to nt.h.
13395 add long comment describing appropriate use of the various windows
13398 2000-06-11 Ben Wing <ben@xemacs.org>
13400 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13402 2000-06-10 Ben Wing <ben@xemacs.org>
13404 * Makefile.in.in (release):
13405 Correction to make sure xemacs.exe always dumped when correct.
13409 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13411 * buffer.c (set_buffer_internal):
13412 [[[[2]]]]: Remove HAVE_FEP code.
13414 * buffer.c (init_initial_directory):
13418 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13422 * callproc.c (call_process_cleanup):
13423 * callproc.c (Fold_call_process_internal):
13424 * callproc.c (child_setup):
13425 * callproc.c (getenv_internal):
13426 * callproc.c (init_callproc):
13427 * callproc.c (vars_of_callproc):
13428 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13429 __CYGWIN32__ -> CYGWIN.
13430 DOS_NT -> WIN32_NATIVE.
13431 Remove MSDOS support/references, converting to WIN32_NATIVE
13433 __MINGW32__ -> MINGW.
13434 Fix windows.h includes.
13435 Remove bogus HAVE_NTGUI.
13441 mswindows_message_outputted added for use in allowing startup
13442 errors on the console to be seen.
13444 * console-msw.c (msw_ensure_console_allocated):
13445 * console-msw.c (msw_output_console_string):
13446 * console-msw.c (DHEADER):
13447 * console-msw.c (DOPAQUE_DATA):
13448 * console-msw.c (DEVENT):
13449 * console-msw.c (DCONS):
13450 * console-msw.c (DCONSCDR):
13451 * console-msw.c (DSTRING):
13452 * console-msw.c (DVECTOR):
13453 * console-msw.c (DSYMBOL):
13454 * console-msw.c (DSYMNAME):
13457 * console-stream.c (stream_init_console):
13458 Fix text/binary problems.
13461 * device-msw.c (mswindows_finish_init_device):
13462 * device-msw.c (mswindows_delete_device):
13465 * device.c (handle_asynch_device_change):
13469 * dgif_lib.c (DGifOpenFileName):
13470 * dgif_lib.c (DGifOpenFileHandle):
13471 * dgif_lib.c (DGifGetLine):
13472 * dgif_lib.c (DGifGetPixel):
13473 Added config.h/lisp.h, fix up includes.
13480 * dired.c (file_name_completion):
13481 * dired.c (Ffile_attributes):
13482 * dired.c (syms_of_dired):
13486 * dumper.c (pdump_file_unmap):
13487 * dumper.c (pdump_load):
13491 * editfns.c (Ftemp_directory):
13492 * editfns.c (user_login_name):
13493 * editfns.c (Fuser_real_login_name):
13494 * editfns.c (get_home_directory):
13497 * elhash.c (finish_marking_weak_hash_tables):
13498 [[[[5]]]]: Fix GCC warnings.
13501 * emacs.c (mswindows_handle_hardware_exceptions):
13502 * emacs.c (make_arg_list_1):
13503 * emacs.c (main_1):
13504 * emacs.c (Fkill_emacs):
13505 * emacs.c (Fdump_emacs):
13507 Fix problems with nested crashes, add long comment.
13509 * event-Xt.c (init_event_Xt_late):
13513 * event-msw.c (mswindows_dde_callback):
13514 * event-msw.c (mswindows_handle_sticky_modifiers):
13515 * event-msw.c (mswindows_wnd_proc):
13519 * events.c (character_to_event):
13523 * fileio.c (Ffile_name_directory):
13524 * fileio.c (Ffile_name_nondirectory):
13525 * fileio.c (directory_file_name):
13526 * fileio.c (Fexpand_file_name):
13527 * fileio.c (Fsubstitute_in_file_name):
13528 * fileio.c (Ffile_name_absolute_p):
13529 * fileio.c (check_executable):
13530 * fileio.c (Ffile_readable_p):
13531 * fileio.c (Ffile_accessible_directory_p):
13532 * fileio.c (Ffile_modes):
13533 * fileio.c (Funix_sync):
13534 * fileio.c (vars_of_fileio):
13537 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13539 Expand getdefdir defn.
13540 Fix bogus rename() comment.
13542 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13543 to use standard XEmacs include files, e.g. sysfile.h, rather
13544 than system-specific includes.
13550 * frame.c (vars_of_frame):
13554 * getloadavg.c (getloadavg):
13556 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13557 (We don't use it elsewhere in the code; just add a comment.)
13564 * glyphs-msw.c (mswindows_resource_instantiate):
13567 * glyphs-x.c (x_native_layout_instantiate):
13570 * gui-msw.c (Fmswindows_shell_execute):
13579 * lread.c (locate_file_in_directory_mapper):
13586 * mem-limits.h (get_lim_data):
13598 * nt.c (rva_to_section):
13599 * nt.c (mswindows_executable_type):
13601 Fix closedir() defn.
13604 [[[[8]]]]: *_OK defs moved to sysfile.h.
13613 * print.c (std_handle_out_external):
13617 * process-nt.c (nt_create_process):
13619 try to fix process quoting somewhat.
13621 * process-unix.c (unix_create_process):
13625 * process.c (vars_of_process):
13632 * realpath.c (xrealpath):
13635 * redisplay-tty.c (init_tty_for_redisplay):
13645 * sheap.c (more_static_core):
13646 * sheap.c (report_sheap_usage):
13650 * signal.c (alarm_signal):
13657 * strftime.c (zone_name):
13660 * symsinit.h (init_sunpro):
13664 commctrl.h not in Cygwin b20.1.
13667 * sysdep.c (endif):
13668 * sysdep.c (sys_subshell):
13669 * sysdep.c (init_baud_rate):
13670 * sysdep.c (emacs_get_tty):
13671 * sysdep.c (emacs_set_tty):
13672 * sysdep.c (tty_init_sys_modes_on_device):
13673 * sysdep.c (init_system_name):
13674 * sysdep.c (sys_open):
13675 * sysdep.c (interruptible_open):
13676 * sysdep.c (sys_fopen):
13677 * sysdep.c (sys_mkdir):
13678 * sysdep.c (sys_rename):
13679 * sysdep.c (get_process_times_1):
13686 * sysdir.h (DIRENTRY_NONEMPTY):
13689 * sysdll.c (dll_init):
13695 added text/binary defs.
13701 * sysproc.h (EDESTADDRREQ):
13702 * sysproc.h (poll_fds_for_input):
13719 Always define WIN32_LEAN_AND_MEAN.
13721 * unexcw.c (unexec):
13725 * unexec.c (copy_text_and_data):
13726 * unexec.c (adjust_lnnoptrs):
13730 * unexnt.c (_start):
13733 2000-06-07 Ben Wing <ben@xemacs.org>
13735 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13736 was used only as a model. We've long since extracted any useful
13737 logic or code out of this. (I just did an exhaustive search.)
13739 * s\msdos.h: Removed.
13741 * s\windows95.h: Removed.
13743 2000-06-10 Ben Wing <ben@xemacs.org>
13747 Don't use extern with fun defs.
13751 Remove nt\inc include.
13752 Remove getdisk, getdefdir. (The former is unused, the latter
13753 expanded in fileio.h.)
13756 * s\windowsnt.h (WIN32_NATIVE):
13757 * s\windowsnt.h (HAVE_STRCASECMP):
13759 Add long comment about preprocessor changes.
13760 Remove getdisk, getdefdir. (The former is unused, the latter
13761 expanded in fileio.h.)
13763 2000-06-10 Ben Wing <ben@xemacs.org>
13772 Remove bogus/unused NO_SOCK_SIGIO.
13774 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13776 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13779 2000-06-04 Mike Sperber <mike@xemacs.org>
13781 * casetab.c (set_case_table): For `set-standard-case-table',
13782 actually deposit the new case tables where the rest of XEmacs can
13785 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13787 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13789 2000-06-05 Ben Wing <ben@xemacs.org>
13791 * callproc.c (child_setup): Don't do close_load_descs() under
13792 MS Windows. Put in a comment explaining why.
13794 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13796 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13797 Toolkit shell" which breaks `kill-compilation' on Windows NT
13798 native, retaining STDERR handling improvements.
13800 2000-06-01 Andreas Jaeger <aj@suse.de>
13802 * s/s390.h: Support for S390, based on a patch by Martin
13803 Schwidefsky <schwidefsky@de.ibm.com>.
13805 2000-05-30 Andy Piper <andy@xemacs.org>
13807 * window.c (allocate_window):
13808 (make_dummy_parent):
13809 (Fset_window_configuration): use new hashtable type.
13811 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13812 (struct image_instantiator_methods):
13813 (struct Lisp_Image_Instance): make instance geometry signed.
13815 * glyphs.c (instantiate_image_instantiator):
13816 (image_instance_query_geometry):
13817 (image_instance_layout):
13818 (image_instance_layout):
13819 (query_string_geometry):
13820 (text_query_geometry):
13821 (image_instantiate):
13822 (image_instantiate):
13823 (cache_subwindow_instance_in_frame_maybe):
13824 (subwindow_query_geometry): make instance geometry signed.
13826 * glyphs-widget.c (widget_query_geometry):
13828 (button_query_geometry):
13829 (tree_view_query_geometry):
13830 (tab_control_query_geometry):
13831 (layout_query_geometry):
13833 (native_layout_layout): make instance geometry signed.
13835 2000-05-29 Olivier Galibert <galibert@pobox.com>
13837 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13840 * general.c (syms_of_general): Add Qfull_assoc symbol.
13842 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13844 (decode_weak_list_type): Decode full-assoc type.
13845 (encode_weak_list_type): Encode full-assoc type.
13846 (Fmake_weak_list): Update doc string.
13848 2000-05-30 Andy Piper <andy@xemacs.org>
13850 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13852 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13853 (decode_hash_table_weakness): ditto.
13854 (Fhash_table_weakness): ditto.
13855 (Fhash_table_type): ditto.
13856 (finish_marking_weak_hash_tables): ditto.
13857 (hash_table_weakness_validate): ditto.
13858 (syms_of_elhash): ditto.
13860 2000-05-28 Martin Buchholz <martin@xemacs.org>
13862 * XEmacs 21.2.34 is released.
13864 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13866 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13868 (updating_line_start_cache): Gone.
13869 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13870 generic code to force a minimum of 1 line laid out in the
13873 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13875 * glyphs.c (instantiate_image_instantiator): Check for initialized
13876 height & width no longer special cases IMAGE_NOTHING.
13877 (nothing_instantiate): Set height and width of instance.
13879 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13881 * unexelf.c (unexec): Search for ".data" section.
13882 Initialize new_data2_offset from old_data_index.
13883 Remove redundant check for ElfW.
13885 2000-05-23 Andy Piper <andy@xemacs.org>
13887 * glyphs.c (get_image_instantiator_governing_domain): allow more
13888 specific domains as the governing domain rather than expecting an
13889 exact match. This fixes problems with layouts.
13891 2000-05-22 Andy Piper <andy@xemacs.org>
13893 * redisplay-output.c (compare_runes): check for non-images
13895 * glyphs.c (set_glyph_dirty_p): ditto.
13896 (update_glyph_cachel_data): ditto.
13898 * glyphs-widget.c (layout_post_instantiate): ditto.
13899 (layout_post_instantiate): ditto.
13901 * event-msw.c (mswindows_wnd_proc): warning removal.
13903 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13905 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13907 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13909 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13911 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13912 (mswindows_executable_type): mingw32 now has enough headers for
13915 2000-05-20 Andy Piper <andy@xemacs.org>
13917 * console-msw.c (mswindows_output_last_error): ; -> ,
13919 2000-05-12 Andy Piper <andy@xemacs.org>
13921 * console-msw.c (FROB): compare ints with ints.
13923 2000-05-11 Andy Piper <andy@xemacs.org>
13925 * glyphs-x.c (x_finalize_image_instance): make minimal build
13928 2000-05-20 Ben Wing <ben@xemacs.org>
13931 * event-Xt.c (vars_of_event_Xt):
13932 move modifier-keys-are-sticky to event-stream.c.
13935 * event-msw.c (mswindows_enqueue_mouse_button_event):
13936 * event-msw.c (key_needs_default_processing_p):
13937 * event-msw.c (XEMSW_LCONTROL):
13938 * event-msw.c (mswindows_handle_sticky_modifiers):
13939 * event-msw.c (FROB):
13940 * event-msw.c (clear_sticky_modifiers):
13941 * event-msw.c (output_modifier_keyboard_state):
13942 * event-msw.c (output_alt_keyboard_state):
13943 * event-msw.c (mswindows_wnd_proc):
13944 * event-msw.c (mswindows_modifier_state):
13945 * event-msw.c (emacs_mswindows_handle_magic_event):
13946 implement sticky modifiers.
13949 * event-stream.c (vars_of_event_stream):
13950 move modifier-keys-are-sticky here.
13953 add CHECK_FUNCTION.
13956 implement map-range-table.
13959 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13961 * redisplay-tty.c (reset_tty_modes):
13962 (tty_redisplay_shutdown): Adjust argument type to
13963 tty_frame_output_end.
13965 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13967 * eval.c (Fbacktrace): Don't output a line with only right
13970 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13972 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13973 (Fpq_reset_poll): Ditto.
13975 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13977 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13979 2000-05-16 Ben Wing <ben@xemacs.org>
13982 * buffer.c (dfc_convert_to/from_internal_format):
13983 * buffer.c (reinit_vars_of_buffer):
13984 Fix conversion functions to allow reentrancy.
13987 * console-msw.c (mswindows_output_last_error):
13988 New fun, generally useful -- output a human-readable
13989 version of GetLastError() on the console.
13992 * console-msw.h (struct mswindows_frame):
13993 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13995 * console-stream.c (stream_output_begin):
13996 * console-stream.c (stream_output_end):
13997 * console-stream.c (stream_output_vertical_divider):
13998 * console-stream.c (stream_clear_region):
13999 * console-stream.c (stream_flash):
14000 * console-stream.c (console_type_create_stream):
14001 Delete blank stream methods, not needed.
14003 * console.h (struct console_methods):
14004 Split begin/end methods into window and frame.
14007 * event-msw.c (mswindows_handle_paint):
14008 * event-msw.c (output_alt_keyboard_state):
14009 * event-msw.c (mswindows_wnd_proc):
14010 * event-msw.c (vars_of_event_mswindows):
14011 Comment about problems with ignored-expose.
14012 Define mswindows-debug-events; not really implemented.
14014 * frame-msw.c (mswindows_init_frame_1):
14018 * glyphs-msw.c (begin_defer_window_pos):
14019 * glyphs-msw.c (mswindows_unmap_subwindow):
14020 * glyphs-msw.c (mswindows_map_subwindow):
14021 * glyphs-msw.c (mswindows_resize_subwindow):
14022 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14024 * glyphs.c (make_image_instance_1):
14027 * gutter.c (Fredisplay_gutter_area):
14028 Use new begin/end methods.
14030 * lisp.h (Dynarr_new2):
14034 * redisplay-msw.c (mswindows_frame_output_begin):
14035 * redisplay-msw.c (mswindows_frame_output_end):
14036 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14037 New begin/end methods -- handle DeferWindowPos.
14039 * redisplay-output.c (redisplay_move_cursor):
14040 * redisplay-output.c (redraw_cursor_in_window):
14041 * redisplay-output.c (redisplay_update_line):
14042 * redisplay-output.c (redisplay_output_window):
14043 New begin/end methods.
14046 * redisplay-tty.c (tty_frame_output_begin):
14047 * redisplay-tty.c (tty_frame_output_end):
14048 * redisplay-tty.c (console_type_create_redisplay_tty):
14049 New begin/end methods.
14052 * redisplay-x.c (x_window_output_begin):
14053 * redisplay-x.c (x_window_output_end):
14054 * redisplay-x.c (console_type_create_redisplay_x):
14055 New begin/end methods.
14057 * redisplay.c (redisplay_frame):
14058 * redisplay.c (Fredisplay_echo_area):
14059 New begin/end methods.
14060 use MAYBE_DEVMETH for clear_frame; it may not exist.
14062 * window.h (WINDOW_XFRAME):
14063 WINDOW_XFOO macros -- get locale and decode struct pointer.
14066 2000-05-12 Ben Wing <ben@xemacs.org>
14069 * emacs.c (ensure_no_quitting_from_now_on):
14070 * emacs.c (fatal_error_signal):
14071 * emacs.c (mswindows_handle_hardware_exceptions):
14073 * emacs.c (Fkill_emacs):
14074 * emacs.c (shut_down_emacs):
14075 * emacs.c (assert_failed):
14076 various improvements in fatal error handling.
14079 move preparing_for_armageddon to emacs.c.
14082 declare fatal_error_in_progress.
14085 * print.c (std_handle_out_external):
14086 * print.c (std_handle_out_va):
14087 * print.c (stderr_out):
14088 * print.c (stdout_out):
14089 use console under mswin when no standard output.
14090 don't do code conversion during fatal error.
14092 * scrollbar.c (Fscrollbar_page_up):
14093 * scrollbar.c (Fscrollbar_page_down):
14094 fix missing else. reindent.
14096 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14100 * glyphs.h (GLYPH_CACHEL_DESCENT):
14101 (GLYPH_CACHEL_DESCENT):
14102 (GLYPH_CACHEL_DESCENT):
14103 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14104 used in case these are inline functions.
14105 Use more absurd values to error check.
14107 include window.h for error check functions.
14109 2000-05-11 Ben Wing <ben@xemacs.org>
14111 * cmdloop.c (Freally_early_error_handler):
14112 Display message box under windows; otherwise, message will disappear
14113 before it can be viewed.
14116 * console-msw.c (Fmswindows_message_box):
14117 * console-msw.c (FROB):
14118 * console-msw.c (syms_of_console_mswindows):
14119 Define new fun `mswindows-message-box'.
14120 #### I will merge this into `popup-dialog-box'; just give me
14124 * general.c (syms_of_general):
14125 Some new symbols used in `mswindows-message-box'.
14128 * glyphs.c (Fset_image_instance_property):
14129 put warning in this fun.
14132 * glyphs.h (GLYPH_CACHEL_WIDTH):
14133 * glyphs.h (GLYPH_CACHEL_ASCENT):
14134 * glyphs.h (GLYPH_CACHEL):
14135 * glyphs.h (GLYPH_CACHEL_GLYPH):
14136 define error-checking versions to try to catch a bug i've seen --
14137 redisplay gets in an infinite loop because the glyph width of the
14138 continuation glyph is 65535.
14141 Extern message-box stuff.
14143 * window.c (allocate_window):
14144 * window.c (make_dummy_parent):
14145 * window.c (Fset_window_configuration):
14146 Use EQUAL not EQ for subwindow caches to make them work a bit
14147 better. (Something is still very broken.)
14150 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14152 * glyphs.c (image_instantiate): Suppress gcc warnings.
14153 (Fmake_image_instance): Fix doc string.
14154 * specifier.c (Fmake_specifier): Ditto.
14156 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14158 * paths.h.in (PATH_LOCK): Removed.
14159 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14160 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14162 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14164 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14165 Document (featurep '(and xemacs 21.02)).
14167 2000-05-09 Ben Wing <ben@xemacs.org>
14169 * buffer.c (complex_vars_of_buffer):
14170 update modeline-format doc.
14173 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14176 timeline of all released versions of Emacs, for use in creating
14177 authorship comments and in synching up.
14179 * glyphs-widget.c (image_instantiator_buttons):
14180 * glyphs-widget.c (image_instantiator_edit_fields):
14181 * glyphs-widget.c (image_instantiator_combo_box):
14182 * glyphs-widget.c (image_instantiator_scrollbar):
14183 * glyphs-widget.c (image_instantiator_progress_guage):
14184 * glyphs-widget.c (image_instantiator_tree_view):
14185 * glyphs-widget.c (image_instantiator_tab_control):
14186 * glyphs-widget.c (image_instantiator_labels):
14187 * glyphs-widget.c (image_instantiator_layout):
14188 * glyphs-widget.c (image_instantiator_native_layout):
14189 rename decode_domain method to governing_domain.
14192 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14193 * glyphs.c (add_entry_to_device_ii_format_list):
14194 make sure we don't put an entry more than once into the list.
14195 * glyphs.c (check_instance_cache_mapper):
14196 *************************************************************
14197 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14199 *************************************************************
14200 * glyphs.c (get_image_instantiator_governing_domain):
14201 clean up, expand on new concept of governing domain.
14202 * glyphs.c (instantiate_image_instantiator):
14203 * glyphs.c (allocate_image_instance):
14204 use governing_domain instead of cache_domain in naming.
14205 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14206 * glyphs.c (make_image_instance_1):
14207 * glyphs.c (Fmake_image_instance):
14208 allow for any domain (not just device), and process the
14209 governing domain correctly. very big doc fix.
14210 * glyphs.c (Fimage_instance_domain):
14211 new primitive, to retrieve the governing domain of an image instance.
14212 * glyphs.c (image_instantiate):
14213 use new governing_domain stuff. this fixes a crash you could get
14214 by instantiating certain widget glyphs in frame locales. (should
14215 signal an error instead of crashing.)
14216 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14217 * glyphs.c (Fglyphp): clean up doc.
14218 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14219 * glyphs.c (syms_of_glyphs):
14220 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14221 * glyphs.c (image_instantiator_format_create): add some comments about
14223 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14224 for current-display-table. (Apparently Hrjove implemented in 1998 a
14225 design I wrote up in 1996, but didn't update the doc string.)
14227 * glyphs.h: clean up a doc string.
14228 * glyphs.h (governing_domain):
14229 * glyphs.h (struct image_instantiator_methods):
14230 changes for governing_domain stuff.
14233 * gutter.c (Fgutter_specifier_p):
14234 * gutter.c (Fgutter_size_specifier_p):
14235 * gutter.c (Fgutter_visible_specifier_p):
14237 * objects.c (Fcolor_specifier_p):
14238 * objects.c (Ffont_specifier_p):
14239 * objects.c (Fface_boolean_specifier_p):
14240 doc strings moved to make-*-specifier.
14242 * redisplay.c (add_disp_table_entry_runes_1):
14243 * redisplay.c (generate_fstring_runes):
14244 * redisplay.c (screen):
14245 add random comments and doc strings.
14248 * specifier.c (Fmake_specifier):
14249 major overhaul of this doc string.
14251 * specifier.c (Fvalid_specifier_domain_p):
14252 comment about the bogosity of image instances being domains.
14253 * specifier.c (decode_domain):
14254 now non-static, used in glyphs.c.
14255 * specifier.c (specifier_instance):
14256 comment about the bogosity of image instances being domains.
14257 * specifier.c (Fgeneric_specifier_p):
14258 move doc string to make-generic-specifier.
14259 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14263 * specifier.h (DOMAIN_FRAME):
14264 * specifier.h (DOMAIN_LIVE_P):
14265 * specifier.h (DOMAIN_XDEVICE):
14267 add comments about problems with these macros.
14268 prototype for decode_domain.
14271 * toolbar.c (Ftoolbar_specifier_p):
14272 move doc string to `make-toolbar-specifier'.
14274 * window.c (window_unmap_subwindows_cache_mapper):
14275 *************************************************************
14276 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14278 *************************************************************
14280 2000-05-09 Andy Piper <andy@xemacs.org>
14282 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14284 * window.c (Fset_window_configuration): reset the frame subwindow
14285 cache and re-initialize the window subwindow caches.
14287 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14289 2000-05-09 Ben Wing <ben@xemacs.org>
14291 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14294 2000-04-26 Mike Woolley <mike@bulsara.com>
14296 * ntheap.c: Changed recreate_heap to limit the amount reserved
14297 for the heap to that which is actually available. Also now
14298 displays a message box (with some dignostics) in the event that
14299 it still can't start.
14301 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14303 * callproc.c (Fold_call_process_internal): GCPRO path
14305 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14307 Patch by Bill Perry.
14309 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14310 back data instead of #ifdef.
14311 (Fscrollbar_page_down): ditto.
14313 2000-05-07 Ben Wing <ben@xemacs.org>
14316 Kludge for defining Qmswindows_tstr.
14319 * nt.c (open_input_file):
14320 * nt.c (open_output_file):
14321 * nt.c (rva_to_section):
14322 * nt.c (mswindows_executable_type):
14323 Move all memory-mapped-file routines here (some were in unexnt.c,
14324 which is bad because they are used by process-nt.c, and unexnt
14325 won't be around when portable dumping). Synched the above routines
14329 Removed ifdef'd out bogus code.
14330 Fixed some prototypes.
14332 * nt.h (file_data):
14333 * nt.h (OFFSET_TO_RVA):
14334 * nt.h (RVA_TO_OFFSET):
14335 * nt.h (RVA_TO_PTR):
14336 Moved the memory-mapped-file structures, macros and prototypes
14337 here, to parallel nt.c. ntheap.h should really be removed
14338 entirely, and it's a non-portable-dumper specific file.
14340 * ntheap.h (round_to_next):
14341 Moved the memory-mapped-file structures, macros and prototypes
14344 * ntproc.c (compare_env):
14345 Moved rva_to_section and mswindows_executable_type to nt.c.
14346 Moved compare_env to process-nt.c.
14347 ntproc.c will die, one day.
14349 * ntproc.c (sys_spawnve):
14350 Account for win32_ -> mswindows_.
14353 * process-nt.c (struct nt_process_data):
14354 * process-nt.c (ensure_console_window_exists):
14355 * process-nt.c (compare_env):
14356 * process-nt.c (nt_create_process):
14357 * process-nt.c (nt_kill_process_by_pid):
14358 * process-nt.c (syms_of_process_nt):
14359 * process-nt.c (vars_of_process_nt):
14360 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14361 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14362 changes). Eliminate our old `nt-quote-process-args' mechanism.
14363 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14364 Move compare_env here from ntproc.c.
14366 * process.c (Fprocess_send_region):
14367 Takes an optional fourth argument, BUFFER, which should fix some
14368 problems with call-process.
14371 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14374 Move ICC_BAR_CLASSES to syscommctrl.h.
14375 Add preliminary macros for MSWindows/Mule. More to come.
14378 * unexnt.c (unexec):
14379 open_output_file moved to nt.c.
14382 2000-05-05 Andy Piper <andy@xemacs.org>
14384 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14385 instance from the frame cache also since GC may catch up too late
14386 to make frame deletion sane.
14388 2000-05-04 Andy Piper <andy@xemacs.org>
14390 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14391 (x_finalize_image_instance): ungcpro on deletion.
14393 * glyphs.c (image_instantiator_format_create): give pointers a
14394 query geometry method so that the geometry is at least set.
14396 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14397 initialize layouts if using widgets.
14399 2000-05-03 Andy Piper <andy@xemacs.org>
14401 * nt.c: remove bogus reference to sysmmsystem.h
14403 * gui-x.c (popup_selection_callback): fix no selection abort.
14405 2000-05-02 Andy Piper <andy@xemacs.org>
14407 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14408 (mswindows_widget_instantiate): ditto.
14410 * glyphs-widget.c (initialize_widget_image_instance): initialize
14411 children correctly.
14412 (widget_instantiate): cope with children and items in the same
14415 * glyphs.c (mark_image_instance): cope with children as a first
14417 (image_instance_equal): ditto.
14418 (image_instance_hash): ditto.
14419 (image_instance_changed): ditto.
14421 2000-04-30 Andy Piper <andy@xemacs.org>
14423 * glyphs.c (subwindow_query_geometry): new function. Return some
14425 (subwindow_instantiate): don't assign dimensions if none have been
14427 (image_instantiator_format_create): add subwindow_query_geometry.
14428 (print_image_instance): cope with layouts as widgets.
14430 2000-04-29 Andy Piper <andy@xemacs.org>
14432 * frame.c (delete_frame_internal): call
14433 free_frame_subwindow_instance_cache so that all subwindows are
14434 finalized before their parent.
14435 (mark_frame): remove subwindow_cachels.
14436 (Fmake_frame): remove subwindow_cachel manipulation.
14437 (allocate_frame_core): subwindow_instance_cache is a weak list.
14438 (delete_frame_internal): set subwindow_instance_cache to nil.
14440 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14442 (mswindows_finalize_image_instance): use the device
14443 not the domain as the domain may have died already.
14445 * glyphs-x.c (x_finalize_image_instance): ditto.
14446 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14449 * redisplay-output.c (redisplay_unmap_subwindows): update for
14450 subwindow instance cache as a weak list.
14451 (redisplay_unmap_subwindows_maybe): ditto.
14452 (redisplay_unmap_subwindows_except_us): ditto.
14454 * glyphs.c (unmap_subwindow): error checking will check the domain
14455 so don't deal with it here. Don't use cachels anymore.
14456 (map_subwindow): ditto.
14457 (update_subwindow_cachel_data): remove old accessor names.
14458 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14459 (Fresize_subwindow): don't update cachel.
14460 (mark_subwindow_cachels):
14461 (update_subwindow_cachel_data):
14462 (add_subwindow_cachel):
14463 (get_subwindow_cachel_index):
14464 (update_subwindow_cachel):
14465 (reset_subwindow_cachels):
14466 (mark_subwindow_cachels_as_not_updated): deleted.
14467 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14468 subwindow instance to the frame cache.
14469 (find_matching_subwindow): update for subwindow instance cache as
14471 (update_widget_instances): ditto.
14472 (image_instance_type_to_mask):inlined.
14473 (free_frame_subwindow_instance_cache): new function. finalize all
14474 subwindows that are instantiated.
14476 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14477 of cachel information.
14478 (IMAGE_INSTANCE_DISPLAY_X):
14479 (IMAGE_INSTANCE_DISPLAY_Y):
14480 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14481 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14482 (XIMAGE_INSTANCE_DISPLAY_X):
14483 (XIMAGE_INSTANCE_DISPLAY_Y):
14484 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14485 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14486 remove subwindow_cachel structure and function references.
14487 (image_instance_type_to_mask): inline from glyphs.c
14489 * redisplay.c (redisplay_frame): remove subwindow_cachel
14492 * frame.h (struct frame): remove subwindow_cachels.
14493 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14495 * frameslots.h: add subwindow_instance_cache.
14497 * window.c (replace_window): check subwindow cache of replacement.
14498 (window_unmap_subwindows_cache_mapper):
14499 (window_unmap_subwindows): new functions. Unmap all subwindows
14500 cached on this window.
14501 (mark_window_as_deleted): unmap all subwindows.
14503 2000-04-27 Andy Piper <andy@xemacs.org>
14505 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14507 * glyphs-widget.c (widget_layout): return something.
14508 (layout_layout): return something. Fail if not initialized.
14509 (layout_query_geometry): ditto.
14510 (image_instantiator_native_layout): new function. Initialized the
14511 native layout type.
14512 (widget_instantiate): don't do layout stuff here.
14514 * glyphs.c (instantiate_image_instantiator): reorded calling or
14515 instantiate and post_instantiate with layout in between.
14516 (image_instance_layout): be more selective about deciding whether
14517 the layout has been done or not.
14519 * glyphs.h (struct image_instantiator_methods): return a value
14520 from layout_method.
14522 2000-04-26 Andy Piper <andy@xemacs.org>
14524 * glyphs.c (allocate_image_instance): make initial width and
14525 height unspecified. Set initialized to 0.
14527 * syscommctrl.h new file. Encapsulates commctrl.h.
14529 * syswindows.h new file. Encapsulates windows.h.
14531 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14533 * console-msw.h: ditto.
14535 * redisplay-tty.c (tty_output_display_block): remove layout references.
14537 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14538 window handle rather than just the frame.
14540 * glyphs.c (mark_image_instance): remove layout references.
14541 (print_image_instance): ditto.
14542 (image_instance_equal): ditto.
14543 (image_instance_hash): ditto.
14544 (decode_image_instance_type): ditto.
14545 (encode_image_instance_type): ditto.
14546 (image_instantiate): ditto.
14547 (allocate_glyph): ditto.
14548 (Fimage_instance_height): ditto.
14549 (Fimage_instance_width): ditto.
14550 (update_subwindow): ditto.
14552 * redisplay-x.c (x_output_display_block): recode for layouts as
14555 * redisplay-output.c (redisplay_output_layout): recode for layouts
14557 (compare_runes): remove layout references.
14559 * redisplay-msw.c (mswindows_output_display_block): recode for
14560 layouts as widgets.
14562 * glyphs-widget.c (image_instantiator_layout): remove
14563 layout_possible_dest_types.
14564 (layout_possible_dest_types): deleted.
14566 * glyphs.h (image_instance_type): remove layout references.
14567 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14568 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14569 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14571 2000-04-25 Andy Piper <andy@xemacs.org>
14573 * glyphs-widget.c (image_instantiator_buttons):
14574 (image_instantiator_edit_fields):
14575 (image_instantiator_combo_box):
14576 (image_instantiator_scrollbar):
14577 (image_instantiator_progress_guage):
14578 (image_instantiator_tree_view):
14579 (image_instantiator_tab_control):
14580 (image_instantiator_labels):
14581 (image_instantiator_layout): call default post_instantiate method.
14582 (widget_post_instantiate): new function. Simply lays out the
14585 * glyphs.h (struct image_instantiator_methods): add
14586 post_instantiate method.
14588 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14591 2000-04-23 Andy Piper <andy@xemacs.org>
14593 * glyphs.h (struct image_instantiator_methods): add
14594 decode_domain_method.
14595 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14596 derived from the domain.
14597 (IMAGE_INSTANCE_FRAME): new accessor.
14598 (XIMAGE_INSTANCE_FRAME): ditto.
14600 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14601 instead of _SUBWINDOW_FRAME.
14602 (finalize_image_instance): ditto.
14603 (Fimage_instance_foreground): ditto.
14604 (Fimage_instance_background): ditto.
14605 (image_instantiate): ditto.
14606 (update_subwindow_cachel): ditto.
14607 (update_subwindow): ditto.
14608 (unmap_subwindow): ditto.
14609 (map_subwindow): ditto
14610 (subwindow_instantiate): ditto.
14611 * glyphs-msw.c (mswindows_update_widget): ditto.
14612 (mswindows_progress_gauge_instantiate): ditto.
14613 (mswindows_tab_control_update): ditto.
14614 * glyphs-x.c (x_update_widget): ditto.
14615 (x_widget_instantiate): ditto.
14616 (x_tab_control_instantiate): ditto.
14617 (x_tab_control_update): ditto.
14618 * event-msw.c (mswindows_wnd_proc): ditto
14620 * glyphs-widget.c (image_instantiator_layout): use
14621 subwindow_decode_domain.
14622 (image_instantiator_buttons): ditto.
14623 (image_instantiator_edit_fields): ditto.
14624 (image_instantiator_combo_box): ditto.
14625 (image_instantiator_scrollbar): ditto.
14626 (image_instantiator_progress_guage): ditto.
14627 (image_instantiator_tree_view): ditto.
14628 (image_instantiator_tab_control): ditto.
14629 (image_instantiator_labels): ditto.
14630 (image_instantiator_layout): ditto.
14632 * glyphs.c: add instance error checking to many functions.
14633 (instantiate_image_instantiator): decode device from cache_domain.
14634 (image_instantiate): partially rewrite by using
14635 decode_image_instantiator_domain to determine what domain the
14636 instance needs to be cached in.
14637 (decode_image_instantiator_domain): new function. Determine what
14638 domain the image needs to be cached in.
14639 (check_window_subwindow_cache): new error checking function.
14640 (check_instance_cache_mapper): ditto.
14641 (check_image_instance_structure): ditto.
14642 (subwindow_decode_domain): new function. Encodes a window as a
14643 subwindow's cache domain.
14644 (image_instantiator_format_create): use it for text and
14647 2000-04-21 Andy Piper <andy@xemacs.org>
14649 * glyphs.c (image_instance_device): new function.
14650 (image_instance_frame): new function.
14651 (image_instance_window): new function.
14652 (image_instance_live_p): new function.
14654 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14657 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14658 (IMAGE_INSTANCE_DOMAIN): new accessor.
14659 (XIMAGE_INSTANCE_DOMAIN): ditto.
14661 * glyphs-x.c (x_finalize_image_instance): device->domain.
14663 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14664 (mswindows_finalize_image_instance): ditto.
14666 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14667 (gif_instantiate): ditto.
14668 (png_instantiate): ditto.
14669 (tiff_instantiate): ditto.
14671 * glyphs.c (instantiate_image_instantiator): use domain rather
14673 (mark_image_instance): device -> domain.
14674 (print_image_instance): ditto.
14675 (finalize_image_instance): ditto.
14676 (image_instance_equal): ditto.
14677 (allocate_image_instance): ditto.
14678 (Fcolorize_image_instance): ditto.
14679 (query_string_geometry): ditto.
14680 (image_instantiate): ditto
14681 (query_string_font): ditto.
14682 (image_instantiate): ditto.
14683 (update_subwindow): ditto.
14684 (unmap_subwindow): ditto.
14685 (map_subwindow): ditto.
14686 (subwindow_instantiate): ditto.
14688 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14689 (DOMAIN_FRAME): ditto.
14690 (DOMAIN_WINDOW): ditto.
14691 (DOMAIN_LIVE_P): ditto.
14692 (XDOMAIN_DEVICE): ditto.
14693 (XDOMAIN_FRAME): ditto.
14694 (XDOMAIN_WINDOW): ditto.
14696 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14697 a valid specifier domain.
14699 2000-04-19 Andy Piper <andy@xemacs.org>
14701 * glyphs-widget.c (syms_of_glyphs_widget): remove
14702 widget-callback-current-channel.
14703 (vars_of_glyphs_widget): ditto.
14706 * gui.c (get_gui_callback): revert to previous behaviour.
14708 2000-04-18 Andy Piper <andy@xemacs.org>
14710 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14711 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14712 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14714 * glyphs.c (image_instance_equal): add margin_width.
14715 (image_instance_hash): ditto.
14717 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14718 (layout_query_geometry): ditto.
14719 (layout_layout): ditto.
14720 (syms_of_glyphs_widget): add margin-width.
14721 (image_instantiator_layout): allow margin-width.
14723 * glyphs.c (update_widget_instances): make a normal function.
14724 (syms_of_glyphs): remove Qupdate_widget_instances.
14727 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14728 so that we don't corrupt ideas about the last event or
14729 command. Remove widget-callback-current-channel fiddling.
14730 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14732 2000-05-01 Martin Buchholz <martin@xemacs.org>
14734 * XEmacs 21.2.33 is released.
14736 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14738 * make-src-depend: Allow dots in header file name.
14740 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14742 * mule-charset.h (struct charset_lookup): Add
14743 next_allocated_1_byte_leading_byte and
14744 next_allocated_2_byte_leading_byte.
14745 * mule-charset.c: Move above two variables so that those values
14748 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14750 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14751 when string length is zero.
14752 (find_charsets_in_emchar_string): Ditto.
14754 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14756 * lisp.h: extern Qdialog and Qmenubar.
14758 * gui-x.c: added events.h.
14759 also fixed typo which made the file uncompilable.
14761 * general.c: Added Qmenubar and Qdialog
14763 2000-04-28 Ben Wing <ben@xemacs.org>
14765 * frame-msw.c (mswindows_init_frame_1):
14766 * frame-msw.c (mswindows_mark_frame):
14767 * event-msw.c (mswindows_enqueue_dispatch_event):
14769 * console-msw.h (struct mswindows_frame):
14770 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14771 there are now three hash tables for callbacks.
14772 mswindows_enqueue_dispatch_event is no longer static.
14774 * dialog-x.c (maybe_run_dbox_text_callback):
14775 * dialog-x.c (dbox_descriptor_to_widget_value):
14776 switch to new cons3 form for callbacks.
14778 * glyphs-msw.c (mswindows_register_gui_item):
14779 * glyphs-msw.c (mswindows_widget_instantiate):
14780 * glyphs-msw.c (add_tree_item):
14781 * glyphs-msw.c (add_tab_item):
14782 new image instance parameter, so it can be passed to callback-ex.
14783 respect :callback-ex as well as :callback.
14785 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14788 * glyphs.c (print_image_instance):
14789 prettify, e.g. now prints widget type.
14792 certain funs have new image instance parameter.
14795 * gui.c (get_gui_callback):
14796 * gui.c (gui_item_add_keyval_pair):
14797 * gui.c (gui_item_init):
14798 * gui.c (gui_add_item_keywords_to_plist):
14799 * gui.c (mark_gui_item):
14800 * gui.c (gui_item_hash):
14801 * gui.c (gui_item_equal):
14802 * gui.c (copy_gui_item):
14803 * gui.c (syms_of_gui):
14804 recognize callback-ex in a number of places.
14805 also, fix the annoying "can't get out of yes-no dialog" bug.
14808 * gui.h (struct Lisp_Gui_Item):
14809 recognize callback-ex in a number of places.
14811 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14812 new parameter in button_item_to_widget_value.
14814 * glyphs-x.c (x_update_widget):
14815 * glyphs-x.c (x_button_instantiate):
14816 * glyphs-x.c (x_button_update):
14817 * glyphs-x.c (x_progress_gauge_instantiate):
14818 * glyphs-x.c (x_edit_field_instantiate):
14819 * glyphs-x.c (x_combo_box_instantiate):
14820 * glyphs-x.c (x_tab_control_instantiate):
14821 * glyphs-x.c (x_label_instantiate):
14822 new image instance parameter in various places.
14825 * event-Xt.c (enqueue_Xt_dispatch_event):
14826 this fun gets exported.
14829 * gui-msw.c (mswindows_handle_gui_wm_command):
14830 handle both :callback and :callback-ex, and generate our own
14831 event because it's one of the callback-ex arguments.
14834 * gui-x.c (popup_selection_callback):
14835 handle both :callback and :callback-ex, and generate our own
14836 event because it's one of the callback-ex arguments.
14837 * gui-x.c (button_item_to_widget_value):
14838 * gui-x.c (gui_items_to_widget_values_1):
14839 * gui-x.c (gui_item_children_to_widget_values):
14840 * gui-x.c (gui_items_to_widget_values):
14841 new image instance parameter in various places.
14843 * fns.c (Freplace_list):
14844 fix small typo in doc string.
14847 declare enqueue_Xt_dispatch_event.
14849 2000-04-28 Ben Wing <ben@xemacs.org>
14852 * buffer.c (Frecord_buffer):
14853 * buffer.c (syms_of_buffer):
14854 delete record-buffer-hook.
14857 * fns.c (Freplace_list):
14858 * fns.c (syms_of_fns):
14859 new primitive replace-list.
14862 slot for old buffer-alist.
14865 exfun replace-list.
14868 * redisplay.c (redisplay_frame):
14869 * redisplay.c (syms_of_redisplay):
14870 * redisplay.c (vars_of_redisplay):
14871 new hook buffer-list-changed-hook.
14874 2000-04-27 Ben Wing <ben@xemacs.org>
14876 * extents.h: extern in_modeline_generation.
14878 * redisplay.c (generate_formatted_string_db): set
14879 in_modeline_generation.
14881 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14882 flags if in modeline generation. otherwise frame-modified-tick
14883 is ticked far too often.
14884 Declare in_modeline_generation.
14886 2000-04-26 Ben Wing <ben@xemacs.org>
14888 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14890 (vars_of_emacs): add quick-build as an error-checking option.
14891 A bit kludgy, but there doesn't seem much point in creating
14892 a real var for this.
14894 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14896 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14898 * redisplay.h (struct display_line): Add a new variable,
14901 * redisplay.c (create_text_block): Set dl->line_continuation if
14902 the line continues.
14903 (create_string_text_block): Ditto.
14904 (regenerate_window_incrementally): Use line_continuation instead
14905 of searching continuation glyph.
14906 (add_margin_runes): Call add_glyph_rune.
14907 (add_glyph_rune): Handle margin glyph.
14909 2000-04-20 Martin Buchholz <martin@xemacs.org>
14911 * filelock.c (fill_in_lock_file_name):
14913 Check for IS_ANY_SEP instead of '/'.
14915 Avoid generating gratuitous garbage. Call user_login_name() directly.
14916 Never check errno without first seeing that system call failed.
14917 (unlock_file): Add GCPRO.
14918 (Flock_buffer): Fix docstring.
14919 (Ffile_locked_p): Fix docstring. Add GCPRO.
14921 2000-04-19 Martin Buchholz <martin@xemacs.org>
14923 * sysdep.c (get_pty_max_bytes):
14924 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14925 strings longer than 252 bytes.
14927 * md5.c: Unconditionally include ANSI header <limits.h>
14929 * glyphs-x.c (convert_EImage_to_XImage):
14930 * lisp-union.h (union Lisp_Object):
14931 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14933 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14935 * filelock.c (current_lock_owner): Remove unused variable o, p.
14937 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14939 * callint.c: Remove multiply defined symbol Qlet
14940 (syms_of_callint): ditto.
14942 2000-04-14 Andy Piper <andy@xemacs.org>
14944 * general.c (syms_of_general): add last-command, this-command, let
14947 * lisp.h: declare various symbols.
14949 * glyphs.h: declare Qwidget_callback_current_channel;
14951 * glyphs-widget.c (syms_of_glyphs_widget): add
14952 Qgui_callback_current_channel.
14953 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14955 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14956 widget-callback-current-channel when invoking the interactive
14957 arg. Also bind last-command and next-command when invoking the
14959 * gui-x.c (popup_selection_callback): ditto.
14961 * gui.c (get_gui_callback): massage args so that we are always
14962 calling eval. This allows us to add our own variable bindings
14965 * glyphs-x.c (x_button_instantiate): use
14966 gui_items_to_widget_values since this is GC safe.
14967 (x_progress_gauge_instantiate): ditto.
14968 (x_edit_field_instantiate): ditto.
14969 (x_label_instantiate): ditto.
14971 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14972 (emacs_Xt_event_widget_focus_out): new function
14973 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14975 (emacs_Xt_event_add_widget_actions): new function. add focus
14976 functions as actions.
14977 (init_event_Xt_late): use it.
14979 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14981 * event-stream.c (Fdispatch_event): Doc fix.
14983 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14985 * postgresql.c: Remove all references to PQsetenv*.
14987 * postgresql.h: Remove references to PGsetenvHandler object.
14988 * lrecord.h (lrecord_type): Ditto.
14990 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14992 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14993 real_heigh and real_width members, and accessor macros for these.
14995 * glyphs-msw.c (init_image_instance_geometry): New function.
14996 (init_image_instance_from_dibitmap): Use it.
14997 (mswindows_resource_instantiate): Use it.
14998 (init_image_instance_from_xbm_inline): Use it.
14999 (mswindows_initialize_image_instance_mask): Use real bitmap
15001 (mswindows_create_resized_bitmap): Ditto.
15002 (mswindows_create_resized_mask): Ditto.
15004 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15005 and bitmap to their surface size.
15007 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15009 * process-unix.c (unix_send_process): Guard against process MIA
15010 after Faccept_process_output.
15012 2000-04-11 Ben Wing <ben@xemacs.org>
15014 * eval.c (unbind_to_hairy): fix brokenness introduced by
15015 nanosecond speed improvements.
15017 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15019 * sunplay.c (init_device): To play sounds correctly, the device
15020 apparently needs to be initialized at least once by XEmacs. Make
15023 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15025 * redisplay.c (add_margin_runes): Add text image glyph
15028 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15030 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15031 gcc is newer than 2.5.
15033 2000-04-06 Colin Rafferty <colin@xemacs.org>
15035 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15037 * fns.c (size_bit_vector):
15038 * alloc.c (size_vector):
15039 (make_vector_internal):
15040 (make_bit_vector_internal):
15041 (sweep_bit_vectors_1):
15042 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15044 2000-04-06 Andy Piper <andy@xemacs.org>
15046 * gmalloc.c (malloc): undo previous change.
15051 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15053 * line-number.c (buffer_line_number): Revert to former version.
15055 2000-04-06 Andy Piper <andy@xemacs.org>
15057 * gmalloc.c (malloc): add error checking.
15062 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15063 button_item_to_widget_value arg.
15065 * glyphs-x.c (x_button_instantiate): add extra
15066 button_item_to_widget_value arg.
15067 (x_progress_gauge_instantiate): ditto.
15068 (x_edit_field_instantiate): ditto.
15069 (x_label_instantiate): ditto.
15071 * gui-x.c (gui_items_to_widget_values_1): add extra
15072 button_item_to_widget_value arg.
15073 (button_item_to_widget_value): add extra menu_item_p arg.
15075 * gui-x.h: change signature of button_item_to_widget_value.
15077 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15078 button_item_to_widget_value arg.
15080 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15082 * buffer.h (struct buffer): auto_save_modified should be long.
15084 2000-04-05 Andy Piper <andy@xemacs.org>
15086 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15088 (button_query_geometry): give a little more room so that athena
15091 2000-04-05 Andy Piper <andy@xemacs.org>
15093 * faces.c (complex_vars_of_faces): The widget face should inherit
15094 the font of the gui-element face.
15096 2000-04-04 Andy Piper <andy@xemacs.org>
15098 * glyphs-x.c (x_button_update): new function. unconditionally
15099 update a button's state when the instance is dirty.
15100 (image_instantiator_format_create_glyphs_x): add x_button_update.
15101 (x_widget_instantiate): remove old resize cruft.
15103 2000-04-02 Andy Piper <andy@xemacs.org>
15105 * frame.c (change_frame_size_1): The introduction of gutters means
15106 that we need to allow 0 as a potential frame dimension.
15108 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15110 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15111 image glyph if allow_cursor.
15112 (add_hscroll_rune): Don't allow cursor to border glyph.
15113 (create_text_block): Ditto.
15115 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15116 text not in buffer.
15117 (redisplay_output_layout): Call ensure_face_cachel_complete for
15121 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15123 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15125 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15128 * redisplay-tty.c (tty_output_display_block): Delete the routine
15129 for text image glyph
15130 * redisplay-x.c (x_output_display_block): ditto
15131 * redisplay-msw.c (mswindows_output_display_block): ditto
15133 2000-02-02 Mike Alexander <mta@arbortext.com>
15135 Note: Some of these were committed by accident as part of other
15138 * regex.c (regex_compile): Avoid compiler warnings.
15140 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15142 * nt.h: Declare term_ntproc correctly.
15144 * nt.c: Remove incorrect declaration of get_home_directory which
15145 is declared correctly in lisp.h.
15147 * keymap.c (get_keyelt): Avoid compiler warnings.
15148 (raw_lookup_key_mapper): Avoid compiler warnings.
15150 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15152 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15154 * filemode.c (mode_string): Avoid compiler warnings.
15156 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15159 * events-mod.h: Undef some things that winuser.h defines differently.
15161 * data.c (Faset): Avoid compiler warnings.
15163 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15165 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15167 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15168 Fall through to simple beep on error.
15169 Replace "extern" by real header file.
15171 * linuxplay.c: Use nativesound.h
15172 (play_sound_data): Return error code. Be less verbose on error.
15174 * sunplay.c: Use nativesound.h
15175 (play_sound_data): Return error code. Be less verbose on error.
15177 * ntplay.c: Use nativesound.h
15178 (play_sound_data): Return fake error code
15180 * sgiplay.c: Use nativesound.h
15181 (play_sound_data): Return error code
15183 * hpplay.c: Use nativesound.h, partially implement
15184 new error code. Break compilation until finished.
15185 (play_sound_data): error code.
15187 * nativesound.h (play_sound_file):
15188 (play_sound_data): Prototype in new header.
15190 2000-03-31 Andy Piper <andy@xemacs.org>
15192 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15193 for toggle and radio buttons.
15194 (image_instantiator_buttons): use it.
15196 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15198 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15199 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15200 found. Scrollbar event probably belonged to some old config.
15202 2000-03-31 Andy Piper <andy@xemacs.org>
15204 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15206 (initialize_widget_image_instance): default layout to
15207 LAYOUT_HORIZONTAL rather than 0.
15208 (widget_instantiate): reverse the item list at the end rather than
15210 (layout_layout): re-code for the border text at the front of the
15211 item list rather than at the end.
15212 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15213 provided by the user.
15214 (widget_query_geometry): comment.
15216 2000-03-30 Andy Piper <andy@xemacs.org>
15218 * glyphs-widget.c (image_instantiator_layout): allow standard
15219 widget keywords in layouts.
15221 * gutter.c (output_gutter): cope with nil gutter contents.
15223 * frame.c (Fset_frame_properties): add gutter docs.
15225 2000-03-29 Andy Piper <andy@xemacs.org>
15227 * toolbar-msw.c (TBSTYLE_FLAT): add.
15228 (mswindows_output_toolbar): minor fiddling.
15230 2000-03-29 Andy Piper <andy@xemacs.org>
15232 * gutter.c (output_gutter): force gutter size recalculation if
15233 what we are trying to display won't fit.
15234 (update_gutter_geometry): new function. A per-gutter version of
15235 update_frame_gutter_geometry.
15236 (update_frame_gutter_geometry): use it.
15237 (redraw_exposed_gutter): add extra debugging output.
15239 2000-03-28 Mike Alexander <mta@arbortext.com>
15241 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15242 (pdump_file_unmap): Implement it on Windows
15243 (pdump_file_get): Save alocated handles for pdump_file_unmap
15245 2000-03-28 Andy Piper <andy@xemacs.org>
15247 * gui.c (get_gui_callback): treat Quit specially.
15249 2000-03-27 Andy Piper <andy@xemacs.org>
15251 * glyphs.c (image_instantiate): be careful to check in the same
15254 2000-03-27 Didier Verna <didier@xemacs.org>
15256 * config.h.in: define the proper SMART_INCLUDE macro.
15257 handle renaming of `foo_h_path' to `foo_h_file'.
15259 * database.c: ditto.
15263 * linuxplay.c: ditto.
15265 * terminfo.c: ditto.
15267 * tooltalk.h: ditto.
15269 2000-03-27 Andy Piper <andy@xemacs.org>
15271 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15272 gets updated whenever the face might have changed.
15274 2000-03-26 Mike Alexander <mta@arbortext.com>
15276 * dumper.c (pdump_resource_free): Fix the comment.
15278 2000-03-21 Olivier Galibert <galibert@pobox.com>
15280 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15282 2000-03-22 Mike Alexander <mta@arbortext.com>
15284 * dumper.c: Include Windows headers on Windows
15285 (pdump_resource_free): Add a body to the function
15286 (pdump_load): exe_name -> exe_path and add some comments.
15288 2000-03-25 Mike Alexander <mta@arbortext.com>
15290 * gui.c (copy_gui_item_tree): Return a value in all cases
15292 2000-03-21 Didier Verna <didier@xemacs.org>
15294 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15296 (SMART_INCLUDE): new macro.
15297 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15298 the proper location.
15300 * postgresql.c: use it.
15304 2000-03-24 Andy Piper <andy@xemacs.org>
15306 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15309 2000-03-24 Andy Piper <andy@xemacs.org>
15311 * redisplay-output.c (compare_runes): use image_instance_changed
15312 to detect changes. Do not depend on glyphs_changed, only depend on
15314 (redisplay_output_layout): add debug messages.
15315 (compare_runes): ditto.
15317 * glyphs.h: declare new functions.
15318 (struct Lisp_Image_Instance): remove percent and associated
15321 * gui.h: declare new copying functions.
15323 * gui.c (copy_gui_item_tree): new function.
15324 (copy_gui_item): new function.
15325 (gui_item_id_hash): revert to standard hash.
15326 (gui_item_hash): ditto.
15327 (gui_item_hash_internal): deleted.
15328 (mark_gui_item): mark value.
15329 (gui_item_add_keyval_pair): add value.
15330 (gui_item_init): ditto.
15331 (gui_add_item_keywords_to_plist): ditto.
15332 (gui_item_equal): ditto.
15333 (syms_of_gui): add Q_value.
15335 * glyphs-x.c (x_progress_gauge_update): use pending items and
15336 value for setting the state.
15337 (x_update_widget): don't set items from pending here.
15339 * glyphs-widget.c (update_widget): update items here.
15340 (progress_gauge_set_property): use items for storing value. Put
15341 new value in pending items.
15343 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15344 items for new value. Convert percent -> value.
15345 (mswindows_tab_control_update): don't update items here.
15347 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15348 (update_subwindow): ditto.
15349 (image_instance_changed): new function. Compare hash values and
15350 past and present widget items.
15351 (image_instantiate): We more careful about where we instantiate
15353 (image_instantiate): add error checking.
15355 * gutter.c (syms_of_gutter): use -hook.
15357 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15359 * console-tty.c (Fset_console_tty_input_coding_system): Use
15361 (Fset_console_tty_output_coding_system): Use Qterminal.
15362 (tty_init_console): Use Qkeyboard and Qterminal.
15364 2000-03-21 Ben Wing <ben@xemacs.org>
15366 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15367 From Mike Alexander <mta@arbortext.com>.
15369 2000-03-21 Ben Wing <ben@xemacs.org>
15371 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15372 process brokenness. Proper implementation to come.
15374 Rename call-process-internal to old-call-process-internal.
15375 New impl. in process.el.
15377 2000-03-21 Martin Buchholz <martin@xemacs.org>
15379 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15381 2000-03-20 Andy Piper <andy@xemacs.org>
15383 * glyphs.c (full_list_hash): make hashes of the same elements in
15384 different orders return different values.
15386 2000-03-20 Martin Buchholz <martin@xemacs.org>
15388 * XEmacs 21.2.32 is released.
15390 2000-03-20 Martin Buchholz <martin@xemacs.org>
15392 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15393 (DFC_MALLOC_USE_CONVERTED_DATA):
15394 Add aliasing-safe casts to allow use with char* or unsigned char*
15397 * eldap.c (Fldap_open):
15398 (Fldap_search_basic):
15401 Make C++-compilable.
15402 Make sure GCPRO'ed variables are initialized.
15403 Use temp variables to avoid repeated calls to Flength.
15405 2000-03-16 Martin Buchholz <martin@xemacs.org>
15408 Make sure PATH_MAX is always defined.
15409 Include limits.h for PATH_MAX.
15410 Deprecate use of MAXPATHLEN.
15412 2000-03-10 Martin Buchholz <martin@xemacs.org>
15414 * emacs.c: Add reinit_vars_of_fileio.
15415 * symsinit.h: Add reinit_vars_of_fileio.
15416 * fileio.c (reinit_vars_of_fileio): New.
15417 * fileio.c (Fmake_temp_name):
15418 Initialize temp_name random number from microseconds to make
15419 collisions even less likely. Initialize always at process startup
15420 time. (make-temp-name) used to return the same file name twice in
15422 Random stylistic fiddling.
15425 2000-03-20 Andy Piper <andy@xemacs.org>
15427 * glyphs.c (image_instantiate): allow text glyphs to be
15428 instantiated in the minibuffer window.
15430 2000-03-19 Andy Piper <andy@xemacs.org>
15432 * glyphs.c (image_instance_hash): be careful about which items we
15435 * glyphs-widget.c (tab_control_set_property): record into pending
15436 items rather than the actual items.
15438 * glyphs-x.c (x_update_widget): use pending items to update with.
15440 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15443 * glyphs.c (mark_image_instance): mark pending items.
15445 * window.c (Fset_window_configuration): record the buffer.
15446 (Fselect_window): totally revert previous change which breaks many
15449 2000-03-18 Andy Piper <andy@xemacs.org>
15451 * glyphs-msw.c (mswindows_tab_control_update): force selected
15454 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15455 window domain cache, otherwise we get inconsistencies at
15456 startup. There is something fishy at startup which can lead to the
15457 minibuffer being the selected window when the gutter content is
15460 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15462 (parse_gui_item_tree_children): ditto.
15463 (parse_gui_item_tree_item): ditto.
15465 * glyphs.c (Fupdate_widget_instances): return something.
15467 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15469 * window.c (Fselect_window): Undo 2000-03-17 change.
15471 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15473 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15474 against v7.0 libraries. Insta-coredump city until the postgres
15477 2000-03-17 Andy Piper <andy@xemacs.org>
15479 * faces.c (complex_vars_of_faces): don't give the widget face an
15480 inherited background pixmap.
15482 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15485 * event-stream.c (Fdispatch_non_command_events): return something.
15487 * gutter.c (output_gutter): use widget face.
15488 (clear_gutter): ditto.
15490 * NEWS: adjust again.
15492 * window.c (Fselect_window): make sure this runs to completion to
15493 avoid oddities with Fset_window_configuration.
15494 (Fcurrent_window_configuration): in general do not save the
15495 minibuffer as the selected window.
15497 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15499 2000-03-16 Olivier Galibert <galibert@pobox.com>
15501 * emacs.c (Frunning_temacs_p): Revert previous patch.
15502 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15504 2000-03-16 Andy Piper <andy@xemacs.org>
15506 * glyphs-x.c (x_tab_control_update): if no widget values then
15509 * NEWS: update for new features.
15511 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15512 synthetic event to the native system.
15513 (reinit_vars_of_event_Xt): set force_event_pending to
15514 emacs_Xt_force_event_pending.
15516 * events.h (struct event_stream): add force_event_pending.
15518 * specifier.c (recompute_one_cached_specifier_in_window): add
15521 * redisplay.c (redisplay_frame): don't call
15522 update_frame_subwindows. Reset subwindow cachels when
15523 subwindows_changed, removing this was an optimization too far.
15525 * redisplay-output.c (compare_runes): reorganize so that we catch
15526 glyph changes when we want them. Set optimize_output when this
15527 would help layouts.
15528 (redisplay_output_layout): remove frame_really_changed, use
15529 optimize_output instead.
15531 * redisplay-msw.c (mswindows_output_display_block): reset
15532 optimize_output after outputting a glyph.
15533 * redisplay-x.c (x_output_display_block): ditto.
15534 * redisplay-tty.c (tty_output_display_block): ditto.
15536 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15538 (gutter_specs_changed): do specific gutter positions.
15539 (top_gutter_specs_changed): new function. Only update the
15540 specified gutter specs.
15541 (bottom_gutter_specs_changed): ditto.
15542 (left_gutter_specs_changed): ditto.
15543 (right_gutter_specs_changed): ditto.
15545 * gui.c (gui_item_hash_internal): new function, does a real hash.
15546 (gui_item_id_hash): use it.
15547 (gui_item_hash): hash the eval'ed gui_item.
15549 * gui-x.c (popup_selection_callback): send an eval event to call
15550 Fupdate_widget_instances.
15552 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15553 to call Fupdate_widget_instances.
15555 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15556 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15558 * glyphs.c: (update_frame_subwindows): deleted.
15559 (Fupdate_widget_instances): new function for updating the dirty
15560 state of widgets that might have changed.
15561 (syms_of_glyphs): add Qupdate_widget_instances.
15562 (full_list_hash): hash a list completely.
15563 (image_instance_hash): use it for items and properties.
15565 * frame-msw.c (mswindows_size_frame_internal): remove unused
15568 * faces.h (struct face_cachel): fix comment.
15570 * event-stream.c (Fdispatch_non_command_events): new
15571 function. Process non-command events, forcing an event cycle
15573 (syms_of_event_stream): declare.
15574 (event_stream_force_event_pending): new function. Force an event
15575 on the native event queue so that an event cycle will occur next
15579 (struct ntpipe_shove_stream):
15580 (mswindows_enqueue_dispatch_event):
15581 (mswindows_dequeue_dispatch_event):
15582 (mswindows_cancel_dispatch_event):
15583 (mswindows_pump_outstanding_events):
15584 (mswindows_drain_windows_queue):
15585 (mswindows_handle_paint):
15586 (mswindows_wnd_proc):
15587 (mswindows_key_to_emacs_keysym):
15588 (get_process_input_waitable):
15589 (emacs_mswindows_delete_stream_pair): re-indent file.
15590 (mswindows_need_event): do not process further fds if the windows
15591 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15592 fixes the 100% cpu problem.
15593 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15595 2000-03-15 Olivier Galibert <galibert@pobox.com>
15601 * emacs.c: Moved dump file searching to dumper.c.
15602 (Frunning_temacs_p): Fixed.
15604 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15605 last_lrecord_type_index_assigned.
15607 2000-02-20 Olivier Galibert <galibert@pobox.com>
15609 * symsinit.h: Added reinit parameter to init_console_stream
15612 * lisp.h: Added file parameter to pdump_load declaration.
15614 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15615 support. Added dump file searching.
15617 * config.h.in: Added EMACS_PROGNAME.
15619 * console-stream.c (init_console_stream): Fix reinitialisation
15620 when running from temacs.
15622 * alloc.c (pdump): Add id support.
15623 (pdump_load): Add file parameter and signature/id support.
15625 * Makefile.in.in: Add full pdump support.
15627 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15629 * postgresql.c: Update documentation to reflect latest code
15631 (print_result): Show tuple counts in printed representation when
15633 (Fpq_put_nbytes): MULE-ize.
15634 (Fpq_get_line_async): Ditto.
15636 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15638 * postgresql.c (Fpq_lo_import): Fix return value.
15639 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15641 2000-03-13 Ben Wing <ben@xemacs.org>
15643 * alloc.c (pdump_load):
15644 Fix compile warning under mswin.
15646 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15648 * postgresql.c: Mule-ization, bug fixes.
15649 Use PG_CODING to encapsulate coding system name changes.
15650 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15651 (pg-coding-system): Create.
15653 (Fpq_conn_defaults): Mule-ize.
15654 (Fpq_connectdb): Mule-ize & bug fix.
15655 (Fpq_connect_start): Mule-ize.
15656 (Fpq_set_client_encoding): Mule-ize.
15657 (Fpq_finish): Document `DEAD' connection status.
15658 (Fpq_clear): Ditto.
15659 (Fpq_pgconn): Mule-ize.
15660 (Fpq_exec): Mule-ize & bug fix.
15661 (Fpq_send_query): Ditto.
15662 (Fpq_get_result): Ditto.
15663 (Fpq_res_status): Mule-ize.
15664 (Fpq_result_error_message): Mule-ize.
15665 (Fpq_ntuples): fix comments.
15666 (Fpq_fname): Mule-ize.
15667 (Fpq_fnumber): Mule-ize.
15668 (Fpq_ftype): fix comments.
15669 (Fpq_get_value): Mule-ize.
15670 (Fpq_cmd_status): Ditto.
15671 (Fpq_cmd_tuples): Ditto.
15672 (Fpq_oid_value): Ditto.
15673 (Fpq_notifies): Ditto.
15674 (Fpq_lo_import): Ditto.
15675 (Fpq_lo_export): Ditto.
15676 (Fpq_get_line): Ditto.
15677 (Fpq_put_line): Mule-ize and bug fix.
15678 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15680 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15682 * postgresql.c (vars_of_postgresql): Mule-ize.
15683 (Fpq_conn_defaults): Ditto.
15685 2000-03-12 Ben Wing <ben@xemacs.org>
15687 * alloc.c (Fmake_byte_code):
15688 * alloc.c (debug_string_purity_print):
15689 * alloc.c (pdump_backtrace):
15690 * alloc.c (pdump_get_indirect_count):
15691 * alloc.c (pdump_register_sub):
15692 * alloc.c (pdump_register_object):
15693 * alloc.c (pdump_register_struct):
15694 * alloc.c (pdump_dump_data):
15695 * alloc.c (pdump_reloc_one):
15699 * console-msw.c (GetConsoleHwnd):
15700 * console-msw.c (msw_hide_console):
15701 * console-msw.c (msw_show_console):
15702 * console-msw.c (msw_ensure_console_buffered):
15703 * console-msw.c (msw_output_console_string):
15704 * console-msw.c (console_type_create_mswindows):
15706 a) Added functions to manipulate the console window for use with
15709 b) Added support for writing text to the console, which is now
15710 used under Windows when xemacs is not being run non-interactively,
15711 to write text that would otherwise be destined for stdout because
15712 under these circumstances, text written to stdout tends to
15713 disappear and not be seen.
15717 * event-Xt.c (x_event_to_emacs_event):
15718 * event-Xt.c (describe_event_window):
15719 * events-mod.h (XEMACS_MOD_CONTROL):
15721 * events.c (Fmake_event):
15722 * events.c (character_to_event):
15723 * events.c (event_to_character):
15724 * events.c (format_event_object):
15725 * events.c (Fevent_modifiers):
15727 * events.h (struct key_data):
15728 * events.h (struct button_data):
15729 * events.h (struct misc_user_data):
15730 * frame-x.c (Fcde_start_drag_internal):
15731 * frame-x.c (Foffix_start_drag_internal):
15732 * gpmevent.c (Freceive_gpm_event):
15734 * keymap.c (bucky_sym_to_bucky_bit):
15735 * keymap.c (control_meta_superify):
15736 * keymap.c (make_key_description):
15737 * keymap.c (keymap_lookup_directly):
15738 * keymap.c (create_bucky_submap):
15739 * keymap.c (keymap_store):
15740 * keymap.c (define_key_check_and_coerce_keysym):
15741 * keymap.c (define_key_parser):
15742 * keymap.c (define_key_alternate_name):
15743 * keymap.c (Fdefine_key):
15744 * keymap.c (raw_lookup_key_mapper):
15745 * keymap.c (struct map_keymap_unsorted_closure):
15746 * keymap.c (map_keymap_unsorted_mapper):
15747 * keymap.c (map_keymap_sort_predicate):
15748 * keymap.c (map_keymap_sorted):
15749 * keymap.c (accessible_keymaps_mapper_1):
15750 * keymap.c (where_is_recursive_mapper):
15751 * keymap.c (describe_map_mapper):
15752 * keymap.c (describe_map_sort_predicate):
15753 * keymap.c (describe_map):
15754 * keymap.c (complex_vars_of_keymap):
15755 And a number of other files, the key modifier preprocessor
15756 constants that xemacs uses have names that conflict with constants
15757 defined under MS Windows for other purposes, so they were renamed
15758 to begin with the prefix XEMACS_. The variables that hold such
15759 modifiers were changed to consistently be of type int to fix
15760 various compile warnings.
15762 * console.c (complex_vars_of_console):
15765 * device-msw.c (mswindows_finish_init_device):
15766 * device-msw.c (msw_get_workspace_coords):
15767 * device-msw.c (mswindows_device_system_metrics):
15768 and various other files, added support for a new
15769 device property called offset-workspace which returns the position
15770 of the upper left corner of the workspace area and goes along with
15771 the existing size-workspace property.
15774 * dialog-msw.c (push_bufbyte_string_as_unicode):
15775 * dialog-msw.c (mswindows_popup_dialog_box):
15776 Added support for XEmacs-style accelerator specifications in
15777 button text. Note: I didn't add support for this under X Windows,
15778 and somebody needs to do this.
15781 * dialog.c (Fpopup_dialog_box):
15782 Documented the support for accelerators that was just mentioned.
15784 editfns.c (get_home_directory): Changed behavior under Windows
15785 when HOME not defined; former behavior was irretrievably broken.
15788 * emacs.c (main_1):
15790 * minibuf.c (clear_echo_area_internal):
15791 * minibuf.c (echo_area_append):
15793 * print.c (std_handle_out_external):
15794 * print.c (std_handle_out_va):
15796 * print.c (write_string_to_stdio_stream):
15797 * print.c (output_string):
15798 * print.c (debug_print):
15799 * print.c (debug_backtrace):
15800 * print.c (debug_short_backtrace):
15801 Cleaned up the code that prints text to stdout so that this can be
15802 changed to output into a console window instead under MS Windows,
15803 as described above.
15806 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15807 * eval.c (internal_catch):
15808 * eval.c (unwind_to_catch):
15809 * eval.c (throw_or_bomb_out):
15810 * eval.c (condition_case_1):
15811 * eval.c (signal_1):
15812 * eval.c (check_error_state_sanity):
15813 * eval.c (call_with_suspended_errors_1):
15814 * eval.c (call_with_suspended_errors):
15815 * eval.c (reinit_vars_of_eval):
15816 Added code to catch throw loops and check for a pesky bug that may
15820 * event-msw.c (key_needs_default_processing_p):
15821 * event-msw.c (mswindows_wnd_proc):
15822 * event-msw.c (mswindows_modifier_state):
15823 * event-msw.c (emacs_mswindows_quit_p):
15824 * event-msw.c (vars_of_event_mswindows):
15825 a) Added support for using the alt key to select menu items as is
15826 standard under MS Windows. This is controlled using the variable
15827 menu-accelerator-enabled, just like under X Windows. There is an
15828 option on the options menu to turn this support on. I really
15829 think that it should be on by default under Windows, but I'm not
15830 going to make this change yet.
15832 b) Added support for dynamic display size changes under Windows.
15835 * event-stream.c (maybe_echo_keys):
15836 * event-stream.c (Fnext_event):
15837 * event-stream.c (command_builder_find_leaf):
15838 * event-stream.c (lookup_command_event):
15839 * event-stream.c (execute_command_event):
15840 * event-stream.c (pre_command_hook):
15841 * event-stream.c (post_command_hook):
15842 * event-stream.c (syms_of_event_stream):
15843 * event-stream.c (vars_of_event_stream):
15844 * event-stream.c (complex_vars_of_event_stream):
15845 * events.h (struct command_builder):
15847 a) Tried to clean up a little bit the horribly written x-specific
15848 accelerator code that crept into this file. I moved this code
15849 into menubar-x.c where it belongs. I also needed to move the
15850 command builder structure into the file events.h because it is
15851 accessed directly by this accelerator code. What I didn't do, but
15852 which should be done at some point, is to properly abstract this
15853 code using device methods instead of the kludgy way that it
15854 currently hooks into the event code.
15856 b) Added the lisp variables this-command-properties and
15857 last-command- properties, which should be used to synchronize two
15858 adjacent commands in preference to playing games with the variable
15859 this-command, which is typically what happens.
15861 c) Added some slightly nasty code to hook into the lisp support
15862 for shifted- motion-key selection. This is actually necessary for
15863 somewhat complicated reasons, which are described in
15864 simple.el. (NB: I think the proper thing would be to have the code
15865 that calls the pre and post command hooks also call out to generic
15866 lisp functions in simple.el, where all built-in stuff could be
15867 added. I will think about this more.)
15869 * event-unixoid.c (poll_fds_for_input):
15870 * lread.c (readchar):
15871 * redisplay-tty.c (tty_clear_frame):
15872 * redisplay-x.c (x_get_gc):
15873 * signal.c (interrupt_signal):
15874 And a whole bunch of other files: fixed up places that printed
15875 directly to stderr to instead call the function stderr_out so that
15876 the changes I made under Windows work correctly.
15878 * filemode.c (mode_string):
15882 * frame-msw.c (mswindows_size_frame_internal):
15883 Fixed the computation of frame size and position to keep the frame
15884 within the workspace area, rather than within the physical
15885 dimensions of the screen, so that the frame doesn't overlap window
15886 manager decorations, such as the start menu and toolbar, typically
15887 at the bottom of the screen.
15889 * frame.c (vars_of_frame):
15890 Changed the default frame title format under MS Windows to consist
15891 of buffername-XEmacs, which is standard under MS Windows. I think
15892 it might be a good idea to change this everywhere because I think
15893 it is superior to the current frame title format, but this is the
15894 kind of change that is likely to cause some people to get annoyed,
15895 so I'm not making it.
15897 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15899 * gui-msw.c (mswindows_handle_gui_wm_command):
15900 Fixed compile warnings.
15903 * gui-x.c (strdup_and_add_accel):
15904 * gui-x.c (button_item_to_widget_value):
15906 Added code to automatically put an accelerator onto the beginning
15907 of menu items that don't have one as is now the standard, and is
15908 described more later. Also fixed things so that the menu item
15909 name can be an evaluated expression, again a new standard.
15912 * gui.c (gui_item_add_keyval_pair):
15913 * gui.c (make_gui_item_from_keywords_internal):
15914 * gui.c (gui_add_item_keywords_to_plist):
15915 * gui.c (gui_item_accelerator):
15916 * gui.c (gui_name_accelerator):
15917 * gui.c (gui_item_included_p):
15918 * gui.c (gui_item_display_flush_left):
15919 * gui.c (gui_item_display_flush_right):
15920 * gui.c (parse_gui_item_tree_item):
15921 * gui.c (parse_gui_item_tree_children):
15922 * gui.c (parse_gui_item_tree_list):
15923 Mule-ized. Cleanup. GCPRO addition.
15925 * line-number.c (buffer_line_number):
15927 * lisp.h (EMACS_INT_MAX):
15928 Added the manifest constant EMACS_INT_MIN corresponding to the
15929 existing constant EMACS_INT_MAX. This is partially to fix compile
15930 warnings under Windows, and partly for cleanliness.
15933 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15934 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15935 * menubar-msw.c (displayable_menu_item):
15936 * menubar-msw.c (populate_menu_add_item):
15937 * menubar-msw.c (populate_or_checksum_helper):
15938 * menubar-msw.c (populate_menu):
15939 * menubar-msw.c (update_frame_menubar_maybe):
15940 * menubar-msw.c (prune_menubar):
15941 * menubar-msw.c (msw_char_is_accelerator):
15942 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15943 * menubar-msw.c (mswindows_handle_wm_command):
15944 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15945 * menubar-msw.c (mswindows_handle_wm_initmenu):
15946 * menubar-msw.c (mswindows_update_frame_menubars):
15947 * menubar-msw.c (mswindows_free_frame_menubars):
15948 * menubar-msw.c (mswindows_popup_menu):
15949 Fixed a bug in handling accelerators where an extra character
15950 would be displayed in the menu item. Also generalized the
15951 function displayable_menu_item because it is now used by the
15952 dialog box code as well. And finally, added code in the functions
15953 that create the menubar to extract a list of accelerators for the
15954 top level menubar, which is used in the event code to determine
15955 whether a particular alt-key combination should be used to invoke
15956 a menu item, or should be passed through to access the standard
15957 XEmacs keymap binding for this key combination.
15959 Much needed GCPROing.
15962 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15963 * menubar-x.c (menu_item_descriptor_to_widget_value):
15964 * menubar-x.c (restore_in_menu_callback):
15965 * menubar-x.c (x_popup_menu):
15966 * menubar-x.c (menu_move_up):
15967 * menubar-x.c (menu_move_down):
15968 * menubar-x.c (menu_move_left):
15969 * menubar-x.c (menu_move_right):
15970 * menubar-x.c (menu_select_item):
15971 * menubar-x.c (command_builder_operate_menu_accelerator):
15972 * menubar-x.c (menu_accelerator_junk_on_error):
15973 * menubar-x.c (command_builder_find_menu_accelerator):
15974 * menubar-x.c (Faccelerate_menu):
15976 Moved a whole bunch of code here that was previously in
15977 event-stream.c as described above. There is also code connected
15978 to the new standard of adding an accelerator to the beginning of
15979 menu items that don't have one as described above and below.
15982 * menubar.c (menu_parse_submenu_keywords):
15983 * menubar.c (Fmenu_find_real_submenu):
15984 * menubar.c (Fnormalize_menu_item_name):
15985 * menubar.c (syms_of_menubar):
15986 * menubar.c (vars_of_menubar):
15987 * menubar.c (complex_vars_of_menubar):
15989 a) Cleaned up a bunch of documentation and improved it.
15991 b) XEmacs now automatically adds an accelerator onto the beginning
15992 of any menu items that don't have one. I did this because there
15993 will inevitably be some menu items on the main menubar that don't
15994 have accelerators on them because the package that adds that
15995 particular menu item hasn't yet been fixed up to have accelerators
15996 in them and it looked rather strange to have some items with and
15997 some items without accelerators, especially since even in items
15998 without accelerators, you can, at least under windows, still
15999 access the item through an accelerator corresponding to the first
16000 character in the item's name. If people don't like this behavior,
16001 I can add a variable to turn it off optionally, but I'm not sure
16002 this is a good idea because we really do need to have accelerators
16003 on all of the menu items, and if a package doesn't like the
16004 accelerators being put on the first character, then it should put
16005 the accelerators where they belong.
16007 c) I made a behavior change, which is that the descriptor that
16008 specifies the text of the menu item, which formerly was just a
16009 string, can now also be an evaluated expression. This makes this
16010 descriptor parallel with all of the others, which could also be
16011 evaluated expressions. This also obviates the need for the
16012 keyword :label, which was previously listed in the documentation
16013 as unimplemented, and which was for the same purpose.
16018 * ntproc.c (new_child):
16019 * ntproc.c (sys_spawnve):
16020 * ntproc.c (find_child_console):
16021 * ntproc.c (sys_kill):
16022 Fixed compile warnings. By the way, this file should really go
16023 away entirely, and this will happen as soon as Kirill makes his
16024 final round of process cleanups, which affect the function
16028 * process-nt.c (struct nt_process_data):
16029 * process-nt.c (find_process_from_pid):
16030 * process-nt.c (send_signal_the_nt_way):
16031 * process-nt.c (enable_child_signals):
16032 * process-nt.c (find_child_console):
16033 * process-nt.c (send_signal_the_95_way):
16034 * process-nt.c (nt_finalize_process_data):
16035 * process-nt.c (ensure_console_window_exists):
16036 * process-nt.c (nt_create_process):
16037 * process-nt.c (nt_kill_child_process):
16038 * process-nt.c (nt_kill_process_by_pid):
16039 * process-nt.c (nt_open_network_stream):
16040 * process-nt.c (vars_of_process_nt):
16041 Copied over code from Emacs 20.5 to correctly send signals to sub-
16042 processes under Windows 95. Also added code to automatically
16043 create and hide console window when a sub-process is created under
16044 Windows 95, which obviates the need for the separate runemacs.exe
16045 executable, and finally implemented some variables that were
16046 implemented in Emacs 20.5, but previously not in XEmacs. These
16047 include mswindows- start-process-share-console and
16048 mswindows-start-process-inherit-error-mode. (Both of these only
16049 apply to Windows 95.)
16051 * regex.c (regex_compile): Fixed a compile warning.
16054 * select-msw.c (mswindows_own_selection):
16055 * select-msw.c (mswindows_get_foreign_selection):
16056 * select-msw.c (mswindows_disown_selection):
16057 * select-msw.c (console_type_create_select_mswindows):
16058 * select-msw.c (syms_of_select_mswindows):
16059 Cleaned up the file and implemented the device method
16060 selection_exists_p, which had accidentally been left out. Also
16061 removed four lisp functions that were remnants from before the
16062 time when the selection code was properly device abstracted.
16063 These functions are no longer needed because there are generic
16064 equivalents, and because they were added recently and don't exist
16065 in FSF Emacs, I don't think there's any problem with just deleting
16069 * sysdep.c (sys_subshell):
16070 Fixed a compile warning, although in this case there's probably
16071 something wrong with this code, and it ought to be looked into
16072 more thoroughly by somebody who understands it.
16075 * window.c (Fwindow_text_area_height):
16076 * window.c (Fwindow_width):
16077 * window.c (Fwindow_full_width):
16078 * window.c (Fwindow_pixel_width):
16079 * window.c (debug_print_window):
16080 * window.c (syms_of_window):
16081 Added functions window-text-area-height and window-full-width,
16082 which are functions for returning various width and height
16083 characteristics of a window. (One of these functions is necessary
16084 for making the file dialog box work correctly, and the other one
16085 was added for completeness.) Also added a table to the
16086 documentation for window-height which describes the entire scheme
16087 for accessing width and height characteristics of a window.
16089 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16091 * nt.c (fstat): Added a comment for another problem with
16092 non-encapsulated [f]stat(), reported by Adrian Aichner
16093 <aichner@ecf.teradyne.com>.
16095 2000-03-11 Andy Piper <andy@xemacs.org>
16097 * window.c (make_dummy_parent): initialize subwindow instance
16099 (Fset_window_configuration): zero extent_modiff.
16101 2000-03-10 Andy Piper <andy@xemacs.org>
16103 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16104 more changes can be triggered.
16105 (Fredisplay_frame): ditto.
16106 (Fredraw_device): ditto.
16107 (Fredisplay_device): ditto.
16108 (redisplay_frame): make non-static.
16109 (redisplay_frame): call update_frame_gutter_geometry outside of
16112 * gutter.h: declare update_frame_gutter_geometry.
16114 * redisplay.h: declare redisplay_frame.
16116 * gutter.c (update_frame_gutter_geometry): move geometry changes
16117 in update_frame_gutters here. Geometry changes can only occur
16118 outside of redisplay.
16119 (update_frame_gutters): remove geometry change code.
16120 (Fredisplay_gutter_area): make sure that we are in display when we
16121 update and that we have flushed any size changes.
16123 2000-03-11 Andy Piper <andy@xemacs.org>
16125 * alloc.c (pdump_dump_data): remove i & count shadows.
16127 2000-02-27 Mike Alexander <mta@arbortext.com>
16129 * sysdep.h: Declare pdump_read_file
16131 * sysdep.c (pdump_read_file): New function
16133 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16136 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16138 * lrecord.h: add `lrecord_type_pgsetenv'.
16140 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16142 * symsinit.h: declare (vars|syms)_of* functions.
16143 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16145 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16147 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16149 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16152 * emacs.c (main_1): Call postgres initialization code.
16154 * postgresql.h: New file. PostgreSQL RDBMS support.
16155 * postgresql.c: New file.
16157 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16159 * redisplay-output.c (redisplay_output_display_block): Disable
16162 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16164 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16165 (Fcanna_henkan_next): Ditto.
16166 (Fcanna_bunsetu_henkou): Ditto.
16167 (Fcanna_henkan_kakutei): Ditto.
16168 (Fcanna_henkan_end): Ditto.
16169 (Fcanna_henkan_quit): Ditto.
16170 (Fcanna_henkan_next): Set retun value correctly.
16171 (c2mu): Use unsigned char instead of signed char.
16173 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16175 * emacs.c (main_1): Always call syms_of_gui.
16176 * inline.c: include gui.h
16178 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16180 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16181 converted to Lisp_Object.
16182 (Qtop_bottom): New variable.
16183 (syms_of_redisplay): Initialize it.
16184 * redisplay.h (Vvisible_bell): Ditto.
16185 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16186 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16187 only flash top and bottom.
16189 2000-03-08 Andy Piper <andy@xemacs.org>
16191 * buffer.c (Frename_buffer): record new buffer name the right way.
16193 2000-03-08 Andy Piper <andy@xemacs.org>
16195 * glyphs.c (update_subwindow): increase hash depth so that widget
16196 items get picked up properly.
16198 * redisplay-output.c (compare_runes): increase hash depth so that
16199 widget items get picked up properly.
16201 2000-03-08 Andy Piper <andy@xemacs.org>
16203 * gutter.c (output_gutter): add some debug.
16205 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16206 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16207 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16209 * redisplay-output.c (compare_runes): use display_hash to
16210 determine if glyphs really are not the same.
16212 * glyphs.c (update_subwindow): check display_hash to see if
16213 anything really needs to be updated. If not then do
16214 nothing. Record the display_hash after updating.
16215 (image_instance_equal): compare the image_instance face also.
16217 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16219 * redisplay.h: Fix comment style.
16221 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16223 * consle-msw.h (struct mswindows_frame):
16224 Added new member paint_pending to indicate whether a WM_PAINT
16225 magic event has been queued for this frame.
16227 * event-msw.c (mswindows_drain_windows_queue):
16228 Don't queue a WM_PAINT magic event if one is already queued.
16229 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16231 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16233 2000-03-07 Didier Verna <didier@xemacs.org>
16235 * dired.c: #include `regex.h' after `sysfile.h'.
16237 2000-03-06 Martin Buchholz <martin@xemacs.org>
16239 * sound.c (init_nas_sound): Fix compiler warning.
16241 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16243 (MARK_STRUCT_AS_FREE):
16244 (MARK_STRUCT_AS_NOT_FREE):
16245 Make `gcc -fstrict-aliasing' work properly.
16247 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16249 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16250 (mswindows_delete_device): Call CoUnnitialize().
16252 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16254 2000-02-25 <CraigL@DyCon.com>
16256 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16259 * sysdep.c: This extern declaration for environ prevents MinGW
16260 from finding the variable in CRTDLL.DLL.
16262 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16264 (SHGFI_EXETYPE): ..
16265 (WM_MOUSEWHEEL): ..
16266 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16268 (MMRESULT): Removed, now defined in cygwin's windows headers.
16270 (uid_t,gid_t,pid_t,ssize_t): ..
16271 (_timeb): Removed, MinGW defines both _timeb and timeb.
16272 (HAVE_H_ERRNO): Added.
16273 (HAVE_TZNAME): Added, configure is not detecting this.
16275 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16277 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16278 * syntax.c (syntax_match): Use it.
16280 * cmds.c: Import auto-fill-chars from FSF Emacs.
16281 (Vauto_fill_chars): New variables.
16282 (internal_self_insert): Check Vauto_fill_chars.
16284 Declare auto-fill-chars as a Lisp variable and initialize it.
16286 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16288 * fileio.c (Fmake_symbolic_link):
16290 Run handlers even if local machine doesn't have symlinks.
16292 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16294 * event-msw.c (mswindows_drain_windows_queue):
16295 Don't generate paint magic events for non-XEmacs frames.
16297 2000-03-05 Andy Piper <andy@xemacs.org>
16299 * redisplay.c (redisplay_frame): generate_displayable_area and
16300 friends assumes that we are not in GC, we therefore have to make
16301 sure that this doesn't happen.
16303 * gutter.c (calculate_gutter_size): generate_displayable_area
16304 assumes that we are not in GC, we therefore have to make sure that
16305 this doesn't happen.
16307 2000-03-05 Martin Buchholz <martin@xemacs.org>
16309 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16311 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16313 * redisplay.c (regenerate_window): Make sure we set a sane value
16314 for end_pos even if we jump out of the loop.
16315 (regenerate_window): Answer Ben's question :-).
16316 (start_end_of_last_line): Add may_error argument.
16317 (start_of_last_line):
16318 (end_of_last_line): Pass may_error = 0.
16319 (end_of_last_line_may_error): New function.
16320 (pixel_to_glyph_translation): Use it, so we don't crash in
16323 2000-03-04 Andy Piper <andy@xemacs.org>
16325 * window.h (struct window): add gutter_extent_modiff.
16327 * window.c (allocate_window): zero out gutter_extent_modiff.
16329 * redisplay.h: declare sync_display_line_structs.
16331 * redisplay.c (add_glyph_rune): add a better comment.
16333 * redisplay-output.c (sync_display_line_structs): made non-static.
16334 (compare_runes): remove unneccesary glyph cachel access.
16336 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16338 * gutter.c (output_gutter): don't output the gutter if extent
16339 changes only involve extents in buffers. use 4 sets of display
16341 (gutter_extent_signal_changed_region_maybe): new function. Mark
16342 extents in gutters as changed.
16343 (update_frame_gutters): use 4 sets of display lines.
16344 (reset_gutter_display_lines): ditto.
16345 (free_frame_gutters): ditto.
16346 (redraw_exposed_gutter): force output of gutters.
16348 * frame.h (struct frame): add 4 sets of gutter display lines.
16350 * extents.c: (extent_changed_for_redisplay): signal changes to
16351 extents in strings in the gutter as well as extents in buffers.
16353 2000-03-02 Andy Piper <andy@xemacs.org>
16355 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16357 * frame.c (Fmake_frame): make sure the gutters get initialized
16358 after the frame is visible.
16359 (set_frame_selected_window): re-arrange compilation macros a
16361 (change_frame_size_1): mark gutters changed.
16363 * device.c (Fset_device_class): mark gutters changed.
16365 2000-03-01 Andy Piper <andy@xemacs.org>
16367 * window.c (window_top_frame_gutter_height): deleted.
16368 (window_bottom_frame_gutter_height): ditto.
16369 (window_left_frame_gutter_height): ditto.
16370 (window_right_frame_gutter_height): ditto.
16371 (window_top_gutter_height): don't use them.
16372 (window_bottom_gutter_height): ditto.
16373 (window_left_gutter_width): ditto.
16374 (window_right_gutter_width): ditto.
16375 (Fsplit_window): ditto.
16376 (Fwindow_pixel_edges): don't use border dimensions here.
16378 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16379 (update_scrollbar_instance): ditto.
16381 * redisplay.c (generate_modeline): don't take gutters into account.
16382 (generate_modeline): ditto.
16383 (redisplay_frame): small gutter display optimization.
16385 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16387 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16388 gutters into account.
16390 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16391 for window position and type.
16393 * gutter.c (get_gutter_coords): fix for frame gutters.
16394 (update_frame_gutters): update frame geometry if the gutters have
16396 (init_frame_gutters): record current gutter geometries.
16398 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16400 (mswindows_widget_instantiate): ditto.
16402 * frame.h (struct frame): add current_gutter_bounds.
16404 * frame.c (change_frame_size_1): position window and minibuffer
16405 appropriately taking into account the frame gutters.
16407 * frame-x.c: (x_initialize_frame_size): take into account the
16410 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16412 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16414 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16416 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16418 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16420 * file-coding.c (reset_decoding_stream): Clear previous
16421 detection state when autodetect.
16423 2000-02-29 Didier Verna <didier@xemacs.org>
16425 * extents.c (set_extent_glyph_1): don't require extents to be
16428 2000-02-27 Andy Piper <andy@xemacs.org>
16430 * gutter.c (Fset_default_gutter_position): don't default left and
16431 right gutter visibility to t.
16432 (Fset_default_gutter_position): run
16433 default-gutter-position-changed-hook.
16434 (syms_of_gutter): add default-gutter-position-changed-hook.
16436 2000-02-26 Andy Piper <andy@xemacs.org>
16438 * specifier.c (Fmake_specifier): add gutter references.
16440 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16442 * lisp.h: declare Fvalid_plist_p.
16444 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16446 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16447 well as its visibility so that it gets reconstructed.
16448 (construct_window_gutter_spec): new function. Construct a string
16449 to be displayed in the gutter from a plist of strings. Take care
16450 to only use elements that are declared as visible.
16451 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16453 (gutter_validate): allow plists of strings in the specifier.
16454 (gutter_specs_changed): construct the real_gutter from the gutter
16455 specs using construct_window_gutter_spec.
16456 (gutter_visible_validate): gutter-visible is a new specifier type.
16457 (Fgutter_visible_specifier_p): new function for the new specifier.
16458 (syms_of_gutter): declare gutter-visible and
16459 Fgutter_visible_specifier_p.
16460 (specifier_type_create_gutter): intitalize new gutter-visible
16462 (reinit_specifier_type_create_gutter): ditto.
16463 (specifier_vars_of_gutter): use new specifier type for gutter
16465 (init_frame_gutters): construct real_gutter correctly.
16466 (Fgutter_specifier_p): beef up documentation.
16467 (Fgutter_size_specifier_p): ditto.
16469 * winslots.h: add real_gutter slots.
16471 2000-02-25 Andy Piper <andy@xemacs.org>
16473 * device-msw.c: Be kind to older cygwin versions. From Raymond
16474 Toy <toy@rtp.ericsson.se>.
16476 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16477 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16479 2000-02-25 Martin Buchholz <martin@xemacs.org>
16481 * elhash.c (MARK_OBJ): Practice macro hygiene.
16483 2000-02-24 Martin Buchholz <martin@xemacs.org>
16485 * miscplay.c: s/__inline__/inline/g;
16486 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16487 (get_device_compdc): INLINE ==> static inline
16488 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16489 find -name '*.h' | \
16490 xargs global-replace \
16491 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16493 2000-02-25 Andy Piper <andy@xemacs.org>
16495 * window.c (window_top_frame_gutter_height): new function.
16496 (window_top_window_gutter_height): ditto.
16497 (window_top_gutter_height): use them.
16498 (window_bottom_frame_gutter_height): new function.
16499 (window_bottom_window_gutter_height): ditto.
16500 (window_bottom_gutter_height): use them.
16501 (window_left_window_gutter_width): new function.
16502 (window_left_frame_gutter_width): ditto.
16503 (window_left_gutter_width): use them.
16504 (window_right_window_gutter_width): new function.
16505 (window_right_frame_gutter_width): ditto.
16506 (window_right_gutter_width): use them.
16507 (window_pixel_height): new function. calulate window pixel height
16508 with frame gutter involvement.
16509 (Fsplit_window): calculate new sizes taking frame gutters into
16511 (window_char_height_to_pixel_height): don't include frame gutters.
16512 (window_char_height): use window_pixel_height.
16513 (window_pixheight): rename from window_pixel_height.
16514 (change_window_height): use it.
16515 (window_pixel_height_to_char_height): don't include frame gutters.
16516 (window_char_width_to_pixel_width): ditto.
16518 2000-02-25 Andy Piper <andy@xemacs.org>
16520 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16523 2000-02-24 Martin Buchholz <martin@xemacs.org>
16525 * alloc.c (staticpro):
16526 (staticpro_nodump):
16531 (compact_string_chars):
16532 (pdump_dump_wired):
16533 Convert: if (foo) abort(); ==> assert (! foo);
16535 * eldap.c (Fldap_search_basic):
16539 Fix compiler warnings, and possible crashes if (random) return
16540 value were to be used.
16542 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16544 * device-msw.c: Workaround ResetDC failure.
16546 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16547 applying a devmode.
16549 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16550 (mswindows_text_width): Do not start printer page.
16552 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16554 * glyphs-msw.c: Added image methods to msprinter console and
16555 msprinter-specific image instantiation.
16557 2000-02-20 Mike Alexander <mta@arbortext.com>
16559 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16560 to avoid crashes when selection-sets-clipboard is on
16561 (mswindows_own_selection): ditto
16563 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16566 * redisplay-msw.c (get_frame_dc):
16567 (get_frame_compdc):
16569 * device-msw.c (mswindows_init_device):
16570 (mswindows_delete_device):
16571 (msprinter_init_device):
16572 (msprinter_delete_device):
16573 * frame-msw.c (mswindows_init_frame_1):
16574 (mswindows_delete_frame):
16575 (msprinter_init_frame_3):
16576 (msprinter_delete_frame): Move compatible DC to device object from
16577 frame object, for both mswindows and msprinter. Only one at a time
16578 is needed, it is a real waste to have one per frame!
16580 2000-02-23 Andy Piper <andy@xemacs.org>
16582 * glyphs.c: add dynamic width and height elements.
16583 (image_instance_equal): ditto.
16585 * glyphs-widget.c (widget_query_geometry): calculate width and
16586 height dynamically if required.
16587 (initialize_widget_image_instance): initialize dynamic dimensions.
16588 (widget_instantiate): pick-up dynamic dimensions.
16590 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16591 dynamic determination. Add appropriate macros.
16593 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16595 (WINDOW_GUTTER_SIZE): ditto.
16596 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16598 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16600 (get_frame_dc): ditto.
16602 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16605 2000-02-23 Martin Buchholz <martin@xemacs.org>
16607 * XEmacs 21.2.31 is released.
16609 2000-02-22 Ben Wing <ben@xemacs.org>
16611 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16613 2000-02-22 Andy Piper <andy@xemacs.org>
16615 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16617 2000-02-21 Mike Sperber <mike@xemacs.org>
16621 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16624 2000-02-21 Mike Sperber <mike@xemacs.org>
16626 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16628 2000-02-21 Martin Buchholz <martin@xemacs.org>
16630 * XEmacs 21.2.30 is released.
16632 2000-02-20 Martin Buchholz <martin@xemacs.org>
16634 Performance hacking.
16636 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16637 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16638 * emacs.c (main_1):
16640 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16641 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16642 * symeval.h (DEFVAR_SYMVAL_FWD):
16643 * symbols.c (guts_of_unbound_marker):
16644 Make all c_readonly objects also lisp_readonly and marked for life.
16645 * lrecord.h (struct lrecord_implementation):
16646 Document flags better.
16647 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16648 * lrecord.h (DECLARE_LRECORD):
16649 * lrecord.h (XSETRECORD):
16650 * lrecord.h (RECORDP):
16651 * lrecord.h (RECORD_TYPEP):
16652 * lrecord.h (RECORD_MARKER): New.
16653 * lrecord.h (error_check_*):
16654 * lrecord.h (CONCHECK_NONRECORD):
16655 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16656 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16657 * lrecord.h (set_lheader_implementation):
16658 * lrecord.h (enum lrecord_type): New.
16659 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16660 * alloc.c (disksave_object_finalization_1):
16661 * alloc.c (mark_object):
16662 * alloc.c (lrecord_type_index):
16663 * alloc.c (tick_lcrecord_stats):
16664 * alloc.c (Fgarbage_collect):
16665 * alloc.c (init_alloc_once_early):
16666 * alloc.c (pdump_load):
16667 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16668 * alloc.c (lrecord_type_index): Delete.
16669 Make lisp object type indexes be constant.
16670 Makes (byte-compile) 5% faster.
16671 Put all marker functions into their own array.
16672 Makes (garbage-collect) 5% faster.
16673 Optimize SYMBOL_VALUE_MAGIC_P.
16674 Makes (byte-compile) 2-3% faster.
16675 * config.h.in (gc_checking_assert): New.
16676 * alloc.c: Use gc_checking_assert().
16677 * .dbxrc: Make compatible with new object type implementation.
16678 * .gdbinit: Make compatible with new object type implementation.
16679 * alloc.c: Delete all symbols defined only for debugging, such as
16680 Lisp_Type_Vector and lrecord_charset.
16682 2000-02-21 Andy Piper <andy@xemacs.org>
16684 * gui-msw.c (Fmswindows_shell_execute): fix file location
16687 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16688 unshowing so that set_window_buffer doesn't undo
16689 kill_buffer_hook's hard work.
16691 * glyphs-widget.c (tab_control_query_geometry): don't count the
16692 first item when calculating geometry.
16694 * glyphs.c (map_subwindow): remove redundant code.
16695 (update_frame_subwindows): be more circumspect about when to
16698 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16699 when items haven't changed. Update faces if faces have changed as
16700 well as just the widget face.
16701 (x_tab_control_update): Update faces if faces have changed as well
16702 as just the widget face.
16704 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16706 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16708 (build_syscolor_string): Use mswindows_color_to_string to try to
16710 (mswindows_device_system_metrics): Reverse the foreground and
16711 background colors so that they match the documentation.
16713 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16714 they match the default Windows palette.
16715 (mswindows_color_to_string): New function.
16717 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16719 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16721 2000-02-18 Olivier Galibert <galibert@pobox.com>
16723 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16724 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16726 * symbols.c (init_symbols_once_early): Removed obsolete
16727 DATA_SEG_BITS related kludge.
16728 (defvar_magic): Ditto.
16730 * malloc.c: Removed obsolete DATA_SEG_BITS
16732 * mem-limits.h: Ditto.
16734 * Makefile.in.in: Removed obsolete HAVE_SHM
16737 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16739 * device-msw.c (mswindows_delete_device): Free DDE string
16742 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16744 * keymap.c (get_keyelt):
16745 * unexnt.c (unexec):
16746 * vm-limit.c (memory_warnings):
16747 * ntheap.c (recreate_heap):
16748 * ntheap.h (UNINIT_PTR):
16749 * select-msw.c (Fmswindows_get_clipboard):
16750 (Fmswindows_set_clipboard):
16751 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16753 * menubar-msw.c (displayable_menu_item):
16755 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16756 * sysdep.c (sys_subshell):
16757 * process-nt.c (nt_create_process):
16758 * nt.c (normalize_filename):
16759 (dostounix_filename):
16760 (unixtodos_filename):
16761 * ntproc.c (win32_executable_type):
16762 * ntplay.c (play_sound_data_1):
16764 * editfns.c (get_home_directory):
16765 * event-msw.c (struct winsock_stream):
16766 (mswindows_dde_callback):
16767 * device-msw.c (msprinter_init_device):
16768 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16770 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16771 mswindows_clear_toolbar were swapped!
16773 * objects-msw.c:(colormap_t):
16775 * emacs.c (struct standard_args): Fixed const jumble.
16777 * glyphs-widget.c (update_widget): Fixed comparison notation.
16779 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16781 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16782 __declspec(noreturn) syntax.
16784 2000-02-19 Martin Buchholz <martin@xemacs.org>
16786 * eldap.c (Fldap_open):
16787 (Fldap_search_basic):
16790 Use new coding system conversion macros.
16792 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16794 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16796 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16798 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16799 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16801 * eldap.c (Qadd, Qreplace): New constant symbols
16802 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16803 interruptions by XEmacs signals
16804 Remove unnecessary calls to slow_down_interrupts and
16805 speed_up_interrupts
16806 (Fldap_search_basic): Renamed from Fldap_search_internal
16807 Added new optional parameter VERBOSE that triggers the
16808 display of progress messages
16809 Remove unnecessary calls to slow_down_interrupts and
16810 speed_up_interrupts
16811 LDAP result code analysis rewritten
16812 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16813 (syms_of_eldap): Define the new symbols and functions
16816 2000-02-17 Martin Buchholz <martin@xemacs.org>
16818 * realpath.c: Determine PATH_MAX maximally portably.
16820 * insdel.c (bytecount_to_charcount): Optimize.
16821 The function used to be optimized for entirely ASCII sequences.
16822 Now it is optimized for successive characters from the same
16823 charset. This also wins big for _mostly_ ASCII sequences.
16825 * fileio.c (Ffile_truename): convert return from realpath() using
16826 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16827 - Rewrite GCPROing slightly.
16829 * sysdep.c (sys_open): Do filename conversion, like all other
16830 sys_* functions. Fixes bug:
16831 (let ((file-name-coding-system 'iso-8859-2))
16832 (write-region x y latin2-name))
16833 ==> writes filename using internal encoding.
16835 2000-02-18 Martin Buchholz <martin@xemacs.org>
16837 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16838 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16839 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16840 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16841 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16842 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16843 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16844 (CONST_IF_NOT_DEBUG): Delete.
16845 * alloc.c (this_one_is_unmarkable): Delete.
16846 (mark_object): Don't check for this_one_is_unmarkable. Use the
16847 c_readonly flag instead.
16848 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16850 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16852 * event-msw.c (mswindows_drain_windows_queue):
16853 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16854 away redundant repaint events.
16856 2000-02-17 Andy Piper <andy@xemacs.org>
16858 * redisplay.h: declare mark_redisplay_structs.
16860 * redisplay.c (redisplay_window):
16861 (redisplay_frame): don't check subwindows_state_changed.
16862 (mark_redisplay): mark gutters here.
16864 * glyphs.c: (instantiate_image_instantiator): always layout if we
16865 haven't done so already.
16866 (allocate_image_instance): don't mark as dirty.
16867 (update_subwindow): bind inhibit_quit.
16869 * gutter.c (mark_gutters): new function.
16871 * glyphs-x.c (x_update_widget): Always resize to get round a
16874 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16875 breaking absolutely everything.
16877 * gutter.h: declare mark_gutters.
16879 2000-02-16 Martin Buchholz <martin@xemacs.org>
16881 * XEmacs 21.2.29 is released.
16883 2000-02-15 Olivier Galibert <galibert@pobox.com>
16885 * fns.c (size_bit_vector): Fix computation of the size.
16887 2000-02-15 Martin Buchholz <martin@xemacs.org>
16889 * *.[ch]: Change CONST to const globally.
16890 find -name '*.[ch]' | \
16891 xargs global-replace \
16892 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16893 - Remove vestigial references to CONST_IS_LOSING
16895 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16897 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16898 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16899 events instead of dispatching them directly.
16900 (mswindows_handle_paint): New function to do repainting.
16901 (mswindows_wnd_proc):
16902 (emacs_mswindows_handle_magic_event): Call above function.
16904 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16906 * objects-msw.c (mswindows_create_font_variant): Return the new
16908 (initialize_font_instance): Get font metrics from the underlined
16909 variant of the font to cope with the case where the underlined
16910 font has a bigger descent.
16912 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16914 * gui.c (gui_item_accelerator): Return the first underlined
16915 character in item name.
16917 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16919 * lisp.h: Added Qprinter.
16921 * general.c (syms_of_general): Initialized it.
16923 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16925 (get_frame_compdc): Made inline.
16927 * console.h (struct console_methods): Added eject_page method.
16929 * frame.h: Added FRAME_DISPLAY_P and friends.
16930 Aligned backslahes in many macros in more readable fashion.
16931 Added page_number to struct frame, and an accessor macro
16934 * defice.h: Added DEVICE_DISPLAY_P and friends.
16936 * device.c (Fdevice_printer_p): Used these.
16938 * frame.c (allocate_frame_core): Initialize page number.
16939 (Fprint_job_page_number):
16940 (Fprint_job_eject_page): Implemented.
16942 * frame-msw.c (msprinter_eject_page): Added method.
16943 (msprinter_start_page): Added.
16945 * window.c (Fwindow_truncated_p): Fixed docstring.
16946 (Fwindow_last_line_visible_height): Implemented.
16948 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16950 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16952 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16954 * syntax.c (scan_words): Always advance at least one character.
16956 2000-02-13 Andy Piper <andy@xemacs.org>
16958 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16959 to make sure the glyph is in the cachels.
16961 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16962 global image instance flag.
16963 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16964 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16966 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16967 (Fset_image_instance_property): mark layout as changed.
16968 (invalidate_glyph_geometry_maybe): mark layout as changed.
16969 (glyph_width): use new NEEDS_LAYOUT macro.
16970 (glyph_ascent): ditto.
16971 (glyph_descent): ditto.
16972 (glyph_height): ditto.
16973 (image_instance_layout): mark layout as clean after laying out.
16974 (update_subwindow): don't mark layout as clean here.
16976 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16977 should no longer be needed.
16979 * glyphs-x.c (x_update_widget): sanitize asserts.
16980 (x_finalize_image_instance): sanitize assignment to widgets.
16982 * glyphs-widget.c (widget_instantiate): don't need to clear the
16985 2000-02-13 Martin Buchholz <martin@xemacs.org>
16987 * sysdep.c (getcwd): Use standard prototype.
16988 * sysdep.h (getcwd): Use standard prototype.
16990 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16991 (sequence, start, end).
16992 Remove redundant type checking.
16993 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16994 view of `caller-protects') to avoid a crash where the real fix was
16997 2000-02-12 Martin Buchholz <martin@xemacs.org>
16999 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17001 * s/sol2.h: Remove feature macro initialization.
17003 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17004 (vector_hash): New. Code from internal_hash.
17006 Fix up allocation subsystem comments.
17008 * config.h.in: Add __EXTENSIONS__ for Solaris.
17010 * systime.h (EMACS_GETTIMEOFDAY): New.
17011 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17012 Remove Solaris-specific code.
17013 Use void* for the (ignored) second arg for gettimeofday().
17015 * elhash.c (hash_table_hash): Implement it, finally.
17016 * elhash.c: Use hashcode_t.
17018 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17019 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17021 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17022 * fns.c (size_bit_vector):
17023 * alloc.c (size_vector):
17024 (make_vector_internal):
17025 (make_bit_vector_internal):
17026 (sweep_bit_vectors_1):
17027 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17029 2000-02-10 Martin Buchholz <martin@xemacs.org>
17031 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17032 Include strings.h to avoid warnings for bzero and strcasecmp.
17034 2000-02-10 Olivier Galibert <galibert@pobox.com>
17036 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17037 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17039 * fns.c (size_bit_vector): New. Declare bit vectors as a
17042 2000-02-10 Olivier Galibert <galibert@pobox.com>
17044 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17045 use a value field instead.
17046 (symbol_value_forward_forward): Use value field.
17047 (DEFVAR_SYMVAL_FWD): Use value field.
17048 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17049 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17050 (DEFVAR_CONST_INT): Ditto.
17051 (DEFVAR_BOOL): Ditto.
17052 (DEFVAR_CONST_BOOL): Ditto.
17053 (DEFVAR_INT_MAGIC): Ditto.
17054 (DEFVAR_BOOL_MAGIC): Ditto.
17056 * symbols.c (guts_of_unbound_marker): Use value field.
17057 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17058 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17060 * lisp.h: Declare dumpopaque and noninteractive1.
17062 * alloc.c (dumpopaque): Added.
17063 (pdump_dump_opaquevec): Added.
17064 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17065 (pdump_load): Reload opaque data. Sync noninteractive1 with
17068 2000-02-10 Andy Piper <andy@xemacs.org>
17070 * glyphs.c (image_instance_layout): if the size changes, mark it
17073 * redisplay-output.c (redisplay_output_layout): Update the
17075 (redisplay_output_subwindow): ditto.
17077 * glyphs.c (update_subwindow): make sure we reset flags for
17078 layouts as well as everything else.
17080 * glyphs-widget.c (layout_layout): don't need to set the instances
17083 2000-02-09 Martin Buchholz <martin@xemacs.org>
17085 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17086 not HAVE_DLOPEN, which is a lower-level thing.
17088 * .cvsignore: Ignore gmon.out
17090 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17092 * .cvsignore: Ignore portable dumper xemacs.dmp file
17094 2000-02-09 Andy Piper <andy@xemacs.org>
17096 * redisplay-output.c (redisplay_output_layout): be more clever
17097 about when we output based on the changed flags.
17099 * glyphs.h (struct image_instantiator_methods): add update_method.
17100 (struct Lisp_Image_Instance): add changed flags. Declare new
17101 macros for manipulating them.
17103 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17104 (image_instance_parent_glyph): find an image_instance's parent
17105 glyph or image_instance.
17106 (image_instance_layout): mark the size as changed.
17107 (set_image_instance_dirty_p): new function. mark an image
17108 instance, plus all of its parents, as dirty.
17109 (Fset_image_instance_property): use it.
17110 (Fglyph_animated_timeout_handler): use it.
17111 (update_subwindow): call update_widget and device methods for
17112 update_subwindow. Mark all changed flags as clean.
17113 (Fresize_subwindow): mark size as changed.
17115 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17117 (x_update_subwindow): only resize subwindows here.
17118 (x_update_widget): new function. Update all changed properties of
17120 (x_resize_subwindow): deleted.
17121 (x_widget_set_property): deleted.
17122 (x_progress_gauge_set_property): deleted.
17123 (x_progress_gauge_update): new function. Implement recorded
17125 (x_tab_control_update): ditto.
17126 (x_tab_control_set_property): deleted.
17127 (console_type_create_glyphs_x): declare new functions.
17128 (image_instantiator_format_create_glyphs_x): ditto.
17130 * glyphs-widget.c (widget_set_property): mark text changed.
17131 (update_widget): new function. Update properties of a widget.
17132 (widget_instantiate): for layouts make sure we set their
17133 children's parent correctly.
17134 (tab_control_set_property): new function. Record changes that will
17135 take place under redisplay's control.
17136 (progress_gauge_set_property): ditto.
17137 (image_instantiator_progress_guage): declare new functions.
17138 (image_instantiator_tab_control): ditto.
17140 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17142 (mswindows_update_widget): new function. Update all properties on
17143 a widget that have changed.
17144 (mswindows_button_update): new function. Update a button's set
17146 (mswindows_tab_control_update): new function. Update the items in
17148 (mswindows_tab_control_set_property): deleted.
17149 (mswindows_progress_gauge_update): new function. Update the
17150 progress gauge's progress.
17151 (mswindows_widget_set_property): deleted. This is all done
17152 asynchronously now.
17153 (mswindows_progress_gauge_set_property): ditto.
17154 (console_type_create_glyphs_mswindows): declare new methods.
17155 (image_instantiator_format_create_glyphs_mswindows): ditto.
17157 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17158 (msprinter_set_frame_properties): ditto.
17160 * console.h (struct console_methods): Add update_widget_method.
17162 2000-02-09 Andy Piper <andy@xemacs.org>
17164 * gui-msw.c (Fmswindows_shell_execute): Make
17165 mswindows-shell-execute industrial strength.
17167 2000-02-08 Martin Buchholz <martin@xemacs.org>
17169 * lrecord.h: Make macro argument `props' match member function `plist'.
17172 * fns.c (Fremprop):
17173 * fns.c (Fobject_plist):
17176 Object property list frobbing cleanup.
17177 - Allow any lisp object (compared with `eq'), not just symbols, as
17178 keys in object plists.
17179 - Move symbol plist frobbing into symbols.c, where it belongs.
17180 - Move string plist frobbing into alloc.c, where it belongs.
17181 - Everything's an lrecord now, so no need to test for symbolp, etc.
17182 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17184 * extents.c: Reorder code to remove declarations.
17186 * frame.h (store_in_alist): Remove useless declaration.
17188 2000-02-07 Martin Buchholz <martin@xemacs.org>
17190 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17191 * config.h.in: Add HAVE_XCONVERTCASE.
17193 2000-02-07 Andy Piper <andy@xemacs.org>
17195 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17196 it breaks many things.
17198 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17200 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17201 actually can start a common comment type.
17202 * src/syntax.h (SYNTAX_END_P): ditto for end.
17204 2000-02-07 Martin Buchholz <martin@xemacs.org>
17206 * XEmacs 21.2.28 is released.
17208 2000-02-06 Martin Buchholz <martin@xemacs.org>
17210 * event-Xt.c (x_keysym_to_character): New.
17211 (maybe_define_x_key_as_self_inserting_character): New.
17212 (x_has_keysym): New.
17213 Auto-define all keys on the keyboard as self-insert-key.
17215 2000-02-02 Martin Buchholz <martin@xemacs.org>
17217 * menubar.c (vars_of_menubar): A small code simplification.
17219 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17222 * ExternalClient.c:
17223 * EmacsShell-sub.c:
17226 Use consistent style for specifying X resources.
17228 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17229 This makes (dontusethis-set-symbol-value-handler) actually usable.
17231 * lrecord.h (lrecord_decription_type):
17232 * alloc.c (pdump_register_sub):
17235 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17236 Comply with XEmacs coding style.
17237 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17238 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17240 * keymap.c (Faccessible_keymaps):
17241 Make (accessible-keymaps map "\C-h") do the Right Thing.
17242 Make (accessible-keymaps map []) do the Right Thing.
17243 Make (accessible-keymaps map "") do the Right Thing.
17244 (check_keymap_definition_loop): New function.
17245 (keymap_store_internal): Keep luser from shooting self in foot,
17246 via (define-key ctl-x-4-map "p" global-map).
17247 Remove fullness slot from struct Lisp_Keymap, since hash tables
17249 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17251 2000-01-30 Martin Buchholz <martin@xemacs.org>
17253 * redisplay.c (init_redisplay): Fix small memory leak.
17255 * elhash.c (pdump_reorganize_hash_table):
17256 Rename from reorganize_hash_table. Change prototype.
17257 Reuse the original memory for hentries. Save 100k.
17258 * alloc.c (PDUMP_READ): new macro.
17259 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17260 * alloc.c: No need to #ifndef before #undef.
17262 * print.c: Allow debug_print() to print readably by modifying
17263 debug_print_readably. Use consistent variable names.
17265 * .dbxrc: Try to get things to work even if stopped in a function
17266 without source available by explicitly specifying source files.
17267 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17269 * unexnt.c (_start): Removed bogus code which caused loading heap
17270 from differrent executable file.
17271 Removed bogus assignment to _fmode, which caused inconsistencies.
17273 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17275 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17276 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17277 Do not preliminary `#define signal sigset'.
17279 * systime.h: Do not prototype environ on windows nt and cygwin,
17280 this conflicts with system header.
17282 * syssignal.h: Use correct define for WINDOWSNT
17284 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17285 with system header.
17287 * sysdep.c (near start of file): Fixed commentary and rearranged
17288 ifdefs in readable order.
17289 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17292 (end_of_data): Do not compile in if using PDUMP.
17294 * symsinit.h: Prototyped vars_of_nt().
17296 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17297 (find_child_console): Use it.
17298 (sys_kill): Use it.
17300 * ntheap.h: Do not extern os_subtype.
17302 * ntheap.c (cache_system_info): Do not cache unneeded:
17303 nt_major_version, nt_minor_version and os_subtype.
17304 (recreate_heap): Do not compile in when PDUMPing.
17306 * nt.c (geteuid and friends): Use the new varibale
17307 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17308 (init_user_info): Removed the above mentioned hackery.
17309 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17310 stat has been fixed in the C runtime.
17311 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17313 * file-coding.c (struct file_coding_dump): Do not define
17314 ucs_to_mule_table in the struct if not MULE.
17315 (struct struct lrecord_description fcd_description_1): Do not dump
17318 * emacs.c (main_1): Call vars_of_nt().
17319 (right before Fdump_emacs_data): Don't need lastfile if using both
17320 portabe dumper and system malloc.
17322 * alloc.c (Fmemory_limit): Conditionalized out.
17323 (pdump): Use OPEN_BINARY for the portable dump file.
17324 (pdump_load): Ditto.
17326 2000-02-02 Mike Alexander <mta@arbortext.com>
17328 * nt.c (convert_time): Set tm_isdst before calling mktime and
17329 avoid calling it at all if the compiler supports 64 bit integers.
17330 Also initialize utc_base_ft before using it.
17332 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17334 * frame.c (change_frame_size_1): Take f->internal_border_width
17335 into consideration when calculating the width of the frame.
17337 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17339 * window.c (frame_min_height):
17340 (frame_size_valid_p):
17341 (frame_pixsize_valid_p): Added.
17342 (check_frame_size): Generalized.
17344 * window.h: Prototyped the above.
17347 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17348 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17349 Deleted Vwin32_* and Vbinary_process_* unused variables.
17351 * device-msw.c (msprinter_init_device): Do not get printer font
17352 list; Added DEVMODE functions.
17354 * frame-msw.c: Added lots of printer code.
17356 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17359 * console-msw.h: Added more msprinter device private slots.
17361 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17363 * event-msw.c (key_needs_default_processing_p): Added.
17364 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17366 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17368 * glyphs.c (image_instance_layout): Mark image instance as clean
17370 (glyph_dirty_p): Removed redundant function.
17371 (invalidate_glyph_geometry_maybe): Added.
17372 (update_glyph_cachel_data): Call it.
17374 * glyphs.h: Prototyped it.
17376 * redisplay.c (add_glyph_rune): Call it.
17377 (redisplay_window): Reset glyphs cachels when frame faces have
17378 changed, thus forcing recomputation of built-in border glyphs.
17380 2000-01-30 Martin Buchholz <martin@xemacs.org>
17382 * Makefile.in.in: Make portable dumper and purify play well together.
17383 Add imperfect, but better than nothing, support for pdump.
17384 Remove xemacs.dmp when temacs is re-generated.
17385 Don't ignore errors when dumping xemacs.
17387 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17389 2000-01-28 Andy Piper <andy@xemacs.org>
17391 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17392 (setup_normal_frame): ditto.
17393 (setup_frame_without_minibuffer): ditto.
17394 (setup_minibuffer_frame): ditto.
17395 (delete_frame_internal): ditto.
17396 (Fmake_frame_invisible): ditto.
17397 (Ficonify_frame): ditto.
17399 * window.h: change Fset_window_buffer signature.
17401 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17402 (Fset_window_buffer): allow recording of buffer if the window is
17403 the selected window.
17404 (window_loop): Use new Fset_window signature.
17406 2000-01-23 Daniel Pittman <daniel@danann.net>
17408 * config.h.in: Added template for `HAVE_ATHENA_3D'
17410 2000-01-29 Andy Piper <andy@xemacs.org>
17412 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17414 * gutter.c (output_gutter): Don't output if the window isn't live.
17416 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17418 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17419 of 01/12/00: Moved SetFocus back here where it belongs.
17421 2000-01-23 Andy Piper <andy@xemacs.org>
17423 * s/cygwin32.h: declare printer things.
17425 2000-01-26 Andy Piper <andy@xemacs.org>
17427 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17430 2000-01-24 Andy Piper <andy@xemacs.org>
17432 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17433 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17435 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17437 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17439 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17441 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17442 (mswindows_output_display_block): Avoid local shadows.
17444 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17445 (mswindows_enqueue_mouse_button_event): ditto.
17446 (mswindows_handle_gui_wm_command): remove declaration.
17448 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17451 * console-msw.h: Avoid shadows.
17452 (mswindows_get_toolbar_button_text):
17453 (emacs_mswindows_create_stream_pair):
17454 (emacs_mswindows_delete_stream_pair):
17455 (mswindows_handle_toolbar_wm_command): declare.
17457 * device-msw.c (build_syscolor_string): Avoid shadows.
17459 2000-01-23 Andy Piper <andy@xemacs.org>
17461 * glyphs-widget.c (widget_instantiate): reverse the items for
17462 layouts so that children are in the expected order.
17464 2000-01-28 Martin Buchholz <martin@xemacs.org>
17466 * ralloc.c: safe_bcopy ==> memmove
17467 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17468 * s/msdos.h: Remove BCOPY macros.
17469 * insdel.c (gap_right): Remove BCOPY conditional code.
17470 * insdel.c (gap_left): Remove BCOPY conditional code.
17471 XEmacs demands a working ANSI C compiler - hence memmove.
17473 * regex.c (regex_compile): Remove accidental use of trigraphs.
17475 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17477 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17480 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17482 * event-msw.c (mswindows_drain_windows_queue): Added the
17484 (mswindows_need_event): Commented the call to
17485 mswindows_drain_windows_queue().
17486 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17489 * console-msw.h: Moved a few function prototypes here from
17492 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17493 parameter from unsigned short to unsigned long.
17494 (Fmswindows_shell_execute): Added return value.
17496 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17498 * sysdep.c (init_system_name):
17499 process-unix.c (unix_canonicalized_host_name):
17500 Don't call freeaddrinfo() if getaddrinfo() fails.
17502 * process-unix.c (unix_open_unix_network_stream):
17503 Moved the code to get a port # into address loop.
17505 2000-01-27 Martin Buchholz <martin@xemacs.org>
17507 * buffer.c (reinit_vars_of_buffer):
17508 The right place to initialize conversion_in_dynarr and
17509 conversion_out_dynarr.
17511 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17513 * process-unix.c (unix_canonicalize_host_name): Muleize.
17514 (unix_open_network_stream): Muleize.
17516 * buffer.h: Fix up prototypes for ralloc.c functions.
17518 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17519 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17520 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17521 instead of gethostbyname()
17522 * process-unix.c: In unix_canonicalize_host_name() and
17523 unix_open_network_stream(), add code to use getaddrinfo()
17524 instead of gethostbyname().
17526 2000-01-27 Daniel Pittman <daniel@danann.net>
17528 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17529 libs when built with flat Athena.
17531 2000-01-27 Martin Buchholz <martin@xemacs.org>
17533 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17534 Use coding standards for function prototypes.
17536 2000-01-25 Martin Buchholz <martin@xemacs.org>
17538 * dialog-msw.c (push_lisp_string_as_unicode):
17539 * doc.c (unparesseuxify_doc_string):
17540 * dired.c (Fuser_name_completion_1):
17541 * dired.c (Fuser_name_all_completions):
17542 * dired.c (free_user_cache):
17543 * dired.c (user_name_completion):
17544 * console-x.c (get_display_arg_connection):
17545 * minibuf.c (clear_echo_area_internal):
17546 * minibuf.c (echo_area_append):
17547 * eldap.c (Fldap_open):
17548 * eldap.c (Fldap_search_internal):
17549 * frame-x.c (x_set_frame_text_value):
17550 * frame-x.c (x_set_frame_properties):
17551 * frame-x.c (x_create_widgets):
17552 * redisplay-tty.c (term_get_fkeys_1):
17553 * objects-x.c (x_parse_nearest_color):
17554 * objects-x.c (x_valid_color_name_p):
17555 * objects-x.c (x_initialize_font_instance):
17556 * objects-x.c (x_list_fonts):
17557 * objects-x.c (x_find_charset_font):
17558 * tooltalk.c (Fadd_tooltalk_message_arg):
17559 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17560 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17561 * process-unix.c (unix_create_process):
17562 * ntproc.c (sys_spawnve):
17563 * sound.c (Fplay_sound_file):
17564 * sound.c (Fplay_sound):
17565 * buffer.c (init_initial_directory):
17566 * buffer.c (init_buffer):
17567 * editfns.c (init_editfns):
17568 * editfns.c (Ftemp_directory):
17569 * editfns.c (Fuser_full_name):
17570 * editfns.c (uncache_home_directory):
17571 * editfns.c (get_home_directory):
17572 * editfns.c (Fuser_home_directory):
17573 * editfns.c (Fformat_time_string):
17574 * editfns.c (Fcurrent_time_string):
17575 * gui-x.c (button_item_to_widget_value):
17576 * database.c (Fopen_database):
17577 * event-Xt.c (x_to_emacs_keysym):
17578 * event-Xt.c (x_event_to_emacs_event):
17579 * event-Xt.c (describe_event_window):
17580 * event-msw.c (mswindows_wnd_proc):
17581 * glyphs-eimage.c (jpeg_instantiate):
17582 * glyphs-eimage.c (gif_instantiate):
17583 * glyphs-eimage.c (png_instantiate):
17584 * glyphs-eimage.c (tiff_instantiate):
17585 * glyphs-x.c (xbm_instantiate_1):
17586 * glyphs-x.c (x_xbm_instantiate):
17587 * glyphs-x.c (x_xface_instantiate):
17588 * glyphs-x.c (autodetect_instantiate):
17589 * glyphs-x.c (cursor_font_instantiate):
17590 * glyphs-x.c (x_widget_instantiate):
17591 * glyphs-x.c (x_widget_set_property):
17592 * glyphs-x.c (x_widget_property):
17593 * glyphs-x.c (BUILD_GLYPH_INST):
17594 * print.c (write_string_to_stdio_stream):
17595 * print.c (output_string):
17596 * print.c (Falternate_debugging_output):
17597 * print.c (Fexternal_debugging_output):
17598 * glyphs-msw.c (extract_xpm_color_names):
17599 * glyphs-msw.c (mswindows_xpm_instantiate):
17600 * glyphs-msw.c (bmp_instantiate):
17601 * glyphs-msw.c (resource_name_to_resource):
17602 * glyphs-msw.c (mswindows_resource_instantiate):
17603 * glyphs-msw.c (xbm_instantiate_1):
17604 * glyphs-msw.c (mswindows_xbm_instantiate):
17605 * glyphs-msw.c (mswindows_xface_instantiate):
17606 * glyphs-msw.c (mswindows_widget_instantiate):
17607 * glyphs-msw.c (add_tree_item):
17608 * glyphs-msw.c (add_tab_item):
17609 * glyphs-msw.c (mswindows_combo_box_instantiate):
17610 * glyphs-msw.c (mswindows_widget_property):
17611 * glyphs-msw.c (mswindows_combo_box_property):
17612 * glyphs-msw.c (mswindows_widget_set_property):
17613 * console.c (stuff_buffered_input):
17614 * objects-msw.c (mswindows_initialize_color_instance):
17615 * objects-msw.c (mswindows_valid_color_name_p):
17616 * objects-msw.c (mswindows_list_fonts):
17617 * objects-msw.c (mswindows_font_instance_truename):
17618 * bytecode.c (optimize_compiled_function):
17619 * select-x.c (symbol_to_x_atom):
17620 * select-x.c (x_atom_to_symbol):
17621 * select-x.c (hack_motif_clipboard_selection):
17622 * select-x.c (selection_data_to_lisp_data):
17623 * select-x.c (lisp_data_to_selection_data):
17624 * select-x.c (Fx_get_cutbuffer_internal):
17625 * select-x.c (Fx_store_cutbuffer_internal):
17626 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17627 * buffer.h (TO_INTERNAL_FORMAT): New function.
17628 * emacs.c (make_arg_list_1):
17629 * emacs.c (make_argc_argv):
17630 * emacs.c (main_1):
17631 * emacs.c (Fdump_emacs):
17632 * emacs.c (split_string_by_emchar_1):
17637 * device-x.c (x_init_device):
17638 * device-x.c (Fx_valid_keysym_name_p):
17639 * device-x.c (Fx_get_font_path):
17640 * device-x.c (Fx_set_font_path):
17641 * glyphs.c (bitmap_to_lisp_data):
17642 * glyphs.c (pixmap_to_lisp_data):
17643 * alloc.c (make_ext_string): Use coding system arguments. Update
17645 * alloc.c (build_string):
17646 * callproc.c (child_setup):
17647 * callproc.c (init_callproc):
17648 * fileio.c (lisp_strerror):
17649 * fileio.c (directory_file_name):
17650 * fileio.c (Fexpand_file_name):
17651 * fileio.c (Ffile_truename):
17652 * fileio.c (Fsysnetunam):
17653 * fileio.c (Fdo_auto_save):
17654 * sysdep.c (sys_readdir):
17655 * tests.c: New file. Allow adding C tests.
17656 Replace GET_* macros with a more comprehensible and flexible
17657 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17659 Any coding system can be used to do format conversion.
17660 Eliminate enum external_data_format.
17661 Eliminate convert_to_external_format.
17662 Eliminate convert_to_internal_format.
17663 Make sure file-name, keyboard, terminal, and ctext are always
17664 defined as coding systems or aliases. Make
17665 file-name-coding-system, terminal-coding-system, and
17666 keyboard-coding-system magical variables that are equivalent to
17667 defining the corresponding coding system aliases.
17669 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17670 * file-coding.c (Fcoding_system_alias_p): New function.
17671 * file-coding.c (Fcoding_system_aliasee): New function.
17672 * file-coding.c (append_suffix_to_symbol): New function.
17673 * file-coding.c (dangling_coding_system_alias_p): New function.
17674 * file-coding.c (Ffind_coding_system):
17675 * file-coding.c (Fcopy_coding_system):
17676 * file-coding.c (encode_coding_no_conversion):
17677 * file-coding.c (syms_of_file_coding):
17678 * file-coding.c (vars_of_file_coding):
17679 Rewrite coding system alias code.
17680 Allow nested aliases, like symbolic links.
17681 Allow redefinition of coding system aliases.
17682 Prevent existence of dangling coding system aliases.
17684 * dired.c (Fuser_name_completion_1):
17685 * dired.c (Fuser_name_all_completions):
17686 A crash would happen if user did QUIT in the middle of building
17687 user_name_cache. Remove redundant code in mainline and unwind_protect.
17690 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17692 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17693 an unsigned char *. Update all callers.
17695 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17697 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17699 2000-01-25 Martin Buchholz <martin@xemacs.org>
17701 * elhash.c (hentry_description): Use more portable definition.
17702 (resize_hash_table): Initialize new hentries using
17703 xnew_array_and_zero, thereby simplifying the code.
17705 * mule-charset.c (make_charset): Make sure entire object is
17706 initialized, to avoid Purify warnings.
17708 * alloc.c (resize_string): Fix unlikely crash with big strings.
17710 2000-01-24 Martin Buchholz <martin@xemacs.org>
17712 * realpath.c (xrealpath):
17713 Don't call getwd().
17715 2000-01-25 Martin Buchholz <martin@xemacs.org>
17717 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17719 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17721 * unexelfsgi.c (unexec): Change the way we decide which segment
17722 should be extended.
17724 Assumption that .bss section should be outside the PT_LOADable
17725 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17726 it's present) is inside the 'data' segment. This would fail the
17727 test which was used to find a segment to grow and cover new
17728 heap. Instead of this assumption, I created another one - on IRIX
17729 the segment to grow should start below .bss and it's address
17730 should extent above the end of .bss. Once this segment is
17731 identified, it's grown to accommodate the new heap and new
17732 zero-length .bss section is added at the end of .data2.
17734 2000-01-25 Martin Buchholz <martin@xemacs.org>
17736 * eval.c (Feval): Wrong number of arguments should use original
17737 function, not the indirect_function version of it.
17739 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17741 * glyphs-x.c (x_button_instantiate): Don't add image if
17742 it is not a pixmap.
17743 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17746 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17748 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17750 (DEFVAR_INT_MAGIC): Ditto.
17751 (DEFVAR_BOOL_MAGIC): Ditto.
17752 * glyphs.h: Reindent backslash.
17754 2000-01-24 Martin Buchholz <martin@xemacs.org>
17756 * glyphs-widget.c (layout_query_geometry):
17757 (layout_layout): Use correct types for gheight, gwidth.
17759 2000-01-24 Martin Buchholz <martin@xemacs.org>
17761 * EmacsManager.c (QueryGeometry): Purified.
17763 2000-01-23 Martin Buchholz <martin@xemacs.org>
17765 * alloc.c (make_float): Make sure entire object is initialized, to
17766 avoid Purify warnings.
17767 (pdump_register_sub): Remove useless assignment.
17768 (pdump): Use xmalloc, not malloc.
17769 (pdump_load): Use xmalloc, not malloc.
17771 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17778 * sysdep.c: Removed redundant #include <windows.h>
17780 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17782 * frame.c (delete_frame_internal): Do not delete device when its
17783 implementation so declares.
17784 (delete_frame_internal): Set device selected frame to nil when
17785 last frame goes away.
17787 * device-msw.c (msprinter_device_system_metrics): Implemented.
17788 (mswindows_device_system_metrics): Added 'device-dpi property.
17790 * device.c: (Fdevice_printer_p): Added.
17791 Added 'offset-workspace device metric.
17793 * console.h (device_metrics): Declared DM_offset_workspace.
17795 2000-01-23 Martin Buchholz <martin@xemacs.org>
17797 * fileio.c (Ffile_truename): Remove pointless and confusing
17798 initialization of elen.
17800 * glyphs-widget.c: Compiler warning fixes.
17802 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17804 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17805 instead of a Lisp_Object as argument to make it consistent with
17806 the other LIVE_P macros.
17807 (CHECK_LIVE_PROCESS): New macro.
17809 * process.c: Declare Qprocess_live_p.
17810 (Fprocess_live_p): New function.
17811 (create_process): Use PROCESS_LIVE_P.
17812 (read_process_output): Ditto.
17813 (set_process_filter): Ditto.
17814 (Fdelete_process): Ditto.
17815 (kill_buffer_processes): Ditto
17816 (process_send_signal): Use CHECK_LIVE_PROCESS.
17817 (Fprocess_input_coding_system): Check whether process is still
17818 alive (fix PR#1061).
17819 (Fprocess_output_coding_system): Ditto.
17820 (Fprocess_coding_system): Ditto.
17821 (Fset_process_input_coding_system): Ditto.
17822 (Fset_process_output_coding_system): Ditto.
17824 2000-01-23 Andy Piper <andy@xemacs.org>
17826 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17829 * glyphs.c (mark_image_instance): take into account changed
17830 image_instance format.
17831 (image_instance_equal): ditto.
17832 (image_instance_hash): ditto.
17834 * glyphs-widget.c (widget_instantiate): Incorporate layout
17835 instantiation here. Delay layout of the layout until later.
17836 (layout_instantiate): deleted.
17837 (layout_query_geometry): new function. get the geometry of a
17839 (layout_layout): layout a layout dynamically.
17840 (image_instantiator_widget): New function - splitting up
17841 image_instantiator_format_create_glyphs_widget for netwinder
17843 (image_instantiator_buttons):
17844 (image_instantiator_edit_fields):
17845 (image_instantiator_combo_box):
17846 (image_instantiator_scrollbar):
17847 (image_instantiator_progress_guage):
17848 (image_instantiator_tree_view):
17849 (image_instantiator_tab_control):
17850 (image_instantiator_labels):
17851 (image_instantiator_layout): ditto.
17852 (image_instantiator_format_create_glyphs_widget): Call preceding
17855 2000-01-22 Martin Buchholz <martin@xemacs.org>
17857 * process.c (Fset_process_coding_system):
17858 * device-x.c (Fx_keysym_hash_table):
17861 * lstream.c (Lstream_write): Return documented value, not 0.
17863 * fileio.c (directory_file_name):
17864 (Fsubstitute_in_file_name):
17865 (Fsubstitute_insert_file_contents_internal):
17866 (Fwrite_region_internal):
17871 Remove vestigial APOLLO-conditional code.
17873 2000-01-21 Martin Buchholz <martin@xemacs.org>
17875 * getpagesize.h: Add guard macros.
17876 * libsst.h: Add guard macros.
17877 * libst.h: Add guard macros.
17878 * line-number.h: Add guard macros.
17879 * ndir.h: Add guard macros.
17880 * sysfloat.h: Add guard macros.
17881 * sysfile.h: Add guard macros.
17882 * sysproc.h: Add guard macros.
17883 * syswait.h: Add guard macros.
17884 * xintrinsic.h: Add guard macros.
17885 * xintrinsicp.h: Add guard macros.
17886 * xmmanager.h: Add guard macros.
17887 * xmmanagerp.h: Add guard macros.
17888 * xmprimitive.h: Add guard macros.
17889 * xmu.h: Add guard macros.
17890 * gpmevent.h: Add copyright statement. Add guard macros.
17891 * miscplay.h: Add guard macros.
17892 * *.h: Use consistent C-standards-approved guard macro names.
17894 * opaque.c (make_opaque): Switch parameter order.
17895 * opaque.h (make_opaque): Switch parameter order.
17896 Update all callers.
17897 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17899 * config.h.in (type_checking_assert): Added.
17900 (bufpos_checking_assert): Added.
17902 2000-01-21 Martin Buchholz <martin@xemacs.org>
17904 * alloc.c: Harmless pdump changes.
17906 - spell alignment correctly.
17907 * sysdep.c: Use countof()
17909 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17911 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17912 initially_selected_for_input() console method, default to 0.
17913 (semi_canonicalize_console_connection): Try to delegate to
17914 canonicalize_console_connection if no such console method.
17915 (canonicalize_console_connection): Vice versa.
17916 (print_console): Do not print nil connection.
17918 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17919 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17920 (XDEVIMPF_FRAMELESS_OK): Added.
17921 (CONSOLE_INHERITS_METHOD): Added.
17923 * console-msw.c (mswindows_canonicalize_console_connection):
17925 (mswindows_canonicalize_device_connection): Added.
17927 * console-msw.h (struct msprinter_device): Added this struct and
17929 (mswindows_device): Made fontlist a lisp object.
17931 * device.c (semi_canonicalize_device_connection): Try to delegate
17932 to canonicalize_device_connection if no such console method.
17933 (canonicalize_device_connection): Vice versa.
17934 (print_device): Do not print nil connection.
17936 * device-msw.c (mswindows_init_device): Call InitCommonControls
17938 (mswindows_delete_device): Removed fontlist deallocation.
17939 (mswindows_mark_device): Added.
17941 * events.c (event_equal): Added abort() at unreached code.
17942 (event_hash): Ditto.
17944 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17945 fallback tags of Windows devices.
17947 * general.c (syms_of_general): Initialized Qmsprinter.
17949 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17950 of fallback tags of Windows devices.
17952 * lisp.h: Declared Qmsprinter.
17954 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17956 (mswindows_list_fonts): Ditto.
17957 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17958 that it can be used by both mswindows and msprinter devices.
17959 (initialize_font_instance): Added.
17960 (mswindows_initialize_font_instance): Use it.
17961 (msprinter_initialize_font_instance): Added.
17963 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17964 and implementation flags check.
17965 (redisplay_without_hooks): Changed the call to the above.
17966 (Fredraw_device): Ditto.
17967 (Fredisplay_device): Ditto.
17969 * redisplay-msw.c (get_frame_dc): Implemented.
17970 (get_frame_compdc): Implemented.
17971 (many functions): Use the two functions above to get device
17972 contexts, ether for a window or a printer.
17974 2000-01-21 Olivier Galibert <galibert@pobox.com>
17976 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17977 initialization here.
17978 (init_symbols_once_early): Call it.
17979 * emacs.c (main_1): Call it.
17980 * symsinit.h: Declare it.
17982 2000-01-19 Olivier Galibert <galibert@pobox.com>
17984 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17986 (pdump_backtrace): Ditto.
17987 (pdump_register_object): Ditto. Cleanup use of the pointers.
17988 (pdump_get_entry): Abort if trying to register a null pointer.
17989 (pdump_dump_data): Cleanup types when relocating.
17990 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17991 (pdump_dump_rtables): Remove bad casts.
17992 (pdump_load): Cleanup relocation w.r.t union type. Use a
17993 Lisp_Object instead of a EMACS_INT for the hashtable
17996 2000-01-20 Martin Buchholz <martin@xemacs.org>
17998 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18000 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18002 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18004 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18006 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18008 * faces.h (FACE_STRIKETHRU_P): Added.
18010 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18013 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18014 (mswindows_set_dc_font): New function, aware of font variants,
18015 separated from mswindows_update_dc.
18017 * objects-msw.h (struct mswindows_font_instance_data): Added
18020 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18021 cached fonts and the data structure.
18022 (mswindows_initialize_font_instance): Added creation of font data
18024 (mswindows_print_font_instance): Print at least something.
18025 (mswindows_create_font_variant): Implemented.
18026 (mswindows_get_hfont): Implemented.
18028 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18030 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18031 prototyping problem with msvc.
18033 * emacs.c (main_1): added syms_of_gui_mswindows() call
18035 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18036 syms_of_gui_mswindows() function
18038 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18040 2000-01-18 Martin Buchholz <martin@xemacs.org>
18042 * XEmacs 21.2.27 is released.
18044 2000-01-18 Martin Buchholz <martin@xemacs.org>
18046 * glyphs-eimage.c (struct tiff_error_struct):
18048 (tiff_warning_func):
18049 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18054 * unexec.c: Remove vestigial Lucid C code.
18058 * libsst.c: Ansify.
18059 Remove declarations of errno and strerror().
18061 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18063 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18065 2000-01-16 Martin Buchholz <martin@xemacs.org>
18067 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18070 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18075 Change enum eol_type to eol_type_t.
18077 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18079 * gui.c (get_gui_callback): Check cons before accessing car.
18081 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18083 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18084 (XSETSPECIFIER_TYPE): Ditto.
18086 2000-01-17 Didier Verna <didier@xemacs.org>
18088 * redisplay.c (generate_fstring_runes): compute string size in
18089 characters, not bytes.
18091 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18093 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18095 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18097 * print.c (print_error_message): Call print_prepare().
18099 2000-01-14 Martin Buchholz <martin@xemacs.org>
18101 * .dbxrc: Renamed from dbxrc.
18103 * events.c (event_to_character):
18104 Use `assert (foo)' instead of `if (!foo) abort()'
18106 * .gdbinit (xtype): Add documentation.
18107 * .gdbinit (check-temacs): New function.
18108 * .gdbinit (check-xemacs): New function.
18109 * dbxrc (check-xemacs): New function.
18110 * dbxrc (check-xemacs): New function.
18112 2000-01-14 Andy Piper <andy@xemacs.org>
18114 * glyphs-widget.c (widget_query_geometry): Make sure that we
18115 calculate default dimensions correctly.
18117 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18119 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18121 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18122 pdump_wire'd variable.
18124 * emacs.c: (main_1): Conditionalized calls to
18125 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18127 2000-01-13 Martin Buchholz <martin@xemacs.org>
18129 * window.c (Fset_window_configuration):
18130 * sysdep.c (_start):
18131 * input-method-motif.c (res):
18132 * event-Xt.c (Xt_process_to_emacs_event):
18133 Simple compiler warning fixes.
18135 * bytecode.c (funcall_compiled_function): Use the original
18136 function symbol on the backtrace list in preference to the
18137 compiled_function object in error messages.
18139 2000-01-13 Andy Piper <andy@xemacs.org>
18141 * glyphs-x.c (update_widget_face): Make sure we update the widget
18142 background as well as foreground.
18144 2000-01-13 Andy Piper <andy@xemacs.org>
18146 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18147 fields to subwindow.
18148 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18149 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18150 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18151 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18153 * glyphs-widget.c (check_valid_tab_orientation): new function.
18154 (initialize_widget_image_instance): zero orientation and
18156 (widget_instantiate): pick up orientation.
18157 (tab_control_query_geometry): return appropriate values for
18160 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18161 appropriate creation flags for left, right and bottom tabs.
18163 * s/cygwin32.h: add tab definitions.
18165 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18167 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18168 frame upon hiding a subwindow.
18169 (mswindows_button_instantiate): Changed the push button style to
18171 (mswindows_button_instantiate): Removed button BS_NOTIFY
18173 (mswindows_button_instantiate): Removed redundant check for
18174 a disabled gui item.
18175 (mswindows_button_instantiate): Made use of WS_TABSTOP
18176 consistent: "operable" controls (edit, button, tree, scroll) have
18177 this style, "display-only" ones (static, progress gauge) do
18178 not. This style is currently ignored by XEmacs though. Also,
18179 removed the WS_EX_CONTROLPARENT style - it is not for children,
18180 it is for their parents!
18181 (mswindows_edit_field_instantiate): Ditto.
18182 (mswindows_progress_gauge_instantiate): Ditto.
18183 (mswindows_tree_view_instantiate): Ditto.
18184 (mswindows_tab_control_instantiate): Ditto.
18185 (mswindows_scrollbar_instantiate): Ditto.
18186 (mswindows_combo_box_instantiate): Ditto.
18187 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18188 style to the "clip" window.
18189 (mswindows_button_instantiate): Removed compilation warning by
18190 equally typing terms of the ?: operator.
18192 2000-01-12 Didier Verna <didier@xemacs.org>
18194 * redisplay.c (generate_fstring_runes): new parameter holding the
18195 last modeline-format extent.
18196 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18197 extent, fill the glyph block with it.
18198 (generate_fstring_runes): handle these parameters.
18199 (generate_formatted_string_db): ditto.
18201 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18202 glyphs'extents in the modeline.
18204 1999-01-11 Mike Woolley <mike@bulsara.com>
18206 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18207 256Mb, as a workaround for the non-starting problem many people
18210 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18212 * console-tty.c (Fset_console_tty_output_coding_system):
18213 Force redrawing tty frame.
18215 2000-01-10 Didier Verna <didier@xemacs.org>
18217 * redisplay.c (generate_fstring_runes): fix size computation bug.
18219 2000-01-09 William M. Perry <wmperry@aventail.com>
18221 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18223 2000-01-09 Andy Piper <andy@xemacs.org>
18225 * glyphs-msw.c: index -> i to avoid shadows.
18226 (xbm_create_bitmap_from_data): make static.
18227 (check_valid_string_or_int): deleted.
18228 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18230 * glyphs-x.c (x_update_subwindow): remove unused args.
18232 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18233 back pointer - this is done in allocate_image_instance.
18234 (query_string_font): return Qnil to make the compiler happy.
18235 (unmap_subwindow): set to ~0 to make the compiler happy.
18236 (glyph_query_geometry): comment out until used.
18237 (glyph_layout): ditto.
18239 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18241 * insdel.c (signal_after_change): Remove extraneous unbind_to().