1 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
4 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
6 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * text-coding.c (char_encode_as_entity_reference): Don't use
9 `DECODE_CHAR' to detect isolated characters.
11 * mule-charset.c (charset_code_point): Change the third argument
12 `defined_only' to `accepted_mode'; `accepted_mode' can be
13 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
15 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
16 (CHAR_ALL): New macro.
17 (CHAR_DEFINED_ONLY): New macro.
19 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
21 * chartab.c (Fchar_feature_base_name_eq): New function when
23 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
24 (syms_of_chartab): Add new builtin function
25 `char-feature-base-name=' when UTF2000 is enabled.
27 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
29 * text-coding.c (Vdecomposition_feature_list): New variable when
31 (char_encode_utf8): Refer variable `decomposition-feature-list'
32 instead of `=decomposition' feature.
33 (vars_of_file_coding): Add new variable
34 `decomposition-feature-list' when UTF2000 is defined.
36 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
38 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
39 `=decomposition' feature.
41 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
43 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
44 coded-charsets with builtin characters.
46 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
48 * text-coding.c (Qrep_decomposition): New extern.
49 (char_encode_utf8): Try to encode as combing sequence (or IVS).
51 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
54 "#endif" for code to refer Vchise_system_db_directory.
56 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
59 (Fconcord_object_adjoin): New function.
60 (Fconcord_object_adjoinX): New function.
61 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
62 `Fconcord_object_adjoinX'.
64 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 - Include "elconcord.h".
68 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
69 and `Fconcord_object_get' to elconcord.h.
70 (Lisp_CONCORD_DS): Moved to elconcord.h.
71 (struct Lisp_CONCORD_DS): Ditto.
73 (XSET_CONCORD_DS): Ditto.
74 (CONCORD_DS_P): Ditto.
75 (CHECK_CONCORD_DS): Ditto.
76 (CONCHECK_CONCORD_DS): Ditto.
77 (Lisp_CONCORD_Object): Ditto.
78 (struct Lisp_CONCORD_Object): Ditto.
79 (XCONCORD_OBJECT): Ditto.
80 (XSET_CONCORD_OBJECT): Ditto.
81 (CONCORD_OBJECT_P): Ditto.
82 (CHECK_CONCORD_OBJECT): Ditto.
83 (CONCHECK_CONCORD_OBJECT): Ditto.
84 (CONCORD_OBJECT_GENRE): Ditto.
85 (CONCORD_OBJECT_ID): Ditto.
86 (XCONCORD_OBJECT_ID): Ditto.
87 (XCONCORD_OBJECT_GENRE): Ditto.
88 (concord_object_equal): New function.
89 (LRECORD_IMPLEMENTATION of "concord_object"): Use
90 `concord_object_equal'.
92 * elconcord.h: New file.
94 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
96 * concord.c (print_concord_object): Use readable form even if
97 `print-readably' is nil.
99 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * concord.c (print_concord_object): Don't display location of
102 data-source when `print-readably' is nil.
104 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
107 the default location of data-source.
108 (complex_vars_of_concord): Use Vchise_system_db_directory to
109 assign genre `character' and `feature'.
111 * chartab.h (Vchise_system_db_directory): New extern when
112 HAVE_CONCORD is defined.
114 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
117 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
119 (Fconcord_object_genre): New function.
121 - Add new builtin symbols `character' and `feature' when
122 HAVE_LIBCHISE is defined.
123 - Add Add new builtin function `concord-object-genre'.
124 (complex_vars_of_concord): New function; assign genres `character'
125 and `feature' when HAVE_LIBCHISE is defined.
127 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * emacs.c (main_1): Call `complex_vars_of_concord' when
130 HAVE_CONCORD is defined.
132 * symsinit.h (complex_vars_of_concord): New prototype.
134 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * chartab.c (allocate_character): Add `static'.
138 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * chartab.c (allocate_character): New function.
141 (Fdefine_char): Use allocate_character().
143 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
148 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * chartab.c (save_uint8_byte_table): Fixed problem when a property
152 (save_uint16_byte_table): Likewise.
154 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * chartab.c (Fchar_feature_property): New function when LIBCHISE
158 (Fput_char_feature_property): Likewise.
159 (syms_of_chartab): Add new builtin functions
160 `char-feature-property' and `put-char-feature-property' when
163 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
167 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
169 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
172 (make_charset): Add new argument `iso_ir'.
173 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
174 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
176 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
177 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
179 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
180 function `make_charset'.
182 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
183 (struct Lisp_Charset): Add new member `iso_ir'.
184 (CHARSET_ISO_IR): New macro.
186 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
189 code-point by GL charset.
191 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * concord.c (concord_id_validate): New function.
194 (structure_type_create_concord): Use `concord_id_validate' instead
195 of `concord_name_validate' to accept integer and character as =id.
197 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * concord.c (func_for_each_object): Fix bug about GC-protection.
201 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * concord.c (Fconcord_object_put): Check argument FEATURE is a
206 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * text-coding.c (struct decoding_stream): Add new member
209 `bom_flag' in XEmacs CHISE.
210 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
213 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * mule-charset.c: Move definition of `=jis-x0208@1978' to
216 lisp/mule/mule-conf.el.
218 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
221 (make_charset): Add new argument `partial'.
222 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
223 (Fmake_reverse_direction_charset): Modify for `make_charset'.
224 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
226 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
227 `=jis-x0208' as a partial coded-charset.
229 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * text-coding.c (decode_add_er_char): Fix problem when a character
232 represented by an entity-reference is not defined.
234 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
239 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
244 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
246 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
247 is a relation feature.
249 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * chartab.c (syms_of_chartab): Define
252 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
254 * chartab.h (Q_denotational): New extern when UTF2000 or
255 HAVE_CONCORD is defined.
256 (Q_denotational_from): Likewise.
257 (Q_subsumptive): Likewise.
258 (Q_subsumptive_from): Likewise.
260 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * concord.c (concord_object_put): New function.
263 (Fconcord_object_put): Use `concord_object_put'.
265 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * concord.c (Fconcord_define_object): New function.
268 (syms_of_concord): Add new builtin function
269 `concord-define-object'.
271 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
276 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * concord.c: Add EXFUN for Fconcord_object_get.
279 (Vconcord_genre_object_hash_table): New variable.
280 (concord_genre_cache_get_object): New function.
281 (concord_genre_cache_put_object): New function.
282 (Fconcord_make_object): Use object cache; put object-ID into `=id'
284 (Fconcord_object_put): Call `concord_index_sync' after
285 `concord_index_strid_put_obj'.
286 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
288 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * concord.c (Fconcord_decode_object): Do GCPRO for
291 Fconcord_make_object.
292 (func_for_each_object): Likewise; do GCPRO for
293 for_each_object_closure->function.
294 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
295 for_each_object_closure->function, for_each_object_closure->genre,
296 for_each_object_closure->ds and for_each_object_closure->ret.
297 (concord_object_validate): Do GCPRO for Fconcord_make_object.
299 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * concord.c: Add EXFUNs for Fconcord_decode_object and
303 (Fconcord_make_object): Change order of arguments.
304 (Fconcord_decode_object): Modify for Fconcord_make_object.
305 (func_for_each_object): Likewise.
306 (concord_object_validate): Likewise.
307 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
309 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
313 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * concord.c (Fconcord_decode_object): Try to use readable print
316 form as a key of Concord-index.
317 (Fconcord_object_get): Try to use readable print form as an ID of
319 (Fconcord_object_put): Try to use readable print form as an ID of
320 Concord-object and a feature value.
321 (Fconcord_object_spec): Try to use readable print form as an ID of
324 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * concord.c (print_concord_object): Support readable form.
328 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * emacs.c (main_1): Call `structure_type_create_concord' when
331 HAVE_CONCORD is defined.
333 * symsinit.h (structure_type_create_concord): New prototype.
335 * concord.c (Qconcord_object): New variable.
338 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
340 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
341 char*> for genre-name.
342 (Fconcord_feature_list): Likewise.
343 (Fconcord_make_object): Likewise.
344 (Fconcord_decode_object): Likewise; use <char*> instead of
345 <unsigned char*> for feature_name and strid.
346 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
347 c_obj and feature_name.
348 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
350 (struct closure_for_object_spec): Use <char*> instead of <unsigned
351 char*> for member `object_id'.
352 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
353 char*> for feature-name.
354 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
356 (func_for_each_object): Cast to avoid warnings.
357 (Fconcord_foreach_object_in_feature): Use <char*> instead of
358 <unsigned char*> for genre_name and feature_name.
359 (concord_name_validate): New function.
360 (concord_object_validate): Likewise.
361 (concord_object_instantiate): Likewise.
362 (syms_of_concord): Add new builtin symbols `concord-object',
364 (structure_type_create_concord): New function.
366 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * concord.c (Vconcord_ds_hash_table): New variable.
369 (Vconcord_genre_hash_table): New variable.
370 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
371 (Fconcord_ds_directory): New function.
372 (Fconcord_assign_genre): New function.
373 (Fconcord_genre_directory): New function.
374 (Fconcord_genre_ds): New function.
375 (Fconcord_feature_list): Allow to omit `ds'.
376 (Fconcord_make_object): Likewise.
377 (Fconcord_decode_object): Likewise.
378 (Fconcord_foreach_object_in_feature): Likewise.
379 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
380 Fconcord_assign_genre, Fconcord_genre_directory and
382 (vars_of_concord): Setup Vconcord_ds_hash_table and
383 Vconcord_genre_hash_table.
385 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * concord.c (struct closure_for_each_object): Add new member
389 (func_for_each_object): Setup the return value to
390 `for_each_object_closure->ret'.
391 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
392 returns the value instead of Qt.
394 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * concord.c: New file.
398 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
401 `lrecord_type_concord_object'.
403 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * symsinit.h (syms_of_concord): New prototype.
406 (vars_of_concord): New prototype.
408 * emacs.c (main_1): Setup symbols and variable about concord if
409 HAVE_CONCORD is defined.
411 * config.h.in (HAVE_CONCORD): New macro.
413 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * chartab.c (Fput_char_attribute): For each character relation
416 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
418 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * chartab.c (Fput_char_attribute): Use
421 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
422 calling `put_char_composition'.
424 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Q_halfwidth_of): New variable.
427 (put_char_composition): Return `<-halfwidth' instead of
428 `=decomposition' for compatibility mapping to single character
430 (Fput_char_attribute): Convert char-specs in value of
431 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
432 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
434 (syms_of_chartab): Add new symbol `<-halfwidth'.
436 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * chartab.c (put_char_composition): Return
439 `<-formed@{isolated|initial|medial|final}' for compatibility
440 mapping to single character tagged
441 `{isolated|initial|medial|final}'.
443 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
445 * chartab.c (Q_compat_of): Deleted.
446 (put_char_composition): Return `<-FOO' for compatibility mapping
447 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
448 of `symbol_name (XSYMBOL(...))'.
449 (Fput_char_attribute): Convert char-specs in value of
450 `{<-|->}font[^*]*' to characters and put reverse links.
451 (Fsave_char_attribute_table): Don't refer Q_compat_of.
452 (syms_of_chartab): Delete builtin symbol `<-compat'.
454 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
456 * chartab.c (Q_circled_of): New variable.
457 (put_char_composition): Return `<-circled' instead of
458 `=decomposition' for compatibility mapping to single character
460 (Fput_char_attribute): Convert char-specs in value of
461 `{<-|->}circled[^*]*' to characters and put reverse links.
462 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
464 (syms_of_chartab): Add new symbol `<-circled'.
466 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * chartab.c (Qto_decomposition_at_circled): New variable.
469 (put_char_composition): Return `=>decomposition@circled' instead
470 of `=decomposition' for compatibility decomposition mapping tagged
472 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
474 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * chartab.c (Q_subscript_of): New variable.
477 (put_char_composition): Return `<-subscript' instead of
478 `=decomposition' for compatibility mapping to single character
480 (Fput_char_attribute): Convert char-specs in value of
481 `{<-|->}subscript[^*]*' to characters and put reverse links.
482 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
484 (syms_of_chartab): Add new symbol `<-subscript'.
486 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * chartab.c (Q_superscript_of): New variable.
489 (put_char_composition): Return `<-superscript' instead of
490 `=decomposition' for compatibility mapping to single character
492 (Fput_char_attribute): Convert char-specs in value of
493 `{<-|->}superscript[^*]*' to characters and put reverse links.
494 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
496 (syms_of_chartab): Add new symbol `<-superscript'.
498 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
500 * chartab.c (Qto_decomposition_at_compat): Deleted.
501 (Qto_decomposition_at_superscript): New variable.
502 (put_char_composition): Use `=>decomposition@superscript' instead
503 of `=decomposition' for compatibility decomposition mapping tagged
505 (Fput_char_attribute): Fix condition about `put_char_composition'.
506 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
507 add news symbol `=>decomposition@superscript'.
509 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
512 for compatibility decomposition mapping tagged FOO.
513 (Fput_char_attribute): Modify for `put_char_composition'.
515 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * chartab.c (Qto_decomposition_at_compat): New variable.
518 (Q_compat_of): Renamed from `Q_compatibility_of'.
519 (put_char_composition): Rename `Q_compatibility_of' to
520 `Q_compat_of'; return `=>decomposition@compat' for compatibility
521 decomposition mapping.
522 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
524 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
525 `<-compatibility' to `<-compat'.
527 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * chartab.c (Q_compatibility_of): New variable.
530 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
531 object is proved to be a cons cell; return `<-compatibility' if
532 the first element of argument `value' is `compat'.
533 (Fput_char_attribute): Eliminate the first value if
534 `put_char_composition' returns `<-compatibility'.
535 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
536 for `<-compatibility'.
537 (syms_of_chartab): Add new symbol `<-compatibility'.
539 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * chartab.c (Q_canonical): New variable.
542 (put_char_composition): Return a feature name: return
543 `->canonical' if argument `value' specifies single character.
544 (Fput_char_attribute): Use `put_char_composition' to determine
545 feature name for `=decomposition' or `->denotational'.
546 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
548 (syms_of_chartab): Add new symbol `->canonical'.
550 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (Qmap_decomposition): New variable.
553 (Fput_char_attribute): Convert `->decomposition' to
555 (syms_of_chartab): Add new symbol `=decomposition'.
557 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * chartab.c (Fget_range_char_table): Fix serious problem when
562 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * chartab.c (char_table_get_db): Use `read_from_c_string'.
566 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * lread.c (read_from_c_string): New function.
570 * lisp.h (read_from_c_string): New prototype.
572 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
574 * chartab.c (Fput_char_attribute): Convert char-specs in value of
575 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
576 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
577 for `{<-|->}Oracle-Bones[^*]*'.
579 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
584 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
586 * text-coding.c (Qccs_priority_list): New variable in XEmacs
588 (Fmake_coding_system): Support new property `ccs-priority-list' in
590 (Fcoding_system_property): Likewise.
591 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
592 Vdefault_coded_charset_priority_list in XEmacs CHISE.
593 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
595 (complex_vars_of_file_coding): Define new coding-system-property
596 `ccs-priority-list' in XEmacs CHISE.
598 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
600 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
603 changed to normal function.
604 (encode_char_2): Likewise.
606 * mule-charset.c (decoding_table_put_char): Copied from
607 char-ucs.h; changed to normal function.
608 (encode_char_2): Likewise.
610 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
614 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
615 (encode_char_2_search_children): New inline function.
616 (encode_char_2): Refer
617 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
618 and use `encode_char_2_search_children'.
620 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
624 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
625 (vars_of_mule_charset): Add new variable
626 `display-coded-charset-priority-use-inheritance' and
627 `display-coded-charset-priority-use-hierarchy-order'.
629 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * char-ucs.h (Q_subsumptive): New extern.
632 (Q_denotational): Likewise.
633 (encode_char_2): Search children specified by `->subsumptive' and
636 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
638 * mule-charset.c (complex_vars_of_mule_charset): Modify the
639 X-registry of `ucs-bmp'.
641 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * chartab.c (char-variants): Refer `->subsumptive',
644 `->denotational' and `->identical' as same as `->ucs-unified'.
646 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
648 * chartab.c (Fput_char_attribute): Convert char-specs in value of
649 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
652 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * text-coding.c: Add EXFUN for `Fregexp_quote'.
655 (decode_add_er_char): Fix problem about infinite loop when a CCS
656 specified in `coded-charset-entity-reference-alist' is not
659 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
661 * mule-charset.c (syms_of_mule_charset): Rename
662 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
664 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * fns.c (simplify_char_spec): Don't allocate new character-object
667 if specified char_spec does not have any CCS-features.
669 * chartab.h: Add EXFUN for Fdefine_char.
671 * chartab.c: Delete EXFUN for Fdefine_char.
673 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * fns.c (simplify_char_spec): Use Fdefine_char instead of
676 Ffind_char for char-spec.
678 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * lisp-disunion.h (XCHARVAL): Fix condition about
683 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
687 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
688 point; use <Emchar> instead of <int> for character-id.
690 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
693 (make_char): Likewise.
694 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
696 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
697 instead of <int> as the type of return value; use <Lisp_Object>
698 instead of <Emchar> as the type of argument.
699 (XCHARVAL[macro version]): Cast the result into <Emchar>.
701 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
702 syntaxcode> instead of <int>.
704 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * chartab.c (put_char_composition): Use DECODE_CHAR to get
707 character corresponding with UCS code point.
708 (Fput_char_attribute): Likewise.
710 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
711 character in the UCS decoding-table if the char-id is not equal to
714 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
717 for aliases; write `description'; write
718 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
721 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * chartab.c (Fsave_char_attribute_table): Don't use
724 `save_charset_properties'.
726 * mule-charset.c (Fsave_charset_properties): Renamed from
727 `save_charset_properties' and changed to Lisp function again;
728 write property `type' as `CCS'; write properties `final-byte' and
729 `mother' if they exists.
730 (syms_of_mule_charset): Revive builtin function
731 `save-charset-properties' when HAVE_LIBCHISE is defined.
733 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
736 instead of Vexec_directory.
737 (char_attribute_system_db_file): Likewise.
739 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * chartab.c (Fsave_char_attribute_table): Use
742 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
745 * mule-charset.c (save_charset_properties): Renamed from
746 `Fsave_charset_properties'; changed to non-Lisp function.
747 (syms_of_mule_charset): Abolish builtin function
748 `save-charset-properties'.
750 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * mule-charset.c (Fsave_charset_properties): New function when
753 HAVE_LIBCHISE is defined.
754 (syms_of_mule_charset): Add new builtin function
755 `save-charset-properties' when HAVE_LIBCHISE is defined.
757 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
759 * chartab.c (Fput_char_attribute): Convert char-specs in value of
760 `{<-|->}ancient[^*]*' to characters and put reverse links.
761 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
762 for `{<-|->}ancient[^*]*'.
764 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
766 * chartab.c (Fput_char_attribute): Convert char-specs in value of
767 `{<-|->}original[^*]*' to characters and put reverse links.
768 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
769 for `{<-|->}original[^*]*'.
771 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
775 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * mule-charset.c (Qsystem_char_id): New variable.
779 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
780 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
782 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
784 * chartab.c (Fput_char_attribute): When processing a reference of
785 a character, put into the end of the reversed reference of each
788 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
790 * chartab.c (Q_same): Deleted.
791 (Q_same_of): Deleted.
792 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
793 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
795 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
797 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * chartab.c (Q_vulgar): Deleted.
800 (Q_vulgar_of): Deleted.
801 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
802 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
804 (syms_of_chartab): Don't define `{<-|->}vulgar'.
806 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
808 * chartab.c (Fput_char_attribute): Convert char-specs in value of
809 `{<-|->}wrong[^*]*' to characters and put reverse links.
810 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
811 for `{<-|->}wrong[^*]*'.
813 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
815 * chartab.c (Q_vulgar): New variable.
816 (Q_vulgar_of): New variable.
817 (Fput_char_attribute): Convert char-specs in value of
818 `{->|<-}vulgar' to characters and put reverse links.
819 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
821 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
823 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * text-coding.c (decode_add_er_char): Must to quote prefix string
828 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * mule-charset.c (put_char_ccs_code_point): Store characters of
831 =ucs whose code_points >= 0xF0000.
833 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
835 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
837 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
839 (complex_vars_of_mule_charset): Add new coded-charset
840 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
841 builtin characters over 0xEFFFF.
843 * chartab.c (syms_of_chartab): Don't define symbol
844 `system-char-id' in every case.
846 * char-ucs.h (Qsystem_char_id): New extern variable.
847 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
849 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
851 * text-coding.c (char_encode_utf8): Try to use entity-references
852 for U-000F0000 ... U-0010FFFF.
854 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
856 * text-coding.c (ER_BUF_SIZE): New macro.
857 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
859 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
860 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
862 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
864 * chartab.c (find_char_feature_in_family): New function.
865 (Fchar_feature): Use `find_char_feature_in_family' with
866 `->identical', `<-subsumptive' and `<-denotational'.
868 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * text-coding.c (char_encode_as_entity_reference): Allow prefix
871 within 8 characters; fix infinite loop.
873 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
875 * chartab.c (Q_same): New variable.
876 (Q_same_of): New variable.
877 (Fput_char_attribute): Convert char-specs in value of
878 `{->|<-}same' to characters and put reverse links.
879 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
881 (syms_of_chartab): Add new symbols `{->|<-}same'.
883 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
885 * chartab.c (Q_component): New variable.
886 (Q_component_of): Likewise.
887 (Fput_char_attribute): Convert char-specs in value of
888 `{->|<-}ideographic-component-forms' to characters and put reverse
890 (syms_of_chartab): Add new symbols
891 `{->|<-}ideographic-component-forms'.
893 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
895 * chartab.c (Q_identical): New variable.
896 (Q_identical_from): New variable.
897 (Fchar_feature): Regard `->identical' as a feature to find
899 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
900 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
901 for `{->|<-}identical'.
902 (syms_of_chartab): Add new symbols `{->|<-}identical'.
904 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
906 * char-ucs.h (encode_char_2): New inline function.
907 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
909 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
911 * chartab.c (Fput_char_attribute): Convert char-specs to
912 characters in value of `ideographic-structure'.
913 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
914 for `{<-|->}simplified(@...)'.
915 (Fdefine_char): Try to use predefined character's id.
917 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * fns.c (simplify_char_spec): Try to convert builtin chars to
922 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * chartab.c (Fput_char_attribute): Convert char-specs in value of
925 `<-simplified[^*]*' to characters and put reverse links.
927 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * chartab.c (Q_subsumptive): Renamed from Q_unified.
930 (Q_subsumptive_from): Renamed from Q_unified_from.
931 (Fchar_feature): Use `Q_subsumptive_from' instead of
933 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
935 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
936 `<-unified' to `<-subsumptive'.
938 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
940 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
941 inheritance itself; fix typo; stop recursive search if cyclic
942 inheritance is found.
944 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
946 * chartab.c (Q_denotational): New variable.
947 (Q_denotational_from): New variable.
948 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
949 (put_char_attribute): New function.
950 (Fput_char_attribute): Use `put_char_attribute'; regard
951 `->denotational' and `<-denotational' as same as `->unified' and
953 (syms_of_chartab): Add new symbols `->denotational' and
956 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
958 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
959 `Fget_char_attribute'.
960 (Fchar_variants): Likewise.
961 (get_char_table): Likewise.
962 (Fchar_feature): New function.
963 (put_char_composition): Use `Fchar_feature' instead of
964 `Fget_char_attribute'.
965 (Fput_char_attribute): Likewise; don't put the target character
966 into its `->unified' value.
967 (syms_of_chartab): Add new builtin function `char-feature'.
969 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
971 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
972 `Fget_char_attribute'.
973 (char_encode_utf8): Likewise.
975 * chartab.h: Add an EXFUN for `Fchar_feature'.
977 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
979 * chartab.c (Vnext_defined_char_id): New variable.
980 (Fput_char_attribute): Accept characters in `->unified'.
981 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
982 new characters which are not related with builtin char-id ranges.
983 (vars_of_chartab): Add new variable `next-defined-char-id'.
985 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
987 * chartab.c (Q_unified): New variable.
988 (Q_unified_from): New variable.
989 (Fput_char_attribute): Add code for `->unified'.
990 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
993 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * mule-charset.c (decode_ccs_conversion): New function.
996 (decode_defined_char): Use `decode_ccs_conversion'.
997 (decode_builtin_char): Likewise.
999 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1001 * char-ucs.h: Change some charset-ids of private coded-charsets.
1003 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1005 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1006 (char_encode_as_entity_reference): Likewise.
1007 (decode_coding_big5): Modify for `decode_defined_char' and
1009 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1010 avoid compiler warning.
1011 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1013 * mule-charset.c (decode_defined_char): Add new argument
1014 `without_inheritance'.
1015 (Fdecode_char): Add new optional argument `without_inheritance'.
1016 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1018 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1019 (simplify_char_spec): Likewise.
1021 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1024 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1025 (map_char_table): Likewise.
1026 (Fdefine_char): Use `Fdecode_char' without inheritance.
1027 (Ffind_char): Modify for `Fdecode_char'.
1029 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1031 * char-ucs.h (decode_defined_char): Add new argument
1032 `without_inheritance'.
1033 (DECODE_CHAR): Likewise.
1034 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1036 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1038 * chartab.c (Vchise_system_db_directory): New variable.
1039 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1041 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1043 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1044 (print_chartab_range): Don't define when `UTF2000' is defined.
1045 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1048 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1050 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1051 and optional argument `rehash' is specified, call
1052 `open_chise_data_source_maybe' before
1053 `chise_ds_foreach_char_feature_name' is called.
1055 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1057 * chartab.c (char_attribute_list_reset_map_func): New function
1058 when HAVE_LIBCHISE is defined.
1059 (Fchar_attribute_list): Add new optional argument `rehash' when
1060 HAVE_LIBCHISE is defined.
1061 (open_chise_data_source_maybe): Use "chise-db" instead of
1063 (char_attribute_system_db_file): Likewise.
1064 (Fload_char_attribute_table): Use
1065 `chise_feature_foreach_char_with_value' instead of
1066 `chise_char_feature_value_iterate'.
1068 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * chartab.c (Vchise_db_directory): New variable.
1071 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1073 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1075 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1076 instead of HAVE_CHISE to specify using with libchise.
1078 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1080 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1082 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1083 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1084 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1086 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1087 HAVE_CHISE to specify using with libchise.
1088 (syms_of_chartab): Don't define symbol `system-char-id' when
1089 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1091 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1094 specify CHISE DB support.
1095 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1096 of `char_attribute_system_db_file' to check feature DB file.
1098 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1099 HAVE_CHISE_CLIENT to specify CHISE DB support.
1101 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1102 specify CHISE DB support.
1103 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1105 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1106 instead of `char_attribute_system_db_file' to check feature DB
1109 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1112 `HAVE_CHISE_CLIENT'.
1114 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1117 (Fsave_charset_mapping_table): Don't use
1118 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1120 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1121 (HAVE_LIBCHISE): New macro.
1123 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1125 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1126 (Fsave_char_attribute_table): Don't use
1127 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1129 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1131 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1133 (save_uint16_byte_table): Likewise.
1134 (save_byte_table): Likewise.
1135 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1136 instead of `chise_char_load_feature_value'.
1137 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1139 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1141 * chartab.h (struct Lisp_Char_Table): Delete member
1142 `feature_table' if CHISE is defined.
1144 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1145 (Fcopy_char_table): Likewise.
1146 (char_table_open_db_maybe): Likewise.
1147 (char_table_close_db_maybe): Likewise.
1148 (char_table_get_db): Likewise.
1149 (Fmount_char_attribute_table): Likewise.
1150 (Fload_char_attribute_table): Likewise.
1152 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (load_char_decoding_entry_maybe): Use
1155 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1158 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1160 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1161 instead of `chise_open_data_source'.
1162 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1165 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1167 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1168 instead of `chise_ds_open_feature_table'.
1169 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1171 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1173 * mule-charset.c (Fsave_charset_mapping_table): Use
1174 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1175 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1176 `chise_ccs_sync' instead of `chise_ccst_close'.
1177 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1179 * chartab.c (open_chise_data_source_maybe): Modify for
1180 `chise_open_data_source'.
1181 (char_table_open_db_maybe): Modify for
1182 `chise_ds_open_feature_table'.
1184 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1186 * mule-charset.c (load_char_decoding_entry_maybe): Use
1187 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1190 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1192 * mule-charset.c (Fsave_charset_mapping_table): Use
1193 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1194 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1195 `chise_dt_put_char' and `chise_dt_close'.
1196 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1197 `chise_ccs_decode' and `chise_ccst_close' instead of
1198 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1201 * chartab.c (char_table_get_db): Use
1202 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1203 (load_char_attribute_table_map_func): Modify for
1204 `chise_char_feature_value_iterate'.
1205 (Fload_char_attribute_table): Use
1206 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1208 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1210 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1212 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1214 * chartab.c (put_char_table): Modify for inherited coded-charsets
1217 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * chartab.c (Fput_char_table_map_function): Fixed.
1220 (word_boundary_p): Don't check charset in XEmacs CHISE.
1222 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1224 * mule-charset.c (Fsave_charset_mapping_table): Use
1225 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1226 instead of `chise_open_decoding_table'; refer
1227 `default_chise_data_source'; use `chise_dt_close' instead of
1228 `chise_close_decoding_table'.
1229 (load_char_decoding_entry_maybe): Likewise.
1231 * chartab.c (default_chise_data_source): New variable when `CHISE'
1233 (Fcopy_char_table): `ct->ds' is deleted.
1234 (open_chise_data_source_maybe): New function.
1235 (Fclose_char_data_source): New function.
1236 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1237 use `chise_ds_open_feature_table' instead of
1238 `chise_open_feature_table'.
1239 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1240 `chise_close_feature_table'; `cit->ds' is deleted.
1241 (syms_of_chartab): Add new builtin function
1242 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1244 * chartab.h (default_chise_data_source): New extern variable.
1245 (open_chise_data_source_maybe): New prototype.
1246 (struct Lisp_Char_Table): Delete `ds'.
1248 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1250 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1253 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1255 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1256 not defined; add code for non-libchise setting.
1257 (char_table_close_db_maybe): Likewise.
1258 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1260 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1261 even if `CHISE' is not defined.
1262 (Freset_char_attribute_table): Likewise.
1263 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1264 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1265 `char_table_get_db'.
1266 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1267 `char_table_close_db_maybe' even if `CHISE' is not defined.
1269 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1271 * chartab.c (char_table_open_db_maybe): New function.
1272 (char_table_close_db_maybe): New function.
1273 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1274 (Freset_char_attribute_table): Likewise.
1275 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1276 `char_table_close_db_maybe'.
1277 (Fload_char_attribute_table): Likewise.
1279 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1281 * chartab.c: Don't include <chise.h> because it is included in
1283 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1285 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1287 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1289 (Fclose_char_attribute_table): Close `ct->feature_table' and
1290 `ct->ds' when `CHISE' is defined.
1291 (Freset_char_attribute_table): Likewise.
1292 (load_char_attribute_maybe): Use `cit->ds' and
1293 `cit->feature_table' when `CHISE' is defined.
1294 (Fload_char_attribute_table): Likewise.
1296 * chartab.h: Include <chise.h> when `CHISE' is defined.
1297 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1298 when `CHISE' is defined.
1300 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1302 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1304 (char_table_description): Likewise.
1305 (Fmake_char_table): Likewise.
1306 (Fcopy_char_table): Likewise.
1307 (Fmount_char_attribute_table): Likewise.
1308 (Fclose_char_attribute_table): Likewise.
1309 (Freset_char_attribute_table): Likewise.
1310 (load_char_attribute_maybe): Likewise.
1311 (Fload_char_attribute_table): Likewise.
1313 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1316 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * chartab.c (load_char_attribute_table_map_func): New function
1319 when CHISE is defined.
1320 (Qload_char_attribute_table_map_function): Don't define when CHISE
1322 (Fload_char_attribute_table_map_function): Likewise.
1323 (Fload_char_attribute_table): Use libchise when `CHISE' is
1325 (syms_of_chartab): Don't define
1326 `load-char-attribute-table-map-function' when CHISE is defined.
1328 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * chartab.c: Include <chise.h> when `CHISE' is defined.
1331 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1333 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1335 * mule-charset.c (charset_code_point): Fix problem when searching
1336 in mother CCS fails with `defined_only' mode.
1338 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1340 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1341 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1342 (put_char_composition): Likewise.
1343 (Fput_char_attribute): Likewise.
1344 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1346 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1348 * chartab.c (Q_ucs): Deleted.
1349 (Fput_char_attribute): Don't refer `->ucs'.
1350 (Fdefine_char): Likewise.
1351 (Ffind_char): Likewise.
1352 (syms_of_chartab): Delete `->ucs'.
1354 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1356 * mule-charset.c (Qmap_cns11643_2): Renamed from
1357 `Qchinese_cns11643_2'.
1358 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1359 `chinese-cns11643-2'.
1360 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1363 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1365 * mule-charset.c (Qmap_cns11643_1): Renamed from
1366 `Qchinese_cns11643_1'.
1367 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1368 `chinese-cns11643-1'.
1369 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1372 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1374 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1375 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1377 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1380 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1382 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1383 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1385 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1388 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1390 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1391 (syms_of_mule_charset): Add new symbol `=big5' instead of
1393 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1395 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1397 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1398 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1400 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1403 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1405 * mule-charset.c (Qmap_jis_x0212): Renamed from
1406 `Qjapanese_jisx0212'.
1407 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1408 `japanese-jisx0212'.
1409 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1412 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1414 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1415 `Qjapanese_jisx0208'.
1416 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1417 of `japanese-jisx0208'.
1418 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1421 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1423 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1424 `Qjapanese_jisx0208_1978'.
1425 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1426 of `japanese-jisx0208-1978'.
1427 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1430 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1432 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1433 only for XEmacs CHISE.
1435 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1437 * char-ucs.h: Compact non-ISO-IR charset-ids.
1438 (LEADING_BYTE_UCS): Changed to -177.
1439 (LEADING_BYTE_CONTROL_1): Changed to -77.
1440 (LEADING_BYTE_UCS_BMP): Changed to -176.
1441 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1443 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1445 * mule-charset.c (Qiso_ir): New variable.
1446 (Fmake_charset): Recognise new property `iso-ir'.
1447 (syms_of_mule_charset): Add new symbol `iso-ir'.
1449 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1451 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1452 n to -n; charset-id of non ISO-IR sets are changed to positive
1455 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1457 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1458 for &MCS-XXXXXXXX; values.
1460 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * mule.c (Vxemacs_chise_version): Renamed from
1463 `Vutf_2000_version'.
1464 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1465 `utf-2000-version' as an alias for `xemacs-chise-version'.
1467 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1469 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1470 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1473 * config.h.in (CHISE): New macro.
1475 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1477 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1479 (Qmap_ucs): New variable.
1480 (syms_of_mule_charset): Add new symbol `=ucs'.
1481 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1483 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1484 (simplify_char_spec): Likewise.
1486 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1488 * char-ucs.h (Qmap_ucs): New extern variable.
1490 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1493 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1494 don't define it when UTF2000 is not defined.
1495 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1496 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1497 when UTF2000 is not defined.
1498 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1499 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1501 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1503 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1505 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1507 (syms_of_mule_charset): Delete `ucs-gb'.
1508 (complex_vars_of_mule_charset): Likewise.
1510 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1512 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1514 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1515 (Qucs_cns): Deleted.
1516 (syms_of_mule_charset): Delete `ucs-cns'.
1517 (complex_vars_of_mule_charset): Likewise.
1519 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1521 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1523 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1524 (Qucs_jis): Deleted.
1525 (syms_of_mule_charset): Delete `ucs-jis'.
1526 (complex_vars_of_mule_charset): Likewise.
1528 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1530 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1532 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1534 (syms_of_mule_charset): Delete `ucs-ks'.
1535 (complex_vars_of_mule_charset): Likewise.
1537 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1539 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1540 (Qideograph_daikanwa_2): Deleted.
1541 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1542 (complex_vars_of_mule_charset): Likewise.
1544 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1545 (LEADING_BYTE_DAIKANWA_1): Deleted.
1546 (LEADING_BYTE_DAIKANWA_2): Deleted.
1547 (MIN_CHAR_DAIKANWA): Deleted.
1548 (MAX_CHAR_DAIKANWA): Deleted.
1550 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1552 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1553 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1554 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1556 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1557 (Vcharset_ideograph_daikanwa): Deleted.
1558 (Qideograph_hanziku_{1..12}): Deleted.
1559 (Qideograph_daikanwa): Deleted.
1560 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1561 Vcharset_ideograph_daikanwa.
1562 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1563 `ideograph-hanziku-{1..12}'.
1564 (complex_vars_of_mule_charset): Likewise.
1566 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1568 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1570 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1571 (Qideograph_gt_pj_{1..11}): Deleted.
1572 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1573 (complex_vars_of_mule_charset): Likewise.
1575 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1577 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1578 (Vcharset_ideograph_gt): Deleted.
1579 (Qucs_big5): Deleted.
1580 (Qideograph_gt): Deleted.
1581 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1583 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1586 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1587 (LEADING_BYTE_GT): Deleted.
1588 (MIN_CHAR_GT): Deleted.
1589 (MAX_CHAR_GT): Deleted.
1591 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1593 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1595 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1598 (save_uint16_byte_table): Likewise.
1599 (save_byte_table): Likewise; convert values by it.
1600 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1601 for `ideographic-structure'.
1602 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1603 as the filter for `ideographic-structure'.
1605 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1607 * chartab.c (put_char_composition): New function.
1608 (Fput_char_attribute): Use `put_char_composition'; use
1609 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1611 * fns.c (simplify_char_spec): New function.
1612 (char_ref_simplify_spec): New function.
1613 (Fchar_refs_simplify_char_specs): New function.
1614 (syms_of_fns): Add new builtin function
1615 `char-refs-simplify-char-specs'.
1617 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1619 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1620 (Qideograph_cbeta): Deleted.
1621 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1622 (complex_vars_of_mule_charset): Likewise.
1624 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1625 (MIN_CHAR_CBETA): Comment out.
1626 (MAX_CHAR_CBETA): Likewise.
1628 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1630 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1631 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1632 CHISE client feature.
1634 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1636 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1638 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1640 * mule-charset.c (charset_lookup_description_1): Use
1641 `NUM_LEADING_BYTES' in UTF-2000.
1643 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1645 * char-ucs.h (GC_CHARSETP): Deleted.
1647 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1649 * char-ucs.h (MAX_CHAR_GT): Updated.
1651 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1653 * text-coding.c: Sync with XEmacs 21.4.10.
1655 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1657 * mule-charset.c (Vcharset_china3_jef): Deleted.
1658 (Qchina3_jef): Deleted.
1659 (syms_of_mule_charset): Don't define `china3-jef'.
1660 (complex_vars_of_mule_charset): Likewise.
1662 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1663 (MIN_CHAR_CHINA3_JEF): Comment out.
1664 (MAX_CHAR_CHINA3_JEF): Comment out.
1666 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * mule-charset.c (Vcharset_ucs_gb): New variable.
1669 (Qucs_gb): New variable.
1670 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1671 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1673 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1675 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1677 * mule-charset.c (charset_code_point): if a coded-charset has a
1678 final-byte, don't inherit the builtin range of the mother CCS.
1680 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1682 * mule-charset.c (charset_code_point): Fix problem about
1685 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1687 * mule-charset.c (decode_builtin_char): Reorganized.
1689 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * text-coding.c (char_encode_as_entity_reference): Modify for
1692 `charset_code_point'.
1693 (char_encode_shift_jis): Likewise.
1694 (char_encode_big5): Likewise.
1695 (char_encode_utf8): Likewise.
1696 (char_encode_iso2022): Likewise.
1698 * mule-charset.c (charset_code_point): Add new argument
1700 (Fencode_char): Add new optional argument `defined_only'.
1702 * chartab.c (put_char_table): Modify for `charset_code_point'.
1704 * char-ucs.h (charset_code_point): Add new argument
1706 (encode_char_1): Modify for `charset_code_point'.
1708 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1711 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1713 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1715 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1716 (Qjis_x0208): Likewise.
1717 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1718 XCHARSET_FINAL(charset).
1719 (charset_code_point): Modify condition for final-byte based
1721 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1722 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1723 in UTF-2000; specify `=jis-x0208' as the mother of
1724 `japanese-jisx0208-1978', `japanese-jisx0208' and
1725 `japanese-jisx0208-1990' in UTF-2000.
1727 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1729 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1731 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1733 * text-coding.c (decode_coding_utf16): Support UTF-16.
1734 (char_encode_utf16): Fixed.
1736 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1738 * text-coding.c (Qutf16): New variable in MULE.
1739 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1740 (Fcoding_system_type): Add `utf-16' in MULE.
1741 (struct detection_state): Add a structure for utf16 in MULE.
1742 (detect_coding_type): Setup st->utf16.mask in MULE.
1743 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1745 (reset_encoding_stream): Use `char_encode_utf16' and
1746 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1747 (detect_coding_utf16): New function [incomplete].
1748 (decode_coding_utf16): New function [support only UCS-2].
1749 (char_encode_utf16): New function.
1750 (char_finish_utf16): New function.
1751 (syms_of_file_coding): Add new symbol `utf-16'; setup
1752 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1754 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1756 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1757 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1759 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1761 * chartab.c (put_char_table): When a charset is specified as a
1762 range in UTF-2000, don't support builtin characters.
1764 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1766 * mule-charset.c (decode_defined_char): Don't refer external
1767 database if Qunbound or Qnil are found.
1768 (Fsave_charset_mapping_table): Don't define it if
1769 HAVE_CHISE_CLIENT is not defined.
1770 (Freset_charset_mapping_table): New function.
1771 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1772 found in external database.
1773 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1774 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1775 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1777 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1779 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1782 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1784 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1785 Q_lowercase, Q_uppercase in UTF-2000.
1787 * chartab.c (get_char_table): Add special code for the standard
1788 case table to use character attribute `->downcase' and
1789 `->uppercase' for case operations in UTF-2000.
1791 * casetab.c (Qflippedcase): New variable in UTF-2000.
1792 (Q_lowercase): Likewise.
1793 (Q_uppercase): Likewise.
1794 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1795 and `->uppercase' in UTF-2000.
1796 (complex_vars_of_casetab): Assign attribute name `downcase' to
1797 downcase and CANON table of Vstandard_case_table in UTF-2000;
1798 assign attribute name `flippedcase' to upcase and EQV table of
1799 Vstandard_case_table in UTF-2000.
1801 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * text-coding.c (decode_add_er_char): Support isolated-chars.
1804 (char_encode_as_entity_reference): Likewise.
1806 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1808 * emacs.c (Vutf_2000_lisp_directory): New variable.
1809 (Vconfigure_utf_2000_lisp_directory): Likewise.
1810 (complex_vars_of_emacs): Add new variable
1811 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1813 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1815 * char-ucs.h (DECODE_CHAR): Delete special code for
1816 `chinese-big5-1' and `chinese-big5-2'.
1818 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1819 (Qbig5_2): Likewise.
1820 (decode_defined_char): Support CONVERSION_BIG5_1 and
1822 (decode_builtin_char): Likewise.
1823 (charset_code_point): Likewise.
1824 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1825 'conversion in UTF-2000.
1826 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1827 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1828 `chinese-big5-2' as children of `chinese-big5'.
1830 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1831 (CONVERSION_BIG5_2): New macro.
1833 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1835 * text-coding.c (char_encode_big5): Support entity-reference.
1837 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1839 * text-coding.c (char_encode_as_entity_reference): New function.
1840 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1842 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1844 * text-coding.c (decode_coding_big5): Support entity-reference
1847 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1849 * text-coding.c (allocate_coding_system): Initialize initial
1850 charsets for CODESYS_UTF8.
1851 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1852 charset-g2 for CODESYS_UTF8.
1853 (decode_coding_utf8): Use charset-g0.
1854 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1855 to force variants to map to UCS.
1857 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1859 * text-coding.c (Qutf_8_mcs): New variable.
1860 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1861 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1862 instead of `utf-8' in UTF-2000.
1864 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1866 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1867 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1868 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1869 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1870 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1871 CONVERSION_96x96x96x96 are introduced.
1872 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1873 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1874 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1876 * char-ucs.h (CONVERSION_94): New macro.
1877 (CONVERSION_96): New macro.
1878 (CONVERSION_94x94): New macro.
1879 (CONVERSION_96x96): New macro.
1880 (CONVERSION_94x94x94): New macro.
1881 (CONVERSION_96x96x96): New macro.
1882 (CONVERSION_94x94x94x60): New macro.
1883 (CONVERSION_94x94x94x94): New macro.
1884 (CONVERSION_96x96x96x96): New macro.
1886 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1888 * chartab.c (Vcharacter_variant_table): Deleted.
1889 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1890 of `Vcharacter_variant_table'.
1891 (Fput_char_attribute): Likewise.
1892 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1893 (complex_vars_of_chartab): Likewise.
1895 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1897 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1899 * fns.c (Qideographic_structure): New variable.
1900 (Qkeyword_char): New variable.
1901 (ids_format_unit): New function.
1902 (Fideographic_structure_to_ids): New function.
1903 (syms_of_fns): Add new symbols `ideographic-structure' and
1904 `:char'; add new builtin function `ideographic-structure-to-ids'.
1906 * data.c (Fchar_ref_p): New function.
1907 (syms_of_data): Add new builtin function `char-ref-p'.
1909 * chartab.h: Add an EXFUN for `Ffind_char'.
1911 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1913 * text-coding.c (Vcharacter_composition_table): Deleted.
1914 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1917 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1919 (Vcharacter_composition_table): Deleted.
1920 (Fget_composite_char): Use the implementation for external-DB
1921 support in every UTF-2000.
1922 (Fput_char_attribute): Likewise.
1923 (char_attribute_system_db_file): Don't define if external-DB
1924 feature is not available.
1925 (Fsave_char_attribute_table): Likewise.
1926 (Fmount_char_attribute_table): Likewise.
1927 (Fclose_char_attribute_table): Likewise.
1928 (Freset_char_attribute_table): Likewise.
1929 (Fload_char_attribute_table): Likewise.
1930 (syms_of_chartab): Don't define `save-char-attribute-table',
1931 `mount-char-attribute-table', `reset-char-attribute-table',
1932 `close-char-attribute-table' and `load-char-attribute-table' if
1933 external-DB feature is not available.
1934 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1936 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1938 * text-coding.c (Qcomposition): Add extern if external-DB feature
1940 (Vcharacter_composition_table): Don't add extern if external-DB
1941 feature is supported.
1942 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1943 character composition rule if external-DB feature is supported.
1945 * chartab.c (Vcharacter_composition_table): Don't define if
1946 external-DB feature is supported.
1947 (Qcomposition): New variable.
1948 (Fget_composite_char): New implementation for external-DB support.
1949 (Fput_char_attribute): Use `composition' property of each
1950 character instead of `Vcharacter_composition_table' to store
1951 character-composition rules if external-DB feature is supported.
1952 (syms_of_chartab): Add new symbol `composition'.
1953 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1954 external-DB feature is supported.
1956 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1958 * chartab.c (Vchar_db_stingy_mode): New variable.
1959 (load_char_attribute_maybe): Close database if
1960 Vchar_db_stingy_mode is not NIL.
1961 (Fload_char_attribute_table_map_function): Use
1962 `get_char_id_table_0' instead of `get_char_id_table'.
1963 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1965 * chartab.h (get_char_id_table_0): New inline function.
1966 (get_char_id_table): Use `get_char_id_table_0'.
1968 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1970 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1971 and `COMPOSE_ADD_CHAR'.
1972 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1974 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1976 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1977 instead of `DECODE_ADD_UCS_CHAR'.
1978 (COMPOSE_ADD_CHAR): Likewise.
1980 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1982 * text-coding.c (decode_flush_er_chars): New inline function.
1983 (decode_add_er_char): New function.
1984 (decode_coding_utf8): Use `decode_flush_er_chars' and
1985 `decode_add_er_char'.
1987 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1989 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1990 done before `decode_output_utf8_partial_char'.
1992 * mule-charset.c (complex_vars_of_mule_charset): Specify
1993 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1994 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1996 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * mule-charset.c (decode_defined_char): New function; search
2000 (decode_builtin_char): Don't search mother if
2001 XCHARSET_MAX_CODE(charset) == 0.
2002 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2003 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2004 (Fdecode_char): Use `decode_defined_char' instead of
2005 `DECODE_DEFINED_CHAR'.
2006 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2007 mother of `Vcharset_ucs_jis'.
2009 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2010 instead of `DECODE_DEFINED_CHAR'.
2012 * char-ucs.h (decode_defined_char): Renamed from
2013 `DECODE_DEFINED_CHAR'; changed to normal function.
2014 (DECODE_CHAR): Use `decode_defined_char' instead of
2015 `DECODE_DEFINED_CHAR'.
2017 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2019 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2023 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2025 (Quse_entity_reference): New variable.
2029 (coding_system_description): Add description for
2030 `ccs_priority_list'.
2031 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2032 (allocate_coding_system): Initialize `ccs_priority_list' in
2034 (Fmake_coding_system): Add description about
2035 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2037 (Fcoding_system_property): Accept `disable-composition' and
2038 `use-entity-reference' in UTF-2000.
2039 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2041 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2042 (decode_coding_utf8): Decode entity-reference if
2043 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2044 (char_encode_utf8): Encode non-Unicode characters as
2045 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2047 (syms_of_file_coding): Add new symbols `use-entity-reference',
2049 (vars_of_file_coding): Add new variable
2050 `coded-charset-entity-reference-alist'.
2051 (complex_vars_of_file_coding): Declare `disable-composition' and
2052 `use-entity-reference' to be coding-system-properties in UTF-2000.
2054 * file-coding.h (struct Lisp_Coding_System): Add new member
2055 `use_entity_reference' and `ccs_priority_list'.
2056 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2057 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2058 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2060 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2062 * chartab.c (save_uint8_byte_table): Don't clear the table.
2063 (save_uint16_byte_table): Likewise.
2064 (save_byte_table): Likewise.
2065 (Fmount_char_attribute_table): New function.
2066 (syms_of_chartab): Add new builtin function
2067 `mount-char-attribute-table'.
2069 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2071 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2073 (load_char_decoding_entry_maybe): Open database as read-only mode.
2075 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2076 open database as "w+" mode.
2077 (load_char_attribute_maybe): Open database as read-only mode.
2078 (Fload_char_attribute_table): Likewise.
2080 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2082 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2083 (char_table_description): Delete member `db_file'.
2084 (Fmake_char_table): Don't refer `ct->db_file'.
2085 (Fcopy_char_table): Likewise.
2086 (Fsave_char_attribute_table): Likewise.
2087 (Fclose_char_attribute_table): Likewise.
2088 (Freset_char_attribute_table): Likewise.
2089 (load_char_attribute_maybe): Likewise.
2090 (Fload_char_attribute_table): Likewise.
2092 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2094 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2096 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2097 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2099 (load_char_attribute_maybe): Likewise.
2100 (Fload_char_attribute_table): Likewise.
2102 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2104 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2105 `ct->db_file' unconditionally.
2107 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2109 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2111 (char_table_description): Add description for `db_file' and `db'
2113 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2115 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2116 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2117 (Fclose_char_attribute_table): New function.
2118 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2119 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2121 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2122 (syms_of_chartab): Add new builtin function
2123 `Fclose_char_attribute_table'.
2125 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2127 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2129 (load_char_attribute_maybe): Change interface.
2130 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2132 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2134 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2136 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2138 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2139 instead of `DECODE_CHAR' for mother; don't use special code for
2140 chinese-big5 to use code space of chinese-big5-1 and
2142 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2143 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2145 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2146 (MAX_CHAR_BIG5_CDP): Revival.
2148 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2150 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2151 the XLFD registry-encoding name of `chinese-big5'.
2153 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2155 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2156 (Qchinese_big5_cdp): Deleted.
2157 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2158 (complex_vars_of_mule_charset): Delete coded-charset
2161 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2162 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2163 `CHARSET_ID_OFFSET - n' for private CCS.
2164 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2165 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2166 of `MIN_LEADING_BYTE'.
2167 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2168 `(CHARSET_ID_OFFSET - 97)'.
2169 (MIN_CHAR_BIG5_CDP): Deleted.
2170 (MAX_CHAR_BIG5_CDP): Deleted.
2172 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2174 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2176 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2178 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2179 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2182 * chartab.c (Vutf_2000_version): Moved to mule.c.
2183 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2185 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2187 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2188 when HAVE_CHISE_CLIENT is not defined.
2190 * mule.c (vars_of_mule): Provide feature `chise' when
2191 HAVE_CHISE_CLIENT is defined.
2193 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2195 * config.h.in (UTF2000): Add comment.
2196 (HAVE_CHISE_CLIENT): New macro.
2198 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2200 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2202 (Fput_char_attribute): Likewise.
2203 (char_attribute_system_db_file): Encode file-name of attribute.
2204 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2207 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2209 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2210 (Fsave_charset_mapping_table): Use
2211 `char_attribute_system_db_file'.
2212 (load_char_decoding_entry_maybe): Likewise.
2214 * chartab.h (Qsystem_char_id): New external variable.
2215 (char_attribute_system_db_file): New prototype.
2217 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2218 (char_attribute_system_db_file): New function.
2219 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2220 (Freset_char_attribute_table): Likewise.
2221 (load_char_attribute_maybe): Likewise.
2222 (Fload_char_attribute_table): Likewise.
2223 (syms_of_chartab): Add new symbol `system-char-id'.
2225 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2227 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2228 `XCHARSET_GRAPHIC(ccs)'.
2230 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2232 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2234 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2236 * chartab.c (Q_ucs_variants): New variable.
2237 (syms_of_chartab): Add new symbol `->ucs-variants'.
2238 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2239 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2240 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2242 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2244 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2245 `HAVE_DATABASE' is defined.
2246 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2247 `HAVE_DATABASE' is defined.
2249 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2251 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2253 (Freset_char_attribute_table): New function.
2254 (syms_of_chartab): Add new builtin function
2255 `reset-char-attribute-table'.
2257 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2259 * chartab.c (load_char_attribute_maybe): Don't make directories.
2261 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2263 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2265 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2268 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2270 * mule-charset.c (Fsave_charset_mapping_table): Use
2271 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2273 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2274 instead of `XCHARSET_CHARS'.
2276 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2278 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2279 (XCHARSET_BYTE_SIZE): Likewise.
2281 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2283 (XCHARSET_BYTE_SIZE): Likewise.
2285 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2287 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2288 data-directory to store database.
2289 (Fsave_char_attribute_table): Likewise.
2290 (load_char_attribute_maybe): Likewise.
2291 (Fload_char_attribute_table): Likewise.
2293 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2295 * mule-charset.c (Fsave_charset_mapping_table): New function.
2296 (syms_of_mule_charset): Add new builtin function
2297 `save-charset-mapping-table'.
2299 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2301 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2302 (get_ccs_octet_table): New inline function.
2303 (put_ccs_octet_table): Likewise.
2304 (decoding_table_put_char): Use `get_ccs_octet_table' and
2305 `put_ccs_octet_table'.
2306 (decoding_table_remove_char): Use `decoding_table_put_char'.
2307 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2309 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2310 into encoding_table.
2311 (make_charset): Use Qunbound instead Qnil as initial value of
2314 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2316 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2317 element is Qunloaded.
2318 (map_over_uint16_byte_table): Likewise.
2319 (map_over_byte_table): Likewise.
2320 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2321 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2322 database support, load encoding-table of the specified
2323 coded-charset if it is not loaded yet.
2324 (save_uint8_byte_table): New function of UTF-2000 with external
2326 (save_uint16_byte_table): Likewise.
2327 (save_byte_table): Likewise.
2328 (Fput_char_attribute): Don't store value into external database
2329 even if the external database feature is supported in UTF-2000;
2330 set `attribute' as name of char-table if the external database
2331 feature is supported.
2332 (Fsave_char_attribute_table): New function in UTF-2000.
2333 (syms_of_chartab): Add new builtin function
2334 `save-char-attribute-table' in UTF-2000.
2336 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2338 * chartab.c (char_attribute_table_to_put): New variable in
2340 (Qput_char_table_map_function): Likewise.
2341 (value_to_put): Likewise.
2342 (Fput_char_table_map_function): New function in UTF-2000.
2343 (put_char_table): Use `Fmap_char_attribute' for
2344 CHARTAB_RANGE_CHARSET in UTF-2000.
2345 (Fput_char_attribute): Store symbol instead of string in
2346 `XCHAR_TABLE_NAME (table)'.
2347 (load_char_attribute_maybe): Likewise.
2348 (syms_of_chartab): Add new symbol/function
2349 `put-char-table-map-function'.
2351 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2353 * database.h: Add new EXFUN for `Fmap_database'.
2355 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2356 (syms_of_database): Likewise.
2358 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2360 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2361 (XCHAR_TABLE_UNLOADED): Likewise.
2363 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2364 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2365 HAVE_DATABASE is defined.
2366 (char_attribute_table_to_load): New variable of UTF-2000 with
2367 external database support.
2368 (Qload_char_attribute_table_map_function): Likewise.
2369 (Fload_char_attribute_table_map_function): New function of
2370 UTF-2000 with external database support.
2371 (Fload_char_attribute_table): New function of UTF-2000.
2372 (Fmap_char_attribute): Call Fload_char_attribute_table if
2373 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2374 (syms_of_chartab): Add new symbol and function
2375 `load-char-attribute-table-map-function' in UTF-2000 with external
2376 database support; add new function `load-char-attribute-table' in
2379 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2381 * chartab.h (load_char_attribute_maybe): New prototype for
2382 UTF-2000 with DATABASE support.
2383 (get_char_id_table): Use `load_char_attribute_maybe' if
2384 HAVE_DATABASE is defined.
2386 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2387 with DATABASE support.
2389 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2391 * chartab.c (Fput_char_attribute): Use S-expression as key of
2394 * chartab.h (get_char_id_table): Use S-expression as key of
2397 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2399 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2400 if an element is not loaded, load the corresponding attributes
2401 from an external database.
2402 (map_over_uint16_byte_table): Likewise.
2403 (map_over_byte_table): Likewise.
2404 (map_char_table): Modify for `map_over_uint8_byte_table',
2405 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2406 element is not loaded, load the corresponding attributes from an
2408 (Fput_char_attribute): Change initial values to Qunloaded.
2410 * chartab.h (get_char_id_table): If a character attribute is not
2411 loaded and the attribute value is not found in an external
2412 database, store Qunbound as the attribute value.
2414 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2416 * chartab.c (BT_UINT8_unloaded): New macro.
2417 (UINT8_VALUE_P): Accept Qunloaded.
2418 (UINT8_ENCODE): Likewise.
2419 (UINT8_DECODE): Likewise.
2420 (BT_UINT16_unloaded): New macro.
2421 (UINT16_VALUE_P): Accept Qunloaded.
2422 (UINT16_ENCODE): Likewise.
2423 (UINT16_DECODE): Likewise.
2424 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2426 (mark_char_table): Mark `ct->name' in UTF-2000.
2427 (char_table_description): Add `name' in UTF-2000.
2428 (Fmake_char_table): Initialize `ct->name'.
2429 (Fcopy_char_table): Copy `ct->name'.
2430 (Fput_char_attribute): Store value into an external database if
2431 HAVE_DATABASE is defined.
2433 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2435 (CHAR_TABLE_NAME): New macro in UTF-2000.
2436 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2437 (get_char_id_table): Try to read an external database if Qunloaded
2438 is stored in a table.
2440 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2443 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2445 * database.h: Add EXFUN definitions for Fopen_database,
2446 Fput_database, Fget_database and Fclose_database.
2448 * data.c (Qunloaded): New variable in UTF-2000.
2450 * lisp.h (Qunloaded): New variable in UTF-2000.
2452 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2454 * mule-charset.c (put_char_ccs_code_point): Modify for
2455 `decoding_table_remove_char' and `decoding_table_put_char'.
2456 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2458 * char-ucs.h (decoding_table_remove_char): Change arguments to
2459 hide decoding_table vector.
2460 (decoding_table_put_char): Likewise.
2462 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2464 * mule-charset.c (decoding_table_remove_char): Moved to
2466 (decoding_table_put_char): Likewise.
2468 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2469 from mule-charset.c].
2470 (decoding_table_remove_char): New inline function [moved from
2472 (decoding_table_put_char): Likewise.
2474 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2476 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2479 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2481 * mule-charset.c (decode_builtin_char): Support mother charsets.
2483 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2485 * mule-charset.c (Q94x94x60): New variable.
2486 (charset_code_point): Support conversion `94x94x60'.
2487 (Fmake_charset): Likewise.
2488 (syms_of_mule_charset): Add new symbol `94x94x60'.
2490 * char-ucs.h (CONVERSION_94x94x60): New macro.
2492 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2494 * mule-charset.c (charset_code_point): Unify code about
2497 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2499 * mule-charset.c (charset_code_point): Merge code about builtin
2500 characters into code about mother charsets; don't use
2501 `range_charset_code_point'.
2502 (range_charset_code_point): Deleted.
2504 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2506 * mule-charset.c (Qcode_offset): New variable.
2507 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2508 `max-code'; accept new property `code-offset'.
2509 (syms_of_mule_charset): Add new symbol `code-offset'.
2511 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2513 * mule-charset.c (range_charset_code_point): Fixed.
2515 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2517 * mule-charset.c (decode_builtin_char): Change semantics of
2518 code-offset of coded-charset.
2519 (charset_code_point): Likewise.
2520 (range_charset_code_point): Likewise.
2521 (complex_vars_of_mule_charset): Modify for the change.
2523 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2525 * mule-charset.c (Fencode_char): Reverse arguments.
2527 * mule-charset.c (charset_code_point): Fixed.
2529 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2531 * mule-charset.c (Vcharset_mojikyo): Deleted.
2532 (Vcharset_mojikyo_2022_1): Deleted.
2533 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2534 (Qmin_code): New variable in UTF-2000.
2535 (Qmax_code): Likewise.
2536 (Qmother): Likewise.
2537 (Qconversion): Likewise.
2539 (Qmojikyo): Deleted.
2540 (Qmojikyo_2022_1): Deleted.
2541 (Qmojikyo_pj_{1..22}): Deleted.
2542 (mark_charset): Mark `cs->mother'.
2543 (charset_description): Add description for `mother'.
2544 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2545 new arguments `mother' and `conversion'; use
2546 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2547 (charset_code_point): Moved from char-ucs.h; support `mother'
2549 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2550 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2551 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2552 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2553 allow 2 as the value of `graphic' in UTF-2000; add new properties
2554 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2555 require `final' in UTF-2000; modify for `make_charset'.
2556 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2557 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2558 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2559 (Fencode_char): New function.
2560 (syms_of_mule_charset): Add new builtin function `encode-char' in
2561 UTF-2000; add new symbols `min-code', `max-code', `mother',
2562 `conversion' and `94x60'; delete symbols `mojikyo',
2563 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2564 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2565 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2566 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2568 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2569 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2571 * char-ucs.h (Vcharset_mojikyo): Deleted.
2572 (Vcharset_mojikyo_2022_1): Deleted.
2573 (LEADING_BYTE_MOJIKYO): Deleted.
2574 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2575 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2576 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2577 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2578 add new member `mother'; add new member `conversion'.
2579 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2580 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2581 (CHARSET_MOTHER): New macro.
2582 (CHARSET_CONVERSION): New macro.
2583 (CONVERSION_IDENTICAL): New macro.
2584 (CONVERSION_94x60): New macro.
2585 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2586 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2587 (XCHARSET_MOTHER): New macro.
2588 (XCHARSET_CONVERSION): New macro.
2589 (MIN_CHAR_MOJIKYO): Deleted.
2590 (MAX_CHAR_MOJIKYO): Deleted.
2591 (DECODE_MOJIKYO_2022): Deleted.
2592 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2593 (charset_code_point): Changed to non-inline function.
2594 (encode_char_1): Use `charset_code_point'.
2595 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2597 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2599 * lread.c (read_compiled_function): Fix prototype.
2600 (read_vector): Likewise.
2602 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2604 * lrecord.h (struct lrecord_header): Delete `older'.
2605 (set_lheader_implementation): Delete code for `older'.
2606 (set_lheader_older_implementation): Deleted.
2607 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2608 (OLDER_RECORD_P): Deleted.
2609 (OLDER_RECORD_HEADER_P): Deleted.
2610 (alloc_older_lcrecord): Deleted.
2611 (alloc_older_lcrecord_type): Deleted.
2613 * alloc.c (all_older_lcrecords): Deleted.
2614 (alloc_older_lcrecord): Deleted.
2615 (disksave_object_finalization_1): Delete code for older objects.
2616 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2617 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2619 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2621 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2622 instead of `make_older_vector'.
2623 (put_char_ccs_code_point): Likewise.
2624 (mark_charset): Mark `cs->decoding_table'.
2625 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2627 * lisp.h (make_older_vector): Deleted.
2628 (make_vector_newer): Deleted.
2630 * config.h.in (HAVE_GGC): Deleted.
2632 * alloc.c (make_older_vector): Deleted.
2633 (make_vector_newer_1): Deleted.
2634 (make_vector_newer): Deleted.
2636 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2638 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2639 (Qideograph_daikanwa_2): New variable.
2640 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2641 (complex_vars_of_mule_charset): Add new coded-charset
2642 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2643 `LEADING_BYTE_DAIKANWA'.
2645 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2646 (LEADING_BYTE_DAIKANWA_1): New macro.
2647 (LEADING_BYTE_DAIKANWA_2): New macro.
2648 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2650 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2652 * mule-charset.c (complex_vars_of_mule_charset): Change
2653 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2654 the second revised version.
2656 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2658 * mule-charset.c (Vcharset_ucs_smp): New variable.
2659 (Vcharset_ucs_sip): New variable.
2660 (Qucs_smp): New variable.
2661 (Qucs_sip): New variable.
2662 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2663 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2664 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2665 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2666 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2667 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2669 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2670 (LEADING_BYTE_UCS_SIP): New macro.
2671 (MIN_CHAR_SMP): New macro.
2672 (MAX_CHAR_SMP): New macro.
2673 (MIN_CHAR_SIP): New macro.
2674 (MAX_CHAR_SIP): New macro.
2676 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2678 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2681 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2683 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2684 value; don't store value into `encoding_table' of `Lisp_Charset'.
2685 (mark_charset): `encoding_table' was deleted.
2686 (charset_description): Likewise.
2687 (make_charset): Likewise.
2688 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2689 `put_char_ccs_code_point'.
2691 * chartab.h (Fput_char_attribute): New EXFUN.
2693 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2694 is unified with normal symbol space.
2695 (Fget_char_attribute): Likewise.
2696 (Fput_char_attribute): Likewise; behavior of
2697 `put_char_ccs_code_point' is changed.
2699 * char-ucs.h: Include "elhash.h".
2700 (Vchar_attribute_hash_table): New external variable.
2701 (struct Lisp_Charset): Delete `encoding_table'.
2702 (CHARSET_ENCODING_TABLE): New implementation; refer
2703 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2706 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2708 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2711 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2716 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * chartab.c (uint8_byte_table_description): New constant.
2719 (uint8-byte-table): Use `uint8_byte_table_description'.
2720 (uint16_byte_table_description): New constant.
2721 (uint16-byte-table): Use `uint16_byte_table_description'.
2723 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2725 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2726 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2728 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2730 * mule-charset.c (Vcharset_ucs_ks): New variable.
2731 (Qucs_ks): New variable.
2732 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2733 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2735 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2737 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2740 (Fdecode_char): Likewise.
2742 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2744 (Fdefine_char): Modify for Fdecode_char.
2745 (Ffind_char): Likewise.
2747 * mule-charset.c (Fdecode_char): Add new optional argument
2749 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2751 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2753 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2754 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2755 (allocate_coding_system): Initialize initial-charsets of
2756 CODESYS_BIG5 in XEmacs UTF-2000.
2757 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2758 CODESYS_BIG5 in XEmacs UTF-2000.
2759 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2760 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2762 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2764 (Qideograph_hanziku_{1 .. 12}): Likewise.
2765 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2767 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2768 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2769 `ideograph-hanziku-{1 .. 12}'.
2771 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2772 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2773 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2774 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2775 (DECODE_DEFINED_CHAR): New inline function.
2776 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2778 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2780 * mule-charset.c (Vcharset_china3_jef): Renamed from
2781 `Vcharset_japanese_jef_china3'.
2782 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2783 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2784 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2785 (syms_of_mule_charset): Rename `china3-jef' from
2786 `japanese-jef-china3'.
2787 (complex_vars_of_mule_charset): Likewise; rename
2788 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2790 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2791 `LEADING_BYTE_JEF_CHINA3'.
2792 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2793 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2795 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * mule-charset.c (encode_builtin_char_1): Comment out special code
2798 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2800 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2801 (MAX_CHAR_MOJIKYO_0): Comment out.
2802 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2803 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2804 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2805 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2807 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2809 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2810 (Qideograph_cbeta): New variable.
2811 (encode_builtin_char_1): Comment out special code for
2812 coded-charset `mojikyo' and `japanese-jef-china3'.
2813 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2814 (complex_vars_of_mule_charset): Add new coded-charset
2817 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2818 (MIN_CHAR_CBETA): New macro.
2819 (MAX_CHAR_CBETA): New macro.
2821 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2823 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2824 (LEADING_BYTE_JEF_CHINA3): New macro.
2825 (MIN_CHAR_JEF_CHINA3): New macro.
2826 (MAX_CHAR_JEF_CHINA3): Likewise.
2827 (DECODE_CHAR): Fixed.
2829 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2831 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2832 (Qjapanese_jef_china3): New variable.
2833 (encode_builtin_char_1): Support `japanese-jef-china3'.
2834 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2835 (complex_vars_of_mule_charset): Add new coded-charset
2836 `japanese-jef-china3'.
2838 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2840 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2841 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2842 94^4, 96^3, 96^4, 128^n and 256^n set.
2843 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2844 (map_char_table): Likewise.
2846 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2851 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2853 * chartab.h (get_char_id_table): New inline function.
2855 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2858 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * chartab.h (decode_char_table_range): New prototype in XEmacs
2862 (put_char_id_table): New inline function in XEmacs UTF-2000.
2864 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2866 (decode_char_table_range): Delete static declaration in XEmacs
2869 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2871 * chartab.c (put_char_id_table): Use `put_char_table'.
2873 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2875 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2876 (map_over_uint16_byte_table): Likewise.
2877 (map_over_byte_table): Likewise.
2878 (map_char_table): Modify for `map_over_uint8_byte_table',
2879 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2882 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2884 * chartab.c (struct map_char_table_for_charset_arg): New
2886 (map_char_table_for_charset_fun): New function.
2887 (map_char_table): Use `map_char_table' for encoding_table of
2890 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * chartab.c (map_char_table): Check a character is found in
2893 range->charset instead of non default value is defined in
2894 char-table when range is CHARTAB_RANGE_ROW.
2896 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2898 * chartab.c (map_char_id_table): Deleted.
2899 (Fmap_char_attribute): Use `map_char_table' instead of
2900 `map_char_id_table'.
2902 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2904 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2906 (update_syntax_table): Deleted in XEmacs UTF-2000.
2908 * syntax.c (find_defun_start): Use `syntax_table' instead of
2909 `mirror_syntax_table' in XEmacs UTF-2000.
2910 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2912 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2914 (Fmatching_paren): Likewise.
2915 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2917 (find_start_of_comment): Likewise.
2918 (find_end_of_comment): Likewise.
2919 (Fforward_comment): Likewise.
2920 (scan_lists): Likewise.
2921 (char_quoted): Likewise.
2922 (Fbackward_prefix_chars): Likewise.
2923 (scan_sexps_forward): Likewise.
2924 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2925 (update_syntax_table): Likewise.
2927 * search.c (skip_chars): Use `syntax_table' instead of
2928 `mirror_syntax_table' in XEmacs UTF-2000.
2929 (wordify): Likewise.
2930 (Freplace_match): Likewise.
2932 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2933 `mirror_syntax_table' in XEmacs UTF-2000.
2934 (WORDCHAR_P_UNSAFE): Likewise.
2935 (re_match_2_internal): Likewise.
2937 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2938 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2940 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2941 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2943 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2946 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2948 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2949 (char_table_description): Delete `mirror_table' in XEmacs
2951 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2953 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2954 (Fcopy_char_table): Likewise.
2955 (put_char_table): Don't call `update_syntax_table' in XEmacs
2958 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2959 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2960 (casify_region_internal): Likewise.
2962 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2964 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2965 `mirror_syntax_table' in XEmacs UTF-2000.
2967 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2968 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2969 (Fexpand_abbrev): Likewise.
2971 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2975 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2977 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2978 (map_over_uint16_byte_table): Likewise.
2979 (map_over_byte_table): Likewise.
2980 (get_char_id_table): Refer `cit->default_value'.
2981 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2982 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2983 of character-id ranges.
2984 (mark_char_table): Mark `ct->default_value'.
2985 (char_table_description): Add `default_value'.
2986 (fill_char_table): Use `default_value'.
2987 (decode_char_table_range): Decode `nil' as
2988 `CHARTAB_RANGE_DEFAULT'.
2989 (get_char_id_table): Refer `cit->default_value'.
2990 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2991 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2992 temporary hack; check value of char-table is bound or not.
2993 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2995 * chartab.h (struct Lisp_Char_Table): Add new member
2996 `default_value' in XEmacs UTF-2000.
2997 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2998 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3001 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3003 * chartab.h (Lisp_Char_ID_Table): Deleted.
3005 * chartab.c (char_table_description): Fix typo.
3006 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3007 `Lisp_Char_ID_Table'.
3009 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3011 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3014 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3017 * chartab.h (XCHAR_ID_TABLE): Deleted.
3018 (XSETCHAR_ID_TABLE): Deleted.
3019 (CHAR_ID_TABLE_P): Deleted.
3021 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3023 (Fget_composite_char): Likewise.
3024 (put_char_table): Likewise.
3025 (add_char_attribute_alist_mapper): Fixed.
3026 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3028 (Fget_char_attribute): Likewise.
3029 (Fget_char_attribute): Likewise.
3030 (Fmap_char_attribute): Likewise.
3032 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3034 (encode_char_1): Likewise.
3036 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3038 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3041 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3042 instead of `XCHAR_ID_TABLE'.
3043 (remove_char_ccs): Likewise.
3045 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3047 (Fget_composite_char): Likewise.
3048 (Fchar_variants): Likewise.
3049 (put_char_table): Likewise.
3050 (add_char_attribute_alist_mapper): Likewise.
3051 (Fchar_attribute_alist): Likewise.
3052 (Fget_char_attribute): Likewise.
3053 (Fput_char_attribute): Likewise.
3054 (Fmap_char_attribute): Likewise.
3055 (Fmap_char_attribute): Likewise.
3057 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3059 (encode_char_1): Likewise.
3061 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3063 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3064 `Lisp_Char_ID_Table'.
3065 (mark_char_id_table): Deleted.
3066 (print_char_id_table): Likewise.
3067 (char_id_table_equal): Likewise.
3068 (char_id_table_hash): Likewise.
3069 (char_id_table_description): Likewise.
3070 (char_id_table): Likewise.
3071 (make_char_id_table): Use `Fmake_char_table' and
3073 (get_char_id_table): Use `Lisp_Char_Table' instead of
3074 `Lisp_Char_ID_Table'.
3075 (put_char_id_table): Likewise.
3076 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3078 (Fremove_char_attribute): Likewise.
3079 (syms_of_chartab): Don't define type `char-id-table'.
3081 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3082 (char_id_table): Likewise.
3083 (GC_CHAR_ID_TABLE_P): Likewise.
3084 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3085 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3086 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3087 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3088 (get_char_id_table): Use `Lisp_Char_Table' instead of
3089 `Lisp_Char_ID_Table'.
3090 (put_char_id_table_0): Likewise.
3091 (put_char_id_table): Likewise.
3093 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3095 * chartab.h: Lisp_Byte_Table related codes are moved from
3098 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3100 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3102 * chartab.h: Don't include "chartab.h".
3103 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3104 (Lisp_Char_ID_Table): Likewise.
3105 (char_id_table): Likewise.
3106 (XCHAR_ID_TABLE): Likewise.
3107 (XSETCHAR_ID_TABLE): Likewise.
3108 (CHAR_ID_TABLE_P): Likewise.
3109 (GC_CHAR_ID_TABLE_P): Likewise.
3110 (get_char_id_table): Likewise.
3112 * char-ucs.h: Include "chartab.h".
3113 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3114 (Lisp_Char_ID_Table): Likewise.
3115 (char_id_table): Likewise.
3116 (XCHAR_ID_TABLE): Likewise.
3117 (XSETCHAR_ID_TABLE): Likewise.
3118 (CHAR_ID_TABLE_P): Likewise.
3119 (GC_CHAR_ID_TABLE_P): Likewise.
3120 (get_char_id_table): Likewise.
3122 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3124 * chartab.c (copy_uint8_byte_table): New function.
3125 (copy_uint16_byte_table): New function.
3126 (copy_byte_table): New function.
3127 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3129 (map_over_uint16_byte_table): Likewise.
3130 (map_over_byte_table): Likewise.
3131 (get_byte_table): Move prototype to chartab.h.
3132 (put_byte_table): Likewise.
3133 (put_char_id_table_0): Moved to chartab.h.
3134 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3135 (char_table_entry_equal): Likewise.
3136 (char_table_entry_hash): Likewise.
3137 (char_table_entry_description): Likewise.
3138 (char_table_entry): Likewise.
3139 (make_char_table_entry): Likewise.
3140 (copy_char_table_entry): Likewise.
3141 (get_non_ascii_char_table_value): Likewise.
3142 (map_over_charset_ascii): Likewise.
3143 (map_over_charset_control_1): Likewise.
3144 (map_over_charset_row): Likewise.
3145 (map_over_other_charset): Likewise.
3146 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3147 (print_char_table): Likewise.
3148 (char_table_equal): Likewise.
3149 (char_table_hash): Likewise.
3150 (char_table_description): Likewise.
3151 (fill_char_table): Likewise.
3152 (Fcopy_char_table): Likewise.
3153 (get_char_table): Likewise.
3154 (Fget_range_char_table): Likewise.
3155 (put_char_table): Likewise.
3156 (map_char_table): Likewise.
3157 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3160 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3162 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3163 `Vauto_fill_chars' in XEmacs UTF-2000.
3165 * chartab.h (get_byte_table): New prototype [moved from
3167 (put_byte_table): Likewise [moved from chartab.c].
3168 (put_char_id_table_0): New inline function [moved from chartab.c].
3169 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3170 (Lisp_Char_Table_Entry): Likewise.
3171 (char_table_entry): Likewise.
3172 (XCHAR_TABLE_ENTRY): Likewise.
3173 (XSETCHAR_TABLE_ENTRY): Likewise.
3174 (CHAR_TABLE_ENTRYP): Likewise.
3175 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3176 (NUM_ASCII_CHARS): Likewise.
3177 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3178 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3180 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * chartab.c (get_char_id_table): Change interface.
3183 (put_char_id_table_0): New function.
3184 (put_char_id_table): Change interface; new implementation.
3185 (Fget_composite_char): Modify for interface change of
3186 `get_char_id_table'.
3187 (Fchar_variants): Likewise.
3188 (add_char_attribute_alist_mapper): Likewise.
3189 (Fchar_attribute_alist): Likewise.
3190 (Fget_char_attribute): Likewise.
3191 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3192 as same as character as the first argument like `put-char-table';
3193 modify for interface change of `put_char_id_table'.
3194 (Fremove_char_attribute): Modify for interface change of
3195 `put_char_id_table'.
3197 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3199 * text-coding.c: Sync up with XEmacs 21.2.41.
3200 (COMPOSE_ADD_CHAR): Modify for interface change of
3201 `get_char_id_table'.
3203 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3204 change of `put_char_id_table'.
3205 (remove_char_ccs): Likewise.
3207 * chartab.h (put_char_id_table): Change interface.
3209 * char-ucs.h (get_char_id_table): Change interface.
3210 (charset_code_point): Modify for interface change of
3211 `get_char_id_table'.
3212 (encode_char_1): Likewise.
3214 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3216 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3218 (map_over_uint16_byte_table): Likewise.
3219 (map_over_byte_table): Likewise.
3220 (map_char_id_table): Add new argument `range' like
3222 (Fmap_char_attribute): Add new argument `range' like
3225 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3227 * chartab.c (map_over_uint8_byte_table): Change interface of
3228 mapping function to use struct chartab_range instead of Emchar.
3229 (map_over_uint16_byte_table): Likewise.
3230 (map_over_byte_table): Likewise.
3231 (map_char_id_table): Likewise.
3232 (struct slow_map_char_id_table_arg): Deleted.
3233 (slow_map_char_id_table_fun): Deleted.
3234 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3235 function `slow_map_char_table_fun' instead of struct
3236 `slow_map_char_id_table_arg' and function
3237 `slow_map_char_id_table_fun'.
3239 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3241 * mule-charset.c: Move char-it-table related codes to chartab.c.
3242 (Vutf_2000_version): Moved to chartab.c.
3243 (Fdefine_char): Likewise.
3244 (Ffind_char): Likewise.
3245 (syms_of_mule_charset): Move types `uint8-byte-table',
3246 `uint16-byte-table', `byte-table' and `char-id-table' to
3247 chartab.c; move functions `char_attribute_list,
3248 `find_char_attribute_table, `char_attribute_alist,
3249 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3250 `map_char_attribute, `define_char, `find_char, `char_variants and
3251 `get_composite_char to chartab.c; move symbols `=>ucs',
3252 `->decomposition', `compat', `isolated', `initial', `medial',
3253 `final', `vertical', `noBreak', `fraction', `super', `sub',
3254 `circle', `square', `wide', `narrow', `small' and `font' to
3256 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3257 setting codes for `Vcharacter_composition_table' and
3258 `Vcharacter_variant_table' to chartab.c.
3259 (complex_vars_of_mule_charset): Move setting code for
3260 `Vchar_attribute_hash_table' to chartab.c.
3262 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3263 (make_char_id_table): New prototype.
3264 (put_char_id_table): Likewise.
3265 (Fget_char_attribute): Likewise.
3267 * chartab.c: Move char-id-table related code from mule-charset.c.
3268 (Vutf_2000_version): Moved from mule-charset.c.
3270 * char-ucs.h (Qucs): New external variable.
3271 (put_char_ccs_code_point): New prototype.
3272 (remove_char_ccs): Likewise.
3274 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3276 * mule-charset.c (Vcharset_ucs_jis): New variable.
3277 (Qucs_jis): Likewise.
3278 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3279 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3281 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3283 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3285 * mule-charset.c (map_over_uint8_byte_table): New function.
3286 (map_over_uint16_byte_table): Likewise.
3287 (map_over_byte_table): Likewise.
3288 (map_char_id_table): Likewise.
3289 (slow_map_char_id_table_fun): Likewise.
3290 (Fmap_char_attribute): Likewise.
3291 (syms_of_mule_charset): Add new function `map-char-attribute'.
3293 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3295 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3296 (syms_of_mule_charset): Add new function `find-char'.
3298 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3300 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3302 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3303 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3305 (complex_vars_of_mule_charset): Add new coded-charset
3306 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3307 `ideograph-gt-pj-*'.
3309 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3311 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3313 * mule-charset.c (encode_builtin_char_1): Purge codes about
3314 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3315 {MIN|MAX}_CHAR_HEBREW.
3316 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3317 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3319 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3320 (MAX_CHAR_GREEK): Purged.
3321 (MIN_CHAR_CYRILLIC): Purged.
3322 (MAX_CHAR_CYRILLIC): Purged.
3323 (MIN_CHAR_HEBREW): Commented out.
3324 (MAX_CHAR_HEBREW): Likewise.
3326 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3328 * mule-charset.c (Qto_ucs): New variable.
3329 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3330 (Fdefine_char): Likewise.
3331 (syms_of_mule_charset): Add new symbol `=>ucs'.
3333 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3335 * mule-charset.c (Fdecode_char): Fixed.
3337 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3339 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3340 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3343 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3345 * mule-charset.c (Vcharset_ucs_big5): New variable.
3346 (Qucs_big5): Likewise.
3347 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3348 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3350 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3352 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3354 * mule-charset.c (decode_builtin_char): Check Big5 code range
3355 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3357 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3359 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3360 (Qchinese_gb12345): Likewise.
3361 (Fdecode_builtin_char): Fixed.
3362 (syms_of_mule_charset): Add `chinese-gb12345'.
3363 (complex_vars_of_mule_charset): Add coded-charset
3366 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3367 (LEADING_BYTE_CHINESE_GB12345): New macro.
3369 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3371 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3372 and `latin-viscii-upper' for `latin-viscii'.
3374 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3376 * mule-charset.c (Fdecode_builtin_char): Comment out
3377 regularization code for ISO-IR GR representation.
3379 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3381 * mule-charset.c (decode_builtin_char): New function; renamed from
3382 `make_builtin_char'; return -1 instead of signal.
3383 (Fdecode_builtin_char): Use `decode_builtin_char'.
3385 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3386 `make_builtin_char'.
3387 (DECODE_CHAR): Use `decode_builtin_char' instead of
3388 `make_builtin_char'; use mapping table of `chinese-big5' for
3389 `chinese-big5-{1,2}'.
3391 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3393 * text-coding.c (char_encode_big5): New function.
3394 (char_finish_big5): Likewise.
3395 (reset_encoding_stream): Use `char_encode_big5' and
3396 `char_finish_big5' for CODESYS_BIG5.
3397 (mule_encode): Don't use `encode_coding_big5'.
3398 (encode_coding_big5): Deleted.
3400 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3402 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3403 0x81- in XEmacs UTF-2000.
3404 (detect_coding_big5): Likewise.
3406 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3408 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3409 generate character-id if the CCS property does not have
3410 corresponding predefined character.
3411 (make_builtin_char): Return -1 if corresponding predefined
3412 character is not found.
3413 (Fdecode_char): Return nil if corresponding character is not
3415 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3416 don't map to builtin ucs space.
3418 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3420 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3421 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3423 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3425 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3426 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3427 (Qideograph_gt): Likewise.
3428 (Qideograph_gt_pj_{1..11}): Likewise.
3429 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3430 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3431 `ideograph-gt-pj-11'.
3432 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3433 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3434 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3436 * char-ucs.h (LEADING_BYTE_GT): New macro.
3437 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3438 (MIN_CHAR_GT): Likewise.
3439 (MAX_CHAR_GT): Likewise.
3441 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3443 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3444 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3446 * doprnt.c (unsigned_int_converters): Add `c'.
3447 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3449 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3450 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3452 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3453 (MAX_CHAR_MOJIKYO_0): New macro.
3454 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3456 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3458 * mule-charset.c (Fdefine_char): Delete cemented out code.
3459 (encode_builtin_char_1): Modify for new allocation of builtin
3462 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3464 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3466 * mule-charset.c (Vcharset_ucs_cns): New variable.
3467 (Qucs_cns): New variable.
3468 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3469 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3471 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3473 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3475 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3477 * search.c (search_buffer): Make `charset_base_code' as
3478 character-id >> 6 to eliminate the corresponding last byte in
3479 UTF-8 representation [I'm not sure it is right thing].
3480 (boyer_moore): Likewise.
3482 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3484 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3485 representation in MULE.
3487 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3489 * text-coding.c (Fmake_coding_system): Use
3490 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3491 `EXTERNAL_PROPERTY_LIST_LOOP'.
3493 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3495 * text-coding.c (decode_output_utf8_partial_char): New function.
3496 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3498 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3500 * text-coding.c (decode_coding_utf8): Output original byte
3501 sequence if it is broken; change order of conditions.
3503 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3506 * mb-multibyte.h (BYTE_ASCII_P):
3507 Use bit ops for char-signedness safety.
3508 (BYTE_C0_P): Use bit ops for char-signedness safety.
3509 (BYTE_C1_P): Use bit ops for char-signedness safety.
3511 * character.h: (XCHAR_OR_CHAR_INT):
3512 Always use inline function.
3513 Remove redundant type checking assert() - XINT will abort quite
3516 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * text-coding.c: (Fencode_shift_jis_char):
3519 (Fencode_big5_char):
3520 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3521 Replace 0 with '\0' when working with bytes.
3522 Replace initial "(" with "\(" in docstrings.
3524 (Fmake_coding_system):
3525 When type is ccl and value is vector, register it with a proper
3526 symbol. And checks whether the given ccl program is valid.
3527 (mule_decode): When calling ccl_driver, if src indicates
3528 NULL pointer, set an empty string instead.
3529 (mule_encode): Likewise.
3532 (detect_coding_sjis):
3533 (decode_coding_sjis):
3534 (detect_coding_big5):
3535 (decode_coding_big5):
3536 (detect_coding_ucs4):
3537 (decode_coding_ucs4):
3538 (detect_coding_utf8):
3539 (decode_coding_utf8):
3540 (detect_coding_iso2022):
3541 (decode_coding_iso2022):
3542 (decode_coding_no_conversion):
3544 Make all detecting and decoding functions take an Extbyte * arg.
3545 (text_encode_generic):
3546 (encode_coding_big5):
3547 (encode_coding_no_conversion):
3549 Make all encoding functions take a Bufbyte * arg.
3550 Use size_t instead of unsigned int for memory sizes.
3551 Only cast to unsigned char whenever dereferencing Extbyte *.
3553 (struct lrecord_description fcd_description_1): Use countof.
3554 (complex_vars_of_file_coding):
3555 Use countof instead of sizeof.
3556 Use CHECK_NATNUM instead of CHECK_INT.
3558 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3560 * mule-charset.c (Fget_char_attribute): Add new optional argument
3562 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3563 (remove_char_ccs): Likewise.
3565 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3567 * text-coding.c (char_encode_shift_jis): New implementation in
3569 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3572 * mule-charset.c (Vcharset_chinese_big5): New variable in
3574 (Qchinese_big5): New variable in UTF-2000.
3575 (BIG5_SAME_ROW): New macro in UTF-2000.
3576 (make_builtin_char): Use builtin characters of
3577 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3578 characters of `Vcharset_chinese_big5'.
3579 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3580 (complex_vars_of_mule_charset): Add new coded-charset
3581 `chinese-big5' in UTF-2000.
3583 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3584 (Vcharset_chinese_big5): New external variable declaration.
3585 (Vcharset_japanese_jisx0208_1990): Likewise.
3587 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3589 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3591 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3593 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3595 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3596 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3597 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3600 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3602 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3604 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3606 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3609 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3611 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3612 for `CHARSET_BY_ATTRIBUTES'.
3613 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3614 `CHARSET_BY_ATTRIBUTES'.
3616 * text-coding.c (struct decoding_stream): Rename member `CH' to
3618 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3619 (decode_coding_sjis): Likewise.
3620 (decode_coding_big5): Likewise.
3621 (decode_coding_ucs4): Likewise.
3622 (decode_coding_utf8): Likewise.
3623 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3624 `CHARSET_BY_ATTRIBUTES'.
3625 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3626 `str->counter'; decode 3, 4 bytes sets.
3627 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3629 (decode_coding_no_conversion): Use `str->cpos' instead of
3632 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3633 (Qmojikyo_2022_1): New variable.
3634 (make_charset): Don't use `CHARSET_TYPE_*'.
3635 (range_charset_code_point): Support coded-charset
3637 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3638 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3639 `CHARSET_BY_ATTRIBUTES'.
3640 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3641 `CHARSET_BY_ATTRIBUTES'.
3642 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3643 (complex_vars_of_mule_charset): Add new coded-charset
3646 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3647 interface; changed to inline function.
3649 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3650 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3651 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3652 (CHARSET_TYPE_94): Deleted.
3653 (CHARSET_TYPE_94X94): Deleted.
3654 (CHARSET_TYPE_96): Deleted.
3655 (CHARSET_TYPE_96X96): Deleted.
3656 (CHARSET_TYPE_128): Deleted.
3657 (CHARSET_TYPE_128X128): Deleted.
3658 (CHARSET_TYPE_256): Deleted.
3659 (CHARSET_TYPE_256X256): Deleted.
3660 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3662 (DECODE_MOJIKYO_2022): New inline function.
3663 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3664 `Vcharset_mojikyo_2022_1'.
3666 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3668 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3670 (put_byte_table): Likewise.
3671 (char_id_table_equal): Use `get_byte_table' [new implementation].
3673 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3675 * mule-charset.c: Include <limits.h> in UTF-2000.
3676 (BT_UINT8_MIN): New macro in UTF-2000.
3677 (BT_UINT8_MAX): New macro in UTF-2000.
3678 (BT_UINT8_t): New macro in UTF-2000.
3679 (BT_UINT8_nil): New macro in UTF-2000.
3680 (BT_UINT8_unbound): New macro in UTF-2000.
3681 (INT_UINT8_P): New inline function in UTF-2000.
3682 (UINT8_VALUE_P): New inline function in UTF-2000.
3683 (UINT8_ENCODE): New inline function in UTF-2000.
3684 (UINT8_DECODE): New inline function in UTF-2000.
3685 (mark_uint8_byte_table): New function in UTF-2000.
3686 (print_uint8_byte_table): New function in UTF-2000.
3687 (uint8_byte_table_equal): New function in UTF-2000.
3688 (uint8_byte_table_hash): New function in UTF-2000.
3689 (make_uint8_byte_table): New function in UTF-2000.
3690 (uint8_byte_table_same_value_p): New function in UTF-2000.
3691 (BT_UINT16_MIN): New macro in UTF-2000.
3692 (BT_UINT16_MAX): New macro in UTF-2000.
3693 (BT_UINT16_t): New macro in UTF-2000.
3694 (BT_UINT16_nil): New macro in UTF-2000.
3695 (BT_UINT16_unbound): New macro in UTF-2000.
3696 (INT_UINT16_P): New inline function in UTF-2000.
3697 (UINT16_VALUE_P): New inline function in UTF-2000.
3698 (UINT16_ENCODE): New inline function in UTF-2000.
3699 (UINT16_DECODE): New inline function in UTF-2000.
3700 (UINT8_TO_UINT16): New inline function in UTF-2000.
3701 (mark_uint16_byte_table): New function in UTF-2000.
3702 (print_uint16_byte_table): New function in UTF-2000.
3703 (uint16_byte_table_equal): New function in UTF-2000.
3704 (uint16_byte_table_hash): New function in UTF-2000.
3705 (make_uint16_byte_table): New function in UTF-2000.
3706 (uint16_byte_table_same_value_p): New function in UTF-2000.
3707 (print_byte_table): New function in UTF-2000.
3708 (byte-table): Use `print_byte_table' as printer.
3709 (make_byte_table): Delete second argument `older'.
3710 (byte_table_same_value_p): New function in UTF-2000.
3711 (copy_byte_table): Deleted.
3712 (get_byte_table): New function in UTF-2000.
3713 (put_byte_table): New function in UTF-2000.
3714 (print_char_id_table): New function in UTF-2000.
3715 (char-id-table): Use `print_char_id_table' as printer.
3716 (make_char_id_table): Delete second argument `older'.
3717 (get_char_id_table): Use `get_byte_table [new implementation].
3718 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3720 (Ffind_char_attribute_table): New function in UTF-2000.
3721 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3722 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3723 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3724 (syms_of_mule_charset): Add new function
3725 `find-char-attribute-table' in UTF-2000.
3727 * lrecord.h (enum lrecord_type): Add
3728 `lrecord_type_uint16_byte_table' and
3729 `lrecord_type_uint8_byte_table'.
3731 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3732 (Lisp_Uint8_Byte_Table): New type.
3733 (XUINT8_BYTE_TABLE): New macro.
3734 (XSETUINT8_BYTE_TABLE): New macro.
3735 (UINT8_BYTE_TABLE_P): New macro.
3736 (GC_UINT8_BYTE_TABLE_P): New macro.
3737 (struct Lisp_Uint16_Byte_Table): New structure.
3738 (Lisp_Uint16_Byte_Table): New type.
3739 (XUINT16_BYTE_TABLE): New macro.
3740 (XSETUINT16_BYTE_TABLE): New macro.
3741 (UINT16_BYTE_TABLE_P): New macro.
3742 (GC_UINT16_BYTE_TABLE_P): New macro.
3744 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3746 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3747 (Vcharacter_ideographic_strokes_table): Deleted.
3748 (Vcharacter_total_strokes_table): Deleted.
3749 (Vcharacter_morohashi_daikanwa_table): Deleted.
3750 (Vcharacter_decomposition_table): Deleted.
3751 (Qname): Deleted because it is duplicated.
3752 (Qideographic_radical): Deleted.
3753 (Qideographic_strokes): Deleted.
3754 (Qtotal_strokes): Deleted.
3755 (Qmorohashi_daikanwa): Deleted.
3756 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3757 `ideographic-radical', `ideographic-strokes', `total-strokes',
3758 `morohashi-daikanwa' and `->decomposition'.
3759 (Fget_char_attribute): Likewise.
3760 (Fput_char_attribute): Likewise; use `make-vector' instead of
3761 `make_older_vector' for `->decomposition' value.
3762 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3763 `ideograph-daikanwa'.
3764 (syms_of_mule_charset): Delete builtin symbols `name',
3765 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3766 `morohashi-daikanwa'.
3767 (vars_of_mule_charset): Don't setup
3768 `Vcharacter_ideographic_radical_table',
3769 `Vcharacter_ideographic_strokes_table',
3770 `Vcharacter_total_strokes_table',
3771 `Vcharacter_morohashi_daikanwa_table' and
3772 `Vcharacter_decomposition_table'.
3774 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3776 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3777 `make_older_vector', `make_vector_newer_1' and
3778 `make_vector_newer'.
3780 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3781 `make_older_vector' and `make_vector_newer'.
3783 * config.h.in (HAVE_GGC): New macro.
3785 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3787 * mule-charset.c (struct char_attribute_list_closure): New
3788 structure in UTF-2000.
3789 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3790 (Fchar_attribute_list): Likewise.
3791 (Fset_charset_mapping_table): Use `make_vector_newer'.
3792 (Fdecode_builtin_char): New function in UTF-2000.
3793 (syms_of_mule_charset): Add new function `char-attribute-list' and
3794 `decode-builtin-char' in UTF-2000.
3796 * lisp.h (make_vector_newer): New prototype.
3798 * alloc.c (make_vector_newer_1): New function.
3799 (make_vector_newer): New function.
3801 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3803 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3806 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3808 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3809 (Vcharacter_attribute_table): Deleted.
3810 (Vcharacter_name_table): Deleted.
3811 (put_char_attribute): Deleted.
3812 (remove_char_attribute): Deleted.
3813 (struct char_attribute_alist_closure): New structure.
3814 (add_char_attribute_alist_mapper): New function.
3815 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3816 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3817 (Fget_char_attribute): Likewise.
3818 (Fput_char_attribute): Likewise.
3819 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3820 of `remove_char_attribute'.
3821 (Fdefine_char): Return character.
3822 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3823 and `Vcharacter_name_table'.
3824 (complex_vars_of_mule_charset): Likewise
3825 `Vchar_attribute_hash_table'.
3827 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3829 * character.h (CHARC_CHARSET): New macro.
3830 (CHARC_CHARSET_ID): New macro.
3831 (CHARC_CODE_POINT): New macro.
3832 (CHARC_COLUMNS): New macro.
3833 (CHARC_TO_CHAR): New inline function.
3834 (CHARC_EQ): New inline function.
3835 (CHARC_ASCII_EQ): New inline function.
3836 (CHARC_IS_SPACE): New inline function.
3837 (ASCII_TO_CHARC): New inline function.
3839 * char-ucs.h (encode_char_2): Deleted.
3840 (ENCODE_CHAR): Use `encode_char_1' again.
3841 (breakup_char_1): Likewise.
3842 (CHAR_TO_CHARC): New inline function.
3844 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3846 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3848 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3849 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3850 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3851 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3852 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3854 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3856 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3858 (x_output_display_block): Use `CHARC_CHARSET' and
3861 * redisplay-tty.c (tty_output_display_block): Use
3863 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3865 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3867 * insdel.c (find_charsets_in_charc_string): Use
3869 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3870 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3871 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3872 (convert_charc_string_into_malloced_string): Likewise.
3874 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3876 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3877 instead of <Emchar_dynarr *> for buf; use
3878 `convert_bufbyte_string_into_charc_dynarr' instead of
3879 `convert_bufbyte_string_into_emchar_dynarr'; use
3880 `find_charsets_in_charc_string' instead of
3881 `find_charsets_in_emchar_string'.
3884 - Include "character.h".
3885 (struct rune): New member `cglyph'; delete member `chr'.
3887 * redisplay.c (redisplay_text_width_charc_string): New function;
3888 delete `redisplay_text_width_emchar_string'.
3889 (rtw_charc_dynarr): New variable; renamed from
3890 `rtw_emchar_dynarr'.
3891 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3892 `rtw_emchar_dynarr'; use
3893 `convert_bufbyte_string_into_charc_dynarr' instead of
3894 `convert_bufbyte_string_into_emchar_dynarr'; use
3895 `redisplay_text_width_charc_string' instead of
3896 `redisplay_text_width_emchar_string'.
3897 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3898 instead of `rtw_emchar_dynarr'; use
3899 `convert_bufbyte_string_into_charc_dynarr' instead of
3900 `convert_bufbyte_string_into_emchar_dynarr'.
3901 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3902 `redisplay_text_width_charc_string' instead of
3903 `redisplay_text_width_emchar_string'.
3904 (create_text_block): Modify for <struct rune> change.
3905 (generate_formatted_string_db): Likewise.
3906 (create_string_text_block): Likewise.
3907 (pixel_to_glyph_translation): Likewise.
3909 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3910 instead of <const Emchar *>.
3911 (x_text_width): Likewise.
3912 (x_output_display_block): Use <Charc_dynarr *> instead
3913 <Emchar_dynarr *>; modify for <structure rune> change.
3914 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3917 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3918 <const Emchar *>; use `charc_string_displayed_columns' instead of
3919 `emchar_string_displayed_columns'.
3920 (tty_output_display_block): Use <Charc_dynarr *> instead of
3921 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3922 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3923 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3924 `tty_output_emchar_dynarr_dynarr'.
3925 (tty_output_charc_dynarr): New function; delete
3926 `tty_output_charc_dynarr'.
3928 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3929 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3930 <Emchar_dynarr *> for buf; use
3931 `convert_bufbyte_string_into_charc_dynarr' instead of
3932 `convert_bufbyte_string_into_emchar_dynarr'.
3934 * frame.c (title_string_charc_dynarr): New variable; renamed from
3935 `title_string_emchar_dynarr'.
3936 (generate_title_string): Use `title_string_charc_dynarr' instead
3937 of `title_string_emchar_dynarr'; use
3938 `convert_charc_string_into_malloced_string' instead of
3939 `convert_emchar_string_into_malloced_string'.
3940 (init_frame): Use `title_string_charc_dynarr' instead of
3941 `title_string_emchar_dynarr'.
3944 - Include "character.h".
3945 (struct console_methods): Use <const Charc *> instead of <const
3946 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3947 <Emchar_dynarr *> in output_string_method.
3949 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3952 * console-stream.c (stream_text_width): Use <const Charc *>
3953 instead of <const Emchar *>.
3955 * character.h (Charc_dynarr): New type.
3957 * char-ucs.h (structure Charc): New structure; define new type
3960 * char-lb.h (DECODE_CHAR): New inline function.
3961 (encode_char_1): New inline function.
3962 (ENCODE_CHAR): New macro.
3963 (structure Charc): New structure; define new type `Charc'.
3965 * char-1byte.h (Vcharset_control_1): New macro.
3966 (Vcharset_latin_iso8859_1): New macro.
3967 (DECODE_CHAR): New inline function.
3968 (encode_char_1): New inline function.
3969 (ENCODE_CHAR): New macro.
3970 (structure Charc): New structure; define new type `Charc'.
3972 * insdel.c (find_charsets_in_charc_string): New function; delete
3973 `find_charsets_in_emchar_string'.
3974 (charc_string_displayed_columns): New function; delete
3975 `emchar_string_displayed_columns'.
3976 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3977 `convert_bufbyte_string_into_emchar_dynarr'.
3978 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3979 `convert_charc_string_into_bufbyte_dynarr'.
3980 (convert_charc_string_into_malloced_string): New function; delete
3981 `convert_charc_string_into_malloced_string'.
3983 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3984 `find_charsets_in_emchar_string'.
3985 (charc_string_displayed_columns): New prototype; delete
3986 `emchar_string_displayed_columns'.
3987 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3988 `convert_charc_string_into_bufbyte_dynarr'.
3989 (convert_charc_string_into_malloced_string): New prototype; delete
3990 `convert_charc_string_into_malloced_string'.
3992 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3994 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3996 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3998 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4000 * char-ucs.h: Use <short> for <Charset_ID>.
4002 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4005 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4007 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4010 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4012 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4014 (Qmorohashi_daikanwa): New variable.
4015 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4016 for `morohashi-daikanwa' attribute.
4017 (Fget_char_attribute): Likewise.
4018 (Fput_char_attribute): Likewise.
4019 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4020 has the same value of `ideograph-daikanwa'.
4021 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4022 (vars_of_mule_charset): Setup
4023 `Vcharacter_morohashi_daikanwa_table'.
4025 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4027 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4029 (add_charset_to_list_mapper): Add `key' instead of
4030 `XCHARSET_NAME (value)' to return aliases.
4032 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4034 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4036 (Vcharacter_ideographic_strokes_table): New variable.
4037 (Qideographic_radical): New variable.
4038 (Qideographic_strokes): New variable.
4039 (Fchar_attribute_alist): Use
4040 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4041 attribute; use `Vcharacter_ideographic_strokes_table' for
4042 `ideographic-strokes' attribute.
4043 (Fget_char_attribute): Likewise.
4044 (Fput_char_attribute): Likewise.
4045 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4046 `ideographic-strokes'.
4047 (vars_of_mule_charset): Setup
4048 `Vcharacter_ideographic_radical_table' and
4049 `Vcharacter_ideographic_strokes_table'.
4051 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4053 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4054 (Qtotal_strokes): New variable.
4055 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4056 `total-strokes' attribute.
4057 (Fget_char_attribute): Likewise.
4058 (Fput_char_attribute): Likewise.
4059 (syms_of_mule_charset): Add new symbol `total-strokes'.
4060 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4062 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4064 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4065 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4067 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4068 `->decomposition' attribute.
4069 (Fput_char_attribute): Likewise.
4070 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4072 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4074 * mule-charset.c (decoding_table_check_elements): New function.
4075 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4077 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4079 * mule-charset.c (Fset_charset_mapping_table): Use
4080 `put_char_ccs_code_point'.
4082 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4084 * mule-charset.c (decoding_table_put_char): New inline function.
4085 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4087 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4089 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4090 (XCHARSET_BYTE_SIZE): New macro.
4091 (decoding_table_remove_char): New inline function.
4092 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4093 `decoding_table_remove_char'.
4094 (remove_char_ccs): Use `decoding_table_remove_char'.
4095 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4097 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4099 * mule-charset.c (Vcharacter_name_table): New variable.
4100 (Qname): New variable.
4101 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4103 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4104 `Vcharacter_name_table' for `name' attribute.
4105 (Fremove_char_attribute): Use function `remove_char_ccs'.
4106 (put_char_ccs_code_point): New function.
4107 (remove_char_ccs): New function.
4108 (syms_of_mule_charset): Add new symbol `name'.
4109 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4111 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4113 * mule-charset.c (make_byte_table): Add new argument `older'.
4114 (make_char_id_table): Likewise.
4115 (copy_char_id_table): Comment out because it is not used.
4116 (put_char_id_table): Modify for `make_byte_table'.
4117 (Fput_char_attribute): Make encoding_table as older object;
4118 inherit older bit of `Vcharacter_composition_table'.
4119 (mark_charset): Don't mark `cs->encoding_table'.
4120 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4121 normal object; make `Vcharacter_composition_table' as an older
4122 object; delete staticpro for `Vcharacter_composition_table'; make
4123 `Vcharacter_variant_table' as a normal object.
4125 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4126 (mark_object): Don't check older object in UTF-2000.
4128 * lrecord.h (struct lrecord_header): Add new member `older' in
4130 (set_lheader_implementation): Setup `SLI_header->older' in
4132 (set_lheader_older_implementation): New macro in UTF-2000.
4133 (OLDER_RECORD_P): New macro in UTF-2000.
4134 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4135 (alloc_older_lcrecord): New prototype in UTF-2000.
4136 (alloc_older_lcrecord_type): New macro in UTF-2000.
4138 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4140 * mule-charset.c (byte_table_description): Use
4141 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4142 (char_id_table_description): Delete bogus `, 1'.
4143 (Fget_char_attribute): Refer encoding_table of each coded-charset
4144 to get value of coded-charset attribute of a character.
4145 (Fput_char_attribute): Use `make_older_vector' instead of
4146 `make_vector'; use encoding_table of each coded-charset to store
4147 value of coded-charset attribute of a character.
4148 (Fremove_char_attribute): Use encoding_table of each coded-charset
4149 to store value of coded-charset attribute of a character.
4150 (mark_charset): Mark `cs->encoding_table'; don't mark
4151 `cs->decoding_table'.
4152 (charset_description): Add description of new member
4154 (make_charset): Initialize `encoding_table'.
4156 * char-ucs.h (struct Lisp_Charset): Add new member
4158 (CHARSET_ENCODING_TABLE): New macro.
4159 (XCHARSET_ENCODING_TABLE): New macro.
4160 (charset_code_point): New implementation.
4161 (encode_char_1): Likewise.
4163 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4164 (disksave_object_finalization_1): Call finalizers of
4165 `all_older_lcrecords' in UTF-2000.
4166 (make_older_vector): New function in UTF-2000.
4167 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4170 * lisp.h (make_older_vector): New prototype in UTF-2000.
4172 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4174 * lrecord.h (enum lrecord_type): Rename
4175 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4177 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4178 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4179 `get_char_code_table'.
4181 * mule-charset.c (mark_char_id_table): Renamed from
4182 `mark_char_code_table'.
4183 (char_id_table_equal): Renamed from `char_code_table_equal'.
4184 (char_id_table_hash): Renamed from `char_code_table_hash'.
4185 (make_char_id_table): Renamed from `make_char_code_table'.
4186 (copy_char_id_table): Renamed from `copy_char_code_table'.
4187 (get_char_id_table): Renamed from `get_char_code_table'.
4188 (put_char_id_table): Renamed from `put_char_code_table'.
4189 (to_char_id): Renamed from `to_char_code'.
4191 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4192 `Lisp_Char_Code_Table'.
4193 (char_id_table): Renamed from `char_code_table'.
4194 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4195 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4196 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4197 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4198 (get_char_id_table): Renamed from `get_char_code_table'.
4200 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4202 * lrecord.h (enum lrecord_type): Rename
4203 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4205 * mule-charset.c (mark_byte_table): Renamed from
4206 `mark_char_byte_table'.
4207 (byte_table_equal): Renamed from `char_byte_table_equal'.
4208 (byte_table_hash): Renamed from `byte_table_hash'.
4209 (make_byte_table): Renamed from `make_byte_table'.
4210 (copy_byte_table): Renamed from `copy_char_byte_table'.
4212 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4213 `Lisp_Char_Byte_Table'.
4214 (byte_table): Renamed from `char_byte_table'.
4215 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4216 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4217 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4218 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4220 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4222 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4223 (dfc_convert_to_internal_format): Likewise.
4225 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4226 * text-coding.c (Fcoding_system_alias_p): New function.
4227 * text-coding.c (Fcoding_system_aliasee): New function.
4228 * text-coding.c (append_suffix_to_symbol): New function.
4229 * text-coding.c (dangling_coding_system_alias_p): New function.
4230 * text-coding.c (Ffind_coding_system):
4231 * text-coding.c (Fcopy_coding_system):
4232 * text-coding.c (encode_coding_no_conversion):
4233 * text-coding.c (syms_of_file_coding):
4234 * text-coding.c (vars_of_file_coding):
4235 Rewrite coding system alias code.
4236 Allow nested aliases, like symbolic links.
4237 Allow redefinition of coding system aliases.
4238 Prevent existence of dangling coding system aliases.
4239 Eliminate convert_to_external_format.
4240 Eliminate convert_to_internal_format.
4242 * text-coding.c: Change enum eol_type to eol_type_t.
4244 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4246 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4247 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4249 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4250 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4252 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4254 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4255 `ideograph-daikanwa'.
4257 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4258 (Vcharset_ucs_bmp): Likewise.
4259 (Vcharset_mojikyo): Add new extern variable definition.
4260 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4261 (Vcharset_latin_iso8859_3): Likewise.
4262 (Vcharset_latin_iso8859_4): Likewise.
4263 (Vcharset_latin_iso8859_9): Likewise.
4264 (Vcharset_latin_viscii_lower): Likewise.
4265 (Vcharset_latin_viscii_upper): Likewise.
4266 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4267 `mojikyo' code-point is used to decode.
4268 (encode_char_2): New function [to convert `mojikyo' code-point to
4269 Mojikyo font encoding].
4270 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4271 (breakup_char_1): Likewise.
4272 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4274 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4276 * text-coding.c (Fmake_coding_system): Add document about
4277 `disable-composition' property.
4279 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4281 * text-coding.c (Qdisable_composition): New variable; delete
4283 (Fmake_coding_system): Add new property `disable-composite';
4284 delete property `composite'.
4285 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4286 instead of `!CODING_SYSTEM_COMPOSITE'.
4287 (syms_of_file_coding): Add new symbol `disable-composition';
4288 delete symbol `composite'.
4290 * file-coding.h (struct Lisp_Coding_System): Add
4291 `disable_composition'; delete `enable_composition'.
4292 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4293 `CODING_SYSTEM_COMPOSITE'.
4294 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4295 `XCODING_SYSTEM_COMPOSITE'.
4297 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4299 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4302 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4304 * text-coding.c (Qcomposite): New variable.
4305 (Fmake_coding_system): Add new property `composite'.
4306 (struct decoding_stream): Add `combined_char_count',
4307 `combined_chars' and `combining_table' in UTF-2000.
4308 (COMPOSE_FLUSH_CHARS): New macro.
4309 (COMPOSE_ADD_CHAR): New macro.
4310 (reset_decoding_stream): Reset `str->combined_char_count' and
4311 `str->combining_table' in UTF-2000.
4312 (decode_coding_iso2022): Modify for character-decomposition.
4313 (syms_of_file_coding): Add new symbol `composite'.
4315 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4317 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4318 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4319 of `Vcharacter_composition_table' if `->decomposition' property
4321 (Qlatin_tcvn5712): New variable.
4322 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4323 (complex_vars_of_mule_charset): Add new coded-charset
4326 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4328 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4330 * file-coding.h (struct Lisp_Coding_System): Add
4331 `enable_composition'.
4332 (CODING_SYSTEM_COMPOSITE): New macro.
4333 (XCODING_SYSTEM_COMPOSITE): New macro.
4335 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4337 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4339 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4341 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4342 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4344 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4346 * mule-charset.c (Vcharset_mojikyo): New variable.
4347 (Fdefine_char): Don't use coded-charset which does not have
4348 non-builtin character range to allocate character-id.
4349 (Qmojikyo): New variable.
4350 (syms_of_mule_charset): Add new symbol `mojikyo'.
4351 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4353 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4354 (LEADING_BYTE_MOJIKYO): New macro.
4355 (MIN_CHAR_MOJIKYO): New macro.
4356 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4357 (MAX_CHAR_MOJIKYO): New macro.
4359 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4361 * mule-charset.c (remove_char_attribute): Fixed.
4363 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4365 * mule-charset.c (remove_char_attribute): New function.
4366 (Fremove_char_attribute): New function.
4367 (encode_builtin_char_1): Comment out builtin-support for
4368 greek-iso8859-7 and cyrillic-iso8859-5.
4369 (Fdecode_char): Check `code' is an integer.
4370 (syms_of_mule_charset): Add `remove-char-attribute'.
4371 (MIN_CHAR_GREEK): Deleted.
4372 (MAX_CHAR_GREEK): Likewise.
4373 (MIN_CHAR_CYRILLIC): Likewise.
4374 (MAX_CHAR_CYRILLIC): Likewise.
4375 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4376 MAX_CHAR_GREEK for `greek-iso8859-7'.
4378 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4379 (MAX_CHAR_GREEK): Likewise.
4380 (MIN_CHAR_CYRILLIC): Likewise.
4381 (MAX_CHAR_CYRILLIC): Likewise.
4383 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4385 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4386 format is used without `ucs' property.
4387 (Fdecode_char): Fix problem with GR representation.
4388 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4389 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4391 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4393 * mule-charset.c (make_builtin_char): New function.
4394 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4395 (Fset_charset_mapping_table): Modify for new representation of
4397 (Fdecode_char): New function.
4398 (syms_of_mule_charset): Add new builtin function `decode-char' in
4401 * char-ucs.h (make_builtin_char): New prototype.
4402 (DECODE_CHAR): New inline function.
4403 (MAKE_CHAR): Use `DECODE_CHAR'.
4405 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4407 * text-coding.c (parse_charset_conversion_specs): Use
4408 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4410 (iso2022_designate): Likewise.
4412 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4413 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4415 * mule-charset.c (Vcharset_ucs): New variable.
4416 (print_charset): Change design; use `CHARSET_CHARS' and
4417 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4418 (make_charset): Change signature to specify `chars' and
4419 `dimension' instead of `type'.
4420 (range_charset_code_point): Modify for 256^n-set.
4421 (encode_builtin_char_1): Encode as `ucs' in default.
4422 (Fmake_charset): Modify for `make_charset'.
4423 (Fmake_reverse_direction_charset): Likewise.
4424 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4426 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4429 * char-ucs.h (Vcharset_ucs): New variable.
4430 (LEADING_BYTE_UCS): New macro.
4431 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4432 and `chars' to `unsigned short' from `unsigned int'.
4433 (CHARSET_TYPE): Deleted.
4434 (XCHARSET_TYPE): Deleted.
4436 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4438 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4440 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4441 (ENCODE_CHAR): New macro.
4443 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4445 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4446 to 0.14 (Kawachi-Katakami).
4448 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4450 * text-coding.c (char_encode_shift_jis): Modify for
4451 `charset_code_point'.
4452 (char_encode_iso2022): Likewise.
4454 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4455 (integer) instead of list of <Lisp_Object>s (integers) as the
4456 format of code-point of a coded-charset.
4457 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4458 (encode_builtin_char_1): New function; delete
4459 `split_builtin_char'.
4460 (charset_code_point): Return <int> instead of <Lisp_Object>.
4461 (Fsplit_char): Don't use `SPLIT_CHAR'.
4463 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4464 prototype for `split_builtin_char'.
4465 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4466 (charset_code_point): Likewise.
4467 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4468 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4470 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4472 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4473 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4475 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4477 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4479 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4480 (MAX_CHAR_OBS_94x94): Deleted.
4482 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4484 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4486 * char-ucs.h (MAX_CHAR_BMP): New macro.
4488 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4490 * text-coding.c: Sync with r21-2-24.
4492 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4494 * file-coding.c: Modify for UTF-2000.
4496 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4498 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4501 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4503 * mule-charset.c (split_builtin_char): Delete builtin support for
4504 `katakana-jisx0201'.
4505 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4506 BMP area in builtin representation.
4508 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4509 `Vcharset_katakana_jisx0201'.
4511 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4513 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4514 (Qisolated): New variable.
4515 (Qinitial): New variable.
4516 (Qmedial): New variable.
4517 (Qfinal): New variable.
4518 (Qvertical): New variable.
4519 (Qsmall): New variable.
4520 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4521 `Qvertical' and `Qsmall'.
4522 (Qmojikyo_pj_[1 .. 21]): New variable.
4523 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4524 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4525 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4528 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4530 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4531 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4532 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4534 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4536 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4537 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4539 (Qjapanese_jisx0208_1990): New variable.
4540 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4541 (complex_vars_of_mule_charset): Add new coded-charset
4542 `japanese-jisx0208-1990'.
4544 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4545 (MIN_CHAR_JIS_X0208_1990): New macro.
4546 (MAX_CHAR_JIS_X0208_1990): New macro.
4548 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4550 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4551 coded-charset is not found.
4553 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4555 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4556 (Fdefine_char): Use `Fmake_char'.
4558 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4560 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4561 (Vcharset_hiragana_jisx0208): Deleted.
4562 (Vcharset_katakana_jisx0208): Deleted.
4563 (Qideograph_daikanwa): New variable.
4564 (Qhiragana_jisx0208): Deleted.
4565 (Qkatakana_jisx0208): Deleted.
4566 (split_builtin_char): Split `ideograph-daikanwa'.
4567 (Fsplit_char): New implementation for UTF-2000.
4568 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4569 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4570 (complex_vars_of_mule_charset): Add new coded-charset
4571 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4572 `katakana-jisx0208'.
4574 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4575 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4576 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4577 (MIN_CHAR_DAIKANWA): New macro.
4578 (MAX_CHAR_DAIKANWA): New macro.
4580 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4582 * data.c (Fstring_to_number): Don't recognize floating point if
4585 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4587 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4589 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4591 * mule-charset.c (Qsquare): New variable.
4592 (to_char_code): Add `Qsquare'.
4593 (syms_of_mule_charset): Add new symbol `square'.
4595 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4597 * mule-charset.c (Qcircle): New variable.
4598 (to_char_code): Add `Qcircle'.
4599 (syms_of_mule_charset): Add new symbol `circle'.
4601 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4603 * mule-charset.c (Qfont): New variable.
4604 (to_char_code): Add `Qfont'.
4605 (syms_of_mule_charset): Add new symbol `font'.
4607 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4609 * mule-charset.c (Qsub): New variable.
4610 (to_char_code): Add `Qsub'.
4611 (syms_of_mule_charset): Add new symbol `sub'.
4613 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4615 * mule-charset.c (Fput_char_attribute): Convert each element of
4616 VALUE to GL position if ATTRIBUTE is a GR-set,
4618 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4620 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4621 coded-charset is a GR-set.
4623 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4625 * mule-charset.c (Fput_char_attribute): Check each element of
4626 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4628 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4630 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4632 (Qethiopic_ucs): New variable in UTF-2000.
4633 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4634 (complex_vars_of_mule_charset): Add new coded-charset
4635 `ethiopic-ucs' in UTF-2000.
4637 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4638 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4640 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4642 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4644 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4646 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4649 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4651 * mule-charset.c (Vcharacter_variant_table): New variable.
4652 (Q_ucs): New variable.
4653 (Fchar_variants): New function.
4654 (Fput_char_attribute): Register `->ucs' value to
4655 `Vcharacter_variant_table'.
4656 (syms_of_mule_charset): Add new function `char-variants' and new
4658 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4660 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * mule-charset.c (get_char_code_table): Allow negative character
4664 (put_char_code_table): Likewise.
4665 (Vcharacter_composition_table): New variable.
4666 (Q_decomposition): New variable.
4667 (Qwide): New variable.
4668 (Qnarrow): New variable.
4669 (Qcompat): New variable.
4670 (QnoBreak): New variable.
4671 (Qsuper): New variable.
4672 (Qfraction): New variable.
4673 (to_char_code): New function.
4674 (Fget_composite_char): New function.
4675 (Fput_char_attribute): Register `->decomposition' value to
4676 `Vcharacter_composition_table'.
4677 (syms_of_mule_charset): Add new function `get-composite-char', new
4678 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4679 `super' and `fraction'.
4680 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4682 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4684 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4685 character; copy the return value.
4687 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4689 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4691 * mule-charset.c (range_charset_code_point): Must use make_int.
4692 (split_builtin_char): New function.
4694 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4696 * mule-charset.c (char_byte_table): Change name from
4697 "char-code-table" to "char-byte-table".
4698 (mark_char_code_table): New function.
4699 (char_code_table_equal): New function.
4700 (char_code_table_hash): New function.
4701 (char_code_table_description): New constant.
4702 (char_code_table): New type.
4703 (make_char_code_table): New function.
4704 (copy_char_code_table): New function.
4705 (get_char_code_table): Modify for `char_code_table' type.
4706 (put_char_code_table): Likewise.
4707 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4710 * char-ucs.h (char_code_table): New type.
4711 (XCHAR_CODE_TABLE): New macro.
4712 (XSETCHAR_CODE_TABLE): New macro.
4713 (CHAR_CODE_TABLE_P): New macro.
4714 (GC_CHAR_CODE_TABLE_P): New macro.
4715 (struct Lisp_Char_Code_Table): New structure.
4717 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4719 * mule-charset.c (Fmake_charset): Setup byte_offset for
4722 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4724 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4727 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4729 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4732 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4734 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4735 charset, it is regarded as a charset.
4736 (put_char_attribute): New function in UTF-2000.
4737 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4738 charset, mapping-table of the charset is modified.
4739 (Fdefine_char): New function in UTF-2000.
4740 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4741 `Fput_char_attribute'.
4742 (syms_of_mule_charset): Add new function `define-char' and new
4743 symbol `ucs' in UTF-2000.
4744 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4746 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4748 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4749 non-UTF-2000 configuration.
4751 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4753 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4754 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4756 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4758 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4759 (Fset_charset_mapping_table): Likewise.
4761 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4762 (CHARSET_ENCODING_TABLE): Delete.
4763 (XCHARSET_ENCODING_TABLE): Delete.
4764 (charset_code_point): New interface.
4766 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4768 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4769 instead of `charset_get_byte1' and `charset_get_byte2'.
4771 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4772 (charset_get_byte2): Deleted.
4774 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4776 * char-ucs.h (SPLIT_CHAR): New inline function.
4777 (breakup_char_1): Use `SPLIT_CHAR'.
4779 * mule-charset.c (range_charset_code_point): New function.
4780 (charset_code_point): New function.
4782 * char-ucs.h (range_charset_code_point): New interface.
4783 (breakup_char_1): Use `range_charset_code_point'.
4785 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4787 * mule-charset.c (Fmake_charset): Delete unused local variable
4790 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4791 (breakup_char_1): Find a charset and code-point in
4792 `Vcharacter_attribute_table'.
4794 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4796 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4799 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4801 * mule-charset.c (Vcharacter_attribute_table): New variable.
4802 (Fchar_attribute_alist): New function.
4803 (Fget_char_attribute): New function.
4804 (Fput_char_attribute): New function.
4805 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4807 (syms_of_mule_charset): Add new function `char-attribute-alist',
4808 `get-char-attribute' and `put-char-attribute'.
4809 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4811 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4813 * mule-charset.c (Fmake_charset): Just use
4814 `get_unallocated_leading_byte'.
4816 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4817 sets; don't use final-byte based number for private sets.
4819 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4821 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4824 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4829 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4831 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4832 of `CHAR_LEADING_BYTE' in UTF-2000.
4834 * insdel.c (find_charsets_in_bufbyte_string): Use
4835 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4836 (find_charsets_in_emchar_string): Likewise.
4838 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4839 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4841 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4842 (CHAR_CHARSET_ID): New macro.
4844 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4846 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4847 charset-id - MIN_LEADING_BYTE.
4848 (put_char_table): Likewise.
4850 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4852 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4853 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4854 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4855 (CHARSET_ID_OFFSET): New macro.
4856 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4857 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4858 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4859 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4861 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4863 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4864 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4865 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4866 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4867 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4869 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4871 * mule-charset.c (next_allocated_leading_byte): New variable in
4873 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4874 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4875 (get_unallocated_leading_byte): Simply use
4876 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4877 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4880 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4881 (MAX_LEADING_BYTE_PRIVATE): New macro.
4882 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4883 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4885 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4887 * mule-charset.c (Fmake_charset): Allocate final-byte based
4888 charset-id for 94-set, 96-set and 94x94-set.
4890 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4892 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4894 (Fmake_charset): Likewise.
4895 (complex_vars_of_mule_charset): Modify the font registry of
4896 `ucs-bmp' not to match `Ethiopic-Unicode'.
4898 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4900 * mule-charset.c (complex_vars_of_mule_charset): Add font
4901 registory of `ucs-bmp'.
4903 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4905 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4906 coded-charsets in `default-coded-charset-priority-list' when
4907 breaking up a character.
4909 * mule-charset.c (Vcharset_latin_viscii): New variable.
4910 (Qlatin_viscii): New variable.
4911 (make_charset): Don't use `decoding_table'.
4912 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4914 (Fset_charset_mapping_table): New implementation.
4915 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4916 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4917 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4918 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4919 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4920 charset `latin_viscii'.
4922 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4923 (CHARSET_TYPE_94X94): Change to 1 from 2.
4924 (CHARSET_TYPE_96): Change to 2 from 1.
4925 (CHARSET_TYPE_128): New macro.
4926 (CHARSET_TYPE_128X128): Change to 5 from 4.
4927 (CHARSET_TYPE_256): New macro.
4928 (CHARSET_TYPE_256X256): Change to 7 from 5.
4929 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4931 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4933 * text-coding.c (char_encode_shift_jis): Refer
4934 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4935 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4937 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4938 (char_byte_table_equal): New function in UTF-2000.
4939 (char_byte_table_hash): New function in UTF-2000.
4940 (char_byte_table_description): New constant in UTF-2000.
4941 (char_byte_table): New type in UTF-2000.
4942 (make_char_byte_table): New function in UTF-2000.
4943 (copy_char_byte_table): New function in UTF-2000.
4944 (make_char_code_table): New macro in UTF-2000.
4945 (get_char_code_table): New function in UTF-2000.
4946 (put_char_code_table): New function in UTF-2000.
4947 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4948 (charset_description): Add setting in UTF-2000.
4949 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4950 `CHARSET_TO_BYTE1_TABLE(cs)'.
4951 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4952 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4953 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4954 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4955 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4956 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4957 `CHARSET_TO_BYTE2_TABLE(cs)'.
4959 * char-ucs.h (char_byte_table): New type.
4960 (XCHAR_BYTE_TABLE): New macro.
4961 (XSETCHAR_BYTE_TABLE): New macro.
4962 (CHAR_BYTE_TABLE_P): New macro.
4963 (GC_CHAR_BYTE_TABLE_P): New macro.
4964 (struct Lisp_Char_Byte_Table): New structure.
4965 (get_char_code_table): New interface.
4966 (Emchar_to_byte_table): Deleted.
4967 (get_byte_from_character_table): Deleted.
4968 (struct Lisp_Charset): Add `encoding_table'; delete
4969 `to_byte1_table' and `to_byte2_table'.
4970 (CHARSET_ENCODING_TABLE): New macro.
4971 (CHARSET_TO_BYTE1_TABLE): Deleted.
4972 (CHARSET_TO_BYTE2_TABLE): Deleted.
4973 (XCHARSET_ENCODING_TABLE): New macro.
4974 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4975 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4977 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4979 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4980 `vietnamese-viscii-*'.
4982 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4984 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4985 (Qvietnamese_viscii_upper): New variable.
4986 (Fdefine_charset_alias): New function.
4987 (syms_of_mule_charset): Add new function `define-charset-alias'.
4988 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4989 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4992 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4994 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4995 (MAX_CHAR_OBS_94x94): New macro.
4996 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4999 * mule-charset.c (put_byte_from_character_table): Change unit size
5001 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5003 (Fmake_reverse_direction_charset): Modify dummy argument of
5004 `make_charset' for non-UTF-2000 environment.
5006 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5008 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5010 * mule-charset.c (destroy_byte_from_character_table): New macro.
5011 (latin_jisx0201_to_ucs): Deleted.
5012 (latin_iso8859_2_to_ucs): Deleted.
5013 (latin_iso8859_3_to_ucs): Deleted.
5014 (latin_iso8859_4_to_ucs): Deleted.
5015 (latin_iso8859_9_to_ucs): Deleted.
5016 (latin_viscii_lower_to_ucs): Deleted.
5017 (latin_viscii_upper_to_ucs): Deleted.
5018 (mark_charset): Mark `cs->decoding_table'.
5019 (Fcharset_mapping_table): Fix DOC-string.
5020 (Fset_charset_mapping_table): New function.
5021 (syms_of_mule_charset): Add nwe function
5022 `set-charset-mapping-table'.
5023 (complex_vars_of_mule_charset): Don't setup and use
5026 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5028 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5031 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5033 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5034 (Vcharset_katakana_jisx0208): New variable.
5035 (Qhiragana_jisx0208): New variable.
5036 (Qkatakana_jisx0208): New variable.
5037 (make_charset): Add new argument `byte_offset'.
5038 (charset_get_byte1): Modify for new coded-charset definition; use
5039 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5040 `XCHARSET_BYTE_OFFSET'.
5041 (Fmake_charset): Modify for `make_charset'.
5042 (Fmake_reverse_direction_charset): Likewise.
5043 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5044 `katakana-jisx0208'.
5045 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5046 `.' in font registry of charset `katakana-jisx0201',
5047 `latin-jisx0201', `vietnamese-viscii-lower' and
5048 `vietnamese-viscii-upper'; modify DOC-string of charset
5049 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5050 registry of charset `japanese-jisx0208' not to use font for JIS
5051 X0208:1990; add new charset `hiragana-jisx0208' and
5052 `katakana-jisx0208'.
5054 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5055 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5056 (struct Lisp_Charset): Add `byte_offset'.
5057 (CHARSET_BYTE_OFFSET): New macro.
5058 (XCHARSET_UCS_MIN): New macro.
5059 (XCHARSET_UCS_MAX): New macro.
5060 (XCHARSET_CODE_OFFSET): New macro.
5061 (XCHARSET_BYTE_OFFSET): New macro.
5062 (MIN_CHAR_HIRAGANA): New macro.
5063 (MAX_CHAR_HIRAGANA): New macro.
5064 (MIN_CHAR_KATAKANA): New macro.
5065 (MAX_CHAR_KATAKANA): New macro.
5066 (MAKE_CHAR): Modify for new coded-charset definition; use
5067 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5068 `XCHARSET_BYTE_OFFSET'.
5070 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5072 * mule-charset.c (CHAR96): Deleted.
5073 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5075 (latin_iso8859_2_to_ucs): Likewise.
5076 (latin_iso8859_3_to_ucs): Likewise.
5077 (latin_iso8859_4_to_ucs): Likewise.
5078 (latin_iso8859_9_to_ucs): Likewise.
5079 (latin_viscii_lower_to_ucs): Likewise.
5080 (latin_viscii_upper_to_ucs): Likewise.
5081 (latin_tcvn5712_to_ucs): Commented out.
5082 (make_charset): Change type of argument `decoding_table' from
5083 <Emchar*> to <Lisp_Object> [vector of characters].
5084 (Fmake_charset): Modify for `make_charset'.
5085 (Fmake_reverse_direction_charset): Likewise.
5086 (Fcharset_mapping_table): New function in UTF-2000.
5087 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5089 (complex_vars_of_mule_charset): Modify for type change of
5090 `*_to_ucs'; modify for `make_charset'.
5092 * char-ucs.h (struct Lisp_Charset): Change type of
5093 `decoding_table' from <Emchar*> to <Lisp_Object>.
5094 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5096 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5099 error with non-UTF-2000-Mule.
5101 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5103 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5105 (Vcharset_chinese_cns11643_4): Likewise.
5106 (Vcharset_chinese_cns11643_5): Likewise.
5107 (Vcharset_chinese_cns11643_6): Likewise.
5108 (Vcharset_chinese_cns11643_7): Likewise.
5109 (Qchinese_cns11643_3): Likewise.
5110 (Qchinese_cns11643_4): Likewise.
5111 (Qchinese_cns11643_5): Likewise.
5112 (Qchinese_cns11643_6): Likewise.
5113 (Qchinese_cns11643_7): Likewise.
5114 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5115 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5116 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5117 (complex_vars_of_mule_charset): Likewise.
5119 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5121 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5123 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5124 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5126 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5128 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5130 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5131 (breakup_char_1): Likewise.
5133 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5134 one of them includes the specified character.
5136 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5138 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5140 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5142 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5144 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5146 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5147 definition for non-UTF-2000 Mule.
5148 (latin_iso8859_3_to_ucs): Likewise.
5149 (latin_iso8859_4_to_ucs): Likewise.
5150 (latin_iso8859_9_to_ucs): Likewise.
5151 (latin_jisx0201_to_ucs): Likewise.
5152 (MIN_CHAR_THAI): Likewise.
5153 (MAX_CHAR_THAI): Likewise.
5154 (MIN_CHAR_GREEK): Likewise.
5155 (MAX_CHAR_GREEK): Likewise.
5156 (MIN_CHAR_HEBREW): Likewise.
5157 (MAX_CHAR_HEBREW): Likewise.
5158 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5159 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5160 (MIN_CHAR_CYRILLIC): Likewise.
5161 (MAX_CHAR_CYRILLIC): Likewise.
5163 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5165 * char-ucs.h (breakup_char_1): Use
5166 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5167 thai-tis620 and katakana-jisx0201 area.
5169 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5171 * char-ucs.h (breakup_char_1): Use
5172 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5175 * text-coding.c (reset_encoding_stream): Fixed.
5176 (char_encode_ucs4): Delete `& 255'.
5178 * char-ucs.h (breakup_char_1): Use
5179 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5181 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5183 * file-coding.c (Fmake_coding_system): Don't set up
5184 `codesys->fixed.size'.
5185 (encode_coding_no_conversion): Don't refer
5186 `str->codesys->fixed.size'.
5188 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5190 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5191 (latin_a_char_to_byte1): Deleted.
5192 (latin_a_char_to_byte2): Deleted.
5194 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5196 * mule-charset.c (make_charset): Add new argument `ucs_min',
5197 `ucs_max' and `code_offset'.
5198 (charset_get_byte1): New implementation [delete specific charset
5199 depended implementations].
5200 (Fmake_charset): Modify for `make_charset'.
5201 (Fmake_reverse_direction_charset): Likewise.
5202 (complex_vars_of_mule_charset): Likewise.
5204 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5206 (CHARSET_UCS_MIN): New macro.
5207 (CHARSET_UCS_MAX): New macro.
5208 (CHARSET_CODE_OFFSET): New macro.
5209 (MAKE_CHAR): Delete charset depended definitions [except
5212 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5214 * char-ucs.h (breakup_char_1): Use
5215 `Vdefault_coded_charset_priority_list' for C0-Controls,
5216 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5218 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5220 * char-ucs.h (charset_get_byte1): New function.
5221 (XCHARSET_GET_BYTE1): Deleted.
5222 (charset_get_byte2): New function.
5223 (XCHARSET_GET_BYTE2): Deleted.
5224 (Vdefault_coded_charset_priority_list): New external variable.
5225 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5226 `Vdefault_preferred_coded_charset_list'.
5228 * mule-charset.c (charset_get_byte1): New function.
5229 (charset_get_byte2): New function.
5230 (Vdefault_coded_charset_priority_list): New variable.
5231 (vars_of_mule_charset): Add new variable
5232 `default-coded-charset-priority-list'.
5234 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5236 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5237 (XCHARSET_GET_BYTE2): New inline function.
5238 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5239 `XCHARSET_GET_BYTE2'.
5241 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5243 * mule-charset.c (make_charset): Initialize
5244 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5245 NULL if table is not defined.
5247 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5249 * text-coding.c (char_encode_shift_jis): Use
5250 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5251 `ucs_to_latin_jisx0201'.
5253 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5254 (ucs_to_latin_iso8859_2): Deleted.
5255 (ucs_to_latin_iso8859_3): Deleted.
5256 (ucs_to_latin_iso8859_4): Deleted.
5257 (ucs_to_latin_iso8859_9): Deleted.
5258 (ucs_to_latin_viscii_lower): Deleted.
5259 (ucs_to_latin_viscii_upper): Deleted.
5260 (ucs_to_latin_tcvn5712): Deleted.
5261 (make_charset): Add new argument `decoding_table'; set up
5262 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5263 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5264 `decoding_table' is defined in UTF-2000.
5265 (Fmake_charset): Modify for `make_charset'.
5266 (Fmake_reverse_direction_charset): Likewise.
5267 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5268 and `GENERATE_96_SET'.
5270 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5271 (ucs_to_latin_jisx0201): Deleted.
5272 (latin_iso8859_2_to_ucs): Deleted.
5273 (ucs_to_latin_iso8859_2): Deleted.
5274 (latin_iso8859_3_to_ucs): Deleted.
5275 (ucs_to_latin_iso8859_3): Deleted.
5276 (latin_iso8859_4_to_ucs): Deleted.
5277 (ucs_to_latin_iso8859_4): Deleted.
5278 (latin_iso8859_9_to_ucs): Deleted.
5279 (ucs_to_latin_iso8859_9): Deleted.
5280 (latin_viscii_lower_to_ucs): Deleted.
5281 (ucs_to_latin_viscii_lower): Deleted.
5282 (latin_viscii_upper_to_ucs): Deleted.
5283 (ucs_to_latin_viscii_upper): Deleted.
5284 (struct Lisp_Charset): Renamed `encoding_table' to
5285 `to_byte1_table'; add `to_byte2_table'.
5286 (CHARSET_DECODING_TABLE): New macro.
5287 (CHARSET_TO_BYTE1_TABLE): New macro.
5288 (CHARSET_TO_BYTE2_TABLE): New macro.
5289 (XCHARSET_DECODING_TABLE): New macro.
5290 (XCHARSET_TO_BYTE1_TABLE): New macro.
5291 (XCHARSET_TO_BYTE2_TABLE): New macro.
5292 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5294 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5295 don't use `ucs_to_*' tables.
5297 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5299 * text-coding.c (Fmake_coding_system): Don't set up
5300 `codesys->fixed.size'.
5301 (encode_coding_no_conversion): Use `if' instead of `switch'.
5303 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5305 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5307 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5308 (Fmake_charset): Modify for `make_charset'.
5309 (Fmake_reverse_direction_charset): Likewise.
5310 (complex_vars_of_mule_charset): Likewise.
5312 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5314 * text-coding.c (char_encode_shift_jis): Use table
5315 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5317 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5319 * text-coding.c (text_encode_generic): Use `if' instead of
5321 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5324 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5326 * text-coding.c (encode_coding_sjis): Deleted.
5327 (char_encode_shift_jis): New function.
5328 (char_finish_shift_jis): New function.
5329 (reset_encoding_stream): Set up `encode_char' and `finish' for
5330 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5331 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5332 (char_encode_utf8): Treat `eol_type'.
5334 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5336 * file-coding.c (decode_coding_iso2022): Use
5337 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5339 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5341 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5344 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5346 * char-lb.h (CHAR_COLUMNS): New macro.
5348 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5350 * text-coding.c (char_encode_ucs4): New function.
5351 (char_finish_ucs4): New function.
5352 (encode_coding_ucs4): Deleted.
5353 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5354 (text_encode_generic): Delete local variable `charset' and `half'.
5355 (ucs_to_mule_table): Deleted.
5356 (mule_to_ucs_table): Deleted.
5357 (Fset_ucs_char): Deleted.
5358 (ucs_to_char): Deleted.
5359 (Fucs_char): Deleted.
5360 (Fset_char_ucs): Deleted.
5361 (Fchar_ucs): Deleted.
5362 (decode_ucs4): Deleted.
5363 (mule_char_to_ucs4): Deleted.
5364 (encode_ucs4): Deleted.
5365 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5366 (decode_coding_utf8): Likewise.
5367 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5368 (char_encode_iso2022): Fixed.
5369 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5370 `Fset_char_ucs' and `Fchar_ucs'.
5371 (complex_vars_of_file_coding): Don't initialize
5372 `ucs_to_mule_table'.
5374 * objects-tty.c (tty_initialize_font_instance): Don't use
5377 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5380 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5381 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5383 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5384 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5385 (emchar_string_displayed_columns): Likewise.
5387 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5388 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5389 (string_column_at_point): Likewise.
5390 (Fmove_to_column): Likewise.
5392 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5393 `encoding_table' and `decoding_table'.
5394 (CHARSET_REP_BYTES): Deleted.
5395 (XCHARSET_REP_BYTES): Deleted.
5396 (XCHARSET_COLUMNS): Deleted.
5397 (CHAR_COLUMNS): New macro.
5398 (lookup_composite_char): Deleted unconditionally.
5399 (composite_char_string): Likewise.
5401 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5403 * char-ucs.h (Emchar_to_byte_table): New type.
5404 (get_byte_from_character_table): New function interface.
5405 (Vcharset_latin_jisx0201): New variable.
5406 (latin_jisx0201_to_ucs): New variable.
5407 (ucs_to_latin_jisx0201): New variable.
5408 (Vcharset_latin_iso8859_2): New variable.
5409 (latin_iso8859_2_to_ucs): New variable.
5410 (ucs_to_latin_iso8859_2): New variable.
5411 (Vcharset_latin_iso8859_3): New variable.
5412 (latin_iso8859_3_to_ucs): New variable.
5413 (ucs_to_latin_iso8859_3): New variable.
5414 (Vcharset_latin_iso8859_4): New variable.
5415 (latin_iso8859_4_to_ucs): New variable.
5416 (ucs_to_latin_iso8859_4): New variable.
5417 (Vcharset_latin_iso8859_9): New variable.
5418 (latin_iso8859_9_to_ucs): New variable.
5419 (ucs_to_latin_iso8859_9): New variable.
5420 (Vcharset_latin_viscii_lower): New variable.
5421 (latin_viscii_lower_to_ucs): New variable.
5422 (ucs_to_latin_viscii_lower): New variable.
5423 (Vcharset_latin_viscii_upper): New variable.
5424 (latin_viscii_upper_to_ucs): New variable.
5425 (ucs_to_latin_viscii_upper): New variable.
5426 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5427 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5428 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5429 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5430 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5431 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5432 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5433 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5434 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5435 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5437 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5438 (Vcharset_latin_viscii_upper): New variable.
5439 (make_byte_from_character_table): New function.
5440 (put_byte_from_character_table): New function.
5441 (get_byte_from_character_table): New function.
5442 (CHAR96): New macro.
5443 (ucs_to_latin_jisx0201): New variable.
5444 (latin_jisx0201_to_ucs): New variable.
5445 (ucs_to_latin_iso8859_2): New variable.
5446 (latin_iso8859_2_to_ucs): New variable.
5447 (ucs_to_latin_iso8859_3): New variable.
5448 (latin_iso8859_3_to_ucs): New variable.
5449 (ucs_to_latin_iso8859_4): New variable.
5450 (latin_iso8859_4_to_ucs): New variable.
5451 (ucs_to_latin_iso8859_9): New variable.
5452 (latin_iso8859_9_to_ucs): New variable.
5453 (ucs_to_latin_viscii_lower): New variable.
5454 (latin_viscii_lower_to_ucs): New variable.
5455 (ucs_to_latin_viscii_upper): New variable.
5456 (latin_viscii_upper_to_ucs): New variable.
5457 (ucs_to_latin_tcvn5712): New variable.
5458 (latin_tcvn5712_to_ucs): New variable.
5459 (Qlatin_viscii_lower): New variable.
5460 (Qlatin_viscii_upper): New variable.
5461 (syms_of_mule_charset): Set up new symbol
5462 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5463 (complex_vars_of_mule_charset): Set up new charset
5464 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5465 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5466 `ucs_to_<CHARSET>' tables.
5468 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5470 * text-coding.c: New file.
5472 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5474 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5476 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5477 (MAKE_CHAR): Modify for `ucs-bmp'.
5478 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5479 non-MULE characters of BMP.
5481 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5483 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5486 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5489 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5490 - Include character.h for `CHAR_ASCII_P'.
5492 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5494 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5495 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5497 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5498 (BYTE_C0_P): Likewise.
5499 (BYTE_C1_P): Likewise.
5500 (Lstream_get_emchar_1): Likewise.
5501 (Lstream_fput_emchar): Likewise.
5502 (Lstream_funget_emchar): Likewise.
5503 (copy_internal_to_external): Likewise.
5504 (copy_external_to_internal): Likewise.
5506 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5507 (BYTE_C0_P): Likewise.
5508 (BYTE_C1_P): Likewise.
5509 (Lstream_get_emchar_1): Likewise.
5510 (Lstream_fput_emchar): Likewise.
5511 (Lstream_funget_emchar): Likewise.
5512 (copy_internal_to_external): Likewise.
5513 (copy_external_to_internal): Likewise.
5515 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5516 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5518 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5519 (BYTE_ASCII_P): Moved to mb-1byte.h.
5521 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5523 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5525 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5526 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5527 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5528 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5529 (VALIDATE_CHARPTR_FORWARD): Likewise.
5530 (simple_charptr_emchar): Moved to mb-multibyte.h.
5531 (simple_set_charptr_emchar): Likewise.
5532 (simple_charptr_copy_char): Likewise.
5533 (non_ascii_charptr_emchar): Likewise.
5534 (non_ascii_set_charptr_emchar): Likewise.
5535 (non_ascii_charptr_copy_char): Likewise.
5536 (charptr_emchar): Moved to mb-*byte.h.
5537 (set_charptr_emchar): Likewise.
5538 (charptr_copy_char): Likewise.
5540 * mb-1byte.h, mb-multibyte.h: New files.
5542 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5544 * mb-utf-8.h (MULTIBYTE): New macro.
5545 (MAX_EMCHAR_LEN): Moved from buffer.h.
5546 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5548 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5550 * mb-lb.h, multibyte.h: New files.
5552 * char-1byte.h (Charset_ID): Moved from buffer.h.
5553 (MIN_LEADING_BYTE): Likewise.
5554 (LEADING_BYTE_ASCII): Likewise.
5555 (NUM_LEADING_BYTES): Likewise.
5556 (CHARSETP): Likewise.
5557 (CHARSET_BY_LEADING_BYTE): Likewise.
5558 (XCHARSET_LEADING_BYTE): Likewise.
5559 (XCHARSET_GRAPHIC): Likewise.
5560 (XCHARSET_COLUMNS): Likewise.
5561 (XCHARSET_DIMENSION): Likewise.
5562 (CHAR_CHARSET): Likewise.
5563 (CHAR_LEADING_BYTE): Likewise.
5564 (BREAKUP_CHAR): Likewise.
5565 (Vcharset_ascii): Likewise.
5567 * buffer.h: Include multibyte.h unconditionally.
5568 (VALID_CHARPTR_P): Moved to multibyte.h.
5569 (ASSERT_VALID_CHARPTR): Likewise.
5570 (REAL_INC_CHARPTR): Likewise.
5571 (REAL_INC_CHARBYTIND): Likewise.
5572 (REAL_DEC_CHARPTR): Likewise.
5573 (INC_CHARPTR): Likewise.
5574 (INC_CHARBYTIND): Likewise.
5575 (DEC_CHARPTR): Likewise.
5576 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5577 (VALIDATE_CHARPTR_FORWARD): Likewise.
5578 (charptr_n_addr): Likewise.
5579 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5580 (simple_charptr_emchar): Moved to multibyte.h.
5581 (simple_set_charptr_emchar): Likewise.
5582 (simple_charptr_copy_char): Likewise.
5583 (non_ascii_charptr_emchar): Likewise.
5584 (non_ascii_set_charptr_emchar): Likewise.
5585 (non_ascii_charptr_copy_char): Likewise.
5586 (charptr_emchar): Likewise.
5587 (set_charptr_emchar): Likewise.
5588 (charptr_copy_char): Likewise.
5589 (charptr_emchar_n): Likewise.
5590 (Charset_ID): Moved to char-1byte.h.
5591 (Vcharset_ascii): Likewise.
5592 (CHAR_CHARSET): Likewise.
5593 (CHAR_LEADING_BYTE): Likewise.
5594 (LEADING_BYTE_ASCII): Likewise.
5595 (NUM_LEADING_BYTES): Likewise.
5596 (MIN_LEADING_BYTE): Likewise.
5597 (CHARSETP): Likewise.
5598 (CHARSET_BY_LEADING_BYTE): Likewise.
5599 (XCHARSET_LEADING_BYTE): Likewise.
5600 (XCHARSET_GRAPHIC): Likewise.
5601 (XCHARSET_COLUMNS): Likewise.
5602 (XCHARSET_DIMENSION): Likewise.
5603 (BREAKUP_CHAR): Likewise.
5605 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5607 * character.h: Add document about interface for characters.
5609 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5610 (MAKE_CHAR): Delete comment about
5611 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5612 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5613 (BREAKUP_CHAR): Modify name of arguments.
5614 (CHAR_CHARSET): Modify name of argument.
5616 * buffer.h: Delete document about Emchar accessors.
5618 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5620 * character.h (CHAR_INTP): Moved from buffer.h
5621 (CHAR_OR_CHAR_INTP): Likewise.
5622 (XCHAR_OR_CHAR_INT): Likewise.
5623 (CHECK_CHAR_COERCE_INT): Likewise.
5625 * buffer.h (CHAR_INTP): Moved to character.h
5626 (CHAR_OR_CHAR_INTP): Likewise.
5627 (XCHAR_OR_CHAR_INT): Likewise.
5628 (CHECK_CHAR_COERCE_INT): Likewise.
5630 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5633 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5634 - Include char-1byte.h, char-lb.h or char-ucs.h.
5636 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5638 * buffer.h: Include character unconditionally.
5639 (valid_char_p): Moved to char-*.h.
5640 (non_ascii_valid_char_p): Moved to char-lb.h.
5642 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5644 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5646 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5647 in UTF-2000 because it is not ported yet and not to use
5648 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5649 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5650 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5652 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5653 (CHAR_ASCII_P): Moved from character.h.
5655 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5656 (CHAR_ASCII_P): Likewise.
5657 (CHAR_FIELD1_MASK): Deleted.
5658 (CHAR_FIELD2_MASK): Deleted.
5659 (CHAR_FIELD3_MASK): Deleted.
5660 (MAX_CHAR_BASIC_LATIN): New macro.
5661 (CHAR_FIELD1): Deleted.
5662 (CHAR_FIELD2_INTERNAL): Deleted.
5663 (CHAR_FIELD3_INTERNAL): Deleted.
5664 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5665 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5666 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5667 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5668 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5669 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5670 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5671 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5672 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5673 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5674 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5675 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5676 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5677 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5678 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5679 (MIN_CHAR_COMPOSITION): Deleted.
5680 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5681 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5683 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5685 * buffer.h: Include mb-utf-8.h in UTF-2000.
5687 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5689 * mb-utf-8.h: New file.
5691 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5693 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5696 * mule-charset.h, buffer.h (Charset_ID): New type.
5698 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5700 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5701 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5702 instead of `MULE_CHAR_PRIVATE_OFFSET',
5703 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5704 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5705 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5707 * character.h (Vcharset_japanese_jisx0212): New variable
5710 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5712 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5713 (charset_by_attributes): Delete array about direction.
5714 (latin_a_char_to_charset): New variable in UTF-2000.
5715 (latin_a_char_to_byte1): New variable in UTF-2000.
5716 (latin_a_char_to_byte2): New variable in UTF-2000.
5717 (Qucs_bmp): New variable.
5718 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5720 (next_allocated_2_byte_leading_byte): Likewise.
5721 (non_ascii_set_charptr_emchar): Likewise.
5722 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5723 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5724 `charset_by_attributes'.
5725 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5726 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5727 and `CHARSET_BY_LEADING_BYTE'.
5728 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5729 `utf-2000-version' to `vars_of_mule_charset'.
5730 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5731 define `leading-code-private-11' in UTF-2000; move setting of
5732 `utf-2000-version' from `syms_of_mule_charset'.
5733 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5736 * character.h (Charset_ID): New type.
5737 (LEADING_BYTE_UCS_BMP): New macro.
5738 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5739 (CHARSET_ID_OFFSET_94): New macro.
5740 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5741 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5742 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5744 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5745 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5746 (CHARSET_ID_OFFSET_96): New macro.
5747 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5748 CHARSET_ID_OFFSET_96 and final-byte.
5749 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5750 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5751 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5752 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5753 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5754 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5755 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5756 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5757 (LEADING_BYTE_THAI_TIS620): Likewise.
5758 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5759 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5760 (CHARSET_ID_OFFSET_94x94): New macro.
5761 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5762 CHARSET_ID_OFFSET_94x94 and final-byte.
5763 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5764 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5765 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5766 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5767 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5768 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5769 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5770 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5771 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5772 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5773 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5774 (CHARSET_TYPE_128X128): New macro.
5775 (CHARSET_TYPE_256X256): New macro.
5776 (XCHARSET_PRIVATE_P): Delete unconditionally.
5777 (charset_by_attributes): Delete array about direction.
5778 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5779 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5780 (MIN_CHAR_94): New macro.
5781 (MAX_CHAR_94): New macro.
5782 (MIN_CHAR_96): New macro.
5783 (MAX_CHAR_96): New macro.
5784 (MIN_CHAR_94x94): New macro.
5785 (MAX_CHAR_94x94): New macro.
5786 (MIN_CHAR_96x96): New macro.
5787 (MAX_CHAR_96x96): New macro.
5788 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5789 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5790 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5792 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5793 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5794 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5795 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5796 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5797 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5798 `XCHARSET_LEADING_BYTE' to make code-point.
5799 (latin_a_char_to_charset): New variable.
5800 (latin_a_char_to_byte1): New variable.
5801 (latin_a_char_to_byte2): New variable.
5802 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5803 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5804 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5806 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5807 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5808 (find_charsets_in_emchar_string): Likewise.
5809 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5811 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5813 (decode_coding_iso2022): Likewise.
5815 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5818 * redisplay.c (redisplay_text_width_emchar_string): Use
5819 `Charset_ID' instead of `unsigned char'.
5820 (redisplay_frame_text_width_string): Likewise.
5822 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5825 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5826 instead of `unsigned char'.
5827 (face_cachel_charset_font_metric_info): Likewise.
5829 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5830 (get_non_ascii_char_table_value): Likewise.
5831 (get_char_table): Likewise.
5832 (put_char_table): Likewise.
5833 (map_over_other_charset): Likewise.
5834 (map_char_table): Likewise.
5836 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5837 instead of `unsigned char'.
5839 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5841 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5842 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5844 * mule-charset.c (leading_code_private_11): Don't define in
5847 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5848 in UTF-2000 because it is not ported yet and not to use
5849 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5851 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5853 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5855 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5857 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5860 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5861 of unsigned char to store leading-byte.
5863 * chartab.c (get_non_ascii_char_table_value): Don't use
5864 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5866 * file-coding.c (encode_coding_big5): Delete bogus implementation
5869 * character.h (LEADING_BYTE_*): Delete definition for
5871 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5872 (LEADING_BYTE_PREFIX_P): Deleted.
5873 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5874 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5875 (BUFBYTE_LEADING_BYTE_P): Deleted.
5876 (CHARSET_PRIVATE_P): Deleted unconditionally.
5877 (rep_bytes_by_first_byte): Deleted unconditionally.
5878 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5879 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5880 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5881 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5882 (CHAR_FIELD2): Deleted.
5883 (CHAR_FIELD3): Deleted.
5884 (MAKE_CHAR): Delete definition for non-UTF-2000.
5885 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5886 (breakup_char_1): New implementation.
5887 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5888 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5890 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5892 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5895 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5897 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5898 (CHARSET_PRIVATE_P): Likewise.
5899 (XCHARSET_PRIVATE_P): Likewise.
5900 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5902 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5904 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5906 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5908 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5909 (NUM_LEADING_BYTES): Changed from 128 to 256.
5910 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5911 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5913 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5915 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5917 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5918 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5919 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5920 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5921 (Qchinese_cns11643_3): New variable in UTF2000.
5922 (Qchinese_cns11643_4): New variable in UTF2000.
5923 (Qchinese_cns11643_5): New variable in UTF2000.
5924 (Qchinese_cns11643_6): New variable in UTF2000.
5925 (Qchinese_cns11643_7): New variable in UTF2000.
5926 (syms_of_mule_charset): Define `chinese-cns11643-3',
5927 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5928 and `chinese-cns11643-7' in UTF2000.
5929 (vars_of_mule_charset): Initialize
5930 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5932 (complex_vars_of_mule_charset): Setup charset
5933 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5934 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5936 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5938 * mule-charset.c: Move setting for `leading-code-private-11' from
5939 `syms_of_mule_charset' to `vars_of_mule_charset'.
5941 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5943 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5944 and `NUM_LEADING_BYTES' in assert.
5946 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5948 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5950 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5951 `NUM_LEADING_BYTES' instead of 128.
5953 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5955 * mule-charset.h (charset_by_leading_byte): Use
5956 `NUM_LEADING_BYTES' instead of 128.
5957 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5959 * mule-charset.c (charset_by_leading_byte): Use
5960 `NUM_LEADING_BYTES' instead of 128.
5961 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5963 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5966 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5968 * mule-charset.c (syms_of_mule_charset): Update to
5971 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5973 * file-coding.c (encode_coding_sjis): New implementation for
5974 UTF2000. (decode_coding_sjis): Ditto.
5976 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5978 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5979 Don't define in UTF2000.
5981 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5984 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5985 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5988 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5990 * config.h.in (CHAR_IS_UCS4): New macro.
5992 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5993 conventional MULE representation.
5994 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5996 * mule-charset.h: Reverted to original.
5998 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5999 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6000 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6002 * character.h: New file.
6004 * file-coding.c (Fmake_coding_system): Set 1 to
6005 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6007 (encode_coding_no_conversion): New implementation for UTF2000.
6009 * file-coding.h (struct Lisp_Coding_System): Add new member
6012 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6014 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6015 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6016 (encode_coding_iso2022): New implementation for UTF2000.
6018 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6020 * mule-canna.c (c2mu): New implementation for UTF2000.
6023 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6025 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6027 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6029 * file-coding.c (reset_encoding_stream): Set 0 to
6030 `str->iso2022.current_char_boundary' in UTF2000.
6031 (encode_utf8): Don't define in UTF2000.
6032 (encode_coding_utf8): New implementation for UTF-8 representation
6034 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6036 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6038 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6040 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6042 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6044 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6046 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6047 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6048 as UTF-8 in UTF2000.
6049 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6050 (non_ascii_valid_char_p): Don't define in UTF2000.
6051 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6052 (Lstream_get_emchar_1): Likewise.
6053 (utf-2000-version): New variable in UTF2000.
6055 * lread.c (read_escape): Add new reader `u'.
6057 * insdel.c (three_to_one_table): Don't define in UTF2000.
6058 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6059 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6061 (bytind_to_bufpos_func): Likewise.
6062 (buffer_mule_signal_inserted_region): Likewise.
6063 (vars_of_insdel): Don't initialize `three_to_one_table'.
6064 (init_buffer_text): Use `buf->text->mule_size' instead of
6065 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6068 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6069 UTF-8 representation in UTF2000.
6070 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6071 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6072 (decode_coding_iso2022): Don't define local variable `lb' in
6073 UTF2000; don't use LEADING_BYTE in UTF2000; use
6074 `DECODE_ADD_UCS_CHAR' in UTF2000.
6075 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6077 * config.h.in (UTF2000): New macro.
6079 * buffer.h (struct buffer_text): Add new member `mule_size' and
6080 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6081 (valid_char_p): Return always 1 in UTF2000.
6082 (MAX_EMCHAR_LEN): 6 in UTF2000.
6083 (three_to_one_table): Don't define in UTF2000.
6084 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6086 (real_bytind_to_bufpos): Likewise.
6088 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6090 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6092 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6093 representation change.
6094 (Vutf_2000_version): New variable.
6095 (leading_code_private_11): New variable.
6096 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6097 `leading-code-private-11'.
6099 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6100 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6101 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6102 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6103 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6104 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6105 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6106 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6107 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6108 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6109 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6110 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6111 (MIN_CHAR_GREEK): New macro.
6112 (MAX_CHAR_GREEK): New macro.
6113 (MIN_CHAR_CYRILLIC): New macro.
6114 (MAX_CHAR_CYRILLIC): New macro.
6115 (MIN_CHAR_HEBREW): New macro.
6116 (MAX_CHAR_HEBREW): New macro.
6117 (MIN_CHAR_THAI): New macro.
6118 (MAX_CHAR_THAI): New macro.
6119 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6120 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6121 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6122 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6123 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6124 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6125 (CHAR_FIELD2): New inline function.
6126 (CHAR_FIELD3): New inline function.
6127 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6128 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6129 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6130 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6131 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6132 (MIN_CHAR_COMPOSITION): Likewise.
6133 (CHAR_LEADING_BYTE): Modified for character representation change.
6134 (MAKE_CHAR): Likewise.
6136 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6137 (Vcharset_greek_iso8859_7): Likewise.
6138 (Vcharset_cyrillic_iso8859_5): Likewise.
6139 (Vcharset_hebrew_iso8859_8): Likewise.
6140 (Vcharset_thai_tis620): Likewise.
6141 (Vcharset_katakana_jisx0201): Likewise.
6143 2008-12-28 Vin Shelton <acs@xemacs.org>
6145 * XEmacs 21.4.22 is released
6147 2008-12-27 Vin Shelton <acs@xemacs.org>
6149 * syswindows.h: Don't define wide character interfaces for Cygwin
6152 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6154 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6156 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6158 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6159 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6161 2008-12-25 Vin Shelton <acs@xemacs.org>
6163 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6164 By Julian Bradfield in
6165 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6167 * mule-ccl.c (ccl_driver):
6169 2007-10-07 Vin Shelton <acs@xemacs.org>
6171 * XEmacs 21.4.21 is released
6173 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6175 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6177 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6179 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6180 (png_instantiate): Initialize setjmp_buffer early, and avoid
6181 recursive entry to error handler.
6183 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6185 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6188 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6190 * event-Xt.c (x_reset_modifier_mapping):
6191 * event-gtk.c (gtk_reset_modifier_mapping):
6192 Zero out the device's modifier map once we've freed it, to prevent
6193 a double free on a re-entrant call.
6195 2007-05-17 Vin Shelton <acs@xemacs.org>
6197 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6198 64-bit linux. Patch from Hans de Graaff.
6200 2007-05-02 Vin Shelton <acs@xemacs.org>
6202 * dumper.c (pdump): Don't close pdump_fd (already closed by
6203 fclose() call. Patch from Steve Higham.
6204 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6205 already closed. Patch inspired by Steve Higham.
6207 2007-05-01 Vin Shelton <acs@xemacs.org>
6209 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6210 (mswindows_fstat): Ditto.
6211 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6213 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6215 * postgresql.c: Update Steve Baur's email address by his request.
6216 * postgresql.h: Ditto.
6218 2007-01-04 Vin Shelton <acs@xemacs.org>
6220 * fileio.c (check_writable): Check old-style readonly bit only for
6223 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6225 * src/fileio.c (check_writable):
6226 Cope with the fact that the read-only attribute trumps Windows NTFS
6230 2006-12-09 Vin Shelton <acs@xemacs.org>
6232 * XEmacs 21.4.20 is released
6234 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6236 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6237 relocated the definitions to be used sooner in file.
6238 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6239 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6242 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6244 * sound.c (init_native_sound):
6245 Only X11 and GTK devices can possibly not be on the console of the
6246 associated machine. Fixes a crash when init_native_sound is called
6247 on a msprinter device.
6249 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6251 * buffer.c (buffer-file-name): Document invariant.
6252 (buffer-file-truename): Sync wording to buffer-file-name.
6253 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6256 2006-11-19 Benson Margulies <benson@dchbk.us>
6258 * fileio.c: Add code to use full Win32 API to check for write
6259 access. Win32 has the general design policy that you aren't
6260 supposed to ask this question, since security checks change
6261 depending on asynchronous processes. Nonetheless, there is a way,
6262 by acting as if we are a server doing interpretive access
6265 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6267 * bytecode.c: Use xnew_array instead of alloca.
6269 2006-07-04 Vin Shelton <acs@xemacs.org>
6271 * redisplay-msw.c: Fix tiny, but crucial typo.
6273 2006-06-22 Jerry James <james@xemacs.org>
6275 * EmacsShell-sub.c (ChangeManaged):
6276 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6278 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6279 checking if it is NULL. Also fix a memory leak.
6280 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6281 dereference it, not the other way around.
6282 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6284 * dumper.c (pdump_register_struct): Ditto.
6285 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6286 to (short) warnpath overflow warnpath.
6287 * extents.c (detach_all_extents): Call extent_list_delete_all with
6288 a non-NULL parameter only.
6289 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6290 NULL width and height.
6291 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6292 xic before checking if they are NULL.
6293 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6295 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6296 * nas.c (Err): Fix a memory leak.
6297 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6298 Don't create the buffer if there is nothing to do.
6299 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6300 * redisplay-output.c (redisplay_output_layout): Ditto.
6301 * redisplay-tty.c (tty_output_display_block): Ditto.
6302 * redisplay-x.c (x_output_display_block): Ditto.
6303 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6304 dereference instance->scrollbar_data if it is NULL.
6305 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6306 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6307 for sb->scrollbar_data.
6308 * sound.c (init_native_sound): Avoid a buffer overflow by
6309 allocating a buffer with the appropriate size.
6311 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6313 * EmacsShell-sub.c (RootGeometryManager):
6314 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6315 Based on a suggestion by Francois L'Archeveque.
6317 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6319 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6320 current values found in GNU Emacs.
6322 2006-03-17 Vin Shelton <acs@xemacs.org>
6324 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6325 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6327 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6328 'hex_initialized' because it conflicts with 'initialized' in
6331 2006-01-28 Vin Shelton <acs@xemacs.org>
6333 * XEmacs 21.4.19 is released
6335 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6337 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6339 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6341 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6344 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6346 * database.c: Suppress compiler warning under Cygwin.
6347 * database.c: Removed __FreeBSD__ check, should be handled by
6348 HAVE_U_xxx_T defines.
6350 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6352 * console.c (stuff_buffered_input): Compile body only if
6355 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6357 * callproc.c: #include sysdir.h, so that any appropriate Mule
6358 magic happens with the chdir() call when calling a subprocess.
6360 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6362 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6363 * mule-ccl.c: Check that a character set exists before using it
6364 to create a character.
6366 2005-12-06 Vin Shelton <acs@xemacs.org>
6368 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6371 2005-12-03 Vin Shelton <acs@xemacs.org>
6373 * XEmacs 21.4.18 is released
6375 2005-11-27 Kean Johnston <kean@armory.com>
6377 * redisplay-tty.c (set_tty_modes):
6378 (reset_tty_modes): disable auto-margins if the terminal supports
6380 (init_tty_for_redisplay): fix cursor shape.
6382 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6384 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6385 for control-1 characters properly, both when reading multibyte
6386 characters and writing them.
6388 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6390 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6391 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6392 were seeing with incremental selection transfer failing.
6394 2005-11-26 Vin Shelton <acs@xemacs.org>
6396 * callproc.c (Fold_call_process_internal): Create the buffer if it
6397 does not already exist. The original patch came from Ben Wing in
6398 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6400 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6402 * callproc.c: Process-related docstring improvements spurred by
6405 2005-11-25 Vin Shelton <acs@xemacs.org>
6407 * depend: Regenerated.
6409 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6411 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6412 says it clashes with a global with the same name.
6414 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6416 * sysdll.c (dll_open): Under MacOS X return NULL under the
6417 filename is NULL. Fixes problems finding local symbols under 10.4
6420 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6422 * config.h.in: New HAVE_U_INT*_T defines.
6424 * database.c: Only use u_int*_t typedefs if not already
6427 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6429 * src/process-unix.c (unix_open_network_stream): moved
6430 'portbuf' buffer out of an inner block as it is used in the
6431 entire function. With gcc4, the stack may get corrupted
6432 after leaving this block. This patches adjusts the size of
6433 the used buffer also; static '128' bytes are far too much
6434 currently and might not suffice for future architectures
6435 (e.g. for 512 bit ones ;)). Instead of, use only the really
6436 required space (max octets * ln(256)/ln(10) chars + space
6437 for '\0' and the sign)
6439 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6441 * callproc.c: Include sysdir.h, so any necessary Mule processing
6442 is done on the current directory name before starting a new
6445 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6447 * chartab.c (Fchar_table_p):
6448 (Fget_range_char_table):
6451 Describe range representation and fix typo.
6453 2005-02-12 Vin Shelton <acs@xemacs.org>
6455 * emacs.c (shut_down_emacs): Advise users to send email to the
6456 xemacs-beta list instead of crashes@xemacs.org.
6458 2005-02-03 David Evers <extsw@appliedgenerics.com>
6460 * process-unix.c (unix_send_process): Flush the last chunk, even
6461 when the pipe is blocked.
6463 2005-02-06 Vin Shelton <acs@xemacs.org>
6465 * XEmacs 21.4.17 is released
6467 2005-01-31 Ben Wing <ben@xemacs.org>
6470 Define assert_failed() always.
6472 Always define ABORT().
6474 2005-01-25 Ben Wing <ben@xemacs.org>
6477 * Makefile.in.in (%.o):
6478 Don't compile executable as Windows (-mwindows) under Cygwin.
6479 Semi-recent changes to Cygwin's executable-startup handling make
6480 it impossible to access the TTY this way.
6482 Don't use special linker file under Cygwin (cygwin.sc) except
6483 when non-PDUMP (even in this case it is highly questionable); you
6486 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6487 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6489 2005-01-29 Ben Wing <ben@xemacs.org>
6491 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6493 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6495 2005-01-29 Ben Wing <ben@xemacs.org>
6497 * bytecode.c (optimize_compiled_function):
6499 * print.c (long_to_string):
6500 Add casts to avoid warning.
6503 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6504 #### The better solution is to move the TIFF and JPEG code to
6507 * glyphs-msw.c (mswindows_xbm_instantiate):
6508 Define __STDC__ to avoid problems with compface.h.
6510 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6512 * EmacsShell-sub.c (ABORT):
6513 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6514 * EmacsShell-sub.c (RootGeometryManager):
6516 * EmacsShell.c (ABORT):
6517 * EmacsShell.c (EmacsShellUpdateSizeHints):
6518 * alloc.c (free_lcrecord):
6519 * alloca.c (i00afunc):
6520 * buffer.c (delete_from_buffer_alist):
6521 * buffer.c (MARKED_SLOT):
6522 * bytecode.c (execute_rare_opcode):
6523 * bytecode.c (optimize_byte_code):
6524 * bytecode.c (Ffetch_bytecode):
6525 * chartab.c (char_table_type_to_symbol):
6526 * chartab.c (Freset_char_table):
6527 * chartab.c (decode_char_table_range):
6528 * chartab.c (Fget_range_char_table):
6529 * chartab.c (check_valid_char_table_value):
6530 * chartab.c (map_char_table):
6531 * chartab.c (slow_map_char_table_fun):
6532 * chartab.c (chartab_instantiate):
6533 * cm.c (cmcheckmagic):
6534 * console-msw.c (DHEADER):
6535 * console.c (MARKED_SLOT):
6536 * data.c (finish_marking_weak_lists):
6537 * data.c (encode_weak_list_type):
6538 * debug.h (DASSERT):
6539 * device-gtk.c (gtk_init_device):
6540 * device-msw.c (mswindows_get_default_margin):
6541 * device-tty.c (tty_init_device):
6542 * device-x.c (get_device_from_display):
6543 * device-x.c (x_get_visual_depth):
6544 * doprnt.c (parse_doprnt_spec):
6545 * doprnt.c (get_doprnt_args):
6546 * dumper.c (pdump_get_indirect_count):
6547 * dumper.c (pdump_register_sub):
6548 * dumper.c (pdump_register_object):
6549 * dumper.c (pdump_register_struct):
6550 * dumper.c (pdump_dump_data):
6551 * dumper.c (pdump_reloc_one):
6552 * elhash.c (print_hash_table):
6553 * elhash.c (make_standard_lisp_hash_table):
6554 * elhash.c (hash_table_instantiate):
6556 * emacs.c (Fforce_debugging_signal):
6557 * emacs.c (sort_args):
6559 * emacs.c (assert_failed):
6560 * eval.c (throw_or_bomb_out):
6561 * eval.c (signal_1):
6564 * event-Xt.c (emacs_Xt_mapping_action):
6565 * event-Xt.c (Xt_process_to_emacs_event):
6567 * event-stream.c (check_event_stream_ok):
6568 * event-stream.c (Fadd_timeout):
6569 * event-stream.c (Fadd_async_timeout):
6570 * event-stream.c (Fdiscard_input):
6571 * event-stream.c (execute_internal_event):
6572 * event-stream.c (Frecent_keys):
6573 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6574 * event-stream.c (lookup_command_event):
6575 * event-unixoid.c (poll_fds_for_input):
6577 * events.c (mark_event):
6578 * events.c (event_equal):
6579 * events.c (event_hash):
6580 * events.c (Fmake_event):
6581 * events.c (Fdeallocate_event):
6582 * events.c (event_chain_find_previous):
6583 * events.c (event_to_character):
6584 * events.c (format_event_object):
6585 * events.c (Fevent_type):
6586 * events.c (event_pixel_translation):
6587 * events.c (Fevent_properties):
6588 * extents.c (extent_in_region_p):
6589 * extents.c (print_extent):
6590 * extents.c (process_extents_for_insertion_mapper):
6591 * extents.c (report_extent_modification_mapper):
6592 * extents.c (glyph_layout_to_symbol):
6593 * faces.c (face_validate):
6594 * file-coding.c (eol_type_to_symbol):
6595 * file-coding.c (subsidiary_coding_system):
6596 * file-coding.c (Fcoding_system_type):
6597 * file-coding.c (Fcoding_system_property):
6598 * file-coding.c (mule_decode):
6599 * file-coding.c (mule_encode):
6600 * file-coding.c (encode_coding_ucs4):
6601 * file-coding.c (encode_coding_utf8):
6602 * file-coding.c (parse_iso2022_esc):
6603 * file-coding.c (encode_coding_iso2022):
6608 * fns.c (Fbase64_encode_region):
6609 * fns.c (Fbase64_encode_string):
6610 * fns.c (Fbase64_decode_region):
6611 * fns.c (Fbase64_decode_string):
6612 * font-lock.c (find_context):
6613 * font-lock.c (context_to_symbol):
6614 * frame-gtk.c (gtk_set_frame_pointer):
6615 * frame-gtk.c (gtk_update_frame_external_traits):
6616 * frame-x.c (x_wm_mark_shell_size_user_specified):
6617 * frame-x.c (x_wm_mark_shell_position_user_specified):
6618 * frame-x.c (x_wm_set_shell_iconic_p):
6619 * frame-x.c (x_wm_set_cell_size):
6620 * frame-x.c (x_wm_set_variable_size):
6621 * frame-x.c (x_wm_store_class_hints):
6622 * frame-x.c (x_wm_maybe_store_wm_command):
6623 * frame-x.c (x_initialize_frame_size):
6624 * frame-x.c (x_update_frame_external_traits):
6626 * frame.c (delete_frame_internal):
6627 * frame.c (mouse_pixel_position_1):
6628 * frame.c (change_frame_size_1):
6629 * free-hook.c (check_free):
6630 * free-hook.c (check_realloc):
6631 * free-hook.c (note_block_input):
6632 * free-hook.c (log_gcpro):
6633 * gccache-gtk.c (gc_cache_lookup):
6634 * glyphs-eimage.c (tiff_memory_write):
6635 * glyphs-gtk.c (gtk_finalize_image_instance):
6636 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6637 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6638 * glyphs-gtk.c (gtk_xpm_instantiate):
6639 * glyphs-gtk.c (gtk_unmap_subwindow):
6640 * glyphs-gtk.c (gtk_map_subwindow):
6641 * glyphs-gtk.c (gtk_button_redisplay):
6643 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6644 * glyphs-x.c (init_image_instance_from_xbm_inline):
6645 * glyphs-x.c (extract_xpm_color_names):
6646 * glyphs-x.c (x_xpm_instantiate):
6647 * glyphs.c (get_image_instantiator_governing_domain):
6648 * glyphs.c (print_image_instance):
6649 * glyphs.c (image_instance_equal):
6650 * glyphs.c (image_instance_hash):
6651 * glyphs.c (encode_image_instance_type):
6652 * glyphs.c (make_image_instance_1):
6653 * glyphs.c (inherit_instantiate):
6654 * glyphs.c (image_instantiate):
6655 * glyphs.c (allocate_glyph):
6656 * glyphs.c (Fglyph_type):
6657 * glyphs.c (redisplay_subwindow):
6658 * glyphs.c (display_table_entry):
6659 * gtk-glue.c (xemacs_list_to_gtklist):
6660 * gtk-glue.c (xemacs_gtklist_to_list):
6661 * gtk-glue.c (xemacs_list_to_array):
6662 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6663 * gutter.c (gutter_was_visible):
6664 * gutter.c (get_gutter_coords):
6665 * input-method-xlib.c (get_XIM_input):
6666 * insdel.c (bufpos_to_bytind_func):
6667 * insdel.c (bytind_to_bufpos_func):
6668 * insdel.c (move_gap):
6669 * intl.c (x_get_composed_input):
6670 * keymap.c (keymap_lookup_directly):
6671 * keymap.c (keymap_delete_inverse_internal):
6672 * keymap.c (ensure_meta_prefix_char_keymapp):
6673 * keymap.c (accessible_keymaps_mapper_1):
6674 * keymap.c (where_is_recursive_mapper):
6677 * lread.c (read_atom):
6678 * lstream.c (Lstream_delete):
6679 * lstream.c (make_lisp_buffer_stream_1):
6680 * macros.c (pop_kbd_macro_event):
6681 * malloc.c (malloc):
6683 * marker.c (bi_marker_position):
6684 * marker.c (set_bi_marker_position):
6685 * menubar-gtk.c (menu_descriptor_to_widget_1):
6686 * menubar-msw.c (prune_menubar):
6687 * menubar-x.c (set_frame_menubar):
6688 * mule-charset.c (get_unallocated_leading_byte):
6689 * mule-charset.h (CHAR_LEADING_BYTE):
6690 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6691 * nt.c (init_environment):
6692 * nt.c (generate_inode_val):
6693 * ntproc.c (delete_child):
6694 * ntproc.c (_sys_read_ahead):
6695 * ntproc.c (create_child):
6696 * objects.c (color_instantiate):
6697 * objects.c (font_instantiate):
6698 * objects.c (face_boolean_instantiate):
6699 * print.c (printing_major_badness):
6700 * process-nt.c (nt_send_process):
6701 * process-unix.c (unix_send_process):
6702 * process.c (get_process):
6703 * ralloc.c (obtain):
6704 * ralloc.c (relinquish):
6705 * ralloc.c (relocate_blocs):
6706 * ralloc.c (resize_bloc):
6707 * ralloc.c (r_alloc_free):
6708 * ralloc.c (r_re_alloc):
6709 * ralloc.c (r_alloc_thaw):
6710 * ralloc.c (init_ralloc):
6711 * ralloc.c (Free_Addr_Block):
6712 * ralloc.c (r_alloc):
6713 * redisplay-gtk.c (gtk_output_display_block):
6714 * redisplay-msw.c (mswindows_output_display_block):
6715 * redisplay-output.c (get_next_display_block):
6716 * redisplay-output.c (get_cursor_size_and_location):
6717 * redisplay-output.c (redisplay_output_layout):
6718 * redisplay-output.c (redisplay_clear_region):
6719 * redisplay-tty.c (tty_output_display_block):
6720 * redisplay-x.c (x_output_display_block):
6721 * redisplay.c (add_propagation_runes):
6722 * redisplay.c (add_glyph_rune):
6723 * redisplay.c (create_text_block):
6724 * redisplay.c (add_margin_runes):
6725 * redisplay.c (create_left_glyph_block):
6726 * redisplay.c (create_right_glyph_block):
6727 * redisplay.c (create_string_text_block):
6728 * redisplay.c (regenerate_window):
6729 * redisplay.c (REGEN_INC_FIND_START_END):
6730 * redisplay.c (redisplay_frame):
6731 * redisplay.c (point_in_line_start_cache):
6734 * regex.c (re_compile_fastmap):
6735 * regex.c (re_match_2_internal):
6736 * regex.c (regerror):
6737 * scrollbar-gtk.c (gtk_scrollbar_loop):
6738 * scrollbar-gtk.c (scrollbar_cb):
6739 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6740 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6741 * scrollbar-x.c (x_update_scrollbar_instance_status):
6742 * scrollbar-x.c (x_scrollbar_loop):
6743 * scrollbar-x.c (x_update_frame_scrollbars):
6744 * search.c (search_command):
6745 * search.c (Fmatch_data):
6746 * select-x.c (motif_clipboard_cb):
6747 * signal.c (interrupt_signal):
6748 * specifier.c (specifier_add_spec):
6749 * specifier.c (specifier_instance_from_inst_list):
6750 * specifier.c (specifier_instance):
6752 * specifier.h (struct specifier_methods):
6753 * strftime.c (add_num_time_t):
6754 * sunplay.c (init_device):
6755 * symbols.c (Fsetplist):
6756 * symbols.c (do_symval_forwarding):
6757 * symbols.c (store_symval_forwarding):
6759 * symbols.c (Fbuilt_in_variable_type):
6760 * symbols.c (decode_magic_handler_type):
6761 * symbols.c (handler_type_from_function_symbol):
6762 * syntax.c (update_syntax_cache):
6763 * sysdep.c (init_baud_rate):
6764 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6765 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6766 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6767 * toolbar.c (get_toolbar_coords):
6768 * ui-gtk.c (build_gtk_boxed):
6769 * ui-gtk.c (describe_gtk_arg):
6770 * ui-gtk.c (gtk_type_to_lisp):
6771 * ui-gtk.c (lisp_to_gtk_type):
6772 * ui-gtk.c (lisp_to_gtk_ret_type):
6773 * ui-gtk.c (lisp_to_flag):
6774 * unexnt.c (read_in_bss):
6775 * unexnt.c (map_in_heap):
6776 * window.c (real_window):
6777 * window.c (window_display_lines):
6778 * window.c (window_display_buffer):
6779 * window.c (set_window_display_buffer):
6780 * window.c (window_modeline_height):
6781 * window.c (unshow_buffer):
6782 * window.c (window_loop):
6783 * window.c (Fget_lru_window):
6784 * window.c (Fsplit_window):
6785 * window.c (Fset_window_configuration):
6786 * window.c (saved_window_index):
6787 * xgccache.c (gc_cache_lookup):
6788 abort() -> ABORT(). Eliminate preprocessor games with abort()
6789 since it creates huge problems in VC7, solvable only by including
6790 massive amounts of files in every compile (and not worth it).
6794 Inclusion of process.h does not need to be before lisp.h any more.
6795 Move later and remove comment about abort().
6797 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6799 * regex.c (re_match_2_internal):
6800 Correctly initialize loop which clears uninitialized registers.
6802 2005-01-28 Vin Shelton <acs@xemacs.org>
6804 * sheap.c (more_static_core): Applied Ben's version of the long
6807 2005-01-24 Vin Shelton <acs@xemacs.org>
6809 * sheap.c (more_static_core): Reformatted printf string so
6810 gcc-3.3.3 will compile this on Cygwin.
6812 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6814 * console.c (function_key_map): Reference `key-binding'.
6816 * keymap.c (Vkey_translation_map): Improve docstring.
6818 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6820 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6821 * window.c (window_loop): [fix] Take into account
6822 `allow-deletion-of-last-visible-frame' variable.
6823 * window.c (replace-buffer-in-windows): Ditto.
6825 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6827 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6829 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6831 * event-gtk.c: Recognise AltGr as a valid modifier.
6833 2005-01-12 Ville Skyttä <scop@xemacs.org>
6835 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6837 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6839 Fix backreference bug caught by test suite.
6841 * regex.c (regex_compile):
6842 Make backref duplicate internal register.
6844 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6846 Documentation, code clarification, and warning suppression.
6848 * regex.c (regex_compile):
6850 (re_match_2_internal):
6851 Improve comments and avoid redundant braces. [Most of the big hunk
6852 at l. 4710 is indentation; use diff -w to see the real changes.]
6853 (alt_match_null_string_p):
6854 (common_op_match_null_string_p):
6855 Avoid shadowing global on Mac OS X 10.4, at least.
6857 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6859 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6860 introduced with shy groups fix). [Already applied, probably
6861 with the second "fix shy groups" patch of 2004-10-07.]
6863 2005-01-10 Steve Youngs <steve@sxemacs.org>
6865 From Andrey Slusar <anrays@gmail.com>:
6867 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6869 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6871 * Makefile (RECURSIVE_MAKE): Removed.
6872 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6873 handling parallel builds.
6875 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6877 * Makefile.in.in: Enable support for parallel builds.
6879 2005-01-09 Steve Youngs <steve@sxemacs.org>
6881 From Andrey Slusar <anrays@gmail.com>:
6883 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6884 FreeBSD version is >= 199701 _and_ < 600006.
6886 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6888 * scrollbar.c (compute_scrollbar_instance_usage):
6889 Only call device method compute_scrollbar_instance_usage() if it
6892 2004-12-05 Vin Shelton <acs@xemacs.org>
6894 * XEmacs 21.4.16 is released
6896 2004-12-04 Vin Shelton <acs@xemacs.org>
6898 * depend: Regenerated.
6900 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6902 * regex.c (re_match_2_internal): Map internal to external
6903 registers. Fixes bug identified by Steve Youngs 2004-09-30
6904 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6906 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6908 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6909 to fix a crash. Also, check the buffer is live and it
6910 really exists in buffer_list. If the buffer is not in the list,
6913 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6915 Fix shy groups by implementing recording of all groups for
6916 repetition and backtracking. Backport from 21.5.
6918 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6919 external_to_internal_register, external_to_internal_register_size,
6920 and update comments for re_nsub.
6922 * regex.c (re_opcode_t): Update comments.
6923 (print_compiled_pattern): Ouput external_to_internal_register,
6924 external_to_internal_register_size, and re_ngroups for debugging.
6925 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6926 (regex_compile): Update header comment.
6927 Ensure that all groups are recorded so that repeat matches and
6928 backtracking work correctly. Comment related warning for groups >
6930 (re_search_2): Construct map of API indexes (which count only
6931 nonshy groups) to internal register numbers, and keep it updated.
6933 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6935 * frame-gtk.c (gtk_make_frame_visible):
6936 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6937 show/hide. This is what X uses and is prevents previously hidden
6938 widgets from suddenly reappearing.
6939 * gtk-xemacs.c (gtk_xemacs_paint):
6940 * gtk-xemacs.c (gtk_xemacs_draw):
6941 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6943 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6944 size and location changes so that they can be seen before the next
6945 idle event. Without this rapid changes to scrollbar properties
6948 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6951 * console-gtk.h (struct gtk_frame):
6952 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6953 Add hash tables track tab_control callback data.
6954 Added #defines for GTK object data names.
6955 Declaration of gtk_widget_to_frame().
6956 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6957 * frame-gtk.c (gtk_widget_to_frame): New.
6958 * frame-gtk.c (gtk_create_widgets):
6959 * frame-gtk.c (allocate_gtk_frame_struct):
6960 * frame-gtk.c (gtk_mark_frame):
6961 Manage frame callbakc hash tables.
6962 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6963 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6964 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6966 * glyphs-gtk.c (gtk_widget_query_geometry): New
6967 * glyphs-gtk.c (gtk_register_gui_item): New
6968 * glyphs-gtk.c (gtk_add_tab_item): New
6969 * glyphs-gtk.c (gtk_tab_control_callback): New
6970 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6971 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6972 Use correct list when loading item.
6973 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6974 Register new methods.
6975 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6976 default size, for widgets.
6977 * gui-x.c: Improved comment.
6978 * menubar-gtk.c (__generic_button_callback): Use
6979 gtk_widget_to_frame instead of __get_channel.
6981 * ui-gtk.c: Use symbolic names for GTK object data.
6983 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6985 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6987 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6989 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6991 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6993 * malloc.c (morecore): siz is a long because in some architectures
6994 (eg ia-64) an int cannot hold the address range. Additional patch
6995 from the SuSe distribution.
6997 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7000 * malloc.c: lim_data is a long because in some architectures
7001 (eg ia-64) an int cannot hold the address range.
7002 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7003 instead of ulimit() because ulimit() always returns -1.
7005 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7007 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7009 2004-06-11 David Kastrup <dak@gnu.org>
7011 * search.c (match_limit): Don't flag an error if match-data
7012 exceeding the allocated search_regs.num_regs gets requested, just
7015 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7017 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7018 replace symbolic color entries with the real colors specified in
7019 xpm-color-symbols, before passing the XPM to gtk.
7020 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7021 instead of a GTK specific field, so that it is used in by generic
7024 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7026 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7027 coredump from deref of NULL ptr (ExtData)
7029 2004-04-19 Jerry James <james@xemacs.org>
7031 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7032 VALBITS to compute the location of the sign bit.
7033 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7034 of VALBITS with EMACS_INT_MAX.
7035 * events.c (Fevent_timestamp): Ditto.
7036 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7037 compute the halfway point to timestamp wraparound.
7038 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7039 EMACS_INT_MIN instead of using VALBITS.
7040 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7041 incorrect number with VALBITS.
7042 * fns.c (Frandom): Correct number of integer bits in docstring.
7043 Use INT_VALBITS instead of VALBITS to compute the denominator.
7044 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7045 build random numbers.
7047 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7049 * event-gtk.c (gtk_event_to_emacs_event):
7051 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7052 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7053 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7054 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7055 * menubar-gtk.c (__activate_menu):
7056 * menubar-gtk.c (convert_underscores):
7057 * menubar-gtk.c (remove_underscores):
7058 * menubar-gtk.c (menu_convert):
7059 * menubar-gtk.c (menu_descriptor_to_widget_1):
7060 * menubar-gtk.c (menu_descriptor_to_widget):
7061 * menubar-gtk.c (menu_can_reuse_widget):
7062 * menubar-gtk.c (menu_create_menubar):
7063 * menubar-gtk.c (gtk_popup_menu):
7064 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7065 Added support for Gtk menu bar and menu item mnemonics.
7067 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7069 * sysdll.c: (dll_function): Added support for finding symbols in
7070 Darwin shared libraries as well in Darwin bundles.
7071 * sysdll.c (image_for_address): New
7072 * sysdll.c (my_find_image): New
7073 * sysdll.c (search_linked_libs): New
7075 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7077 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7078 return to GTK requires a different API to marshalling data to use
7080 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7082 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7084 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7086 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7088 * glyphs.c (process_image_string_instantiator):
7089 (Fset_console_type_image_conversion_list):
7090 Stop GCC from warning about shadowing of `exp'.
7092 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7094 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7096 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7098 2004-02-03 Vin Shelton <acs@xemacs.org>
7100 * glyphs.c (image_instance_layout): Remove pointless assertion.
7101 * regex.c (regex_grow_registers): Return type is void.
7103 2004-02-02 Vin Shelton <acs@xemacs.org>
7105 * XEmacs 21.4.15 is released
7107 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7109 * device-x.c (x_error_handler): Don't call stderr_out
7111 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7113 * buffer.c (other-buffer): Clarify documentation of order of
7114 arguments for FSF Emacs.
7116 2003-10-11 Olivier Galibert <galibert@pobox.com>
7118 * window.c (Fdelete_window): Dirty the mirror structure _before_
7119 marking the window deleted.
7121 2003-09-15 Jerry James <james@xemacs.org>
7123 * event-msw.c (debug_mswin_messages): Conditionally compile
7124 messages missing from the Cygwin headers.
7126 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7128 * data.c (eq_with_ebola_notice): Fix typo in comment.
7129 (Ftrue_list_p): Improve docstring.
7131 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7133 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7135 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7137 * search.c (trivial_regexp_p): Regexps containing "\{" are
7138 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7139 Stefan Monnier for suggesting a diagnosis.
7141 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7143 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7145 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7147 * search.c (Fsearch_forward):
7149 Document negative count.
7151 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7153 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7155 2003-09-13 Martin Buchholz <martin@xemacs.org>
7157 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7159 2003-09-15 Vin Shelton <acs@xemacs.org>
7161 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7164 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7166 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7167 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7168 (re_match_2_internal): Use TRANSLATE instead of
7169 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7170 non-ASCII char case conversion.
7172 2003-09-08 Mike Sperber <mike@xemacs.org>
7174 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7175 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7177 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7179 * .gdbinit (pobj): fix printing of symbol name.
7181 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7183 * frame-x.c (x_layout_widgets): When resizing is about to cause
7184 frame size slip, mark it for redisplay.
7186 2003-08-18 Jerry James <james@xemacs.org>
7188 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7190 2003-09-03 Vin Shelton <acs@xemacs.org>
7192 * XEmacs 21.4.14 is released
7194 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7196 * config.h.in (REGEX_MALLOC): Make it configure'able.
7198 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7200 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7202 * sysdll.c (dll_init):
7203 * sysdll.c (dll_open):
7204 * sysdll.c (dll_close):
7205 * sysdll.c (dll_function):
7206 * sysdll.c (dll_variable):
7207 * sysdll.c (dll_error):
7208 Add support for loading bundles using Darwin/MacOSX
7211 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7213 * process.c (start-process-internal): Document coding systems.
7215 2003-07-30 Jerry James <james@xemacs.org>
7217 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7219 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7221 * event-msw.c (mswindows_enqueue_mouse_button_event):
7222 * event-msw.c (mswindows_wnd_proc):
7223 enqueue button event when scrollwheel event isn't handled by
7224 mswindows_handle_mousewheel_event, such as when the scrollbars
7227 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7229 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7231 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7233 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7235 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7237 * regex.c (re_match_2_internal): Fix matching degenerate word
7240 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7242 * XEmacs 21.4.13 is released
7244 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7246 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7247 * lisp.h (<inttypes.h>):
7248 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7251 2003-03-15 Martin Buchholz <martin@xemacs.org>
7253 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7254 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7255 Result: "temacs can only be run in -batch mode."
7256 Fix: Check xemacs executable candidate for directory-ness.
7258 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7260 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7261 they conflict with <sys/types.h>.
7263 2003-02-14 Martin Buchholz <martin@xemacs.org>
7265 * database.c: Berkeley DB wants __STDC__ to be defined.
7267 2003-02-13 Martin Buchholz <martin@xemacs.org>
7269 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7271 2003-02-01 Martin Buchholz <martin@xemacs.org>
7273 * process-unix.c (unix_send_process): Fix C++ compile error.
7275 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7277 * Added .dylib as an acceptable shared library file extension
7278 * to support MacOSX.
7280 2003-02-01 Martin Buchholz <martin@xemacs.org>
7282 * EmacsFrameP.h (EmacsFramePart):
7283 Kludge to allow compiling with Motif1, but linking with Motif2.
7285 2003-01-28 Martin Buchholz <martin@xemacs.org>
7287 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7290 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7292 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7294 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7296 * sysdll.c: Included lisp.h to define needed alloca_array.
7298 2003-02-13 Martin Buchholz <martin@xemacs.org>
7300 Make XEmacs redisplay 10 times faster.
7301 If, that is, you're using a slow X connection and MoveOpaque.
7302 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7303 Use compress_motion = TRUE.
7304 * EmacsFrame.c (emacsFrameClassRec):
7305 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7306 * EmacsManager.c (emacsManagerClassRec):
7307 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7309 2003-01-30 Vin Shelton <acs@xemacs.org>
7311 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7313 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7315 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7316 Patch by Martin Buchholz.
7318 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7320 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7321 Thanks to icc for warning and Martin Buchholz for reporting.
7323 2003-01-29 Vin Shelton <acs@xemacs.org>
7325 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7327 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7328 remember to multiply by the element size.
7330 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7332 * XEmacs 21.4.12 "Portable Code" is released.
7334 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7336 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7337 * s/cygwin.sc: new linker file.
7339 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7341 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7343 * redisplay-x.c (x_output_string): Use X11-specified types.
7344 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7345 * emacs.c (__free_hook): Use typeof with Intel compiler.
7346 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7348 2003-01-08 Andy Piper <andy@xemacs.org>
7350 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7351 reserve size during unexec().
7353 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7355 * process-unix.c (unix_create_process): Don't let outchannel block.
7357 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7359 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7360 Needed for IsBadReadPtr().
7362 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7364 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7366 2002-12-14 Ben Wing <ben@xemacs.org>
7368 * callint.c: Declaration error.
7370 * dumper.c (pdump_load): Warning fix.
7371 * process.c: GCPRO error.
7372 * glyphs.c (unmap_subwindow):
7373 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7374 * event-stream.c (maybe_kbd_translate): Wrong argument to
7375 character_to_event().
7377 * alloc.c (garbage_collect_1):
7379 * emacs.c (debug_can_access_memory):
7380 * emacs.c (fatal_error_signal):
7381 * emacs.c (mswindows_handle_hardware_exceptions):
7384 * emacs.c (assert_failed):
7385 * emacs.c (syms_of_emacs):
7388 * print.c (std_handle_out_va):
7389 * print.c (write_string_to_stdio_stream):
7390 * print.c (write_fmt_string):
7391 * print.c (printing_badness):
7392 * print.c (printing_major_badness):
7393 * print.c (print_internal):
7394 * print.c (debug_print_no_newline):
7395 * print.c (debug_backtrace):
7396 Be more defensive in handling bad values when printing. Add code
7397 from trunk involving inhibit_non_essential_printing_operations.
7398 When going down or in debug_print(), don't do external conversion
7399 and such and try really, really hard when printing to avoid core
7400 dumping. Add force-debugging-signal, debug_break().
7402 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7404 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7405 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7407 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7409 * database.c: Fix open_database. Berkeley DB API has changed in
7410 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7412 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7414 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7416 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7418 * event-Xt.c (Xt_timeout):
7419 (Xt_timeout_callback):
7420 (emacs_Xt_add_timeout):
7421 (emacs_Xt_remove_timeout):
7422 (Xt_timeout_to_emacs_event):
7423 Turn completed_timeouts from a stack into a queue. Fixes
7424 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7426 2002-11-07 Wolfram Gloger <wg@malloc.de>
7428 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7429 * emacs.c (main): Assert that mmap'd allocation is disabled.
7431 2002-10-14 Andy Piper <andy@xemacs.org>
7433 * glyphs-widget.c (layout_query_geometry): add in fiddle
7434 factor. Include border text in width layout calculation.
7435 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7437 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7439 * XEmacs 21.4.10 "Military Intelligence" is released.
7441 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7443 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7444 using the NAS private array SoundFileInfo that no longer exists in
7445 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7446 and earlier. This is broken for some versions between 1.5a and
7449 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7451 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7453 * emacs.c (shut_down_emacs): Improve crash message.
7455 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7457 * file-coding.c (determine_real_coding_system): Check for coding
7458 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7459 shebangs and Python PEP 263.
7461 2002-10-08 Andy Piper <andy@xemacs.org>
7463 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7464 if static sizes haven't been set.
7466 2002-08-30 Mike Alexander <mta@arbortext.com>
7468 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7471 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7473 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7475 2002-09-20 Mike Sperber <mike@xemacs.org>
7477 (This partially gets back my patch from 2002-07-20 without the
7479 * callproc.c (child_setup): Remove Ben's comment noting confusion
7480 over the file descriptors >= 3: close_process_descs() doesn't
7481 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7482 * process-unix.c (unix_create_process): Call
7483 begin_dont_check_for_quit to inhibit unwanted interaction (and
7484 thus breaking of X event synchronicity) in the child.
7486 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7488 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7491 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7493 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7494 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7495 the xemacs process did not exit, but looped infinitely here. This
7498 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7500 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7501 (find_context): Improve comments.
7503 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7504 (re_match_2): An XCHAR_TABLE operation was missing.
7506 Many of the following changes were inspired by Andy Piper's (now
7507 obsolete) patch to make syntax-table text property lookup optional.
7511 * syntax.h (top level): Document semantics of syntax flags.
7512 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7513 * syntax.c, syntax.h (top level): Document syntax cache better in
7516 [Instrument syntax caching (temporary change)]
7518 * syntax.h (enum syntax_cache_statistics_functions, struct
7519 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7520 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7521 * syntax.c (scan_words, Fforward_comment, scan_lists,
7522 Fbackward_prefix_characters):
7523 * font-lock.c (find_context):
7524 Use them to instrument syntax caching.
7525 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7526 syntax_cache_statistics_function_names): New type and variables.
7527 * syntax.c (update_syntax_cache): Update and report statistics.
7529 [Major syntax cache optimizations]
7531 syntax.c (lookup_syntax_properties): Default off.
7533 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7534 * syntax.c (update_syntax_cache):
7535 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7537 [Minor syntax cache optimizations and code clarifications]
7539 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7540 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7541 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7542 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7543 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7544 (Code clarification.)
7546 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7547 scan_lists): Compute code from syncode, use Boolean macros instead
7548 of redundant masking operations. (Code clarification; any decent
7549 compiler can do this optimization.)
7551 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7554 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7555 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7556 use F*_single_property_change instead of F*_extent_change.
7557 Currently F*_single_property_change is _much_ less efficient.
7559 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7560 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7561 syntax_cache.object properly, don't leave Qt or Qnil.
7562 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7563 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7564 tests for Qt or Qnil.
7566 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7568 * redisplay.c (point_in_line_start_cache):
7569 * extents.c (print_extent_1):
7572 * extents.c (Fset_extent_property): Document `syntax-table' property.
7574 * extents.h (Fnext_single_property_change): EXFUN it.
7576 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7578 * search.c (clear_unused_search_regs): New static function.
7582 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7583 Minor clarifications in comments.
7585 * regex.c (re_match_2_internal): Ensure no stale submatches.
7587 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7589 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7591 2002-08-29 Jerry James <james@xemacs.org>
7593 * lisp.h: structrures -> structures.
7595 2002-06-03 Andy Piper <andy@xemacs.org>
7597 * frame.c (frame_conversion_internal): add conversion appropriate
7598 for setting frame dimensions in pixels.
7600 * console.h (struct console_methods): add device-specific widget
7603 * emacs.c (main_1): initialize glyph vars.
7605 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7606 (handle_focus_event_2): new function. Allow focus to
7607 be set to a particular window and widget.
7608 (enqueue_focus_event): new function. Create a
7609 synthetic focus event.
7610 (emacs_Xt_handle_magic_event): call
7611 handle_focus_event_2.
7613 * frame.c (Fset_frame_pixel_height): new function. Allow
7614 pixel-based sizing. Does the right thing on character-oriented
7616 (Fset_frame_pixel_width): ditto.
7617 (Fset_frame_pixel_size): ditto.
7618 (syms_of_frame): declare.
7620 * general-slots.h: add :vertically-justify and
7621 :horizontally-justify.
7623 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7624 (mswindows_widget_border_width): new function.
7625 (mswindows_combo_box_instantiate): set border widths.
7626 (console_type_create_glyphs_mswindows): declare.
7629 (check_valid_justification): allow vertical and horizontal
7631 (widget_border_width): new function. Call device methods.
7632 (widget_instance_border_width): ditto.
7633 (logical_unit_height): new function. Determine the height of a
7634 logical-unit. Logical units are intended to provide grid-like
7635 layout for subcontrols in a layout. If the layout is
7636 :vertically-justify top then subcontrols will be positioned on
7637 logical-unit boundaries, thus allowing adjacent subcontrols to
7639 (widget_logical_unit_height): ditto for widgets.
7640 (redisplay_widget): misc cleanup.
7641 (widget_spacing): new function. Call device specific
7642 methods. Intended to be the default gap between adjacent widgets.
7643 (widget_query_geometry): use new spacing functions to determine
7644 appropriate geometry.
7645 (initialize_widget_image_instance): initialize horizontal and
7646 vertical justification.
7647 (widget_instantiate): use logica-units where appropriate for
7648 sizing large widgets.
7649 (button_query_geometry): use widget_instance_border_width.
7650 (tree_view_query_geometry): ditto.
7651 (tab_control_query_geometry): ditto.
7652 (edit_field_query_geometry): new function.
7653 (layout_update): pick up :justify, :horizontally-justify and
7654 :vertically-justify none of which worked previously. :justify is
7655 used as a fallback for both horizontal and vertical justification.
7656 (layout_query_geometry): use logical units to size appropriately.
7657 (layout_layout): ditto.
7658 (Fwidget_logical_to_character_width): new function. Allow users to
7659 convert from logical units to characters so that frame sizes can
7660 be set appropriately.
7661 (Fwidget_logical_to_character_height): ditto.
7662 (syms_of_glyphs_widget): declare.
7663 (image_instantiator_edit_fields): add edit_field_query_geometry.
7664 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7665 :horizontally-justify.
7666 (specifier_vars_of_glyphs_widget): new function. Declare
7667 Vwidget_border_width which is not yet used.
7669 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7670 (x_widget_border_width): new function.
7671 (x_widget_instantiate): create a sensible name for widgets.
7672 (console_type_create_glyphs_x): declare x_widget_border_width.
7674 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7675 (struct Lisp_Image_Instance): add :vertically-justify and
7676 :horizontally-justify.
7677 (LAYOUT_JUSTIFY_TOP): new.
7678 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7679 (ROUND_UP): new macro. Round argument up to next integral
7682 * redisplay-output.c (redisplay_output_layout): misc formatting.
7684 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7686 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7688 * XEmacs 21.4.9 "Informed Management" is released.
7690 2002-08-19 Andy Piper <andy@xemacs.org>
7692 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7695 * realpath.c (xrealpath): normalize drive spec also so that dir
7696 sep chars are not mixed on cygwin.
7698 2002-08-06 Jerry James <james@xemacs.org>
7700 * window.c (Fsplit_window): Count only half of the divider width
7701 against the left window when splitting horizontally.
7703 2002-06-24 Andy Piper <andy@xemacs.org>
7705 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7706 toolbar was cleared.
7708 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7709 function. Split out from mswindows_output_frame_toolbars.
7710 (mswindows_output_frame_toolbars): move clear pieces to
7711 mswindows_output_frame_toolbars.
7713 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7714 out from gtk_output_frame_toolbars.
7715 (gtk_output_frame_toolbars): move clear pieces to
7716 gtk_clear_frame_toolbars.
7718 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7719 the frame is cleared. How this ever worked before is a mystery.
7720 (x_output_frame_toolbars): Only output toolbars.
7721 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7723 * gutter.c (update_gutter_geometry):
7724 Mark frame layout changed.
7725 (update_frame_gutter_geometry, update_frame_gutters):
7726 Respect frame_layout_changed.
7728 * console.h (struct console_methods): add
7729 clear_frame_toolbars_method.
7731 * redisplay.c (redisplay_frame): call
7732 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7734 * toolbar.h: declare update_frame_toolbars_geometry.
7736 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7737 out from update_frame_toolbars. Call clear_frame_toolbars.
7738 (update_frame_toolbars): only output, do not change geometry.
7740 * redisplay.c: add frame_layout_changed.
7742 * redisplay.h: add frame_layout_changed.
7743 (CLASS_RESET_CHANGED_FLAGS): set it.
7744 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7745 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7746 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7748 * device.h (struct device): add frame_layout_changed.
7749 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7751 * frame.h (struct frame): add frame_layout_changed.
7752 (MARK_FRAME_LAYOUT_CHANGED): new.
7754 2002-06-30 Mike Alexander <mta@arbortext.com>
7756 * event-msw.c (mswindows_need_event): Don't wait for a new message
7757 if the queue is not empty. Suggested by Paul Moore.
7759 2002-06-12 Andy Piper <andy@xemacs.org>
7761 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7762 for printing on accurately.
7764 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7766 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7767 WM_ACTIVATE message. Make sure that the frame is visible if the
7768 window is visible. This seemss to fix the problem where XEmacs
7769 appears to freeze after switching desktops with certain virtual
7771 (debug_output_mswin_message): Added code to output message
7772 parameters for WM_WINDOWPOSCHANGED,
7773 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7775 2002-05-25 Andy Piper <andy@xemacs.org>
7777 * select-x.c (vars_of_select_x): Fix docstring of
7778 x-selection-strict-motif-ownership
7780 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7782 * keymap.c (get_keymap):
7783 Add comment about do_autoload GCPROs own args.
7785 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7787 * bytecode.c (execute_optimized_program): check_opcode ifdef
7788 ERROR_CHECK_BYTE_CODE.
7790 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7792 Thanks to Ben Wing and Michael Sperber.
7794 * eval.c (Fcommand_execute):
7797 (Fmacroexpand_internal):
7798 (function_argcount):
7799 callint.c (Fcall_interactively):
7800 Add comment about do_autoload GCPROs own args.
7802 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7804 * eval.c (Ffuncall): Extra braces to placate GCC.
7806 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7808 * backtrace.h (grow_specpdl):
7810 * EmacsFrame.c (EmacsFrameSetValues):
7811 * eval.c (grow_specpdl):
7812 * ExternalShell.c (hack_event_masks_1):
7813 * glyphs-x.c (convert_EImage_to_XImage):
7814 (x_finalize_image_instance):
7815 * ralloc.c (page_size):
7817 * xgccache.c (gc_cache_hash):
7818 Fix unsigned comparison warnings.
7820 2002-07-29 Jerry James <james@xemacs.org>
7822 * lread.c (locate_file): Any nonnegative return value indicates
7823 success if MODE is nonnegative.
7825 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7827 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7830 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7832 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7834 * dumper.c (pdump_get_indirect_count):
7835 (pdump_scan_by_alignment):
7836 (pdump_dump_root_struct_ptrs):
7837 (pdump_dump_rtables):
7838 (pdump_dump_root_objects):
7840 * nas.c (WaveOpenDataForReading):
7841 * fns.c (print_bit_vector):
7842 * font-lock.c (SINGLE_SYNTAX_STYLE):
7843 * glyphs.c (check_for_ignored_expose):
7844 (find_matching_subwindow):
7846 * imgproc.c (get_histogram):
7847 * redisplay.c (point_in_line_start_cache):
7848 * redisplay-output.c (redisplay_unmap_subwindows):
7849 * symbols.c (defsymbol_massage_name_1):
7850 (defkeyword_massage_name):
7851 (deferror_massage_name_and_message):
7852 * redisplay-x.c (x_output_string):
7853 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7854 * frame.h (struct frame):
7855 * filelock.c (current_lock_owner):
7856 * doprnt.c (emacs_doprnt_1):
7857 * lisp.h (struct Lisp_Bit_Vector):
7861 2002-02-13 Ben Wing <ben@xemacs.org>
7863 * event-stream.c (reset_key_echo):
7864 * event-stream.c (reset_this_command_keys):
7865 * event-stream.c (execute_command_event):
7866 If console is dead as a result of C-x 5 0, then post-command stuff
7867 needs to be careful and do only non-console-specific stuff.
7869 2002-07-01 Mike Sperber <mike@xemacs.org>
7871 * process-unix.c (unix_send_process): Mark coding_outstream as
7872 non-open upon SIGPIPE.
7874 * event-stream.c (Fnext_event): Reorder switch cases to something
7877 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7879 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7880 Don't bogusly reinitialize ascii_character property.
7882 2002-07-08 Mike Sperber <mike@xemacs.org>
7884 * process.c (Fstart_process_internal): Do error checking before we
7885 fork off the child, so the child can't muck with the state of the
7888 2002-07-08 Mike Sperber <mike@xemacs.org>
7890 * ralloc.c (init_ralloc): Allocate properly for pdump.
7892 2002-06-12 Andy Piper <andy@xemacs.org>
7894 * glyphs.c (query_string_geometry): check the string.
7896 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7899 2002-06-17 Jerry James <james@xemacs.org>
7901 * sysdll.c: Remove RTLD_GLOBAL initialization.
7902 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7904 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7906 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7908 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7910 * sysdep.c (sys_rename): Make sys_rename work for the case where
7911 Windows rename sets errno to EACCES if target file exists.
7913 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7915 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7916 Fix detection of metric units to work on Win95
7918 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7920 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7922 2002-04-25 Andy Piper <andy@xemacs.org>
7924 * redisplay.c (create_text_block): Remove extra comment trailer.
7926 2002-04-24 Andy Piper <andy@xemacs.org>
7928 * redisplay.c (create_text_block): Don't actually add propagation
7929 data if the line ends after we have added a glyph.
7931 2002-04-22 Andy Piper <andy@xemacs.org>
7933 * extents.c (extent_fragment_update): check for glyphs we have
7934 previously displayed.
7935 * extents.c (print_extent_1): warning removal.
7936 * extents.h: change prototype.
7937 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7938 widths correctly for wide glyphs.
7939 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7940 * redisplay.c (prop_type): add PROP_GLYPH.
7941 * redisplay.c (struct prop_block): add glyph type
7942 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7943 to the propagation data.
7944 * redisplay.c (create_text_block): if there is a glyph in the
7945 propagation data use it to salt extent_fragment_update.
7946 * redisplay.c (create_string_text_block): ditto.
7948 2002-04-13 Nix <nix@esperi.demon.co.uk>
7950 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7951 * redisplay-output.c (compare_runes): Compare them.
7952 * redisplay.c: Update copyright date.
7953 * redisplay.c (pos_data): Add need_baseline_computation field.
7954 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7955 need_baseline_computation; zero yoffset. Set max_pixmap_height
7956 for all pixmaps, not just automatically positioned ones.
7957 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7958 * redisplay.c (calculate_baseline): New, compute textual baseline.
7959 * redisplay.c (add_glyph_rune): Call them.
7960 * redisplay.c (create_text_block): Likewise.
7961 * redisplay.c (create_overlay_glyph_block): Likewise.
7962 * redisplay.c (add_margin_runes): Likewise.
7963 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7965 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7966 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7967 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7968 * redisplay-msw.c (mswindows_output_string): Likewise.
7969 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7970 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7971 * redisplay-x.c (x_output_display_block): Likewise.
7973 2002-03-28 Ben Wing <ben@xemacs.org>
7975 * redisplay.c: Fixed bug in redisplay
7976 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7977 and down of the lines, since they're bigger than the line
7978 size. (It was seen most obviously when there's a horizontal scroll
7979 bar, e.g. do C-h a glyph or something like that.) The problem was
7980 that the glyph-contrib-p setting on glyphs was ignored even if it
7981 was set properly, which it wasn't until now.
7983 2002-04-24 Andy Piper <andy@xemacs.org>
7985 * lisp.h (Dynarr_end): Fix definition.
7987 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7989 * redisplay.c (mark_redisplay): Remove call to
7990 update_frame_window_mirror.
7992 2001-11-15 Andy Piper <andy@xemacs.org>
7994 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7997 2002-02-13 Andy Piper <andy@xemacs.org>
7999 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8000 we did in fact enqueue the XM_MAPFRAME event.
8002 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8004 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8005 to fix problem switching between virtual desktops under virtuawin
8006 virtual window manager.
8008 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8010 * event-msw.c: Typo fix.
8011 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8012 magic XM_MAPFRAME event has been sent.
8014 2001-11-23 Andy Piper <andy@xemacs.org>
8016 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8018 2001-11-21 Andy Piper <andy@xemacs.org>
8020 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8021 mouse events outside the frame.
8023 2002-03-20 Andy Piper <andy@xemacs.org>
8025 * menubar-msw.c (mswindows_popup_menu): warning removal.
8026 * dialog-msw.c (dialog_popped_down): ditto.
8028 2001-12-11 Andy Piper <andy@xemacs.org>
8030 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8031 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8033 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8034 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8035 * menubar-msw.c (mswindows_popup_menu): ditto.
8037 2001-10-29 Andy Piper <andy@xemacs.org>
8039 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8042 2002-01-03 Andy Piper <andy@xemacs.org>
8044 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8048 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8050 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8051 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8052 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8053 Detect and handle case where machine is set up for metric units
8055 2002-04-02 Andy Piper <andy@xemacs.org>
8057 * dired-msw.c (mswindows_get_files):
8058 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8059 completely handled by XEmacs. Suggested by Thomas Vogler
8060 <mail@thomas-vogler.de>.
8062 2001-11-14 Andy Piper <andy@xemacs.org>
8064 * nt.c (REG_ROOT): change registry key to XEmacs.
8066 2002-04-27 Andy Piper <andy@xemacs.org>
8068 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8070 2002-04-26 Andy Piper <andy@xemacs.org>
8072 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8075 2002-03-14 Mike Alexander <mta@arbortext.com>
8077 * event-msw.c (mswindows_unwait_process): New, remove process from
8079 * process-nt.c (nt_finalize_process_data): Call
8080 mswindows_unwait_process
8081 * console-msw.h: Declare mswindows_unwait_process
8083 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8085 * editfns.c (Fdecode_time):
8086 (Fformat_time_string):
8087 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8088 (make_time): Warning elimination (change arg name).
8090 2001-11-24 Andy Piper <andy@xemacs.org>
8092 * window.c (Fsplit_window): Doc return type.
8094 2002-04-01 Andy Piper <andy@xemacs.org>
8096 * emacs.c (Fkill_emacs): Only output message box in interactive
8099 2002-04-26 Andy Piper <andy@xemacs.org>
8101 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8104 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8106 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8109 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8111 * XEmacs 21.4.8 "Honest Recruiter" is released.
8113 2002-05-07 Nix <nix@esperi.demon.co.uk>
8115 Supersedes 2002-04-17 patch.
8117 * process.h (PROCESS_LIVE_P): Use the process status as
8118 evidence of health, not the state of the input stream.
8119 (PROCESS_READABLE_P): Say if the process is readable
8120 from. (It may be dead nonetheless.)
8121 (CHECK_READABLE_PROCESS): Test for that condition.
8123 * process.c (create_process): Use PROCESS_READABLE_P.
8124 (read_process_output, set_process_filter): Likewise.
8126 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8127 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8129 This code is #if 0'd, this is not the time to add new functions:
8131 * process.c (Fprocess_readable_p): Report readability status.
8132 * process.c (Qprocess_readable_p): New, associated symbol...
8133 * process.c (syms_of_process): ... initialize it.
8135 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8137 * XEmacs 21.4.7 "Economic Science" is released.
8139 2002-04-17 Nix <nix@esperi.demon.co.uk>
8141 * process.h (PROCESS_LIVE_P): Use the process status as
8142 evidence of health, not the state of the input stream.
8144 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8146 * sysdep.c (sys_siglist): change "signum" to "signal"
8148 2001-04-21 Martin Buchholz <martin@xemacs.org>
8150 * s/darwin.h: New file.
8151 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8153 2002-04-23 Andreas Jaeger <aj@suse.de>
8155 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8156 which use lib64 for 64-bit libs.
8157 (START_FILES): Likewise.
8159 2002-02-11 Mike Sperber <mike@xemacs.org>
8162 (x_IO_error_handler):
8163 (x_init_device): Temporarily keep device in static variable
8164 `device_being_initialized' so we can recover gracefully from
8165 internal XOpenDevice failure. (XOpenDevice is documented to
8166 return NULL on failure, but sometimes calls the IO error handler
8169 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8171 * dired.c (Ffile_name_all_completions): Change documentation --
8172 remove reference to completion-ignored-extensions.
8173 * dired.c (vars_of_dired): Change documentation for
8174 completion-ignored-extensions -- remove reference to
8175 file-name-all-completions.
8177 2002-03-06 Jerry James <james@xemacs.org>
8179 * emodules.c (emodules_load): Fix multiple loading of same module.
8181 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8182 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8183 RTLD_LAZY to avoid incorrect symbol binding when using nested
8184 shared libraries on Solaris.
8186 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8188 * fileio.c (Ffind_file_name_handler): Improve docstring.
8190 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8192 * fns.c (Fmapconcat): Improve docstring.
8194 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8196 * device-gtk.c: Add prototype for
8197 emacs_gtk_selection_clear_event_handle.
8198 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8199 selection. Setup signal handler for "selection_clear_event"
8200 (emacs_gtk_selection_clear_event_handle).
8202 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8203 other applications owning the clipboard (based on
8204 x_handle_selection_clear).
8206 2001-12-23 William M. Perry <wmperry@gnu.org>
8208 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8210 2002-01-04 Martin Buchholz <martin@xemacs.org>
8212 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8214 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8216 * XEmacs 21.4.6 "Common Lisp" is released.
8218 2001-12-16 Torsten Duwe <duwe@caldera.de>
8220 * search.c (Freplace_match): Add missing sub-expression functionality.
8222 * buffer.c (decode_buffer): Add a check for pointer type to
8223 decode_buffer, before gcc's CSE optimization reorders a
8224 dereference in front of the allow_string test.
8226 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8228 * window.c (window_loop): Fix bug that sometimes prevented
8229 window_loop() from iterating across multiple devices. Also, at
8230 Ben's request, changed infloop-detecting code to abort() instead
8231 of silently terminating window_loop().
8233 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8235 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8236 * editfns.c (make_time): New function.
8237 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8238 * lisp.h (make_time): Prototype and comment it.
8239 * dired.c (wasteful_word_to_lisp): Deprecate.
8240 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8242 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8244 * fileio.c (auto_save_1): Use current coding system, not
8247 2001-11-13 Ben Wing <ben@xemacs.org>
8250 * window.c (window_truncation_on):
8251 * window.c (syms_of_window):
8252 truncate-partial-width-windows should respect the buffer being
8253 displayed, like other redisplay vars.
8255 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8257 * event-stream.c (Fread_key_sequence): save current buffer.
8259 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8261 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8263 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8265 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8267 2001-10-26 Mike Alexander <mta@arbortext.com>
8269 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8271 2001-10-25 Andy Piper <andy@xemacs.org>
8274 * dialog-msw.c (handle_directory_proc): new function.
8275 (handle_directory_dialog_box): new fucntion.
8276 (handle_file_dialog_box): use new directory dialog support.
8277 (mswindows_make_dialog_box_internal): ditto.
8278 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8280 (mswindows_find_frame): make global.
8281 * fileio.c (Fexpand_file_name): build fix.
8282 * general-slots.h: add Qdirectory.
8283 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8285 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8286 cygwin not leaving win32 paths unchanged.
8287 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8288 cygwin runtime to do path conversion.
8289 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8290 (syms_of_win32): add new function.
8291 * window.c (window_loop): build fix.
8293 2001-10-15 Andy Piper <andy@xemacs.org>
8295 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8297 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8299 * XEmacs 21.4.5 "Civil Service" is released.
8301 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8303 * glyphs-x.c: Force buffer-tab highlight update when moving the
8304 buffer, avoiding an ugly black border, used for keyboard focus
8305 indication, on a widget that can never have keyboard focus, the
8308 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8310 * process-unix.c (unix_open_multicast_group): Remove too much
8311 conversion between host and network byte order.
8313 2001-09-10 Nix <nix@esperi.demon.co.uk>
8315 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8316 before replacing them.
8318 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8321 * src/window.c (undedicate_windows): Use it.
8322 * src/window.h: Add prototype.
8324 2001-09-17 Ben Wing <ben@xemacs.org>
8326 * fileio.c (normalize_filename):
8327 * fileio.c (Fexpand_file_name):
8328 Fix various C++ compile errors in Andy's recent code.
8330 * callint.c (Fcall_interactively):
8331 * editfns.c (Ftemp_directory):
8332 * editfns.c (Fuser_full_name):
8333 * emacs.c (argmatch):
8334 * lread.c (locate_file_map_suffixes):
8335 * redisplay-x.c (x_ring_bell):
8336 Fix sign-compare warnings.
8338 2001-09-08 Andy Piper <andy@xemacs.org>
8340 * fileio.c (normalize_filename): copied from nt.c
8341 * (Ffile_name_directory): enable win32 paths under cygwin.
8342 * (Ffile_name_nondirectory): ditto.
8343 * (directory_file_name): ditto.
8344 * (Fexpand_file_name): ditto.
8345 * (Ffile_truename): ditto.
8346 * (Fsubstitute_in_file_name): ditto.
8347 * (Ffile_name_absolute_p): ditto.
8348 * (Ffile_readable_p): ditto.
8350 2001-09-08 Andy Piper <andy@xemacs.org>
8352 * device-msw.c (mswindows_finish_init_device): remove dde
8354 * device-msw.c (mswindows_init_dde): factor out from
8355 mswindows_finish_init_device()
8356 * device-msw.c (init_mswindows_very_early): new function
8357 initialize but don't enable dde.
8358 * emacs.c (main_1): call init_mswindows_very_early.
8360 * event-msw.c (mswindows_dde_callback): only execute when we are
8362 * symsinit.h: declare init_mswindows_very_early.
8364 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8366 [sjt: This has been in 21.5 for months with no complaints.]
8368 * console.h (struct console_methods): Added flags member.
8369 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8370 (CONMETH_IMPL_FLAG):
8371 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8372 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8374 * device.c (window_system_pixelated_geometry): Use the above macros.
8376 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8377 implememntation flag.
8378 * device.h (DEVICE_DISPLAY_P): Use it.
8380 * frame.c (delete_frame_internal): Use the above macro.
8382 * redisplay.c (redisplay_device): Use it.
8383 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8384 (redisplay_frame): Ditto.
8386 * device-msw.c (mswindows_device_implementation_flags): Removed.
8387 (msprinter_device_implementation_flags): Removed.
8388 (console_type_create_device_mswindows): Removed references to
8389 implementation_flags methods, set implementation flags here.
8390 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8392 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8393 (console_type_create_device_gtk): Removed method declaration.
8394 Added commented out statement which semantically matches the
8395 commented out statement in the above removed method.
8397 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8399 The attached patch fixes a few warnings.
8401 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8402 * src/frame-gtk.c: guard against GNOME calls in GTK only
8403 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8404 * src/select-gtk.c: prototype lisp_to_time
8406 2001-06-08 Ben Wing <ben@xemacs.org>
8408 ------ gc-in-window-procedure fixes ------
8411 * alloc.c (struct post_gc_action):
8412 * alloc.c (register_post_gc_action):
8413 * alloc.c (run_post_gc_actions):
8414 * alloc.c (garbage_collect_1):
8415 Create "post-gc actions", to avoid those dreaded "GC during window
8416 procedure" problems.
8419 Abort, clean and simple, when GC in window procedure. We want
8420 to flush these puppies out.
8423 * glyphs-msw.c (finalize_destroy_window):
8424 * glyphs-msw.c (mswindows_finalize_image_instance):
8425 Use a post-gc action when destroying subwindows.
8428 Declare register_post_gc_action().
8431 * scrollbar-msw.c (unshow_that_mofo):
8432 Use a post-gc action when unshowing scrollbar windows, if in gc.
8434 * redisplay.c (mark_redisplay):
8435 Add comment about the utter evilness of what's going down here.
8437 ------ cygwin setitimer fixes ------
8439 * Makefile.in.in (sheap_objs):
8440 * Makefile.in.in (profile_objs):
8441 * Makefile.in.in (objs):
8442 Compile profile.c only when HAVE_SETITIMER.
8444 * nt.c (mswindows_sigset):
8445 * nt.c (mswindows_sighold):
8446 * nt.c (mswindows_sigrelse):
8447 * nt.c (mswindows_sigpause):
8448 * nt.c (mswindows_raise):
8449 * nt.c (close_file_data):
8453 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8456 * profile.c (Fstart_profiling):
8457 * profile.c (Fstop_profiling):
8458 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8459 instead of just plain setitimer().
8462 * signal.c (set_one_shot_timer):
8464 Define qxe_setitimer() as an encapsulation around setitimer() --
8465 call setitimer() directly unless Cygwin or MS Win, in which case
8466 we use our simulated version in win32.c.
8469 * systime.h (struct itimerval):
8470 * systime.h (ITIMER_REAL):
8471 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8472 comment about "qxe" and the policy regarding encapsulation.
8475 * win32.c (setitimer_helper_proc):
8476 * win32.c (setitimer_helper_period):
8477 * win32.c (setitimer_helper):
8478 * win32.c (mswindows_setitimer):
8479 Move setitimer() emulation here, so Cygwin can use it.
8480 Rename a couple of functions and variables to be longer and more
8481 descriptive. In setitimer_helper_proc(), send the signal
8482 using either mswindows_raise() or (on Cygwin) kill(). If for
8483 some reason we are still getting lockups, we'll change the kill()
8484 to directly invoke the signal handlers.
8486 ------ windows shell fixes ------
8490 Comments about how these two files must die.
8492 * callproc.c (init_callproc):
8493 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8494 not just COMSPEC. (more correct and closer to FSF.) Don't
8495 force a value for SHELL into the environment. (Comments added
8496 to explain why not.)
8498 * nt.c (init_user_info):
8499 Don't shove a fabricated SHELL into the environment. See above.
8501 2001-06-01 Ben Wing <ben@xemacs.org>
8503 * Makefile.in.in (ldflags):
8504 eliminate that pesky "defaulting to 00401000" warning.
8508 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8510 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8511 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8513 2001-04-24 Jerry James <james@xemacs.org>
8515 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8518 2001-06-01 Ben Wing <ben@xemacs.org>
8520 * event-msw.c (debug_mswin_messages):
8521 conditionalize the messages that were causing compile errors.
8522 (if only macros could generate #ifdef statements ...)
8524 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8526 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8528 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8530 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8532 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8534 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8535 * process-unix.c (unix_canonicalize_host_name):
8536 sysdep.c (init_system_name):
8537 Use it to conditionally support IPv6 canonicalization.
8539 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8542 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8544 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8546 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8547 attempt is made to scroll when no scroll bar is available.
8549 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8551 * input-method-motif.c (XIM_delete_frame): New callback.
8552 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8553 got deleted from 21.4.3.)
8555 2001-06-01 Ben Wing <ben@xemacs.org>
8557 * nt.c (mswindows_utime):
8558 * nt.c (close_file_data):
8559 fix off-by-one-indirection error.
8561 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8563 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8564 because set_file_times() now takes Lisp_Object path, instead of
8566 * nt.c: Include buffer.h.
8567 * nt.c (convert_from_time_t): New.
8568 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8569 not set mtime correctly.
8570 * nt.h: Declare mswindows_utime().
8571 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8572 path, instead of char*.
8573 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8575 2001-05-30 Ben Wing <ben@xemacs.org>
8579 (Stephen, just take all event-msw.c patches. This includes
8580 the "iconify" fix below.)
8583 * event-msw.c (mswindows_dequeue_dispatch_event):
8584 * event-msw.c (assert):
8585 * event-msw.c (emacs_mswindows_quit_p):
8586 * event-msw.c (debug_mswin_messages):
8587 * event-msw.c (debug_output_mswin_message):
8588 * event-msw.c (vars_of_event_mswindows):
8589 Fix yet more problems with C-g handling.
8590 Implement debug-mswindows-events.
8592 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8594 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8596 2001-05-23 Ben Wing <ben@xemacs.org>
8598 * event-msw.c (winsock_writer):
8599 * event-msw.c (winsock_closer):
8600 prior kludgy code was clobbering the buffer, thinking it was
8601 "unused" space to store an unneeded return value; instead, use
8602 the variable we've already got staring us in the face.
8604 2001-05-17 Andy Piper <andy@xemacs.org>
8606 * sysfile.h: don't assume that file attributes are boolean
8608 2001-05-23 Ben Wing <ben@xemacs.org>
8610 * device-msw.c (msprinter_init_device):
8611 signal an error rather than crash with an unavailable network
8612 printer (from Mike Alexander).
8615 * event-msw.c (struct winsock_stream):
8616 * event-msw.c (winsock_writer):
8617 * event-msw.c (winsock_closer):
8618 * event-msw.c (make_winsock_stream_1):
8619 cleanup headers. fix (hopefully) an error with data corruption
8620 when sending to a network connection.
8622 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8623 to handle the ~user prefix by (a) always assuming we're referencing
8624 ourselves and not even verifying the user -- hence any file with
8625 a tilde as its first char is invalid! (b) if there wasn't a slash
8626 following the filename, the pointer was set *past* the end of
8627 file and we started reading from uninitialized memory. Now we
8628 simply treat these as files, always.
8630 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8632 2001-05-19 Ben Wing <ben@xemacs.org>
8634 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8637 * process-nt.c (vars_of_process_nt):
8638 remove unused mswindows-quote-process-args. rec for 21.4.
8640 2001-05-12 Ben Wing <ben@xemacs.org>
8642 * event-msw.c (mswindows_dde_callback):
8643 * event-msw.c (mswindows_wnd_proc):
8644 eliminate cygwin warnings.
8646 2001-05-06 Ben Wing <ben@xemacs.org>
8650 * device-msw.c (print_dialog_worker):
8651 * device-msw.c (mswindows_handle_print_dialog_box):
8652 * device-msw.c (syms_of_device_mswindows):
8653 * dialog-msw.c (mswindows_make_dialog_box_internal):
8655 implement printing the selection when it's selected.
8657 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8659 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8661 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8663 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8664 EMACS_INT is signed.
8666 2001-04-15 Michael Lausch <mla@1012surf.net>
8668 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8669 gtk_widget_request_size() to give scrollbar >0 width for
8672 2001-05-30 William M. Perry <wmperry@gnu.org>
8674 * event-gtk.c: Check for buttons as modifier keys.
8676 2001-05-25 Craig Lanning <CraigL@Knology.net>
8679 Properly find MinGW's <process.h> inside Cygwin's restructured
8680 include directories. Don't try to include <cygwin/version.h>
8681 since we are dropping support for MinGW in versions of Cygwin
8684 Drop support for MinGW in versions of Cygwin before b21.
8686 Properly find MinGW's <process.h> inside Cygwin's restructured
8687 include directories.
8689 Drop support for MinGW in versions of Cygwin before b21.
8691 Even though a.out.h is no longer detected by configure, allow
8692 MinGW to use it until we figure out how to do the job with Win32.
8694 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8696 * syntax.c (find_start_of_comment):
8697 Fix `unbalanced parentheses' bug when dealing with mixed comment
8698 styles in c++/java/etc. mode
8700 2001-05-29 Mike Alexander <mta@arbortext.com>
8702 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8703 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8705 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8707 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8709 2001-03-31 Mike Sperber <mike@xemacs.org>
8711 * search.c (Freplace_match): Support FSF-style specification of
8712 match subexpression when applied to a buffer.
8714 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8716 * event-stream.c (is_scrollbar_event): add missing semicolon
8718 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8720 * Makefile.in.in: Use TAR macro instead of hardcoding
8721 tar. Allows use of GNU tar instead of system tar
8723 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8725 * event-stream.c (is_scrollbar_event): add missing semicolon
8727 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8729 * XEmacs 21.4.3 "Academic Rigor" is released.
8731 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8733 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8735 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8737 * buffer.c (Vcase_fold_search): Remove obsolete
8738 comment about non ASCII case-fold-search. This
8739 bug has been fixed by case-table changes.
8741 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8743 * event-msw.c: Restore include of events-mod.h.
8745 2001-04-22 zhaoway <zw@debian.org>
8747 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8750 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8752 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8754 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8756 * mule-charset.c (Fmake_charset): Add missing else.
8758 2001-04-23 Ben Wing <ben@xemacs.org>
8760 * event-msw.c (FAKE_MOD_QUIT):
8761 * event-msw.c (mswindows_dequeue_dispatch_event):
8762 * event-msw.c (mswindows_wnd_proc):
8763 * event-msw.c (emacs_mswindows_quit_p):
8764 Get critical quit working.
8766 2001-05-05 Ben Wing <ben@xemacs.org>
8770 * device-msw.c (mswindows_get_default_margin):
8771 * frame-msw.c (mswindows_size_frame_internal):
8772 * frame-msw.c (msprinter_init_frame_1):
8773 * frame-msw.c (vars_of_frame_mswindows):
8774 Change top/bottom margin defaults to 0.5 inches.
8776 2001-05-01 Martin Buchholz <martin@xemacs.org>
8778 Fix link error with gcc 3.0 on Linux.
8779 * terminfo.c (UP): Remove.
8780 * terminfo.c (BC): Remove.
8781 * terminfo.c (PC): Remove.
8782 They weren't used, and in any case, these symbols should be
8783 defined in the *library*.
8785 2001-05-03 Martin Buchholz <martin@xemacs.org>
8787 * s/aix4.h: Fix crash with xlc -O3.
8788 Improve comment explaining how -O3 works.
8790 2001-04-15 Ben Wing <ben@xemacs.org>
8793 * event-stream.c (Fnext_event):
8794 * event-stream.c (is_scrollbar_event):
8795 * event-stream.c (execute_command_event):
8796 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8797 crash' problem. His fix introduces other problems. We filter
8798 out scrollbar events specifically, making them somewhat invisible
8799 to command-building, and not appearing in `this-command-keys'.
8800 More work is still needed (see comments in event-stream.c), but
8801 this fixes all the major problems.
8803 2001-04-20 Ben Wing <ben@xemacs.org>
8805 * .cvsignore: Added stuff for Windows.
8807 2001-04-28 Ben Wing <ben@xemacs.org>
8809 * buffer.c (Ferase_buffer):
8810 * editfns.c (buffer_insert1):
8811 * editfns.c (Finsert_before_markers):
8812 * editfns.c (Finsert_string):
8813 * editfns.c (Finsert_char):
8814 * editfns.c (Fdelete_region):
8815 * editfns.c (Fwiden):
8816 * editfns.c (Fnarrow_to_region):
8817 remove bogus lines setting zmacs_region_stays to 0.
8819 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8821 * process-unix.c (unix_open_network_stream): If connect() fails
8822 invalidate file descriptor after closing it.
8824 2001-03-08 Mike Alexander <mta@arbortext.com>
8826 * event-msw.c (mswindows_need_event_in_modal_loop):
8827 Don't dispatch a message if we didn't get one.
8828 (mswindows_need_event):
8829 Terminate the correct process when one exits instead of the first
8830 one on Vprocess_list and look for process termination when in
8831 mswindows_protect_modal_loop.
8833 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8835 * XEmacs 21.4.1 "Copyleft" is released.
8837 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8839 * input-method-motif.c (XIM_delete_frame): New callback.
8840 (XIM_init_frame): Register it.
8842 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8844 * XEmacs 21.4.0 "Solid Vapor" is released.
8846 2001-04-15 Ben Wing <ben@xemacs.org>
8848 * cmdloop.c (call_command_loop):
8849 Fix braino in bit-rotting code.
8851 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8853 * extents.c (Fset_extent_endpoints): Force creation of extent info
8854 in buffer_or_string.
8856 * extents.c (process_extents_for_insertion_mapper): Correctly
8857 check for open-open zero-length extents.
8859 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8861 * lisp.h: New typedefs Memory_count, Element_count.
8864 Sign-compare warning elimination: several unsigned -> signed.
8865 Based on work by Ben Wing <ben@xemacs.org>.
8867 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8869 * XEmacs 21.2.47 "Zephir" is released.
8871 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8873 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8875 2001-04-03 Mike Sperber <mike@xemacs.org>
8877 * search.c: Revert previous patch due because of release.
8879 2001-03-30 Ben Wing <ben@xemacs.org>
8882 Add missing killpg prototype.
8885 Add a comment about fixing problems when a new entry is added
8888 * frame-msw.c (mswindows_init_frame_1):
8889 Fix compile warnings.
8891 * menubar.c (vars_of_menubar):
8892 Provide `menu-accelerator-support' to indicate that we properly
8893 support %_ in menu specifications, so that package code can
8894 conditionalize on this (and remove %_ from menu specifications
8899 * scrollbar-msw.c (can_scroll):
8901 Fix handling of mouse wheel under Windows to follow standards --
8902 now scrolls window under pointer, not selected window.
8904 2001-03-31 Mike Sperber <mike@xemacs.org>
8906 * search.c (Freplace_match): Support FSF-style specification of
8907 match subexpression when applied to a buffer.
8909 2001-03-15 Martin Buchholz <martin@xemacs.org>
8911 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8912 function to modify KEYMAP, so map over a copy of the hash table.
8914 2001-03-21 Martin Buchholz <martin@xemacs.org>
8916 * XEmacs 21.2.46 "Urania" is released.
8918 2001-03-20 Dan Holmsand <dan@eyebee.com>
8920 * realpath.c (xrealpath): Make file-truename work with symlinks to
8921 /cygdrive paths on cygwin. Always lowercase drive-letters on
8923 (cygwin_readlink): Don't try to find canonical filename unless
8926 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8928 * ChangeLog: Log GTK merge.
8934 Revert gratuitous whitespace changes from GTK merge.
8936 * emacs.c: Document end of complex #ifdef @ l. 1495.
8939 2001-03-12 Andy Piper <andy@xemacs.org>
8941 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8942 have to do likewise.
8944 2001-03-12 Andy Piper <andy@xemacs.org>
8946 * sysdep.c: we only support mingw now.
8948 2001-03-09 Andy Piper <andy@xemacs.org>
8950 * unexcw.c (copy_executable_and_dump_data_section): making approx
8951 overrun a warning only.
8953 2001-03-10 William M. Perry <wmperry@aventail.com>
8955 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8956 satisfy Stephen's identical-after-cpp plea.
8958 2001-03-02 Ben Wing <ben@xemacs.org>
8961 * cmds.c (Fforward_char):
8965 Augment documentation of the most common motion commands to make
8966 note of the shifted-motion support.
8968 2001-03-02 Ben Wing <ben@xemacs.org>
8970 * nt.c (mswindows_fstat):
8971 * nt.c (mswindows_stat):
8972 * search.c (boyer_moore):
8973 Fix compile warnings under Windows.
8975 * sysdep.c (sys_readdir):
8976 Fix buggy filename-conversion code under Mule.
8978 2001-03-09 William M. Perry <wmperry@aventail.com>
9000 * redisplay-output.c:
9006 The Great GTK Merge.
9013 * emacs-widget-accessors.c:
9027 * native-gtk-toolbar.c:
9038 The Great GTK Merge: new files.
9040 2001-02-26 Ben Wing <ben@xemacs.org>
9042 Reapplied Lstream change.
9044 2001-02-26 Ben Wing <ben@xemacs.org>
9046 Undid the last change, since it is more controversial than I
9047 thought. It should be back in at some point soon.
9049 2001-02-25 Ben Wing <ben@xemacs.org>
9052 * callproc.c (Fold_call_process_internal):
9053 * event-msw.c (ntpipe_slurp_reader):
9054 * event-msw.c (ntpipe_shove_writer):
9055 * event-msw.c (winsock_reader):
9056 * event-msw.c (winsock_writer):
9058 * file-coding.c (detect_eol_type):
9059 * file-coding.c (detect_coding_type):
9060 * file-coding.c (determine_real_coding_system):
9061 * file-coding.c (Fdetect_coding_region):
9062 * file-coding.c (decoding_reader):
9063 * file-coding.c (decoding_writer):
9064 * file-coding.c (mule_decode):
9065 * file-coding.c (Fdecode_coding_region):
9066 * file-coding.c (encoding_reader):
9067 * file-coding.c (encoding_writer):
9068 * file-coding.c (mule_encode):
9069 * file-coding.c (Fencode_coding_region):
9070 * file-coding.c (detect_coding_sjis):
9071 * file-coding.c (decode_coding_sjis):
9072 * file-coding.c (encode_coding_sjis):
9073 * file-coding.c (detect_coding_big5):
9074 * file-coding.c (decode_coding_big5):
9075 * file-coding.c (encode_coding_big5):
9076 * file-coding.c (detect_coding_ucs4):
9077 * file-coding.c (decode_coding_ucs4):
9078 * file-coding.c (encode_coding_ucs4):
9079 * file-coding.c (detect_coding_utf8):
9080 * file-coding.c (decode_coding_utf8):
9081 * file-coding.c (encode_coding_utf8):
9082 * file-coding.c (detect_coding_iso2022):
9083 * file-coding.c (decode_coding_iso2022):
9084 * file-coding.c (encode_coding_iso2022):
9085 * file-coding.c (decode_coding_no_conversion):
9086 * file-coding.c (encode_coding_no_conversion):
9087 * glyphs-x.c (write_lisp_string_to_temp_file):
9088 * gpmevent.c (tty_get_foreign_selection):
9091 * lstream.c (Lstream_flush_out):
9092 * lstream.c (Lstream_adding):
9093 * lstream.c (Lstream_write_1):
9094 * lstream.c (Lstream_write):
9095 * lstream.c (Lstream_raw_read):
9096 * lstream.c (Lstream_read_more):
9097 * lstream.c (Lstream_read):
9098 * lstream.c (Lstream_unread):
9099 * lstream.c (Lstream_fputc):
9100 * lstream.c (stdio_reader):
9101 * lstream.c (stdio_writer):
9102 * lstream.c (filedesc_reader):
9103 * lstream.c (filedesc_writer):
9104 * lstream.c (lisp_string_reader):
9105 * lstream.c (struct fixed_buffer_stream):
9106 * lstream.c (make_fixed_buffer_input_stream):
9107 * lstream.c (make_fixed_buffer_output_stream):
9108 * lstream.c (fixed_buffer_reader):
9109 * lstream.c (fixed_buffer_writer):
9110 * lstream.c (struct resizing_buffer_stream):
9111 * lstream.c (resizing_buffer_writer):
9112 * lstream.c (dynarr_writer):
9113 * lstream.c (lisp_buffer_reader):
9114 * lstream.c (lisp_buffer_writer):
9116 * lstream.h (lstream_implementation):
9117 * lstream.h (struct lstream):
9119 * process-nt.c (nt_send_process):
9120 * process-unix.c (unix_send_process):
9122 Correct Lstream lossage due to mixing of signed and unsigned
9123 quantities. All Lstream uses of size_t and ssize_t are now a
9124 single signed data type Lstream_data_count. This fixes problems
9125 under Windows with sending large quantities of data to a process,
9126 and may well fix other subtle bugs.
9128 2001-02-23 Martin Buchholz <martin@xemacs.org>
9130 * XEmacs 21.2.45 "Thelxepeia" is released.
9132 2001-02-21 Martin Buchholz <martin@xemacs.org>
9134 * lisp-union.h (XSETINT):
9137 Reverse previous change of 2001-02-06.
9139 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9141 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9143 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9144 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9145 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9146 * regex.c (POS_AS_IN_BUFFER): removed
9147 * regex.c (re_search_2):
9148 * regex.c (re_match_2):
9149 Don't use an offset of 1 when calculating buffer positions, since
9150 `BI_BUF_BEGV' does it already.
9152 2001-02-18 Wim Dumon <wim@easics.be>
9154 * insdel.c (prepare_to_modify_buffer): Also check for
9155 supersession when clash-detection is enabled.
9157 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9159 * regex.c (re_match_2_internal):
9160 Convert temp characters from 'const unsigned char' to 're_char'.
9161 Fix crashing bug with extended characters under mule.
9162 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9163 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9164 font-lock, pdump, and new syntax-table code.
9165 * syntax.c (find_start_of_comment):
9166 (find_end_of_comment):
9168 Fix crashing bugs involving moving beyond end of buffer.
9169 * syntax.c (find_start_of_comment):
9170 Fixed logic to allow proper detection of cases where the same
9171 character is used to end both a two-char comment start and a
9172 two-char comment end sequence. Fixes `(forward-comment -1)'.
9173 * syntax.c (find_start_of_comment):
9174 Return position just past last comment-end character for all cases
9175 (previously was only done for two-char comment-end sequences).
9176 * syntax.c (forward-comment):
9177 Take value returned from `find_end_of_comment', rather than
9179 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9180 Properly deal with BUFFERP (syntax_cache.object)
9182 2001-02-17 Martin Buchholz <martin@xemacs.org>
9184 * alloc.c (Fgarbage_collect):
9185 * alloc.c (make_bit_vector_from_byte_vector):
9186 -Wsign-compare-correctness.
9188 2001-02-16 Martin Buchholz <martin@xemacs.org>
9190 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9191 (XSETCHAR): Likewise.
9192 (XSETOBJ): Likewise.
9194 2001-02-15 Martin Buchholz <martin@xemacs.org>
9196 * mule-canna.c (canna-func-delete_previous):
9197 Rename to canna-func-delete-previous.
9199 2001-02-14 Martin Buchholz <martin@xemacs.org>
9201 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9203 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9205 * font-lock.c (find_context): Fix C++ compile errors introduced by
9208 2001-02-13 Martin Buchholz <martin@xemacs.org>
9210 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9211 pragma, but earlier ones barf on the same pragma.
9213 2001-02-06 Mike Sperber <mike@xemacs.org>
9215 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9216 `configure-mule-lisp-directory'.
9218 2001-02-12 Martin Buchholz <martin@xemacs.org>
9220 Make sure dump-id.c is compiled in the same way as other .c's.
9221 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9222 * dump-id.h: Remove.
9223 * emacs.c: Move dump-id.h into dumper.h.
9224 * dumper.h: Move dump-id.h into dumper.h.
9226 Use standard .c.o rule for building dump-id.o.
9227 Remove preprocessor flags from link command.
9228 Add dump-id.o to ${otherobjs} if PDUMP.
9230 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9232 Port FSF 20.7 syntax table improvements.
9236 Fixups for new syntax table stuff.
9237 * dired.c: Include syntax.c.
9238 (Fdirectory_files): Initialize regex_match_object and
9240 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9241 and Fget_char_property.
9243 Use ported FSF 20.7 syntax table improvements.
9248 2001-02-09 Martin Buchholz <martin@xemacs.org>
9250 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9251 Unixware's enum boolean from sys/types.h.
9253 2001-02-10 Martin Buchholz <martin@xemacs.org>
9255 Fix support for building with latest Purify.
9256 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9257 (PURIFY_FLAGS): Likewise.
9259 2001-02-09 Martin Buchholz <martin@xemacs.org>
9261 * fileio.c (lisp_string_set_file_times): New.
9262 * fileio.c (Fcopy_file): Use it.
9264 (copy-file filename non-ascii-filename t t)
9265 ==> No such file or directory, non-ascii-filename
9267 2001-02-10 Martin Buchholz <martin@xemacs.org>
9269 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9270 USHRT_MAX seems clearer than ~0 anyways.
9272 2001-02-09 Martin Buchholz <martin@xemacs.org>
9274 dumper improvements. Inspired by Olivier.
9275 * dumper.c (pdump_max_align): New.
9276 * dumper.c (pdump_add_entry): Use pdump_max_align.
9277 * dumper.c (pdump_get_entry_list): Likewise.
9278 * dumper.c (pdump_scan_by_alignment): Likewise.
9279 Don't iterate through unnecessary alignments.
9280 * dumper.c (pdump_file_get): No need to align result of malloc().
9281 * dumper.c (pdump_mallocadr): Remove.
9282 The result of malloc() is guaranteed to be maximally aligned.
9283 * dumper.c: s/elmt/elt/g;
9284 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9285 * dumper.c (pdump_alert_undump_object): Likewise.
9286 * dumper.c (pdump_align_table):
9287 Don't support alignments > 64.
9288 Store ALIGNOF's, not shift counts, in table.
9290 2001-02-09 Martin Buchholz <martin@xemacs.org>
9292 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9293 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9294 * systime.h: Use HAVE_UTIME.
9295 * sysdep.c (struct utimbuf): Remove.
9296 * sysdep.c (set_file_times): Prefer utime() to utimes().
9297 * config.h.in (HAVE_UTIME): New.
9298 * config.h.in (HAVE_UTIME_H): Remove.
9299 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9301 2001-02-09 Martin Buchholz <martin@xemacs.org>
9303 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9305 2001-02-08 Martin Buchholz <martin@xemacs.org>
9307 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9309 2001-02-08 Martin Buchholz <martin@xemacs.org>
9311 * XEmacs 21.2.44 "Thalia" is released.
9313 2001-02-06 Martin Buchholz <martin@xemacs.org>
9315 Fixes crashes in kill-emacs on some systems.
9316 * process-unix.c (unix_kill_child_process):
9317 It's OK for kill() to fail with ESRCH.
9319 2001-02-07 Martin Buchholz <martin@xemacs.org>
9321 Contortions to make .gdbinit tricks work on most systems.
9322 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9323 * alloc.c (dbg_valmask): Make non-const.
9324 * alloc.c (dbg_typemask): Make non-const.
9325 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9326 * alloc.c (dbg_valbits): Make non-const.
9327 * alloc.c (dbg_gctypebits): Make non-const.
9328 * .gdbinit (decode_object): Make it work with AIX cc.
9330 2001-02-06 Martin Buchholz <martin@xemacs.org>
9332 * elhash.c (make_general_lisp_hash_table):
9333 Use simpler and more efficient calloc to clear entries.
9335 2001-02-07 Martin Buchholz <martin@xemacs.org>
9337 * window.c (window_scroll): Work around an AIX C compiler bug.
9338 Fixes 'scroll-up' does nothing problem with xlC.
9340 2001-02-05 Martin Buchholz <martin@xemacs.org>
9342 * .gdbinit: Remove obsolete comment.
9344 2001-01-31 Mike Alexander <mta@arbortext.com>
9346 * select.c (Fown_selection_internal): Set owned_p for device
9349 2001-02-01 Martin Buchholz <martin@xemacs.org>
9352 "not" cannot be used as a macro name as it is an operator in C++
9353 * config.h.in: Stop #defining `not'.
9354 * chartab.c (check_category_char): not ==> not_p
9355 * chartab.h: Likewise.
9356 * regex.c (re_match_2_internal): Likewise.
9358 2001-02-02 Martin Buchholz <martin@xemacs.org>
9360 * lisp-disunion.h: Fix up comments.
9362 2001-01-31 Martin Buchholz <martin@xemacs.org>
9364 * keymap.c (define_key_check_and_coerce_keysym):
9366 Support mouse-6 and mouse-7 bindings in the obvious way.
9368 2001-02-01 Martin Buchholz <martin@xemacs.org>
9370 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9372 2001-01-30 Martin Buchholz <martin@xemacs.org>
9374 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9375 Previous patch missed DEFVAR_INT_MAGIC.
9376 Make sure future DEFVAR_foo use correct types.
9377 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9378 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9379 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9380 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9381 * (DEFVAR_INT): Likewise.
9382 * redisplay.c (vertical_clip): Should be of type Fixnum.
9383 * redisplay.c (horizontal_clip): Likewise.
9384 * lisp.h (dump_add_opaque_int): New.
9385 (dump_add_opaque_fixnum): New.
9387 2001-01-29 Andy Piper <andy@xemacs.org>
9389 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9390 since they can be eval'ed
9392 2001-01-29 Martin Buchholz <martin@xemacs.org>
9394 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9395 Oops, XEmacs redefines `class'. Use `typename' instead.
9397 2001-01-28 Martin Buchholz <martin@xemacs.org>
9399 * dumper.c: Fix C++ compile errors.
9401 2001-01-29 Martin Buchholz <martin@xemacs.org>
9403 * tparam.c: Use correct prototypes.
9405 2001-01-28 Martin Buchholz <martin@xemacs.org>
9407 * sysproc.h: #include util.h for NetBSD's openpty.
9409 2001-01-27 Martin Buchholz <martin@xemacs.org>
9411 More 64-bit correctness.
9412 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9413 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9415 This finally finishes the 64-bit SGI port.
9416 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9417 * symbols.c: Fix up comments and type casts.
9418 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9419 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9420 * symeval.h (Fixnum): New type.
9421 * symeval.h (symbol_value_type): Fix up comment.
9437 * mule-canna.c: A million DEFVAR_INTs here...
9438 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9451 s/int/Fixnum/g in DEFVAR_INT declarations.
9453 2001-01-26 Martin Buchholz <martin@xemacs.org>
9455 Port pdump to SGI alignment-sensitive environment.
9456 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9457 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9459 Define and use aligned reading and writing macros.
9460 Use buffered stdio instead of posix i/o for faster dumping.
9461 Eliminate kludgy 256 byte space for header.
9462 Read and write from dump file using structs for alignment safety.
9463 * dumper.c (pdump_align_stream): New.
9464 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9465 * dumper.c (PDUMP_READ_ALIGNED): New.
9466 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9467 * dumper.c (pdump_static_Lisp_Object): New struct.
9468 * dumper.c (pdump_static_pointer): New struct.
9469 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9470 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9471 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9472 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9474 * dumper.c (pdump_backtrace):
9475 * dumper.c (pdump_get_indirect_count):
9476 * dumper.c (pdump_register_object):
9477 * dumper.c (pdump_register_struct):
9478 * dumper.c (pdump_reloc_one):
9479 * dumper.c (pdump_scan_by_alignment):
9480 * dumper.c (pdump_dump_from_root_struct_ptrs):
9481 * dumper.c (pdump_dump_opaques):
9482 * dumper.c (pdump_dump_rtables):
9483 * dumper.c (pdump_dump_from_root_objects):
9485 * dumper.c (pdump_load_finish):
9486 Use aligned reading and writing.
9488 * dumper.c (pdump_free): Make static.
9489 * dumper.c (pdump_hFile): Likewise.
9490 * dumper.c (pdump_hMap): Likewise.
9492 2001-01-26 Martin Buchholz <martin@xemacs.org>
9494 * XEmacs 21.2.43 "Terspichore" is released.
9496 2001-01-25 Martin Buchholz <martin@xemacs.org>
9498 Type fiddling for window_config.saved_windows_count
9499 * window.c (struct window_config):
9500 Make saved_windows_count member unsigned.
9501 * window.c (sizeof_window_config_for_n_windows):
9502 Make parameter unsigned.
9503 * window.c (mark_window_config):
9504 * window.c (window_config_equal):
9505 * window.c (free_window_configuration):
9506 * window.c (Fset_window_configuration):
9507 * window.c (count_windows):
9508 * window.c (Fcurrent_window_configuration):
9509 * window.c (reinit_vars_of_window):
9510 Update all callers and users.
9512 2001-01-25 Martin Buchholz <martin@xemacs.org>
9514 Alignment correctness for flexible arrays.
9515 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9516 Make alignment-correct. Add interesting comments.
9517 * alloc.c (size_vector):
9518 * alloc.c (make_vector_internal):
9519 * alloc.c (make_bit_vector_internal):
9520 * alloc.c (sweep_bit_vectors_1):
9521 * fns.c (size_bit_vector):
9522 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9523 * window.c (sizeof_window_config_for_n_windows):
9524 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9526 2001-01-24 Martin Buchholz <martin@xemacs.org>
9528 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9530 2001-01-23 Andy Piper <andy@xemacs.org>
9532 * select.c (Fown_selection_internal): pass owned_p
9534 * select-msw.c (mswindows_own_selection): New Signature.
9536 * console.h (struct console_methods): add owned_p to
9539 * select-x.c (x_own_selection): pass owned_p
9540 (hack_motif_clipboard_selection): use owned_p
9541 (vars_of_select_x): new variable -
9542 x_selection_strict_motif_ownership.
9544 2001-01-23 Martin Buchholz <martin@xemacs.org>
9546 * specifier.h (specifier_data_offset): Remove pointless parens.
9547 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9549 2001-01-24 Martin Buchholz <martin@xemacs.org>
9551 Make Lisp_Object sizeof methods be alignment-correct.
9552 pdump must restore objects to the same alignment as the C compiler
9553 assumes. It really matters on SGIs.
9554 * lstream.c (aligned_sizeof_lstream): New.
9555 (sizeof_lstream): Use aligned_sizeof_lstream.
9556 (Lstream_new): Likewise.
9557 * opaque.c (aligned_sizeof_opaque): New.
9558 (sizeof_opaque): Use aligned_sizeof_opaque.
9559 (make_opaque): Likewise.
9560 * specifier.c (aligned_sizeof_specifier): New.
9561 (sizeof_specifier): Use aligned_sizeof_specifier.
9562 (make_specifier_internal): Likewise.
9564 2001-01-23 Martin Buchholz <martin@xemacs.org>
9566 * lstream.h (struct lstream): Use max_align_t for trailing data.
9567 * specifier.h (struct Lisp_Specifier): Likewise.
9569 2001-01-22 Martin Buchholz <martin@xemacs.org>
9571 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9572 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9573 (CCL_SUSPEND): Likewise.
9574 (CCL_INVALID_CMD): Likewise.
9575 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9576 (ccl_driver): Likewise.
9577 (CCL_WRITE_CHAR): Macro hygiene.
9578 (CCL_WRITE_STRING): Macro hygiene.
9580 2001-01-22 Martin Buchholz <martin@xemacs.org>
9582 Port "portable" dumper to SunOS 4 and HP-UX.
9583 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9584 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9585 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9587 2001-01-22 Martin Buchholz <martin@xemacs.org>
9589 * lisp.h (ALIGNOF): A better definition for C++.
9591 2001-01-20 Martin Buchholz <martin@xemacs.org>
9594 Fix printf warnings: int format, long int arg.
9595 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9596 (PUSH_FAILURE_POINT): Use correct printf formats.
9597 (POP_FAILURE_POINT): Use correct printf formats.
9598 Use do {...} while (0)
9600 2001-01-20 Martin Buchholz <martin@xemacs.org>
9602 * XEmacs 21.2.42 "Poseidon" is released.
9604 2001-01-20 Martin Buchholz <martin@xemacs.org>
9606 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9608 2001-01-19 Martin Buchholz <martin@xemacs.org>
9610 De-kludgify FIXED_TYPE free list frobbing.
9611 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9612 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9613 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9614 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9615 * alloc.c (LRECORD_FREE_P): New.
9616 * alloc.c (MARK_LRECORD_AS_FREE): New.
9617 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9618 * alloc.c (STRUCT_FREE_P): Deleted.
9619 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9620 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9621 * alloc.c (STRING_CHARS_FREE_P): New.
9622 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9623 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9624 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9625 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9626 * alloc.c (resize_string): Use new definitions.
9627 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9628 * alloc.c (verify_string_chars_integrity): Use new definitions.
9629 * alloc.c (compact_string_chars): Use new definitions.
9630 * alloc.c: Update monster comments.
9631 * lrecord.h (lrecord_type): Add some new lrecord types for
9634 2001-01-18 Martin Buchholz <martin@xemacs.org>
9636 Improve alignment hackery.
9637 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9638 (max_align_t): Moved from opaque.h - general purpose.
9639 (ALIGN_PTR): Use size_t, not long.
9640 * opaque.h (max_align_t): Move to lisp.h.
9642 2001-01-18 Norbert Koch <nk@LF.net>
9644 * gui.h: Fix and add prototypes to fix build problems.
9646 2001-01-18 Martin Buchholz <martin@xemacs.org>
9648 temacs is going away, so `dump-temacs' is now a bad name.
9649 * .dbxrc (dump-temacs): Rename to `dmp'.
9650 * .gdbinit (dump-temacs): Rename to `dmp'.
9652 2001-01-17 Andy Piper <andy@xemacs.org>
9654 * glyphs.c (print_image_instance): comment to make martin happy.
9656 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9659 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9661 (mswindows_tab_control_redisplay): warning suppression.
9663 * glyphs-widget.c (widget_update): re-write to cope with updated
9665 (widget_instantiate): use new gui_item functions.
9666 (tab_control_update): deleted.
9667 (progress_gauge_update): deleted.
9668 (image_instantiator_progress_guage): take out update reference.
9669 (image_instantiator_tree_view): ditto.
9670 (image_instantiator_tab_control): ditto.
9672 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9674 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9675 return whether anything was changed.
9676 (update_gui_item_keywords): as it sounds.
9678 * gui.h: declare widget_gui_parse_item_keywords.
9680 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9681 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9683 2001-01-17 Martin Buchholz <martin@xemacs.org>
9685 * XEmacs 21.2.41 "Polyhymnia" is released.
9687 2001-01-16 Didier Verna <didier@xemacs.org>
9689 * glyphs.c (image_instantiate): don't use fallbacks when
9690 instantiating a face's background pixmap by inheritance.
9692 2001-01-14 Mike Sperber <mike@xemacs.org>
9694 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9695 Conditionalize accordingly.
9697 2001-01-16 Martin Buchholz <martin@xemacs.org>
9699 * dumper.c (pdump_file_get): Fix a compiler warning.
9701 2001-01-15 Martin Buchholz <martin@xemacs.org>
9703 Make Purify happy when pdumping.
9704 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9705 iniitalizing all bits of new lisp object memory.
9706 * symbols.c (Fmake_local_variable): Likewise.
9707 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9708 * symbols.c (Fdefvaralias): Likewise.
9709 * mule-charset.c (vars_of_mule_charset): Likewise.
9711 2001-01-15 Martin Buchholz <martin@xemacs.org>
9712 Add the `-nd' flag when running pre-dump operations under the debugger.
9713 * .dbxrc (run-temacs): Add `-nd'.
9714 * .dbxrc (update-elc): Likewise.
9715 * .dbxrc (dump-temacs): Likewise.
9716 * .gdbinit (run-temacs): Likewise.
9717 * .gdbinit (check-temacs): Likewise.
9718 * .gdbinit (update-elc): Likewise.
9719 * .gdbinit (dump-temacs): Likewise.
9721 2001-01-14 Martin Buchholz <martin@xemacs.org>
9723 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9724 export OBJECT_MODE=64
9725 configure --pdump --use-union-type=no
9726 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9727 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9729 * miscplay.c (sndcnv8U_2mono):
9730 Avoid two uses of `++' in the same expression.
9731 Suppresses a GCC warning.
9733 2001-01-13 Martin Buchholz <martin@xemacs.org>
9735 Make sure future compilers don't miscompile alloc.c.
9737 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9738 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9740 2001-01-12 Martin Buchholz <martin@xemacs.org>
9742 * dumper.c: A little post-pdump-rename comment fixup.
9744 2001-01-09 Jerry James <james@eecs.ku.edu>
9746 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9748 2001-01-13 Martin Buchholz <martin@xemacs.org>
9750 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9754 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9757 replace_symbol pdump_wire_lists pdump_weak_object_chains
9758 replace_symbol pdump_wire_list dump_add_weak_object_chain
9760 replace_symbol pdump_wires pdump_root_objects
9761 replace_symbol pdump_wire dump_add_root_object
9763 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9764 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9766 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9767 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9768 replace_symbol dumpstructinfo pdump_root_struct_ptr
9769 replace_symbol dumpstruct dump_add_root_struct_ptr
9771 replace_symbol dumpopaque dump_add_opaque
9772 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9773 replace_symbol dumpopaqueinfos pdump_opaques
9774 replace_symbol dumpopaqueinfo pdump_opaque
9776 replace_symbol nb_structdump nb_root_struct_ptrs
9777 replace_symbol nb_opaquedump nb_opaques
9779 replace_symbol align_table pdump_align_table
9780 replace_symbol dump_header pdump_header
9782 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9783 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9786 2001-01-12 Martin Buchholz <martin@xemacs.org>
9788 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9789 optimizing bytecount_to_charcount().
9791 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9794 (HAVE_DLFCN_H): Removed.
9795 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9797 2001-01-06 Martin Buchholz <martin@xemacs.org>
9799 Portable dumper maintainability improvements.
9800 * alloc.c (staticpro):
9801 * alloc.c (staticpro_nodump):
9802 * alloc.c (garbage_collect_1):
9803 * alloc.c (reinit_alloc_once_early):
9804 * alloc.c (init_alloc_once_early):
9805 * alloc.c: Move dumper functions to alloc.c.
9806 * dumper.c (pdump_backtrace):
9807 * dumper.c (pdump_dump_structs):
9808 * dumper.c (pdump_dump_opaques):
9809 * dumper.c (pdump_dump_rtables):
9810 * dumper.c (pdump_dump_wired):
9812 * dumper.c (pdump_load_check):
9813 * dumper.c (pdump_load_finish):
9814 * dumper.c (pdump_file_unmap):
9815 * dumper.c (pdump_file_get):
9816 * dumper.c (pdump_resource_free):
9817 * dumper.c (pdump_resource_get):
9818 * dumper.c (pdump_file_free):
9819 * dumper.c (pdump_file_try):
9820 * dumper.c (pdump_load):
9821 Remove fixed size limits on staticpro(), staticpro_nodump(),
9822 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9823 Remove custom code for dumping lrecord_implementations_table - use
9825 Remove (most of the) custom code for dumping staticpros - dump it
9826 like any other dynarr.
9828 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9829 * dumper.c: Moved functions from alloc.c.
9830 * alloc.c (dumpstruct): Moved to dumper.c.
9831 * alloc.c (dumpopaque): Likewise.
9832 * alloc.c (pdump_wire): Likewise.
9833 * alloc.c (pdump_wire_list): Likewise.
9835 * lisp.h (Dynarr_sizeof): New.
9836 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9837 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9838 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9840 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9841 * lisp.h (dumpopaque): ditto.
9842 * lisp.h (pdump_wire): ditto.
9843 * lisp.h (pdump_wire_list): ditto.
9845 2001-01-09 Martin Buchholz <martin@xemacs.org>
9847 * make-src-depend (PrintPatternDeps):
9848 Use `sort' to make output independent of perl version.
9850 2001-01-08 Martin Buchholz <martin@xemacs.org>
9853 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9854 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9856 2001-01-03 Didier Verna <didier@xemacs.org>
9858 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9859 that `focus_frame' is alive before thinking of calling
9860 `redisplay_redraw_cursor' on it.
9862 2001-01-08 Martin Buchholz <martin@xemacs.org>
9864 * XEmacs 21.2.40 is released.
9866 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9868 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9870 2001-01-06 Martin Buchholz <martin@xemacs.org>
9872 * alloc.c (dbg_valmask): Make const.
9873 * alloc.c (dbg_typemask): Make const.
9874 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9875 * alloc.c (dbg_valbits): Make const.
9876 * alloc.c (dbg_gctypebits): Make const.
9878 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9880 * redisplay-x.c (x_bevel_area):
9881 redisplay.h (struct rune):
9882 Typo fixes in comments.
9884 2001-01-05 Andy Piper <andy@xemacs.org>
9886 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9889 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9891 2001-01-05 Martin Buchholz <martin@xemacs.org>
9893 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9895 * mule-ccl.c (stack_idx_of_map_multiple):
9896 Non const global data must not be initialized!
9897 Found by MIYASHITA Hisashi.
9899 2001-01-02 Andy Piper <andy@xemacs.org>
9901 * frame.c (change_frame_size): make sure frame size is always
9904 * glyphs.c (image_instance_layout): minor code reuse.
9906 * window.c (Fcurrent_window_configuration): revert previous
9909 2001-01-02 Martin Buchholz <martin@xemacs.org>
9912 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9914 2000-12-31 Andy Piper <andy@xemacs.org>
9916 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9917 when widget gets unmapped.
9919 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9920 function. Make sure widgets losing focus don't just drop it.
9921 (handle_focus_event_1): record the widget with focus.
9923 2000-12-31 Andy Piper <andy@xemacs.org>
9925 * window.c (allocate_window): use
9926 make_image_instance_cache_hash_table.
9927 (make_dummy_parent): ditto.
9928 (Fset_window_configuration): ditto.
9930 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9932 * glyphs.c (process_image_string_instantiator): use
9934 (get_image_instantiator_governing_domain): ditto.
9935 (normalize_image_instantiator): ditto.
9936 (instantiate_image_instantiator): ditto.
9937 (make_image_instance_1): ditto.
9938 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9939 (instantiator_eq_equal): new function for use with instance hash
9941 (instantiator_eq_hash): ditto.
9942 (make_image_instance_cache_hash_table): create a suitable hash
9943 table for storing image instances.
9945 * elhash.h (hash_table_weakness): new internal weakness type
9946 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9947 declare new functions.
9949 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9950 another weakness type for glyphs.
9951 (make_standard_lisp_hash_table): new function split out from
9952 make_general_lisp_hash_table.
9953 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9954 (hash_table_instantiate): ditto.
9955 (Fmake_hash_table): ditto.
9957 2000-12-31 Martin Buchholz <martin@xemacs.org>
9959 * XEmacs 21.2.39 is released.
9961 2000-12-29 Andy Piper <andy@xemacs.org>
9963 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9965 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9966 the frame has changed so that we pick up geometry changes such as
9969 2000-12-28 Andy Piper <andy@xemacs.org>
9971 * lastfile.c (my_ebss): make a char array so we can pad the
9972 bss. Fixes cygwin unexec.
9974 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9976 2000-12-26 Andy Piper <andy@xemacs.org>
9978 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9979 comments and try and be more precise about a non-/SIGIO world.
9980 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9983 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9984 we don't normalize to zero width or height.
9986 2000-12-24 Andy Piper <andy@xemacs.org>
9988 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9990 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9992 * s/sco5.h: SCO 5 has pty support.
9994 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9996 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9997 input-method-xlib.c contains whole contents of input-method-xfs.c,
9998 so we can use input-method-xlib.c's code for USE_XFONTSET
10000 * input-method-xfs.c: removed.
10002 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10004 * file-coding.h (enum coding_category_type): reorder enumerators to
10005 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10006 (now one greater than largest real coding_category_type enumerator).
10007 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10008 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10009 Fcoding_category_list, Fset_coding_priority_list,
10010 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10011 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10013 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10015 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10016 * redisplay-output.c (redisplay_output_window): Clear top of window
10017 when face is changed.
10018 * redisplay-x.c (x_redraw_exposed_window): Call
10019 redisplay_clear_top_of_window.
10020 * redisplay.h: Publish redisplay_clear_top_of_window.
10022 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10024 * buffer.c (Fkill_buffer): Map over all devices.
10025 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10026 (list_windows): New function.
10027 (list_all_windows): Ditto.
10028 (Freplace_buffer_in_windows): Use them.
10030 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10032 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10033 (Fopen_database): Use `db_create' instead of `db_open'.
10034 (syms_of_database): Initialize Qqueue.
10036 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10038 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10039 buffer_local_face_property.
10040 * buffer.h (struct buffer): New member buffer_local_face_property.
10041 * window.c (Fset_window_buffer): Mark window's face as changed
10042 when buffer has buffer local face.
10043 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10044 * objects.c (color_after_change): Set buffer_local_face_property
10045 when locale of face specifier is buffer.
10046 * objects.c (font_after_change): Ditto.
10047 * objects.c (face_boolean_after_change): Ditto.
10048 * glyphs.c (image_after_change): Ditto.
10050 2000-12-09 Dan Holmsand <dan@eyebee.com>
10052 * nt.c (mswindows_fstat): Report file permissions, volume serial
10053 number, etc. Code adapted from FSF Emacs 20.7.
10055 2000-12-09 Dan Holmsand <dan@eyebee.com>
10057 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10058 of stat when we don't have symbolic links, to make sure
10059 mswindows_stat is called on mswindows.
10061 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10063 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10065 2000-12-12 Martin Buchholz <martin@xemacs.org>
10067 * doprnt.c (emacs_doprnt_1): More printing fixes.
10068 Make printing of numbers compatible with libc and FSF Emacs.
10069 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10070 Use the system printf to do most of the hard work of formatting,
10071 instead of doprnt_1().
10072 Calculate memory to allocate for format string.
10073 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10074 (doprnt_1): Cleaner code and documentation.
10076 2000-12-01 Jerry James <james@eecs.ukans.edu>
10078 * Makefile.in.in: Use the loop variable to install headers.
10080 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10082 * window.c (Fsplit_window): Don't invalidate face cache.
10084 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10086 * minibuf.c (Fall_completions): Undo the previous change
10087 which removed checking elements start with space.
10089 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10091 * mule-canna.c: Didier suppression.
10093 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10095 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10096 (warning suppression). Add English comment translations.
10098 2000-12-05 Martin Buchholz <martin@xemacs.org>
10100 * unexelfsgi.c (unexec): Better test for mmap failure.
10102 2000-12-05 Martin Buchholz <martin@xemacs.org>
10104 * XEmacs 21.2.38 is released.
10106 2000-12-05 Martin Buchholz <martin@xemacs.org>
10108 * redisplay.c (bar-cursor): Make a user variable.
10110 * symsinit.h: Add init_postgresql_from_environment.
10112 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10114 * regex.c: Convert to clean C.
10116 2000-12-05 Dan Holmsand <dan@eyebee.com>
10119 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10121 (sys_readlink): renamed to system_readlink to avoid conflict with
10122 the other sys_readlink.
10124 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10126 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10128 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10130 * postgresql.c (init_postgresql_from_environment): new function.
10131 (vars_of_postgresql): Move code initializing Lisp variables out and
10132 into init_postgresql_from_environment.
10133 emacs.c (main_1): Call init_postgresql_from_environment if and only
10134 if running a dumped XEmacs.
10136 2000-08-31 Dan Holmsand <dan@eyebee.com>
10138 * buffer.c: Make find-file-compare-truenames default to true on
10141 * realpath.c (win32_abs_start):
10143 (win32_readlink): New functions.
10144 (xrealpath): Return really real filenames on windows.
10146 * fileio.c (Ffile_truename): Make file-truename work on windows.
10148 2000-11-29 Didier Verna <didier@xemacs.org>
10150 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10151 * faces.c (update_face_cachel_data): use it.
10152 * faces.c (add_face_cachel): use it. Complete background pixmap
10153 frobbing in face cache if `update_face_cachel_data' has not done so.
10155 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10157 * search.c (string_match_1): Don't set last_thing_searched
10158 when search failed.
10160 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10162 * buffer.c: Include casetab.h
10163 (common_init_complex_vars_of_buffer): Use new case-table object.
10164 * buffer.h: Include casetab.h
10165 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10166 (DOWNCASE_TABLE_OF): Ditto.
10167 * bufslots.h: Remove char-tables and add case-table.
10168 * casetab.c: Include casetab.h
10169 (CASE_TABLE_P): Removed.
10170 (mark_case_table): New function.
10171 (allocate_case_table): New function.
10172 (Fcase_table_p): Use new case-table.
10173 (case_table_char): New function.
10174 (Fget_case_table): Ditto.
10175 (Fput_case_table): Ditto.
10176 (Fput_case_table_pair): Ditto.
10177 (Fcopy_case_table): Ditto.
10178 (Fcurrent_case_table): Return case-table.
10179 (Fstandard_case_table): Return case-table.
10180 (Fset_case_table): Fix doc-string.
10181 (set_case_table): Use case-table
10182 (syms_of_casetab): DEFSUBR new functions.
10183 (complex_vars_of_casetab): Set up standard case-table.
10184 * casetab.h: New file.
10185 * editfns.c: Include casetab.h
10186 (Fcompare_buffer_substrings): Use case-table.
10187 * inline.c: Include casetab.h
10188 * lisp.h: Remove bogus extern.
10189 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10190 * search.c: Include casetab.h
10191 (TRANSLATE_ASCII): Removed.
10192 (TRANSLATE): Unconditionally translate character.
10193 (looking_at_1): Use case-table.
10194 (string_match_1): Ditto.
10195 (fast_string_match): Ditto.
10196 (search_command): Ditto.
10197 (search_buffer): Separate boyer_moore. Check whether
10198 boyer_moore is possible.
10199 (simple_search): New function.
10200 (boyer_moore): Separated from search_buffer. Translate char.
10202 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10204 * regex.c (RE_TR_ASCII): Removed.
10205 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10206 (PATFETCH): Call PATFETCH_RAW.
10207 (PATFETCH_RAW): Fetch Emchar.
10208 (PATUNFETCH): Decrement charptr.
10209 (GET_BUFFER_SPACE): Rename b to buf_end.
10211 (BUF_PUSH_2): Ditto.
10212 (BUF_PUSH_3): Ditto.
10213 (EXTEND_BUFFER): Ditto.
10214 (SET_LIST_BIT): Ditto.
10215 (regex_compile): Ditto. Translate non ASCII char.
10216 (compile_range): Ditto.
10217 (re_search_2): Ditto.
10218 (re_match_2_internal): Compare Emchar.
10219 (bcmp_translate): Ditto.
10221 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10223 * lisp.h (basic char/int typedefs): comment improvement.
10225 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10227 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10228 unstomp inhibit_site_lisp. Improve comments.
10230 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10232 * mule-charset.c (Fcharset_property): improve type checking, comments.
10234 2000-11-28 Andy Piper <andy@xemacs.org>
10236 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10237 clipped display for windows in the gutter also.
10238 (redisplay_display_boxes_in_window_p): change semantics of return
10239 codes to be more intuitive.
10241 * gutter.h: declare display_boxes_in_gutter_p.
10243 * gutter.c (display_boxes_in_gutter_p): new function for
10246 2000-11-22 Andy Piper <andy@xemacs.org>
10248 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10251 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10253 * callproc.c (Fold_call_process_internal):
10254 * gpm.c (Freceive_gpm_event):
10255 (tty_get_foreign_selection): Might be just warning supression.
10256 * fileio.c (Fwrite_region_internal):
10257 (Fset_visited_file_modtime):
10258 * keymap.c (event_matches_key_specifier_p):
10259 Initialize GCPROed variable.
10261 * menubar-x.c (command_builder_find_menu_accelerator):
10262 Initialize before use.
10264 2000-11-23 Andy Piper <andy@xemacs.org>
10266 * unexcw.c (unexec): make the resulting executable executable.
10268 2000-11-21 Martin Buchholz <martin@xemacs.org>
10270 * doc.c (get_doc_string):
10271 Use size_t, not int, for result of XSTRING_LENGTH.
10273 * cmds.c (Fdelete_char):
10274 * cmds.c (Fpoint_at_eol):
10275 * cmds.c (Fself_insert_command):
10276 Use EMACS_INT, not int, for result of XINT.
10277 Someday, someone will want to insert more than 2**31 identical characters.
10279 * cmds.c (Fdelete_char):
10280 * cmds.c (Fdelete_backward_char):
10281 * syntax.c (Fforward_word):
10282 * syntax.c (Fforward_comment):
10283 Make COUNT argument optional, for consistency with forward-char et al.
10285 2000-11-22 Martin Buchholz <martin@xemacs.org>
10288 * print.c (long_to_string):
10289 Return a useful value: the pointer at end of data written.
10292 Use `static const char * const' for constant strings.
10293 (union printf_arg): Delete `i', `ui' members.
10296 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10297 Do all printf-ing via the `l' specifier.
10298 Use EMACS_INT instead of int.
10301 2000-11-20 Didier Verna <didier@xemacs.org>
10303 * faces.c (update_face_cachel_data): don't frob the background
10304 pixmap when the window is being created. The face is needed but
10305 does not exist yet.
10307 2000-11-20 Andy Piper <andy@xemacs.org>
10309 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10310 messing with a debug environment.
10312 2000-11-20 Martin Buchholz <martin@xemacs.org>
10314 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10316 2000-11-20 Martin Buchholz <martin@xemacs.org>
10318 * casetab.c (Fcase_table_p): Fix compile error and crash.
10320 2000-11-18 Philip Aston <philipa@mail.com>
10322 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10324 2000-11-18 Martin Buchholz <martin@xemacs.org>
10326 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10327 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10329 2000-11-17 Martin Buchholz <martin@xemacs.org>
10331 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10332 * unexelf.c: Use HAVE_ELF_H.
10333 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10334 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10335 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10336 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10338 So this is an unexelfsgi.c from a different line of development.
10340 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10342 * regex.c (RE_TR_ASCII): New function.
10343 (RE_TRANSLATE): Call it.
10345 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10347 * buffer.h (TRT_TABLE_OF): Remove assert.
10348 (IN_TRT_TABLE_DOMAIN): Removed.
10350 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10352 * free-hook.c (log_gcpro):
10353 (show_gcprohist): Add support for GCPRO5.
10355 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10357 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10359 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10361 * symeval.h: Declare flush_all_buffer_local_cache.
10363 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10364 (flush_buffer_local_cache): Added.
10365 (flush_all_buffer_local_cache): Added.
10367 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10369 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10370 (pdump_dump_data): Ditto.
10371 (pdump_reloc_one): Ditto.
10372 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10376 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10378 * buffer.c: Remove if 0'ed entry.
10379 * buffer.h: Rewrite TRT to use char-table.
10380 * bufslots.h: Remove mirror tables.
10381 * casetab.c: Remove mirror tables.
10382 (CASE_TABLE_P): New macro.
10383 (Fcase_table_p): Element of a case table is string or char-table.
10384 (make_mirror_trt_table): Removed.
10385 (set_case_table): Setup char-table from strings for backward
10387 * dired.c (Fdirectory_files):
10388 * dired-msw.c: (mswindows_get_files):
10389 * lisp.h: Change prototype of re_pattern_buffer.
10390 * regex.c: (RE_TRANSLATE): New macro.
10391 (TRANSLATE_P): Ditto.
10392 Change translate to type RE_TRANSLATE_TYPE.
10393 * regex.h: Define RE_TRANSLATE_TYPE
10394 * search.c (TRANSLATE): New macro.
10395 (TRANSLATE_ASCII): New macro.
10396 Translate table is changed to Lisp_Object.
10397 (signal_failure): Inhibit return.
10399 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10406 Do UNGCPRO before return.
10408 2000-11-14 Martin Buchholz <martin@xemacs.org>
10410 * XEmacs 21.2.37 is released.
10412 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10414 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10415 Add comments about discarded return value.
10417 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10420 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10422 2000-10-27 Andy Piper <andy@xemacs.org>
10424 * gutter.c (Fset_default_gutter_position): default left and right
10425 gutters to visible.
10426 (calculate_gutter_size): calculate resonable heuristic for left
10427 and right gutter sizes.
10428 (specifier_vars_of_gutter): change left and right gutter sizes to
10430 (calculate_gutter_size_from_display_lines): new function.
10431 (output_gutter): check for resizing on left and right gutters.
10432 (clear_gutter): don't special case top and left gutters.
10433 (specifier_vars_of_gutter): use new signature for
10434 set_specifier_caching.
10436 * glyphs-x.c (x_redisplay_widget): spelling fix.
10437 * glyphs.c (specifier_vars_of_glyphs):
10438 * menubar.c (specifier_vars_of_menubar):
10439 * redisplay.c (specifier_vars_of_redisplay):
10440 * toolbar.c (specifier_vars_of_toolbar):
10441 * window.c (specifier_vars_of_window):
10442 * scrollbar.c (specifier_vars_of_scrollbar):
10443 (complex_vars_of_scrollbar): use new signature for
10444 set_specifier_caching.
10446 * specifier.c (set_specifier_caching): include recompute flag.
10447 (recompute_one_cached_specifier_in_window): always recompute if
10449 (recompute_one_cached_specifier_in_frame): ditto.
10451 * specifier.h (struct specifier_caching): add recompute flag.
10453 2000-10-24 Andy Piper <andy@xemacs.org>
10455 * unexcw.c (copy_executable_and_dump_data_section): add new
10456 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10459 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10461 * console-x.h (x_device): New member modifier_release_time.
10462 * event-Xt.c (x_handle_sticky_modifiers):
10463 Bound interval modifier keys are sticky.
10464 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10465 * events.h: extern it.
10467 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10469 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10471 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10473 * event-stream.c (execute_command_event): Preserve current_events
10474 and the like when event is misc-user-event.
10475 Inhibit quit during the call to maybe_echo_keys.
10477 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10479 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10480 symlink when buffer is killed.
10481 (inhibit_clash_detection): New variable.
10483 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10485 * console.c (Fset_input_method): Trigger redisplay on tty.
10487 2000-11-07 Martin Buchholz <martin@xemacs.org>
10489 * process.c (Fprocess_status): Revert to previous behavior:
10490 (process-status "nosuchprocess") ==> nil
10492 2000-11-06 Martin Buchholz <martin@xemacs.org>
10494 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10495 Work around another GCC 2.95.2 optimizer bug.
10497 2000-11-02 Martin Buchholz <martin@xemacs.org>
10499 * process.c (Fget_process): Use LIST_LOOP_2.
10500 (kill_buffer_processes): Use LIST_LOOP_2.
10502 * minibuf.c (Fall_completions):
10503 Delete old non-functional code for FSF fourth argument.
10505 * frame.c (frame_matches_frame_spec):
10506 Renamed from `frame_matches_frametype'. Update all callers.
10507 (device_matches_device_spec):
10508 Renamed from 'device_matches_console_spec'. Update all callers.
10510 * doc.c (Fsubstitute_command_keys):
10511 Remove buffer overflow crash. Small code cleanups.
10513 * casetab.c (check_case_table): Simpler code.
10515 * window.c (Freplace_buffer_in_windows):
10516 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10517 (and similar implementation) as Fdelete_windows_on.
10518 Update all callers.
10520 * alloc.c (Fmake_list):
10521 * alloc.c (make_vector):
10522 * alloc.c (Fmake_vector):
10523 * alloc.c (make_bit_vector):
10524 * alloc.c (Fmake_bit_vector):
10525 * alloc.c (Fbit_vector):
10526 * alloc.c (Fmake_string):
10527 * alloc.c (Fpurecopy):
10528 * alloc.c (Fmemory_limit):
10530 * buffer.c (Fget_buffer):
10531 * buffer.c (Fkill_buffer):
10532 * buffer.c (complex_vars_of_buffer):
10533 * bytecode.c (Fcompiled_function_stack_depth):
10534 * callint.c (Fprefix_numeric_value):
10536 * event-stream.c (Fread_key_sequence):
10538 * casetab.c (Fcase_table_p):
10539 * casetab.c (check_case_table):
10540 * casetab.c (Fset_case_table):
10541 * casetab.c (Fset_standard_case_table):
10543 * chartab.c (Fchar_table_type):
10544 * chartab.c (Freset_char_table):
10545 * chartab.c (Fget_char_table):
10546 * chartab.c (Fget_range_char_table):
10547 * chartab.c (Fput_char_table):
10548 * chartab.c (Fmap_char_table):
10549 * chartab.c (Fcategory_table_p):
10550 * chartab.c (Fcheck_category_at):
10551 * chartab.c (Fchar_in_category_p):
10552 * chartab.c (Fcategory_table):
10553 * chartab.c (Fcopy_category_table):
10554 * chartab.c (Fset_category_table):
10555 * chartab.c (Fcategory_designator_p):
10556 * chartab.c (Fcategory_table_value_p):
10557 * cmds.c (Fdelete_char):
10558 * cmds.c (Fdelete_backward_char):
10559 * cmds.c (Fself_insert_command):
10560 * cmds.c (Fself_insert_internal):
10561 * console.c (Fvalid_console_type_p):
10562 * console.c (Fcdfw_console):
10563 * console.c (Fconsole_type):
10564 * console.c (Fconsole_name):
10565 * console.c (Fconsole_device_list):
10566 * console.c (Fconsole_on_window_system_p):
10569 * data.c (Fold_eq):
10570 * data.c (Fsubr_interactive):
10571 * data.c (Fchar_to_int):
10572 * data.c (Fint_to_char):
10573 * data.c (Fsetcar):
10574 * data.c (Fsetcdr):
10575 * data.c (Fnumber_to_string):
10576 * data.c (Fstring_to_number):
10578 * database.c (mark_database):
10579 * database.c (finalize_database):
10580 * database.c (Fdatabase_live_p):
10581 * database.c (Fdatabasep):
10582 * device-x.c (Fx_get_resource):
10583 * device.c (Fdfw_device):
10585 * dired.c (Ffile_name_completion):
10586 * dired.c (Ffile_name_all_completions):
10587 * dired.c (Fuser_name_completion):
10588 * dired.c (Fuser_name_completion_1):
10589 * dired.c (Fuser_name_all_completions):
10590 * doc.c (Fdocumentation):
10591 * doc.c (Fdocumentation_property):
10592 * doc.c (Fsubstitute_command_keys):
10594 * editfns.c (Fchar_to_string):
10595 * editfns.c (Fstring_to_char):
10596 * editfns.c (Ftemp_directory):
10597 * editfns.c (Finsert_char):
10598 * editfns.c (Fbuffer_substring_no_properties):
10599 * editfns.c (Fnarrow_to_region):
10600 * editfns.c (Fchar_equal):
10601 * editfns.c (Fchar_Equal):
10602 * editfns.c (Ftranspose_regions):
10603 * emacs.c (Fdump_emacs):
10605 * eval.c (Fcommand_execute):
10606 * eval.c (Fautoload):
10607 * eval.c (Fbacktrace):
10608 * eval.c (Fbacktrace_frame):
10610 * events.c (Fcopy_event):
10611 * events.c (Fcharacter_to_event):
10612 * events.c (Fevent_button):
10613 * events.c (Fevent_process):
10615 * extents.c (Fnext_extent_change):
10616 * extents.c (Fextent_property):
10617 * faces.c (Ffacep):
10618 * faces.c (Fmake_face):
10620 * file-coding.c (Fencode_shift_jis_char):
10621 * file-coding.c (Fencode_big5_char):
10622 * fileio.c (Ffile_name_directory):
10623 * fileio.c (Ffile_name_nondirectory):
10624 * fileio.c (Ffile_name_as_directory):
10625 * fileio.c (Fdirectory_file_name):
10626 * fileio.c (Ffile_truename):
10627 * fileio.c (Fsubstitute_in_file_name):
10628 * fileio.c (Ffile_modes):
10629 * fileio.c (Fset_file_modes):
10630 * fileio.c (Fset_default_file_modes):
10631 * fileio.c (Fverify_visited_file_modtime):
10632 * floatfns.c (Facos):
10633 * floatfns.c (Fasin):
10634 * floatfns.c (Fatan):
10635 * floatfns.c (Fcos):
10636 * floatfns.c (Fsin):
10637 * floatfns.c (Ftan):
10638 * floatfns.c (Fbessel_j0):
10639 * floatfns.c (Fbessel_j1):
10640 * floatfns.c (Fbessel_jn):
10641 * floatfns.c (Fbessel_y0):
10642 * floatfns.c (Fbessel_y1):
10643 * floatfns.c (Fbessel_yn):
10644 * floatfns.c (Ferf):
10645 * floatfns.c (Ferfc):
10646 * floatfns.c (Flog_gamma):
10647 * floatfns.c (Fexp):
10648 * floatfns.c (Fexpt):
10649 * floatfns.c (Flog):
10650 * floatfns.c (Flog10):
10651 * floatfns.c (Fsqrt):
10652 * floatfns.c (Fcube_root):
10653 * floatfns.c (Facosh):
10654 * floatfns.c (Fasinh):
10655 * floatfns.c (Fatanh):
10656 * floatfns.c (Fcosh):
10657 * floatfns.c (Fsinh):
10658 * floatfns.c (Ftanh):
10659 * floatfns.c (Fabs):
10660 * floatfns.c (Ffloat):
10661 * floatfns.c (Flogb):
10662 * floatfns.c (Fceiling):
10663 * floatfns.c (Ffloor):
10664 * floatfns.c (Fround):
10665 * floatfns.c (Ftruncate):
10666 * floatfns.c (Ffceiling):
10667 * floatfns.c (Fffloor):
10668 * floatfns.c (Ffround):
10669 * floatfns.c (Fftruncate):
10670 * fns.c (Fstring_equal):
10671 * fns.c (Fstring_lessp):
10674 * fns.c (vconcat2):
10675 * fns.c (vconcat3):
10676 * fns.c (Fsubstring):
10678 * fns.c (Fold_assoc):
10679 * fns.c (assoc_no_quit):
10681 * fns.c (Fold_assq):
10682 * fns.c (assq_no_quit):
10684 * fns.c (Fold_rassoc):
10686 * fns.c (Fold_rassq):
10687 * fns.c (rassq_no_quit):
10688 * fns.c (Fremassoc):
10689 * fns.c (remassoc_no_quit):
10690 * fns.c (Fremassq):
10691 * fns.c (remassq_no_quit):
10692 * fns.c (Fremrassoc):
10693 * fns.c (Fremrassq):
10694 * fns.c (remrassq_no_quit):
10696 * fns.c (Fplist_get):
10697 * fns.c (Fplist_put):
10698 * fns.c (Fplist_remprop):
10699 * fns.c (Fplist_member):
10700 * fns.c (Flax_plist_get):
10701 * fns.c (Flax_plist_put):
10702 * fns.c (Flax_plist_remprop):
10703 * fns.c (Flax_plist_member):
10705 * fns.c (Fold_equal):
10706 * fns.c (Frequire):
10707 * fns.c (Fbase64_encode_region):
10708 * fns.c (Fbase64_encode_string):
10709 * fns.c (Fbase64_decode_region):
10711 * frame.c (frame_matches_frame_spec):
10712 * frame.c (device_matches_device_spec):
10713 * frame.c (next_frame):
10714 * frame.c (previous_frame):
10715 * frame.c (Fnext_frame):
10716 * frame.c (Fprevious_frame):
10717 * frame.c (Fframe_property):
10718 * frame.c (Fset_frame_height):
10719 * frame.c (Fset_frame_size):
10723 * glyphs.c (decode_error_behavior_flag):
10724 * glyphs.c (Fmake_image_instance):
10725 * indent.c (Findent_to):
10726 * intl.c (Fignore_defer_gettext):
10727 * keymap.c (Fkeymapp):
10728 * keymap.c (Flookup_key):
10730 * lread.c (Fload_internal):
10731 * lread.c (Feval_buffer):
10732 * lread.c (Feval_region):
10733 * macros.c (Fexecute_kbd_macro):
10734 * marker.c (set_marker_internal):
10735 * marker.c (Fset_marker):
10736 * marker.c (set_marker_restricted):
10737 * marker.c (Fcopy_marker):
10738 * marker.c (noseeum_copy_marker):
10740 * menubar.c (Fpopup_menu):
10742 * mule-charset.c (Fcharset_name):
10743 * mule-charset.c (Fchar_charset):
10744 * mule-charset.c (Fchar_octet):
10745 * mule-charset.c (Fsplit_char):
10746 * mule-wnnfns.c (Fwnn_open):
10747 * mule-wnnfns.c (Fwnn_dict_comment):
10748 * mule-wnnfns.c (Fwnn_quit_henkan):
10749 * mule-wnnfns.c (Fwnn_word_toroku):
10750 * mule-wnnfns.c (Fwnn_word_sakujo):
10751 * mule-wnnfns.c (Fwnn_word_use):
10752 * mule-wnnfns.c (Fwnn_hindo_set):
10754 * objects.c (Fmake_color_instance):
10755 * objects.c (Fmake_font_instance):
10756 * print.c (Fwrite_char):
10758 * process.c (mark_process):
10759 * process.c (print_process):
10760 * process.c (get_process_from_usid):
10761 * process.c (Fprocessp):
10762 * process.c (Fprocess_live_p):
10763 * process.c (Fget_process):
10764 * process.c (Fget_buffer_process):
10765 * process.c (get_process):
10766 * process.c (Fprocess_id):
10767 * process.c (Fprocess_name):
10768 * process.c (Fprocess_command):
10769 * process.c (init_process_io_handles):
10770 * process.c (start_process_unwind):
10771 * process.c (Fstart_process_internal):
10772 * process.c (Fopen_multicast_group_internal):
10773 * process.c (Fset_process_window_size):
10774 * process.c (read_process_output):
10775 * process.c (send_process):
10776 * process.c (Fprocess_tty_name):
10777 * process.c (Fset_process_buffer):
10778 * process.c (Fprocess_buffer):
10779 * process.c (Fprocess_mark):
10780 * process.c (set_process_filter):
10781 * process.c (Fset_process_filter):
10782 * process.c (Fprocess_filter):
10783 * process.c (Fprocess_send_region):
10784 * process.c (Fprocess_send_string):
10785 * process.c (exec_sentinel):
10786 * process.c (Fset_process_sentinel):
10787 * process.c (Fprocess_sentinel):
10788 * process.c (status_notify):
10789 * process.c (Fprocess_status):
10790 * process.c (Fprocess_exit_status):
10791 * process.c (process_send_signal):
10792 * process.c (Fprocess_send_eof):
10793 * process.c (deactivate_process):
10794 * process.c (remove_process):
10795 * process.c (Fdelete_process):
10796 * process.c (kill_buffer_processes):
10797 * process.c (Fprocess_kill_without_query):
10798 * process.c (Fprocess_kill_without_query_p):
10800 * rangetab.c (Fget_range_table):
10801 * rangetab.c (Fput_range_table):
10802 * rangetab.c (Fremove_range_table):
10803 * rangetab.c (Fclear_range_table):
10805 * search.c (Fskip_chars_forward):
10806 * search.c (Fskip_chars_backward):
10807 * search.c (Fskip_syntax_forward):
10808 * search.c (Fskip_syntax_backward):
10809 * search.c (search_command):
10810 * search.c (Freplace_match):
10811 * search.c (Fregexp_quote):
10812 * select.c (Fown_selection_internal):
10813 * select.c (Fselection_owner_p):
10814 * select.c (Fselection_exists_p):
10815 * select.c (Fget_selection_internal):
10818 * symbols.c (Fintern):
10819 * symbols.c (Fintern_soft):
10820 * symbols.c (Funintern):
10821 * symbols.c (Fapropos_internal):
10822 * symbols.c (Fset_default):
10824 * syntax.c (Fsyntax_table_p):
10825 * syntax.c (Fcopy_syntax_table):
10826 * syntax.c (Fset_syntax_table):
10827 * syntax.c (Fchar_syntax):
10828 * syntax.c (syntax_match):
10829 * syntax.c (Fmatching_paren):
10830 * syntax.c (Fforward_word):
10831 * syntax.c (scan_lists):
10832 * syntax.c (Fscan_lists):
10833 * syntax.c (Fscan_sexps):
10834 * syntax.c (Fparse_partial_sexp):
10835 * toolbar.c (Fcheck_toolbar_button_syntax):
10838 * window.c (Fwindowp):
10839 * window.c (Fwindow_live_p):
10840 * window.c (Fwindow_point):
10841 * window.c (Fdelete_window):
10842 * window.c (Fnext_window):
10843 * window.c (Fprevious_window):
10844 * window.c (Fother_window):
10845 * window.c (window_loop):
10846 * window.c (Fget_lru_window):
10847 * window.c (Fsplit_window):
10848 * window.c (Fenlarge_window):
10849 * window.c (Fenlarge_window_pixels):
10850 * window.c (Fshrink_window):
10851 * window.c (Fshrink_window_pixels):
10852 * window.c (change_window_height):
10853 * window.c (Fwindow_configuration_p):
10854 * window.c (Fcurrent_window_configuration):
10856 * casefiddle.c (casify_object):
10857 * casefiddle.c (Fupcase):
10858 * casefiddle.c (Fdowncase):
10859 * casefiddle.c (Fcapitalize):
10860 * casefiddle.c (Fupcase_initials):
10861 * casefiddle.c (casify_region_internal):
10862 * casefiddle.c (casify_region):
10863 * casefiddle.c (Fupcase_region):
10864 * casefiddle.c (Fdowncase_region):
10865 * casefiddle.c (Fcapitalize_region):
10866 * casefiddle.c (Fupcase_initials_region):
10867 * casefiddle.c (Fupcase_word):
10868 * casefiddle.c (Fdowncase_word):
10869 * casefiddle.c (Fcapitalize_word):
10870 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10871 Replace 0 with '\0' when working with bytes.
10872 Replace initial "(" with "\(" in docstrings.
10874 2000-11-01 Martin Buchholz <martin@xemacs.org>
10876 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10878 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10880 2000-10-31 Martin Buchholz <martin@xemacs.org>
10882 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10884 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10886 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10889 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10891 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10892 (inhibit_auto_save_session): New variable.
10893 (vars_of_fileio): Declare and initialize them.
10894 * fileio.c (Fdo_auto_save): Don't create session file if
10895 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10897 2000-10-31 Martin Buchholz <martin@xemacs.org>
10899 * sgiplay.c (play_internal): C++ compilability.
10900 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10901 * callproc.c (Fold_call_process_internal):
10902 Remove unused vars `env', `first'.
10903 * scrollbar.c (update_scrollbar_instance):
10904 #### unused var `current_window'.
10905 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10906 etc. within #ifdef NOT_YET.
10907 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10908 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10909 * specifier.c (specifier_instance):
10910 #### unused var `tag'.
10911 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10913 2000-10-27 Martin Buchholz <martin@xemacs.org>
10915 * fns.c (Fbutlast):
10916 * fns.c (list_sort):
10917 * fns.c (Ffillarray):
10918 * fns.c (bytecode_nconc2):
10921 * fns.c (Fmapconcat):
10922 Be pedantically 64-bit correct. For the time when someone will
10923 want to have a list with length > 2**32.
10925 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10926 Work around MIPSpro compiler bug.
10928 * process-unix.c (unix_kill_child_process): Add snarky comment.
10929 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10931 * config.h.in: Oops, _getpt ==> _getpty
10933 2000-10-26 Martin Buchholz <martin@xemacs.org>
10937 Use void*, not char*, as return type of alloca().
10939 * alloc.c (free_marker): Side effect inside assert expression!
10941 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10943 * mule-charset.c (Fset_charset_ccl_program): To check
10944 if the given ccl program is valid, use setup_ccl_program()
10945 instead of CHECK_VECTOR().
10946 (Fmake_charset): Likewise.
10948 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10950 * faces.c (get_extent_fragment_face_cache_index):
10951 Fix cachel.merged_faces memory leak.
10953 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10955 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10956 Reset MSB of octets obtained by DECODE_SJIS
10957 because of the incompatibility with Emacs.
10958 (ccl_driver)<CCL_ENCODE_SJIS>:
10959 Set MSB of octets before passing them to
10960 ENCODE_SJIS because of the incompatibility
10963 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10965 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10966 (DECLARE_LRECORD): Undo the last change.
10967 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10969 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10971 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10972 the implementation to lrecord_implementations_table.
10974 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10976 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10977 initial value of `lrecord_type_##c_name' and
10978 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10979 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10980 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10981 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10982 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10984 2000-10-17 Martin Buchholz <martin@xemacs.org>
10986 * miscplay.c (sndcnv8S_2mono):
10987 (sndcnv2monounsigned):
10988 (sndcnvULaw_2linear):
10990 Remove implementation-defined behavior.
10992 2000-10-12 Martin Buchholz <martin@xemacs.org>
10994 * input-method-xlib.c: Warning suppression.
10996 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10998 * mule-ccl.c: Sync up with Emacs 21.0.90.
10999 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11001 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11003 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11004 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11005 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11006 leading char belongs to official 2-dimensional charset.
11007 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11008 write the given character as is. Otherwise,
11009 if it is a multibyte char, convert it by
11010 non_ascii_set_charptr_emchar, then write it.
11011 (CCL_WRITE_STRING): Likewise.
11012 (ccl_get_compiled_code): New function.
11013 (setup_ccl_program): When ccl_prog is invalid,
11015 (Fregister_code_conversion_map): New function.
11016 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11018 * mule-ccl.h: Sync up with Emacs 21.0.90.
11019 (Fregister_ccl_program): export it.
11021 * redisplay-msw.c (separate_textual_runs):
11022 If ccl program is not valid, don't do ccl conversion.
11024 * redisplay-x.c (separate_textual_runs): Ditto.
11026 * file-coding.c (Fmake_coding_system):
11027 When type is ccl and value is vector, register it
11028 with a proper symbol. And checks whether the
11029 given ccl program is valid.
11030 (mule_decode): When calling ccl_driver, if src indicates
11031 NULL pointer, set an empty string instead.
11032 (mule_encode): Likewise.
11034 2000-10-11 Martin Buchholz <martin@xemacs.org>
11036 The following large batch of changes gets us back to a state of
11037 C++ compilability. Extbyte is now a char, which means that
11038 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11040 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11042 * sound.c (Fplay_sound): Type correctness.
11044 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11045 (x_get_window_property): Type correctness.
11046 (receive_incremental_selection): unsigned char ==> Extbyte
11047 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11048 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11049 (Fx_store_cutbuffer_internal): Type correctness.
11051 * process-unix.c (try_to_initialize_subtty): Type correctness.
11053 * objects-x.c (x_print_color_instance): Type correctness.
11054 (x_print_font_instance): Type correctness.
11055 (x_list_fonts): SExtbyte ==> Extbyte.
11056 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11057 (x_find_charset_font): SExtbyte ==> Extbyte.
11058 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11059 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11060 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11061 Use bufbyte_strcmp.
11063 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11064 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11065 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11066 (BYTE_C0_P): Use bit ops for char-signedness safety.
11067 (BYTE_C1_P): Use bit ops for char-signedness safety.
11068 (CHARSET_BY_LEADING_BYTE):
11069 (CHARSET_BY_ATTRIBUTES):
11070 Always use inline function.
11071 Use type_checking_assert.
11074 * mule-charset.c (non_ascii_charptr_copy_char):
11075 Modify to work with both ASCII and non-ASCII characters.
11076 Improve docs and variable names.
11077 Replace over-clever fall-through switch with a simple loop.
11078 (Lstream_get_emchar_1):
11079 Replace over-clever fall-through switch with a simple loop.
11081 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11082 Warning suppression.
11084 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11085 the return value of Lstream_getc, which could be EOF as well.
11087 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11089 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11090 APIs can be used on Extbytes without casts. Risky!
11091 (SExtbyte): Remove.
11092 (UExtbyte): Remove.
11094 * input-method-xlib.c (XIM_init_device):
11095 Use Xlib.h instead of IntrinsicP.h.
11096 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11097 which will break in X11R7.
11098 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11099 to call XRegisterIMInstantiateCallback with correct types.
11101 * gui-x.c (button_item_to_widget_value): Type correctness.
11103 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11105 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11106 (xbm_instantiate_1): Type correctness.
11107 (BUILD_GLYPH_INST): Type correctness.
11109 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11112 (decode_coding_sjis):
11113 (decode_coding_big5):
11114 (decode_coding_ucs4):
11115 (decode_coding_utf8):
11116 (decode_coding_iso2022):
11117 (decode_coding_no_conversion):
11118 Make all decoding functions take an Extbyte * arg.
11119 (encode_coding_sjis):
11120 (encode_coding_big5):
11121 (encode_coding_ucs4):
11122 (encode_coding_utf8):
11123 (encode_coding_iso2022):
11124 (encode_coding_no_conversion):
11125 Make all encoding functions take a Bufbyte * arg.
11126 Use size_t instead of unsigned int for memory sizes.
11127 Only cast to unsigned char whenever dereferencing Extbyte *.
11129 * doc.c (unparesseuxify_doc_string): Type correctness.
11131 * console-x.c (split_up_display_spec):
11132 Rewrite without using details of internal string representation.
11133 (x_semi_canonicalize_device_connection): Type correctness.
11136 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11137 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11138 (HAVE_XFREE386): Removed.
11140 * buffer.h (DEC_CHARPTR): `const' correctness.
11141 (bufbyte_strcmp): New.
11142 (bufbyte_memcmp): New.
11144 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11146 * buffer.h (XCHAR_OR_CHAR_INT):
11147 Always use inline function.
11148 Remove redundant type checking assert() - XINT will abort quite nicely.
11150 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11152 * search.c (Freplace_match): Set newtext to an empty string.
11154 2000-10-10 Martin Buchholz <martin@xemacs.org>
11156 * s/decosf1-3.h: Remove #include of stropts.h
11157 * s/ptx.h: Remove #include of stropts.h
11158 * s/usg5-4.h: Remove #include of stropts.h
11161 Use stropts.h, not sys/stropts.h.
11162 Use strtio.h, not sys/strtio.h.
11164 2000-10-04 Martin Buchholz <martin@xemacs.org>
11166 * XEmacs 21.2.36 is released.
11168 2000-09-21 Andy Piper <andy@xemacs.org>
11170 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11171 changes still involve copying the widget tree.
11172 (update_widget_face): make sure a change is register in the widget
11173 tree. Call update_tab_widget_face appropriately.
11174 (update_tab_widget_face): ditto.
11175 (x_tab_control_redisplay): make sure non-structural changes still
11176 involve copying the widget tree.
11178 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11180 * lread.c (locate_file): Check the path element is non-nil.
11182 2000-10-02 Martin Buchholz <martin@xemacs.org>
11184 * lisp.h: Warning suppression for SCO compilers.
11186 * redisplay-tty.c (reset_tty_modes): Fix crash.
11187 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11189 2000-09-27 Martin Buchholz <martin@xemacs.org>
11191 Big signal/process handling overhaul. Bugs fixed:
11192 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11193 M-x comint-kill-subjob should work for both values nil and t of
11194 process-connection-type. It was broken on most platforms.
11195 Testing on Irix and Cygwin still needed. Other plaforms tested.
11196 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11197 * process-unix.c: Signal/Process handling overhaul.
11198 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11199 (allocate_pty): Use all available modern methods of allocating
11200 ptys, falling back to old style BSD allocation as a last resort.
11201 Use allegedly more secure Unix98 pty allocation by default.
11202 (allocate_pty_the_old_fashioned_way): New. the last resort.
11203 (unix_create_process): Push ptem, ldterm, ttcompat where
11204 available. Autoconfiscate.
11205 (try_to_initialize_subtty): New.
11206 (unix_kill_child_process): Proper signal handling for ptys on most
11207 platforms, using special knowledge of AIX, BSD, etc...
11208 (unix_create_process): Always disconnect_controlling_terminal() for
11209 subprocesses, whether using ptys or not.
11210 * process.h: Remove old getpt-dependent PTY code.
11211 * process.c (Fprocess_send_signal): New, obvious generic function.
11212 (decode_signal): New.
11213 (Finterrupt_process):
11217 (Fcontinue_process):
11218 (Fsignal_process): Use decode_signal.
11219 (process_send_signal):
11220 Many docstring corrections.
11221 Allow any signal to be sent to a process object.
11222 * config.h.in: Add symbols for big signal/process overhaul.
11223 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11224 * sysproc.h: Include process-related headers, where available:
11225 sys/stropts.h sys/strtio.h pty.h libutil.h
11233 Remove old S&M pty stuff.
11234 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11235 * systty.h: Simplify cpp hackery, improve comments.
11236 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11238 * editfns.c (Fformat_time_string):
11239 Be a little more paranoid with the return value of ctime.
11241 * fileio.c (check_executable):
11243 Use symbolic constants X_OK, W_OK.
11245 * console-x.c (split_up_display_spec): Fix a warning.
11247 2000-10-02 Martin Buchholz <martin@xemacs.org>
11249 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11250 * ntproc.c (sys_spawnve): make_string ==> build_string
11251 Small clarity improvements.
11253 2000-09-30 Martin Buchholz <martin@xemacs.org>
11255 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11257 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11259 * config.h.in (HAVE_STRCASECMP): Remove.
11261 2000-09-29 Martin Buchholz <martin@xemacs.org>
11263 * redisplay-output.c (redisplay_output_pixmap):
11264 Cleaner and possibly more 64-bit correct code.
11266 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11268 * dumper.c (pdump_load_finish): move restoration of
11269 `noninteractive1' to emacs.c (main_1).
11270 * emacs.c (main_1): protect LISP-visible command-line flags
11273 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11275 * Makefile.in.in (versionclean): Use EXE_TARGET and
11276 DUMP_TARGET instead of literal program names.
11278 2000-09-20 Martin Buchholz <martin@xemacs.org>
11280 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11282 2000-09-19 Martin Buchholz <martin@xemacs.org>
11284 * *: Spelling mega-patch
11286 2000-09-19 Martin Buchholz <martin@xemacs.org>
11288 * fns.c (bad_bad_turtle):
11289 Delete "Eek!" comment, since we fixed the bug to which it refers.
11291 2000-09-16 Martin Buchholz <martin@xemacs.org>
11293 * alloca.c: Replace REGISTER with register.
11295 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11297 * file-coding.c (ucs_to_char): Use countof.
11299 2000-09-16 Martin Buchholz <martin@xemacs.org>
11301 * file-coding.c: (ucs_to_char):
11302 (complex_vars_of_file_coding):
11303 Use countof instead of sizeof.
11304 Use CHECK_NATNUM instead of CHECK_INT.
11306 * sysdep.c (strcasecmp): Remove.
11307 * device-x.c (ascii_strcasecmp): New.
11308 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11309 Avoid using non-standard non-portable strcasecmp.
11311 2000-09-16 Martin Buchholz <martin@xemacs.org>
11313 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11314 * font-lock.c: remove reference to emacsfns.h.
11315 * search.c: small doc improvement.
11316 * event-Xt.c: correct file names in comments.
11317 * console-x.h Correct file names in comments.
11318 * frame.c: Correct file names in comments.
11319 * event-stream.c: remove Energize from comments.
11321 2000-09-15 Martin Buchholz <martin@xemacs.org>
11323 * symeval.h (DEFERROR_STANDARD):
11326 (DEFSYMBOL_NO_DUMP):
11327 (DEFSYMBOL_MULTIWORD_PREDICATE):
11328 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11330 The construct &##name is not sensible C.
11331 Fixes compilation errors with Unixware native compiler.
11333 2000-09-14 Martin Buchholz <martin@xemacs.org>
11335 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11336 (next_frame_internal): Removed. We now just have next_frame.
11338 Write a simpler and cleaner one-pass algorithm.
11339 Remove called_from_delete_device arg and #ifdefed-out code.
11341 Renamed from prev_frame. Update callers.
11342 Cleaned up to have an analogous implementation to next_frame.
11343 (other_visible_frames_internal): Remove the
11344 called_from_delete_device bogus arg, and hence, remove this
11345 function. Just use other_visible_frames().
11347 * window.c (Fnext_window):
11348 Prettify docstring.
11349 Since next_frame() is guaranteed to return a frame, remove check
11350 for nil inserted in previous patch.
11351 (Fprevious_window):
11352 Prettify docstring.
11353 Make code look more like Fnext_window.
11355 Respect the `console' arg when iterating through windows.
11356 Fixes bug: (get-buffer-window buffer t device) not respecting
11358 This function needs more work, as others have pointed out.
11360 * frame.h: Rename prev_frame to previous_frame.
11361 device_matches_console_spec no longer takes a `frame' arg.
11366 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11367 From "Golubev I. N." <gin@mo.msk.ru>.
11369 * make-src-depend: Fix typo.
11371 2000-09-13 Martin Buchholz <martin@xemacs.org>
11373 * window.c (Fnext_window):
11374 next_frame() might return nil, not a frame.
11376 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11378 * frame.c (next_frame_internal):
11379 We've passed a frame if we've passed its device.
11381 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11382 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11384 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11386 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11387 Allow option to suppress accelerators in menu/dialog items.
11388 (populate_or_checksum_helper): Pass dialog title through above.
11390 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11392 * event-msw.c (mswindows_key_to_emacs_keysym):
11393 Add "pause" key, fix "menu" key.
11395 2000-09-09 Martin Buchholz <martin@xemacs.org>
11397 * eval.c (reinit_vars_of_eval):
11398 Increase max_lisp_eval_depth to 1000,
11399 required for thai-xtis.el to byte-compile under some circumstances.
11401 2000-09-04 Martin Buchholz <martin@xemacs.org>
11403 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11404 From Kenichi Handa.
11406 2000-09-01 Martin Buchholz <martin@xemacs.org>
11408 * make-src-depend: Make the generated Makefiles smaller.
11410 * s/hpux.h (SETUP_SLAVE_PTY):
11411 Provide a %d in the format string for the errno argument.
11413 * editfns.c (Ftemp_directory):
11415 Avoid buffer overrun on very long file name.
11417 * input-method-xlib.c (XIM_init_device):
11418 6th parameter of XRegisterIMInstantiateCallback has different
11419 pointer types on different OSes, so simply cast to (void *).
11421 * unexhp9k800.c: Warning fixes. Fiddly changes.
11423 * sysdll.c (dll_open):
11424 shl_load will hang hard if passed a NULL filename.
11425 Simply return NULL for compatibility with dlopen.
11426 * sysdll.c: Conform to XEmacs coding standards.
11428 * sysdep.c (get_pty_max_bytes):
11429 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11431 2000-08-31 Martin Buchholz <martin@xemacs.org>
11433 * tooltalk.c: Add #include <syssignal.h>
11435 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11437 * s/hpux.h: Don't use undefined function sigunblock().
11439 2000-08-31 Martin Buchholz <martin@xemacs.org>
11441 * config.h.in: Add HAVE_BALLOON_HELP.
11442 * emacs.c: Use HAVE_BALLOON_HELP.
11443 * Makefile.in.in (x_objs):
11444 Make Balloon Help conditional on finding shape.h.
11446 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11448 * syntax.c (regex_emacs_buffer_p): New variable.
11449 * syntax.h (regex_emacs_buffer_p): extern.
11450 * search.c (looking_at_1):
11452 (fast_string_match):
11453 (search_buffer): Set regex_emacs_buffer_p.
11454 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11455 when before_dot, at_dot, after_dot.
11457 2000-08-23 Andy Piper <andy@xemacs.org>
11459 * gui-x.c (popup_selection_callback): Only set action_occurred
11460 when we really have an image instance.
11461 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11463 2000-08-23 Andy Piper <andy@xemacs.org>
11465 * gui-msw.c (mswindows_handle_gui_wm_command): set
11467 * gui-x.c (popup_selection_callback): ditto.
11469 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11470 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11471 (struct Lisp_Image_Instance): add action_occurred flag.
11473 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11474 (image_instance_changed): ditto.
11475 (reset_frame_subwindow_instance_cache): only unmap windows - do
11476 not remove them from the cache also.
11478 * glyphs-widget.c (tab_control_update): better debug.
11479 (progress_gauge_update): ditto.
11480 (layout_update): ditto.
11481 (layout_instantiate): ditto.
11482 (tab_control_order_only_changed): cope with null pending items.
11484 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11485 debug. Force selection of an item when an action occurred. Cope
11486 with null pending_items.
11487 (mswindows_progress_gauge_redisplay): better debug.
11488 * glyphs-x.c (x_tab_control_redisplay): ditto.
11490 * redisplay.c (redisplay_frame): reset the frame cache if the
11493 * window.c (Fset_window_configuration): potentially re-enable
11495 (window_unmap_subwindows): need to finalize instances here since
11496 it is only used in mark_window_as_deleted.
11498 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11500 * nas.c (SndOpenDataForReading):
11501 nas.c (WaveOpenDataForReading):
11502 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11503 Somehow escaped from the 2000-08-14 patch.
11505 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11507 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11508 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11510 2000-08-21 Andy Piper <andy@xemacs.org>
11512 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11513 window if it is not already displayed.
11515 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11516 it is not already displayed.
11518 * window.c (Fset_window_configuration): don't reset the frame
11521 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11522 instances from the frame cache if we are actually finalizing them.
11523 (reset_frame_subwindow_instance_cache): reset frame cache only
11524 after unmapping everything.
11525 (map_subwindow): set displayed flag after mapping.
11527 2000-08-21 Martin Buchholz <martin@xemacs.org>
11529 * data.c (indirect_function):
11530 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11532 * eval.c (function_argcount):
11533 Use original function when signaling errors.
11535 2000-08-18 Andy Piper <andy@xemacs.org>
11537 * frame.c (delete_frame_internal): use new
11538 free_frame_subwindow_instances name.
11540 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11541 (add_tab_item): make return type correct.
11542 (mswindows_tab_control_instantiate): assert index of tab.
11543 (mswindows_tab_control_redisplay): Re-code to use
11544 gui_item_equal_sans_selected and gui_item_list_find_selected.
11546 * glyphs-widget.c (tab_control_update): Correct comment.
11548 * window.c (window_unmap_subwindows): use new
11549 unmap_subwindow_instance_cache_mapper.
11550 (window_unmap_subwindows_cache_mapper): deleted.
11551 (Fset_window_configuration): comparisons should now be with
11552 EQ. Preserve the subwindow instance cache across configuration
11554 (allocate_window): ditto.
11555 (make_dummy_parent): ditto.
11557 * glyphs.c (free_frame_subwindow_instances): rename from
11558 free_frame_subwindow_instance_cache. finalize all instances rather
11559 than just those in the display cache.
11560 (finalize_all_subwindow_instances): walk windows unmapping and
11561 finalizing subwindows.
11562 (unmap_subwindow_instance_cache_mapper): moved from
11563 window.c. Allow finalization as well as unmapping.
11565 * gui.c (gui_item_list_find_selected): new function.
11567 * gui.h (gui_item_list_find_selected): declare.
11569 * glyphs-x.c (x_tab_control_redisplay): pick tab
11570 explicitly. Re-code to use gui_item_equal_sans_selected and
11571 gui_item_list_find_selected.
11573 * glyphs-x.h: add lwlib-utils.h
11575 * buffer.c (Frecord_buffer): undo previous change.
11577 2000-08-09 Vin Shelton <acs@xemacs.org>
11579 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11580 possible. Create temporary files more securely. The patch was
11581 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11582 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11583 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11586 2000-08-07 Ben Wing <ben@xemacs.org>
11588 * getloadavg.c: remove duplicate (and windows-breaking)
11589 includes of fcntl.h and sys/file.h.
11591 * nt.c: remove duplicate getloadavg() definition.
11593 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11596 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11598 * eval.c (function_argcount): If function needs to be autoloaded
11599 actually use the loaded definition.
11602 2000-08-05 Ben Wing <ben@xemacs.org>
11604 * getloadavg.c: add prototype for getloadavg(). remove
11605 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11606 of the code). remove duplicate header includes.
11608 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11610 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11611 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11612 useful load average.
11614 * alloc.c (reinit_alloc_once_early): removed references to
11615 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11616 the lisp vars are the only things referencing the malloc_sbrk_*
11617 vars, and they were already if 0'd out. these vars only exist
11618 in the older malloc.c, which is basically unused, and they're
11619 only for informational purposes.
11621 * m\*.h: removed useless VIRT_ADDR_VARIES.
11623 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11625 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11627 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11628 color if the image is a mono pixmap.
11630 2000-07-30 Ben Wing <ben@xemacs.org>
11632 * Makefile.in.in (release):
11635 * buffer.c (directory_is_current_directory):
11636 * dired-msw.c (mswindows_get_files):
11638 * dired.c (Fdirectory_files):
11639 * dired.c (file_name_completion_stat):
11640 * dired.c (Ffile_attributes):
11641 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11642 preprocessor tricks, to avoid problems on some machines
11645 * callproc.c (egetenv): GC docs.
11648 * console-msw.h (struct mswindows_dialog_id):
11649 * lrecord.h (lrecord_type):
11650 New object for use with MSW dialogs.
11652 * console.h (struct console_methods):
11653 New enable/disable frame methods, for proper modal dialogs.
11655 * device-msw.c (msprinter_default_printer): Fix to follow
11656 proper Mule conventions.
11659 * device-msw.c (signal_open_printer_error):
11660 * device-msw.c (msprinter_init_device):
11661 * device-msw.c (ensure_not_printing):
11662 * device-msw.c (plist_get_margin):
11663 * device-msw.c (Fmsprinter_select_settings):
11664 * device-msw.c (finalize_devmode):
11665 * device-msw.c (Fmsprinter_settings_despecialize):
11666 * device-msw.c (signal_enum_priner_error):
11667 * extents.c (decode_extent):
11668 * extents.c (decode_map_extents_flags):
11669 * extents.c (decode_extent_at_flag):
11670 * extents.c (Fextent_at):
11671 * extents.c (Fextents_at):
11672 * extents.c (symbol_to_glyph_layout):
11673 [[[[2]]]] Use structured errors.
11676 * dialog-msw.c (mswindows_is_dialog_msg):
11677 * dialog-msw.c (mark_mswindows_dialog_id):
11678 * dialog-msw.c (dialog_proc):
11679 * dialog-msw.c (handle_question_dialog_box):
11680 * dialog-msw.c (syms_of_dialog_mswindows):
11681 Define new object to clean up marking; use it as a dialog identifier.
11682 Call new delete-dialog-box-hook.
11684 * dialog-x.c (dbox_selection_callback):
11685 * dialog-x.c (dbox_descriptor_to_widget_value):
11686 * dialog-x.c (x_make_dialog_box_internal):
11687 Call new delete-dialog-box-hook.
11691 * dialog.c (syms_of_dialog):
11692 * dialog.c (vars_of_dialog):
11693 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11696 * eval.c (signal_call_debugger):
11697 when noninteractive, output stack traces on the console instead
11698 of in a (never-seen) buffer.
11700 * eval.c (signal_type_error):
11701 * eval.c (invalid_argument_2):
11703 new funs for use w/structured errors.
11706 * event-Xt.c (x_to_emacs_keysym):
11707 * event-Xt.c (describe_event):
11708 * event-Xt.c (emacs_Xt_event_handler):
11709 * event-Xt.c (vars_of_event_Xt):
11711 * event-msw.c (mswindows_wnd_proc):
11712 * event-msw.c (vars_of_event_mswindows):
11713 rename {x,mswindows}-debug-events to debug-{}-events for
11714 consistency with other debug-foo variables.
11717 document next-event more clearly.
11719 * fileio.c (Ffile_name_directory):
11720 * fileio.c (Ffile_name_nondirectory):
11721 * fileio.c (Funhandled_file_name_directory):
11722 * fileio.c (file_name_as_directory):
11723 * fileio.c (Ffile_name_as_directory):
11724 * fileio.c (directory_file_name):
11725 * fileio.c (Fdirectory_file_name):
11726 * fileio.c (Fmake_temp_name):
11727 * fileio.c (Ffile_truename):
11728 * fileio.c (Fsubstitute_in_file_name):
11729 * fileio.c (expand_and_dir_to_file):
11730 * fileio.c (barf_or_query_if_file_exists):
11731 * fileio.c (check_executable):
11732 * fileio.c (Ffile_exists_p):
11733 * fileio.c (Ffile_writable_p):
11734 * fileio.c (Ffile_directory_p):
11735 * fileio.c (Ffile_regular_p):
11736 * fileio.c (Ffile_modes):
11737 * fileio.c (Ffile_newer_than_file_p):
11738 * fileio.c (Fverify_visited_file_modtime):
11739 * fileio.c (Fset_visited_file_modtime):
11740 * fileio.c (auto_save_1):
11745 * frame-msw.c (mswindows_init_frame_1):
11746 * frame-msw.c (mswindows_enable_frame):
11747 * frame-msw.c (error_frame_unsizable):
11748 * frame-msw.c (msprinter_init_frame_1):
11749 * frame-msw.c (msprinter_init_frame_3):
11750 * frame-msw.c (console_type_create_frame_mswindows):
11752 implement new enable/disable frame methods.
11755 * frame-x.c (x_enable_frame):
11756 * frame-x.c (console_type_create_frame_x):
11757 implement new enable/disable frame methods.
11760 * frame.c (Fdisable_frame):
11761 * frame.c (syms_of_frame):
11762 * frame.h (struct frame):
11763 implement new enable/disable frame methods/functions.
11768 * glyphs-msw.c (mswindows_widget_instantiate):
11769 comment that initial-focus should be implemented.
11772 * glyphs-widget.c (check_valid_instantiator):
11773 * glyphs-widget.c (check_valid_orientation):
11774 * glyphs-widget.c (check_valid_tab_orientation):
11775 * glyphs-widget.c (check_valid_justification):
11776 * glyphs-widget.c (check_valid_border):
11777 * glyphs-widget.c (check_valid_callback):
11778 * glyphs-widget.c (check_valid_int_or_function):
11779 * glyphs-widget.c (check_valid_string_or_vector):
11780 * glyphs-widget.c (check_valid_item_list_1):
11781 * glyphs-widget.c (widget_validate):
11782 * glyphs-widget.c (combo_box_validate):
11783 * glyphs-widget.c (widget_instantiate):
11784 * glyphs-widget.c (syms_of_glyphs_widget):
11785 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11786 * glyphs-widget.c (image_instantiator_combo_box):
11787 * glyphs-widget.c (image_instantiator_scrollbar):
11788 * glyphs-widget.c (image_instantiator_tab_control):
11789 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11791 support (unimplemented) keyword initial-focus.
11792 reindent long macros.
11794 * glyphs-x.c (x_redisplay_widget):
11795 * glyphs-x.c (x_button_instantiate):
11796 * glyphs-x.c (x_button_redisplay):
11797 * glyphs-x.c (x_progress_gauge_instantiate):
11798 * glyphs-x.c (x_edit_field_instantiate):
11799 * glyphs-x.c (x_combo_box_instantiate):
11800 * glyphs-x.c (x_tab_control_instantiate):
11801 * glyphs-x.c (x_label_instantiate):
11803 * gui-x.c (button_item_to_widget_value):
11804 * gui-x.c (gui_items_to_widget_values_1):
11805 * gui-x.c (gui_item_children_to_widget_values):
11806 * gui-x.c (gui_items_to_widget_values):
11808 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11809 add new flag to gui-parsing routines to indicate whether
11810 accelerator specs should be supported.
11812 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11814 * glyphs.h (struct Lisp_Image_Instance):
11815 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11816 add initial-focus flag.
11819 * gui.c (syms_of_gui):
11820 * gui.c (vars_of_gui):
11821 clean up menu-no-selection-hook.
11824 support delete-dialog-box-hook.
11826 * lread.c (Fload_internal):
11827 * lread.c (locate_file_in_directory_mapper):
11831 * lrecord.h (struct toolbar_button):
11832 * lrecord.h (syms_of_toolbar):
11833 document how to create a new object.
11835 * menubar-msw.c (mswindows_char_is_accelerator):
11836 may be called on frames w/o menus.
11838 * menubar.c (vars_of_menubar):
11839 clean up :filter docs.
11846 * process-nt.c (validate_signal_number):
11847 * process-nt.c (signal_cannot_launch):
11848 * process-nt.c (nt_create_process):
11849 * process-nt.c (nt_send_process):
11850 * process-nt.c (nt_kill_child_process):
11851 * process-nt.c (nt_open_network_stream):
11852 * process-nt.c (syms_of_process_nt):
11854 delete quote-handling. call new lisp code that does it better.
11856 * process-unix.c (connect_to_file_descriptor):
11857 * process-unix.c (allocate_pty):
11858 * process-unix.c (unix_send_process):
11859 * process-unix.c (unix_kill_child_process):
11860 * process-unix.c (unix_open_network_stream):
11861 * process-unix.c (unix_open_multicast_group):
11865 * process.c (Fstart_process_internal):
11866 (2). need to canonicalize process path even if absolute.
11868 * select-msw.c (symbol_to_ms_cf):
11869 * select-msw.c (ms_cf_to_symbol):
11870 * select-msw.c (cf_is_autofreed):
11871 * select-msw.c (mswindows_destroy_selection):
11873 * select.c (syms_of_select):
11875 support dibv5, fix bugs. (from Mike Alexander)
11877 * select.c (Fget_selection_internal):
11878 * select.c (select_convert_out):
11881 * sysdep.c (xemacs_stat):
11884 * sysdep.c (mkdir):
11885 * sysdep.c (rmdir):
11886 but keep original stat() here because we provide encapsulation
11890 * sysfile.h (fstat):
11891 remove stat garbage.
11894 fix X/MSW conflict.
11895 don't include tchar.h. it's inappropriate because it makes
11896 compile-time distinctions when we want runtime distinctions.
11897 (we provide our own tchar replacements)
11900 use default object printer for toolbar-button.
11903 make sure we don't encapsulate.
11905 * window.c (vars_of_window):
11906 emphasize that temp-buffer-show-hook is obsolete.
11908 2000-08-05 Martin Buchholz <martin@xemacs.org>
11910 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11911 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11913 * events.c (Fevent_timestamp_lessp):
11914 Not 64-bit clean. Use EMACS_INT, not int.
11916 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11918 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11919 unsigned int and changed the last enum to
11920 lrecord_type_last_built_in_type.
11921 (lrecord_implementations_table): changed prototype to know how
11922 long the array is supposed to be.
11923 (lrecord_type_count): new unsigned int to keep track of the
11924 current number of lisp lrecord types.
11925 (DEFINE_EXTERNAL_LRECORD):
11926 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11927 dynamic-modules to declare new lisp types. They are the same
11928 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11929 int for each new type, and increment lrecord_type_count by 1.
11931 * alloc.c (lrecord_implementations_table): Changed to reference
11932 lrecord_type_last_built_in_type for the size of the array.
11933 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11935 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11937 * glyphs.h (check_valid_item_list): Renamed from
11938 check_valid_item_list_1.
11940 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11942 * select.c (Qselect_coerce): New.
11943 * select.c (Vselection_coercion_alist): New.
11944 * select.c (syms_of_select): Declare.
11945 * select.c (get-selection-internal): Use it.
11946 Use the new select-coerce functionality.
11948 * select.c (select_coerce): New.
11949 * select.h (select_coerce): Declare.
11950 New function to coerce one type of data into another.
11952 2000-08-03 Martin Buchholz <martin@xemacs.org>
11954 * callproc.c (Fcall_process_internal):
11955 (Fcall_process_internal):
11956 * process-unix.c (unix_create_process):
11957 Save and restore the value of errno, so that error messages are accurate.
11959 2000-08-01 Martin Buchholz <martin@xemacs.org>
11961 * elhash.c (print_hash_table):
11962 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11963 Prettify docstrings and indentation.
11965 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11967 * window.c (Fwindow_pixel_edges): Subtract frame border and
11970 2000-07-31 Andy Piper <andy@xemacs.org>
11972 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11973 will acknowledge the change.
11975 * glyphs.h: declare tab_control_order_only_changed.
11977 * glyphs-x.c (x_tab_control_redisplay): use
11978 tab_control_order_only_changed.
11980 * glyphs-widget.c (tab_control_order_only_changed): new function.
11982 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11983 tab_control_order_only_changed.
11985 * gui.c (gui_item_equal_sans_selected): new function.
11986 (gui_item_equal): use it.
11988 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11989 :properties in favor of :items..
11991 * glyphs-widget.c (check_valid_item_list): rename from
11992 check_valid_item_list_1.
11993 (check_valid_item_list_1): renamed.
11994 (combo_box_validate): deprecate :properties in favor of :items.
11995 (widget_instantiate): ditto.
11996 (tab_control_update): ditto.
11997 (image_instantiator_combo_box): ditto.
11998 (image_instantiator_tree_view): ditto.
11999 (image_instantiator_tab_control): ditto.
12000 (layout_post_instantiate): remove dead code.
12002 * print.c (debug_print_no_newline): only write to debugger if in
12005 * elhash.c (Fmake_hash_table): update doc string.
12007 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12008 messages whilst in GC. This at least stops XEmacs crashing but has
12009 the potential for wierd behaviour.
12011 2000-07-31 Martin Buchholz <martin@xemacs.org>
12014 Make existence of s&m files optional.
12016 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12017 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12018 * s/gnu.h: Remove HAVE_GETLOADAVG.
12019 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12020 * s/sol2.h: Remove HAVE_GETLOADAVG.
12021 * lisp.h: Remove getloadavg() declaration.
12023 Include <sys/loadavg.h> if available.
12024 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12025 * config.h.in: Group together getloadavg()-related macros.
12026 Use only configure-time tests to detect getloadavg().
12028 2000-07-30 Martin Buchholz <martin@xemacs.org>
12030 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12032 2000-07-25 Andy Piper <andy@xemacs.org>
12034 * syswindows.h: add tchar.h for native builds.
12036 * frame.c (syms_of_frame): remove set-glyph-image.
12038 * general-slots.h: add Qset_glyph_image.
12040 * glyphs-widget.c (layout_update): add domain arg to
12042 (syms_of_glyphs_widget): remove set-glyph-image.
12044 2000-07-23 Ben Wing <ben@xemacs.org>
12046 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12049 2000-07-22 Andy Piper <andy@xemacs.org>
12051 * symsinit.h: add syms_of_win32().
12053 * gui-msw.c (syms_of_gui_mswindows): remove
12054 Fmswindows_shell_execute.
12055 (Fmswindows_shell_execute): moved to win32.c.
12057 * emacs.c (main_1): add syms_of_win32 ().
12059 * win32.c (init_potentially_nonexistent_functions): rewrite in
12060 compiler-friendly terms.
12061 (Fmswindows_shell_execute): move here from gui-msw.c.
12062 (syms_of_win32): new.
12064 * device-msw.c (Fmswindows_printer_list): clean up args to
12066 Don't include tchar under cygwin or mingw.
12067 (msprinter_default_printer): make cygwin-friendly.
12069 2000-07-21 Andy Piper <andy@xemacs.org>
12071 * glyphs-widget.c (image_instantiator_tree_view): use tab
12072 control's update function.
12073 (layout_property): new function. Retrieve items.
12075 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12076 function. Re-populate the tree view from the pending items.
12078 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12079 is designated the parent if the domain is an image instance. This
12080 is needed so that dirtiness can be cascade up the hierarchy and
12081 thus for layout children to be redisplayed correctly.
12082 (allocate_image_instance): rename glyph -> parent.
12084 * redisplay.h: change redisplay_output_layout signature.
12086 * redisplay-msw.c (mswindows_output_display_block): use domain
12089 * redisplay-x.c (x_output_display_block): use domain arg.
12091 2000-07-10 Andy Piper <andy@xemacs.org>
12093 * window.c (Fset_window_configuration): add comment.
12095 * redisplay-output.c (compare_runes):
12096 (redisplay_output_subwindow): redisplay rather than update subwindow.
12097 (redisplay_output_layout): ditto.
12099 * redisplay-msw.c (mswindows_frame_output_end):
12100 (mswindows_frame_output_end): make defer window pos optional.
12102 * lisp.h: add Flast.
12104 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12105 normalize method. Change update method to be for changed
12106 instantiators. Add redisplay method. Change signature of layout
12108 (struct Lisp_Image_Instance): add instantiator.
12109 (IMAGE_INSTANCE_INSTANTIATOR): new.
12110 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12111 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12112 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12115 (find_instantiator_differences): new function.
12116 (Fset_instantiator_property): new convenience function.
12117 (check_image_instance_structure): strictly check for vector
12119 (normalize_image_instantiator): make non-static.
12120 (instantiate_image_instantiator): pass on dest_mask and use new
12121 signatures for image_instance_layout and friends.
12122 (mark_image_instance): mark the instantiator. Mark the subwindow
12123 face not the widget face.
12124 (image_instance_equal): add instantiator.
12125 (image_instance_hash): ditto.
12126 (allocate_image_instance): ditto.
12127 (Fset_image_instance_property): removed.
12128 (Fimage_instance_file_name): ditto.
12129 (Fcolorize_image_instance): ditto.
12130 (image_instance_layout): add offsets to be set.
12131 (update_image_instance): new function. update an image instance
12132 from its changed instantiator.
12133 (inherit_normalize): add dest_mask.
12134 (xbm_normalize): ditto.
12135 (xface_normalize): ditto.
12136 (xpm_normalize): ditto.
12137 (text_update): set_property -> update.
12138 (image_instantiate): use the glyph identity as a hash key, not the
12140 (glyph_width): use new image_instance_layout signature.
12141 (glyph_ascent): ditto.
12142 (glyph_descent): ditto.
12143 (glyph_height): ditto.
12144 (glyph_query_geometry): ressurrect.
12145 (glyph_layout): ditto.
12146 (redisplay_subwindow): update -> redisplay.
12147 (syms_of_glyphs): add Fset_instantiator_property.
12148 (image_instantiator_format_create): set_property -> update.
12151 (autodetect_normalize): add dest_maks to signature.
12152 (x_redisplay_subwindow): update -> redisplay.
12153 (x_redisplay_widget): ditto.
12154 (x_button_redisplay): ditto.
12155 (x_progress_gauge_redisplay): ditto.
12156 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12158 (console_type_create_glyphs_x): update -> redisplay.
12159 (image_instantiator_format_create_glyphs_x): ditto.
12162 (check_valid_instantiator): disallow glyphs in the instantiator,
12163 they must now be vectors.
12164 (check_valid_instantiator_list): ditto.
12165 (glyph_instantiator_to_glyph): use internal symbol rather than
12167 (widget_update): renamed from widget_set_property. Call cascaded
12169 (redisplay_widget): renamed from update_widget.
12170 (widget_layout): image_instance_layout now takes position as well
12172 (widget_normalize): ditto.
12173 (widget_instantiate): ditto.
12174 (tab_control_query_geometry) ditto.:
12175 (tab_control_update): renamed from tab_control_set_property.
12176 (progress_gauge_update): set_property -> update.
12177 (layout_normalize): rewrite so that child instantiators are
12179 (layout_update): new function. Create glyphs from the normalized
12180 children and cope with any other layout keywords. We do not
12181 instantiate children here that will be take care of by
12182 redisplay_output_layout.
12183 (layout_instantiate): call layout_update and not much else.
12184 (layout_post_instantiate): not sure whether this is needed
12186 (layout_query_geometry): query glyph geometry rather than
12187 image_instance geometry.
12188 (layout_layout): set offsets from pass in parameters. Use glyph
12189 geometry and layout functions rather than image instance ones.
12190 (native_layout_layout): ditto.
12191 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12192 (image_instantiator_widget): set_property -> update.
12193 (image_instantiator_buttons): ditto.
12194 (image_instantiator_progress_guage): ditto.
12195 (image_instantiator_tab_control): ditto.
12196 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12197 (image_instantiator_layout): add update method.
12199 * glyphs-msw.c (bmp_normalize):
12200 (mswindows_resource_normalize): add dest_mask so that it can be
12201 proprogated by layout_normalize.
12202 (begin_defer_window_pos): make optional because it may not be the
12203 right thing to do and it introduces differences with X.
12204 (mswindows_unmap_subwindow): ditto.
12205 (mswindows_map_subwindow): ditto.
12206 (mswindows_redisplay_subwindow): renamed from
12207 mswindows_update_subwindow.
12208 (mswindows_redisplay_widget): ditto.
12209 (mswindows_button_redisplay): renamed from
12210 mswindows_button_update. Update is now what the instantiation
12211 function does for a changed instantiator.
12212 (mswindows_progress_gauge_instantiate): set the progress value
12213 here if appropriate.
12214 (mswindows_tab_control_redisplay): cope with re-ordering of the
12215 members of the tab widget by simply selecting the new top
12216 widget. This makes things appear ok if you click on a tab.
12217 (mswindows_combo_box_instantiate): image_instance_layout now takes
12218 position as well as size.
12219 (mswindows_progress_gauge_redisplay): renamed from
12220 mswindows_progress_gauge_update.
12221 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12222 (image_instantiator_format_create_glyphs_mswindows): ditto.
12224 * glyphs-eimage.c (jpeg_normalize):
12227 (tiff_normalize): add dest_mask so that it can be proprogated by
12231 (print_hash_table):
12232 (hash_table_weakness_validate):
12233 (decode_hash_table_weakness):
12234 (Fhash_table_weakness):
12235 (Fhash_table_type):
12236 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12238 * console.h (struct console_methods): move update_* to
12241 2000-07-20 Ben Wing <ben@xemacs.org>
12243 * *.[ch] (XSETOBJ): remove unused middle argument.
12244 lisp-disunion.h: correct wrap_object() to one argument.
12246 2000-07-15 Ben Wing <ben@xemacs.org>
12249 * s/cygwin32.h (CYGWIN_CONV_PATH):
12250 Add missing logb prototype for v1.1.
12251 Use post-b20 names and alias to pre-b20 names when pre-b20.
12253 * s/windowsnt.h: [5].
12255 2000-07-15 Ben Wing <ben@xemacs.org>
12257 * Makefile.in.in (x_objs):
12258 * Makefile.in.in (sheap_objs):
12259 * Makefile.in.in (objs):
12260 added win32.o, cosmetic cleanups.
12262 * alloc.c (Fmake_byte_code):
12263 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12264 etc. macros which declare their own args now.
12266 * alloc.c (syms_of_alloc):
12267 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12270 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12272 * buffer.c (Fget_file_buffer):
12273 Fixed GCPRO problem.
12275 * buffer.c (get_truename_buffer):
12276 Fixed comment about GC checking.
12278 * buffer.c (syms_of_buffer):
12279 Undeclared those dedicated frame funs.
12283 Define convenience macros for internal/external conversions.
12284 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12285 and Qenvironment_variable_encoding for cleaner code.
12288 Remove dedicated-frame; in lisp.
12290 * bytecode.c (funcall_compiled_function):
12293 * bytecode.c (syms_of_bytecode):
12297 * console-msw.c (mswindows_show_console): Rewrote.
12299 * console-msw.c (Fmswindows_debugging_output): New.
12300 Sends to OutputDebugString (special MSWin debugger interface).
12302 * console-msw.c (Fmswindows_message_box):
12303 Fixed stupid bugs so it works when called from kill-emacs.
12305 * console-msw.c (syms_of_console_mswindows):
12306 Declare Fmswindows_debugging_output.
12309 New MSWin prototypes.
12311 * console-msw.h (struct mswindows_frame):
12312 New entry last-click-mods for improved button-modifier support.
12314 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12315 New struct entry `popup' with corresponding accessor.
12318 * console-x.c (split_up_display_spec):
12319 * console-x.c (get_display_arg_connection):
12320 * console-x.c (x_semi_canonicalize_console_connection):
12321 * console-x.c (x_canonicalize_device_connection):
12322 [[[6]]]: Change char to more specific type.
12323 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12325 * console-x.c (x_semi_canonicalize_console_connection):
12326 * console-x.c (x_canonicalize_device_connection):
12327 [[[9]]]: Fix up error signalling to use new structured error system.
12330 [[[4]]]: Define codesys aliases:
12331 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12332 Qx_color_name_encoding, Qx_display_name_encoding.
12334 * console.h (struct console_methods):
12335 New method make_dialog_box_internal supersedes older
12336 popup_dialog_box method.
12339 Define many new errors, part of new structured errors.
12341 * data.c (init_errors_once_early):
12342 * data.c (syms_of_data):
12345 * device-msw.c (mswindows_init_device):
12346 [[[5]]]: Cleanup to support NT 3.51.
12348 * device-msw.c (decode_devmode): Cleanup.
12350 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12351 * device-msw.c (mswindows_handle_print_dialog_box):
12352 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12353 * device-msw.c (syms_of_device_mswindows):
12354 Delete the dialog box primitives recently introduced by Kirill and
12355 instead interface to general dialog box interface.
12358 * device-x.c (compute_x_app_name):
12359 * device-x.c (x_init_device):
12360 * device-x.c (Fx_valid_keysym_name_p):
12361 * device-x.c (Fx_set_font_path):
12365 * device.h (wrap_device): New.
12366 First of its kind; meant to replace XSETDEVICE.
12368 * dialog-msw.c: Many file-dialog symbols.
12370 * dialog-msw.c (mswindows_register_popup_frame): New.
12371 * dialog-msw.c (mswindows_is_dialog_msg): New.
12372 For supporting kbd traversal in dialog boxes.
12374 * dialog-msw.c (dialog_proc):
12375 Support hitting ESC in dialogs.
12377 * dialog-msw.c (struct):
12378 Common dialog box errors.
12380 * dialog-msw.c (handle_file_dialog_box): New.
12381 Add file dialog code.
12383 * dialog-msw.c (handle_question_dialog_box):
12384 Redo existing code to support new question dialog syntax.
12386 * dialog-msw.c (console_type_create_dialog_mswindows):
12387 We support new dialog console method.
12389 * dialog-msw.c (syms_of_dialog_mswindows):
12390 * dialog-msw.c (vars_of_dialog_mswindows):
12391 New file dialog symbols, vars.
12394 * dialog-x.c (maybe_run_dbox_text_callback):
12395 * dialog-x.c (dbox_descriptor_to_widget_value):
12396 * dialog-x.c (x_make_dialog_box_internal):
12397 * dialog-x.c (console_type_create_dialog_x):
12398 Mule-ize entire file.
12399 Redo to support question dialog syntax.
12403 * dialog.c (Fmake_dialog_box_internal):
12404 * dialog.c (syms_of_dialog):
12405 Kill old popup-dialog-box, replace with new primitive.
12406 Just call device method or signal error.
12408 * eldap.c (Fldap_open):
12409 * eldap.c (Fldap_search_basic):
12410 * eldap.c (Fldap_add):
12411 * eldap.c (Fldap_modify):
12416 * emacs.c (make_arg_list_1):
12417 * emacs.c (make_arg_list):
12418 Mule-ize call to dll_init().
12422 * emacs.c (make_argc_argv):
12423 * emacs.c (free_argc_argv):
12424 * emacs.c (init_cmdargs):
12425 * emacs.c (main_1):
12426 * emacs.c (Fkill_emacs):
12427 * emacs.c (Fdump_emacs):
12428 Update comments about what can be used in syms_* etc.
12429 Call init_win32() when necessary.
12430 Fix up MS Win dialog box in kill-buffer to actually work right.
12441 * eval.c (condition_case_3):
12443 * eval.c (function_argcount):
12444 * eval.c (funcall_lambda):
12447 * eval.c (type_error): New.
12448 * eval.c (maybe_type_error): New.
12449 * eval.c (continuable_type_error): New.
12450 * eval.c (maybe_continuable_type_error): New.
12451 * eval.c (type_error_with_frob): New.
12452 * eval.c (maybe_type_error_with_frob): New.
12453 * eval.c (continuable_type_error_with_frob): New.
12454 * eval.c (maybe_continuable_type_error_with_frob): New.
12455 New functions for use with structured errors.
12458 * event-Xt.c (x_event_to_emacs_event):
12459 Buttons are now modifiers too.
12461 * event-Xt.c (emacs_Xt_current_event_timestamp):
12462 Implement new event method.
12463 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12466 * event-msw.c (ntpipe_shove_writer): [5].
12467 * event-msw.c (mswindows_enqueue_mouse_button_event):
12468 * event-msw.c (mswindows_drain_windows_queue):
12469 * event-msw.c (mswindows_wnd_proc): [7].
12470 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12471 * event-msw.c (mswindows_modifier_state):
12472 Throughout: support new button modifiers.
12474 * event-msw.c (emacs_mswindows_current_event_timestamp):
12475 Implement new event method.
12476 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12479 * event-stream.c (event_stream_current_event_timestamp): New.
12480 * event-stream.c (maybe_kbd_translate): New functionality.
12481 * event-stream.c (vars_of_event_stream):
12482 Document new kbd-translate-table functionality.
12484 * event-stream.c (Fcurrent_event_timestamp): New.
12485 New primitive for use in fabricated events.
12486 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12488 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12491 * events.c (Fmake_event):
12492 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12496 * events.c (format_event_object): fix gcc warnings.
12498 * events.c (Fevent_timestamp): Document new primitives.
12500 * events.c (TIMESTAMP_HALFSPACE): New.
12502 * events.c (Fevent_timestamp_lessp): New. New primitive for
12503 comparing timestamps correctly (half-space algorithm).
12505 * events.c (Fevent_modifier_bits): Doc fix.
12507 * events.c (Fevent_modifiers): Major doc addition.
12508 * events.c (event_x_y_pixel_internal): Typo fix.
12509 * events.c (syms_of_events): Declare new primitives.
12512 Update long comment for button modifiers, timestamps.
12514 * events.h (struct event_stream):
12515 New current_event_timestamp method.
12518 * extents.c (extent_in_region_p):
12519 * extents.c (decode_extent):
12520 * extents.c (Fset_extent_parent):
12521 * extents.c (decode_map_extents_flags):
12525 * extents.c (struct extent_at_arg):
12526 * extents.c (decode_extent_at_flag):
12527 * extents.c (extent_at_mapper):
12528 * extents.c (extent_at_bytind):
12529 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12530 * extents.c (Fextents_at): New primitive. [9].
12531 * extents.c (symbol_to_glyph_layout): [9].
12532 Support new primitive `extents-at'.
12535 * extents.c (get_text_property_bytind):
12536 extent_at_bytind has another arg.
12539 * extents.c (syms_of_extents): New primitive.
12541 * file-coding.c (Fmake_coding_system): [1].
12542 * file-coding.c (subsidiary_coding_system): fix gcc warning
12543 * file-coding.c (syms_of_file_coding): [2].
12545 * fileio.c (Fexpand_file_name):
12546 * fileio.c (Fsysnetunam):
12547 * fileio.c (Ffile_exists_p):
12548 * fileio.c (Ffile_executable_p):
12549 * fileio.c (Fverify_visited_file_modtime):
12552 * fileio.c (syms_of_fileio): [2].
12554 * filelock.c (lock_file_1):
12555 * filelock.c (current_lock_owner):
12556 * filelock.c (lock_if_free):
12557 * filelock.c (lock_file):
12558 * filelock.c (unlock_file):
12561 * fns.c (concat): Fix gcc warning.
12564 * fns.c (Fold_member):
12566 * fns.c (Fold_memq):
12567 * fns.c (memq_no_quit):
12569 * fns.c (Fold_assoc):
12571 * fns.c (Fold_assq):
12572 * fns.c (assq_no_quit):
12574 * fns.c (Fold_rassoc):
12576 * fns.c (Fold_rassq):
12577 * fns.c (rassq_no_quit):
12579 * fns.c (Fold_delete):
12581 * fns.c (Fold_delq):
12582 * fns.c (delq_no_quit):
12583 * fns.c (Fremassoc):
12584 * fns.c (Fremassq):
12585 * fns.c (remassq_no_quit):
12586 * fns.c (Fremrassoc):
12587 * fns.c (Fremrassq):
12588 * fns.c (remrassq_no_quit):
12589 * fns.c (Freverse):
12593 * frame-msw.c (mswindows_init_frame_1):
12594 * frame-msw.c (mswindows_delete_frame):
12595 Register popups with dialog code so keyboard traversing works.
12597 * frame-tty.c (tty_raise_frame_no_select): [1].
12600 * frame-x.c (x_set_frame_text_value):
12601 * frame-x.c (x_set_frame_properties):
12602 * frame-x.c (x_create_widgets):
12606 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12608 * frame.h (wrap_frame): New.
12609 Macro like wrap_device.
12612 * general.c (SYMBOL):
12613 * general.c (syms_of_general):
12614 Major reorg. This is now just a wrapper and symbols themselves
12615 are listed in general-slots.h.
12617 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12618 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12620 * glyphs-msw.c (mswindows_native_layout_instantiate):
12621 Add DS_CONTROL so keyboard traversal will work.
12624 * glyphs-widget.c (syms_of_glyphs_widget):
12625 Move some symbols to general-slots.h.
12628 * glyphs-x.c (xbm_instantiate_1):
12629 * glyphs-x.c (x_xbm_instantiate):
12630 * glyphs-x.c (x_xface_instantiate):
12631 * glyphs-x.c (autodetect_instantiate):
12632 * glyphs-x.c (cursor_font_instantiate):
12633 * glyphs-x.c (x_update_widget):
12634 * glyphs-x.c (x_widget_instantiate):
12635 * glyphs.c (bitmap_to_lisp_data):
12636 * glyphs.c (pixmap_to_lisp_data):
12639 * glyphs.c (syms_of_glyphs):
12643 * gui-x.c (print_widget_value):
12644 * gui-x.c (menu_separator_style_and_to_external):
12645 * gui-x.c (add_accel_and_to_external):
12646 * gui-x.c (button_item_to_widget_value):
12647 * gui-x.c (gui_items_to_widget_values_1):
12648 * gui-x.c (gui_items_to_widget_values):
12649 * gui-x.c (syms_of_gui_x):
12650 * gui-x.c (vars_of_gui_x):
12651 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12655 Muleize, prototype changes matching gui-x.c.
12658 * gui.c (separator_string_p):
12659 * gui.c (gui_item_add_keyval_pair):
12660 * gui.c (make_gui_item_from_keywords_internal):
12661 * gui.c (signal_too_long_error):
12662 * gui.c (parse_gui_item_tree_item):
12663 * gui.c (syms_of_gui):
12664 * gui.c (vars_of_gui):
12666 menu-no-selection-hook moved here (used by MSWin).
12667 Move some symbols to general-slots.h.
12671 * insdel.c (get_buffer_pos_char):
12672 * insdel.c (get_buffer_range_char):
12675 * keymap.c (keymap_lookup_directly):
12676 * keymap.c (keymap_store):
12677 * keymap.c (ensure_meta_prefix_char_keymapp):
12678 * keymap.c (describe_map):
12680 Support new button modifiers.
12682 * lisp-disunion.h (wrap_object):
12683 * lisp-disunion.h (XSETOBJ):
12684 Rename make_obj to wrap_object.
12687 * lisp-union.h (make_int):
12688 * lisp-union.h (make_char):
12689 Support wrap_object.
12692 * lisp.h (LIST_LOOP):
12693 * lisp.h (EXTERNAL_LIST_LOOP):
12694 * lisp.h (LIST_LOOP_2):
12695 * lisp.h (EXTERNAL_LIST_LOOP_1):
12696 * lisp.h (EXTERNAL_LIST_LOOP_2):
12697 * lisp.h (EXTERNAL_LIST_LOOP_3):
12698 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12699 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12700 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12701 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12702 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12703 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12704 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12705 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12706 * lisp.h (struct Lisp_Symbol):
12707 * lisp.h (maybe_continuable_error_with_frob):
12708 Fix up section comments.
12709 Add new types for char to indicate usage.
12710 Delete symbols auto-generated from general-slots.h.
12711 Add prototypes for structured error functions.
12712 Add long comments describing looping macros and change interface
12713 so that lvalues are automatically declared.
12714 Add NO_DECLARE macro in case callers want to declare lvalues
12717 * lread.c (read_syntax_error):
12718 * lread.c (continuable_read_syntax_error):
12719 * lread.c (read_structure):
12720 * lread.c (sequence_reader):
12721 * lread.c (read_list_conser):
12722 * lread.c (read_compiled_function):
12723 Rename syntax_error and continuable_syntax_error to avoid clash
12724 with same-named structured error functions.
12726 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12727 * menubar-msw.c (populate_menu_add_item):
12728 * menubar-msw.c (populate_or_checksum_helper):
12733 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12734 Mule-ize whole file.
12736 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12738 * mule-charset.c (Fmake_charset):
12739 * mule-wnnfns.c (Fwnn_set_param):
12742 * ntproc.c (create_child):
12743 * ntproc.c (Fwin32_set_current_locale):
12744 Add comments portending doom.
12747 * objects-msw.c (old_font_enum_callback_2):
12748 * objects-msw.c (font_enum_callback_1):
12749 * objects-msw.c (mswindows_enumerate_fonts):
12753 * objects-x.c (allocate_nearest_color):
12754 * objects-x.c (x_parse_nearest_color):
12755 * objects-x.c (x_initialize_color_instance):
12756 * objects-x.c (x_print_color_instance):
12757 * objects-x.c (x_finalize_color_instance):
12758 * objects-x.c (x_valid_color_name_p):
12759 * objects-x.c (x_initialize_font_instance):
12760 * objects-x.c (x_print_font_instance):
12761 * objects-x.c (valid_x_font_name_p):
12762 * objects-x.c (truename_via_FONT_prop):
12763 * objects-x.c (truename_via_random_props):
12764 * objects-x.c (truename_via_XListFonts):
12765 * objects-x.c (x_font_truename):
12766 * objects-x.c (x_font_instance_truename):
12767 * objects-x.c (x_font_instance_properties):
12768 * objects-x.c (x_list_fonts):
12769 * objects-x.c (x_find_charset_font):
12770 Mule-ize entire file.
12777 * print.c (std_handle_out_external):
12778 * print.c (debug_print_no_newline):
12779 * print.c (syms_of_print):
12780 Output to all debugger kinds in debug-print.
12781 Fix console-output code under MSWin to actually work.
12783 * process-nt.c (send_signal):
12784 * process-nt.c (nt_create_process):
12785 Use newer Unicode macros.
12787 * process-unix.c (unix_create_process):
12788 * process-unix.c (unix_canonicalize_host_name):
12789 * process-unix.c (unix_open_network_stream):
12795 * search.c (syms_of_search):
12798 * select-msw.c (mswindows_destroy_selection):
12801 * select-x.c (symbol_to_x_atom):
12804 * select.c (syms_of_select):
12807 * sound.c (Fplay_sound_file):
12811 * specifier.c (decode_specifier_type):
12812 * specifier.c (Fvalid_specifier_locale_type_p):
12813 * specifier.c (check_valid_locale_or_locale_type):
12814 * specifier.c (decode_locale):
12815 * specifier.c (decode_locale_type):
12816 * specifier.c (decode_locale_list):
12817 * specifier.c (check_valid_domain):
12818 * specifier.c (decode_specifier_tag_set):
12819 * specifier.c (Fcanonicalize_tag_set):
12820 * specifier.c (Fdefine_specifier_tag):
12821 * specifier.c (Fspecifier_tag_predicate):
12822 * specifier.c (check_valid_inst_list):
12823 * specifier.c (check_valid_spec_list):
12824 * specifier.c (decode_how_to_add_specification):
12825 * specifier.c (check_modifiable_specifier):
12826 * specifier.c (specifier_add_spec):
12827 * specifier.c (boolean_validate):
12828 * specifier.c (display_table_validate):
12831 * specifier.c (syms_of_specifier):
12832 Move some symbols to general-slots.h.
12836 * symbols.c (Fmapatoms):
12837 * symbols.c (Fapropos_internal):
12840 * symbols.c (set_default_buffer_slot_variable):
12841 * symbols.c (set_default_console_slot_variable):
12844 * symbols.c (defsymbol_massage_name_1):
12845 * symbols.c (defkeyword_massage_name):
12846 * symbols.c (deferror_1):
12847 * symbols.c (deferror):
12848 * symbols.c (deferror_massage_name_and_message):
12850 * symeval.h (DEFSYMBOL):
12851 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12853 * symbols.c (syms_of_symbols):
12857 * symsinit.h (init_win32): New.
12858 Also new is syms_of_dialog_mswindows.
12861 Add new Unicode macros, missing Cygwin wide-char functions,
12862 convenience conversion macros for Qmswindows_tstr, macros for
12863 encapsulating required MSWin <-> Cygwin filename conversions,
12864 prototype for dynamically-extracted (not in NT 3.51) functions.
12869 * tooltalk.c (Fadd_tooltalk_message_arg):
12870 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12871 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12874 * tooltalk.c (syms_of_tooltalk):
12878 * unexnt.c (unexec):
12879 Fix up headers, declaration of unexec() to be more standard.
12881 2000-07-20 Martin Buchholz <martin@xemacs.org>
12883 * offix.h: Revert change to guard macros - they're used in offix.c!
12885 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12887 * lisp.h: Defsubred Fdelete.
12889 * console-msw.h: (msprinter_default_printer): Added.
12891 * console-msw.c (msprinter_canonicalize_console_connection):
12892 (msprinter_canonicalize_device_connection): Added.
12894 * device-msw.c (msprinter_default_printer):
12895 (Fmswingows_get_default_printer):
12896 (signal_enum_priner_error):
12897 (Fmswingows_printer_list): Added.
12899 2000-07-19 Martin Buchholz <martin@xemacs.org>
12901 * XEmacs 21.2.35 is released.
12903 2000-07-19 Martin Buchholz <martin@xemacs.org>
12905 * select-x.c (x_handle_selection_request):
12906 Text selected in xemacs and pasted into xterm failed to appear.
12907 Spelling fixes and cosmetic changes.
12909 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12911 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12912 XEmacs frame (fix for doubling chars in dialog boxes).
12914 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12916 * select.c (select_convert_in, select_convert_out):
12917 Don't call intern() every time.
12919 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12920 * select.c (vars_of_select): Initialise them.
12922 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12924 * select.c (selection-coercible-types): New.
12926 * select.c (own-selection-internal):
12927 * select.c (get-selection-internal):
12928 MULE bug fix - these should default to COMPOUND_TEXT and not
12929 STRING for MULE. I think.
12931 * select.c (select_convert_out): Use selection-coercible-types
12932 to find types that we can attempt to perform coercions on.
12934 2000-07-18 Martin Buchholz <martin@xemacs.org>
12938 Add coding: cookie to identify encoding.
12940 * mule-canna.c (CANNA_mode_keys): make static.
12941 Use proper prototypes, even for functions of no arguments.
12942 Remove external prototype for Fding().
12944 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12946 * select.c (syms_of_select): Add missing DEFSUBR.
12948 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12950 * select.c (get_selection_internal, own_selection_internal):
12951 Make the type default to STRING, rather than placing a nil type
12952 into Vselection_alist.
12954 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12956 * gpmevent.c (tty_selection_exists_p):
12957 * gpmevent.c (tty_own_selection):
12958 Updated parameter lists.
12960 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12962 * select.h (selection-alist): Removed declaration.
12964 * select.h (get_local_selection):
12965 * select.c (get_local_selection):
12968 * select.h (convert_selection): Removed declaration.
12969 * select.c (convert_selection): Removed.
12970 This function belongs in Lisp.
12972 * select.h (select_convert_in): Declare.
12973 * select.h (select_convert_out): Declare.
12974 * select.c (select_convert_in): New.
12975 * select.c (select_convert_out): New.
12976 New conversion functions for other files to call.
12978 * select.h (select_notify_buffer_kill): Declare.
12979 * select.c (select_notify_buffer_kill): New.
12980 New functions that get called from kill-buffer.
12982 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12983 X-specific lisp code.
12985 * select.h: Declare some of the lisp-visible functions for
12988 * select.c (clean_local_selection_data): Removed. This was
12989 a disgusting function, and previously should have been in
12990 select-x.c in any case. The functionality is now provided
12991 in select-convert-from-integer (select.el).
12993 * select.c (available-selection-types): Fixed stupidity where
12994 INTEGER and ATOM got added twice. Also add STRING when we see an
12997 * select.c (get-selection-internal): Removed symbol stripping. No
12998 longer causes conversion when data comes from the internal cache.
13000 * select.c (syms_of_select): Added new functions.
13002 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13003 error checking - previously this called abort!
13005 * select-x.c (x_own_selection): Changed comment.
13007 * select-x.c (x_handle_selection_request): Use select_convert_out.
13008 Don't mess with selection-alist; it's an internal variable of select.c.
13010 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13012 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13013 rather than messing with selection-alist.
13015 * select-msw.c (mswindows_get_foreign_selection):
13016 Use TO_INTERNAL_FORMAT rather than hacking.
13018 2000-07-14 Martin Buchholz <martin@xemacs.org>
13020 * process-unix.c (unix_open_multicast_group):
13021 (unix_open_multicast_group): Remove useless casts.
13023 2000-07-13 Martin Buchholz <martin@xemacs.org>
13025 * sound.c (Fplay_sound): Fix `unused variable' warning.
13027 * emacs.c (main): Use correct type for _environ on SCO5.
13029 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13031 * console.h (own_selection_method):
13032 * console.h (selection_exists_p_method):
13033 * console.h (available_selection_types_method): New.
13034 * console.h (register_selection_data_type_method): New.
13035 * console.h (selection_data_type_name): New.
13037 * console-msw.h (mswindows_destroy_selection): Declare it. New
13038 function & alist to track GlobalAlloc()'d handles that need
13039 releasing when the clipboard data gets replaced or emptied.
13041 * event-msw.c (mswindows_wnd_proc): Call it.
13043 * lisp.h, general.c (Qappend): New symbol representing a
13046 * select.c (own-selection-internal):
13047 * select.c (selection-exists-p):
13048 * select.c (available-selection-types): New.
13049 * select.c (register-selection-data-type): New.
13050 * select.c (selection-data-type-name): New. New functions to deal
13051 with device-specific selection data formats.
13052 * select.c (selection-converter-out-alist): Renamed.
13053 * select.c (selection-converter-in-alist): New.
13054 * select.c (selection-appender-alist): New. Added new alists.
13055 * select.c (syms_of_select, vars_of_select): Added new symbols &
13057 * select.c (get_local_selection): Split.
13058 * select.c: Removed spurious type checking - selections may now be
13059 of any type, not just strings.
13060 * select.c (own-selection-internal):
13062 * select.h, select.c (convert_selection): New. Created
13063 convert_selection() function based on get_local_selection().
13064 * select.h, select.c (QCF_*): New symbols representing mswindows
13066 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13067 symbols representing `how-to-add' modes.
13069 * select-msw.c (x_sym_p): New.
13070 * select-msw.c (symbol_to_ms_cf): New.
13071 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13072 symbols & clipboard formats. Can also handle string names.
13073 * select-msw.c (mswindows_own_selection):
13074 * select-msw.c (mswindows_selection_exists_p):
13075 Added `data-type' parameter. Use it.
13076 * select-msw.c (mswindows_available_selection_types): New.
13077 * select-msw.c (mswindows_register_selection_data_type): New.
13078 * select-msw.c (mswindows_selection_data_type_name): New.
13079 * select-msw.c (mswindows_own_selection):
13080 * select-msw.c (mswindows_get_foreign_selection):
13081 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13082 * select-msw.c (console_create_select_mswindows): Added new methods.
13083 * select-msw.c (mswindows_destroy_selection): New.
13084 * select-msw.c (Vhandle_alist): New list.
13085 * select-msw.c (mswindows_own_selection):
13087 * select-x.c (x_own_selection):
13088 * select-x.c (x_selection_exists_p):
13089 * select-x.c: Added some comments about maybe using new
13091 * select-x.c (x_own_selection):
13093 * specifier.c: Remove definition of Qappend (now in general.c)
13094 * specifier.c (syms_of_specifier): Remove Qappend.
13096 2000-07-12 Martin Buchholz <martin@xemacs.org>
13098 * config.h.in: Add socklen_t.
13100 * s/decosf4-0.h: No special compiler flags needed or desired.
13101 In particular, undefine _BSD for DEC OSF 4.0.
13103 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13105 * redisplay-msw.c (msprinter_frame_output_end): Added.
13106 (console_type_create_redisplay_mswindows): Referred the above.
13108 * frame.c (setup_frame_without_minibuffer): Do not create a
13109 default minibuffer frame on a printer device.
13111 * frame-msw.c (apply_dc_geometry): Added.
13112 (msprinter_start_page):
13113 (msprinter_init_frame_3):
13114 (msprinter_eject_page): Use it.
13116 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13117 and removed residual duplex and orientation properties.
13119 2000-07-11 Martin Buchholz <martin@xemacs.org>
13121 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13123 * unexalpha.c: Remove system prototypes from C sources!
13125 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13127 * eval.c: Remove references to M-x edit-options in DEFUNs for
13128 `defvar' and `defconst'.
13130 2000-07-09 Martin Buchholz <martin@xemacs.org>
13132 * config.h.in: Remove SMART_INCLUDE hackery.
13134 PostgreSQL hacking:
13135 * config.h.in: Don't use SMART_INCLUDE.
13137 * postgresql.h: Include libpq-fe.h here. Fix typo.
13138 * inline.c: Simply #include "postgresql.h"
13140 - Don't use SMART_INCLUDE
13141 - Use simply "const".
13142 - Use standard doc string conventions.
13143 - Use correct type for result of PQstatus.
13145 2000-07-09 Martin Buchholz <martin@xemacs.org>
13147 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13149 C++ compilation changes.
13150 * config.h.in (EXTERN_C): Define.
13151 * config.h.in (not): This is also a C++ keyword.
13152 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13153 * cm.c: Use EXTERN_C.
13154 * redisplay-tty.c: Use EXTERN_C.
13155 * sysdep.c: Use EXTERN_C. Remove Gould support.
13157 2000-07-09 Martin Buchholz <martin@xemacs.org>
13159 * general.c: Remove duplicate definition for Qfunction.
13161 2000-07-08 Ben Wing <ben@xemacs.org>
13163 * device-msw.c (msprinter_init_device):
13164 * device-msw.c (sync_printer_with_devmode):
13165 * device-msw.c (handle_devmode_changes):
13166 * device-msw.c (print_dialog_worker):
13167 * device-msw.c (Fmsprinter_apply_settings):
13168 * device-msw.c (hash_devmode):
13169 * device-msw.c (Fmsprinter_settings_despecialize):
13170 use Qmswindows_tstr, not Qctext.
13172 * vm-limit.c (check_memory_limits):
13173 avoid infinite loop printing warning messages.
13175 2000-07-05 Craig Lanning <lanning@scra.org>
13177 * Makefile.in.in: Add support for including the Windows resources
13178 when building with the cygwin and mingw targets.
13180 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13181 not set or not correct.
13182 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13183 (init_initial_directory): Don't try to use $PWD on the
13184 WIN32_NATIVE target.
13187 [[Add -mwindows to eliminate console window.]] not required --ben
13188 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13189 (MAIL_USE_POP): removed; now handled by configure.
13191 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13192 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13193 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13194 (MAIL_USE_POP): removed; now handled by configure.
13195 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13196 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13197 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13199 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13200 up from <winsock.h> via systime.h.
13201 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13202 (getpagesize): from Dan Holmsand, added.
13203 Added #endif which was left dangling by Ben's mega patch; added
13204 comment to help prevent this in the future.
13206 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13208 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13210 * console-msw.h (struct mswindows_device): Removed unnecessary
13211 cached device geometry values.
13212 Added update_tick and an accessor macro.
13213 (Lisp_Devmode): Added lrecord declaration.
13214 (struct msprinter_device): Contain devmode as a Lisp object.
13215 Added mswindows_get_selected_frame_hwnd();
13217 * console.h (struct console_methods): Indentation nitpicking.
13219 * device-msw.c (mswindows_init_device): Do not initialize geometry
13220 cache. Initialize update tick.
13221 (mswindows_device_system_metrics): Ask the device for its geometry.
13222 (global_free_2_maybe):
13223 (devmode_to_hglobal):
13224 (handle_printer_changes):
13225 (ensure_not_printing):
13226 (print_dialog_worker):
13227 (Fmsprinter_print_setup_dialog):
13228 (Fmsprinter_print_dialog):
13229 (plist_get_margin):
13230 (plist_set_margin):
13231 (Fmsprinter_page_setup_dialog): Added functions.
13232 (sync_printer_with_devmode):
13233 (handle_devmode_changes):
13234 (Fmsprinter_get_settings):
13235 (Fmsprinter_select_settings):
13236 (Fmsprinter_apply_settings):
13237 (allocate_devmode):
13238 (Fmsprinter_settings_copy):
13239 (Fmsprinter_settings_despecialize):
13241 (finalize_devmode):
13243 (hash_devmode): Added functions
13244 (syms_of_device_mswindows): Init devmode lrecord class.
13246 * device.h: Added an exfun for find-device.
13248 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13249 geometry; although, recreate the device compatible DC.
13251 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13252 (msprinter_init_frame_3):
13253 (msprinter_frame_property):
13254 (msprinter_internal_frame_property_p):
13255 (msprinter_frame_properties):
13256 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13257 print job properties (will move to device settings).
13259 * lisp.h: Added symbols.
13261 * general.c (syms_of_general): Declared them.
13263 * hash.c (string_hash): Added.
13265 * lrecord.h (lrecord_type): Added devmode lrecord type.
13267 2000-07-02 Mike Sperber <mike@xemacs.org>
13269 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13272 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13274 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13277 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13279 * data.c (Fstring_to_number): Don't recognize floating point if
13282 2000-06-22 Martin Buchholz <martin@xemacs.org>
13284 * glyphs-widget.c (tab_control_query_geometry):
13285 (widget_query_geometry):
13286 (button_query_geometry):
13287 * glyphs.c (text_query_geometry):
13288 Enforce type correctness.
13290 2000-06-18 Martin Buchholz <martin@xemacs.org>
13292 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13293 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13295 2000-06-17 Martin Buchholz <martin@xemacs.org>
13297 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13298 conflicts with gcc's fixincluded version of FOO.h.
13300 * glyphs.h (image_instance_geometry): Remove trailing `,'
13302 2000-06-08 Mike Alexander <mta@arbortext.com>
13304 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13305 (shove_thread): Don't write the same output twice
13306 (make_ntpipe_output_stream): Increase priority of shove thread
13307 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13309 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13312 2000-06-12 Ben Wing <ben@xemacs.org>
13314 * s\mingw32.h (sigset):
13315 * s\windowsnt.h (sigset):
13316 rename msw_ to mswindows_ for consistency with general convention.
13318 2000-06-12 Ben Wing <ben@xemacs.org>
13321 * console-msw.c (mswindows_get_console_hwnd):
13322 * console-msw.c (mswindows_ensure_console_allocated):
13323 * console-msw.c (mswindows_hide_console):
13324 * console-msw.c (mswindows_show_console):
13325 * console-msw.c (mswindows_ensure_console_buffered):
13326 * console-msw.c (mswindows_output_console_string):
13327 * console-msw.c (mswindows_windows9x_p):
13329 * device-msw.c (mswindows_get_workspace_coords):
13330 * device-msw.c (mswindows_device_system_metrics):
13331 * dialog-msw.c (mswindows_popup_dialog_box):
13332 * event-msw.c (mswindows_wnd_proc):
13333 * frame-msw.c (mswindows_size_frame_internal):
13334 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13335 * menubar-msw.c (displayable_menu_item):
13336 * menubar-msw.c (mswindows_char_is_accelerator):
13338 * nt.c (mswindows_sigset):
13339 * nt.c (mswindows_sigrelse):
13340 * nt.c (mswindows_sigpause):
13341 * nt.c (mswindows_raise):
13342 * nt.c (timer_proc):
13344 * ntproc.c (find_child_console):
13345 * ntproc.c (sys_kill):
13347 * print.c (std_handle_out_external):
13348 * process-nt.c (find_child_console):
13349 * process-nt.c (send_signal_the_95_way):
13350 * process-nt.c (ensure_console_window_exists):
13351 * process-nt.c (nt_create_process):
13353 rename msw_ to mswindows_ for consistency with general convention.
13357 include nt.h, not syswindows.h.
13359 * nt.c (mswindows_fstat):
13360 * nt.c (mswindows_stat):
13361 prefix mswindows_ instead of attempting to directly override the
13362 library functions. fix declarations.
13365 include syswindows.h. move some sysdep.h stuff here.
13368 include syswindows.h, not <windows.h>.
13376 * sysdep.c (sys_fstat):
13377 * sysdep.c (sys_stat):
13378 call mswindows versions when appropriate.
13381 move mswin decls to nt.h.
13384 add long comment describing appropriate use of the various windows
13387 2000-06-11 Ben Wing <ben@xemacs.org>
13389 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13391 2000-06-10 Ben Wing <ben@xemacs.org>
13393 * Makefile.in.in (release):
13394 Correction to make sure xemacs.exe always dumped when correct.
13398 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13400 * buffer.c (set_buffer_internal):
13401 [[[[2]]]]: Remove HAVE_FEP code.
13403 * buffer.c (init_initial_directory):
13407 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13411 * callproc.c (call_process_cleanup):
13412 * callproc.c (Fold_call_process_internal):
13413 * callproc.c (child_setup):
13414 * callproc.c (getenv_internal):
13415 * callproc.c (init_callproc):
13416 * callproc.c (vars_of_callproc):
13417 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13418 __CYGWIN32__ -> CYGWIN.
13419 DOS_NT -> WIN32_NATIVE.
13420 Remove MSDOS support/references, converting to WIN32_NATIVE
13422 __MINGW32__ -> MINGW.
13423 Fix windows.h includes.
13424 Remove bogus HAVE_NTGUI.
13430 mswindows_message_outputted added for use in allowing startup
13431 errors on the console to be seen.
13433 * console-msw.c (msw_ensure_console_allocated):
13434 * console-msw.c (msw_output_console_string):
13435 * console-msw.c (DHEADER):
13436 * console-msw.c (DOPAQUE_DATA):
13437 * console-msw.c (DEVENT):
13438 * console-msw.c (DCONS):
13439 * console-msw.c (DCONSCDR):
13440 * console-msw.c (DSTRING):
13441 * console-msw.c (DVECTOR):
13442 * console-msw.c (DSYMBOL):
13443 * console-msw.c (DSYMNAME):
13446 * console-stream.c (stream_init_console):
13447 Fix text/binary problems.
13450 * device-msw.c (mswindows_finish_init_device):
13451 * device-msw.c (mswindows_delete_device):
13454 * device.c (handle_asynch_device_change):
13458 * dgif_lib.c (DGifOpenFileName):
13459 * dgif_lib.c (DGifOpenFileHandle):
13460 * dgif_lib.c (DGifGetLine):
13461 * dgif_lib.c (DGifGetPixel):
13462 Added config.h/lisp.h, fix up includes.
13469 * dired.c (file_name_completion):
13470 * dired.c (Ffile_attributes):
13471 * dired.c (syms_of_dired):
13475 * dumper.c (pdump_file_unmap):
13476 * dumper.c (pdump_load):
13480 * editfns.c (Ftemp_directory):
13481 * editfns.c (user_login_name):
13482 * editfns.c (Fuser_real_login_name):
13483 * editfns.c (get_home_directory):
13486 * elhash.c (finish_marking_weak_hash_tables):
13487 [[[[5]]]]: Fix GCC warnings.
13490 * emacs.c (mswindows_handle_hardware_exceptions):
13491 * emacs.c (make_arg_list_1):
13492 * emacs.c (main_1):
13493 * emacs.c (Fkill_emacs):
13494 * emacs.c (Fdump_emacs):
13496 Fix problems with nested crashes, add long comment.
13498 * event-Xt.c (init_event_Xt_late):
13502 * event-msw.c (mswindows_dde_callback):
13503 * event-msw.c (mswindows_handle_sticky_modifiers):
13504 * event-msw.c (mswindows_wnd_proc):
13508 * events.c (character_to_event):
13512 * fileio.c (Ffile_name_directory):
13513 * fileio.c (Ffile_name_nondirectory):
13514 * fileio.c (directory_file_name):
13515 * fileio.c (Fexpand_file_name):
13516 * fileio.c (Fsubstitute_in_file_name):
13517 * fileio.c (Ffile_name_absolute_p):
13518 * fileio.c (check_executable):
13519 * fileio.c (Ffile_readable_p):
13520 * fileio.c (Ffile_accessible_directory_p):
13521 * fileio.c (Ffile_modes):
13522 * fileio.c (Funix_sync):
13523 * fileio.c (vars_of_fileio):
13526 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13528 Expand getdefdir defn.
13529 Fix bogus rename() comment.
13531 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13532 to use standard XEmacs include files, e.g. sysfile.h, rather
13533 than system-specific includes.
13539 * frame.c (vars_of_frame):
13543 * getloadavg.c (getloadavg):
13545 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13546 (We don't use it elsewhere in the code; just add a comment.)
13553 * glyphs-msw.c (mswindows_resource_instantiate):
13556 * glyphs-x.c (x_native_layout_instantiate):
13559 * gui-msw.c (Fmswindows_shell_execute):
13568 * lread.c (locate_file_in_directory_mapper):
13575 * mem-limits.h (get_lim_data):
13587 * nt.c (rva_to_section):
13588 * nt.c (mswindows_executable_type):
13590 Fix closedir() defn.
13593 [[[[8]]]]: *_OK defs moved to sysfile.h.
13602 * print.c (std_handle_out_external):
13606 * process-nt.c (nt_create_process):
13608 try to fix process quoting somewhat.
13610 * process-unix.c (unix_create_process):
13614 * process.c (vars_of_process):
13621 * realpath.c (xrealpath):
13624 * redisplay-tty.c (init_tty_for_redisplay):
13634 * sheap.c (more_static_core):
13635 * sheap.c (report_sheap_usage):
13639 * signal.c (alarm_signal):
13646 * strftime.c (zone_name):
13649 * symsinit.h (init_sunpro):
13653 commctrl.h not in Cygwin b20.1.
13656 * sysdep.c (endif):
13657 * sysdep.c (sys_subshell):
13658 * sysdep.c (init_baud_rate):
13659 * sysdep.c (emacs_get_tty):
13660 * sysdep.c (emacs_set_tty):
13661 * sysdep.c (tty_init_sys_modes_on_device):
13662 * sysdep.c (init_system_name):
13663 * sysdep.c (sys_open):
13664 * sysdep.c (interruptible_open):
13665 * sysdep.c (sys_fopen):
13666 * sysdep.c (sys_mkdir):
13667 * sysdep.c (sys_rename):
13668 * sysdep.c (get_process_times_1):
13675 * sysdir.h (DIRENTRY_NONEMPTY):
13678 * sysdll.c (dll_init):
13684 added text/binary defs.
13690 * sysproc.h (EDESTADDRREQ):
13691 * sysproc.h (poll_fds_for_input):
13708 Always define WIN32_LEAN_AND_MEAN.
13710 * unexcw.c (unexec):
13714 * unexec.c (copy_text_and_data):
13715 * unexec.c (adjust_lnnoptrs):
13719 * unexnt.c (_start):
13722 2000-06-07 Ben Wing <ben@xemacs.org>
13724 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13725 was used only as a model. We've long since extracted any useful
13726 logic or code out of this. (I just did an exhaustive search.)
13728 * s\msdos.h: Removed.
13730 * s\windows95.h: Removed.
13732 2000-06-10 Ben Wing <ben@xemacs.org>
13736 Don't use extern with fun defs.
13740 Remove nt\inc include.
13741 Remove getdisk, getdefdir. (The former is unused, the latter
13742 expanded in fileio.h.)
13745 * s\windowsnt.h (WIN32_NATIVE):
13746 * s\windowsnt.h (HAVE_STRCASECMP):
13748 Add long comment about preprocessor changes.
13749 Remove getdisk, getdefdir. (The former is unused, the latter
13750 expanded in fileio.h.)
13752 2000-06-10 Ben Wing <ben@xemacs.org>
13761 Remove bogus/unused NO_SOCK_SIGIO.
13763 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13765 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13768 2000-06-04 Mike Sperber <mike@xemacs.org>
13770 * casetab.c (set_case_table): For `set-standard-case-table',
13771 actually deposit the new case tables where the rest of XEmacs can
13774 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13776 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13778 2000-06-05 Ben Wing <ben@xemacs.org>
13780 * callproc.c (child_setup): Don't do close_load_descs() under
13781 MS Windows. Put in a comment explaining why.
13783 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13785 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13786 Toolkit shell" which breaks `kill-compilation' on Windows NT
13787 native, retaining STDERR handling improvements.
13789 2000-06-01 Andreas Jaeger <aj@suse.de>
13791 * s/s390.h: Support for S390, based on a patch by Martin
13792 Schwidefsky <schwidefsky@de.ibm.com>.
13794 2000-05-30 Andy Piper <andy@xemacs.org>
13796 * window.c (allocate_window):
13797 (make_dummy_parent):
13798 (Fset_window_configuration): use new hashtable type.
13800 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13801 (struct image_instantiator_methods):
13802 (struct Lisp_Image_Instance): make instance geometry signed.
13804 * glyphs.c (instantiate_image_instantiator):
13805 (image_instance_query_geometry):
13806 (image_instance_layout):
13807 (image_instance_layout):
13808 (query_string_geometry):
13809 (text_query_geometry):
13810 (image_instantiate):
13811 (image_instantiate):
13812 (cache_subwindow_instance_in_frame_maybe):
13813 (subwindow_query_geometry): make instance geometry signed.
13815 * glyphs-widget.c (widget_query_geometry):
13817 (button_query_geometry):
13818 (tree_view_query_geometry):
13819 (tab_control_query_geometry):
13820 (layout_query_geometry):
13822 (native_layout_layout): make instance geometry signed.
13824 2000-05-29 Olivier Galibert <galibert@pobox.com>
13826 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13829 * general.c (syms_of_general): Add Qfull_assoc symbol.
13831 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13833 (decode_weak_list_type): Decode full-assoc type.
13834 (encode_weak_list_type): Encode full-assoc type.
13835 (Fmake_weak_list): Update doc string.
13837 2000-05-30 Andy Piper <andy@xemacs.org>
13839 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13841 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13842 (decode_hash_table_weakness): ditto.
13843 (Fhash_table_weakness): ditto.
13844 (Fhash_table_type): ditto.
13845 (finish_marking_weak_hash_tables): ditto.
13846 (hash_table_weakness_validate): ditto.
13847 (syms_of_elhash): ditto.
13849 2000-05-28 Martin Buchholz <martin@xemacs.org>
13851 * XEmacs 21.2.34 is released.
13853 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13855 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13857 (updating_line_start_cache): Gone.
13858 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13859 generic code to force a minimum of 1 line laid out in the
13862 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13864 * glyphs.c (instantiate_image_instantiator): Check for initialized
13865 height & width no longer special cases IMAGE_NOTHING.
13866 (nothing_instantiate): Set height and width of instance.
13868 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13870 * unexelf.c (unexec): Search for ".data" section.
13871 Initialize new_data2_offset from old_data_index.
13872 Remove redundant check for ElfW.
13874 2000-05-23 Andy Piper <andy@xemacs.org>
13876 * glyphs.c (get_image_instantiator_governing_domain): allow more
13877 specific domains as the governing domain rather than expecting an
13878 exact match. This fixes problems with layouts.
13880 2000-05-22 Andy Piper <andy@xemacs.org>
13882 * redisplay-output.c (compare_runes): check for non-images
13884 * glyphs.c (set_glyph_dirty_p): ditto.
13885 (update_glyph_cachel_data): ditto.
13887 * glyphs-widget.c (layout_post_instantiate): ditto.
13888 (layout_post_instantiate): ditto.
13890 * event-msw.c (mswindows_wnd_proc): warning removal.
13892 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13894 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13896 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13898 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13900 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13901 (mswindows_executable_type): mingw32 now has enough headers for
13904 2000-05-20 Andy Piper <andy@xemacs.org>
13906 * console-msw.c (mswindows_output_last_error): ; -> ,
13908 2000-05-12 Andy Piper <andy@xemacs.org>
13910 * console-msw.c (FROB): compare ints with ints.
13912 2000-05-11 Andy Piper <andy@xemacs.org>
13914 * glyphs-x.c (x_finalize_image_instance): make minimal build
13917 2000-05-20 Ben Wing <ben@xemacs.org>
13920 * event-Xt.c (vars_of_event_Xt):
13921 move modifier-keys-are-sticky to event-stream.c.
13924 * event-msw.c (mswindows_enqueue_mouse_button_event):
13925 * event-msw.c (key_needs_default_processing_p):
13926 * event-msw.c (XEMSW_LCONTROL):
13927 * event-msw.c (mswindows_handle_sticky_modifiers):
13928 * event-msw.c (FROB):
13929 * event-msw.c (clear_sticky_modifiers):
13930 * event-msw.c (output_modifier_keyboard_state):
13931 * event-msw.c (output_alt_keyboard_state):
13932 * event-msw.c (mswindows_wnd_proc):
13933 * event-msw.c (mswindows_modifier_state):
13934 * event-msw.c (emacs_mswindows_handle_magic_event):
13935 implement sticky modifiers.
13938 * event-stream.c (vars_of_event_stream):
13939 move modifier-keys-are-sticky here.
13942 add CHECK_FUNCTION.
13945 implement map-range-table.
13948 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13950 * redisplay-tty.c (reset_tty_modes):
13951 (tty_redisplay_shutdown): Adjust argument type to
13952 tty_frame_output_end.
13954 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13956 * eval.c (Fbacktrace): Don't output a line with only right
13959 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13961 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13962 (Fpq_reset_poll): Ditto.
13964 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13966 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13968 2000-05-16 Ben Wing <ben@xemacs.org>
13971 * buffer.c (dfc_convert_to/from_internal_format):
13972 * buffer.c (reinit_vars_of_buffer):
13973 Fix conversion functions to allow reentrancy.
13976 * console-msw.c (mswindows_output_last_error):
13977 New fun, generally useful -- output a human-readable
13978 version of GetLastError() on the console.
13981 * console-msw.h (struct mswindows_frame):
13982 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13984 * console-stream.c (stream_output_begin):
13985 * console-stream.c (stream_output_end):
13986 * console-stream.c (stream_output_vertical_divider):
13987 * console-stream.c (stream_clear_region):
13988 * console-stream.c (stream_flash):
13989 * console-stream.c (console_type_create_stream):
13990 Delete blank stream methods, not needed.
13992 * console.h (struct console_methods):
13993 Split begin/end methods into window and frame.
13996 * event-msw.c (mswindows_handle_paint):
13997 * event-msw.c (output_alt_keyboard_state):
13998 * event-msw.c (mswindows_wnd_proc):
13999 * event-msw.c (vars_of_event_mswindows):
14000 Comment about problems with ignored-expose.
14001 Define mswindows-debug-events; not really implemented.
14003 * frame-msw.c (mswindows_init_frame_1):
14007 * glyphs-msw.c (begin_defer_window_pos):
14008 * glyphs-msw.c (mswindows_unmap_subwindow):
14009 * glyphs-msw.c (mswindows_map_subwindow):
14010 * glyphs-msw.c (mswindows_resize_subwindow):
14011 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14013 * glyphs.c (make_image_instance_1):
14016 * gutter.c (Fredisplay_gutter_area):
14017 Use new begin/end methods.
14019 * lisp.h (Dynarr_new2):
14023 * redisplay-msw.c (mswindows_frame_output_begin):
14024 * redisplay-msw.c (mswindows_frame_output_end):
14025 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14026 New begin/end methods -- handle DeferWindowPos.
14028 * redisplay-output.c (redisplay_move_cursor):
14029 * redisplay-output.c (redraw_cursor_in_window):
14030 * redisplay-output.c (redisplay_update_line):
14031 * redisplay-output.c (redisplay_output_window):
14032 New begin/end methods.
14035 * redisplay-tty.c (tty_frame_output_begin):
14036 * redisplay-tty.c (tty_frame_output_end):
14037 * redisplay-tty.c (console_type_create_redisplay_tty):
14038 New begin/end methods.
14041 * redisplay-x.c (x_window_output_begin):
14042 * redisplay-x.c (x_window_output_end):
14043 * redisplay-x.c (console_type_create_redisplay_x):
14044 New begin/end methods.
14046 * redisplay.c (redisplay_frame):
14047 * redisplay.c (Fredisplay_echo_area):
14048 New begin/end methods.
14049 use MAYBE_DEVMETH for clear_frame; it may not exist.
14051 * window.h (WINDOW_XFRAME):
14052 WINDOW_XFOO macros -- get locale and decode struct pointer.
14055 2000-05-12 Ben Wing <ben@xemacs.org>
14058 * emacs.c (ensure_no_quitting_from_now_on):
14059 * emacs.c (fatal_error_signal):
14060 * emacs.c (mswindows_handle_hardware_exceptions):
14062 * emacs.c (Fkill_emacs):
14063 * emacs.c (shut_down_emacs):
14064 * emacs.c (assert_failed):
14065 various improvements in fatal error handling.
14068 move preparing_for_armageddon to emacs.c.
14071 declare fatal_error_in_progress.
14074 * print.c (std_handle_out_external):
14075 * print.c (std_handle_out_va):
14076 * print.c (stderr_out):
14077 * print.c (stdout_out):
14078 use console under mswin when no standard output.
14079 don't do code conversion during fatal error.
14081 * scrollbar.c (Fscrollbar_page_up):
14082 * scrollbar.c (Fscrollbar_page_down):
14083 fix missing else. reindent.
14085 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14089 * glyphs.h (GLYPH_CACHEL_DESCENT):
14090 (GLYPH_CACHEL_DESCENT):
14091 (GLYPH_CACHEL_DESCENT):
14092 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14093 used in case these are inline functions.
14094 Use more absurd values to error check.
14096 include window.h for error check functions.
14098 2000-05-11 Ben Wing <ben@xemacs.org>
14100 * cmdloop.c (Freally_early_error_handler):
14101 Display message box under windows; otherwise, message will disappear
14102 before it can be viewed.
14105 * console-msw.c (Fmswindows_message_box):
14106 * console-msw.c (FROB):
14107 * console-msw.c (syms_of_console_mswindows):
14108 Define new fun `mswindows-message-box'.
14109 #### I will merge this into `popup-dialog-box'; just give me
14113 * general.c (syms_of_general):
14114 Some new symbols used in `mswindows-message-box'.
14117 * glyphs.c (Fset_image_instance_property):
14118 put warning in this fun.
14121 * glyphs.h (GLYPH_CACHEL_WIDTH):
14122 * glyphs.h (GLYPH_CACHEL_ASCENT):
14123 * glyphs.h (GLYPH_CACHEL):
14124 * glyphs.h (GLYPH_CACHEL_GLYPH):
14125 define error-checking versions to try to catch a bug i've seen --
14126 redisplay gets in an infinite loop because the glyph width of the
14127 continuation glyph is 65535.
14130 Extern message-box stuff.
14132 * window.c (allocate_window):
14133 * window.c (make_dummy_parent):
14134 * window.c (Fset_window_configuration):
14135 Use EQUAL not EQ for subwindow caches to make them work a bit
14136 better. (Something is still very broken.)
14139 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14141 * glyphs.c (image_instantiate): Suppress gcc warnings.
14142 (Fmake_image_instance): Fix doc string.
14143 * specifier.c (Fmake_specifier): Ditto.
14145 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14147 * paths.h.in (PATH_LOCK): Removed.
14148 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14149 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14151 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14153 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14154 Document (featurep '(and xemacs 21.02)).
14156 2000-05-09 Ben Wing <ben@xemacs.org>
14158 * buffer.c (complex_vars_of_buffer):
14159 update modeline-format doc.
14162 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14165 timeline of all released versions of Emacs, for use in creating
14166 authorship comments and in synching up.
14168 * glyphs-widget.c (image_instantiator_buttons):
14169 * glyphs-widget.c (image_instantiator_edit_fields):
14170 * glyphs-widget.c (image_instantiator_combo_box):
14171 * glyphs-widget.c (image_instantiator_scrollbar):
14172 * glyphs-widget.c (image_instantiator_progress_guage):
14173 * glyphs-widget.c (image_instantiator_tree_view):
14174 * glyphs-widget.c (image_instantiator_tab_control):
14175 * glyphs-widget.c (image_instantiator_labels):
14176 * glyphs-widget.c (image_instantiator_layout):
14177 * glyphs-widget.c (image_instantiator_native_layout):
14178 rename decode_domain method to governing_domain.
14181 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14182 * glyphs.c (add_entry_to_device_ii_format_list):
14183 make sure we don't put an entry more than once into the list.
14184 * glyphs.c (check_instance_cache_mapper):
14185 *************************************************************
14186 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14188 *************************************************************
14189 * glyphs.c (get_image_instantiator_governing_domain):
14190 clean up, expand on new concept of governing domain.
14191 * glyphs.c (instantiate_image_instantiator):
14192 * glyphs.c (allocate_image_instance):
14193 use governing_domain instead of cache_domain in naming.
14194 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14195 * glyphs.c (make_image_instance_1):
14196 * glyphs.c (Fmake_image_instance):
14197 allow for any domain (not just device), and process the
14198 governing domain correctly. very big doc fix.
14199 * glyphs.c (Fimage_instance_domain):
14200 new primitive, to retrieve the governing domain of an image instance.
14201 * glyphs.c (image_instantiate):
14202 use new governing_domain stuff. this fixes a crash you could get
14203 by instantiating certain widget glyphs in frame locales. (should
14204 signal an error instead of crashing.)
14205 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14206 * glyphs.c (Fglyphp): clean up doc.
14207 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14208 * glyphs.c (syms_of_glyphs):
14209 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14210 * glyphs.c (image_instantiator_format_create): add some comments about
14212 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14213 for current-display-table. (Apparently Hrjove implemented in 1998 a
14214 design I wrote up in 1996, but didn't update the doc string.)
14216 * glyphs.h: clean up a doc string.
14217 * glyphs.h (governing_domain):
14218 * glyphs.h (struct image_instantiator_methods):
14219 changes for governing_domain stuff.
14222 * gutter.c (Fgutter_specifier_p):
14223 * gutter.c (Fgutter_size_specifier_p):
14224 * gutter.c (Fgutter_visible_specifier_p):
14226 * objects.c (Fcolor_specifier_p):
14227 * objects.c (Ffont_specifier_p):
14228 * objects.c (Fface_boolean_specifier_p):
14229 doc strings moved to make-*-specifier.
14231 * redisplay.c (add_disp_table_entry_runes_1):
14232 * redisplay.c (generate_fstring_runes):
14233 * redisplay.c (screen):
14234 add random comments and doc strings.
14237 * specifier.c (Fmake_specifier):
14238 major overhaul of this doc string.
14240 * specifier.c (Fvalid_specifier_domain_p):
14241 comment about the bogosity of image instances being domains.
14242 * specifier.c (decode_domain):
14243 now non-static, used in glyphs.c.
14244 * specifier.c (specifier_instance):
14245 comment about the bogosity of image instances being domains.
14246 * specifier.c (Fgeneric_specifier_p):
14247 move doc string to make-generic-specifier.
14248 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14252 * specifier.h (DOMAIN_FRAME):
14253 * specifier.h (DOMAIN_LIVE_P):
14254 * specifier.h (DOMAIN_XDEVICE):
14256 add comments about problems with these macros.
14257 prototype for decode_domain.
14260 * toolbar.c (Ftoolbar_specifier_p):
14261 move doc string to `make-toolbar-specifier'.
14263 * window.c (window_unmap_subwindows_cache_mapper):
14264 *************************************************************
14265 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14267 *************************************************************
14269 2000-05-09 Andy Piper <andy@xemacs.org>
14271 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14273 * window.c (Fset_window_configuration): reset the frame subwindow
14274 cache and re-initialize the window subwindow caches.
14276 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14278 2000-05-09 Ben Wing <ben@xemacs.org>
14280 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14283 2000-04-26 Mike Woolley <mike@bulsara.com>
14285 * ntheap.c: Changed recreate_heap to limit the amount reserved
14286 for the heap to that which is actually available. Also now
14287 displays a message box (with some dignostics) in the event that
14288 it still can't start.
14290 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14292 * callproc.c (Fold_call_process_internal): GCPRO path
14294 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14296 Patch by Bill Perry.
14298 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14299 back data instead of #ifdef.
14300 (Fscrollbar_page_down): ditto.
14302 2000-05-07 Ben Wing <ben@xemacs.org>
14305 Kludge for defining Qmswindows_tstr.
14308 * nt.c (open_input_file):
14309 * nt.c (open_output_file):
14310 * nt.c (rva_to_section):
14311 * nt.c (mswindows_executable_type):
14312 Move all memory-mapped-file routines here (some were in unexnt.c,
14313 which is bad because they are used by process-nt.c, and unexnt
14314 won't be around when portable dumping). Synched the above routines
14318 Removed ifdef'd out bogus code.
14319 Fixed some prototypes.
14321 * nt.h (file_data):
14322 * nt.h (OFFSET_TO_RVA):
14323 * nt.h (RVA_TO_OFFSET):
14324 * nt.h (RVA_TO_PTR):
14325 Moved the memory-mapped-file structures, macros and prototypes
14326 here, to parallel nt.c. ntheap.h should really be removed
14327 entirely, and it's a non-portable-dumper specific file.
14329 * ntheap.h (round_to_next):
14330 Moved the memory-mapped-file structures, macros and prototypes
14333 * ntproc.c (compare_env):
14334 Moved rva_to_section and mswindows_executable_type to nt.c.
14335 Moved compare_env to process-nt.c.
14336 ntproc.c will die, one day.
14338 * ntproc.c (sys_spawnve):
14339 Account for win32_ -> mswindows_.
14342 * process-nt.c (struct nt_process_data):
14343 * process-nt.c (ensure_console_window_exists):
14344 * process-nt.c (compare_env):
14345 * process-nt.c (nt_create_process):
14346 * process-nt.c (nt_kill_process_by_pid):
14347 * process-nt.c (syms_of_process_nt):
14348 * process-nt.c (vars_of_process_nt):
14349 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14350 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14351 changes). Eliminate our old `nt-quote-process-args' mechanism.
14352 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14353 Move compare_env here from ntproc.c.
14355 * process.c (Fprocess_send_region):
14356 Takes an optional fourth argument, BUFFER, which should fix some
14357 problems with call-process.
14360 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14363 Move ICC_BAR_CLASSES to syscommctrl.h.
14364 Add preliminary macros for MSWindows/Mule. More to come.
14367 * unexnt.c (unexec):
14368 open_output_file moved to nt.c.
14371 2000-05-05 Andy Piper <andy@xemacs.org>
14373 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14374 instance from the frame cache also since GC may catch up too late
14375 to make frame deletion sane.
14377 2000-05-04 Andy Piper <andy@xemacs.org>
14379 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14380 (x_finalize_image_instance): ungcpro on deletion.
14382 * glyphs.c (image_instantiator_format_create): give pointers a
14383 query geometry method so that the geometry is at least set.
14385 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14386 initialize layouts if using widgets.
14388 2000-05-03 Andy Piper <andy@xemacs.org>
14390 * nt.c: remove bogus reference to sysmmsystem.h
14392 * gui-x.c (popup_selection_callback): fix no selection abort.
14394 2000-05-02 Andy Piper <andy@xemacs.org>
14396 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14397 (mswindows_widget_instantiate): ditto.
14399 * glyphs-widget.c (initialize_widget_image_instance): initialize
14400 children correctly.
14401 (widget_instantiate): cope with children and items in the same
14404 * glyphs.c (mark_image_instance): cope with children as a first
14406 (image_instance_equal): ditto.
14407 (image_instance_hash): ditto.
14408 (image_instance_changed): ditto.
14410 2000-04-30 Andy Piper <andy@xemacs.org>
14412 * glyphs.c (subwindow_query_geometry): new function. Return some
14414 (subwindow_instantiate): don't assign dimensions if none have been
14416 (image_instantiator_format_create): add subwindow_query_geometry.
14417 (print_image_instance): cope with layouts as widgets.
14419 2000-04-29 Andy Piper <andy@xemacs.org>
14421 * frame.c (delete_frame_internal): call
14422 free_frame_subwindow_instance_cache so that all subwindows are
14423 finalized before their parent.
14424 (mark_frame): remove subwindow_cachels.
14425 (Fmake_frame): remove subwindow_cachel manipulation.
14426 (allocate_frame_core): subwindow_instance_cache is a weak list.
14427 (delete_frame_internal): set subwindow_instance_cache to nil.
14429 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14431 (mswindows_finalize_image_instance): use the device
14432 not the domain as the domain may have died already.
14434 * glyphs-x.c (x_finalize_image_instance): ditto.
14435 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14438 * redisplay-output.c (redisplay_unmap_subwindows): update for
14439 subwindow instance cache as a weak list.
14440 (redisplay_unmap_subwindows_maybe): ditto.
14441 (redisplay_unmap_subwindows_except_us): ditto.
14443 * glyphs.c (unmap_subwindow): error checking will check the domain
14444 so don't deal with it here. Don't use cachels anymore.
14445 (map_subwindow): ditto.
14446 (update_subwindow_cachel_data): remove old accessor names.
14447 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14448 (Fresize_subwindow): don't update cachel.
14449 (mark_subwindow_cachels):
14450 (update_subwindow_cachel_data):
14451 (add_subwindow_cachel):
14452 (get_subwindow_cachel_index):
14453 (update_subwindow_cachel):
14454 (reset_subwindow_cachels):
14455 (mark_subwindow_cachels_as_not_updated): deleted.
14456 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14457 subwindow instance to the frame cache.
14458 (find_matching_subwindow): update for subwindow instance cache as
14460 (update_widget_instances): ditto.
14461 (image_instance_type_to_mask):inlined.
14462 (free_frame_subwindow_instance_cache): new function. finalize all
14463 subwindows that are instantiated.
14465 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14466 of cachel information.
14467 (IMAGE_INSTANCE_DISPLAY_X):
14468 (IMAGE_INSTANCE_DISPLAY_Y):
14469 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14470 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14471 (XIMAGE_INSTANCE_DISPLAY_X):
14472 (XIMAGE_INSTANCE_DISPLAY_Y):
14473 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14474 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14475 remove subwindow_cachel structure and function references.
14476 (image_instance_type_to_mask): inline from glyphs.c
14478 * redisplay.c (redisplay_frame): remove subwindow_cachel
14481 * frame.h (struct frame): remove subwindow_cachels.
14482 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14484 * frameslots.h: add subwindow_instance_cache.
14486 * window.c (replace_window): check subwindow cache of replacement.
14487 (window_unmap_subwindows_cache_mapper):
14488 (window_unmap_subwindows): new functions. Unmap all subwindows
14489 cached on this window.
14490 (mark_window_as_deleted): unmap all subwindows.
14492 2000-04-27 Andy Piper <andy@xemacs.org>
14494 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14496 * glyphs-widget.c (widget_layout): return something.
14497 (layout_layout): return something. Fail if not initialized.
14498 (layout_query_geometry): ditto.
14499 (image_instantiator_native_layout): new function. Initialized the
14500 native layout type.
14501 (widget_instantiate): don't do layout stuff here.
14503 * glyphs.c (instantiate_image_instantiator): reorded calling or
14504 instantiate and post_instantiate with layout in between.
14505 (image_instance_layout): be more selective about deciding whether
14506 the layout has been done or not.
14508 * glyphs.h (struct image_instantiator_methods): return a value
14509 from layout_method.
14511 2000-04-26 Andy Piper <andy@xemacs.org>
14513 * glyphs.c (allocate_image_instance): make initial width and
14514 height unspecified. Set initialized to 0.
14516 * syscommctrl.h new file. Encapsulates commctrl.h.
14518 * syswindows.h new file. Encapsulates windows.h.
14520 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14522 * console-msw.h: ditto.
14524 * redisplay-tty.c (tty_output_display_block): remove layout references.
14526 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14527 window handle rather than just the frame.
14529 * glyphs.c (mark_image_instance): remove layout references.
14530 (print_image_instance): ditto.
14531 (image_instance_equal): ditto.
14532 (image_instance_hash): ditto.
14533 (decode_image_instance_type): ditto.
14534 (encode_image_instance_type): ditto.
14535 (image_instantiate): ditto.
14536 (allocate_glyph): ditto.
14537 (Fimage_instance_height): ditto.
14538 (Fimage_instance_width): ditto.
14539 (update_subwindow): ditto.
14541 * redisplay-x.c (x_output_display_block): recode for layouts as
14544 * redisplay-output.c (redisplay_output_layout): recode for layouts
14546 (compare_runes): remove layout references.
14548 * redisplay-msw.c (mswindows_output_display_block): recode for
14549 layouts as widgets.
14551 * glyphs-widget.c (image_instantiator_layout): remove
14552 layout_possible_dest_types.
14553 (layout_possible_dest_types): deleted.
14555 * glyphs.h (image_instance_type): remove layout references.
14556 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14557 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14558 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14560 2000-04-25 Andy Piper <andy@xemacs.org>
14562 * glyphs-widget.c (image_instantiator_buttons):
14563 (image_instantiator_edit_fields):
14564 (image_instantiator_combo_box):
14565 (image_instantiator_scrollbar):
14566 (image_instantiator_progress_guage):
14567 (image_instantiator_tree_view):
14568 (image_instantiator_tab_control):
14569 (image_instantiator_labels):
14570 (image_instantiator_layout): call default post_instantiate method.
14571 (widget_post_instantiate): new function. Simply lays out the
14574 * glyphs.h (struct image_instantiator_methods): add
14575 post_instantiate method.
14577 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14580 2000-04-23 Andy Piper <andy@xemacs.org>
14582 * glyphs.h (struct image_instantiator_methods): add
14583 decode_domain_method.
14584 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14585 derived from the domain.
14586 (IMAGE_INSTANCE_FRAME): new accessor.
14587 (XIMAGE_INSTANCE_FRAME): ditto.
14589 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14590 instead of _SUBWINDOW_FRAME.
14591 (finalize_image_instance): ditto.
14592 (Fimage_instance_foreground): ditto.
14593 (Fimage_instance_background): ditto.
14594 (image_instantiate): ditto.
14595 (update_subwindow_cachel): ditto.
14596 (update_subwindow): ditto.
14597 (unmap_subwindow): ditto.
14598 (map_subwindow): ditto
14599 (subwindow_instantiate): ditto.
14600 * glyphs-msw.c (mswindows_update_widget): ditto.
14601 (mswindows_progress_gauge_instantiate): ditto.
14602 (mswindows_tab_control_update): ditto.
14603 * glyphs-x.c (x_update_widget): ditto.
14604 (x_widget_instantiate): ditto.
14605 (x_tab_control_instantiate): ditto.
14606 (x_tab_control_update): ditto.
14607 * event-msw.c (mswindows_wnd_proc): ditto
14609 * glyphs-widget.c (image_instantiator_layout): use
14610 subwindow_decode_domain.
14611 (image_instantiator_buttons): ditto.
14612 (image_instantiator_edit_fields): ditto.
14613 (image_instantiator_combo_box): ditto.
14614 (image_instantiator_scrollbar): ditto.
14615 (image_instantiator_progress_guage): ditto.
14616 (image_instantiator_tree_view): ditto.
14617 (image_instantiator_tab_control): ditto.
14618 (image_instantiator_labels): ditto.
14619 (image_instantiator_layout): ditto.
14621 * glyphs.c: add instance error checking to many functions.
14622 (instantiate_image_instantiator): decode device from cache_domain.
14623 (image_instantiate): partially rewrite by using
14624 decode_image_instantiator_domain to determine what domain the
14625 instance needs to be cached in.
14626 (decode_image_instantiator_domain): new function. Determine what
14627 domain the image needs to be cached in.
14628 (check_window_subwindow_cache): new error checking function.
14629 (check_instance_cache_mapper): ditto.
14630 (check_image_instance_structure): ditto.
14631 (subwindow_decode_domain): new function. Encodes a window as a
14632 subwindow's cache domain.
14633 (image_instantiator_format_create): use it for text and
14636 2000-04-21 Andy Piper <andy@xemacs.org>
14638 * glyphs.c (image_instance_device): new function.
14639 (image_instance_frame): new function.
14640 (image_instance_window): new function.
14641 (image_instance_live_p): new function.
14643 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14646 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14647 (IMAGE_INSTANCE_DOMAIN): new accessor.
14648 (XIMAGE_INSTANCE_DOMAIN): ditto.
14650 * glyphs-x.c (x_finalize_image_instance): device->domain.
14652 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14653 (mswindows_finalize_image_instance): ditto.
14655 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14656 (gif_instantiate): ditto.
14657 (png_instantiate): ditto.
14658 (tiff_instantiate): ditto.
14660 * glyphs.c (instantiate_image_instantiator): use domain rather
14662 (mark_image_instance): device -> domain.
14663 (print_image_instance): ditto.
14664 (finalize_image_instance): ditto.
14665 (image_instance_equal): ditto.
14666 (allocate_image_instance): ditto.
14667 (Fcolorize_image_instance): ditto.
14668 (query_string_geometry): ditto.
14669 (image_instantiate): ditto
14670 (query_string_font): ditto.
14671 (image_instantiate): ditto.
14672 (update_subwindow): ditto.
14673 (unmap_subwindow): ditto.
14674 (map_subwindow): ditto.
14675 (subwindow_instantiate): ditto.
14677 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14678 (DOMAIN_FRAME): ditto.
14679 (DOMAIN_WINDOW): ditto.
14680 (DOMAIN_LIVE_P): ditto.
14681 (XDOMAIN_DEVICE): ditto.
14682 (XDOMAIN_FRAME): ditto.
14683 (XDOMAIN_WINDOW): ditto.
14685 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14686 a valid specifier domain.
14688 2000-04-19 Andy Piper <andy@xemacs.org>
14690 * glyphs-widget.c (syms_of_glyphs_widget): remove
14691 widget-callback-current-channel.
14692 (vars_of_glyphs_widget): ditto.
14695 * gui.c (get_gui_callback): revert to previous behaviour.
14697 2000-04-18 Andy Piper <andy@xemacs.org>
14699 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14700 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14701 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14703 * glyphs.c (image_instance_equal): add margin_width.
14704 (image_instance_hash): ditto.
14706 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14707 (layout_query_geometry): ditto.
14708 (layout_layout): ditto.
14709 (syms_of_glyphs_widget): add margin-width.
14710 (image_instantiator_layout): allow margin-width.
14712 * glyphs.c (update_widget_instances): make a normal function.
14713 (syms_of_glyphs): remove Qupdate_widget_instances.
14716 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14717 so that we don't corrupt ideas about the last event or
14718 command. Remove widget-callback-current-channel fiddling.
14719 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14721 2000-05-01 Martin Buchholz <martin@xemacs.org>
14723 * XEmacs 21.2.33 is released.
14725 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14727 * make-src-depend: Allow dots in header file name.
14729 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14731 * mule-charset.h (struct charset_lookup): Add
14732 next_allocated_1_byte_leading_byte and
14733 next_allocated_2_byte_leading_byte.
14734 * mule-charset.c: Move above two variables so that those values
14737 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14739 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14740 when string length is zero.
14741 (find_charsets_in_emchar_string): Ditto.
14743 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14745 * lisp.h: extern Qdialog and Qmenubar.
14747 * gui-x.c: added events.h.
14748 also fixed typo which made the file uncompilable.
14750 * general.c: Added Qmenubar and Qdialog
14752 2000-04-28 Ben Wing <ben@xemacs.org>
14754 * frame-msw.c (mswindows_init_frame_1):
14755 * frame-msw.c (mswindows_mark_frame):
14756 * event-msw.c (mswindows_enqueue_dispatch_event):
14758 * console-msw.h (struct mswindows_frame):
14759 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14760 there are now three hash tables for callbacks.
14761 mswindows_enqueue_dispatch_event is no longer static.
14763 * dialog-x.c (maybe_run_dbox_text_callback):
14764 * dialog-x.c (dbox_descriptor_to_widget_value):
14765 switch to new cons3 form for callbacks.
14767 * glyphs-msw.c (mswindows_register_gui_item):
14768 * glyphs-msw.c (mswindows_widget_instantiate):
14769 * glyphs-msw.c (add_tree_item):
14770 * glyphs-msw.c (add_tab_item):
14771 new image instance parameter, so it can be passed to callback-ex.
14772 respect :callback-ex as well as :callback.
14774 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14777 * glyphs.c (print_image_instance):
14778 prettify, e.g. now prints widget type.
14781 certain funs have new image instance parameter.
14784 * gui.c (get_gui_callback):
14785 * gui.c (gui_item_add_keyval_pair):
14786 * gui.c (gui_item_init):
14787 * gui.c (gui_add_item_keywords_to_plist):
14788 * gui.c (mark_gui_item):
14789 * gui.c (gui_item_hash):
14790 * gui.c (gui_item_equal):
14791 * gui.c (copy_gui_item):
14792 * gui.c (syms_of_gui):
14793 recognize callback-ex in a number of places.
14794 also, fix the annoying "can't get out of yes-no dialog" bug.
14797 * gui.h (struct Lisp_Gui_Item):
14798 recognize callback-ex in a number of places.
14800 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14801 new parameter in button_item_to_widget_value.
14803 * glyphs-x.c (x_update_widget):
14804 * glyphs-x.c (x_button_instantiate):
14805 * glyphs-x.c (x_button_update):
14806 * glyphs-x.c (x_progress_gauge_instantiate):
14807 * glyphs-x.c (x_edit_field_instantiate):
14808 * glyphs-x.c (x_combo_box_instantiate):
14809 * glyphs-x.c (x_tab_control_instantiate):
14810 * glyphs-x.c (x_label_instantiate):
14811 new image instance parameter in various places.
14814 * event-Xt.c (enqueue_Xt_dispatch_event):
14815 this fun gets exported.
14818 * gui-msw.c (mswindows_handle_gui_wm_command):
14819 handle both :callback and :callback-ex, and generate our own
14820 event because it's one of the callback-ex arguments.
14823 * gui-x.c (popup_selection_callback):
14824 handle both :callback and :callback-ex, and generate our own
14825 event because it's one of the callback-ex arguments.
14826 * gui-x.c (button_item_to_widget_value):
14827 * gui-x.c (gui_items_to_widget_values_1):
14828 * gui-x.c (gui_item_children_to_widget_values):
14829 * gui-x.c (gui_items_to_widget_values):
14830 new image instance parameter in various places.
14832 * fns.c (Freplace_list):
14833 fix small typo in doc string.
14836 declare enqueue_Xt_dispatch_event.
14838 2000-04-28 Ben Wing <ben@xemacs.org>
14841 * buffer.c (Frecord_buffer):
14842 * buffer.c (syms_of_buffer):
14843 delete record-buffer-hook.
14846 * fns.c (Freplace_list):
14847 * fns.c (syms_of_fns):
14848 new primitive replace-list.
14851 slot for old buffer-alist.
14854 exfun replace-list.
14857 * redisplay.c (redisplay_frame):
14858 * redisplay.c (syms_of_redisplay):
14859 * redisplay.c (vars_of_redisplay):
14860 new hook buffer-list-changed-hook.
14863 2000-04-27 Ben Wing <ben@xemacs.org>
14865 * extents.h: extern in_modeline_generation.
14867 * redisplay.c (generate_formatted_string_db): set
14868 in_modeline_generation.
14870 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14871 flags if in modeline generation. otherwise frame-modified-tick
14872 is ticked far too often.
14873 Declare in_modeline_generation.
14875 2000-04-26 Ben Wing <ben@xemacs.org>
14877 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14879 (vars_of_emacs): add quick-build as an error-checking option.
14880 A bit kludgy, but there doesn't seem much point in creating
14881 a real var for this.
14883 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14885 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14887 * redisplay.h (struct display_line): Add a new variable,
14890 * redisplay.c (create_text_block): Set dl->line_continuation if
14891 the line continues.
14892 (create_string_text_block): Ditto.
14893 (regenerate_window_incrementally): Use line_continuation instead
14894 of searching continuation glyph.
14895 (add_margin_runes): Call add_glyph_rune.
14896 (add_glyph_rune): Handle margin glyph.
14898 2000-04-20 Martin Buchholz <martin@xemacs.org>
14900 * filelock.c (fill_in_lock_file_name):
14902 Check for IS_ANY_SEP instead of '/'.
14904 Avoid generating gratuitous garbage. Call user_login_name() directly.
14905 Never check errno without first seeing that system call failed.
14906 (unlock_file): Add GCPRO.
14907 (Flock_buffer): Fix docstring.
14908 (Ffile_locked_p): Fix docstring. Add GCPRO.
14910 2000-04-19 Martin Buchholz <martin@xemacs.org>
14912 * sysdep.c (get_pty_max_bytes):
14913 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14914 strings longer than 252 bytes.
14916 * md5.c: Unconditionally include ANSI header <limits.h>
14918 * glyphs-x.c (convert_EImage_to_XImage):
14919 * lisp-union.h (union Lisp_Object):
14920 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14922 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14924 * filelock.c (current_lock_owner): Remove unused variable o, p.
14926 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14928 * callint.c: Remove multiply defined symbol Qlet
14929 (syms_of_callint): ditto.
14931 2000-04-14 Andy Piper <andy@xemacs.org>
14933 * general.c (syms_of_general): add last-command, this-command, let
14936 * lisp.h: declare various symbols.
14938 * glyphs.h: declare Qwidget_callback_current_channel;
14940 * glyphs-widget.c (syms_of_glyphs_widget): add
14941 Qgui_callback_current_channel.
14942 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14944 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14945 widget-callback-current-channel when invoking the interactive
14946 arg. Also bind last-command and next-command when invoking the
14948 * gui-x.c (popup_selection_callback): ditto.
14950 * gui.c (get_gui_callback): massage args so that we are always
14951 calling eval. This allows us to add our own variable bindings
14954 * glyphs-x.c (x_button_instantiate): use
14955 gui_items_to_widget_values since this is GC safe.
14956 (x_progress_gauge_instantiate): ditto.
14957 (x_edit_field_instantiate): ditto.
14958 (x_label_instantiate): ditto.
14960 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14961 (emacs_Xt_event_widget_focus_out): new function
14962 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14964 (emacs_Xt_event_add_widget_actions): new function. add focus
14965 functions as actions.
14966 (init_event_Xt_late): use it.
14968 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14970 * event-stream.c (Fdispatch_event): Doc fix.
14972 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14974 * postgresql.c: Remove all references to PQsetenv*.
14976 * postgresql.h: Remove references to PGsetenvHandler object.
14977 * lrecord.h (lrecord_type): Ditto.
14979 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14981 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14982 real_heigh and real_width members, and accessor macros for these.
14984 * glyphs-msw.c (init_image_instance_geometry): New function.
14985 (init_image_instance_from_dibitmap): Use it.
14986 (mswindows_resource_instantiate): Use it.
14987 (init_image_instance_from_xbm_inline): Use it.
14988 (mswindows_initialize_image_instance_mask): Use real bitmap
14990 (mswindows_create_resized_bitmap): Ditto.
14991 (mswindows_create_resized_mask): Ditto.
14993 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14994 and bitmap to their surface size.
14996 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14998 * process-unix.c (unix_send_process): Guard against process MIA
14999 after Faccept_process_output.
15001 2000-04-11 Ben Wing <ben@xemacs.org>
15003 * eval.c (unbind_to_hairy): fix brokenness introduced by
15004 nanosecond speed improvements.
15006 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15008 * sunplay.c (init_device): To play sounds correctly, the device
15009 apparently needs to be initialized at least once by XEmacs. Make
15012 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15014 * redisplay.c (add_margin_runes): Add text image glyph
15017 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15019 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15020 gcc is newer than 2.5.
15022 2000-04-06 Colin Rafferty <colin@xemacs.org>
15024 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15026 * fns.c (size_bit_vector):
15027 * alloc.c (size_vector):
15028 (make_vector_internal):
15029 (make_bit_vector_internal):
15030 (sweep_bit_vectors_1):
15031 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15033 2000-04-06 Andy Piper <andy@xemacs.org>
15035 * gmalloc.c (malloc): undo previous change.
15040 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15042 * line-number.c (buffer_line_number): Revert to former version.
15044 2000-04-06 Andy Piper <andy@xemacs.org>
15046 * gmalloc.c (malloc): add error checking.
15051 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15052 button_item_to_widget_value arg.
15054 * glyphs-x.c (x_button_instantiate): add extra
15055 button_item_to_widget_value arg.
15056 (x_progress_gauge_instantiate): ditto.
15057 (x_edit_field_instantiate): ditto.
15058 (x_label_instantiate): ditto.
15060 * gui-x.c (gui_items_to_widget_values_1): add extra
15061 button_item_to_widget_value arg.
15062 (button_item_to_widget_value): add extra menu_item_p arg.
15064 * gui-x.h: change signature of button_item_to_widget_value.
15066 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15067 button_item_to_widget_value arg.
15069 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15071 * buffer.h (struct buffer): auto_save_modified should be long.
15073 2000-04-05 Andy Piper <andy@xemacs.org>
15075 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15077 (button_query_geometry): give a little more room so that athena
15080 2000-04-05 Andy Piper <andy@xemacs.org>
15082 * faces.c (complex_vars_of_faces): The widget face should inherit
15083 the font of the gui-element face.
15085 2000-04-04 Andy Piper <andy@xemacs.org>
15087 * glyphs-x.c (x_button_update): new function. unconditionally
15088 update a button's state when the instance is dirty.
15089 (image_instantiator_format_create_glyphs_x): add x_button_update.
15090 (x_widget_instantiate): remove old resize cruft.
15092 2000-04-02 Andy Piper <andy@xemacs.org>
15094 * frame.c (change_frame_size_1): The introduction of gutters means
15095 that we need to allow 0 as a potential frame dimension.
15097 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15099 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15100 image glyph if allow_cursor.
15101 (add_hscroll_rune): Don't allow cursor to border glyph.
15102 (create_text_block): Ditto.
15104 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15105 text not in buffer.
15106 (redisplay_output_layout): Call ensure_face_cachel_complete for
15110 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15112 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15114 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15117 * redisplay-tty.c (tty_output_display_block): Delete the routine
15118 for text image glyph
15119 * redisplay-x.c (x_output_display_block): ditto
15120 * redisplay-msw.c (mswindows_output_display_block): ditto
15122 2000-02-02 Mike Alexander <mta@arbortext.com>
15124 Note: Some of these were committed by accident as part of other
15127 * regex.c (regex_compile): Avoid compiler warnings.
15129 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15131 * nt.h: Declare term_ntproc correctly.
15133 * nt.c: Remove incorrect declaration of get_home_directory which
15134 is declared correctly in lisp.h.
15136 * keymap.c (get_keyelt): Avoid compiler warnings.
15137 (raw_lookup_key_mapper): Avoid compiler warnings.
15139 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15141 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15143 * filemode.c (mode_string): Avoid compiler warnings.
15145 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15148 * events-mod.h: Undef some things that winuser.h defines differently.
15150 * data.c (Faset): Avoid compiler warnings.
15152 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15154 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15156 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15157 Fall through to simple beep on error.
15158 Replace "extern" by real header file.
15160 * linuxplay.c: Use nativesound.h
15161 (play_sound_data): Return error code. Be less verbose on error.
15163 * sunplay.c: Use nativesound.h
15164 (play_sound_data): Return error code. Be less verbose on error.
15166 * ntplay.c: Use nativesound.h
15167 (play_sound_data): Return fake error code
15169 * sgiplay.c: Use nativesound.h
15170 (play_sound_data): Return error code
15172 * hpplay.c: Use nativesound.h, partially implement
15173 new error code. Break compilation until finished.
15174 (play_sound_data): error code.
15176 * nativesound.h (play_sound_file):
15177 (play_sound_data): Prototype in new header.
15179 2000-03-31 Andy Piper <andy@xemacs.org>
15181 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15182 for toggle and radio buttons.
15183 (image_instantiator_buttons): use it.
15185 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15187 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15188 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15189 found. Scrollbar event probably belonged to some old config.
15191 2000-03-31 Andy Piper <andy@xemacs.org>
15193 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15195 (initialize_widget_image_instance): default layout to
15196 LAYOUT_HORIZONTAL rather than 0.
15197 (widget_instantiate): reverse the item list at the end rather than
15199 (layout_layout): re-code for the border text at the front of the
15200 item list rather than at the end.
15201 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15202 provided by the user.
15203 (widget_query_geometry): comment.
15205 2000-03-30 Andy Piper <andy@xemacs.org>
15207 * glyphs-widget.c (image_instantiator_layout): allow standard
15208 widget keywords in layouts.
15210 * gutter.c (output_gutter): cope with nil gutter contents.
15212 * frame.c (Fset_frame_properties): add gutter docs.
15214 2000-03-29 Andy Piper <andy@xemacs.org>
15216 * toolbar-msw.c (TBSTYLE_FLAT): add.
15217 (mswindows_output_toolbar): minor fiddling.
15219 2000-03-29 Andy Piper <andy@xemacs.org>
15221 * gutter.c (output_gutter): force gutter size recalculation if
15222 what we are trying to display won't fit.
15223 (update_gutter_geometry): new function. A per-gutter version of
15224 update_frame_gutter_geometry.
15225 (update_frame_gutter_geometry): use it.
15226 (redraw_exposed_gutter): add extra debugging output.
15228 2000-03-28 Mike Alexander <mta@arbortext.com>
15230 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15231 (pdump_file_unmap): Implement it on Windows
15232 (pdump_file_get): Save alocated handles for pdump_file_unmap
15234 2000-03-28 Andy Piper <andy@xemacs.org>
15236 * gui.c (get_gui_callback): treat Quit specially.
15238 2000-03-27 Andy Piper <andy@xemacs.org>
15240 * glyphs.c (image_instantiate): be careful to check in the same
15243 2000-03-27 Didier Verna <didier@xemacs.org>
15245 * config.h.in: define the proper SMART_INCLUDE macro.
15246 handle renaming of `foo_h_path' to `foo_h_file'.
15248 * database.c: ditto.
15252 * linuxplay.c: ditto.
15254 * terminfo.c: ditto.
15256 * tooltalk.h: ditto.
15258 2000-03-27 Andy Piper <andy@xemacs.org>
15260 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15261 gets updated whenever the face might have changed.
15263 2000-03-26 Mike Alexander <mta@arbortext.com>
15265 * dumper.c (pdump_resource_free): Fix the comment.
15267 2000-03-21 Olivier Galibert <galibert@pobox.com>
15269 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15271 2000-03-22 Mike Alexander <mta@arbortext.com>
15273 * dumper.c: Include Windows headers on Windows
15274 (pdump_resource_free): Add a body to the function
15275 (pdump_load): exe_name -> exe_path and add some comments.
15277 2000-03-25 Mike Alexander <mta@arbortext.com>
15279 * gui.c (copy_gui_item_tree): Return a value in all cases
15281 2000-03-21 Didier Verna <didier@xemacs.org>
15283 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15285 (SMART_INCLUDE): new macro.
15286 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15287 the proper location.
15289 * postgresql.c: use it.
15293 2000-03-24 Andy Piper <andy@xemacs.org>
15295 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15298 2000-03-24 Andy Piper <andy@xemacs.org>
15300 * redisplay-output.c (compare_runes): use image_instance_changed
15301 to detect changes. Do not depend on glyphs_changed, only depend on
15303 (redisplay_output_layout): add debug messages.
15304 (compare_runes): ditto.
15306 * glyphs.h: declare new functions.
15307 (struct Lisp_Image_Instance): remove percent and associated
15310 * gui.h: declare new copying functions.
15312 * gui.c (copy_gui_item_tree): new function.
15313 (copy_gui_item): new function.
15314 (gui_item_id_hash): revert to standard hash.
15315 (gui_item_hash): ditto.
15316 (gui_item_hash_internal): deleted.
15317 (mark_gui_item): mark value.
15318 (gui_item_add_keyval_pair): add value.
15319 (gui_item_init): ditto.
15320 (gui_add_item_keywords_to_plist): ditto.
15321 (gui_item_equal): ditto.
15322 (syms_of_gui): add Q_value.
15324 * glyphs-x.c (x_progress_gauge_update): use pending items and
15325 value for setting the state.
15326 (x_update_widget): don't set items from pending here.
15328 * glyphs-widget.c (update_widget): update items here.
15329 (progress_gauge_set_property): use items for storing value. Put
15330 new value in pending items.
15332 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15333 items for new value. Convert percent -> value.
15334 (mswindows_tab_control_update): don't update items here.
15336 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15337 (update_subwindow): ditto.
15338 (image_instance_changed): new function. Compare hash values and
15339 past and present widget items.
15340 (image_instantiate): We more careful about where we instantiate
15342 (image_instantiate): add error checking.
15344 * gutter.c (syms_of_gutter): use -hook.
15346 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15348 * console-tty.c (Fset_console_tty_input_coding_system): Use
15350 (Fset_console_tty_output_coding_system): Use Qterminal.
15351 (tty_init_console): Use Qkeyboard and Qterminal.
15353 2000-03-21 Ben Wing <ben@xemacs.org>
15355 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15356 From Mike Alexander <mta@arbortext.com>.
15358 2000-03-21 Ben Wing <ben@xemacs.org>
15360 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15361 process brokenness. Proper implementation to come.
15363 Rename call-process-internal to old-call-process-internal.
15364 New impl. in process.el.
15366 2000-03-21 Martin Buchholz <martin@xemacs.org>
15368 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15370 2000-03-20 Andy Piper <andy@xemacs.org>
15372 * glyphs.c (full_list_hash): make hashes of the same elements in
15373 different orders return different values.
15375 2000-03-20 Martin Buchholz <martin@xemacs.org>
15377 * XEmacs 21.2.32 is released.
15379 2000-03-20 Martin Buchholz <martin@xemacs.org>
15381 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15382 (DFC_MALLOC_USE_CONVERTED_DATA):
15383 Add aliasing-safe casts to allow use with char* or unsigned char*
15386 * eldap.c (Fldap_open):
15387 (Fldap_search_basic):
15390 Make C++-compilable.
15391 Make sure GCPRO'ed variables are initialized.
15392 Use temp variables to avoid repeated calls to Flength.
15394 2000-03-16 Martin Buchholz <martin@xemacs.org>
15397 Make sure PATH_MAX is always defined.
15398 Include limits.h for PATH_MAX.
15399 Deprecate use of MAXPATHLEN.
15401 2000-03-10 Martin Buchholz <martin@xemacs.org>
15403 * emacs.c: Add reinit_vars_of_fileio.
15404 * symsinit.h: Add reinit_vars_of_fileio.
15405 * fileio.c (reinit_vars_of_fileio): New.
15406 * fileio.c (Fmake_temp_name):
15407 Initialize temp_name random number from microseconds to make
15408 collisions even less likely. Initialize always at process startup
15409 time. (make-temp-name) used to return the same file name twice in
15411 Random stylistic fiddling.
15414 2000-03-20 Andy Piper <andy@xemacs.org>
15416 * glyphs.c (image_instantiate): allow text glyphs to be
15417 instantiated in the minibuffer window.
15419 2000-03-19 Andy Piper <andy@xemacs.org>
15421 * glyphs.c (image_instance_hash): be careful about which items we
15424 * glyphs-widget.c (tab_control_set_property): record into pending
15425 items rather than the actual items.
15427 * glyphs-x.c (x_update_widget): use pending items to update with.
15429 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15432 * glyphs.c (mark_image_instance): mark pending items.
15434 * window.c (Fset_window_configuration): record the buffer.
15435 (Fselect_window): totally revert previous change which breaks many
15438 2000-03-18 Andy Piper <andy@xemacs.org>
15440 * glyphs-msw.c (mswindows_tab_control_update): force selected
15443 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15444 window domain cache, otherwise we get inconsistencies at
15445 startup. There is something fishy at startup which can lead to the
15446 minibuffer being the selected window when the gutter content is
15449 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15451 (parse_gui_item_tree_children): ditto.
15452 (parse_gui_item_tree_item): ditto.
15454 * glyphs.c (Fupdate_widget_instances): return something.
15456 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15458 * window.c (Fselect_window): Undo 2000-03-17 change.
15460 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15462 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15463 against v7.0 libraries. Insta-coredump city until the postgres
15466 2000-03-17 Andy Piper <andy@xemacs.org>
15468 * faces.c (complex_vars_of_faces): don't give the widget face an
15469 inherited background pixmap.
15471 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15474 * event-stream.c (Fdispatch_non_command_events): return something.
15476 * gutter.c (output_gutter): use widget face.
15477 (clear_gutter): ditto.
15479 * NEWS: adjust again.
15481 * window.c (Fselect_window): make sure this runs to completion to
15482 avoid oddities with Fset_window_configuration.
15483 (Fcurrent_window_configuration): in general do not save the
15484 minibuffer as the selected window.
15486 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15488 2000-03-16 Olivier Galibert <galibert@pobox.com>
15490 * emacs.c (Frunning_temacs_p): Revert previous patch.
15491 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15493 2000-03-16 Andy Piper <andy@xemacs.org>
15495 * glyphs-x.c (x_tab_control_update): if no widget values then
15498 * NEWS: update for new features.
15500 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15501 synthetic event to the native system.
15502 (reinit_vars_of_event_Xt): set force_event_pending to
15503 emacs_Xt_force_event_pending.
15505 * events.h (struct event_stream): add force_event_pending.
15507 * specifier.c (recompute_one_cached_specifier_in_window): add
15510 * redisplay.c (redisplay_frame): don't call
15511 update_frame_subwindows. Reset subwindow cachels when
15512 subwindows_changed, removing this was an optimization too far.
15514 * redisplay-output.c (compare_runes): reorganize so that we catch
15515 glyph changes when we want them. Set optimize_output when this
15516 would help layouts.
15517 (redisplay_output_layout): remove frame_really_changed, use
15518 optimize_output instead.
15520 * redisplay-msw.c (mswindows_output_display_block): reset
15521 optimize_output after outputting a glyph.
15522 * redisplay-x.c (x_output_display_block): ditto.
15523 * redisplay-tty.c (tty_output_display_block): ditto.
15525 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15527 (gutter_specs_changed): do specific gutter positions.
15528 (top_gutter_specs_changed): new function. Only update the
15529 specified gutter specs.
15530 (bottom_gutter_specs_changed): ditto.
15531 (left_gutter_specs_changed): ditto.
15532 (right_gutter_specs_changed): ditto.
15534 * gui.c (gui_item_hash_internal): new function, does a real hash.
15535 (gui_item_id_hash): use it.
15536 (gui_item_hash): hash the eval'ed gui_item.
15538 * gui-x.c (popup_selection_callback): send an eval event to call
15539 Fupdate_widget_instances.
15541 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15542 to call Fupdate_widget_instances.
15544 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15545 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15547 * glyphs.c: (update_frame_subwindows): deleted.
15548 (Fupdate_widget_instances): new function for updating the dirty
15549 state of widgets that might have changed.
15550 (syms_of_glyphs): add Qupdate_widget_instances.
15551 (full_list_hash): hash a list completely.
15552 (image_instance_hash): use it for items and properties.
15554 * frame-msw.c (mswindows_size_frame_internal): remove unused
15557 * faces.h (struct face_cachel): fix comment.
15559 * event-stream.c (Fdispatch_non_command_events): new
15560 function. Process non-command events, forcing an event cycle
15562 (syms_of_event_stream): declare.
15563 (event_stream_force_event_pending): new function. Force an event
15564 on the native event queue so that an event cycle will occur next
15568 (struct ntpipe_shove_stream):
15569 (mswindows_enqueue_dispatch_event):
15570 (mswindows_dequeue_dispatch_event):
15571 (mswindows_cancel_dispatch_event):
15572 (mswindows_pump_outstanding_events):
15573 (mswindows_drain_windows_queue):
15574 (mswindows_handle_paint):
15575 (mswindows_wnd_proc):
15576 (mswindows_key_to_emacs_keysym):
15577 (get_process_input_waitable):
15578 (emacs_mswindows_delete_stream_pair): re-indent file.
15579 (mswindows_need_event): do not process further fds if the windows
15580 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15581 fixes the 100% cpu problem.
15582 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15584 2000-03-15 Olivier Galibert <galibert@pobox.com>
15590 * emacs.c: Moved dump file searching to dumper.c.
15591 (Frunning_temacs_p): Fixed.
15593 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15594 last_lrecord_type_index_assigned.
15596 2000-02-20 Olivier Galibert <galibert@pobox.com>
15598 * symsinit.h: Added reinit parameter to init_console_stream
15601 * lisp.h: Added file parameter to pdump_load declaration.
15603 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15604 support. Added dump file searching.
15606 * config.h.in: Added EMACS_PROGNAME.
15608 * console-stream.c (init_console_stream): Fix reinitialisation
15609 when running from temacs.
15611 * alloc.c (pdump): Add id support.
15612 (pdump_load): Add file parameter and signature/id support.
15614 * Makefile.in.in: Add full pdump support.
15616 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15618 * postgresql.c: Update documentation to reflect latest code
15620 (print_result): Show tuple counts in printed representation when
15622 (Fpq_put_nbytes): MULE-ize.
15623 (Fpq_get_line_async): Ditto.
15625 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15627 * postgresql.c (Fpq_lo_import): Fix return value.
15628 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15630 2000-03-13 Ben Wing <ben@xemacs.org>
15632 * alloc.c (pdump_load):
15633 Fix compile warning under mswin.
15635 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15637 * postgresql.c: Mule-ization, bug fixes.
15638 Use PG_CODING to encapsulate coding system name changes.
15639 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15640 (pg-coding-system): Create.
15642 (Fpq_conn_defaults): Mule-ize.
15643 (Fpq_connectdb): Mule-ize & bug fix.
15644 (Fpq_connect_start): Mule-ize.
15645 (Fpq_set_client_encoding): Mule-ize.
15646 (Fpq_finish): Document `DEAD' connection status.
15647 (Fpq_clear): Ditto.
15648 (Fpq_pgconn): Mule-ize.
15649 (Fpq_exec): Mule-ize & bug fix.
15650 (Fpq_send_query): Ditto.
15651 (Fpq_get_result): Ditto.
15652 (Fpq_res_status): Mule-ize.
15653 (Fpq_result_error_message): Mule-ize.
15654 (Fpq_ntuples): fix comments.
15655 (Fpq_fname): Mule-ize.
15656 (Fpq_fnumber): Mule-ize.
15657 (Fpq_ftype): fix comments.
15658 (Fpq_get_value): Mule-ize.
15659 (Fpq_cmd_status): Ditto.
15660 (Fpq_cmd_tuples): Ditto.
15661 (Fpq_oid_value): Ditto.
15662 (Fpq_notifies): Ditto.
15663 (Fpq_lo_import): Ditto.
15664 (Fpq_lo_export): Ditto.
15665 (Fpq_get_line): Ditto.
15666 (Fpq_put_line): Mule-ize and bug fix.
15667 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15669 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15671 * postgresql.c (vars_of_postgresql): Mule-ize.
15672 (Fpq_conn_defaults): Ditto.
15674 2000-03-12 Ben Wing <ben@xemacs.org>
15676 * alloc.c (Fmake_byte_code):
15677 * alloc.c (debug_string_purity_print):
15678 * alloc.c (pdump_backtrace):
15679 * alloc.c (pdump_get_indirect_count):
15680 * alloc.c (pdump_register_sub):
15681 * alloc.c (pdump_register_object):
15682 * alloc.c (pdump_register_struct):
15683 * alloc.c (pdump_dump_data):
15684 * alloc.c (pdump_reloc_one):
15688 * console-msw.c (GetConsoleHwnd):
15689 * console-msw.c (msw_hide_console):
15690 * console-msw.c (msw_show_console):
15691 * console-msw.c (msw_ensure_console_buffered):
15692 * console-msw.c (msw_output_console_string):
15693 * console-msw.c (console_type_create_mswindows):
15695 a) Added functions to manipulate the console window for use with
15698 b) Added support for writing text to the console, which is now
15699 used under Windows when xemacs is not being run non-interactively,
15700 to write text that would otherwise be destined for stdout because
15701 under these circumstances, text written to stdout tends to
15702 disappear and not be seen.
15706 * event-Xt.c (x_event_to_emacs_event):
15707 * event-Xt.c (describe_event_window):
15708 * events-mod.h (XEMACS_MOD_CONTROL):
15710 * events.c (Fmake_event):
15711 * events.c (character_to_event):
15712 * events.c (event_to_character):
15713 * events.c (format_event_object):
15714 * events.c (Fevent_modifiers):
15716 * events.h (struct key_data):
15717 * events.h (struct button_data):
15718 * events.h (struct misc_user_data):
15719 * frame-x.c (Fcde_start_drag_internal):
15720 * frame-x.c (Foffix_start_drag_internal):
15721 * gpmevent.c (Freceive_gpm_event):
15723 * keymap.c (bucky_sym_to_bucky_bit):
15724 * keymap.c (control_meta_superify):
15725 * keymap.c (make_key_description):
15726 * keymap.c (keymap_lookup_directly):
15727 * keymap.c (create_bucky_submap):
15728 * keymap.c (keymap_store):
15729 * keymap.c (define_key_check_and_coerce_keysym):
15730 * keymap.c (define_key_parser):
15731 * keymap.c (define_key_alternate_name):
15732 * keymap.c (Fdefine_key):
15733 * keymap.c (raw_lookup_key_mapper):
15734 * keymap.c (struct map_keymap_unsorted_closure):
15735 * keymap.c (map_keymap_unsorted_mapper):
15736 * keymap.c (map_keymap_sort_predicate):
15737 * keymap.c (map_keymap_sorted):
15738 * keymap.c (accessible_keymaps_mapper_1):
15739 * keymap.c (where_is_recursive_mapper):
15740 * keymap.c (describe_map_mapper):
15741 * keymap.c (describe_map_sort_predicate):
15742 * keymap.c (describe_map):
15743 * keymap.c (complex_vars_of_keymap):
15744 And a number of other files, the key modifier preprocessor
15745 constants that xemacs uses have names that conflict with constants
15746 defined under MS Windows for other purposes, so they were renamed
15747 to begin with the prefix XEMACS_. The variables that hold such
15748 modifiers were changed to consistently be of type int to fix
15749 various compile warnings.
15751 * console.c (complex_vars_of_console):
15754 * device-msw.c (mswindows_finish_init_device):
15755 * device-msw.c (msw_get_workspace_coords):
15756 * device-msw.c (mswindows_device_system_metrics):
15757 and various other files, added support for a new
15758 device property called offset-workspace which returns the position
15759 of the upper left corner of the workspace area and goes along with
15760 the existing size-workspace property.
15763 * dialog-msw.c (push_bufbyte_string_as_unicode):
15764 * dialog-msw.c (mswindows_popup_dialog_box):
15765 Added support for XEmacs-style accelerator specifications in
15766 button text. Note: I didn't add support for this under X Windows,
15767 and somebody needs to do this.
15770 * dialog.c (Fpopup_dialog_box):
15771 Documented the support for accelerators that was just mentioned.
15773 editfns.c (get_home_directory): Changed behavior under Windows
15774 when HOME not defined; former behavior was irretrievably broken.
15777 * emacs.c (main_1):
15779 * minibuf.c (clear_echo_area_internal):
15780 * minibuf.c (echo_area_append):
15782 * print.c (std_handle_out_external):
15783 * print.c (std_handle_out_va):
15785 * print.c (write_string_to_stdio_stream):
15786 * print.c (output_string):
15787 * print.c (debug_print):
15788 * print.c (debug_backtrace):
15789 * print.c (debug_short_backtrace):
15790 Cleaned up the code that prints text to stdout so that this can be
15791 changed to output into a console window instead under MS Windows,
15792 as described above.
15795 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15796 * eval.c (internal_catch):
15797 * eval.c (unwind_to_catch):
15798 * eval.c (throw_or_bomb_out):
15799 * eval.c (condition_case_1):
15800 * eval.c (signal_1):
15801 * eval.c (check_error_state_sanity):
15802 * eval.c (call_with_suspended_errors_1):
15803 * eval.c (call_with_suspended_errors):
15804 * eval.c (reinit_vars_of_eval):
15805 Added code to catch throw loops and check for a pesky bug that may
15809 * event-msw.c (key_needs_default_processing_p):
15810 * event-msw.c (mswindows_wnd_proc):
15811 * event-msw.c (mswindows_modifier_state):
15812 * event-msw.c (emacs_mswindows_quit_p):
15813 * event-msw.c (vars_of_event_mswindows):
15814 a) Added support for using the alt key to select menu items as is
15815 standard under MS Windows. This is controlled using the variable
15816 menu-accelerator-enabled, just like under X Windows. There is an
15817 option on the options menu to turn this support on. I really
15818 think that it should be on by default under Windows, but I'm not
15819 going to make this change yet.
15821 b) Added support for dynamic display size changes under Windows.
15824 * event-stream.c (maybe_echo_keys):
15825 * event-stream.c (Fnext_event):
15826 * event-stream.c (command_builder_find_leaf):
15827 * event-stream.c (lookup_command_event):
15828 * event-stream.c (execute_command_event):
15829 * event-stream.c (pre_command_hook):
15830 * event-stream.c (post_command_hook):
15831 * event-stream.c (syms_of_event_stream):
15832 * event-stream.c (vars_of_event_stream):
15833 * event-stream.c (complex_vars_of_event_stream):
15834 * events.h (struct command_builder):
15836 a) Tried to clean up a little bit the horribly written x-specific
15837 accelerator code that crept into this file. I moved this code
15838 into menubar-x.c where it belongs. I also needed to move the
15839 command builder structure into the file events.h because it is
15840 accessed directly by this accelerator code. What I didn't do, but
15841 which should be done at some point, is to properly abstract this
15842 code using device methods instead of the kludgy way that it
15843 currently hooks into the event code.
15845 b) Added the lisp variables this-command-properties and
15846 last-command- properties, which should be used to synchronize two
15847 adjacent commands in preference to playing games with the variable
15848 this-command, which is typically what happens.
15850 c) Added some slightly nasty code to hook into the lisp support
15851 for shifted- motion-key selection. This is actually necessary for
15852 somewhat complicated reasons, which are described in
15853 simple.el. (NB: I think the proper thing would be to have the code
15854 that calls the pre and post command hooks also call out to generic
15855 lisp functions in simple.el, where all built-in stuff could be
15856 added. I will think about this more.)
15858 * event-unixoid.c (poll_fds_for_input):
15859 * lread.c (readchar):
15860 * redisplay-tty.c (tty_clear_frame):
15861 * redisplay-x.c (x_get_gc):
15862 * signal.c (interrupt_signal):
15863 And a whole bunch of other files: fixed up places that printed
15864 directly to stderr to instead call the function stderr_out so that
15865 the changes I made under Windows work correctly.
15867 * filemode.c (mode_string):
15871 * frame-msw.c (mswindows_size_frame_internal):
15872 Fixed the computation of frame size and position to keep the frame
15873 within the workspace area, rather than within the physical
15874 dimensions of the screen, so that the frame doesn't overlap window
15875 manager decorations, such as the start menu and toolbar, typically
15876 at the bottom of the screen.
15878 * frame.c (vars_of_frame):
15879 Changed the default frame title format under MS Windows to consist
15880 of buffername-XEmacs, which is standard under MS Windows. I think
15881 it might be a good idea to change this everywhere because I think
15882 it is superior to the current frame title format, but this is the
15883 kind of change that is likely to cause some people to get annoyed,
15884 so I'm not making it.
15886 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15888 * gui-msw.c (mswindows_handle_gui_wm_command):
15889 Fixed compile warnings.
15892 * gui-x.c (strdup_and_add_accel):
15893 * gui-x.c (button_item_to_widget_value):
15895 Added code to automatically put an accelerator onto the beginning
15896 of menu items that don't have one as is now the standard, and is
15897 described more later. Also fixed things so that the menu item
15898 name can be an evaluated expression, again a new standard.
15901 * gui.c (gui_item_add_keyval_pair):
15902 * gui.c (make_gui_item_from_keywords_internal):
15903 * gui.c (gui_add_item_keywords_to_plist):
15904 * gui.c (gui_item_accelerator):
15905 * gui.c (gui_name_accelerator):
15906 * gui.c (gui_item_included_p):
15907 * gui.c (gui_item_display_flush_left):
15908 * gui.c (gui_item_display_flush_right):
15909 * gui.c (parse_gui_item_tree_item):
15910 * gui.c (parse_gui_item_tree_children):
15911 * gui.c (parse_gui_item_tree_list):
15912 Mule-ized. Cleanup. GCPRO addition.
15914 * line-number.c (buffer_line_number):
15916 * lisp.h (EMACS_INT_MAX):
15917 Added the manifest constant EMACS_INT_MIN corresponding to the
15918 existing constant EMACS_INT_MAX. This is partially to fix compile
15919 warnings under Windows, and partly for cleanliness.
15922 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15923 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15924 * menubar-msw.c (displayable_menu_item):
15925 * menubar-msw.c (populate_menu_add_item):
15926 * menubar-msw.c (populate_or_checksum_helper):
15927 * menubar-msw.c (populate_menu):
15928 * menubar-msw.c (update_frame_menubar_maybe):
15929 * menubar-msw.c (prune_menubar):
15930 * menubar-msw.c (msw_char_is_accelerator):
15931 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15932 * menubar-msw.c (mswindows_handle_wm_command):
15933 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15934 * menubar-msw.c (mswindows_handle_wm_initmenu):
15935 * menubar-msw.c (mswindows_update_frame_menubars):
15936 * menubar-msw.c (mswindows_free_frame_menubars):
15937 * menubar-msw.c (mswindows_popup_menu):
15938 Fixed a bug in handling accelerators where an extra character
15939 would be displayed in the menu item. Also generalized the
15940 function displayable_menu_item because it is now used by the
15941 dialog box code as well. And finally, added code in the functions
15942 that create the menubar to extract a list of accelerators for the
15943 top level menubar, which is used in the event code to determine
15944 whether a particular alt-key combination should be used to invoke
15945 a menu item, or should be passed through to access the standard
15946 XEmacs keymap binding for this key combination.
15948 Much needed GCPROing.
15951 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15952 * menubar-x.c (menu_item_descriptor_to_widget_value):
15953 * menubar-x.c (restore_in_menu_callback):
15954 * menubar-x.c (x_popup_menu):
15955 * menubar-x.c (menu_move_up):
15956 * menubar-x.c (menu_move_down):
15957 * menubar-x.c (menu_move_left):
15958 * menubar-x.c (menu_move_right):
15959 * menubar-x.c (menu_select_item):
15960 * menubar-x.c (command_builder_operate_menu_accelerator):
15961 * menubar-x.c (menu_accelerator_junk_on_error):
15962 * menubar-x.c (command_builder_find_menu_accelerator):
15963 * menubar-x.c (Faccelerate_menu):
15965 Moved a whole bunch of code here that was previously in
15966 event-stream.c as described above. There is also code connected
15967 to the new standard of adding an accelerator to the beginning of
15968 menu items that don't have one as described above and below.
15971 * menubar.c (menu_parse_submenu_keywords):
15972 * menubar.c (Fmenu_find_real_submenu):
15973 * menubar.c (Fnormalize_menu_item_name):
15974 * menubar.c (syms_of_menubar):
15975 * menubar.c (vars_of_menubar):
15976 * menubar.c (complex_vars_of_menubar):
15978 a) Cleaned up a bunch of documentation and improved it.
15980 b) XEmacs now automatically adds an accelerator onto the beginning
15981 of any menu items that don't have one. I did this because there
15982 will inevitably be some menu items on the main menubar that don't
15983 have accelerators on them because the package that adds that
15984 particular menu item hasn't yet been fixed up to have accelerators
15985 in them and it looked rather strange to have some items with and
15986 some items without accelerators, especially since even in items
15987 without accelerators, you can, at least under windows, still
15988 access the item through an accelerator corresponding to the first
15989 character in the item's name. If people don't like this behavior,
15990 I can add a variable to turn it off optionally, but I'm not sure
15991 this is a good idea because we really do need to have accelerators
15992 on all of the menu items, and if a package doesn't like the
15993 accelerators being put on the first character, then it should put
15994 the accelerators where they belong.
15996 c) I made a behavior change, which is that the descriptor that
15997 specifies the text of the menu item, which formerly was just a
15998 string, can now also be an evaluated expression. This makes this
15999 descriptor parallel with all of the others, which could also be
16000 evaluated expressions. This also obviates the need for the
16001 keyword :label, which was previously listed in the documentation
16002 as unimplemented, and which was for the same purpose.
16007 * ntproc.c (new_child):
16008 * ntproc.c (sys_spawnve):
16009 * ntproc.c (find_child_console):
16010 * ntproc.c (sys_kill):
16011 Fixed compile warnings. By the way, this file should really go
16012 away entirely, and this will happen as soon as Kirill makes his
16013 final round of process cleanups, which affect the function
16017 * process-nt.c (struct nt_process_data):
16018 * process-nt.c (find_process_from_pid):
16019 * process-nt.c (send_signal_the_nt_way):
16020 * process-nt.c (enable_child_signals):
16021 * process-nt.c (find_child_console):
16022 * process-nt.c (send_signal_the_95_way):
16023 * process-nt.c (nt_finalize_process_data):
16024 * process-nt.c (ensure_console_window_exists):
16025 * process-nt.c (nt_create_process):
16026 * process-nt.c (nt_kill_child_process):
16027 * process-nt.c (nt_kill_process_by_pid):
16028 * process-nt.c (nt_open_network_stream):
16029 * process-nt.c (vars_of_process_nt):
16030 Copied over code from Emacs 20.5 to correctly send signals to sub-
16031 processes under Windows 95. Also added code to automatically
16032 create and hide console window when a sub-process is created under
16033 Windows 95, which obviates the need for the separate runemacs.exe
16034 executable, and finally implemented some variables that were
16035 implemented in Emacs 20.5, but previously not in XEmacs. These
16036 include mswindows- start-process-share-console and
16037 mswindows-start-process-inherit-error-mode. (Both of these only
16038 apply to Windows 95.)
16040 * regex.c (regex_compile): Fixed a compile warning.
16043 * select-msw.c (mswindows_own_selection):
16044 * select-msw.c (mswindows_get_foreign_selection):
16045 * select-msw.c (mswindows_disown_selection):
16046 * select-msw.c (console_type_create_select_mswindows):
16047 * select-msw.c (syms_of_select_mswindows):
16048 Cleaned up the file and implemented the device method
16049 selection_exists_p, which had accidentally been left out. Also
16050 removed four lisp functions that were remnants from before the
16051 time when the selection code was properly device abstracted.
16052 These functions are no longer needed because there are generic
16053 equivalents, and because they were added recently and don't exist
16054 in FSF Emacs, I don't think there's any problem with just deleting
16058 * sysdep.c (sys_subshell):
16059 Fixed a compile warning, although in this case there's probably
16060 something wrong with this code, and it ought to be looked into
16061 more thoroughly by somebody who understands it.
16064 * window.c (Fwindow_text_area_height):
16065 * window.c (Fwindow_width):
16066 * window.c (Fwindow_full_width):
16067 * window.c (Fwindow_pixel_width):
16068 * window.c (debug_print_window):
16069 * window.c (syms_of_window):
16070 Added functions window-text-area-height and window-full-width,
16071 which are functions for returning various width and height
16072 characteristics of a window. (One of these functions is necessary
16073 for making the file dialog box work correctly, and the other one
16074 was added for completeness.) Also added a table to the
16075 documentation for window-height which describes the entire scheme
16076 for accessing width and height characteristics of a window.
16078 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16080 * nt.c (fstat): Added a comment for another problem with
16081 non-encapsulated [f]stat(), reported by Adrian Aichner
16082 <aichner@ecf.teradyne.com>.
16084 2000-03-11 Andy Piper <andy@xemacs.org>
16086 * window.c (make_dummy_parent): initialize subwindow instance
16088 (Fset_window_configuration): zero extent_modiff.
16090 2000-03-10 Andy Piper <andy@xemacs.org>
16092 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16093 more changes can be triggered.
16094 (Fredisplay_frame): ditto.
16095 (Fredraw_device): ditto.
16096 (Fredisplay_device): ditto.
16097 (redisplay_frame): make non-static.
16098 (redisplay_frame): call update_frame_gutter_geometry outside of
16101 * gutter.h: declare update_frame_gutter_geometry.
16103 * redisplay.h: declare redisplay_frame.
16105 * gutter.c (update_frame_gutter_geometry): move geometry changes
16106 in update_frame_gutters here. Geometry changes can only occur
16107 outside of redisplay.
16108 (update_frame_gutters): remove geometry change code.
16109 (Fredisplay_gutter_area): make sure that we are in display when we
16110 update and that we have flushed any size changes.
16112 2000-03-11 Andy Piper <andy@xemacs.org>
16114 * alloc.c (pdump_dump_data): remove i & count shadows.
16116 2000-02-27 Mike Alexander <mta@arbortext.com>
16118 * sysdep.h: Declare pdump_read_file
16120 * sysdep.c (pdump_read_file): New function
16122 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16125 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16127 * lrecord.h: add `lrecord_type_pgsetenv'.
16129 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16131 * symsinit.h: declare (vars|syms)_of* functions.
16132 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16134 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16136 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16138 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16141 * emacs.c (main_1): Call postgres initialization code.
16143 * postgresql.h: New file. PostgreSQL RDBMS support.
16144 * postgresql.c: New file.
16146 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16148 * redisplay-output.c (redisplay_output_display_block): Disable
16151 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16153 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16154 (Fcanna_henkan_next): Ditto.
16155 (Fcanna_bunsetu_henkou): Ditto.
16156 (Fcanna_henkan_kakutei): Ditto.
16157 (Fcanna_henkan_end): Ditto.
16158 (Fcanna_henkan_quit): Ditto.
16159 (Fcanna_henkan_next): Set retun value correctly.
16160 (c2mu): Use unsigned char instead of signed char.
16162 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16164 * emacs.c (main_1): Always call syms_of_gui.
16165 * inline.c: include gui.h
16167 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16169 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16170 converted to Lisp_Object.
16171 (Qtop_bottom): New variable.
16172 (syms_of_redisplay): Initialize it.
16173 * redisplay.h (Vvisible_bell): Ditto.
16174 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16175 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16176 only flash top and bottom.
16178 2000-03-08 Andy Piper <andy@xemacs.org>
16180 * buffer.c (Frename_buffer): record new buffer name the right way.
16182 2000-03-08 Andy Piper <andy@xemacs.org>
16184 * glyphs.c (update_subwindow): increase hash depth so that widget
16185 items get picked up properly.
16187 * redisplay-output.c (compare_runes): increase hash depth so that
16188 widget items get picked up properly.
16190 2000-03-08 Andy Piper <andy@xemacs.org>
16192 * gutter.c (output_gutter): add some debug.
16194 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16195 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16196 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16198 * redisplay-output.c (compare_runes): use display_hash to
16199 determine if glyphs really are not the same.
16201 * glyphs.c (update_subwindow): check display_hash to see if
16202 anything really needs to be updated. If not then do
16203 nothing. Record the display_hash after updating.
16204 (image_instance_equal): compare the image_instance face also.
16206 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16208 * redisplay.h: Fix comment style.
16210 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16212 * consle-msw.h (struct mswindows_frame):
16213 Added new member paint_pending to indicate whether a WM_PAINT
16214 magic event has been queued for this frame.
16216 * event-msw.c (mswindows_drain_windows_queue):
16217 Don't queue a WM_PAINT magic event if one is already queued.
16218 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16220 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16222 2000-03-07 Didier Verna <didier@xemacs.org>
16224 * dired.c: #include `regex.h' after `sysfile.h'.
16226 2000-03-06 Martin Buchholz <martin@xemacs.org>
16228 * sound.c (init_nas_sound): Fix compiler warning.
16230 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16232 (MARK_STRUCT_AS_FREE):
16233 (MARK_STRUCT_AS_NOT_FREE):
16234 Make `gcc -fstrict-aliasing' work properly.
16236 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16238 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16239 (mswindows_delete_device): Call CoUnnitialize().
16241 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16243 2000-02-25 <CraigL@DyCon.com>
16245 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16248 * sysdep.c: This extern declaration for environ prevents MinGW
16249 from finding the variable in CRTDLL.DLL.
16251 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16253 (SHGFI_EXETYPE): ..
16254 (WM_MOUSEWHEEL): ..
16255 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16257 (MMRESULT): Removed, now defined in cygwin's windows headers.
16259 (uid_t,gid_t,pid_t,ssize_t): ..
16260 (_timeb): Removed, MinGW defines both _timeb and timeb.
16261 (HAVE_H_ERRNO): Added.
16262 (HAVE_TZNAME): Added, configure is not detecting this.
16264 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16266 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16267 * syntax.c (syntax_match): Use it.
16269 * cmds.c: Import auto-fill-chars from FSF Emacs.
16270 (Vauto_fill_chars): New variables.
16271 (internal_self_insert): Check Vauto_fill_chars.
16273 Declare auto-fill-chars as a Lisp variable and initialize it.
16275 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16277 * fileio.c (Fmake_symbolic_link):
16279 Run handlers even if local machine doesn't have symlinks.
16281 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16283 * event-msw.c (mswindows_drain_windows_queue):
16284 Don't generate paint magic events for non-XEmacs frames.
16286 2000-03-05 Andy Piper <andy@xemacs.org>
16288 * redisplay.c (redisplay_frame): generate_displayable_area and
16289 friends assumes that we are not in GC, we therefore have to make
16290 sure that this doesn't happen.
16292 * gutter.c (calculate_gutter_size): generate_displayable_area
16293 assumes that we are not in GC, we therefore have to make sure that
16294 this doesn't happen.
16296 2000-03-05 Martin Buchholz <martin@xemacs.org>
16298 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16300 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16302 * redisplay.c (regenerate_window): Make sure we set a sane value
16303 for end_pos even if we jump out of the loop.
16304 (regenerate_window): Answer Ben's question :-).
16305 (start_end_of_last_line): Add may_error argument.
16306 (start_of_last_line):
16307 (end_of_last_line): Pass may_error = 0.
16308 (end_of_last_line_may_error): New function.
16309 (pixel_to_glyph_translation): Use it, so we don't crash in
16312 2000-03-04 Andy Piper <andy@xemacs.org>
16314 * window.h (struct window): add gutter_extent_modiff.
16316 * window.c (allocate_window): zero out gutter_extent_modiff.
16318 * redisplay.h: declare sync_display_line_structs.
16320 * redisplay.c (add_glyph_rune): add a better comment.
16322 * redisplay-output.c (sync_display_line_structs): made non-static.
16323 (compare_runes): remove unneccesary glyph cachel access.
16325 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16327 * gutter.c (output_gutter): don't output the gutter if extent
16328 changes only involve extents in buffers. use 4 sets of display
16330 (gutter_extent_signal_changed_region_maybe): new function. Mark
16331 extents in gutters as changed.
16332 (update_frame_gutters): use 4 sets of display lines.
16333 (reset_gutter_display_lines): ditto.
16334 (free_frame_gutters): ditto.
16335 (redraw_exposed_gutter): force output of gutters.
16337 * frame.h (struct frame): add 4 sets of gutter display lines.
16339 * extents.c: (extent_changed_for_redisplay): signal changes to
16340 extents in strings in the gutter as well as extents in buffers.
16342 2000-03-02 Andy Piper <andy@xemacs.org>
16344 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16346 * frame.c (Fmake_frame): make sure the gutters get initialized
16347 after the frame is visible.
16348 (set_frame_selected_window): re-arrange compilation macros a
16350 (change_frame_size_1): mark gutters changed.
16352 * device.c (Fset_device_class): mark gutters changed.
16354 2000-03-01 Andy Piper <andy@xemacs.org>
16356 * window.c (window_top_frame_gutter_height): deleted.
16357 (window_bottom_frame_gutter_height): ditto.
16358 (window_left_frame_gutter_height): ditto.
16359 (window_right_frame_gutter_height): ditto.
16360 (window_top_gutter_height): don't use them.
16361 (window_bottom_gutter_height): ditto.
16362 (window_left_gutter_width): ditto.
16363 (window_right_gutter_width): ditto.
16364 (Fsplit_window): ditto.
16365 (Fwindow_pixel_edges): don't use border dimensions here.
16367 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16368 (update_scrollbar_instance): ditto.
16370 * redisplay.c (generate_modeline): don't take gutters into account.
16371 (generate_modeline): ditto.
16372 (redisplay_frame): small gutter display optimization.
16374 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16376 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16377 gutters into account.
16379 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16380 for window position and type.
16382 * gutter.c (get_gutter_coords): fix for frame gutters.
16383 (update_frame_gutters): update frame geometry if the gutters have
16385 (init_frame_gutters): record current gutter geometries.
16387 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16389 (mswindows_widget_instantiate): ditto.
16391 * frame.h (struct frame): add current_gutter_bounds.
16393 * frame.c (change_frame_size_1): position window and minibuffer
16394 appropriately taking into account the frame gutters.
16396 * frame-x.c: (x_initialize_frame_size): take into account the
16399 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16401 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16403 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16405 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16407 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16409 * file-coding.c (reset_decoding_stream): Clear previous
16410 detection state when autodetect.
16412 2000-02-29 Didier Verna <didier@xemacs.org>
16414 * extents.c (set_extent_glyph_1): don't require extents to be
16417 2000-02-27 Andy Piper <andy@xemacs.org>
16419 * gutter.c (Fset_default_gutter_position): don't default left and
16420 right gutter visibility to t.
16421 (Fset_default_gutter_position): run
16422 default-gutter-position-changed-hook.
16423 (syms_of_gutter): add default-gutter-position-changed-hook.
16425 2000-02-26 Andy Piper <andy@xemacs.org>
16427 * specifier.c (Fmake_specifier): add gutter references.
16429 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16431 * lisp.h: declare Fvalid_plist_p.
16433 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16435 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16436 well as its visibility so that it gets reconstructed.
16437 (construct_window_gutter_spec): new function. Construct a string
16438 to be displayed in the gutter from a plist of strings. Take care
16439 to only use elements that are declared as visible.
16440 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16442 (gutter_validate): allow plists of strings in the specifier.
16443 (gutter_specs_changed): construct the real_gutter from the gutter
16444 specs using construct_window_gutter_spec.
16445 (gutter_visible_validate): gutter-visible is a new specifier type.
16446 (Fgutter_visible_specifier_p): new function for the new specifier.
16447 (syms_of_gutter): declare gutter-visible and
16448 Fgutter_visible_specifier_p.
16449 (specifier_type_create_gutter): intitalize new gutter-visible
16451 (reinit_specifier_type_create_gutter): ditto.
16452 (specifier_vars_of_gutter): use new specifier type for gutter
16454 (init_frame_gutters): construct real_gutter correctly.
16455 (Fgutter_specifier_p): beef up documentation.
16456 (Fgutter_size_specifier_p): ditto.
16458 * winslots.h: add real_gutter slots.
16460 2000-02-25 Andy Piper <andy@xemacs.org>
16462 * device-msw.c: Be kind to older cygwin versions. From Raymond
16463 Toy <toy@rtp.ericsson.se>.
16465 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16466 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16468 2000-02-25 Martin Buchholz <martin@xemacs.org>
16470 * elhash.c (MARK_OBJ): Practice macro hygiene.
16472 2000-02-24 Martin Buchholz <martin@xemacs.org>
16474 * miscplay.c: s/__inline__/inline/g;
16475 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16476 (get_device_compdc): INLINE ==> static inline
16477 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16478 find -name '*.h' | \
16479 xargs global-replace \
16480 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16482 2000-02-25 Andy Piper <andy@xemacs.org>
16484 * window.c (window_top_frame_gutter_height): new function.
16485 (window_top_window_gutter_height): ditto.
16486 (window_top_gutter_height): use them.
16487 (window_bottom_frame_gutter_height): new function.
16488 (window_bottom_window_gutter_height): ditto.
16489 (window_bottom_gutter_height): use them.
16490 (window_left_window_gutter_width): new function.
16491 (window_left_frame_gutter_width): ditto.
16492 (window_left_gutter_width): use them.
16493 (window_right_window_gutter_width): new function.
16494 (window_right_frame_gutter_width): ditto.
16495 (window_right_gutter_width): use them.
16496 (window_pixel_height): new function. calulate window pixel height
16497 with frame gutter involvement.
16498 (Fsplit_window): calculate new sizes taking frame gutters into
16500 (window_char_height_to_pixel_height): don't include frame gutters.
16501 (window_char_height): use window_pixel_height.
16502 (window_pixheight): rename from window_pixel_height.
16503 (change_window_height): use it.
16504 (window_pixel_height_to_char_height): don't include frame gutters.
16505 (window_char_width_to_pixel_width): ditto.
16507 2000-02-25 Andy Piper <andy@xemacs.org>
16509 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16512 2000-02-24 Martin Buchholz <martin@xemacs.org>
16514 * alloc.c (staticpro):
16515 (staticpro_nodump):
16520 (compact_string_chars):
16521 (pdump_dump_wired):
16522 Convert: if (foo) abort(); ==> assert (! foo);
16524 * eldap.c (Fldap_search_basic):
16528 Fix compiler warnings, and possible crashes if (random) return
16529 value were to be used.
16531 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16533 * device-msw.c: Workaround ResetDC failure.
16535 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16536 applying a devmode.
16538 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16539 (mswindows_text_width): Do not start printer page.
16541 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16543 * glyphs-msw.c: Added image methods to msprinter console and
16544 msprinter-specific image instantiation.
16546 2000-02-20 Mike Alexander <mta@arbortext.com>
16548 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16549 to avoid crashes when selection-sets-clipboard is on
16550 (mswindows_own_selection): ditto
16552 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16555 * redisplay-msw.c (get_frame_dc):
16556 (get_frame_compdc):
16558 * device-msw.c (mswindows_init_device):
16559 (mswindows_delete_device):
16560 (msprinter_init_device):
16561 (msprinter_delete_device):
16562 * frame-msw.c (mswindows_init_frame_1):
16563 (mswindows_delete_frame):
16564 (msprinter_init_frame_3):
16565 (msprinter_delete_frame): Move compatible DC to device object from
16566 frame object, for both mswindows and msprinter. Only one at a time
16567 is needed, it is a real waste to have one per frame!
16569 2000-02-23 Andy Piper <andy@xemacs.org>
16571 * glyphs.c: add dynamic width and height elements.
16572 (image_instance_equal): ditto.
16574 * glyphs-widget.c (widget_query_geometry): calculate width and
16575 height dynamically if required.
16576 (initialize_widget_image_instance): initialize dynamic dimensions.
16577 (widget_instantiate): pick-up dynamic dimensions.
16579 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16580 dynamic determination. Add appropriate macros.
16582 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16584 (WINDOW_GUTTER_SIZE): ditto.
16585 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16587 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16589 (get_frame_dc): ditto.
16591 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16594 2000-02-23 Martin Buchholz <martin@xemacs.org>
16596 * XEmacs 21.2.31 is released.
16598 2000-02-22 Ben Wing <ben@xemacs.org>
16600 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16602 2000-02-22 Andy Piper <andy@xemacs.org>
16604 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16606 2000-02-21 Mike Sperber <mike@xemacs.org>
16610 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16613 2000-02-21 Mike Sperber <mike@xemacs.org>
16615 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16617 2000-02-21 Martin Buchholz <martin@xemacs.org>
16619 * XEmacs 21.2.30 is released.
16621 2000-02-20 Martin Buchholz <martin@xemacs.org>
16623 Performance hacking.
16625 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16626 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16627 * emacs.c (main_1):
16629 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16630 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16631 * symeval.h (DEFVAR_SYMVAL_FWD):
16632 * symbols.c (guts_of_unbound_marker):
16633 Make all c_readonly objects also lisp_readonly and marked for life.
16634 * lrecord.h (struct lrecord_implementation):
16635 Document flags better.
16636 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16637 * lrecord.h (DECLARE_LRECORD):
16638 * lrecord.h (XSETRECORD):
16639 * lrecord.h (RECORDP):
16640 * lrecord.h (RECORD_TYPEP):
16641 * lrecord.h (RECORD_MARKER): New.
16642 * lrecord.h (error_check_*):
16643 * lrecord.h (CONCHECK_NONRECORD):
16644 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16645 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16646 * lrecord.h (set_lheader_implementation):
16647 * lrecord.h (enum lrecord_type): New.
16648 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16649 * alloc.c (disksave_object_finalization_1):
16650 * alloc.c (mark_object):
16651 * alloc.c (lrecord_type_index):
16652 * alloc.c (tick_lcrecord_stats):
16653 * alloc.c (Fgarbage_collect):
16654 * alloc.c (init_alloc_once_early):
16655 * alloc.c (pdump_load):
16656 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16657 * alloc.c (lrecord_type_index): Delete.
16658 Make lisp object type indexes be constant.
16659 Makes (byte-compile) 5% faster.
16660 Put all marker functions into their own array.
16661 Makes (garbage-collect) 5% faster.
16662 Optimize SYMBOL_VALUE_MAGIC_P.
16663 Makes (byte-compile) 2-3% faster.
16664 * config.h.in (gc_checking_assert): New.
16665 * alloc.c: Use gc_checking_assert().
16666 * .dbxrc: Make compatible with new object type implementation.
16667 * .gdbinit: Make compatible with new object type implementation.
16668 * alloc.c: Delete all symbols defined only for debugging, such as
16669 Lisp_Type_Vector and lrecord_charset.
16671 2000-02-21 Andy Piper <andy@xemacs.org>
16673 * gui-msw.c (Fmswindows_shell_execute): fix file location
16676 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16677 unshowing so that set_window_buffer doesn't undo
16678 kill_buffer_hook's hard work.
16680 * glyphs-widget.c (tab_control_query_geometry): don't count the
16681 first item when calculating geometry.
16683 * glyphs.c (map_subwindow): remove redundant code.
16684 (update_frame_subwindows): be more circumspect about when to
16687 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16688 when items haven't changed. Update faces if faces have changed as
16689 well as just the widget face.
16690 (x_tab_control_update): Update faces if faces have changed as well
16691 as just the widget face.
16693 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16695 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16697 (build_syscolor_string): Use mswindows_color_to_string to try to
16699 (mswindows_device_system_metrics): Reverse the foreground and
16700 background colors so that they match the documentation.
16702 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16703 they match the default Windows palette.
16704 (mswindows_color_to_string): New function.
16706 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16708 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16710 2000-02-18 Olivier Galibert <galibert@pobox.com>
16712 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16713 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16715 * symbols.c (init_symbols_once_early): Removed obsolete
16716 DATA_SEG_BITS related kludge.
16717 (defvar_magic): Ditto.
16719 * malloc.c: Removed obsolete DATA_SEG_BITS
16721 * mem-limits.h: Ditto.
16723 * Makefile.in.in: Removed obsolete HAVE_SHM
16726 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16728 * device-msw.c (mswindows_delete_device): Free DDE string
16731 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16733 * keymap.c (get_keyelt):
16734 * unexnt.c (unexec):
16735 * vm-limit.c (memory_warnings):
16736 * ntheap.c (recreate_heap):
16737 * ntheap.h (UNINIT_PTR):
16738 * select-msw.c (Fmswindows_get_clipboard):
16739 (Fmswindows_set_clipboard):
16740 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16742 * menubar-msw.c (displayable_menu_item):
16744 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16745 * sysdep.c (sys_subshell):
16746 * process-nt.c (nt_create_process):
16747 * nt.c (normalize_filename):
16748 (dostounix_filename):
16749 (unixtodos_filename):
16750 * ntproc.c (win32_executable_type):
16751 * ntplay.c (play_sound_data_1):
16753 * editfns.c (get_home_directory):
16754 * event-msw.c (struct winsock_stream):
16755 (mswindows_dde_callback):
16756 * device-msw.c (msprinter_init_device):
16757 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16759 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16760 mswindows_clear_toolbar were swapped!
16762 * objects-msw.c:(colormap_t):
16764 * emacs.c (struct standard_args): Fixed const jumble.
16766 * glyphs-widget.c (update_widget): Fixed comparison notation.
16768 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16770 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16771 __declspec(noreturn) syntax.
16773 2000-02-19 Martin Buchholz <martin@xemacs.org>
16775 * eldap.c (Fldap_open):
16776 (Fldap_search_basic):
16779 Use new coding system conversion macros.
16781 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16783 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16785 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16787 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16788 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16790 * eldap.c (Qadd, Qreplace): New constant symbols
16791 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16792 interruptions by XEmacs signals
16793 Remove unnecessary calls to slow_down_interrupts and
16794 speed_up_interrupts
16795 (Fldap_search_basic): Renamed from Fldap_search_internal
16796 Added new optional parameter VERBOSE that triggers the
16797 display of progress messages
16798 Remove unnecessary calls to slow_down_interrupts and
16799 speed_up_interrupts
16800 LDAP result code analysis rewritten
16801 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16802 (syms_of_eldap): Define the new symbols and functions
16805 2000-02-17 Martin Buchholz <martin@xemacs.org>
16807 * realpath.c: Determine PATH_MAX maximally portably.
16809 * insdel.c (bytecount_to_charcount): Optimize.
16810 The function used to be optimized for entirely ASCII sequences.
16811 Now it is optimized for successive characters from the same
16812 charset. This also wins big for _mostly_ ASCII sequences.
16814 * fileio.c (Ffile_truename): convert return from realpath() using
16815 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16816 - Rewrite GCPROing slightly.
16818 * sysdep.c (sys_open): Do filename conversion, like all other
16819 sys_* functions. Fixes bug:
16820 (let ((file-name-coding-system 'iso-8859-2))
16821 (write-region x y latin2-name))
16822 ==> writes filename using internal encoding.
16824 2000-02-18 Martin Buchholz <martin@xemacs.org>
16826 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16827 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16828 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16829 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16830 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16831 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16832 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16833 (CONST_IF_NOT_DEBUG): Delete.
16834 * alloc.c (this_one_is_unmarkable): Delete.
16835 (mark_object): Don't check for this_one_is_unmarkable. Use the
16836 c_readonly flag instead.
16837 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16839 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16841 * event-msw.c (mswindows_drain_windows_queue):
16842 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16843 away redundant repaint events.
16845 2000-02-17 Andy Piper <andy@xemacs.org>
16847 * redisplay.h: declare mark_redisplay_structs.
16849 * redisplay.c (redisplay_window):
16850 (redisplay_frame): don't check subwindows_state_changed.
16851 (mark_redisplay): mark gutters here.
16853 * glyphs.c: (instantiate_image_instantiator): always layout if we
16854 haven't done so already.
16855 (allocate_image_instance): don't mark as dirty.
16856 (update_subwindow): bind inhibit_quit.
16858 * gutter.c (mark_gutters): new function.
16860 * glyphs-x.c (x_update_widget): Always resize to get round a
16863 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16864 breaking absolutely everything.
16866 * gutter.h: declare mark_gutters.
16868 2000-02-16 Martin Buchholz <martin@xemacs.org>
16870 * XEmacs 21.2.29 is released.
16872 2000-02-15 Olivier Galibert <galibert@pobox.com>
16874 * fns.c (size_bit_vector): Fix computation of the size.
16876 2000-02-15 Martin Buchholz <martin@xemacs.org>
16878 * *.[ch]: Change CONST to const globally.
16879 find -name '*.[ch]' | \
16880 xargs global-replace \
16881 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16882 - Remove vestigial references to CONST_IS_LOSING
16884 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16886 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16887 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16888 events instead of dispatching them directly.
16889 (mswindows_handle_paint): New function to do repainting.
16890 (mswindows_wnd_proc):
16891 (emacs_mswindows_handle_magic_event): Call above function.
16893 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16895 * objects-msw.c (mswindows_create_font_variant): Return the new
16897 (initialize_font_instance): Get font metrics from the underlined
16898 variant of the font to cope with the case where the underlined
16899 font has a bigger descent.
16901 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16903 * gui.c (gui_item_accelerator): Return the first underlined
16904 character in item name.
16906 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16908 * lisp.h: Added Qprinter.
16910 * general.c (syms_of_general): Initialized it.
16912 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16914 (get_frame_compdc): Made inline.
16916 * console.h (struct console_methods): Added eject_page method.
16918 * frame.h: Added FRAME_DISPLAY_P and friends.
16919 Aligned backslahes in many macros in more readable fashion.
16920 Added page_number to struct frame, and an accessor macro
16923 * defice.h: Added DEVICE_DISPLAY_P and friends.
16925 * device.c (Fdevice_printer_p): Used these.
16927 * frame.c (allocate_frame_core): Initialize page number.
16928 (Fprint_job_page_number):
16929 (Fprint_job_eject_page): Implemented.
16931 * frame-msw.c (msprinter_eject_page): Added method.
16932 (msprinter_start_page): Added.
16934 * window.c (Fwindow_truncated_p): Fixed docstring.
16935 (Fwindow_last_line_visible_height): Implemented.
16937 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16939 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16941 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16943 * syntax.c (scan_words): Always advance at least one character.
16945 2000-02-13 Andy Piper <andy@xemacs.org>
16947 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16948 to make sure the glyph is in the cachels.
16950 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16951 global image instance flag.
16952 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16953 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16955 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16956 (Fset_image_instance_property): mark layout as changed.
16957 (invalidate_glyph_geometry_maybe): mark layout as changed.
16958 (glyph_width): use new NEEDS_LAYOUT macro.
16959 (glyph_ascent): ditto.
16960 (glyph_descent): ditto.
16961 (glyph_height): ditto.
16962 (image_instance_layout): mark layout as clean after laying out.
16963 (update_subwindow): don't mark layout as clean here.
16965 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16966 should no longer be needed.
16968 * glyphs-x.c (x_update_widget): sanitize asserts.
16969 (x_finalize_image_instance): sanitize assignment to widgets.
16971 * glyphs-widget.c (widget_instantiate): don't need to clear the
16974 2000-02-13 Martin Buchholz <martin@xemacs.org>
16976 * sysdep.c (getcwd): Use standard prototype.
16977 * sysdep.h (getcwd): Use standard prototype.
16979 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16980 (sequence, start, end).
16981 Remove redundant type checking.
16982 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16983 view of `caller-protects') to avoid a crash where the real fix was
16986 2000-02-12 Martin Buchholz <martin@xemacs.org>
16988 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16990 * s/sol2.h: Remove feature macro initialization.
16992 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16993 (vector_hash): New. Code from internal_hash.
16995 Fix up allocation subsystem comments.
16997 * config.h.in: Add __EXTENSIONS__ for Solaris.
16999 * systime.h (EMACS_GETTIMEOFDAY): New.
17000 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17001 Remove Solaris-specific code.
17002 Use void* for the (ignored) second arg for gettimeofday().
17004 * elhash.c (hash_table_hash): Implement it, finally.
17005 * elhash.c: Use hashcode_t.
17007 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17008 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17010 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17011 * fns.c (size_bit_vector):
17012 * alloc.c (size_vector):
17013 (make_vector_internal):
17014 (make_bit_vector_internal):
17015 (sweep_bit_vectors_1):
17016 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17018 2000-02-10 Martin Buchholz <martin@xemacs.org>
17020 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17021 Include strings.h to avoid warnings for bzero and strcasecmp.
17023 2000-02-10 Olivier Galibert <galibert@pobox.com>
17025 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17026 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17028 * fns.c (size_bit_vector): New. Declare bit vectors as a
17031 2000-02-10 Olivier Galibert <galibert@pobox.com>
17033 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17034 use a value field instead.
17035 (symbol_value_forward_forward): Use value field.
17036 (DEFVAR_SYMVAL_FWD): Use value field.
17037 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17038 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17039 (DEFVAR_CONST_INT): Ditto.
17040 (DEFVAR_BOOL): Ditto.
17041 (DEFVAR_CONST_BOOL): Ditto.
17042 (DEFVAR_INT_MAGIC): Ditto.
17043 (DEFVAR_BOOL_MAGIC): Ditto.
17045 * symbols.c (guts_of_unbound_marker): Use value field.
17046 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17047 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17049 * lisp.h: Declare dumpopaque and noninteractive1.
17051 * alloc.c (dumpopaque): Added.
17052 (pdump_dump_opaquevec): Added.
17053 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17054 (pdump_load): Reload opaque data. Sync noninteractive1 with
17057 2000-02-10 Andy Piper <andy@xemacs.org>
17059 * glyphs.c (image_instance_layout): if the size changes, mark it
17062 * redisplay-output.c (redisplay_output_layout): Update the
17064 (redisplay_output_subwindow): ditto.
17066 * glyphs.c (update_subwindow): make sure we reset flags for
17067 layouts as well as everything else.
17069 * glyphs-widget.c (layout_layout): don't need to set the instances
17072 2000-02-09 Martin Buchholz <martin@xemacs.org>
17074 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17075 not HAVE_DLOPEN, which is a lower-level thing.
17077 * .cvsignore: Ignore gmon.out
17079 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17081 * .cvsignore: Ignore portable dumper xemacs.dmp file
17083 2000-02-09 Andy Piper <andy@xemacs.org>
17085 * redisplay-output.c (redisplay_output_layout): be more clever
17086 about when we output based on the changed flags.
17088 * glyphs.h (struct image_instantiator_methods): add update_method.
17089 (struct Lisp_Image_Instance): add changed flags. Declare new
17090 macros for manipulating them.
17092 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17093 (image_instance_parent_glyph): find an image_instance's parent
17094 glyph or image_instance.
17095 (image_instance_layout): mark the size as changed.
17096 (set_image_instance_dirty_p): new function. mark an image
17097 instance, plus all of its parents, as dirty.
17098 (Fset_image_instance_property): use it.
17099 (Fglyph_animated_timeout_handler): use it.
17100 (update_subwindow): call update_widget and device methods for
17101 update_subwindow. Mark all changed flags as clean.
17102 (Fresize_subwindow): mark size as changed.
17104 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17106 (x_update_subwindow): only resize subwindows here.
17107 (x_update_widget): new function. Update all changed properties of
17109 (x_resize_subwindow): deleted.
17110 (x_widget_set_property): deleted.
17111 (x_progress_gauge_set_property): deleted.
17112 (x_progress_gauge_update): new function. Implement recorded
17114 (x_tab_control_update): ditto.
17115 (x_tab_control_set_property): deleted.
17116 (console_type_create_glyphs_x): declare new functions.
17117 (image_instantiator_format_create_glyphs_x): ditto.
17119 * glyphs-widget.c (widget_set_property): mark text changed.
17120 (update_widget): new function. Update properties of a widget.
17121 (widget_instantiate): for layouts make sure we set their
17122 children's parent correctly.
17123 (tab_control_set_property): new function. Record changes that will
17124 take place under redisplay's control.
17125 (progress_gauge_set_property): ditto.
17126 (image_instantiator_progress_guage): declare new functions.
17127 (image_instantiator_tab_control): ditto.
17129 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17131 (mswindows_update_widget): new function. Update all properties on
17132 a widget that have changed.
17133 (mswindows_button_update): new function. Update a button's set
17135 (mswindows_tab_control_update): new function. Update the items in
17137 (mswindows_tab_control_set_property): deleted.
17138 (mswindows_progress_gauge_update): new function. Update the
17139 progress gauge's progress.
17140 (mswindows_widget_set_property): deleted. This is all done
17141 asynchronously now.
17142 (mswindows_progress_gauge_set_property): ditto.
17143 (console_type_create_glyphs_mswindows): declare new methods.
17144 (image_instantiator_format_create_glyphs_mswindows): ditto.
17146 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17147 (msprinter_set_frame_properties): ditto.
17149 * console.h (struct console_methods): Add update_widget_method.
17151 2000-02-09 Andy Piper <andy@xemacs.org>
17153 * gui-msw.c (Fmswindows_shell_execute): Make
17154 mswindows-shell-execute industrial strength.
17156 2000-02-08 Martin Buchholz <martin@xemacs.org>
17158 * lrecord.h: Make macro argument `props' match member function `plist'.
17161 * fns.c (Fremprop):
17162 * fns.c (Fobject_plist):
17165 Object property list frobbing cleanup.
17166 - Allow any lisp object (compared with `eq'), not just symbols, as
17167 keys in object plists.
17168 - Move symbol plist frobbing into symbols.c, where it belongs.
17169 - Move string plist frobbing into alloc.c, where it belongs.
17170 - Everything's an lrecord now, so no need to test for symbolp, etc.
17171 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17173 * extents.c: Reorder code to remove declarations.
17175 * frame.h (store_in_alist): Remove useless declaration.
17177 2000-02-07 Martin Buchholz <martin@xemacs.org>
17179 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17180 * config.h.in: Add HAVE_XCONVERTCASE.
17182 2000-02-07 Andy Piper <andy@xemacs.org>
17184 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17185 it breaks many things.
17187 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17189 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17190 actually can start a common comment type.
17191 * src/syntax.h (SYNTAX_END_P): ditto for end.
17193 2000-02-07 Martin Buchholz <martin@xemacs.org>
17195 * XEmacs 21.2.28 is released.
17197 2000-02-06 Martin Buchholz <martin@xemacs.org>
17199 * event-Xt.c (x_keysym_to_character): New.
17200 (maybe_define_x_key_as_self_inserting_character): New.
17201 (x_has_keysym): New.
17202 Auto-define all keys on the keyboard as self-insert-key.
17204 2000-02-02 Martin Buchholz <martin@xemacs.org>
17206 * menubar.c (vars_of_menubar): A small code simplification.
17208 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17211 * ExternalClient.c:
17212 * EmacsShell-sub.c:
17215 Use consistent style for specifying X resources.
17217 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17218 This makes (dontusethis-set-symbol-value-handler) actually usable.
17220 * lrecord.h (lrecord_decription_type):
17221 * alloc.c (pdump_register_sub):
17224 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17225 Comply with XEmacs coding style.
17226 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17227 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17229 * keymap.c (Faccessible_keymaps):
17230 Make (accessible-keymaps map "\C-h") do the Right Thing.
17231 Make (accessible-keymaps map []) do the Right Thing.
17232 Make (accessible-keymaps map "") do the Right Thing.
17233 (check_keymap_definition_loop): New function.
17234 (keymap_store_internal): Keep luser from shooting self in foot,
17235 via (define-key ctl-x-4-map "p" global-map).
17236 Remove fullness slot from struct Lisp_Keymap, since hash tables
17238 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17240 2000-01-30 Martin Buchholz <martin@xemacs.org>
17242 * redisplay.c (init_redisplay): Fix small memory leak.
17244 * elhash.c (pdump_reorganize_hash_table):
17245 Rename from reorganize_hash_table. Change prototype.
17246 Reuse the original memory for hentries. Save 100k.
17247 * alloc.c (PDUMP_READ): new macro.
17248 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17249 * alloc.c: No need to #ifndef before #undef.
17251 * print.c: Allow debug_print() to print readably by modifying
17252 debug_print_readably. Use consistent variable names.
17254 * .dbxrc: Try to get things to work even if stopped in a function
17255 without source available by explicitly specifying source files.
17256 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17258 * unexnt.c (_start): Removed bogus code which caused loading heap
17259 from differrent executable file.
17260 Removed bogus assignment to _fmode, which caused inconsistencies.
17262 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17264 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17265 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17266 Do not preliminary `#define signal sigset'.
17268 * systime.h: Do not prototype environ on windows nt and cygwin,
17269 this conflicts with system header.
17271 * syssignal.h: Use correct define for WINDOWSNT
17273 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17274 with system header.
17276 * sysdep.c (near start of file): Fixed commentary and rearranged
17277 ifdefs in readable order.
17278 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17281 (end_of_data): Do not compile in if using PDUMP.
17283 * symsinit.h: Prototyped vars_of_nt().
17285 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17286 (find_child_console): Use it.
17287 (sys_kill): Use it.
17289 * ntheap.h: Do not extern os_subtype.
17291 * ntheap.c (cache_system_info): Do not cache unneeded:
17292 nt_major_version, nt_minor_version and os_subtype.
17293 (recreate_heap): Do not compile in when PDUMPing.
17295 * nt.c (geteuid and friends): Use the new varibale
17296 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17297 (init_user_info): Removed the above mentioned hackery.
17298 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17299 stat has been fixed in the C runtime.
17300 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17302 * file-coding.c (struct file_coding_dump): Do not define
17303 ucs_to_mule_table in the struct if not MULE.
17304 (struct struct lrecord_description fcd_description_1): Do not dump
17307 * emacs.c (main_1): Call vars_of_nt().
17308 (right before Fdump_emacs_data): Don't need lastfile if using both
17309 portabe dumper and system malloc.
17311 * alloc.c (Fmemory_limit): Conditionalized out.
17312 (pdump): Use OPEN_BINARY for the portable dump file.
17313 (pdump_load): Ditto.
17315 2000-02-02 Mike Alexander <mta@arbortext.com>
17317 * nt.c (convert_time): Set tm_isdst before calling mktime and
17318 avoid calling it at all if the compiler supports 64 bit integers.
17319 Also initialize utc_base_ft before using it.
17321 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17323 * frame.c (change_frame_size_1): Take f->internal_border_width
17324 into consideration when calculating the width of the frame.
17326 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17328 * window.c (frame_min_height):
17329 (frame_size_valid_p):
17330 (frame_pixsize_valid_p): Added.
17331 (check_frame_size): Generalized.
17333 * window.h: Prototyped the above.
17336 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17337 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17338 Deleted Vwin32_* and Vbinary_process_* unused variables.
17340 * device-msw.c (msprinter_init_device): Do not get printer font
17341 list; Added DEVMODE functions.
17343 * frame-msw.c: Added lots of printer code.
17345 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17348 * console-msw.h: Added more msprinter device private slots.
17350 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17352 * event-msw.c (key_needs_default_processing_p): Added.
17353 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17355 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17357 * glyphs.c (image_instance_layout): Mark image instance as clean
17359 (glyph_dirty_p): Removed redundant function.
17360 (invalidate_glyph_geometry_maybe): Added.
17361 (update_glyph_cachel_data): Call it.
17363 * glyphs.h: Prototyped it.
17365 * redisplay.c (add_glyph_rune): Call it.
17366 (redisplay_window): Reset glyphs cachels when frame faces have
17367 changed, thus forcing recomputation of built-in border glyphs.
17369 2000-01-30 Martin Buchholz <martin@xemacs.org>
17371 * Makefile.in.in: Make portable dumper and purify play well together.
17372 Add imperfect, but better than nothing, support for pdump.
17373 Remove xemacs.dmp when temacs is re-generated.
17374 Don't ignore errors when dumping xemacs.
17376 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17378 2000-01-28 Andy Piper <andy@xemacs.org>
17380 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17381 (setup_normal_frame): ditto.
17382 (setup_frame_without_minibuffer): ditto.
17383 (setup_minibuffer_frame): ditto.
17384 (delete_frame_internal): ditto.
17385 (Fmake_frame_invisible): ditto.
17386 (Ficonify_frame): ditto.
17388 * window.h: change Fset_window_buffer signature.
17390 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17391 (Fset_window_buffer): allow recording of buffer if the window is
17392 the selected window.
17393 (window_loop): Use new Fset_window signature.
17395 2000-01-23 Daniel Pittman <daniel@danann.net>
17397 * config.h.in: Added template for `HAVE_ATHENA_3D'
17399 2000-01-29 Andy Piper <andy@xemacs.org>
17401 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17403 * gutter.c (output_gutter): Don't output if the window isn't live.
17405 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17407 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17408 of 01/12/00: Moved SetFocus back here where it belongs.
17410 2000-01-23 Andy Piper <andy@xemacs.org>
17412 * s/cygwin32.h: declare printer things.
17414 2000-01-26 Andy Piper <andy@xemacs.org>
17416 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17419 2000-01-24 Andy Piper <andy@xemacs.org>
17421 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17422 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17424 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17426 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17428 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17430 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17431 (mswindows_output_display_block): Avoid local shadows.
17433 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17434 (mswindows_enqueue_mouse_button_event): ditto.
17435 (mswindows_handle_gui_wm_command): remove declaration.
17437 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17440 * console-msw.h: Avoid shadows.
17441 (mswindows_get_toolbar_button_text):
17442 (emacs_mswindows_create_stream_pair):
17443 (emacs_mswindows_delete_stream_pair):
17444 (mswindows_handle_toolbar_wm_command): declare.
17446 * device-msw.c (build_syscolor_string): Avoid shadows.
17448 2000-01-23 Andy Piper <andy@xemacs.org>
17450 * glyphs-widget.c (widget_instantiate): reverse the items for
17451 layouts so that children are in the expected order.
17453 2000-01-28 Martin Buchholz <martin@xemacs.org>
17455 * ralloc.c: safe_bcopy ==> memmove
17456 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17457 * s/msdos.h: Remove BCOPY macros.
17458 * insdel.c (gap_right): Remove BCOPY conditional code.
17459 * insdel.c (gap_left): Remove BCOPY conditional code.
17460 XEmacs demands a working ANSI C compiler - hence memmove.
17462 * regex.c (regex_compile): Remove accidental use of trigraphs.
17464 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17466 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17469 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17471 * event-msw.c (mswindows_drain_windows_queue): Added the
17473 (mswindows_need_event): Commented the call to
17474 mswindows_drain_windows_queue().
17475 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17478 * console-msw.h: Moved a few function prototypes here from
17481 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17482 parameter from unsigned short to unsigned long.
17483 (Fmswindows_shell_execute): Added return value.
17485 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17487 * sysdep.c (init_system_name):
17488 process-unix.c (unix_canonicalized_host_name):
17489 Don't call freeaddrinfo() if getaddrinfo() fails.
17491 * process-unix.c (unix_open_unix_network_stream):
17492 Moved the code to get a port # into address loop.
17494 2000-01-27 Martin Buchholz <martin@xemacs.org>
17496 * buffer.c (reinit_vars_of_buffer):
17497 The right place to initialize conversion_in_dynarr and
17498 conversion_out_dynarr.
17500 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17502 * process-unix.c (unix_canonicalize_host_name): Muleize.
17503 (unix_open_network_stream): Muleize.
17505 * buffer.h: Fix up prototypes for ralloc.c functions.
17507 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17508 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17509 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17510 instead of gethostbyname()
17511 * process-unix.c: In unix_canonicalize_host_name() and
17512 unix_open_network_stream(), add code to use getaddrinfo()
17513 instead of gethostbyname().
17515 2000-01-27 Daniel Pittman <daniel@danann.net>
17517 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17518 libs when built with flat Athena.
17520 2000-01-27 Martin Buchholz <martin@xemacs.org>
17522 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17523 Use coding standards for function prototypes.
17525 2000-01-25 Martin Buchholz <martin@xemacs.org>
17527 * dialog-msw.c (push_lisp_string_as_unicode):
17528 * doc.c (unparesseuxify_doc_string):
17529 * dired.c (Fuser_name_completion_1):
17530 * dired.c (Fuser_name_all_completions):
17531 * dired.c (free_user_cache):
17532 * dired.c (user_name_completion):
17533 * console-x.c (get_display_arg_connection):
17534 * minibuf.c (clear_echo_area_internal):
17535 * minibuf.c (echo_area_append):
17536 * eldap.c (Fldap_open):
17537 * eldap.c (Fldap_search_internal):
17538 * frame-x.c (x_set_frame_text_value):
17539 * frame-x.c (x_set_frame_properties):
17540 * frame-x.c (x_create_widgets):
17541 * redisplay-tty.c (term_get_fkeys_1):
17542 * objects-x.c (x_parse_nearest_color):
17543 * objects-x.c (x_valid_color_name_p):
17544 * objects-x.c (x_initialize_font_instance):
17545 * objects-x.c (x_list_fonts):
17546 * objects-x.c (x_find_charset_font):
17547 * tooltalk.c (Fadd_tooltalk_message_arg):
17548 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17549 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17550 * process-unix.c (unix_create_process):
17551 * ntproc.c (sys_spawnve):
17552 * sound.c (Fplay_sound_file):
17553 * sound.c (Fplay_sound):
17554 * buffer.c (init_initial_directory):
17555 * buffer.c (init_buffer):
17556 * editfns.c (init_editfns):
17557 * editfns.c (Ftemp_directory):
17558 * editfns.c (Fuser_full_name):
17559 * editfns.c (uncache_home_directory):
17560 * editfns.c (get_home_directory):
17561 * editfns.c (Fuser_home_directory):
17562 * editfns.c (Fformat_time_string):
17563 * editfns.c (Fcurrent_time_string):
17564 * gui-x.c (button_item_to_widget_value):
17565 * database.c (Fopen_database):
17566 * event-Xt.c (x_to_emacs_keysym):
17567 * event-Xt.c (x_event_to_emacs_event):
17568 * event-Xt.c (describe_event_window):
17569 * event-msw.c (mswindows_wnd_proc):
17570 * glyphs-eimage.c (jpeg_instantiate):
17571 * glyphs-eimage.c (gif_instantiate):
17572 * glyphs-eimage.c (png_instantiate):
17573 * glyphs-eimage.c (tiff_instantiate):
17574 * glyphs-x.c (xbm_instantiate_1):
17575 * glyphs-x.c (x_xbm_instantiate):
17576 * glyphs-x.c (x_xface_instantiate):
17577 * glyphs-x.c (autodetect_instantiate):
17578 * glyphs-x.c (cursor_font_instantiate):
17579 * glyphs-x.c (x_widget_instantiate):
17580 * glyphs-x.c (x_widget_set_property):
17581 * glyphs-x.c (x_widget_property):
17582 * glyphs-x.c (BUILD_GLYPH_INST):
17583 * print.c (write_string_to_stdio_stream):
17584 * print.c (output_string):
17585 * print.c (Falternate_debugging_output):
17586 * print.c (Fexternal_debugging_output):
17587 * glyphs-msw.c (extract_xpm_color_names):
17588 * glyphs-msw.c (mswindows_xpm_instantiate):
17589 * glyphs-msw.c (bmp_instantiate):
17590 * glyphs-msw.c (resource_name_to_resource):
17591 * glyphs-msw.c (mswindows_resource_instantiate):
17592 * glyphs-msw.c (xbm_instantiate_1):
17593 * glyphs-msw.c (mswindows_xbm_instantiate):
17594 * glyphs-msw.c (mswindows_xface_instantiate):
17595 * glyphs-msw.c (mswindows_widget_instantiate):
17596 * glyphs-msw.c (add_tree_item):
17597 * glyphs-msw.c (add_tab_item):
17598 * glyphs-msw.c (mswindows_combo_box_instantiate):
17599 * glyphs-msw.c (mswindows_widget_property):
17600 * glyphs-msw.c (mswindows_combo_box_property):
17601 * glyphs-msw.c (mswindows_widget_set_property):
17602 * console.c (stuff_buffered_input):
17603 * objects-msw.c (mswindows_initialize_color_instance):
17604 * objects-msw.c (mswindows_valid_color_name_p):
17605 * objects-msw.c (mswindows_list_fonts):
17606 * objects-msw.c (mswindows_font_instance_truename):
17607 * bytecode.c (optimize_compiled_function):
17608 * select-x.c (symbol_to_x_atom):
17609 * select-x.c (x_atom_to_symbol):
17610 * select-x.c (hack_motif_clipboard_selection):
17611 * select-x.c (selection_data_to_lisp_data):
17612 * select-x.c (lisp_data_to_selection_data):
17613 * select-x.c (Fx_get_cutbuffer_internal):
17614 * select-x.c (Fx_store_cutbuffer_internal):
17615 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17616 * buffer.h (TO_INTERNAL_FORMAT): New function.
17617 * emacs.c (make_arg_list_1):
17618 * emacs.c (make_argc_argv):
17619 * emacs.c (main_1):
17620 * emacs.c (Fdump_emacs):
17621 * emacs.c (split_string_by_emchar_1):
17626 * device-x.c (x_init_device):
17627 * device-x.c (Fx_valid_keysym_name_p):
17628 * device-x.c (Fx_get_font_path):
17629 * device-x.c (Fx_set_font_path):
17630 * glyphs.c (bitmap_to_lisp_data):
17631 * glyphs.c (pixmap_to_lisp_data):
17632 * alloc.c (make_ext_string): Use coding system arguments. Update
17634 * alloc.c (build_string):
17635 * callproc.c (child_setup):
17636 * callproc.c (init_callproc):
17637 * fileio.c (lisp_strerror):
17638 * fileio.c (directory_file_name):
17639 * fileio.c (Fexpand_file_name):
17640 * fileio.c (Ffile_truename):
17641 * fileio.c (Fsysnetunam):
17642 * fileio.c (Fdo_auto_save):
17643 * sysdep.c (sys_readdir):
17644 * tests.c: New file. Allow adding C tests.
17645 Replace GET_* macros with a more comprehensible and flexible
17646 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17648 Any coding system can be used to do format conversion.
17649 Eliminate enum external_data_format.
17650 Eliminate convert_to_external_format.
17651 Eliminate convert_to_internal_format.
17652 Make sure file-name, keyboard, terminal, and ctext are always
17653 defined as coding systems or aliases. Make
17654 file-name-coding-system, terminal-coding-system, and
17655 keyboard-coding-system magical variables that are equivalent to
17656 defining the corresponding coding system aliases.
17658 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17659 * file-coding.c (Fcoding_system_alias_p): New function.
17660 * file-coding.c (Fcoding_system_aliasee): New function.
17661 * file-coding.c (append_suffix_to_symbol): New function.
17662 * file-coding.c (dangling_coding_system_alias_p): New function.
17663 * file-coding.c (Ffind_coding_system):
17664 * file-coding.c (Fcopy_coding_system):
17665 * file-coding.c (encode_coding_no_conversion):
17666 * file-coding.c (syms_of_file_coding):
17667 * file-coding.c (vars_of_file_coding):
17668 Rewrite coding system alias code.
17669 Allow nested aliases, like symbolic links.
17670 Allow redefinition of coding system aliases.
17671 Prevent existence of dangling coding system aliases.
17673 * dired.c (Fuser_name_completion_1):
17674 * dired.c (Fuser_name_all_completions):
17675 A crash would happen if user did QUIT in the middle of building
17676 user_name_cache. Remove redundant code in mainline and unwind_protect.
17679 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17681 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17682 an unsigned char *. Update all callers.
17684 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17686 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17688 2000-01-25 Martin Buchholz <martin@xemacs.org>
17690 * elhash.c (hentry_description): Use more portable definition.
17691 (resize_hash_table): Initialize new hentries using
17692 xnew_array_and_zero, thereby simplifying the code.
17694 * mule-charset.c (make_charset): Make sure entire object is
17695 initialized, to avoid Purify warnings.
17697 * alloc.c (resize_string): Fix unlikely crash with big strings.
17699 2000-01-24 Martin Buchholz <martin@xemacs.org>
17701 * realpath.c (xrealpath):
17702 Don't call getwd().
17704 2000-01-25 Martin Buchholz <martin@xemacs.org>
17706 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17708 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17710 * unexelfsgi.c (unexec): Change the way we decide which segment
17711 should be extended.
17713 Assumption that .bss section should be outside the PT_LOADable
17714 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17715 it's present) is inside the 'data' segment. This would fail the
17716 test which was used to find a segment to grow and cover new
17717 heap. Instead of this assumption, I created another one - on IRIX
17718 the segment to grow should start below .bss and it's address
17719 should extent above the end of .bss. Once this segment is
17720 identified, it's grown to accommodate the new heap and new
17721 zero-length .bss section is added at the end of .data2.
17723 2000-01-25 Martin Buchholz <martin@xemacs.org>
17725 * eval.c (Feval): Wrong number of arguments should use original
17726 function, not the indirect_function version of it.
17728 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17730 * glyphs-x.c (x_button_instantiate): Don't add image if
17731 it is not a pixmap.
17732 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17735 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17737 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17739 (DEFVAR_INT_MAGIC): Ditto.
17740 (DEFVAR_BOOL_MAGIC): Ditto.
17741 * glyphs.h: Reindent backslash.
17743 2000-01-24 Martin Buchholz <martin@xemacs.org>
17745 * glyphs-widget.c (layout_query_geometry):
17746 (layout_layout): Use correct types for gheight, gwidth.
17748 2000-01-24 Martin Buchholz <martin@xemacs.org>
17750 * EmacsManager.c (QueryGeometry): Purified.
17752 2000-01-23 Martin Buchholz <martin@xemacs.org>
17754 * alloc.c (make_float): Make sure entire object is initialized, to
17755 avoid Purify warnings.
17756 (pdump_register_sub): Remove useless assignment.
17757 (pdump): Use xmalloc, not malloc.
17758 (pdump_load): Use xmalloc, not malloc.
17760 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17767 * sysdep.c: Removed redundant #include <windows.h>
17769 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17771 * frame.c (delete_frame_internal): Do not delete device when its
17772 implementation so declares.
17773 (delete_frame_internal): Set device selected frame to nil when
17774 last frame goes away.
17776 * device-msw.c (msprinter_device_system_metrics): Implemented.
17777 (mswindows_device_system_metrics): Added 'device-dpi property.
17779 * device.c: (Fdevice_printer_p): Added.
17780 Added 'offset-workspace device metric.
17782 * console.h (device_metrics): Declared DM_offset_workspace.
17784 2000-01-23 Martin Buchholz <martin@xemacs.org>
17786 * fileio.c (Ffile_truename): Remove pointless and confusing
17787 initialization of elen.
17789 * glyphs-widget.c: Compiler warning fixes.
17791 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17793 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17794 instead of a Lisp_Object as argument to make it consistent with
17795 the other LIVE_P macros.
17796 (CHECK_LIVE_PROCESS): New macro.
17798 * process.c: Declare Qprocess_live_p.
17799 (Fprocess_live_p): New function.
17800 (create_process): Use PROCESS_LIVE_P.
17801 (read_process_output): Ditto.
17802 (set_process_filter): Ditto.
17803 (Fdelete_process): Ditto.
17804 (kill_buffer_processes): Ditto
17805 (process_send_signal): Use CHECK_LIVE_PROCESS.
17806 (Fprocess_input_coding_system): Check whether process is still
17807 alive (fix PR#1061).
17808 (Fprocess_output_coding_system): Ditto.
17809 (Fprocess_coding_system): Ditto.
17810 (Fset_process_input_coding_system): Ditto.
17811 (Fset_process_output_coding_system): Ditto.
17813 2000-01-23 Andy Piper <andy@xemacs.org>
17815 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17818 * glyphs.c (mark_image_instance): take into account changed
17819 image_instance format.
17820 (image_instance_equal): ditto.
17821 (image_instance_hash): ditto.
17823 * glyphs-widget.c (widget_instantiate): Incorporate layout
17824 instantiation here. Delay layout of the layout until later.
17825 (layout_instantiate): deleted.
17826 (layout_query_geometry): new function. get the geometry of a
17828 (layout_layout): layout a layout dynamically.
17829 (image_instantiator_widget): New function - splitting up
17830 image_instantiator_format_create_glyphs_widget for netwinder
17832 (image_instantiator_buttons):
17833 (image_instantiator_edit_fields):
17834 (image_instantiator_combo_box):
17835 (image_instantiator_scrollbar):
17836 (image_instantiator_progress_guage):
17837 (image_instantiator_tree_view):
17838 (image_instantiator_tab_control):
17839 (image_instantiator_labels):
17840 (image_instantiator_layout): ditto.
17841 (image_instantiator_format_create_glyphs_widget): Call preceding
17844 2000-01-22 Martin Buchholz <martin@xemacs.org>
17846 * process.c (Fset_process_coding_system):
17847 * device-x.c (Fx_keysym_hash_table):
17850 * lstream.c (Lstream_write): Return documented value, not 0.
17852 * fileio.c (directory_file_name):
17853 (Fsubstitute_in_file_name):
17854 (Fsubstitute_insert_file_contents_internal):
17855 (Fwrite_region_internal):
17860 Remove vestigial APOLLO-conditional code.
17862 2000-01-21 Martin Buchholz <martin@xemacs.org>
17864 * getpagesize.h: Add guard macros.
17865 * libsst.h: Add guard macros.
17866 * libst.h: Add guard macros.
17867 * line-number.h: Add guard macros.
17868 * ndir.h: Add guard macros.
17869 * sysfloat.h: Add guard macros.
17870 * sysfile.h: Add guard macros.
17871 * sysproc.h: Add guard macros.
17872 * syswait.h: Add guard macros.
17873 * xintrinsic.h: Add guard macros.
17874 * xintrinsicp.h: Add guard macros.
17875 * xmmanager.h: Add guard macros.
17876 * xmmanagerp.h: Add guard macros.
17877 * xmprimitive.h: Add guard macros.
17878 * xmu.h: Add guard macros.
17879 * gpmevent.h: Add copyright statement. Add guard macros.
17880 * miscplay.h: Add guard macros.
17881 * *.h: Use consistent C-standards-approved guard macro names.
17883 * opaque.c (make_opaque): Switch parameter order.
17884 * opaque.h (make_opaque): Switch parameter order.
17885 Update all callers.
17886 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17888 * config.h.in (type_checking_assert): Added.
17889 (bufpos_checking_assert): Added.
17891 2000-01-21 Martin Buchholz <martin@xemacs.org>
17893 * alloc.c: Harmless pdump changes.
17895 - spell alignment correctly.
17896 * sysdep.c: Use countof()
17898 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17900 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17901 initially_selected_for_input() console method, default to 0.
17902 (semi_canonicalize_console_connection): Try to delegate to
17903 canonicalize_console_connection if no such console method.
17904 (canonicalize_console_connection): Vice versa.
17905 (print_console): Do not print nil connection.
17907 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17908 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17909 (XDEVIMPF_FRAMELESS_OK): Added.
17910 (CONSOLE_INHERITS_METHOD): Added.
17912 * console-msw.c (mswindows_canonicalize_console_connection):
17914 (mswindows_canonicalize_device_connection): Added.
17916 * console-msw.h (struct msprinter_device): Added this struct and
17918 (mswindows_device): Made fontlist a lisp object.
17920 * device.c (semi_canonicalize_device_connection): Try to delegate
17921 to canonicalize_device_connection if no such console method.
17922 (canonicalize_device_connection): Vice versa.
17923 (print_device): Do not print nil connection.
17925 * device-msw.c (mswindows_init_device): Call InitCommonControls
17927 (mswindows_delete_device): Removed fontlist deallocation.
17928 (mswindows_mark_device): Added.
17930 * events.c (event_equal): Added abort() at unreached code.
17931 (event_hash): Ditto.
17933 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17934 fallback tags of Windows devices.
17936 * general.c (syms_of_general): Initialized Qmsprinter.
17938 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17939 of fallback tags of Windows devices.
17941 * lisp.h: Declared Qmsprinter.
17943 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17945 (mswindows_list_fonts): Ditto.
17946 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17947 that it can be used by both mswindows and msprinter devices.
17948 (initialize_font_instance): Added.
17949 (mswindows_initialize_font_instance): Use it.
17950 (msprinter_initialize_font_instance): Added.
17952 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17953 and implementation flags check.
17954 (redisplay_without_hooks): Changed the call to the above.
17955 (Fredraw_device): Ditto.
17956 (Fredisplay_device): Ditto.
17958 * redisplay-msw.c (get_frame_dc): Implemented.
17959 (get_frame_compdc): Implemented.
17960 (many functions): Use the two functions above to get device
17961 contexts, ether for a window or a printer.
17963 2000-01-21 Olivier Galibert <galibert@pobox.com>
17965 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17966 initialization here.
17967 (init_symbols_once_early): Call it.
17968 * emacs.c (main_1): Call it.
17969 * symsinit.h: Declare it.
17971 2000-01-19 Olivier Galibert <galibert@pobox.com>
17973 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17975 (pdump_backtrace): Ditto.
17976 (pdump_register_object): Ditto. Cleanup use of the pointers.
17977 (pdump_get_entry): Abort if trying to register a null pointer.
17978 (pdump_dump_data): Cleanup types when relocating.
17979 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17980 (pdump_dump_rtables): Remove bad casts.
17981 (pdump_load): Cleanup relocation w.r.t union type. Use a
17982 Lisp_Object instead of a EMACS_INT for the hashtable
17985 2000-01-20 Martin Buchholz <martin@xemacs.org>
17987 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17989 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17991 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17993 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17995 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17997 * faces.h (FACE_STRIKETHRU_P): Added.
17999 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18002 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18003 (mswindows_set_dc_font): New function, aware of font variants,
18004 separated from mswindows_update_dc.
18006 * objects-msw.h (struct mswindows_font_instance_data): Added
18009 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18010 cached fonts and the data structure.
18011 (mswindows_initialize_font_instance): Added creation of font data
18013 (mswindows_print_font_instance): Print at least something.
18014 (mswindows_create_font_variant): Implemented.
18015 (mswindows_get_hfont): Implemented.
18017 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18019 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18020 prototyping problem with msvc.
18022 * emacs.c (main_1): added syms_of_gui_mswindows() call
18024 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18025 syms_of_gui_mswindows() function
18027 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18029 2000-01-18 Martin Buchholz <martin@xemacs.org>
18031 * XEmacs 21.2.27 is released.
18033 2000-01-18 Martin Buchholz <martin@xemacs.org>
18035 * glyphs-eimage.c (struct tiff_error_struct):
18037 (tiff_warning_func):
18038 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18043 * unexec.c: Remove vestigial Lucid C code.
18047 * libsst.c: Ansify.
18048 Remove declarations of errno and strerror().
18050 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18052 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18054 2000-01-16 Martin Buchholz <martin@xemacs.org>
18056 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18059 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18064 Change enum eol_type to eol_type_t.
18066 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18068 * gui.c (get_gui_callback): Check cons before accessing car.
18070 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18072 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18073 (XSETSPECIFIER_TYPE): Ditto.
18075 2000-01-17 Didier Verna <didier@xemacs.org>
18077 * redisplay.c (generate_fstring_runes): compute string size in
18078 characters, not bytes.
18080 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18082 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18084 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18086 * print.c (print_error_message): Call print_prepare().
18088 2000-01-14 Martin Buchholz <martin@xemacs.org>
18090 * .dbxrc: Renamed from dbxrc.
18092 * events.c (event_to_character):
18093 Use `assert (foo)' instead of `if (!foo) abort()'
18095 * .gdbinit (xtype): Add documentation.
18096 * .gdbinit (check-temacs): New function.
18097 * .gdbinit (check-xemacs): New function.
18098 * dbxrc (check-xemacs): New function.
18099 * dbxrc (check-xemacs): New function.
18101 2000-01-14 Andy Piper <andy@xemacs.org>
18103 * glyphs-widget.c (widget_query_geometry): Make sure that we
18104 calculate default dimensions correctly.
18106 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18108 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18110 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18111 pdump_wire'd variable.
18113 * emacs.c: (main_1): Conditionalized calls to
18114 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18116 2000-01-13 Martin Buchholz <martin@xemacs.org>
18118 * window.c (Fset_window_configuration):
18119 * sysdep.c (_start):
18120 * input-method-motif.c (res):
18121 * event-Xt.c (Xt_process_to_emacs_event):
18122 Simple compiler warning fixes.
18124 * bytecode.c (funcall_compiled_function): Use the original
18125 function symbol on the backtrace list in preference to the
18126 compiled_function object in error messages.
18128 2000-01-13 Andy Piper <andy@xemacs.org>
18130 * glyphs-x.c (update_widget_face): Make sure we update the widget
18131 background as well as foreground.
18133 2000-01-13 Andy Piper <andy@xemacs.org>
18135 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18136 fields to subwindow.
18137 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18138 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18139 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18140 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18142 * glyphs-widget.c (check_valid_tab_orientation): new function.
18143 (initialize_widget_image_instance): zero orientation and
18145 (widget_instantiate): pick up orientation.
18146 (tab_control_query_geometry): return appropriate values for
18149 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18150 appropriate creation flags for left, right and bottom tabs.
18152 * s/cygwin32.h: add tab definitions.
18154 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18156 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18157 frame upon hiding a subwindow.
18158 (mswindows_button_instantiate): Changed the push button style to
18160 (mswindows_button_instantiate): Removed button BS_NOTIFY
18162 (mswindows_button_instantiate): Removed redundant check for
18163 a disabled gui item.
18164 (mswindows_button_instantiate): Made use of WS_TABSTOP
18165 consistent: "operable" controls (edit, button, tree, scroll) have
18166 this style, "display-only" ones (static, progress gauge) do
18167 not. This style is currently ignored by XEmacs though. Also,
18168 removed the WS_EX_CONTROLPARENT style - it is not for children,
18169 it is for their parents!
18170 (mswindows_edit_field_instantiate): Ditto.
18171 (mswindows_progress_gauge_instantiate): Ditto.
18172 (mswindows_tree_view_instantiate): Ditto.
18173 (mswindows_tab_control_instantiate): Ditto.
18174 (mswindows_scrollbar_instantiate): Ditto.
18175 (mswindows_combo_box_instantiate): Ditto.
18176 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18177 style to the "clip" window.
18178 (mswindows_button_instantiate): Removed compilation warning by
18179 equally typing terms of the ?: operator.
18181 2000-01-12 Didier Verna <didier@xemacs.org>
18183 * redisplay.c (generate_fstring_runes): new parameter holding the
18184 last modeline-format extent.
18185 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18186 extent, fill the glyph block with it.
18187 (generate_fstring_runes): handle these parameters.
18188 (generate_formatted_string_db): ditto.
18190 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18191 glyphs'extents in the modeline.
18193 1999-01-11 Mike Woolley <mike@bulsara.com>
18195 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18196 256Mb, as a workaround for the non-starting problem many people
18199 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18201 * console-tty.c (Fset_console_tty_output_coding_system):
18202 Force redrawing tty frame.
18204 2000-01-10 Didier Verna <didier@xemacs.org>
18206 * redisplay.c (generate_fstring_runes): fix size computation bug.
18208 2000-01-09 William M. Perry <wmperry@aventail.com>
18210 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18212 2000-01-09 Andy Piper <andy@xemacs.org>
18214 * glyphs-msw.c: index -> i to avoid shadows.
18215 (xbm_create_bitmap_from_data): make static.
18216 (check_valid_string_or_int): deleted.
18217 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18219 * glyphs-x.c (x_update_subwindow): remove unused args.
18221 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18222 back pointer - this is done in allocate_image_instance.
18223 (query_string_font): return Qnil to make the compiler happy.
18224 (unmap_subwindow): set to ~0 to make the compiler happy.
18225 (glyph_query_geometry): comment out until used.
18226 (glyph_layout): ditto.
18228 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18230 * insdel.c (signal_after_change): Remove extraneous unbind_to().