1 2015-11-25 MORIOKA Tomohiko <tomo.git@chise.org>
3 * chartab.c (Fchar_feature): When argument ATTRIBUTE is a CCS and
4 whose name is =>FOO, don't try to find =FOO; fix problem when
5 argument ATTRIBUTE is ==>FOO.
7 2013-05-19 MORIOKA Tomohiko <tomo.git@chise.org>
9 * text-coding.c (COMPOSE_ADD_CHAR): Use
10 `concord_object_get_attribute' instead of
11 `concord_object_get_feature_value'.
13 * chartab.c (char_table_get_db_cos): Use
14 `concord_object_get_attribute' instead of
15 `concord_object_get_feature_value'.
17 2013-05-02 MORIOKA Tomohiko <tomo.git@chise.org>
19 * chartab.h (get_char_id_table_ce): Use
20 `load_char_attribute_maybe_cos' instead of
21 `load_char_attribute_maybe'.
23 * chartab.c (load_char_attribute_maybe_cos): Return NULL instead
24 of Qunbound as the default value.
26 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
28 * chartab.h (load_char_attribute_maybe_cos): New prototype when
29 HAVE_LIBCHISE is defined.
30 (get_char_id_table_ce): New inline function when HAVE_LIBCHISE is
33 * mule-charset.c (charset_code_point): Use `get_char_id_table_ce'
34 instead of `get_char_id_table' when HAVE_LIBCHISE is defined.
35 (load_char_decoding_entry_maybe): Don't use
36 `decoding_table_put_char' to avoid GC.
38 * text-coding.c (concord_setup_env_maybe): Abolished.
39 (COMPOSE_ADD_CHAR): Use `open_chise_data_source_maybe' instead of
40 `concord_setup_env_maybe'.
42 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
44 * chartab.c (open_chise_data_source_maybe): New implementation;
45 don't use `build_string' and `Fexpand_file_name' to avoid GC.
46 (char_table_get_db_cos): New function when HAVE_LIBCHISE is
48 (load_char_attribute_maybe_cos): Likewise.
50 2013-04-23 MORIOKA Tomohiko <tomo.git@chise.org>
52 * text-coding.c (struct decoding_stream): Use COS_object instead
53 of Lisp_Object for `combining_table' if HAVE_LIBCHISE is defined.
54 (reset_decoding_stream): Likewise.
55 (COMPOSE_FLUSH_CHARS): Likewise.
56 (concord_setup_env_maybe): New function.
57 (COMPOSE_ADD_CHAR): Use COS API for `str->combining_table' if
58 HAVE_LIBCHISE is defined.
60 2013-02-16 MORIOKA Tomohiko <tomo.git@chise.org>
62 * chartab.c (find_char_feature_in_family): New implementation;
63 don't support multiple parents; support non-list mother.
65 2012-06-11 MORIOKA Tomohiko <tomo.git@chise.org>
67 * text-coding.c (Qenable_decomposition): New variable in XEmacs
69 (Fmake_coding_system): Add new property `enable-decomposition' in
71 (char_encode_utf8): Don't decompose character if
72 CODING_SYSTEM_ENABLE_DECOMPOSITION (str->codesys) is false.
73 (syms_of_file_coding): Add new symbol `enable-decomposition' in
75 (complex_vars_of_file_coding): Define new coding-system-property
76 `enable-decomposition' in XEmacs CHISE.
78 * file-coding.h (struct Lisp_Coding_System): Add
79 `enable_decomposition' in XEmacs CHISE.
80 (CODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
81 (XCODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
83 2012-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
85 * text-coding.c (DECODE_ADD_UCS_CHAR): Add `static'.
87 2012-02-11 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
89 * text-coding.c (DECODE_ADD_UCS_CHAR): Don't use `INLINE_HEADER'.
91 * chartab.c (UINT8_DECODE): Don't use `INLINE_HEADER'.
92 (UINT16_DECODE): Ditto.
94 * glyphs-eimage.c (png_instantiate):
95 - Use `png_get_image_height (png_ptr, info_ptr)' instead of
97 - Use `png_get_image_width (png_ptr, info_ptr)' instead of
99 - Use `png_get_color_type(png_ptr, info_ptr)' instead of
100 `info_ptr->color_type'.
101 - Use `png_get_bit_depth(png_ptr, info_ptr)' instead of
102 `info_ptr->bit_depth'.
104 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
106 * mule-charset.c (charset_code_point): If nil is specified as a
107 feature-value, don't find in mother and return -1.
109 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
111 * chartab.c (Fput_char_attribute): Accept nil as a value of
112 CCS-feature [it means that specified object does not have
113 code-point of the CCS-feature].
115 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
118 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
120 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
122 * text-coding.c (char_encode_as_entity_reference): Don't use
123 `DECODE_CHAR' to detect isolated characters.
125 * mule-charset.c (charset_code_point): Change the third argument
126 `defined_only' to `accepted_mode'; `accepted_mode' can be
127 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
129 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
130 (CHAR_ALL): New macro.
131 (CHAR_DEFINED_ONLY): New macro.
133 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
135 * chartab.c (Fchar_feature_base_name_eq): New function when
137 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
138 (syms_of_chartab): Add new builtin function
139 `char-feature-base-name=' when UTF2000 is enabled.
141 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
143 * text-coding.c (Vdecomposition_feature_list): New variable when
145 (char_encode_utf8): Refer variable `decomposition-feature-list'
146 instead of `=decomposition' feature.
147 (vars_of_file_coding): Add new variable
148 `decomposition-feature-list' when UTF2000 is defined.
150 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
152 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
153 `=decomposition' feature.
155 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
157 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
158 coded-charsets with builtin characters.
160 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
162 * text-coding.c (Qrep_decomposition): New extern.
163 (char_encode_utf8): Try to encode as combing sequence (or IVS).
165 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
168 "#endif" for code to refer Vchise_system_db_directory.
170 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
173 (Fconcord_object_adjoin): New function.
174 (Fconcord_object_adjoinX): New function.
175 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
176 `Fconcord_object_adjoinX'.
178 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 - Include "elconcord.h".
182 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
183 and `Fconcord_object_get' to elconcord.h.
184 (Lisp_CONCORD_DS): Moved to elconcord.h.
185 (struct Lisp_CONCORD_DS): Ditto.
186 (XCONCORD_DS): Ditto.
187 (XSET_CONCORD_DS): Ditto.
188 (CONCORD_DS_P): Ditto.
189 (CHECK_CONCORD_DS): Ditto.
190 (CONCHECK_CONCORD_DS): Ditto.
191 (Lisp_CONCORD_Object): Ditto.
192 (struct Lisp_CONCORD_Object): Ditto.
193 (XCONCORD_OBJECT): Ditto.
194 (XSET_CONCORD_OBJECT): Ditto.
195 (CONCORD_OBJECT_P): Ditto.
196 (CHECK_CONCORD_OBJECT): Ditto.
197 (CONCHECK_CONCORD_OBJECT): Ditto.
198 (CONCORD_OBJECT_GENRE): Ditto.
199 (CONCORD_OBJECT_ID): Ditto.
200 (XCONCORD_OBJECT_ID): Ditto.
201 (XCONCORD_OBJECT_GENRE): Ditto.
202 (concord_object_equal): New function.
203 (LRECORD_IMPLEMENTATION of "concord_object"): Use
204 `concord_object_equal'.
206 * elconcord.h: New file.
208 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * concord.c (print_concord_object): Use readable form even if
211 `print-readably' is nil.
213 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * concord.c (print_concord_object): Don't display location of
216 data-source when `print-readably' is nil.
218 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
221 the default location of data-source.
222 (complex_vars_of_concord): Use Vchise_system_db_directory to
223 assign genre `character' and `feature'.
225 * chartab.h (Vchise_system_db_directory): New extern when
226 HAVE_CONCORD is defined.
228 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
231 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
233 (Fconcord_object_genre): New function.
235 - Add new builtin symbols `character' and `feature' when
236 HAVE_LIBCHISE is defined.
237 - Add Add new builtin function `concord-object-genre'.
238 (complex_vars_of_concord): New function; assign genres `character'
239 and `feature' when HAVE_LIBCHISE is defined.
241 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * emacs.c (main_1): Call `complex_vars_of_concord' when
244 HAVE_CONCORD is defined.
246 * symsinit.h (complex_vars_of_concord): New prototype.
248 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * chartab.c (allocate_character): Add `static'.
252 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * chartab.c (allocate_character): New function.
255 (Fdefine_char): Use allocate_character().
257 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
262 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * chartab.c (save_uint8_byte_table): Fixed problem when a property
266 (save_uint16_byte_table): Likewise.
268 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * chartab.c (Fchar_feature_property): New function when LIBCHISE
272 (Fput_char_feature_property): Likewise.
273 (syms_of_chartab): Add new builtin functions
274 `char-feature-property' and `put-char-feature-property' when
277 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
281 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
283 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
286 (make_charset): Add new argument `iso_ir'.
287 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
288 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
290 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
291 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
293 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
294 function `make_charset'.
296 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
297 (struct Lisp_Charset): Add new member `iso_ir'.
298 (CHARSET_ISO_IR): New macro.
300 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
303 code-point by GL charset.
305 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * concord.c (concord_id_validate): New function.
308 (structure_type_create_concord): Use `concord_id_validate' instead
309 of `concord_name_validate' to accept integer and character as =id.
311 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * concord.c (func_for_each_object): Fix bug about GC-protection.
315 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
317 * concord.c (Fconcord_object_put): Check argument FEATURE is a
320 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * text-coding.c (struct decoding_stream): Add new member
323 `bom_flag' in XEmacs CHISE.
324 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
327 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * mule-charset.c: Move definition of `=jis-x0208@1978' to
330 lisp/mule/mule-conf.el.
332 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
334 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
335 (make_charset): Add new argument `partial'.
336 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
337 (Fmake_reverse_direction_charset): Modify for `make_charset'.
338 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
340 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
341 `=jis-x0208' as a partial coded-charset.
343 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * text-coding.c (decode_add_er_char): Fix problem when a character
346 represented by an entity-reference is not defined.
348 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
353 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
358 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
361 is a relation feature.
363 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
365 * chartab.c (syms_of_chartab): Define
366 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
368 * chartab.h (Q_denotational): New extern when UTF2000 or
369 HAVE_CONCORD is defined.
370 (Q_denotational_from): Likewise.
371 (Q_subsumptive): Likewise.
372 (Q_subsumptive_from): Likewise.
374 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * concord.c (concord_object_put): New function.
377 (Fconcord_object_put): Use `concord_object_put'.
379 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
381 * concord.c (Fconcord_define_object): New function.
382 (syms_of_concord): Add new builtin function
383 `concord-define-object'.
385 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
390 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * concord.c: Add EXFUN for Fconcord_object_get.
393 (Vconcord_genre_object_hash_table): New variable.
394 (concord_genre_cache_get_object): New function.
395 (concord_genre_cache_put_object): New function.
396 (Fconcord_make_object): Use object cache; put object-ID into `=id'
398 (Fconcord_object_put): Call `concord_index_sync' after
399 `concord_index_strid_put_obj'.
400 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
402 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * concord.c (Fconcord_decode_object): Do GCPRO for
405 Fconcord_make_object.
406 (func_for_each_object): Likewise; do GCPRO for
407 for_each_object_closure->function.
408 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
409 for_each_object_closure->function, for_each_object_closure->genre,
410 for_each_object_closure->ds and for_each_object_closure->ret.
411 (concord_object_validate): Do GCPRO for Fconcord_make_object.
413 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * concord.c: Add EXFUNs for Fconcord_decode_object and
417 (Fconcord_make_object): Change order of arguments.
418 (Fconcord_decode_object): Modify for Fconcord_make_object.
419 (func_for_each_object): Likewise.
420 (concord_object_validate): Likewise.
421 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
423 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
425 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
427 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * concord.c (Fconcord_decode_object): Try to use readable print
430 form as a key of Concord-index.
431 (Fconcord_object_get): Try to use readable print form as an ID of
433 (Fconcord_object_put): Try to use readable print form as an ID of
434 Concord-object and a feature value.
435 (Fconcord_object_spec): Try to use readable print form as an ID of
438 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * concord.c (print_concord_object): Support readable form.
442 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * emacs.c (main_1): Call `structure_type_create_concord' when
445 HAVE_CONCORD is defined.
447 * symsinit.h (structure_type_create_concord): New prototype.
449 * concord.c (Qconcord_object): New variable.
452 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
454 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
455 char*> for genre-name.
456 (Fconcord_feature_list): Likewise.
457 (Fconcord_make_object): Likewise.
458 (Fconcord_decode_object): Likewise; use <char*> instead of
459 <unsigned char*> for feature_name and strid.
460 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
461 c_obj and feature_name.
462 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
464 (struct closure_for_object_spec): Use <char*> instead of <unsigned
465 char*> for member `object_id'.
466 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
467 char*> for feature-name.
468 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
470 (func_for_each_object): Cast to avoid warnings.
471 (Fconcord_foreach_object_in_feature): Use <char*> instead of
472 <unsigned char*> for genre_name and feature_name.
473 (concord_name_validate): New function.
474 (concord_object_validate): Likewise.
475 (concord_object_instantiate): Likewise.
476 (syms_of_concord): Add new builtin symbols `concord-object',
478 (structure_type_create_concord): New function.
480 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
482 * concord.c (Vconcord_ds_hash_table): New variable.
483 (Vconcord_genre_hash_table): New variable.
484 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
485 (Fconcord_ds_directory): New function.
486 (Fconcord_assign_genre): New function.
487 (Fconcord_genre_directory): New function.
488 (Fconcord_genre_ds): New function.
489 (Fconcord_feature_list): Allow to omit `ds'.
490 (Fconcord_make_object): Likewise.
491 (Fconcord_decode_object): Likewise.
492 (Fconcord_foreach_object_in_feature): Likewise.
493 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
494 Fconcord_assign_genre, Fconcord_genre_directory and
496 (vars_of_concord): Setup Vconcord_ds_hash_table and
497 Vconcord_genre_hash_table.
499 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * concord.c (struct closure_for_each_object): Add new member
503 (func_for_each_object): Setup the return value to
504 `for_each_object_closure->ret'.
505 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
506 returns the value instead of Qt.
508 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
510 * concord.c: New file.
512 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
515 `lrecord_type_concord_object'.
517 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * symsinit.h (syms_of_concord): New prototype.
520 (vars_of_concord): New prototype.
522 * emacs.c (main_1): Setup symbols and variable about concord if
523 HAVE_CONCORD is defined.
525 * config.h.in (HAVE_CONCORD): New macro.
527 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * chartab.c (Fput_char_attribute): For each character relation
530 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
532 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * chartab.c (Fput_char_attribute): Use
535 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
536 calling `put_char_composition'.
538 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * chartab.c (Q_halfwidth_of): New variable.
541 (put_char_composition): Return `<-halfwidth' instead of
542 `=decomposition' for compatibility mapping to single character
544 (Fput_char_attribute): Convert char-specs in value of
545 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
546 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
548 (syms_of_chartab): Add new symbol `<-halfwidth'.
550 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (put_char_composition): Return
553 `<-formed@{isolated|initial|medial|final}' for compatibility
554 mapping to single character tagged
555 `{isolated|initial|medial|final}'.
557 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * chartab.c (Q_compat_of): Deleted.
560 (put_char_composition): Return `<-FOO' for compatibility mapping
561 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
562 of `symbol_name (XSYMBOL(...))'.
563 (Fput_char_attribute): Convert char-specs in value of
564 `{<-|->}font[^*]*' to characters and put reverse links.
565 (Fsave_char_attribute_table): Don't refer Q_compat_of.
566 (syms_of_chartab): Delete builtin symbol `<-compat'.
568 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.c (Q_circled_of): New variable.
571 (put_char_composition): Return `<-circled' instead of
572 `=decomposition' for compatibility mapping to single character
574 (Fput_char_attribute): Convert char-specs in value of
575 `{<-|->}circled[^*]*' to characters and put reverse links.
576 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
578 (syms_of_chartab): Add new symbol `<-circled'.
580 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * chartab.c (Qto_decomposition_at_circled): New variable.
583 (put_char_composition): Return `=>decomposition@circled' instead
584 of `=decomposition' for compatibility decomposition mapping tagged
586 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
588 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
590 * chartab.c (Q_subscript_of): New variable.
591 (put_char_composition): Return `<-subscript' instead of
592 `=decomposition' for compatibility mapping to single character
594 (Fput_char_attribute): Convert char-specs in value of
595 `{<-|->}subscript[^*]*' to characters and put reverse links.
596 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
598 (syms_of_chartab): Add new symbol `<-subscript'.
600 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * chartab.c (Q_superscript_of): New variable.
603 (put_char_composition): Return `<-superscript' instead of
604 `=decomposition' for compatibility mapping to single character
606 (Fput_char_attribute): Convert char-specs in value of
607 `{<-|->}superscript[^*]*' to characters and put reverse links.
608 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
610 (syms_of_chartab): Add new symbol `<-superscript'.
612 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
614 * chartab.c (Qto_decomposition_at_compat): Deleted.
615 (Qto_decomposition_at_superscript): New variable.
616 (put_char_composition): Use `=>decomposition@superscript' instead
617 of `=decomposition' for compatibility decomposition mapping tagged
619 (Fput_char_attribute): Fix condition about `put_char_composition'.
620 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
621 add news symbol `=>decomposition@superscript'.
623 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
626 for compatibility decomposition mapping tagged FOO.
627 (Fput_char_attribute): Modify for `put_char_composition'.
629 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * chartab.c (Qto_decomposition_at_compat): New variable.
632 (Q_compat_of): Renamed from `Q_compatibility_of'.
633 (put_char_composition): Rename `Q_compatibility_of' to
634 `Q_compat_of'; return `=>decomposition@compat' for compatibility
635 decomposition mapping.
636 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
638 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
639 `<-compatibility' to `<-compat'.
641 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * chartab.c (Q_compatibility_of): New variable.
644 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
645 object is proved to be a cons cell; return `<-compatibility' if
646 the first element of argument `value' is `compat'.
647 (Fput_char_attribute): Eliminate the first value if
648 `put_char_composition' returns `<-compatibility'.
649 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
650 for `<-compatibility'.
651 (syms_of_chartab): Add new symbol `<-compatibility'.
653 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
655 * chartab.c (Q_canonical): New variable.
656 (put_char_composition): Return a feature name: return
657 `->canonical' if argument `value' specifies single character.
658 (Fput_char_attribute): Use `put_char_composition' to determine
659 feature name for `=decomposition' or `->denotational'.
660 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
662 (syms_of_chartab): Add new symbol `->canonical'.
664 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * chartab.c (Qmap_decomposition): New variable.
667 (Fput_char_attribute): Convert `->decomposition' to
669 (syms_of_chartab): Add new symbol `=decomposition'.
671 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * chartab.c (Fget_range_char_table): Fix serious problem when
676 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
678 * chartab.c (char_table_get_db): Use `read_from_c_string'.
680 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * lread.c (read_from_c_string): New function.
684 * lisp.h (read_from_c_string): New prototype.
686 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * chartab.c (Fput_char_attribute): Convert char-specs in value of
689 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
690 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
691 for `{<-|->}Oracle-Bones[^*]*'.
693 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
698 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
700 * text-coding.c (Qccs_priority_list): New variable in XEmacs
702 (Fmake_coding_system): Support new property `ccs-priority-list' in
704 (Fcoding_system_property): Likewise.
705 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
706 Vdefault_coded_charset_priority_list in XEmacs CHISE.
707 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
709 (complex_vars_of_file_coding): Define new coding-system-property
710 `ccs-priority-list' in XEmacs CHISE.
712 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
714 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
717 changed to normal function.
718 (encode_char_2): Likewise.
720 * mule-charset.c (decoding_table_put_char): Copied from
721 char-ucs.h; changed to normal function.
722 (encode_char_2): Likewise.
724 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
728 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
729 (encode_char_2_search_children): New inline function.
730 (encode_char_2): Refer
731 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
732 and use `encode_char_2_search_children'.
734 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
738 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
739 (vars_of_mule_charset): Add new variable
740 `display-coded-charset-priority-use-inheritance' and
741 `display-coded-charset-priority-use-hierarchy-order'.
743 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * char-ucs.h (Q_subsumptive): New extern.
746 (Q_denotational): Likewise.
747 (encode_char_2): Search children specified by `->subsumptive' and
750 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * mule-charset.c (complex_vars_of_mule_charset): Modify the
753 X-registry of `ucs-bmp'.
755 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * chartab.c (char-variants): Refer `->subsumptive',
758 `->denotational' and `->identical' as same as `->ucs-unified'.
760 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * chartab.c (Fput_char_attribute): Convert char-specs in value of
763 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
766 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * text-coding.c: Add EXFUN for `Fregexp_quote'.
769 (decode_add_er_char): Fix problem about infinite loop when a CCS
770 specified in `coded-charset-entity-reference-alist' is not
773 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * mule-charset.c (syms_of_mule_charset): Rename
776 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
778 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * fns.c (simplify_char_spec): Don't allocate new character-object
781 if specified char_spec does not have any CCS-features.
783 * chartab.h: Add EXFUN for Fdefine_char.
785 * chartab.c: Delete EXFUN for Fdefine_char.
787 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
789 * fns.c (simplify_char_spec): Use Fdefine_char instead of
790 Ffind_char for char-spec.
792 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
794 * lisp-disunion.h (XCHARVAL): Fix condition about
797 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
801 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
802 point; use <Emchar> instead of <int> for character-id.
804 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
807 (make_char): Likewise.
808 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
810 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
811 instead of <int> as the type of return value; use <Lisp_Object>
812 instead of <Emchar> as the type of argument.
813 (XCHARVAL[macro version]): Cast the result into <Emchar>.
815 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
816 syntaxcode> instead of <int>.
818 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
820 * chartab.c (put_char_composition): Use DECODE_CHAR to get
821 character corresponding with UCS code point.
822 (Fput_char_attribute): Likewise.
824 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
825 character in the UCS decoding-table if the char-id is not equal to
828 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
831 for aliases; write `description'; write
832 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
835 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * chartab.c (Fsave_char_attribute_table): Don't use
838 `save_charset_properties'.
840 * mule-charset.c (Fsave_charset_properties): Renamed from
841 `save_charset_properties' and changed to Lisp function again;
842 write property `type' as `CCS'; write properties `final-byte' and
843 `mother' if they exists.
844 (syms_of_mule_charset): Revive builtin function
845 `save-charset-properties' when HAVE_LIBCHISE is defined.
847 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
849 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
850 instead of Vexec_directory.
851 (char_attribute_system_db_file): Likewise.
853 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * chartab.c (Fsave_char_attribute_table): Use
856 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
859 * mule-charset.c (save_charset_properties): Renamed from
860 `Fsave_charset_properties'; changed to non-Lisp function.
861 (syms_of_mule_charset): Abolish builtin function
862 `save-charset-properties'.
864 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * mule-charset.c (Fsave_charset_properties): New function when
867 HAVE_LIBCHISE is defined.
868 (syms_of_mule_charset): Add new builtin function
869 `save-charset-properties' when HAVE_LIBCHISE is defined.
871 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * chartab.c (Fput_char_attribute): Convert char-specs in value of
874 `{<-|->}ancient[^*]*' to characters and put reverse links.
875 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
876 for `{<-|->}ancient[^*]*'.
878 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c (Fput_char_attribute): Convert char-specs in value of
881 `{<-|->}original[^*]*' to characters and put reverse links.
882 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
883 for `{<-|->}original[^*]*'.
885 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
887 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
889 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
891 * mule-charset.c (Qsystem_char_id): New variable.
893 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
894 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
896 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * chartab.c (Fput_char_attribute): When processing a reference of
899 a character, put into the end of the reversed reference of each
902 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * chartab.c (Q_same): Deleted.
905 (Q_same_of): Deleted.
906 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
907 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
909 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
911 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.c (Q_vulgar): Deleted.
914 (Q_vulgar_of): Deleted.
915 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
916 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
918 (syms_of_chartab): Don't define `{<-|->}vulgar'.
920 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c (Fput_char_attribute): Convert char-specs in value of
923 `{<-|->}wrong[^*]*' to characters and put reverse links.
924 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
925 for `{<-|->}wrong[^*]*'.
927 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * chartab.c (Q_vulgar): New variable.
930 (Q_vulgar_of): New variable.
931 (Fput_char_attribute): Convert char-specs in value of
932 `{->|<-}vulgar' to characters and put reverse links.
933 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
935 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
937 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * text-coding.c (decode_add_er_char): Must to quote prefix string
942 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
944 * mule-charset.c (put_char_ccs_code_point): Store characters of
945 =ucs whose code_points >= 0xF0000.
947 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
949 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
951 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
953 (complex_vars_of_mule_charset): Add new coded-charset
954 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
955 builtin characters over 0xEFFFF.
957 * chartab.c (syms_of_chartab): Don't define symbol
958 `system-char-id' in every case.
960 * char-ucs.h (Qsystem_char_id): New extern variable.
961 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
963 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * text-coding.c (char_encode_utf8): Try to use entity-references
966 for U-000F0000 ... U-0010FFFF.
968 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
970 * text-coding.c (ER_BUF_SIZE): New macro.
971 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
973 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
974 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
976 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * chartab.c (find_char_feature_in_family): New function.
979 (Fchar_feature): Use `find_char_feature_in_family' with
980 `->identical', `<-subsumptive' and `<-denotational'.
982 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
984 * text-coding.c (char_encode_as_entity_reference): Allow prefix
985 within 8 characters; fix infinite loop.
987 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
989 * chartab.c (Q_same): New variable.
990 (Q_same_of): New variable.
991 (Fput_char_attribute): Convert char-specs in value of
992 `{->|<-}same' to characters and put reverse links.
993 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
995 (syms_of_chartab): Add new symbols `{->|<-}same'.
997 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * chartab.c (Q_component): New variable.
1000 (Q_component_of): Likewise.
1001 (Fput_char_attribute): Convert char-specs in value of
1002 `{->|<-}ideographic-component-forms' to characters and put reverse
1004 (syms_of_chartab): Add new symbols
1005 `{->|<-}ideographic-component-forms'.
1007 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1009 * chartab.c (Q_identical): New variable.
1010 (Q_identical_from): New variable.
1011 (Fchar_feature): Regard `->identical' as a feature to find
1013 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
1014 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1015 for `{->|<-}identical'.
1016 (syms_of_chartab): Add new symbols `{->|<-}identical'.
1018 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1020 * char-ucs.h (encode_char_2): New inline function.
1021 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
1023 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1025 * chartab.c (Fput_char_attribute): Convert char-specs to
1026 characters in value of `ideographic-structure'.
1027 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1028 for `{<-|->}simplified(@...)'.
1029 (Fdefine_char): Try to use predefined character's id.
1031 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * fns.c (simplify_char_spec): Try to convert builtin chars to
1036 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1038 * chartab.c (Fput_char_attribute): Convert char-specs in value of
1039 `<-simplified[^*]*' to characters and put reverse links.
1041 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1043 * chartab.c (Q_subsumptive): Renamed from Q_unified.
1044 (Q_subsumptive_from): Renamed from Q_unified_from.
1045 (Fchar_feature): Use `Q_subsumptive_from' instead of
1047 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
1049 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
1050 `<-unified' to `<-subsumptive'.
1052 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1054 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
1055 inheritance itself; fix typo; stop recursive search if cyclic
1056 inheritance is found.
1058 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * chartab.c (Q_denotational): New variable.
1061 (Q_denotational_from): New variable.
1062 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
1063 (put_char_attribute): New function.
1064 (Fput_char_attribute): Use `put_char_attribute'; regard
1065 `->denotational' and `<-denotational' as same as `->unified' and
1067 (syms_of_chartab): Add new symbols `->denotational' and
1070 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1072 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
1073 `Fget_char_attribute'.
1074 (Fchar_variants): Likewise.
1075 (get_char_table): Likewise.
1076 (Fchar_feature): New function.
1077 (put_char_composition): Use `Fchar_feature' instead of
1078 `Fget_char_attribute'.
1079 (Fput_char_attribute): Likewise; don't put the target character
1080 into its `->unified' value.
1081 (syms_of_chartab): Add new builtin function `char-feature'.
1083 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
1086 `Fget_char_attribute'.
1087 (char_encode_utf8): Likewise.
1089 * chartab.h: Add an EXFUN for `Fchar_feature'.
1091 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * chartab.c (Vnext_defined_char_id): New variable.
1094 (Fput_char_attribute): Accept characters in `->unified'.
1095 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
1096 new characters which are not related with builtin char-id ranges.
1097 (vars_of_chartab): Add new variable `next-defined-char-id'.
1099 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1101 * chartab.c (Q_unified): New variable.
1102 (Q_unified_from): New variable.
1103 (Fput_char_attribute): Add code for `->unified'.
1104 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1107 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1109 * mule-charset.c (decode_ccs_conversion): New function.
1110 (decode_defined_char): Use `decode_ccs_conversion'.
1111 (decode_builtin_char): Likewise.
1113 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1115 * char-ucs.h: Change some charset-ids of private coded-charsets.
1117 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1119 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1120 (char_encode_as_entity_reference): Likewise.
1121 (decode_coding_big5): Modify for `decode_defined_char' and
1123 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1124 avoid compiler warning.
1125 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1127 * mule-charset.c (decode_defined_char): Add new argument
1128 `without_inheritance'.
1129 (Fdecode_char): Add new optional argument `without_inheritance'.
1130 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1132 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1133 (simplify_char_spec): Likewise.
1135 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1138 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1139 (map_char_table): Likewise.
1140 (Fdefine_char): Use `Fdecode_char' without inheritance.
1141 (Ffind_char): Modify for `Fdecode_char'.
1143 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1145 * char-ucs.h (decode_defined_char): Add new argument
1146 `without_inheritance'.
1147 (DECODE_CHAR): Likewise.
1148 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1150 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152 * chartab.c (Vchise_system_db_directory): New variable.
1153 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1155 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1158 (print_chartab_range): Don't define when `UTF2000' is defined.
1159 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1162 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1164 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1165 and optional argument `rehash' is specified, call
1166 `open_chise_data_source_maybe' before
1167 `chise_ds_foreach_char_feature_name' is called.
1169 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1171 * chartab.c (char_attribute_list_reset_map_func): New function
1172 when HAVE_LIBCHISE is defined.
1173 (Fchar_attribute_list): Add new optional argument `rehash' when
1174 HAVE_LIBCHISE is defined.
1175 (open_chise_data_source_maybe): Use "chise-db" instead of
1177 (char_attribute_system_db_file): Likewise.
1178 (Fload_char_attribute_table): Use
1179 `chise_feature_foreach_char_with_value' instead of
1180 `chise_char_feature_value_iterate'.
1182 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * chartab.c (Vchise_db_directory): New variable.
1185 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1187 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1190 instead of HAVE_CHISE to specify using with libchise.
1192 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1194 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1196 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1197 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1198 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1200 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1201 HAVE_CHISE to specify using with libchise.
1202 (syms_of_chartab): Don't define symbol `system-char-id' when
1203 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1205 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1208 specify CHISE DB support.
1209 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1210 of `char_attribute_system_db_file' to check feature DB file.
1212 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1213 HAVE_CHISE_CLIENT to specify CHISE DB support.
1215 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1216 specify CHISE DB support.
1217 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1219 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1220 instead of `char_attribute_system_db_file' to check feature DB
1223 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1225 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1226 `HAVE_CHISE_CLIENT'.
1228 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1231 (Fsave_charset_mapping_table): Don't use
1232 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1234 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1235 (HAVE_LIBCHISE): New macro.
1237 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1239 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1240 (Fsave_char_attribute_table): Don't use
1241 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1243 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1245 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1247 (save_uint16_byte_table): Likewise.
1248 (save_byte_table): Likewise.
1249 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1250 instead of `chise_char_load_feature_value'.
1251 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1253 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * chartab.h (struct Lisp_Char_Table): Delete member
1256 `feature_table' if CHISE is defined.
1258 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1259 (Fcopy_char_table): Likewise.
1260 (char_table_open_db_maybe): Likewise.
1261 (char_table_close_db_maybe): Likewise.
1262 (char_table_get_db): Likewise.
1263 (Fmount_char_attribute_table): Likewise.
1264 (Fload_char_attribute_table): Likewise.
1266 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1268 * mule-charset.c (load_char_decoding_entry_maybe): Use
1269 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1272 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1274 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1275 instead of `chise_open_data_source'.
1276 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1279 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1282 instead of `chise_ds_open_feature_table'.
1283 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1285 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * mule-charset.c (Fsave_charset_mapping_table): Use
1288 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1289 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1290 `chise_ccs_sync' instead of `chise_ccst_close'.
1291 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1293 * chartab.c (open_chise_data_source_maybe): Modify for
1294 `chise_open_data_source'.
1295 (char_table_open_db_maybe): Modify for
1296 `chise_ds_open_feature_table'.
1298 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1300 * mule-charset.c (load_char_decoding_entry_maybe): Use
1301 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1304 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1306 * mule-charset.c (Fsave_charset_mapping_table): Use
1307 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1308 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1309 `chise_dt_put_char' and `chise_dt_close'.
1310 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1311 `chise_ccs_decode' and `chise_ccst_close' instead of
1312 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1315 * chartab.c (char_table_get_db): Use
1316 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1317 (load_char_attribute_table_map_func): Modify for
1318 `chise_char_feature_value_iterate'.
1319 (Fload_char_attribute_table): Use
1320 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1322 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1324 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1326 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1328 * chartab.c (put_char_table): Modify for inherited coded-charsets
1331 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * chartab.c (Fput_char_table_map_function): Fixed.
1334 (word_boundary_p): Don't check charset in XEmacs CHISE.
1336 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1338 * mule-charset.c (Fsave_charset_mapping_table): Use
1339 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1340 instead of `chise_open_decoding_table'; refer
1341 `default_chise_data_source'; use `chise_dt_close' instead of
1342 `chise_close_decoding_table'.
1343 (load_char_decoding_entry_maybe): Likewise.
1345 * chartab.c (default_chise_data_source): New variable when `CHISE'
1347 (Fcopy_char_table): `ct->ds' is deleted.
1348 (open_chise_data_source_maybe): New function.
1349 (Fclose_char_data_source): New function.
1350 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1351 use `chise_ds_open_feature_table' instead of
1352 `chise_open_feature_table'.
1353 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1354 `chise_close_feature_table'; `cit->ds' is deleted.
1355 (syms_of_chartab): Add new builtin function
1356 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1358 * chartab.h (default_chise_data_source): New extern variable.
1359 (open_chise_data_source_maybe): New prototype.
1360 (struct Lisp_Char_Table): Delete `ds'.
1362 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1367 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1370 not defined; add code for non-libchise setting.
1371 (char_table_close_db_maybe): Likewise.
1372 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1374 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1375 even if `CHISE' is not defined.
1376 (Freset_char_attribute_table): Likewise.
1377 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1378 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1379 `char_table_get_db'.
1380 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1381 `char_table_close_db_maybe' even if `CHISE' is not defined.
1383 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1385 * chartab.c (char_table_open_db_maybe): New function.
1386 (char_table_close_db_maybe): New function.
1387 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1388 (Freset_char_attribute_table): Likewise.
1389 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1390 `char_table_close_db_maybe'.
1391 (Fload_char_attribute_table): Likewise.
1393 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1395 * chartab.c: Don't include <chise.h> because it is included in
1397 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1399 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1401 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1403 (Fclose_char_attribute_table): Close `ct->feature_table' and
1404 `ct->ds' when `CHISE' is defined.
1405 (Freset_char_attribute_table): Likewise.
1406 (load_char_attribute_maybe): Use `cit->ds' and
1407 `cit->feature_table' when `CHISE' is defined.
1408 (Fload_char_attribute_table): Likewise.
1410 * chartab.h: Include <chise.h> when `CHISE' is defined.
1411 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1412 when `CHISE' is defined.
1414 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1416 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1418 (char_table_description): Likewise.
1419 (Fmake_char_table): Likewise.
1420 (Fcopy_char_table): Likewise.
1421 (Fmount_char_attribute_table): Likewise.
1422 (Fclose_char_attribute_table): Likewise.
1423 (Freset_char_attribute_table): Likewise.
1424 (load_char_attribute_maybe): Likewise.
1425 (Fload_char_attribute_table): Likewise.
1427 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1430 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1432 * chartab.c (load_char_attribute_table_map_func): New function
1433 when CHISE is defined.
1434 (Qload_char_attribute_table_map_function): Don't define when CHISE
1436 (Fload_char_attribute_table_map_function): Likewise.
1437 (Fload_char_attribute_table): Use libchise when `CHISE' is
1439 (syms_of_chartab): Don't define
1440 `load-char-attribute-table-map-function' when CHISE is defined.
1442 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1444 * chartab.c: Include <chise.h> when `CHISE' is defined.
1445 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1447 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (charset_code_point): Fix problem when searching
1450 in mother CCS fails with `defined_only' mode.
1452 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1454 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1455 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1456 (put_char_composition): Likewise.
1457 (Fput_char_attribute): Likewise.
1458 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1460 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * chartab.c (Q_ucs): Deleted.
1463 (Fput_char_attribute): Don't refer `->ucs'.
1464 (Fdefine_char): Likewise.
1465 (Ffind_char): Likewise.
1466 (syms_of_chartab): Delete `->ucs'.
1468 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1470 * mule-charset.c (Qmap_cns11643_2): Renamed from
1471 `Qchinese_cns11643_2'.
1472 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1473 `chinese-cns11643-2'.
1474 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1477 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * mule-charset.c (Qmap_cns11643_1): Renamed from
1480 `Qchinese_cns11643_1'.
1481 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1482 `chinese-cns11643-1'.
1483 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1486 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1488 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1489 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1491 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1494 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1496 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1497 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1499 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1502 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1504 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1505 (syms_of_mule_charset): Add new symbol `=big5' instead of
1507 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1509 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1511 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1512 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1514 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1517 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1519 * mule-charset.c (Qmap_jis_x0212): Renamed from
1520 `Qjapanese_jisx0212'.
1521 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1522 `japanese-jisx0212'.
1523 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1526 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1528 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1529 `Qjapanese_jisx0208'.
1530 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1531 of `japanese-jisx0208'.
1532 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1535 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1537 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1538 `Qjapanese_jisx0208_1978'.
1539 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1540 of `japanese-jisx0208-1978'.
1541 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1544 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1547 only for XEmacs CHISE.
1549 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * char-ucs.h: Compact non-ISO-IR charset-ids.
1552 (LEADING_BYTE_UCS): Changed to -177.
1553 (LEADING_BYTE_CONTROL_1): Changed to -77.
1554 (LEADING_BYTE_UCS_BMP): Changed to -176.
1555 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1557 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1559 * mule-charset.c (Qiso_ir): New variable.
1560 (Fmake_charset): Recognise new property `iso-ir'.
1561 (syms_of_mule_charset): Add new symbol `iso-ir'.
1563 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1565 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1566 n to -n; charset-id of non ISO-IR sets are changed to positive
1569 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1572 for &MCS-XXXXXXXX; values.
1574 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1576 * mule.c (Vxemacs_chise_version): Renamed from
1577 `Vutf_2000_version'.
1578 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1579 `utf-2000-version' as an alias for `xemacs-chise-version'.
1581 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1583 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1584 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1587 * config.h.in (CHISE): New macro.
1589 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1591 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1593 (Qmap_ucs): New variable.
1594 (syms_of_mule_charset): Add new symbol `=ucs'.
1595 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1597 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1598 (simplify_char_spec): Likewise.
1600 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1602 * char-ucs.h (Qmap_ucs): New extern variable.
1604 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1607 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1608 don't define it when UTF2000 is not defined.
1609 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1610 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1611 when UTF2000 is not defined.
1612 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1613 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1615 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1619 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1621 (syms_of_mule_charset): Delete `ucs-gb'.
1622 (complex_vars_of_mule_charset): Likewise.
1624 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1626 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1628 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1629 (Qucs_cns): Deleted.
1630 (syms_of_mule_charset): Delete `ucs-cns'.
1631 (complex_vars_of_mule_charset): Likewise.
1633 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1635 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1637 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1638 (Qucs_jis): Deleted.
1639 (syms_of_mule_charset): Delete `ucs-jis'.
1640 (complex_vars_of_mule_charset): Likewise.
1642 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1644 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1646 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1648 (syms_of_mule_charset): Delete `ucs-ks'.
1649 (complex_vars_of_mule_charset): Likewise.
1651 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1653 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1654 (Qideograph_daikanwa_2): Deleted.
1655 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1656 (complex_vars_of_mule_charset): Likewise.
1658 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1659 (LEADING_BYTE_DAIKANWA_1): Deleted.
1660 (LEADING_BYTE_DAIKANWA_2): Deleted.
1661 (MIN_CHAR_DAIKANWA): Deleted.
1662 (MAX_CHAR_DAIKANWA): Deleted.
1664 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1666 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1667 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1668 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1670 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1671 (Vcharset_ideograph_daikanwa): Deleted.
1672 (Qideograph_hanziku_{1..12}): Deleted.
1673 (Qideograph_daikanwa): Deleted.
1674 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1675 Vcharset_ideograph_daikanwa.
1676 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1677 `ideograph-hanziku-{1..12}'.
1678 (complex_vars_of_mule_charset): Likewise.
1680 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1682 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1684 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1685 (Qideograph_gt_pj_{1..11}): Deleted.
1686 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1687 (complex_vars_of_mule_charset): Likewise.
1689 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1692 (Vcharset_ideograph_gt): Deleted.
1693 (Qucs_big5): Deleted.
1694 (Qideograph_gt): Deleted.
1695 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1697 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1700 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1701 (LEADING_BYTE_GT): Deleted.
1702 (MIN_CHAR_GT): Deleted.
1703 (MAX_CHAR_GT): Deleted.
1705 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1707 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1709 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1711 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1712 (save_uint16_byte_table): Likewise.
1713 (save_byte_table): Likewise; convert values by it.
1714 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1715 for `ideographic-structure'.
1716 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1717 as the filter for `ideographic-structure'.
1719 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1721 * chartab.c (put_char_composition): New function.
1722 (Fput_char_attribute): Use `put_char_composition'; use
1723 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1725 * fns.c (simplify_char_spec): New function.
1726 (char_ref_simplify_spec): New function.
1727 (Fchar_refs_simplify_char_specs): New function.
1728 (syms_of_fns): Add new builtin function
1729 `char-refs-simplify-char-specs'.
1731 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1733 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1734 (Qideograph_cbeta): Deleted.
1735 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1736 (complex_vars_of_mule_charset): Likewise.
1738 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1739 (MIN_CHAR_CBETA): Comment out.
1740 (MAX_CHAR_CBETA): Likewise.
1742 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1745 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1746 CHISE client feature.
1748 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1750 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1752 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1754 * mule-charset.c (charset_lookup_description_1): Use
1755 `NUM_LEADING_BYTES' in UTF-2000.
1757 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1759 * char-ucs.h (GC_CHARSETP): Deleted.
1761 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1763 * char-ucs.h (MAX_CHAR_GT): Updated.
1765 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1767 * text-coding.c: Sync with XEmacs 21.4.10.
1769 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1771 * mule-charset.c (Vcharset_china3_jef): Deleted.
1772 (Qchina3_jef): Deleted.
1773 (syms_of_mule_charset): Don't define `china3-jef'.
1774 (complex_vars_of_mule_charset): Likewise.
1776 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1777 (MIN_CHAR_CHINA3_JEF): Comment out.
1778 (MAX_CHAR_CHINA3_JEF): Comment out.
1780 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * mule-charset.c (Vcharset_ucs_gb): New variable.
1783 (Qucs_gb): New variable.
1784 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1785 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1787 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1789 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1791 * mule-charset.c (charset_code_point): if a coded-charset has a
1792 final-byte, don't inherit the builtin range of the mother CCS.
1794 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1796 * mule-charset.c (charset_code_point): Fix problem about
1799 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1801 * mule-charset.c (decode_builtin_char): Reorganized.
1803 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1805 * text-coding.c (char_encode_as_entity_reference): Modify for
1806 `charset_code_point'.
1807 (char_encode_shift_jis): Likewise.
1808 (char_encode_big5): Likewise.
1809 (char_encode_utf8): Likewise.
1810 (char_encode_iso2022): Likewise.
1812 * mule-charset.c (charset_code_point): Add new argument
1814 (Fencode_char): Add new optional argument `defined_only'.
1816 * chartab.c (put_char_table): Modify for `charset_code_point'.
1818 * char-ucs.h (charset_code_point): Add new argument
1820 (encode_char_1): Modify for `charset_code_point'.
1822 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1824 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1825 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1827 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1829 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1830 (Qjis_x0208): Likewise.
1831 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1832 XCHARSET_FINAL(charset).
1833 (charset_code_point): Modify condition for final-byte based
1835 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1836 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1837 in UTF-2000; specify `=jis-x0208' as the mother of
1838 `japanese-jisx0208-1978', `japanese-jisx0208' and
1839 `japanese-jisx0208-1990' in UTF-2000.
1841 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1843 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1845 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1847 * text-coding.c (decode_coding_utf16): Support UTF-16.
1848 (char_encode_utf16): Fixed.
1850 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1852 * text-coding.c (Qutf16): New variable in MULE.
1853 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1854 (Fcoding_system_type): Add `utf-16' in MULE.
1855 (struct detection_state): Add a structure for utf16 in MULE.
1856 (detect_coding_type): Setup st->utf16.mask in MULE.
1857 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1859 (reset_encoding_stream): Use `char_encode_utf16' and
1860 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1861 (detect_coding_utf16): New function [incomplete].
1862 (decode_coding_utf16): New function [support only UCS-2].
1863 (char_encode_utf16): New function.
1864 (char_finish_utf16): New function.
1865 (syms_of_file_coding): Add new symbol `utf-16'; setup
1866 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1868 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1870 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1871 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1873 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1875 * chartab.c (put_char_table): When a charset is specified as a
1876 range in UTF-2000, don't support builtin characters.
1878 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1880 * mule-charset.c (decode_defined_char): Don't refer external
1881 database if Qunbound or Qnil are found.
1882 (Fsave_charset_mapping_table): Don't define it if
1883 HAVE_CHISE_CLIENT is not defined.
1884 (Freset_charset_mapping_table): New function.
1885 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1886 found in external database.
1887 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1888 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1889 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1891 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1893 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1896 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1898 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1899 Q_lowercase, Q_uppercase in UTF-2000.
1901 * chartab.c (get_char_table): Add special code for the standard
1902 case table to use character attribute `->downcase' and
1903 `->uppercase' for case operations in UTF-2000.
1905 * casetab.c (Qflippedcase): New variable in UTF-2000.
1906 (Q_lowercase): Likewise.
1907 (Q_uppercase): Likewise.
1908 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1909 and `->uppercase' in UTF-2000.
1910 (complex_vars_of_casetab): Assign attribute name `downcase' to
1911 downcase and CANON table of Vstandard_case_table in UTF-2000;
1912 assign attribute name `flippedcase' to upcase and EQV table of
1913 Vstandard_case_table in UTF-2000.
1915 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1917 * text-coding.c (decode_add_er_char): Support isolated-chars.
1918 (char_encode_as_entity_reference): Likewise.
1920 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1922 * emacs.c (Vutf_2000_lisp_directory): New variable.
1923 (Vconfigure_utf_2000_lisp_directory): Likewise.
1924 (complex_vars_of_emacs): Add new variable
1925 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1927 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1929 * char-ucs.h (DECODE_CHAR): Delete special code for
1930 `chinese-big5-1' and `chinese-big5-2'.
1932 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1933 (Qbig5_2): Likewise.
1934 (decode_defined_char): Support CONVERSION_BIG5_1 and
1936 (decode_builtin_char): Likewise.
1937 (charset_code_point): Likewise.
1938 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1939 'conversion in UTF-2000.
1940 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1941 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1942 `chinese-big5-2' as children of `chinese-big5'.
1944 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1945 (CONVERSION_BIG5_2): New macro.
1947 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1949 * text-coding.c (char_encode_big5): Support entity-reference.
1951 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1953 * text-coding.c (char_encode_as_entity_reference): New function.
1954 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1956 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1958 * text-coding.c (decode_coding_big5): Support entity-reference
1961 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * text-coding.c (allocate_coding_system): Initialize initial
1964 charsets for CODESYS_UTF8.
1965 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1966 charset-g2 for CODESYS_UTF8.
1967 (decode_coding_utf8): Use charset-g0.
1968 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1969 to force variants to map to UCS.
1971 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1973 * text-coding.c (Qutf_8_mcs): New variable.
1974 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1975 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1976 instead of `utf-8' in UTF-2000.
1978 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1980 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1981 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1982 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1983 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1984 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1985 CONVERSION_96x96x96x96 are introduced.
1986 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1987 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1988 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1990 * char-ucs.h (CONVERSION_94): New macro.
1991 (CONVERSION_96): New macro.
1992 (CONVERSION_94x94): New macro.
1993 (CONVERSION_96x96): New macro.
1994 (CONVERSION_94x94x94): New macro.
1995 (CONVERSION_96x96x96): New macro.
1996 (CONVERSION_94x94x94x60): New macro.
1997 (CONVERSION_94x94x94x94): New macro.
1998 (CONVERSION_96x96x96x96): New macro.
2000 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2002 * chartab.c (Vcharacter_variant_table): Deleted.
2003 (Fchar_variants): Use character-attribute `->ucs-variants' instead
2004 of `Vcharacter_variant_table'.
2005 (Fput_char_attribute): Likewise.
2006 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
2007 (complex_vars_of_chartab): Likewise.
2009 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2011 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
2013 * fns.c (Qideographic_structure): New variable.
2014 (Qkeyword_char): New variable.
2015 (ids_format_unit): New function.
2016 (Fideographic_structure_to_ids): New function.
2017 (syms_of_fns): Add new symbols `ideographic-structure' and
2018 `:char'; add new builtin function `ideographic-structure-to-ids'.
2020 * data.c (Fchar_ref_p): New function.
2021 (syms_of_data): Add new builtin function `char-ref-p'.
2023 * chartab.h: Add an EXFUN for `Ffind_char'.
2025 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2027 * text-coding.c (Vcharacter_composition_table): Deleted.
2028 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
2031 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
2033 (Vcharacter_composition_table): Deleted.
2034 (Fget_composite_char): Use the implementation for external-DB
2035 support in every UTF-2000.
2036 (Fput_char_attribute): Likewise.
2037 (char_attribute_system_db_file): Don't define if external-DB
2038 feature is not available.
2039 (Fsave_char_attribute_table): Likewise.
2040 (Fmount_char_attribute_table): Likewise.
2041 (Fclose_char_attribute_table): Likewise.
2042 (Freset_char_attribute_table): Likewise.
2043 (Fload_char_attribute_table): Likewise.
2044 (syms_of_chartab): Don't define `save-char-attribute-table',
2045 `mount-char-attribute-table', `reset-char-attribute-table',
2046 `close-char-attribute-table' and `load-char-attribute-table' if
2047 external-DB feature is not available.
2048 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
2050 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2052 * text-coding.c (Qcomposition): Add extern if external-DB feature
2054 (Vcharacter_composition_table): Don't add extern if external-DB
2055 feature is supported.
2056 (COMPOSE_ADD_CHAR): Modify for new data-representation of
2057 character composition rule if external-DB feature is supported.
2059 * chartab.c (Vcharacter_composition_table): Don't define if
2060 external-DB feature is supported.
2061 (Qcomposition): New variable.
2062 (Fget_composite_char): New implementation for external-DB support.
2063 (Fput_char_attribute): Use `composition' property of each
2064 character instead of `Vcharacter_composition_table' to store
2065 character-composition rules if external-DB feature is supported.
2066 (syms_of_chartab): Add new symbol `composition'.
2067 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
2068 external-DB feature is supported.
2070 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2072 * chartab.c (Vchar_db_stingy_mode): New variable.
2073 (load_char_attribute_maybe): Close database if
2074 Vchar_db_stingy_mode is not NIL.
2075 (Fload_char_attribute_table_map_function): Use
2076 `get_char_id_table_0' instead of `get_char_id_table'.
2077 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
2079 * chartab.h (get_char_id_table_0): New inline function.
2080 (get_char_id_table): Use `get_char_id_table_0'.
2082 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2084 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
2085 and `COMPOSE_ADD_CHAR'.
2086 (decode_coding_iso2022): Use `decode_flush_er_chars'.
2088 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2090 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
2091 instead of `DECODE_ADD_UCS_CHAR'.
2092 (COMPOSE_ADD_CHAR): Likewise.
2094 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2096 * text-coding.c (decode_flush_er_chars): New inline function.
2097 (decode_add_er_char): New function.
2098 (decode_coding_utf8): Use `decode_flush_er_chars' and
2099 `decode_add_er_char'.
2101 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2103 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2104 done before `decode_output_utf8_partial_char'.
2106 * mule-charset.c (complex_vars_of_mule_charset): Specify
2107 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2108 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2110 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * mule-charset.c (decode_defined_char): New function; search
2114 (decode_builtin_char): Don't search mother if
2115 XCHARSET_MAX_CODE(charset) == 0.
2116 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2117 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2118 (Fdecode_char): Use `decode_defined_char' instead of
2119 `DECODE_DEFINED_CHAR'.
2120 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2121 mother of `Vcharset_ucs_jis'.
2123 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2124 instead of `DECODE_DEFINED_CHAR'.
2126 * char-ucs.h (decode_defined_char): Renamed from
2127 `DECODE_DEFINED_CHAR'; changed to normal function.
2128 (DECODE_CHAR): Use `decode_defined_char' instead of
2129 `DECODE_DEFINED_CHAR'.
2131 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2133 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2135 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2137 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2139 (Quse_entity_reference): New variable.
2143 (coding_system_description): Add description for
2144 `ccs_priority_list'.
2145 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2146 (allocate_coding_system): Initialize `ccs_priority_list' in
2148 (Fmake_coding_system): Add description about
2149 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2151 (Fcoding_system_property): Accept `disable-composition' and
2152 `use-entity-reference' in UTF-2000.
2153 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2155 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2156 (decode_coding_utf8): Decode entity-reference if
2157 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2158 (char_encode_utf8): Encode non-Unicode characters as
2159 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2161 (syms_of_file_coding): Add new symbols `use-entity-reference',
2163 (vars_of_file_coding): Add new variable
2164 `coded-charset-entity-reference-alist'.
2165 (complex_vars_of_file_coding): Declare `disable-composition' and
2166 `use-entity-reference' to be coding-system-properties in UTF-2000.
2168 * file-coding.h (struct Lisp_Coding_System): Add new member
2169 `use_entity_reference' and `ccs_priority_list'.
2170 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2171 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2172 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2174 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2176 * chartab.c (save_uint8_byte_table): Don't clear the table.
2177 (save_uint16_byte_table): Likewise.
2178 (save_byte_table): Likewise.
2179 (Fmount_char_attribute_table): New function.
2180 (syms_of_chartab): Add new builtin function
2181 `mount-char-attribute-table'.
2183 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2185 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2187 (load_char_decoding_entry_maybe): Open database as read-only mode.
2189 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2190 open database as "w+" mode.
2191 (load_char_attribute_maybe): Open database as read-only mode.
2192 (Fload_char_attribute_table): Likewise.
2194 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2196 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2197 (char_table_description): Delete member `db_file'.
2198 (Fmake_char_table): Don't refer `ct->db_file'.
2199 (Fcopy_char_table): Likewise.
2200 (Fsave_char_attribute_table): Likewise.
2201 (Fclose_char_attribute_table): Likewise.
2202 (Freset_char_attribute_table): Likewise.
2203 (load_char_attribute_maybe): Likewise.
2204 (Fload_char_attribute_table): Likewise.
2206 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2208 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2210 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2211 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2213 (load_char_attribute_maybe): Likewise.
2214 (Fload_char_attribute_table): Likewise.
2216 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2218 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2219 `ct->db_file' unconditionally.
2221 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2223 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2225 (char_table_description): Add description for `db_file' and `db'
2227 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2229 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2230 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2231 (Fclose_char_attribute_table): New function.
2232 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2233 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2235 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2236 (syms_of_chartab): Add new builtin function
2237 `Fclose_char_attribute_table'.
2239 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2241 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2243 (load_char_attribute_maybe): Change interface.
2244 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2246 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2248 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2250 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2253 instead of `DECODE_CHAR' for mother; don't use special code for
2254 chinese-big5 to use code space of chinese-big5-1 and
2256 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2257 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2259 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2260 (MAX_CHAR_BIG5_CDP): Revival.
2262 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2265 the XLFD registry-encoding name of `chinese-big5'.
2267 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2269 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2270 (Qchinese_big5_cdp): Deleted.
2271 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2272 (complex_vars_of_mule_charset): Delete coded-charset
2275 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2276 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2277 `CHARSET_ID_OFFSET - n' for private CCS.
2278 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2279 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2280 of `MIN_LEADING_BYTE'.
2281 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2282 `(CHARSET_ID_OFFSET - 97)'.
2283 (MIN_CHAR_BIG5_CDP): Deleted.
2284 (MAX_CHAR_BIG5_CDP): Deleted.
2286 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2288 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2290 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2293 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2296 * chartab.c (Vutf_2000_version): Moved to mule.c.
2297 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2299 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2301 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2302 when HAVE_CHISE_CLIENT is not defined.
2304 * mule.c (vars_of_mule): Provide feature `chise' when
2305 HAVE_CHISE_CLIENT is defined.
2307 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2309 * config.h.in (UTF2000): Add comment.
2310 (HAVE_CHISE_CLIENT): New macro.
2312 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2314 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2316 (Fput_char_attribute): Likewise.
2317 (char_attribute_system_db_file): Encode file-name of attribute.
2318 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2321 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2323 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2324 (Fsave_charset_mapping_table): Use
2325 `char_attribute_system_db_file'.
2326 (load_char_decoding_entry_maybe): Likewise.
2328 * chartab.h (Qsystem_char_id): New external variable.
2329 (char_attribute_system_db_file): New prototype.
2331 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2332 (char_attribute_system_db_file): New function.
2333 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2334 (Freset_char_attribute_table): Likewise.
2335 (load_char_attribute_maybe): Likewise.
2336 (Fload_char_attribute_table): Likewise.
2337 (syms_of_chartab): Add new symbol `system-char-id'.
2339 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2341 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2342 `XCHARSET_GRAPHIC(ccs)'.
2344 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2346 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2348 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2350 * chartab.c (Q_ucs_variants): New variable.
2351 (syms_of_chartab): Add new symbol `->ucs-variants'.
2352 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2353 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2354 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2356 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2358 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2359 `HAVE_DATABASE' is defined.
2360 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2361 `HAVE_DATABASE' is defined.
2363 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2365 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2367 (Freset_char_attribute_table): New function.
2368 (syms_of_chartab): Add new builtin function
2369 `reset-char-attribute-table'.
2371 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2373 * chartab.c (load_char_attribute_maybe): Don't make directories.
2375 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2377 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2379 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2382 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2384 * mule-charset.c (Fsave_charset_mapping_table): Use
2385 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2387 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2388 instead of `XCHARSET_CHARS'.
2390 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2392 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2393 (XCHARSET_BYTE_SIZE): Likewise.
2395 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2397 (XCHARSET_BYTE_SIZE): Likewise.
2399 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2401 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2402 data-directory to store database.
2403 (Fsave_char_attribute_table): Likewise.
2404 (load_char_attribute_maybe): Likewise.
2405 (Fload_char_attribute_table): Likewise.
2407 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2409 * mule-charset.c (Fsave_charset_mapping_table): New function.
2410 (syms_of_mule_charset): Add new builtin function
2411 `save-charset-mapping-table'.
2413 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2415 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2416 (get_ccs_octet_table): New inline function.
2417 (put_ccs_octet_table): Likewise.
2418 (decoding_table_put_char): Use `get_ccs_octet_table' and
2419 `put_ccs_octet_table'.
2420 (decoding_table_remove_char): Use `decoding_table_put_char'.
2421 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2423 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2424 into encoding_table.
2425 (make_charset): Use Qunbound instead Qnil as initial value of
2428 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2430 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2431 element is Qunloaded.
2432 (map_over_uint16_byte_table): Likewise.
2433 (map_over_byte_table): Likewise.
2434 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2435 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2436 database support, load encoding-table of the specified
2437 coded-charset if it is not loaded yet.
2438 (save_uint8_byte_table): New function of UTF-2000 with external
2440 (save_uint16_byte_table): Likewise.
2441 (save_byte_table): Likewise.
2442 (Fput_char_attribute): Don't store value into external database
2443 even if the external database feature is supported in UTF-2000;
2444 set `attribute' as name of char-table if the external database
2445 feature is supported.
2446 (Fsave_char_attribute_table): New function in UTF-2000.
2447 (syms_of_chartab): Add new builtin function
2448 `save-char-attribute-table' in UTF-2000.
2450 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2452 * chartab.c (char_attribute_table_to_put): New variable in
2454 (Qput_char_table_map_function): Likewise.
2455 (value_to_put): Likewise.
2456 (Fput_char_table_map_function): New function in UTF-2000.
2457 (put_char_table): Use `Fmap_char_attribute' for
2458 CHARTAB_RANGE_CHARSET in UTF-2000.
2459 (Fput_char_attribute): Store symbol instead of string in
2460 `XCHAR_TABLE_NAME (table)'.
2461 (load_char_attribute_maybe): Likewise.
2462 (syms_of_chartab): Add new symbol/function
2463 `put-char-table-map-function'.
2465 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2467 * database.h: Add new EXFUN for `Fmap_database'.
2469 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2470 (syms_of_database): Likewise.
2472 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2474 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2475 (XCHAR_TABLE_UNLOADED): Likewise.
2477 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2478 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2479 HAVE_DATABASE is defined.
2480 (char_attribute_table_to_load): New variable of UTF-2000 with
2481 external database support.
2482 (Qload_char_attribute_table_map_function): Likewise.
2483 (Fload_char_attribute_table_map_function): New function of
2484 UTF-2000 with external database support.
2485 (Fload_char_attribute_table): New function of UTF-2000.
2486 (Fmap_char_attribute): Call Fload_char_attribute_table if
2487 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2488 (syms_of_chartab): Add new symbol and function
2489 `load-char-attribute-table-map-function' in UTF-2000 with external
2490 database support; add new function `load-char-attribute-table' in
2493 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2495 * chartab.h (load_char_attribute_maybe): New prototype for
2496 UTF-2000 with DATABASE support.
2497 (get_char_id_table): Use `load_char_attribute_maybe' if
2498 HAVE_DATABASE is defined.
2500 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2501 with DATABASE support.
2503 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * chartab.c (Fput_char_attribute): Use S-expression as key of
2508 * chartab.h (get_char_id_table): Use S-expression as key of
2511 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2513 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2514 if an element is not loaded, load the corresponding attributes
2515 from an external database.
2516 (map_over_uint16_byte_table): Likewise.
2517 (map_over_byte_table): Likewise.
2518 (map_char_table): Modify for `map_over_uint8_byte_table',
2519 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2520 element is not loaded, load the corresponding attributes from an
2522 (Fput_char_attribute): Change initial values to Qunloaded.
2524 * chartab.h (get_char_id_table): If a character attribute is not
2525 loaded and the attribute value is not found in an external
2526 database, store Qunbound as the attribute value.
2528 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2530 * chartab.c (BT_UINT8_unloaded): New macro.
2531 (UINT8_VALUE_P): Accept Qunloaded.
2532 (UINT8_ENCODE): Likewise.
2533 (UINT8_DECODE): Likewise.
2534 (BT_UINT16_unloaded): New macro.
2535 (UINT16_VALUE_P): Accept Qunloaded.
2536 (UINT16_ENCODE): Likewise.
2537 (UINT16_DECODE): Likewise.
2538 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2540 (mark_char_table): Mark `ct->name' in UTF-2000.
2541 (char_table_description): Add `name' in UTF-2000.
2542 (Fmake_char_table): Initialize `ct->name'.
2543 (Fcopy_char_table): Copy `ct->name'.
2544 (Fput_char_attribute): Store value into an external database if
2545 HAVE_DATABASE is defined.
2547 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2549 (CHAR_TABLE_NAME): New macro in UTF-2000.
2550 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2551 (get_char_id_table): Try to read an external database if Qunloaded
2552 is stored in a table.
2554 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2557 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2559 * database.h: Add EXFUN definitions for Fopen_database,
2560 Fput_database, Fget_database and Fclose_database.
2562 * data.c (Qunloaded): New variable in UTF-2000.
2564 * lisp.h (Qunloaded): New variable in UTF-2000.
2566 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2568 * mule-charset.c (put_char_ccs_code_point): Modify for
2569 `decoding_table_remove_char' and `decoding_table_put_char'.
2570 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2572 * char-ucs.h (decoding_table_remove_char): Change arguments to
2573 hide decoding_table vector.
2574 (decoding_table_put_char): Likewise.
2576 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2578 * mule-charset.c (decoding_table_remove_char): Moved to
2580 (decoding_table_put_char): Likewise.
2582 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2583 from mule-charset.c].
2584 (decoding_table_remove_char): New inline function [moved from
2586 (decoding_table_put_char): Likewise.
2588 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2590 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2593 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2595 * mule-charset.c (decode_builtin_char): Support mother charsets.
2597 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2599 * mule-charset.c (Q94x94x60): New variable.
2600 (charset_code_point): Support conversion `94x94x60'.
2601 (Fmake_charset): Likewise.
2602 (syms_of_mule_charset): Add new symbol `94x94x60'.
2604 * char-ucs.h (CONVERSION_94x94x60): New macro.
2606 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2608 * mule-charset.c (charset_code_point): Unify code about
2611 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2613 * mule-charset.c (charset_code_point): Merge code about builtin
2614 characters into code about mother charsets; don't use
2615 `range_charset_code_point'.
2616 (range_charset_code_point): Deleted.
2618 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * mule-charset.c (Qcode_offset): New variable.
2621 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2622 `max-code'; accept new property `code-offset'.
2623 (syms_of_mule_charset): Add new symbol `code-offset'.
2625 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * mule-charset.c (range_charset_code_point): Fixed.
2629 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2631 * mule-charset.c (decode_builtin_char): Change semantics of
2632 code-offset of coded-charset.
2633 (charset_code_point): Likewise.
2634 (range_charset_code_point): Likewise.
2635 (complex_vars_of_mule_charset): Modify for the change.
2637 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2639 * mule-charset.c (Fencode_char): Reverse arguments.
2641 * mule-charset.c (charset_code_point): Fixed.
2643 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * mule-charset.c (Vcharset_mojikyo): Deleted.
2646 (Vcharset_mojikyo_2022_1): Deleted.
2647 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2648 (Qmin_code): New variable in UTF-2000.
2649 (Qmax_code): Likewise.
2650 (Qmother): Likewise.
2651 (Qconversion): Likewise.
2653 (Qmojikyo): Deleted.
2654 (Qmojikyo_2022_1): Deleted.
2655 (Qmojikyo_pj_{1..22}): Deleted.
2656 (mark_charset): Mark `cs->mother'.
2657 (charset_description): Add description for `mother'.
2658 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2659 new arguments `mother' and `conversion'; use
2660 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2661 (charset_code_point): Moved from char-ucs.h; support `mother'
2663 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2664 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2665 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2666 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2667 allow 2 as the value of `graphic' in UTF-2000; add new properties
2668 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2669 require `final' in UTF-2000; modify for `make_charset'.
2670 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2671 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2672 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2673 (Fencode_char): New function.
2674 (syms_of_mule_charset): Add new builtin function `encode-char' in
2675 UTF-2000; add new symbols `min-code', `max-code', `mother',
2676 `conversion' and `94x60'; delete symbols `mojikyo',
2677 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2678 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2679 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2680 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2682 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2683 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2685 * char-ucs.h (Vcharset_mojikyo): Deleted.
2686 (Vcharset_mojikyo_2022_1): Deleted.
2687 (LEADING_BYTE_MOJIKYO): Deleted.
2688 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2689 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2690 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2691 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2692 add new member `mother'; add new member `conversion'.
2693 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2694 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2695 (CHARSET_MOTHER): New macro.
2696 (CHARSET_CONVERSION): New macro.
2697 (CONVERSION_IDENTICAL): New macro.
2698 (CONVERSION_94x60): New macro.
2699 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2700 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2701 (XCHARSET_MOTHER): New macro.
2702 (XCHARSET_CONVERSION): New macro.
2703 (MIN_CHAR_MOJIKYO): Deleted.
2704 (MAX_CHAR_MOJIKYO): Deleted.
2705 (DECODE_MOJIKYO_2022): Deleted.
2706 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2707 (charset_code_point): Changed to non-inline function.
2708 (encode_char_1): Use `charset_code_point'.
2709 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2711 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * lread.c (read_compiled_function): Fix prototype.
2714 (read_vector): Likewise.
2716 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * lrecord.h (struct lrecord_header): Delete `older'.
2719 (set_lheader_implementation): Delete code for `older'.
2720 (set_lheader_older_implementation): Deleted.
2721 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2722 (OLDER_RECORD_P): Deleted.
2723 (OLDER_RECORD_HEADER_P): Deleted.
2724 (alloc_older_lcrecord): Deleted.
2725 (alloc_older_lcrecord_type): Deleted.
2727 * alloc.c (all_older_lcrecords): Deleted.
2728 (alloc_older_lcrecord): Deleted.
2729 (disksave_object_finalization_1): Delete code for older objects.
2730 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2731 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2733 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2735 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2736 instead of `make_older_vector'.
2737 (put_char_ccs_code_point): Likewise.
2738 (mark_charset): Mark `cs->decoding_table'.
2739 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2741 * lisp.h (make_older_vector): Deleted.
2742 (make_vector_newer): Deleted.
2744 * config.h.in (HAVE_GGC): Deleted.
2746 * alloc.c (make_older_vector): Deleted.
2747 (make_vector_newer_1): Deleted.
2748 (make_vector_newer): Deleted.
2750 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2752 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2753 (Qideograph_daikanwa_2): New variable.
2754 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2755 (complex_vars_of_mule_charset): Add new coded-charset
2756 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2757 `LEADING_BYTE_DAIKANWA'.
2759 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2760 (LEADING_BYTE_DAIKANWA_1): New macro.
2761 (LEADING_BYTE_DAIKANWA_2): New macro.
2762 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2764 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2766 * mule-charset.c (complex_vars_of_mule_charset): Change
2767 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2768 the second revised version.
2770 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (Vcharset_ucs_smp): New variable.
2773 (Vcharset_ucs_sip): New variable.
2774 (Qucs_smp): New variable.
2775 (Qucs_sip): New variable.
2776 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2777 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2778 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2779 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2780 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2781 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2783 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2784 (LEADING_BYTE_UCS_SIP): New macro.
2785 (MIN_CHAR_SMP): New macro.
2786 (MAX_CHAR_SMP): New macro.
2787 (MIN_CHAR_SIP): New macro.
2788 (MAX_CHAR_SIP): New macro.
2790 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2792 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2795 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2798 value; don't store value into `encoding_table' of `Lisp_Charset'.
2799 (mark_charset): `encoding_table' was deleted.
2800 (charset_description): Likewise.
2801 (make_charset): Likewise.
2802 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2803 `put_char_ccs_code_point'.
2805 * chartab.h (Fput_char_attribute): New EXFUN.
2807 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2808 is unified with normal symbol space.
2809 (Fget_char_attribute): Likewise.
2810 (Fput_char_attribute): Likewise; behavior of
2811 `put_char_ccs_code_point' is changed.
2813 * char-ucs.h: Include "elhash.h".
2814 (Vchar_attribute_hash_table): New external variable.
2815 (struct Lisp_Charset): Delete `encoding_table'.
2816 (CHARSET_ENCODING_TABLE): New implementation; refer
2817 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2820 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2822 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2825 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2827 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2830 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2832 * chartab.c (uint8_byte_table_description): New constant.
2833 (uint8-byte-table): Use `uint8_byte_table_description'.
2834 (uint16_byte_table_description): New constant.
2835 (uint16-byte-table): Use `uint16_byte_table_description'.
2837 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2839 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2840 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2842 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2844 * mule-charset.c (Vcharset_ucs_ks): New variable.
2845 (Qucs_ks): New variable.
2846 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2847 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2849 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2851 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2853 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2854 (Fdecode_char): Likewise.
2856 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2858 (Fdefine_char): Modify for Fdecode_char.
2859 (Ffind_char): Likewise.
2861 * mule-charset.c (Fdecode_char): Add new optional argument
2863 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2865 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2867 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2868 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2869 (allocate_coding_system): Initialize initial-charsets of
2870 CODESYS_BIG5 in XEmacs UTF-2000.
2871 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2872 CODESYS_BIG5 in XEmacs UTF-2000.
2873 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2874 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2876 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2878 (Qideograph_hanziku_{1 .. 12}): Likewise.
2879 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2881 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2882 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2883 `ideograph-hanziku-{1 .. 12}'.
2885 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2886 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2887 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2888 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2889 (DECODE_DEFINED_CHAR): New inline function.
2890 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2892 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2894 * mule-charset.c (Vcharset_china3_jef): Renamed from
2895 `Vcharset_japanese_jef_china3'.
2896 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2897 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2898 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2899 (syms_of_mule_charset): Rename `china3-jef' from
2900 `japanese-jef-china3'.
2901 (complex_vars_of_mule_charset): Likewise; rename
2902 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2904 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2905 `LEADING_BYTE_JEF_CHINA3'.
2906 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2907 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2909 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2911 * mule-charset.c (encode_builtin_char_1): Comment out special code
2912 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2914 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2915 (MAX_CHAR_MOJIKYO_0): Comment out.
2916 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2917 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2918 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2919 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2921 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2923 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2924 (Qideograph_cbeta): New variable.
2925 (encode_builtin_char_1): Comment out special code for
2926 coded-charset `mojikyo' and `japanese-jef-china3'.
2927 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2928 (complex_vars_of_mule_charset): Add new coded-charset
2931 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2932 (MIN_CHAR_CBETA): New macro.
2933 (MAX_CHAR_CBETA): New macro.
2935 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2937 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2938 (LEADING_BYTE_JEF_CHINA3): New macro.
2939 (MIN_CHAR_JEF_CHINA3): New macro.
2940 (MAX_CHAR_JEF_CHINA3): Likewise.
2941 (DECODE_CHAR): Fixed.
2943 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2945 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2946 (Qjapanese_jef_china3): New variable.
2947 (encode_builtin_char_1): Support `japanese-jef-china3'.
2948 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2949 (complex_vars_of_mule_charset): Add new coded-charset
2950 `japanese-jef-china3'.
2952 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2954 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2955 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2956 94^4, 96^3, 96^4, 128^n and 256^n set.
2957 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2958 (map_char_table): Likewise.
2960 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2965 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2967 * chartab.h (get_char_id_table): New inline function.
2969 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2972 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2974 * chartab.h (decode_char_table_range): New prototype in XEmacs
2976 (put_char_id_table): New inline function in XEmacs UTF-2000.
2978 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2980 (decode_char_table_range): Delete static declaration in XEmacs
2983 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2985 * chartab.c (put_char_id_table): Use `put_char_table'.
2987 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2989 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2990 (map_over_uint16_byte_table): Likewise.
2991 (map_over_byte_table): Likewise.
2992 (map_char_table): Modify for `map_over_uint8_byte_table',
2993 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2996 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2998 * chartab.c (struct map_char_table_for_charset_arg): New
3000 (map_char_table_for_charset_fun): New function.
3001 (map_char_table): Use `map_char_table' for encoding_table of
3004 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3006 * chartab.c (map_char_table): Check a character is found in
3007 range->charset instead of non default value is defined in
3008 char-table when range is CHARTAB_RANGE_ROW.
3010 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3012 * chartab.c (map_char_id_table): Deleted.
3013 (Fmap_char_attribute): Use `map_char_table' instead of
3014 `map_char_id_table'.
3016 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3018 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
3020 (update_syntax_table): Deleted in XEmacs UTF-2000.
3022 * syntax.c (find_defun_start): Use `syntax_table' instead of
3023 `mirror_syntax_table' in XEmacs UTF-2000.
3024 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
3026 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
3028 (Fmatching_paren): Likewise.
3029 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
3031 (find_start_of_comment): Likewise.
3032 (find_end_of_comment): Likewise.
3033 (Fforward_comment): Likewise.
3034 (scan_lists): Likewise.
3035 (char_quoted): Likewise.
3036 (Fbackward_prefix_chars): Likewise.
3037 (scan_sexps_forward): Likewise.
3038 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
3039 (update_syntax_table): Likewise.
3041 * search.c (skip_chars): Use `syntax_table' instead of
3042 `mirror_syntax_table' in XEmacs UTF-2000.
3043 (wordify): Likewise.
3044 (Freplace_match): Likewise.
3046 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
3047 `mirror_syntax_table' in XEmacs UTF-2000.
3048 (WORDCHAR_P_UNSAFE): Likewise.
3049 (re_match_2_internal): Likewise.
3051 * font-lock.c (find_context): Use `buf->syntax_table' instead of
3052 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3054 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
3055 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
3057 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
3060 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
3062 (print_char_table): Print `default_value' in XEmacs UTF-2000.
3063 (char_table_description): Delete `mirror_table' in XEmacs
3065 (fill_char_table): Don't call `update_syntax_table' in XEmacs
3067 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
3068 (Fcopy_char_table): Likewise.
3069 (put_char_table): Don't call `update_syntax_table' in XEmacs
3072 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
3073 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3074 (casify_region_internal): Likewise.
3076 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
3078 * buffer.c (common_init_complex_vars_of_buffer): Don't use
3079 `mirror_syntax_table' in XEmacs UTF-2000.
3081 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
3082 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3083 (Fexpand_abbrev): Likewise.
3085 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3087 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
3089 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3091 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
3092 (map_over_uint16_byte_table): Likewise.
3093 (map_over_byte_table): Likewise.
3094 (get_char_id_table): Refer `cit->default_value'.
3095 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3096 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
3097 of character-id ranges.
3098 (mark_char_table): Mark `ct->default_value'.
3099 (char_table_description): Add `default_value'.
3100 (fill_char_table): Use `default_value'.
3101 (decode_char_table_range): Decode `nil' as
3102 `CHARTAB_RANGE_DEFAULT'.
3103 (get_char_id_table): Refer `cit->default_value'.
3104 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3105 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3106 temporary hack; check value of char-table is bound or not.
3107 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3109 * chartab.h (struct Lisp_Char_Table): Add new member
3110 `default_value' in XEmacs UTF-2000.
3111 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3112 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3115 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3117 * chartab.h (Lisp_Char_ID_Table): Deleted.
3119 * chartab.c (char_table_description): Fix typo.
3120 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3121 `Lisp_Char_ID_Table'.
3123 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3125 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3128 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3131 * chartab.h (XCHAR_ID_TABLE): Deleted.
3132 (XSETCHAR_ID_TABLE): Deleted.
3133 (CHAR_ID_TABLE_P): Deleted.
3135 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3137 (Fget_composite_char): Likewise.
3138 (put_char_table): Likewise.
3139 (add_char_attribute_alist_mapper): Fixed.
3140 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3142 (Fget_char_attribute): Likewise.
3143 (Fget_char_attribute): Likewise.
3144 (Fmap_char_attribute): Likewise.
3146 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3148 (encode_char_1): Likewise.
3150 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3152 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3155 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3156 instead of `XCHAR_ID_TABLE'.
3157 (remove_char_ccs): Likewise.
3159 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3161 (Fget_composite_char): Likewise.
3162 (Fchar_variants): Likewise.
3163 (put_char_table): Likewise.
3164 (add_char_attribute_alist_mapper): Likewise.
3165 (Fchar_attribute_alist): Likewise.
3166 (Fget_char_attribute): Likewise.
3167 (Fput_char_attribute): Likewise.
3168 (Fmap_char_attribute): Likewise.
3169 (Fmap_char_attribute): Likewise.
3171 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3173 (encode_char_1): Likewise.
3175 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3178 `Lisp_Char_ID_Table'.
3179 (mark_char_id_table): Deleted.
3180 (print_char_id_table): Likewise.
3181 (char_id_table_equal): Likewise.
3182 (char_id_table_hash): Likewise.
3183 (char_id_table_description): Likewise.
3184 (char_id_table): Likewise.
3185 (make_char_id_table): Use `Fmake_char_table' and
3187 (get_char_id_table): Use `Lisp_Char_Table' instead of
3188 `Lisp_Char_ID_Table'.
3189 (put_char_id_table): Likewise.
3190 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3192 (Fremove_char_attribute): Likewise.
3193 (syms_of_chartab): Don't define type `char-id-table'.
3195 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3196 (char_id_table): Likewise.
3197 (GC_CHAR_ID_TABLE_P): Likewise.
3198 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3199 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3200 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3201 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3202 (get_char_id_table): Use `Lisp_Char_Table' instead of
3203 `Lisp_Char_ID_Table'.
3204 (put_char_id_table_0): Likewise.
3205 (put_char_id_table): Likewise.
3207 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3209 * chartab.h: Lisp_Byte_Table related codes are moved from
3212 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3214 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3216 * chartab.h: Don't include "chartab.h".
3217 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3218 (Lisp_Char_ID_Table): Likewise.
3219 (char_id_table): Likewise.
3220 (XCHAR_ID_TABLE): Likewise.
3221 (XSETCHAR_ID_TABLE): Likewise.
3222 (CHAR_ID_TABLE_P): Likewise.
3223 (GC_CHAR_ID_TABLE_P): Likewise.
3224 (get_char_id_table): Likewise.
3226 * char-ucs.h: Include "chartab.h".
3227 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3228 (Lisp_Char_ID_Table): Likewise.
3229 (char_id_table): Likewise.
3230 (XCHAR_ID_TABLE): Likewise.
3231 (XSETCHAR_ID_TABLE): Likewise.
3232 (CHAR_ID_TABLE_P): Likewise.
3233 (GC_CHAR_ID_TABLE_P): Likewise.
3234 (get_char_id_table): Likewise.
3236 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3238 * chartab.c (copy_uint8_byte_table): New function.
3239 (copy_uint16_byte_table): New function.
3240 (copy_byte_table): New function.
3241 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3243 (map_over_uint16_byte_table): Likewise.
3244 (map_over_byte_table): Likewise.
3245 (get_byte_table): Move prototype to chartab.h.
3246 (put_byte_table): Likewise.
3247 (put_char_id_table_0): Moved to chartab.h.
3248 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3249 (char_table_entry_equal): Likewise.
3250 (char_table_entry_hash): Likewise.
3251 (char_table_entry_description): Likewise.
3252 (char_table_entry): Likewise.
3253 (make_char_table_entry): Likewise.
3254 (copy_char_table_entry): Likewise.
3255 (get_non_ascii_char_table_value): Likewise.
3256 (map_over_charset_ascii): Likewise.
3257 (map_over_charset_control_1): Likewise.
3258 (map_over_charset_row): Likewise.
3259 (map_over_other_charset): Likewise.
3260 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3261 (print_char_table): Likewise.
3262 (char_table_equal): Likewise.
3263 (char_table_hash): Likewise.
3264 (char_table_description): Likewise.
3265 (fill_char_table): Likewise.
3266 (Fcopy_char_table): Likewise.
3267 (get_char_table): Likewise.
3268 (Fget_range_char_table): Likewise.
3269 (put_char_table): Likewise.
3270 (map_char_table): Likewise.
3271 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3274 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3276 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3277 `Vauto_fill_chars' in XEmacs UTF-2000.
3279 * chartab.h (get_byte_table): New prototype [moved from
3281 (put_byte_table): Likewise [moved from chartab.c].
3282 (put_char_id_table_0): New inline function [moved from chartab.c].
3283 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3284 (Lisp_Char_Table_Entry): Likewise.
3285 (char_table_entry): Likewise.
3286 (XCHAR_TABLE_ENTRY): Likewise.
3287 (XSETCHAR_TABLE_ENTRY): Likewise.
3288 (CHAR_TABLE_ENTRYP): Likewise.
3289 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3290 (NUM_ASCII_CHARS): Likewise.
3291 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3292 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3294 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3296 * chartab.c (get_char_id_table): Change interface.
3297 (put_char_id_table_0): New function.
3298 (put_char_id_table): Change interface; new implementation.
3299 (Fget_composite_char): Modify for interface change of
3300 `get_char_id_table'.
3301 (Fchar_variants): Likewise.
3302 (add_char_attribute_alist_mapper): Likewise.
3303 (Fchar_attribute_alist): Likewise.
3304 (Fget_char_attribute): Likewise.
3305 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3306 as same as character as the first argument like `put-char-table';
3307 modify for interface change of `put_char_id_table'.
3308 (Fremove_char_attribute): Modify for interface change of
3309 `put_char_id_table'.
3311 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3313 * text-coding.c: Sync up with XEmacs 21.2.41.
3314 (COMPOSE_ADD_CHAR): Modify for interface change of
3315 `get_char_id_table'.
3317 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3318 change of `put_char_id_table'.
3319 (remove_char_ccs): Likewise.
3321 * chartab.h (put_char_id_table): Change interface.
3323 * char-ucs.h (get_char_id_table): Change interface.
3324 (charset_code_point): Modify for interface change of
3325 `get_char_id_table'.
3326 (encode_char_1): Likewise.
3328 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3330 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3332 (map_over_uint16_byte_table): Likewise.
3333 (map_over_byte_table): Likewise.
3334 (map_char_id_table): Add new argument `range' like
3336 (Fmap_char_attribute): Add new argument `range' like
3339 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3341 * chartab.c (map_over_uint8_byte_table): Change interface of
3342 mapping function to use struct chartab_range instead of Emchar.
3343 (map_over_uint16_byte_table): Likewise.
3344 (map_over_byte_table): Likewise.
3345 (map_char_id_table): Likewise.
3346 (struct slow_map_char_id_table_arg): Deleted.
3347 (slow_map_char_id_table_fun): Deleted.
3348 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3349 function `slow_map_char_table_fun' instead of struct
3350 `slow_map_char_id_table_arg' and function
3351 `slow_map_char_id_table_fun'.
3353 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3355 * mule-charset.c: Move char-it-table related codes to chartab.c.
3356 (Vutf_2000_version): Moved to chartab.c.
3357 (Fdefine_char): Likewise.
3358 (Ffind_char): Likewise.
3359 (syms_of_mule_charset): Move types `uint8-byte-table',
3360 `uint16-byte-table', `byte-table' and `char-id-table' to
3361 chartab.c; move functions `char_attribute_list,
3362 `find_char_attribute_table, `char_attribute_alist,
3363 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3364 `map_char_attribute, `define_char, `find_char, `char_variants and
3365 `get_composite_char to chartab.c; move symbols `=>ucs',
3366 `->decomposition', `compat', `isolated', `initial', `medial',
3367 `final', `vertical', `noBreak', `fraction', `super', `sub',
3368 `circle', `square', `wide', `narrow', `small' and `font' to
3370 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3371 setting codes for `Vcharacter_composition_table' and
3372 `Vcharacter_variant_table' to chartab.c.
3373 (complex_vars_of_mule_charset): Move setting code for
3374 `Vchar_attribute_hash_table' to chartab.c.
3376 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3377 (make_char_id_table): New prototype.
3378 (put_char_id_table): Likewise.
3379 (Fget_char_attribute): Likewise.
3381 * chartab.c: Move char-id-table related code from mule-charset.c.
3382 (Vutf_2000_version): Moved from mule-charset.c.
3384 * char-ucs.h (Qucs): New external variable.
3385 (put_char_ccs_code_point): New prototype.
3386 (remove_char_ccs): Likewise.
3388 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3390 * mule-charset.c (Vcharset_ucs_jis): New variable.
3391 (Qucs_jis): Likewise.
3392 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3393 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3395 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3397 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3399 * mule-charset.c (map_over_uint8_byte_table): New function.
3400 (map_over_uint16_byte_table): Likewise.
3401 (map_over_byte_table): Likewise.
3402 (map_char_id_table): Likewise.
3403 (slow_map_char_id_table_fun): Likewise.
3404 (Fmap_char_attribute): Likewise.
3405 (syms_of_mule_charset): Add new function `map-char-attribute'.
3407 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3409 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3410 (syms_of_mule_charset): Add new function `find-char'.
3412 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3414 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3416 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3417 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3419 (complex_vars_of_mule_charset): Add new coded-charset
3420 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3421 `ideograph-gt-pj-*'.
3423 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3425 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3427 * mule-charset.c (encode_builtin_char_1): Purge codes about
3428 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3429 {MIN|MAX}_CHAR_HEBREW.
3430 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3431 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3433 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3434 (MAX_CHAR_GREEK): Purged.
3435 (MIN_CHAR_CYRILLIC): Purged.
3436 (MAX_CHAR_CYRILLIC): Purged.
3437 (MIN_CHAR_HEBREW): Commented out.
3438 (MAX_CHAR_HEBREW): Likewise.
3440 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3442 * mule-charset.c (Qto_ucs): New variable.
3443 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3444 (Fdefine_char): Likewise.
3445 (syms_of_mule_charset): Add new symbol `=>ucs'.
3447 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3449 * mule-charset.c (Fdecode_char): Fixed.
3451 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3453 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3454 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3457 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3459 * mule-charset.c (Vcharset_ucs_big5): New variable.
3460 (Qucs_big5): Likewise.
3461 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3462 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3464 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3466 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3468 * mule-charset.c (decode_builtin_char): Check Big5 code range
3469 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3471 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3473 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3474 (Qchinese_gb12345): Likewise.
3475 (Fdecode_builtin_char): Fixed.
3476 (syms_of_mule_charset): Add `chinese-gb12345'.
3477 (complex_vars_of_mule_charset): Add coded-charset
3480 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3481 (LEADING_BYTE_CHINESE_GB12345): New macro.
3483 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3485 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3486 and `latin-viscii-upper' for `latin-viscii'.
3488 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3490 * mule-charset.c (Fdecode_builtin_char): Comment out
3491 regularization code for ISO-IR GR representation.
3493 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3495 * mule-charset.c (decode_builtin_char): New function; renamed from
3496 `make_builtin_char'; return -1 instead of signal.
3497 (Fdecode_builtin_char): Use `decode_builtin_char'.
3499 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3500 `make_builtin_char'.
3501 (DECODE_CHAR): Use `decode_builtin_char' instead of
3502 `make_builtin_char'; use mapping table of `chinese-big5' for
3503 `chinese-big5-{1,2}'.
3505 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3507 * text-coding.c (char_encode_big5): New function.
3508 (char_finish_big5): Likewise.
3509 (reset_encoding_stream): Use `char_encode_big5' and
3510 `char_finish_big5' for CODESYS_BIG5.
3511 (mule_encode): Don't use `encode_coding_big5'.
3512 (encode_coding_big5): Deleted.
3514 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3516 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3517 0x81- in XEmacs UTF-2000.
3518 (detect_coding_big5): Likewise.
3520 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3522 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3523 generate character-id if the CCS property does not have
3524 corresponding predefined character.
3525 (make_builtin_char): Return -1 if corresponding predefined
3526 character is not found.
3527 (Fdecode_char): Return nil if corresponding character is not
3529 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3530 don't map to builtin ucs space.
3532 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3534 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3535 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3537 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3539 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3540 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3541 (Qideograph_gt): Likewise.
3542 (Qideograph_gt_pj_{1..11}): Likewise.
3543 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3544 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3545 `ideograph-gt-pj-11'.
3546 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3547 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3548 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3550 * char-ucs.h (LEADING_BYTE_GT): New macro.
3551 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3552 (MIN_CHAR_GT): Likewise.
3553 (MAX_CHAR_GT): Likewise.
3555 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3557 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3558 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3560 * doprnt.c (unsigned_int_converters): Add `c'.
3561 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3563 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3564 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3566 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3567 (MAX_CHAR_MOJIKYO_0): New macro.
3568 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3570 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3572 * mule-charset.c (Fdefine_char): Delete cemented out code.
3573 (encode_builtin_char_1): Modify for new allocation of builtin
3576 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3578 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3580 * mule-charset.c (Vcharset_ucs_cns): New variable.
3581 (Qucs_cns): New variable.
3582 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3583 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3585 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3587 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3589 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3591 * search.c (search_buffer): Make `charset_base_code' as
3592 character-id >> 6 to eliminate the corresponding last byte in
3593 UTF-8 representation [I'm not sure it is right thing].
3594 (boyer_moore): Likewise.
3596 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3598 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3599 representation in MULE.
3601 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3603 * text-coding.c (Fmake_coding_system): Use
3604 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3605 `EXTERNAL_PROPERTY_LIST_LOOP'.
3607 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3609 * text-coding.c (decode_output_utf8_partial_char): New function.
3610 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3612 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3614 * text-coding.c (decode_coding_utf8): Output original byte
3615 sequence if it is broken; change order of conditions.
3617 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3620 * mb-multibyte.h (BYTE_ASCII_P):
3621 Use bit ops for char-signedness safety.
3622 (BYTE_C0_P): Use bit ops for char-signedness safety.
3623 (BYTE_C1_P): Use bit ops for char-signedness safety.
3625 * character.h: (XCHAR_OR_CHAR_INT):
3626 Always use inline function.
3627 Remove redundant type checking assert() - XINT will abort quite
3630 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3632 * text-coding.c: (Fencode_shift_jis_char):
3633 (Fencode_big5_char):
3634 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3635 Replace 0 with '\0' when working with bytes.
3636 Replace initial "(" with "\(" in docstrings.
3638 (Fmake_coding_system):
3639 When type is ccl and value is vector, register it with a proper
3640 symbol. And checks whether the given ccl program is valid.
3641 (mule_decode): When calling ccl_driver, if src indicates
3642 NULL pointer, set an empty string instead.
3643 (mule_encode): Likewise.
3646 (detect_coding_sjis):
3647 (decode_coding_sjis):
3648 (detect_coding_big5):
3649 (decode_coding_big5):
3650 (detect_coding_ucs4):
3651 (decode_coding_ucs4):
3652 (detect_coding_utf8):
3653 (decode_coding_utf8):
3654 (detect_coding_iso2022):
3655 (decode_coding_iso2022):
3656 (decode_coding_no_conversion):
3658 Make all detecting and decoding functions take an Extbyte * arg.
3659 (text_encode_generic):
3660 (encode_coding_big5):
3661 (encode_coding_no_conversion):
3663 Make all encoding functions take a Bufbyte * arg.
3664 Use size_t instead of unsigned int for memory sizes.
3665 Only cast to unsigned char whenever dereferencing Extbyte *.
3667 (struct lrecord_description fcd_description_1): Use countof.
3668 (complex_vars_of_file_coding):
3669 Use countof instead of sizeof.
3670 Use CHECK_NATNUM instead of CHECK_INT.
3672 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3674 * mule-charset.c (Fget_char_attribute): Add new optional argument
3676 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3677 (remove_char_ccs): Likewise.
3679 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3681 * text-coding.c (char_encode_shift_jis): New implementation in
3683 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3686 * mule-charset.c (Vcharset_chinese_big5): New variable in
3688 (Qchinese_big5): New variable in UTF-2000.
3689 (BIG5_SAME_ROW): New macro in UTF-2000.
3690 (make_builtin_char): Use builtin characters of
3691 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3692 characters of `Vcharset_chinese_big5'.
3693 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3694 (complex_vars_of_mule_charset): Add new coded-charset
3695 `chinese-big5' in UTF-2000.
3697 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3698 (Vcharset_chinese_big5): New external variable declaration.
3699 (Vcharset_japanese_jisx0208_1990): Likewise.
3701 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3703 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3705 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3707 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3709 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3710 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3711 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3714 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3716 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3718 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3720 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3723 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3725 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3726 for `CHARSET_BY_ATTRIBUTES'.
3727 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3728 `CHARSET_BY_ATTRIBUTES'.
3730 * text-coding.c (struct decoding_stream): Rename member `CH' to
3732 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3733 (decode_coding_sjis): Likewise.
3734 (decode_coding_big5): Likewise.
3735 (decode_coding_ucs4): Likewise.
3736 (decode_coding_utf8): Likewise.
3737 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3738 `CHARSET_BY_ATTRIBUTES'.
3739 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3740 `str->counter'; decode 3, 4 bytes sets.
3741 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3743 (decode_coding_no_conversion): Use `str->cpos' instead of
3746 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3747 (Qmojikyo_2022_1): New variable.
3748 (make_charset): Don't use `CHARSET_TYPE_*'.
3749 (range_charset_code_point): Support coded-charset
3751 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3752 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3753 `CHARSET_BY_ATTRIBUTES'.
3754 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3755 `CHARSET_BY_ATTRIBUTES'.
3756 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3757 (complex_vars_of_mule_charset): Add new coded-charset
3760 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3761 interface; changed to inline function.
3763 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3764 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3765 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3766 (CHARSET_TYPE_94): Deleted.
3767 (CHARSET_TYPE_94X94): Deleted.
3768 (CHARSET_TYPE_96): Deleted.
3769 (CHARSET_TYPE_96X96): Deleted.
3770 (CHARSET_TYPE_128): Deleted.
3771 (CHARSET_TYPE_128X128): Deleted.
3772 (CHARSET_TYPE_256): Deleted.
3773 (CHARSET_TYPE_256X256): Deleted.
3774 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3776 (DECODE_MOJIKYO_2022): New inline function.
3777 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3778 `Vcharset_mojikyo_2022_1'.
3780 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3782 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3784 (put_byte_table): Likewise.
3785 (char_id_table_equal): Use `get_byte_table' [new implementation].
3787 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3789 * mule-charset.c: Include <limits.h> in UTF-2000.
3790 (BT_UINT8_MIN): New macro in UTF-2000.
3791 (BT_UINT8_MAX): New macro in UTF-2000.
3792 (BT_UINT8_t): New macro in UTF-2000.
3793 (BT_UINT8_nil): New macro in UTF-2000.
3794 (BT_UINT8_unbound): New macro in UTF-2000.
3795 (INT_UINT8_P): New inline function in UTF-2000.
3796 (UINT8_VALUE_P): New inline function in UTF-2000.
3797 (UINT8_ENCODE): New inline function in UTF-2000.
3798 (UINT8_DECODE): New inline function in UTF-2000.
3799 (mark_uint8_byte_table): New function in UTF-2000.
3800 (print_uint8_byte_table): New function in UTF-2000.
3801 (uint8_byte_table_equal): New function in UTF-2000.
3802 (uint8_byte_table_hash): New function in UTF-2000.
3803 (make_uint8_byte_table): New function in UTF-2000.
3804 (uint8_byte_table_same_value_p): New function in UTF-2000.
3805 (BT_UINT16_MIN): New macro in UTF-2000.
3806 (BT_UINT16_MAX): New macro in UTF-2000.
3807 (BT_UINT16_t): New macro in UTF-2000.
3808 (BT_UINT16_nil): New macro in UTF-2000.
3809 (BT_UINT16_unbound): New macro in UTF-2000.
3810 (INT_UINT16_P): New inline function in UTF-2000.
3811 (UINT16_VALUE_P): New inline function in UTF-2000.
3812 (UINT16_ENCODE): New inline function in UTF-2000.
3813 (UINT16_DECODE): New inline function in UTF-2000.
3814 (UINT8_TO_UINT16): New inline function in UTF-2000.
3815 (mark_uint16_byte_table): New function in UTF-2000.
3816 (print_uint16_byte_table): New function in UTF-2000.
3817 (uint16_byte_table_equal): New function in UTF-2000.
3818 (uint16_byte_table_hash): New function in UTF-2000.
3819 (make_uint16_byte_table): New function in UTF-2000.
3820 (uint16_byte_table_same_value_p): New function in UTF-2000.
3821 (print_byte_table): New function in UTF-2000.
3822 (byte-table): Use `print_byte_table' as printer.
3823 (make_byte_table): Delete second argument `older'.
3824 (byte_table_same_value_p): New function in UTF-2000.
3825 (copy_byte_table): Deleted.
3826 (get_byte_table): New function in UTF-2000.
3827 (put_byte_table): New function in UTF-2000.
3828 (print_char_id_table): New function in UTF-2000.
3829 (char-id-table): Use `print_char_id_table' as printer.
3830 (make_char_id_table): Delete second argument `older'.
3831 (get_char_id_table): Use `get_byte_table [new implementation].
3832 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3834 (Ffind_char_attribute_table): New function in UTF-2000.
3835 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3836 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3837 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3838 (syms_of_mule_charset): Add new function
3839 `find-char-attribute-table' in UTF-2000.
3841 * lrecord.h (enum lrecord_type): Add
3842 `lrecord_type_uint16_byte_table' and
3843 `lrecord_type_uint8_byte_table'.
3845 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3846 (Lisp_Uint8_Byte_Table): New type.
3847 (XUINT8_BYTE_TABLE): New macro.
3848 (XSETUINT8_BYTE_TABLE): New macro.
3849 (UINT8_BYTE_TABLE_P): New macro.
3850 (GC_UINT8_BYTE_TABLE_P): New macro.
3851 (struct Lisp_Uint16_Byte_Table): New structure.
3852 (Lisp_Uint16_Byte_Table): New type.
3853 (XUINT16_BYTE_TABLE): New macro.
3854 (XSETUINT16_BYTE_TABLE): New macro.
3855 (UINT16_BYTE_TABLE_P): New macro.
3856 (GC_UINT16_BYTE_TABLE_P): New macro.
3858 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3860 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3861 (Vcharacter_ideographic_strokes_table): Deleted.
3862 (Vcharacter_total_strokes_table): Deleted.
3863 (Vcharacter_morohashi_daikanwa_table): Deleted.
3864 (Vcharacter_decomposition_table): Deleted.
3865 (Qname): Deleted because it is duplicated.
3866 (Qideographic_radical): Deleted.
3867 (Qideographic_strokes): Deleted.
3868 (Qtotal_strokes): Deleted.
3869 (Qmorohashi_daikanwa): Deleted.
3870 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3871 `ideographic-radical', `ideographic-strokes', `total-strokes',
3872 `morohashi-daikanwa' and `->decomposition'.
3873 (Fget_char_attribute): Likewise.
3874 (Fput_char_attribute): Likewise; use `make-vector' instead of
3875 `make_older_vector' for `->decomposition' value.
3876 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3877 `ideograph-daikanwa'.
3878 (syms_of_mule_charset): Delete builtin symbols `name',
3879 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3880 `morohashi-daikanwa'.
3881 (vars_of_mule_charset): Don't setup
3882 `Vcharacter_ideographic_radical_table',
3883 `Vcharacter_ideographic_strokes_table',
3884 `Vcharacter_total_strokes_table',
3885 `Vcharacter_morohashi_daikanwa_table' and
3886 `Vcharacter_decomposition_table'.
3888 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3890 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3891 `make_older_vector', `make_vector_newer_1' and
3892 `make_vector_newer'.
3894 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3895 `make_older_vector' and `make_vector_newer'.
3897 * config.h.in (HAVE_GGC): New macro.
3899 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3901 * mule-charset.c (struct char_attribute_list_closure): New
3902 structure in UTF-2000.
3903 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3904 (Fchar_attribute_list): Likewise.
3905 (Fset_charset_mapping_table): Use `make_vector_newer'.
3906 (Fdecode_builtin_char): New function in UTF-2000.
3907 (syms_of_mule_charset): Add new function `char-attribute-list' and
3908 `decode-builtin-char' in UTF-2000.
3910 * lisp.h (make_vector_newer): New prototype.
3912 * alloc.c (make_vector_newer_1): New function.
3913 (make_vector_newer): New function.
3915 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3917 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3920 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3922 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3923 (Vcharacter_attribute_table): Deleted.
3924 (Vcharacter_name_table): Deleted.
3925 (put_char_attribute): Deleted.
3926 (remove_char_attribute): Deleted.
3927 (struct char_attribute_alist_closure): New structure.
3928 (add_char_attribute_alist_mapper): New function.
3929 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3930 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3931 (Fget_char_attribute): Likewise.
3932 (Fput_char_attribute): Likewise.
3933 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3934 of `remove_char_attribute'.
3935 (Fdefine_char): Return character.
3936 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3937 and `Vcharacter_name_table'.
3938 (complex_vars_of_mule_charset): Likewise
3939 `Vchar_attribute_hash_table'.
3941 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3943 * character.h (CHARC_CHARSET): New macro.
3944 (CHARC_CHARSET_ID): New macro.
3945 (CHARC_CODE_POINT): New macro.
3946 (CHARC_COLUMNS): New macro.
3947 (CHARC_TO_CHAR): New inline function.
3948 (CHARC_EQ): New inline function.
3949 (CHARC_ASCII_EQ): New inline function.
3950 (CHARC_IS_SPACE): New inline function.
3951 (ASCII_TO_CHARC): New inline function.
3953 * char-ucs.h (encode_char_2): Deleted.
3954 (ENCODE_CHAR): Use `encode_char_1' again.
3955 (breakup_char_1): Likewise.
3956 (CHAR_TO_CHARC): New inline function.
3958 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3960 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3962 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3963 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3964 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3965 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3966 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3968 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3970 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3972 (x_output_display_block): Use `CHARC_CHARSET' and
3975 * redisplay-tty.c (tty_output_display_block): Use
3977 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3979 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3981 * insdel.c (find_charsets_in_charc_string): Use
3983 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3984 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3985 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3986 (convert_charc_string_into_malloced_string): Likewise.
3988 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3990 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3991 instead of <Emchar_dynarr *> for buf; use
3992 `convert_bufbyte_string_into_charc_dynarr' instead of
3993 `convert_bufbyte_string_into_emchar_dynarr'; use
3994 `find_charsets_in_charc_string' instead of
3995 `find_charsets_in_emchar_string'.
3998 - Include "character.h".
3999 (struct rune): New member `cglyph'; delete member `chr'.
4001 * redisplay.c (redisplay_text_width_charc_string): New function;
4002 delete `redisplay_text_width_emchar_string'.
4003 (rtw_charc_dynarr): New variable; renamed from
4004 `rtw_emchar_dynarr'.
4005 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
4006 `rtw_emchar_dynarr'; use
4007 `convert_bufbyte_string_into_charc_dynarr' instead of
4008 `convert_bufbyte_string_into_emchar_dynarr'; use
4009 `redisplay_text_width_charc_string' instead of
4010 `redisplay_text_width_emchar_string'.
4011 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
4012 instead of `rtw_emchar_dynarr'; use
4013 `convert_bufbyte_string_into_charc_dynarr' instead of
4014 `convert_bufbyte_string_into_emchar_dynarr'.
4015 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
4016 `redisplay_text_width_charc_string' instead of
4017 `redisplay_text_width_emchar_string'.
4018 (create_text_block): Modify for <struct rune> change.
4019 (generate_formatted_string_db): Likewise.
4020 (create_string_text_block): Likewise.
4021 (pixel_to_glyph_translation): Likewise.
4023 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
4024 instead of <const Emchar *>.
4025 (x_text_width): Likewise.
4026 (x_output_display_block): Use <Charc_dynarr *> instead
4027 <Emchar_dynarr *>; modify for <structure rune> change.
4028 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
4031 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
4032 <const Emchar *>; use `charc_string_displayed_columns' instead of
4033 `emchar_string_displayed_columns'.
4034 (tty_output_display_block): Use <Charc_dynarr *> instead of
4035 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
4036 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
4037 (tty_output_charc_dynarr_dynarr): New variable; renamed from
4038 `tty_output_emchar_dynarr_dynarr'.
4039 (tty_output_charc_dynarr): New function; delete
4040 `tty_output_charc_dynarr'.
4042 * redisplay-output.c (compare_runes): Modify for `struct rune'.
4043 (redisplay_output_layout): Use <Charc_dynarr *> instead of
4044 <Emchar_dynarr *> for buf; use
4045 `convert_bufbyte_string_into_charc_dynarr' instead of
4046 `convert_bufbyte_string_into_emchar_dynarr'.
4048 * frame.c (title_string_charc_dynarr): New variable; renamed from
4049 `title_string_emchar_dynarr'.
4050 (generate_title_string): Use `title_string_charc_dynarr' instead
4051 of `title_string_emchar_dynarr'; use
4052 `convert_charc_string_into_malloced_string' instead of
4053 `convert_emchar_string_into_malloced_string'.
4054 (init_frame): Use `title_string_charc_dynarr' instead of
4055 `title_string_emchar_dynarr'.
4058 - Include "character.h".
4059 (struct console_methods): Use <const Charc *> instead of <const
4060 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
4061 <Emchar_dynarr *> in output_string_method.
4063 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
4066 * console-stream.c (stream_text_width): Use <const Charc *>
4067 instead of <const Emchar *>.
4069 * character.h (Charc_dynarr): New type.
4071 * char-ucs.h (structure Charc): New structure; define new type
4074 * char-lb.h (DECODE_CHAR): New inline function.
4075 (encode_char_1): New inline function.
4076 (ENCODE_CHAR): New macro.
4077 (structure Charc): New structure; define new type `Charc'.
4079 * char-1byte.h (Vcharset_control_1): New macro.
4080 (Vcharset_latin_iso8859_1): New macro.
4081 (DECODE_CHAR): New inline function.
4082 (encode_char_1): New inline function.
4083 (ENCODE_CHAR): New macro.
4084 (structure Charc): New structure; define new type `Charc'.
4086 * insdel.c (find_charsets_in_charc_string): New function; delete
4087 `find_charsets_in_emchar_string'.
4088 (charc_string_displayed_columns): New function; delete
4089 `emchar_string_displayed_columns'.
4090 (convert_bufbyte_string_into_charc_dynarr): New function; delete
4091 `convert_bufbyte_string_into_emchar_dynarr'.
4092 (convert_charc_string_into_bufbyte_dynarr): New function; delete
4093 `convert_charc_string_into_bufbyte_dynarr'.
4094 (convert_charc_string_into_malloced_string): New function; delete
4095 `convert_charc_string_into_malloced_string'.
4097 * buffer.h (find_charsets_in_charc_string): New prototype; delete
4098 `find_charsets_in_emchar_string'.
4099 (charc_string_displayed_columns): New prototype; delete
4100 `emchar_string_displayed_columns'.
4101 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
4102 `convert_charc_string_into_bufbyte_dynarr'.
4103 (convert_charc_string_into_malloced_string): New prototype; delete
4104 `convert_charc_string_into_malloced_string'.
4106 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4108 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4110 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4112 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4114 * char-ucs.h: Use <short> for <Charset_ID>.
4116 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4119 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4121 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4124 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4126 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4128 (Qmorohashi_daikanwa): New variable.
4129 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4130 for `morohashi-daikanwa' attribute.
4131 (Fget_char_attribute): Likewise.
4132 (Fput_char_attribute): Likewise.
4133 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4134 has the same value of `ideograph-daikanwa'.
4135 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4136 (vars_of_mule_charset): Setup
4137 `Vcharacter_morohashi_daikanwa_table'.
4139 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4141 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4143 (add_charset_to_list_mapper): Add `key' instead of
4144 `XCHARSET_NAME (value)' to return aliases.
4146 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4148 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4150 (Vcharacter_ideographic_strokes_table): New variable.
4151 (Qideographic_radical): New variable.
4152 (Qideographic_strokes): New variable.
4153 (Fchar_attribute_alist): Use
4154 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4155 attribute; use `Vcharacter_ideographic_strokes_table' for
4156 `ideographic-strokes' attribute.
4157 (Fget_char_attribute): Likewise.
4158 (Fput_char_attribute): Likewise.
4159 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4160 `ideographic-strokes'.
4161 (vars_of_mule_charset): Setup
4162 `Vcharacter_ideographic_radical_table' and
4163 `Vcharacter_ideographic_strokes_table'.
4165 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4167 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4168 (Qtotal_strokes): New variable.
4169 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4170 `total-strokes' attribute.
4171 (Fget_char_attribute): Likewise.
4172 (Fput_char_attribute): Likewise.
4173 (syms_of_mule_charset): Add new symbol `total-strokes'.
4174 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4176 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4178 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4179 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4181 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4182 `->decomposition' attribute.
4183 (Fput_char_attribute): Likewise.
4184 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4186 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4188 * mule-charset.c (decoding_table_check_elements): New function.
4189 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4191 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4193 * mule-charset.c (Fset_charset_mapping_table): Use
4194 `put_char_ccs_code_point'.
4196 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4198 * mule-charset.c (decoding_table_put_char): New inline function.
4199 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4201 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4203 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4204 (XCHARSET_BYTE_SIZE): New macro.
4205 (decoding_table_remove_char): New inline function.
4206 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4207 `decoding_table_remove_char'.
4208 (remove_char_ccs): Use `decoding_table_remove_char'.
4209 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4211 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4213 * mule-charset.c (Vcharacter_name_table): New variable.
4214 (Qname): New variable.
4215 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4217 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4218 `Vcharacter_name_table' for `name' attribute.
4219 (Fremove_char_attribute): Use function `remove_char_ccs'.
4220 (put_char_ccs_code_point): New function.
4221 (remove_char_ccs): New function.
4222 (syms_of_mule_charset): Add new symbol `name'.
4223 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4225 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4227 * mule-charset.c (make_byte_table): Add new argument `older'.
4228 (make_char_id_table): Likewise.
4229 (copy_char_id_table): Comment out because it is not used.
4230 (put_char_id_table): Modify for `make_byte_table'.
4231 (Fput_char_attribute): Make encoding_table as older object;
4232 inherit older bit of `Vcharacter_composition_table'.
4233 (mark_charset): Don't mark `cs->encoding_table'.
4234 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4235 normal object; make `Vcharacter_composition_table' as an older
4236 object; delete staticpro for `Vcharacter_composition_table'; make
4237 `Vcharacter_variant_table' as a normal object.
4239 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4240 (mark_object): Don't check older object in UTF-2000.
4242 * lrecord.h (struct lrecord_header): Add new member `older' in
4244 (set_lheader_implementation): Setup `SLI_header->older' in
4246 (set_lheader_older_implementation): New macro in UTF-2000.
4247 (OLDER_RECORD_P): New macro in UTF-2000.
4248 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4249 (alloc_older_lcrecord): New prototype in UTF-2000.
4250 (alloc_older_lcrecord_type): New macro in UTF-2000.
4252 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4254 * mule-charset.c (byte_table_description): Use
4255 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4256 (char_id_table_description): Delete bogus `, 1'.
4257 (Fget_char_attribute): Refer encoding_table of each coded-charset
4258 to get value of coded-charset attribute of a character.
4259 (Fput_char_attribute): Use `make_older_vector' instead of
4260 `make_vector'; use encoding_table of each coded-charset to store
4261 value of coded-charset attribute of a character.
4262 (Fremove_char_attribute): Use encoding_table of each coded-charset
4263 to store value of coded-charset attribute of a character.
4264 (mark_charset): Mark `cs->encoding_table'; don't mark
4265 `cs->decoding_table'.
4266 (charset_description): Add description of new member
4268 (make_charset): Initialize `encoding_table'.
4270 * char-ucs.h (struct Lisp_Charset): Add new member
4272 (CHARSET_ENCODING_TABLE): New macro.
4273 (XCHARSET_ENCODING_TABLE): New macro.
4274 (charset_code_point): New implementation.
4275 (encode_char_1): Likewise.
4277 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4278 (disksave_object_finalization_1): Call finalizers of
4279 `all_older_lcrecords' in UTF-2000.
4280 (make_older_vector): New function in UTF-2000.
4281 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4284 * lisp.h (make_older_vector): New prototype in UTF-2000.
4286 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4288 * lrecord.h (enum lrecord_type): Rename
4289 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4291 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4292 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4293 `get_char_code_table'.
4295 * mule-charset.c (mark_char_id_table): Renamed from
4296 `mark_char_code_table'.
4297 (char_id_table_equal): Renamed from `char_code_table_equal'.
4298 (char_id_table_hash): Renamed from `char_code_table_hash'.
4299 (make_char_id_table): Renamed from `make_char_code_table'.
4300 (copy_char_id_table): Renamed from `copy_char_code_table'.
4301 (get_char_id_table): Renamed from `get_char_code_table'.
4302 (put_char_id_table): Renamed from `put_char_code_table'.
4303 (to_char_id): Renamed from `to_char_code'.
4305 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4306 `Lisp_Char_Code_Table'.
4307 (char_id_table): Renamed from `char_code_table'.
4308 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4309 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4310 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4311 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4312 (get_char_id_table): Renamed from `get_char_code_table'.
4314 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4316 * lrecord.h (enum lrecord_type): Rename
4317 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4319 * mule-charset.c (mark_byte_table): Renamed from
4320 `mark_char_byte_table'.
4321 (byte_table_equal): Renamed from `char_byte_table_equal'.
4322 (byte_table_hash): Renamed from `byte_table_hash'.
4323 (make_byte_table): Renamed from `make_byte_table'.
4324 (copy_byte_table): Renamed from `copy_char_byte_table'.
4326 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4327 `Lisp_Char_Byte_Table'.
4328 (byte_table): Renamed from `char_byte_table'.
4329 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4330 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4331 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4332 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4334 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4336 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4337 (dfc_convert_to_internal_format): Likewise.
4339 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4340 * text-coding.c (Fcoding_system_alias_p): New function.
4341 * text-coding.c (Fcoding_system_aliasee): New function.
4342 * text-coding.c (append_suffix_to_symbol): New function.
4343 * text-coding.c (dangling_coding_system_alias_p): New function.
4344 * text-coding.c (Ffind_coding_system):
4345 * text-coding.c (Fcopy_coding_system):
4346 * text-coding.c (encode_coding_no_conversion):
4347 * text-coding.c (syms_of_file_coding):
4348 * text-coding.c (vars_of_file_coding):
4349 Rewrite coding system alias code.
4350 Allow nested aliases, like symbolic links.
4351 Allow redefinition of coding system aliases.
4352 Prevent existence of dangling coding system aliases.
4353 Eliminate convert_to_external_format.
4354 Eliminate convert_to_internal_format.
4356 * text-coding.c: Change enum eol_type to eol_type_t.
4358 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4360 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4361 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4363 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4364 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4366 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4368 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4369 `ideograph-daikanwa'.
4371 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4372 (Vcharset_ucs_bmp): Likewise.
4373 (Vcharset_mojikyo): Add new extern variable definition.
4374 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4375 (Vcharset_latin_iso8859_3): Likewise.
4376 (Vcharset_latin_iso8859_4): Likewise.
4377 (Vcharset_latin_iso8859_9): Likewise.
4378 (Vcharset_latin_viscii_lower): Likewise.
4379 (Vcharset_latin_viscii_upper): Likewise.
4380 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4381 `mojikyo' code-point is used to decode.
4382 (encode_char_2): New function [to convert `mojikyo' code-point to
4383 Mojikyo font encoding].
4384 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4385 (breakup_char_1): Likewise.
4386 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4388 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4390 * text-coding.c (Fmake_coding_system): Add document about
4391 `disable-composition' property.
4393 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4395 * text-coding.c (Qdisable_composition): New variable; delete
4397 (Fmake_coding_system): Add new property `disable-composite';
4398 delete property `composite'.
4399 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4400 instead of `!CODING_SYSTEM_COMPOSITE'.
4401 (syms_of_file_coding): Add new symbol `disable-composition';
4402 delete symbol `composite'.
4404 * file-coding.h (struct Lisp_Coding_System): Add
4405 `disable_composition'; delete `enable_composition'.
4406 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4407 `CODING_SYSTEM_COMPOSITE'.
4408 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4409 `XCODING_SYSTEM_COMPOSITE'.
4411 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4413 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4416 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4418 * text-coding.c (Qcomposite): New variable.
4419 (Fmake_coding_system): Add new property `composite'.
4420 (struct decoding_stream): Add `combined_char_count',
4421 `combined_chars' and `combining_table' in UTF-2000.
4422 (COMPOSE_FLUSH_CHARS): New macro.
4423 (COMPOSE_ADD_CHAR): New macro.
4424 (reset_decoding_stream): Reset `str->combined_char_count' and
4425 `str->combining_table' in UTF-2000.
4426 (decode_coding_iso2022): Modify for character-decomposition.
4427 (syms_of_file_coding): Add new symbol `composite'.
4429 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4431 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4432 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4433 of `Vcharacter_composition_table' if `->decomposition' property
4435 (Qlatin_tcvn5712): New variable.
4436 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4437 (complex_vars_of_mule_charset): Add new coded-charset
4440 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4442 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4444 * file-coding.h (struct Lisp_Coding_System): Add
4445 `enable_composition'.
4446 (CODING_SYSTEM_COMPOSITE): New macro.
4447 (XCODING_SYSTEM_COMPOSITE): New macro.
4449 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4451 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4453 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4455 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4456 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4458 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4460 * mule-charset.c (Vcharset_mojikyo): New variable.
4461 (Fdefine_char): Don't use coded-charset which does not have
4462 non-builtin character range to allocate character-id.
4463 (Qmojikyo): New variable.
4464 (syms_of_mule_charset): Add new symbol `mojikyo'.
4465 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4467 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4468 (LEADING_BYTE_MOJIKYO): New macro.
4469 (MIN_CHAR_MOJIKYO): New macro.
4470 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4471 (MAX_CHAR_MOJIKYO): New macro.
4473 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4475 * mule-charset.c (remove_char_attribute): Fixed.
4477 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4479 * mule-charset.c (remove_char_attribute): New function.
4480 (Fremove_char_attribute): New function.
4481 (encode_builtin_char_1): Comment out builtin-support for
4482 greek-iso8859-7 and cyrillic-iso8859-5.
4483 (Fdecode_char): Check `code' is an integer.
4484 (syms_of_mule_charset): Add `remove-char-attribute'.
4485 (MIN_CHAR_GREEK): Deleted.
4486 (MAX_CHAR_GREEK): Likewise.
4487 (MIN_CHAR_CYRILLIC): Likewise.
4488 (MAX_CHAR_CYRILLIC): Likewise.
4489 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4490 MAX_CHAR_GREEK for `greek-iso8859-7'.
4492 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4493 (MAX_CHAR_GREEK): Likewise.
4494 (MIN_CHAR_CYRILLIC): Likewise.
4495 (MAX_CHAR_CYRILLIC): Likewise.
4497 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4499 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4500 format is used without `ucs' property.
4501 (Fdecode_char): Fix problem with GR representation.
4502 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4503 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4505 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4507 * mule-charset.c (make_builtin_char): New function.
4508 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4509 (Fset_charset_mapping_table): Modify for new representation of
4511 (Fdecode_char): New function.
4512 (syms_of_mule_charset): Add new builtin function `decode-char' in
4515 * char-ucs.h (make_builtin_char): New prototype.
4516 (DECODE_CHAR): New inline function.
4517 (MAKE_CHAR): Use `DECODE_CHAR'.
4519 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4521 * text-coding.c (parse_charset_conversion_specs): Use
4522 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4524 (iso2022_designate): Likewise.
4526 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4527 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4529 * mule-charset.c (Vcharset_ucs): New variable.
4530 (print_charset): Change design; use `CHARSET_CHARS' and
4531 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4532 (make_charset): Change signature to specify `chars' and
4533 `dimension' instead of `type'.
4534 (range_charset_code_point): Modify for 256^n-set.
4535 (encode_builtin_char_1): Encode as `ucs' in default.
4536 (Fmake_charset): Modify for `make_charset'.
4537 (Fmake_reverse_direction_charset): Likewise.
4538 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4540 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4543 * char-ucs.h (Vcharset_ucs): New variable.
4544 (LEADING_BYTE_UCS): New macro.
4545 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4546 and `chars' to `unsigned short' from `unsigned int'.
4547 (CHARSET_TYPE): Deleted.
4548 (XCHARSET_TYPE): Deleted.
4550 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4552 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4554 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4555 (ENCODE_CHAR): New macro.
4557 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4559 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4560 to 0.14 (Kawachi-Katakami).
4562 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4564 * text-coding.c (char_encode_shift_jis): Modify for
4565 `charset_code_point'.
4566 (char_encode_iso2022): Likewise.
4568 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4569 (integer) instead of list of <Lisp_Object>s (integers) as the
4570 format of code-point of a coded-charset.
4571 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4572 (encode_builtin_char_1): New function; delete
4573 `split_builtin_char'.
4574 (charset_code_point): Return <int> instead of <Lisp_Object>.
4575 (Fsplit_char): Don't use `SPLIT_CHAR'.
4577 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4578 prototype for `split_builtin_char'.
4579 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4580 (charset_code_point): Likewise.
4581 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4582 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4584 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4586 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4587 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4589 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4591 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4593 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4594 (MAX_CHAR_OBS_94x94): Deleted.
4596 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4598 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4600 * char-ucs.h (MAX_CHAR_BMP): New macro.
4602 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * text-coding.c: Sync with r21-2-24.
4606 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4608 * file-coding.c: Modify for UTF-2000.
4610 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4612 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4615 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4617 * mule-charset.c (split_builtin_char): Delete builtin support for
4618 `katakana-jisx0201'.
4619 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4620 BMP area in builtin representation.
4622 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4623 `Vcharset_katakana_jisx0201'.
4625 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4627 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4628 (Qisolated): New variable.
4629 (Qinitial): New variable.
4630 (Qmedial): New variable.
4631 (Qfinal): New variable.
4632 (Qvertical): New variable.
4633 (Qsmall): New variable.
4634 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4635 `Qvertical' and `Qsmall'.
4636 (Qmojikyo_pj_[1 .. 21]): New variable.
4637 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4638 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4639 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4642 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4644 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4645 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4646 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4648 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4650 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4651 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4653 (Qjapanese_jisx0208_1990): New variable.
4654 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4655 (complex_vars_of_mule_charset): Add new coded-charset
4656 `japanese-jisx0208-1990'.
4658 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4659 (MIN_CHAR_JIS_X0208_1990): New macro.
4660 (MAX_CHAR_JIS_X0208_1990): New macro.
4662 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4664 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4665 coded-charset is not found.
4667 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4669 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4670 (Fdefine_char): Use `Fmake_char'.
4672 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4674 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4675 (Vcharset_hiragana_jisx0208): Deleted.
4676 (Vcharset_katakana_jisx0208): Deleted.
4677 (Qideograph_daikanwa): New variable.
4678 (Qhiragana_jisx0208): Deleted.
4679 (Qkatakana_jisx0208): Deleted.
4680 (split_builtin_char): Split `ideograph-daikanwa'.
4681 (Fsplit_char): New implementation for UTF-2000.
4682 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4683 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4684 (complex_vars_of_mule_charset): Add new coded-charset
4685 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4686 `katakana-jisx0208'.
4688 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4689 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4690 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4691 (MIN_CHAR_DAIKANWA): New macro.
4692 (MAX_CHAR_DAIKANWA): New macro.
4694 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4696 * data.c (Fstring_to_number): Don't recognize floating point if
4699 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4701 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4703 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4705 * mule-charset.c (Qsquare): New variable.
4706 (to_char_code): Add `Qsquare'.
4707 (syms_of_mule_charset): Add new symbol `square'.
4709 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4711 * mule-charset.c (Qcircle): New variable.
4712 (to_char_code): Add `Qcircle'.
4713 (syms_of_mule_charset): Add new symbol `circle'.
4715 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4717 * mule-charset.c (Qfont): New variable.
4718 (to_char_code): Add `Qfont'.
4719 (syms_of_mule_charset): Add new symbol `font'.
4721 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4723 * mule-charset.c (Qsub): New variable.
4724 (to_char_code): Add `Qsub'.
4725 (syms_of_mule_charset): Add new symbol `sub'.
4727 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4729 * mule-charset.c (Fput_char_attribute): Convert each element of
4730 VALUE to GL position if ATTRIBUTE is a GR-set,
4732 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4734 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4735 coded-charset is a GR-set.
4737 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4739 * mule-charset.c (Fput_char_attribute): Check each element of
4740 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4742 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4744 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4746 (Qethiopic_ucs): New variable in UTF-2000.
4747 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4748 (complex_vars_of_mule_charset): Add new coded-charset
4749 `ethiopic-ucs' in UTF-2000.
4751 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4752 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4754 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4756 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4758 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4760 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4763 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4765 * mule-charset.c (Vcharacter_variant_table): New variable.
4766 (Q_ucs): New variable.
4767 (Fchar_variants): New function.
4768 (Fput_char_attribute): Register `->ucs' value to
4769 `Vcharacter_variant_table'.
4770 (syms_of_mule_charset): Add new function `char-variants' and new
4772 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4774 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4776 * mule-charset.c (get_char_code_table): Allow negative character
4778 (put_char_code_table): Likewise.
4779 (Vcharacter_composition_table): New variable.
4780 (Q_decomposition): New variable.
4781 (Qwide): New variable.
4782 (Qnarrow): New variable.
4783 (Qcompat): New variable.
4784 (QnoBreak): New variable.
4785 (Qsuper): New variable.
4786 (Qfraction): New variable.
4787 (to_char_code): New function.
4788 (Fget_composite_char): New function.
4789 (Fput_char_attribute): Register `->decomposition' value to
4790 `Vcharacter_composition_table'.
4791 (syms_of_mule_charset): Add new function `get-composite-char', new
4792 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4793 `super' and `fraction'.
4794 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4796 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4798 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4799 character; copy the return value.
4801 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4803 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4805 * mule-charset.c (range_charset_code_point): Must use make_int.
4806 (split_builtin_char): New function.
4808 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4810 * mule-charset.c (char_byte_table): Change name from
4811 "char-code-table" to "char-byte-table".
4812 (mark_char_code_table): New function.
4813 (char_code_table_equal): New function.
4814 (char_code_table_hash): New function.
4815 (char_code_table_description): New constant.
4816 (char_code_table): New type.
4817 (make_char_code_table): New function.
4818 (copy_char_code_table): New function.
4819 (get_char_code_table): Modify for `char_code_table' type.
4820 (put_char_code_table): Likewise.
4821 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4824 * char-ucs.h (char_code_table): New type.
4825 (XCHAR_CODE_TABLE): New macro.
4826 (XSETCHAR_CODE_TABLE): New macro.
4827 (CHAR_CODE_TABLE_P): New macro.
4828 (GC_CHAR_CODE_TABLE_P): New macro.
4829 (struct Lisp_Char_Code_Table): New structure.
4831 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4833 * mule-charset.c (Fmake_charset): Setup byte_offset for
4836 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4838 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4841 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4843 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4846 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4848 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4849 charset, it is regarded as a charset.
4850 (put_char_attribute): New function in UTF-2000.
4851 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4852 charset, mapping-table of the charset is modified.
4853 (Fdefine_char): New function in UTF-2000.
4854 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4855 `Fput_char_attribute'.
4856 (syms_of_mule_charset): Add new function `define-char' and new
4857 symbol `ucs' in UTF-2000.
4858 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4860 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4862 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4863 non-UTF-2000 configuration.
4865 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4867 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4868 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4870 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4872 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4873 (Fset_charset_mapping_table): Likewise.
4875 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4876 (CHARSET_ENCODING_TABLE): Delete.
4877 (XCHARSET_ENCODING_TABLE): Delete.
4878 (charset_code_point): New interface.
4880 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4882 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4883 instead of `charset_get_byte1' and `charset_get_byte2'.
4885 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4886 (charset_get_byte2): Deleted.
4888 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4890 * char-ucs.h (SPLIT_CHAR): New inline function.
4891 (breakup_char_1): Use `SPLIT_CHAR'.
4893 * mule-charset.c (range_charset_code_point): New function.
4894 (charset_code_point): New function.
4896 * char-ucs.h (range_charset_code_point): New interface.
4897 (breakup_char_1): Use `range_charset_code_point'.
4899 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4901 * mule-charset.c (Fmake_charset): Delete unused local variable
4904 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4905 (breakup_char_1): Find a charset and code-point in
4906 `Vcharacter_attribute_table'.
4908 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4910 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4913 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4915 * mule-charset.c (Vcharacter_attribute_table): New variable.
4916 (Fchar_attribute_alist): New function.
4917 (Fget_char_attribute): New function.
4918 (Fput_char_attribute): New function.
4919 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4921 (syms_of_mule_charset): Add new function `char-attribute-alist',
4922 `get-char-attribute' and `put-char-attribute'.
4923 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4925 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4927 * mule-charset.c (Fmake_charset): Just use
4928 `get_unallocated_leading_byte'.
4930 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4931 sets; don't use final-byte based number for private sets.
4933 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4935 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4938 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4940 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4943 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4945 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4946 of `CHAR_LEADING_BYTE' in UTF-2000.
4948 * insdel.c (find_charsets_in_bufbyte_string): Use
4949 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4950 (find_charsets_in_emchar_string): Likewise.
4952 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4953 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4955 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4956 (CHAR_CHARSET_ID): New macro.
4958 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4960 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4961 charset-id - MIN_LEADING_BYTE.
4962 (put_char_table): Likewise.
4964 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4966 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4967 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4968 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4969 (CHARSET_ID_OFFSET): New macro.
4970 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4971 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4972 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4973 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4975 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4977 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4978 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4979 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4980 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4981 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4983 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4985 * mule-charset.c (next_allocated_leading_byte): New variable in
4987 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4988 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4989 (get_unallocated_leading_byte): Simply use
4990 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4991 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4994 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4995 (MAX_LEADING_BYTE_PRIVATE): New macro.
4996 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4997 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4999 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5001 * mule-charset.c (Fmake_charset): Allocate final-byte based
5002 charset-id for 94-set, 96-set and 94x94-set.
5004 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5006 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
5008 (Fmake_charset): Likewise.
5009 (complex_vars_of_mule_charset): Modify the font registry of
5010 `ucs-bmp' not to match `Ethiopic-Unicode'.
5012 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5014 * mule-charset.c (complex_vars_of_mule_charset): Add font
5015 registory of `ucs-bmp'.
5017 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5019 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
5020 coded-charsets in `default-coded-charset-priority-list' when
5021 breaking up a character.
5023 * mule-charset.c (Vcharset_latin_viscii): New variable.
5024 (Qlatin_viscii): New variable.
5025 (make_charset): Don't use `decoding_table'.
5026 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
5028 (Fset_charset_mapping_table): New implementation.
5029 (syms_of_mule_charset): Add new symbol `latin-viscii'.
5030 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
5031 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
5032 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
5033 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
5034 charset `latin_viscii'.
5036 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
5037 (CHARSET_TYPE_94X94): Change to 1 from 2.
5038 (CHARSET_TYPE_96): Change to 2 from 1.
5039 (CHARSET_TYPE_128): New macro.
5040 (CHARSET_TYPE_128X128): Change to 5 from 4.
5041 (CHARSET_TYPE_256): New macro.
5042 (CHARSET_TYPE_256X256): Change to 7 from 5.
5043 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
5045 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5047 * text-coding.c (char_encode_shift_jis): Refer
5048 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
5049 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
5051 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
5052 (char_byte_table_equal): New function in UTF-2000.
5053 (char_byte_table_hash): New function in UTF-2000.
5054 (char_byte_table_description): New constant in UTF-2000.
5055 (char_byte_table): New type in UTF-2000.
5056 (make_char_byte_table): New function in UTF-2000.
5057 (copy_char_byte_table): New function in UTF-2000.
5058 (make_char_code_table): New macro in UTF-2000.
5059 (get_char_code_table): New function in UTF-2000.
5060 (put_char_code_table): New function in UTF-2000.
5061 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
5062 (charset_description): Add setting in UTF-2000.
5063 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
5064 `CHARSET_TO_BYTE1_TABLE(cs)'.
5065 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
5066 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
5067 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
5068 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
5069 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
5070 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
5071 `CHARSET_TO_BYTE2_TABLE(cs)'.
5073 * char-ucs.h (char_byte_table): New type.
5074 (XCHAR_BYTE_TABLE): New macro.
5075 (XSETCHAR_BYTE_TABLE): New macro.
5076 (CHAR_BYTE_TABLE_P): New macro.
5077 (GC_CHAR_BYTE_TABLE_P): New macro.
5078 (struct Lisp_Char_Byte_Table): New structure.
5079 (get_char_code_table): New interface.
5080 (Emchar_to_byte_table): Deleted.
5081 (get_byte_from_character_table): Deleted.
5082 (struct Lisp_Charset): Add `encoding_table'; delete
5083 `to_byte1_table' and `to_byte2_table'.
5084 (CHARSET_ENCODING_TABLE): New macro.
5085 (CHARSET_TO_BYTE1_TABLE): Deleted.
5086 (CHARSET_TO_BYTE2_TABLE): Deleted.
5087 (XCHARSET_ENCODING_TABLE): New macro.
5088 (XCHARSET_TO_BYTE1_TABLE): Deleted.
5089 (XCHARSET_TO_BYTE2_TABLE): Deleted.
5091 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5093 * mule-charset.c (syms_of_mule_charset): Delete charset alias
5094 `vietnamese-viscii-*'.
5096 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
5099 (Qvietnamese_viscii_upper): New variable.
5100 (Fdefine_charset_alias): New function.
5101 (syms_of_mule_charset): Add new function `define-charset-alias'.
5102 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5103 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5106 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5109 (MAX_CHAR_OBS_94x94): New macro.
5110 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5113 * mule-charset.c (put_byte_from_character_table): Change unit size
5115 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5117 (Fmake_reverse_direction_charset): Modify dummy argument of
5118 `make_charset' for non-UTF-2000 environment.
5120 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5122 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5124 * mule-charset.c (destroy_byte_from_character_table): New macro.
5125 (latin_jisx0201_to_ucs): Deleted.
5126 (latin_iso8859_2_to_ucs): Deleted.
5127 (latin_iso8859_3_to_ucs): Deleted.
5128 (latin_iso8859_4_to_ucs): Deleted.
5129 (latin_iso8859_9_to_ucs): Deleted.
5130 (latin_viscii_lower_to_ucs): Deleted.
5131 (latin_viscii_upper_to_ucs): Deleted.
5132 (mark_charset): Mark `cs->decoding_table'.
5133 (Fcharset_mapping_table): Fix DOC-string.
5134 (Fset_charset_mapping_table): New function.
5135 (syms_of_mule_charset): Add nwe function
5136 `set-charset-mapping-table'.
5137 (complex_vars_of_mule_charset): Don't setup and use
5140 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5142 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5145 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5147 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5148 (Vcharset_katakana_jisx0208): New variable.
5149 (Qhiragana_jisx0208): New variable.
5150 (Qkatakana_jisx0208): New variable.
5151 (make_charset): Add new argument `byte_offset'.
5152 (charset_get_byte1): Modify for new coded-charset definition; use
5153 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5154 `XCHARSET_BYTE_OFFSET'.
5155 (Fmake_charset): Modify for `make_charset'.
5156 (Fmake_reverse_direction_charset): Likewise.
5157 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5158 `katakana-jisx0208'.
5159 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5160 `.' in font registry of charset `katakana-jisx0201',
5161 `latin-jisx0201', `vietnamese-viscii-lower' and
5162 `vietnamese-viscii-upper'; modify DOC-string of charset
5163 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5164 registry of charset `japanese-jisx0208' not to use font for JIS
5165 X0208:1990; add new charset `hiragana-jisx0208' and
5166 `katakana-jisx0208'.
5168 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5169 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5170 (struct Lisp_Charset): Add `byte_offset'.
5171 (CHARSET_BYTE_OFFSET): New macro.
5172 (XCHARSET_UCS_MIN): New macro.
5173 (XCHARSET_UCS_MAX): New macro.
5174 (XCHARSET_CODE_OFFSET): New macro.
5175 (XCHARSET_BYTE_OFFSET): New macro.
5176 (MIN_CHAR_HIRAGANA): New macro.
5177 (MAX_CHAR_HIRAGANA): New macro.
5178 (MIN_CHAR_KATAKANA): New macro.
5179 (MAX_CHAR_KATAKANA): New macro.
5180 (MAKE_CHAR): Modify for new coded-charset definition; use
5181 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5182 `XCHARSET_BYTE_OFFSET'.
5184 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5186 * mule-charset.c (CHAR96): Deleted.
5187 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5189 (latin_iso8859_2_to_ucs): Likewise.
5190 (latin_iso8859_3_to_ucs): Likewise.
5191 (latin_iso8859_4_to_ucs): Likewise.
5192 (latin_iso8859_9_to_ucs): Likewise.
5193 (latin_viscii_lower_to_ucs): Likewise.
5194 (latin_viscii_upper_to_ucs): Likewise.
5195 (latin_tcvn5712_to_ucs): Commented out.
5196 (make_charset): Change type of argument `decoding_table' from
5197 <Emchar*> to <Lisp_Object> [vector of characters].
5198 (Fmake_charset): Modify for `make_charset'.
5199 (Fmake_reverse_direction_charset): Likewise.
5200 (Fcharset_mapping_table): New function in UTF-2000.
5201 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5203 (complex_vars_of_mule_charset): Modify for type change of
5204 `*_to_ucs'; modify for `make_charset'.
5206 * char-ucs.h (struct Lisp_Charset): Change type of
5207 `decoding_table' from <Emchar*> to <Lisp_Object>.
5208 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5210 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5212 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5213 error with non-UTF-2000-Mule.
5215 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5217 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5219 (Vcharset_chinese_cns11643_4): Likewise.
5220 (Vcharset_chinese_cns11643_5): Likewise.
5221 (Vcharset_chinese_cns11643_6): Likewise.
5222 (Vcharset_chinese_cns11643_7): Likewise.
5223 (Qchinese_cns11643_3): Likewise.
5224 (Qchinese_cns11643_4): Likewise.
5225 (Qchinese_cns11643_5): Likewise.
5226 (Qchinese_cns11643_6): Likewise.
5227 (Qchinese_cns11643_7): Likewise.
5228 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5229 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5230 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5231 (complex_vars_of_mule_charset): Likewise.
5233 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5235 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5237 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5238 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5240 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5242 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5244 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5245 (breakup_char_1): Likewise.
5247 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5248 one of them includes the specified character.
5250 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5252 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5254 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5256 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5258 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5260 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5261 definition for non-UTF-2000 Mule.
5262 (latin_iso8859_3_to_ucs): Likewise.
5263 (latin_iso8859_4_to_ucs): Likewise.
5264 (latin_iso8859_9_to_ucs): Likewise.
5265 (latin_jisx0201_to_ucs): Likewise.
5266 (MIN_CHAR_THAI): Likewise.
5267 (MAX_CHAR_THAI): Likewise.
5268 (MIN_CHAR_GREEK): Likewise.
5269 (MAX_CHAR_GREEK): Likewise.
5270 (MIN_CHAR_HEBREW): Likewise.
5271 (MAX_CHAR_HEBREW): Likewise.
5272 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5273 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5274 (MIN_CHAR_CYRILLIC): Likewise.
5275 (MAX_CHAR_CYRILLIC): Likewise.
5277 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5279 * char-ucs.h (breakup_char_1): Use
5280 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5281 thai-tis620 and katakana-jisx0201 area.
5283 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5285 * char-ucs.h (breakup_char_1): Use
5286 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5289 * text-coding.c (reset_encoding_stream): Fixed.
5290 (char_encode_ucs4): Delete `& 255'.
5292 * char-ucs.h (breakup_char_1): Use
5293 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5295 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5297 * file-coding.c (Fmake_coding_system): Don't set up
5298 `codesys->fixed.size'.
5299 (encode_coding_no_conversion): Don't refer
5300 `str->codesys->fixed.size'.
5302 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5304 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5305 (latin_a_char_to_byte1): Deleted.
5306 (latin_a_char_to_byte2): Deleted.
5308 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5310 * mule-charset.c (make_charset): Add new argument `ucs_min',
5311 `ucs_max' and `code_offset'.
5312 (charset_get_byte1): New implementation [delete specific charset
5313 depended implementations].
5314 (Fmake_charset): Modify for `make_charset'.
5315 (Fmake_reverse_direction_charset): Likewise.
5316 (complex_vars_of_mule_charset): Likewise.
5318 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5320 (CHARSET_UCS_MIN): New macro.
5321 (CHARSET_UCS_MAX): New macro.
5322 (CHARSET_CODE_OFFSET): New macro.
5323 (MAKE_CHAR): Delete charset depended definitions [except
5326 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5328 * char-ucs.h (breakup_char_1): Use
5329 `Vdefault_coded_charset_priority_list' for C0-Controls,
5330 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5332 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5334 * char-ucs.h (charset_get_byte1): New function.
5335 (XCHARSET_GET_BYTE1): Deleted.
5336 (charset_get_byte2): New function.
5337 (XCHARSET_GET_BYTE2): Deleted.
5338 (Vdefault_coded_charset_priority_list): New external variable.
5339 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5340 `Vdefault_preferred_coded_charset_list'.
5342 * mule-charset.c (charset_get_byte1): New function.
5343 (charset_get_byte2): New function.
5344 (Vdefault_coded_charset_priority_list): New variable.
5345 (vars_of_mule_charset): Add new variable
5346 `default-coded-charset-priority-list'.
5348 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5350 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5351 (XCHARSET_GET_BYTE2): New inline function.
5352 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5353 `XCHARSET_GET_BYTE2'.
5355 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5357 * mule-charset.c (make_charset): Initialize
5358 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5359 NULL if table is not defined.
5361 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5363 * text-coding.c (char_encode_shift_jis): Use
5364 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5365 `ucs_to_latin_jisx0201'.
5367 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5368 (ucs_to_latin_iso8859_2): Deleted.
5369 (ucs_to_latin_iso8859_3): Deleted.
5370 (ucs_to_latin_iso8859_4): Deleted.
5371 (ucs_to_latin_iso8859_9): Deleted.
5372 (ucs_to_latin_viscii_lower): Deleted.
5373 (ucs_to_latin_viscii_upper): Deleted.
5374 (ucs_to_latin_tcvn5712): Deleted.
5375 (make_charset): Add new argument `decoding_table'; set up
5376 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5377 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5378 `decoding_table' is defined in UTF-2000.
5379 (Fmake_charset): Modify for `make_charset'.
5380 (Fmake_reverse_direction_charset): Likewise.
5381 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5382 and `GENERATE_96_SET'.
5384 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5385 (ucs_to_latin_jisx0201): Deleted.
5386 (latin_iso8859_2_to_ucs): Deleted.
5387 (ucs_to_latin_iso8859_2): Deleted.
5388 (latin_iso8859_3_to_ucs): Deleted.
5389 (ucs_to_latin_iso8859_3): Deleted.
5390 (latin_iso8859_4_to_ucs): Deleted.
5391 (ucs_to_latin_iso8859_4): Deleted.
5392 (latin_iso8859_9_to_ucs): Deleted.
5393 (ucs_to_latin_iso8859_9): Deleted.
5394 (latin_viscii_lower_to_ucs): Deleted.
5395 (ucs_to_latin_viscii_lower): Deleted.
5396 (latin_viscii_upper_to_ucs): Deleted.
5397 (ucs_to_latin_viscii_upper): Deleted.
5398 (struct Lisp_Charset): Renamed `encoding_table' to
5399 `to_byte1_table'; add `to_byte2_table'.
5400 (CHARSET_DECODING_TABLE): New macro.
5401 (CHARSET_TO_BYTE1_TABLE): New macro.
5402 (CHARSET_TO_BYTE2_TABLE): New macro.
5403 (XCHARSET_DECODING_TABLE): New macro.
5404 (XCHARSET_TO_BYTE1_TABLE): New macro.
5405 (XCHARSET_TO_BYTE2_TABLE): New macro.
5406 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5408 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5409 don't use `ucs_to_*' tables.
5411 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5413 * text-coding.c (Fmake_coding_system): Don't set up
5414 `codesys->fixed.size'.
5415 (encode_coding_no_conversion): Use `if' instead of `switch'.
5417 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5419 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5421 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5422 (Fmake_charset): Modify for `make_charset'.
5423 (Fmake_reverse_direction_charset): Likewise.
5424 (complex_vars_of_mule_charset): Likewise.
5426 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5428 * text-coding.c (char_encode_shift_jis): Use table
5429 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5431 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5433 * text-coding.c (text_encode_generic): Use `if' instead of
5435 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5438 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5440 * text-coding.c (encode_coding_sjis): Deleted.
5441 (char_encode_shift_jis): New function.
5442 (char_finish_shift_jis): New function.
5443 (reset_encoding_stream): Set up `encode_char' and `finish' for
5444 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5445 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5446 (char_encode_utf8): Treat `eol_type'.
5448 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5450 * file-coding.c (decode_coding_iso2022): Use
5451 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5453 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5455 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5458 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5460 * char-lb.h (CHAR_COLUMNS): New macro.
5462 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5464 * text-coding.c (char_encode_ucs4): New function.
5465 (char_finish_ucs4): New function.
5466 (encode_coding_ucs4): Deleted.
5467 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5468 (text_encode_generic): Delete local variable `charset' and `half'.
5469 (ucs_to_mule_table): Deleted.
5470 (mule_to_ucs_table): Deleted.
5471 (Fset_ucs_char): Deleted.
5472 (ucs_to_char): Deleted.
5473 (Fucs_char): Deleted.
5474 (Fset_char_ucs): Deleted.
5475 (Fchar_ucs): Deleted.
5476 (decode_ucs4): Deleted.
5477 (mule_char_to_ucs4): Deleted.
5478 (encode_ucs4): Deleted.
5479 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5480 (decode_coding_utf8): Likewise.
5481 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5482 (char_encode_iso2022): Fixed.
5483 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5484 `Fset_char_ucs' and `Fchar_ucs'.
5485 (complex_vars_of_file_coding): Don't initialize
5486 `ucs_to_mule_table'.
5488 * objects-tty.c (tty_initialize_font_instance): Don't use
5491 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5494 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5495 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5497 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5498 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5499 (emchar_string_displayed_columns): Likewise.
5501 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5502 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5503 (string_column_at_point): Likewise.
5504 (Fmove_to_column): Likewise.
5506 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5507 `encoding_table' and `decoding_table'.
5508 (CHARSET_REP_BYTES): Deleted.
5509 (XCHARSET_REP_BYTES): Deleted.
5510 (XCHARSET_COLUMNS): Deleted.
5511 (CHAR_COLUMNS): New macro.
5512 (lookup_composite_char): Deleted unconditionally.
5513 (composite_char_string): Likewise.
5515 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5517 * char-ucs.h (Emchar_to_byte_table): New type.
5518 (get_byte_from_character_table): New function interface.
5519 (Vcharset_latin_jisx0201): New variable.
5520 (latin_jisx0201_to_ucs): New variable.
5521 (ucs_to_latin_jisx0201): New variable.
5522 (Vcharset_latin_iso8859_2): New variable.
5523 (latin_iso8859_2_to_ucs): New variable.
5524 (ucs_to_latin_iso8859_2): New variable.
5525 (Vcharset_latin_iso8859_3): New variable.
5526 (latin_iso8859_3_to_ucs): New variable.
5527 (ucs_to_latin_iso8859_3): New variable.
5528 (Vcharset_latin_iso8859_4): New variable.
5529 (latin_iso8859_4_to_ucs): New variable.
5530 (ucs_to_latin_iso8859_4): New variable.
5531 (Vcharset_latin_iso8859_9): New variable.
5532 (latin_iso8859_9_to_ucs): New variable.
5533 (ucs_to_latin_iso8859_9): New variable.
5534 (Vcharset_latin_viscii_lower): New variable.
5535 (latin_viscii_lower_to_ucs): New variable.
5536 (ucs_to_latin_viscii_lower): New variable.
5537 (Vcharset_latin_viscii_upper): New variable.
5538 (latin_viscii_upper_to_ucs): New variable.
5539 (ucs_to_latin_viscii_upper): New variable.
5540 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5541 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5542 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5543 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5544 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5545 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5546 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5547 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5548 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5549 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5551 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5552 (Vcharset_latin_viscii_upper): New variable.
5553 (make_byte_from_character_table): New function.
5554 (put_byte_from_character_table): New function.
5555 (get_byte_from_character_table): New function.
5556 (CHAR96): New macro.
5557 (ucs_to_latin_jisx0201): New variable.
5558 (latin_jisx0201_to_ucs): New variable.
5559 (ucs_to_latin_iso8859_2): New variable.
5560 (latin_iso8859_2_to_ucs): New variable.
5561 (ucs_to_latin_iso8859_3): New variable.
5562 (latin_iso8859_3_to_ucs): New variable.
5563 (ucs_to_latin_iso8859_4): New variable.
5564 (latin_iso8859_4_to_ucs): New variable.
5565 (ucs_to_latin_iso8859_9): New variable.
5566 (latin_iso8859_9_to_ucs): New variable.
5567 (ucs_to_latin_viscii_lower): New variable.
5568 (latin_viscii_lower_to_ucs): New variable.
5569 (ucs_to_latin_viscii_upper): New variable.
5570 (latin_viscii_upper_to_ucs): New variable.
5571 (ucs_to_latin_tcvn5712): New variable.
5572 (latin_tcvn5712_to_ucs): New variable.
5573 (Qlatin_viscii_lower): New variable.
5574 (Qlatin_viscii_upper): New variable.
5575 (syms_of_mule_charset): Set up new symbol
5576 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5577 (complex_vars_of_mule_charset): Set up new charset
5578 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5579 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5580 `ucs_to_<CHARSET>' tables.
5582 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5584 * text-coding.c: New file.
5586 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5588 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5590 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5591 (MAKE_CHAR): Modify for `ucs-bmp'.
5592 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5593 non-MULE characters of BMP.
5595 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5597 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5600 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5603 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5604 - Include character.h for `CHAR_ASCII_P'.
5606 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5608 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5609 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5611 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5612 (BYTE_C0_P): Likewise.
5613 (BYTE_C1_P): Likewise.
5614 (Lstream_get_emchar_1): Likewise.
5615 (Lstream_fput_emchar): Likewise.
5616 (Lstream_funget_emchar): Likewise.
5617 (copy_internal_to_external): Likewise.
5618 (copy_external_to_internal): Likewise.
5620 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5621 (BYTE_C0_P): Likewise.
5622 (BYTE_C1_P): Likewise.
5623 (Lstream_get_emchar_1): Likewise.
5624 (Lstream_fput_emchar): Likewise.
5625 (Lstream_funget_emchar): Likewise.
5626 (copy_internal_to_external): Likewise.
5627 (copy_external_to_internal): Likewise.
5629 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5630 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5632 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5633 (BYTE_ASCII_P): Moved to mb-1byte.h.
5635 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5637 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5639 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5640 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5641 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5642 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5643 (VALIDATE_CHARPTR_FORWARD): Likewise.
5644 (simple_charptr_emchar): Moved to mb-multibyte.h.
5645 (simple_set_charptr_emchar): Likewise.
5646 (simple_charptr_copy_char): Likewise.
5647 (non_ascii_charptr_emchar): Likewise.
5648 (non_ascii_set_charptr_emchar): Likewise.
5649 (non_ascii_charptr_copy_char): Likewise.
5650 (charptr_emchar): Moved to mb-*byte.h.
5651 (set_charptr_emchar): Likewise.
5652 (charptr_copy_char): Likewise.
5654 * mb-1byte.h, mb-multibyte.h: New files.
5656 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5658 * mb-utf-8.h (MULTIBYTE): New macro.
5659 (MAX_EMCHAR_LEN): Moved from buffer.h.
5660 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5662 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5664 * mb-lb.h, multibyte.h: New files.
5666 * char-1byte.h (Charset_ID): Moved from buffer.h.
5667 (MIN_LEADING_BYTE): Likewise.
5668 (LEADING_BYTE_ASCII): Likewise.
5669 (NUM_LEADING_BYTES): Likewise.
5670 (CHARSETP): Likewise.
5671 (CHARSET_BY_LEADING_BYTE): Likewise.
5672 (XCHARSET_LEADING_BYTE): Likewise.
5673 (XCHARSET_GRAPHIC): Likewise.
5674 (XCHARSET_COLUMNS): Likewise.
5675 (XCHARSET_DIMENSION): Likewise.
5676 (CHAR_CHARSET): Likewise.
5677 (CHAR_LEADING_BYTE): Likewise.
5678 (BREAKUP_CHAR): Likewise.
5679 (Vcharset_ascii): Likewise.
5681 * buffer.h: Include multibyte.h unconditionally.
5682 (VALID_CHARPTR_P): Moved to multibyte.h.
5683 (ASSERT_VALID_CHARPTR): Likewise.
5684 (REAL_INC_CHARPTR): Likewise.
5685 (REAL_INC_CHARBYTIND): Likewise.
5686 (REAL_DEC_CHARPTR): Likewise.
5687 (INC_CHARPTR): Likewise.
5688 (INC_CHARBYTIND): Likewise.
5689 (DEC_CHARPTR): Likewise.
5690 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5691 (VALIDATE_CHARPTR_FORWARD): Likewise.
5692 (charptr_n_addr): Likewise.
5693 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5694 (simple_charptr_emchar): Moved to multibyte.h.
5695 (simple_set_charptr_emchar): Likewise.
5696 (simple_charptr_copy_char): Likewise.
5697 (non_ascii_charptr_emchar): Likewise.
5698 (non_ascii_set_charptr_emchar): Likewise.
5699 (non_ascii_charptr_copy_char): Likewise.
5700 (charptr_emchar): Likewise.
5701 (set_charptr_emchar): Likewise.
5702 (charptr_copy_char): Likewise.
5703 (charptr_emchar_n): Likewise.
5704 (Charset_ID): Moved to char-1byte.h.
5705 (Vcharset_ascii): Likewise.
5706 (CHAR_CHARSET): Likewise.
5707 (CHAR_LEADING_BYTE): Likewise.
5708 (LEADING_BYTE_ASCII): Likewise.
5709 (NUM_LEADING_BYTES): Likewise.
5710 (MIN_LEADING_BYTE): Likewise.
5711 (CHARSETP): Likewise.
5712 (CHARSET_BY_LEADING_BYTE): Likewise.
5713 (XCHARSET_LEADING_BYTE): Likewise.
5714 (XCHARSET_GRAPHIC): Likewise.
5715 (XCHARSET_COLUMNS): Likewise.
5716 (XCHARSET_DIMENSION): Likewise.
5717 (BREAKUP_CHAR): Likewise.
5719 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5721 * character.h: Add document about interface for characters.
5723 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5724 (MAKE_CHAR): Delete comment about
5725 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5726 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5727 (BREAKUP_CHAR): Modify name of arguments.
5728 (CHAR_CHARSET): Modify name of argument.
5730 * buffer.h: Delete document about Emchar accessors.
5732 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5734 * character.h (CHAR_INTP): Moved from buffer.h
5735 (CHAR_OR_CHAR_INTP): Likewise.
5736 (XCHAR_OR_CHAR_INT): Likewise.
5737 (CHECK_CHAR_COERCE_INT): Likewise.
5739 * buffer.h (CHAR_INTP): Moved to character.h
5740 (CHAR_OR_CHAR_INTP): Likewise.
5741 (XCHAR_OR_CHAR_INT): Likewise.
5742 (CHECK_CHAR_COERCE_INT): Likewise.
5744 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5747 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5748 - Include char-1byte.h, char-lb.h or char-ucs.h.
5750 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5752 * buffer.h: Include character unconditionally.
5753 (valid_char_p): Moved to char-*.h.
5754 (non_ascii_valid_char_p): Moved to char-lb.h.
5756 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5758 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5760 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5761 in UTF-2000 because it is not ported yet and not to use
5762 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5763 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5764 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5766 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5767 (CHAR_ASCII_P): Moved from character.h.
5769 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5770 (CHAR_ASCII_P): Likewise.
5771 (CHAR_FIELD1_MASK): Deleted.
5772 (CHAR_FIELD2_MASK): Deleted.
5773 (CHAR_FIELD3_MASK): Deleted.
5774 (MAX_CHAR_BASIC_LATIN): New macro.
5775 (CHAR_FIELD1): Deleted.
5776 (CHAR_FIELD2_INTERNAL): Deleted.
5777 (CHAR_FIELD3_INTERNAL): Deleted.
5778 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5779 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5780 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5781 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5782 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5783 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5784 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5785 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5786 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5787 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5788 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5789 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5790 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5791 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5792 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5793 (MIN_CHAR_COMPOSITION): Deleted.
5794 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5795 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5797 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5799 * buffer.h: Include mb-utf-8.h in UTF-2000.
5801 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5803 * mb-utf-8.h: New file.
5805 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5807 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5810 * mule-charset.h, buffer.h (Charset_ID): New type.
5812 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5814 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5815 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5816 instead of `MULE_CHAR_PRIVATE_OFFSET',
5817 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5818 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5819 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5821 * character.h (Vcharset_japanese_jisx0212): New variable
5824 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5826 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5827 (charset_by_attributes): Delete array about direction.
5828 (latin_a_char_to_charset): New variable in UTF-2000.
5829 (latin_a_char_to_byte1): New variable in UTF-2000.
5830 (latin_a_char_to_byte2): New variable in UTF-2000.
5831 (Qucs_bmp): New variable.
5832 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5834 (next_allocated_2_byte_leading_byte): Likewise.
5835 (non_ascii_set_charptr_emchar): Likewise.
5836 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5837 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5838 `charset_by_attributes'.
5839 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5840 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5841 and `CHARSET_BY_LEADING_BYTE'.
5842 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5843 `utf-2000-version' to `vars_of_mule_charset'.
5844 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5845 define `leading-code-private-11' in UTF-2000; move setting of
5846 `utf-2000-version' from `syms_of_mule_charset'.
5847 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5850 * character.h (Charset_ID): New type.
5851 (LEADING_BYTE_UCS_BMP): New macro.
5852 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5853 (CHARSET_ID_OFFSET_94): New macro.
5854 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5855 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5856 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5858 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5859 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5860 (CHARSET_ID_OFFSET_96): New macro.
5861 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5862 CHARSET_ID_OFFSET_96 and final-byte.
5863 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5864 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5865 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5866 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5867 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5868 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5869 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5870 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5871 (LEADING_BYTE_THAI_TIS620): Likewise.
5872 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5873 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5874 (CHARSET_ID_OFFSET_94x94): New macro.
5875 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5876 CHARSET_ID_OFFSET_94x94 and final-byte.
5877 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5878 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5879 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5880 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5881 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5882 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5883 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5884 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5885 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5886 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5887 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5888 (CHARSET_TYPE_128X128): New macro.
5889 (CHARSET_TYPE_256X256): New macro.
5890 (XCHARSET_PRIVATE_P): Delete unconditionally.
5891 (charset_by_attributes): Delete array about direction.
5892 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5893 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5894 (MIN_CHAR_94): New macro.
5895 (MAX_CHAR_94): New macro.
5896 (MIN_CHAR_96): New macro.
5897 (MAX_CHAR_96): New macro.
5898 (MIN_CHAR_94x94): New macro.
5899 (MAX_CHAR_94x94): New macro.
5900 (MIN_CHAR_96x96): New macro.
5901 (MAX_CHAR_96x96): New macro.
5902 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5903 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5904 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5906 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5907 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5908 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5909 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5910 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5911 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5912 `XCHARSET_LEADING_BYTE' to make code-point.
5913 (latin_a_char_to_charset): New variable.
5914 (latin_a_char_to_byte1): New variable.
5915 (latin_a_char_to_byte2): New variable.
5916 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5917 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5918 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5920 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5921 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5922 (find_charsets_in_emchar_string): Likewise.
5923 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5925 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5927 (decode_coding_iso2022): Likewise.
5929 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5932 * redisplay.c (redisplay_text_width_emchar_string): Use
5933 `Charset_ID' instead of `unsigned char'.
5934 (redisplay_frame_text_width_string): Likewise.
5936 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5939 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5940 instead of `unsigned char'.
5941 (face_cachel_charset_font_metric_info): Likewise.
5943 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5944 (get_non_ascii_char_table_value): Likewise.
5945 (get_char_table): Likewise.
5946 (put_char_table): Likewise.
5947 (map_over_other_charset): Likewise.
5948 (map_char_table): Likewise.
5950 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5951 instead of `unsigned char'.
5953 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5955 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5956 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5958 * mule-charset.c (leading_code_private_11): Don't define in
5961 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5962 in UTF-2000 because it is not ported yet and not to use
5963 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5965 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5967 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5969 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5971 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5974 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5975 of unsigned char to store leading-byte.
5977 * chartab.c (get_non_ascii_char_table_value): Don't use
5978 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5980 * file-coding.c (encode_coding_big5): Delete bogus implementation
5983 * character.h (LEADING_BYTE_*): Delete definition for
5985 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5986 (LEADING_BYTE_PREFIX_P): Deleted.
5987 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5988 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5989 (BUFBYTE_LEADING_BYTE_P): Deleted.
5990 (CHARSET_PRIVATE_P): Deleted unconditionally.
5991 (rep_bytes_by_first_byte): Deleted unconditionally.
5992 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5993 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5994 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5995 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5996 (CHAR_FIELD2): Deleted.
5997 (CHAR_FIELD3): Deleted.
5998 (MAKE_CHAR): Delete definition for non-UTF-2000.
5999 (BREAKUP_CHAR_1_UNSAFE): Deleted.
6000 (breakup_char_1): New implementation.
6001 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
6002 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
6004 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
6006 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
6009 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6011 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
6012 (CHARSET_PRIVATE_P): Likewise.
6013 (XCHARSET_PRIVATE_P): Likewise.
6014 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
6016 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
6018 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
6020 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6022 * character.h (LEADING_BYTE_*): Changed in UTF2000.
6023 (NUM_LEADING_BYTES): Changed from 128 to 256.
6024 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6025 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
6027 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6029 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
6031 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
6032 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
6033 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
6034 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
6035 (Qchinese_cns11643_3): New variable in UTF2000.
6036 (Qchinese_cns11643_4): New variable in UTF2000.
6037 (Qchinese_cns11643_5): New variable in UTF2000.
6038 (Qchinese_cns11643_6): New variable in UTF2000.
6039 (Qchinese_cns11643_7): New variable in UTF2000.
6040 (syms_of_mule_charset): Define `chinese-cns11643-3',
6041 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
6042 and `chinese-cns11643-7' in UTF2000.
6043 (vars_of_mule_charset): Initialize
6044 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
6046 (complex_vars_of_mule_charset): Setup charset
6047 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
6048 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
6050 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6052 * mule-charset.c: Move setting for `leading-code-private-11' from
6053 `syms_of_mule_charset' to `vars_of_mule_charset'.
6055 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6057 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
6058 and `NUM_LEADING_BYTES' in assert.
6060 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6062 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
6064 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
6065 `NUM_LEADING_BYTES' instead of 128.
6067 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
6069 * mule-charset.h (charset_by_leading_byte): Use
6070 `NUM_LEADING_BYTES' instead of 128.
6071 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
6073 * mule-charset.c (charset_by_leading_byte): Use
6074 `NUM_LEADING_BYTES' instead of 128.
6075 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
6077 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
6080 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
6082 * mule-charset.c (syms_of_mule_charset): Update to
6085 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
6087 * file-coding.c (encode_coding_sjis): New implementation for
6088 UTF2000. (decode_coding_sjis): Ditto.
6090 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6092 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
6093 Don't define in UTF2000.
6095 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
6098 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6099 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
6102 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6104 * config.h.in (CHAR_IS_UCS4): New macro.
6106 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6107 conventional MULE representation.
6108 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6110 * mule-charset.h: Reverted to original.
6112 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6113 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6114 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6116 * character.h: New file.
6118 * file-coding.c (Fmake_coding_system): Set 1 to
6119 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6121 (encode_coding_no_conversion): New implementation for UTF2000.
6123 * file-coding.h (struct Lisp_Coding_System): Add new member
6126 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6128 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6129 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6130 (encode_coding_iso2022): New implementation for UTF2000.
6132 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6134 * mule-canna.c (c2mu): New implementation for UTF2000.
6137 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6139 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6141 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6143 * file-coding.c (reset_encoding_stream): Set 0 to
6144 `str->iso2022.current_char_boundary' in UTF2000.
6145 (encode_utf8): Don't define in UTF2000.
6146 (encode_coding_utf8): New implementation for UTF-8 representation
6148 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6150 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6152 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6154 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6156 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6158 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6160 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6161 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6162 as UTF-8 in UTF2000.
6163 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6164 (non_ascii_valid_char_p): Don't define in UTF2000.
6165 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6166 (Lstream_get_emchar_1): Likewise.
6167 (utf-2000-version): New variable in UTF2000.
6169 * lread.c (read_escape): Add new reader `u'.
6171 * insdel.c (three_to_one_table): Don't define in UTF2000.
6172 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6173 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6175 (bytind_to_bufpos_func): Likewise.
6176 (buffer_mule_signal_inserted_region): Likewise.
6177 (vars_of_insdel): Don't initialize `three_to_one_table'.
6178 (init_buffer_text): Use `buf->text->mule_size' instead of
6179 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6182 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6183 UTF-8 representation in UTF2000.
6184 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6185 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6186 (decode_coding_iso2022): Don't define local variable `lb' in
6187 UTF2000; don't use LEADING_BYTE in UTF2000; use
6188 `DECODE_ADD_UCS_CHAR' in UTF2000.
6189 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6191 * config.h.in (UTF2000): New macro.
6193 * buffer.h (struct buffer_text): Add new member `mule_size' and
6194 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6195 (valid_char_p): Return always 1 in UTF2000.
6196 (MAX_EMCHAR_LEN): 6 in UTF2000.
6197 (three_to_one_table): Don't define in UTF2000.
6198 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6200 (real_bytind_to_bufpos): Likewise.
6202 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6204 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6206 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6207 representation change.
6208 (Vutf_2000_version): New variable.
6209 (leading_code_private_11): New variable.
6210 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6211 `leading-code-private-11'.
6213 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6214 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6215 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6216 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6217 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6218 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6219 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6220 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6221 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6222 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6223 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6224 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6225 (MIN_CHAR_GREEK): New macro.
6226 (MAX_CHAR_GREEK): New macro.
6227 (MIN_CHAR_CYRILLIC): New macro.
6228 (MAX_CHAR_CYRILLIC): New macro.
6229 (MIN_CHAR_HEBREW): New macro.
6230 (MAX_CHAR_HEBREW): New macro.
6231 (MIN_CHAR_THAI): New macro.
6232 (MAX_CHAR_THAI): New macro.
6233 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6234 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6235 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6236 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6237 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6238 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6239 (CHAR_FIELD2): New inline function.
6240 (CHAR_FIELD3): New inline function.
6241 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6242 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6243 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6244 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6245 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6246 (MIN_CHAR_COMPOSITION): Likewise.
6247 (CHAR_LEADING_BYTE): Modified for character representation change.
6248 (MAKE_CHAR): Likewise.
6250 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6251 (Vcharset_greek_iso8859_7): Likewise.
6252 (Vcharset_cyrillic_iso8859_5): Likewise.
6253 (Vcharset_hebrew_iso8859_8): Likewise.
6254 (Vcharset_thai_tis620): Likewise.
6255 (Vcharset_katakana_jisx0201): Likewise.
6257 2008-12-28 Vin Shelton <acs@xemacs.org>
6259 * XEmacs 21.4.22 is released
6261 2008-12-27 Vin Shelton <acs@xemacs.org>
6263 * syswindows.h: Don't define wide character interfaces for Cygwin
6266 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6268 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6270 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6272 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6273 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6275 2008-12-25 Vin Shelton <acs@xemacs.org>
6277 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6278 By Julian Bradfield in
6279 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6281 * mule-ccl.c (ccl_driver):
6283 2007-10-07 Vin Shelton <acs@xemacs.org>
6285 * XEmacs 21.4.21 is released
6287 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6289 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6291 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6293 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6294 (png_instantiate): Initialize setjmp_buffer early, and avoid
6295 recursive entry to error handler.
6297 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6299 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6302 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6304 * event-Xt.c (x_reset_modifier_mapping):
6305 * event-gtk.c (gtk_reset_modifier_mapping):
6306 Zero out the device's modifier map once we've freed it, to prevent
6307 a double free on a re-entrant call.
6309 2007-05-17 Vin Shelton <acs@xemacs.org>
6311 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6312 64-bit linux. Patch from Hans de Graaff.
6314 2007-05-02 Vin Shelton <acs@xemacs.org>
6316 * dumper.c (pdump): Don't close pdump_fd (already closed by
6317 fclose() call. Patch from Steve Higham.
6318 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6319 already closed. Patch inspired by Steve Higham.
6321 2007-05-01 Vin Shelton <acs@xemacs.org>
6323 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6324 (mswindows_fstat): Ditto.
6325 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6327 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6329 * postgresql.c: Update Steve Baur's email address by his request.
6330 * postgresql.h: Ditto.
6332 2007-01-04 Vin Shelton <acs@xemacs.org>
6334 * fileio.c (check_writable): Check old-style readonly bit only for
6337 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6339 * src/fileio.c (check_writable):
6340 Cope with the fact that the read-only attribute trumps Windows NTFS
6344 2006-12-09 Vin Shelton <acs@xemacs.org>
6346 * XEmacs 21.4.20 is released
6348 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6350 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6351 relocated the definitions to be used sooner in file.
6352 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6353 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6356 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6358 * sound.c (init_native_sound):
6359 Only X11 and GTK devices can possibly not be on the console of the
6360 associated machine. Fixes a crash when init_native_sound is called
6361 on a msprinter device.
6363 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6365 * buffer.c (buffer-file-name): Document invariant.
6366 (buffer-file-truename): Sync wording to buffer-file-name.
6367 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6370 2006-11-19 Benson Margulies <benson@dchbk.us>
6372 * fileio.c: Add code to use full Win32 API to check for write
6373 access. Win32 has the general design policy that you aren't
6374 supposed to ask this question, since security checks change
6375 depending on asynchronous processes. Nonetheless, there is a way,
6376 by acting as if we are a server doing interpretive access
6379 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6381 * bytecode.c: Use xnew_array instead of alloca.
6383 2006-07-04 Vin Shelton <acs@xemacs.org>
6385 * redisplay-msw.c: Fix tiny, but crucial typo.
6387 2006-06-22 Jerry James <james@xemacs.org>
6389 * EmacsShell-sub.c (ChangeManaged):
6390 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6392 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6393 checking if it is NULL. Also fix a memory leak.
6394 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6395 dereference it, not the other way around.
6396 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6398 * dumper.c (pdump_register_struct): Ditto.
6399 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6400 to (short) warnpath overflow warnpath.
6401 * extents.c (detach_all_extents): Call extent_list_delete_all with
6402 a non-NULL parameter only.
6403 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6404 NULL width and height.
6405 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6406 xic before checking if they are NULL.
6407 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6409 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6410 * nas.c (Err): Fix a memory leak.
6411 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6412 Don't create the buffer if there is nothing to do.
6413 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6414 * redisplay-output.c (redisplay_output_layout): Ditto.
6415 * redisplay-tty.c (tty_output_display_block): Ditto.
6416 * redisplay-x.c (x_output_display_block): Ditto.
6417 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6418 dereference instance->scrollbar_data if it is NULL.
6419 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6420 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6421 for sb->scrollbar_data.
6422 * sound.c (init_native_sound): Avoid a buffer overflow by
6423 allocating a buffer with the appropriate size.
6425 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6427 * EmacsShell-sub.c (RootGeometryManager):
6428 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6429 Based on a suggestion by Francois L'Archeveque.
6431 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6433 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6434 current values found in GNU Emacs.
6436 2006-03-17 Vin Shelton <acs@xemacs.org>
6438 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6439 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6441 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6442 'hex_initialized' because it conflicts with 'initialized' in
6445 2006-01-28 Vin Shelton <acs@xemacs.org>
6447 * XEmacs 21.4.19 is released
6449 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6451 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6453 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6455 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6458 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6460 * database.c: Suppress compiler warning under Cygwin.
6461 * database.c: Removed __FreeBSD__ check, should be handled by
6462 HAVE_U_xxx_T defines.
6464 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6466 * console.c (stuff_buffered_input): Compile body only if
6469 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6471 * callproc.c: #include sysdir.h, so that any appropriate Mule
6472 magic happens with the chdir() call when calling a subprocess.
6474 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6476 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6477 * mule-ccl.c: Check that a character set exists before using it
6478 to create a character.
6480 2005-12-06 Vin Shelton <acs@xemacs.org>
6482 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6485 2005-12-03 Vin Shelton <acs@xemacs.org>
6487 * XEmacs 21.4.18 is released
6489 2005-11-27 Kean Johnston <kean@armory.com>
6491 * redisplay-tty.c (set_tty_modes):
6492 (reset_tty_modes): disable auto-margins if the terminal supports
6494 (init_tty_for_redisplay): fix cursor shape.
6496 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6498 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6499 for control-1 characters properly, both when reading multibyte
6500 characters and writing them.
6502 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6504 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6505 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6506 were seeing with incremental selection transfer failing.
6508 2005-11-26 Vin Shelton <acs@xemacs.org>
6510 * callproc.c (Fold_call_process_internal): Create the buffer if it
6511 does not already exist. The original patch came from Ben Wing in
6512 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6514 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6516 * callproc.c: Process-related docstring improvements spurred by
6519 2005-11-25 Vin Shelton <acs@xemacs.org>
6521 * depend: Regenerated.
6523 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6525 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6526 says it clashes with a global with the same name.
6528 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6530 * sysdll.c (dll_open): Under MacOS X return NULL under the
6531 filename is NULL. Fixes problems finding local symbols under 10.4
6534 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6536 * config.h.in: New HAVE_U_INT*_T defines.
6538 * database.c: Only use u_int*_t typedefs if not already
6541 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6543 * src/process-unix.c (unix_open_network_stream): moved
6544 'portbuf' buffer out of an inner block as it is used in the
6545 entire function. With gcc4, the stack may get corrupted
6546 after leaving this block. This patches adjusts the size of
6547 the used buffer also; static '128' bytes are far too much
6548 currently and might not suffice for future architectures
6549 (e.g. for 512 bit ones ;)). Instead of, use only the really
6550 required space (max octets * ln(256)/ln(10) chars + space
6551 for '\0' and the sign)
6553 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6555 * callproc.c: Include sysdir.h, so any necessary Mule processing
6556 is done on the current directory name before starting a new
6559 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6561 * chartab.c (Fchar_table_p):
6562 (Fget_range_char_table):
6565 Describe range representation and fix typo.
6567 2005-02-12 Vin Shelton <acs@xemacs.org>
6569 * emacs.c (shut_down_emacs): Advise users to send email to the
6570 xemacs-beta list instead of crashes@xemacs.org.
6572 2005-02-03 David Evers <extsw@appliedgenerics.com>
6574 * process-unix.c (unix_send_process): Flush the last chunk, even
6575 when the pipe is blocked.
6577 2005-02-06 Vin Shelton <acs@xemacs.org>
6579 * XEmacs 21.4.17 is released
6581 2005-01-31 Ben Wing <ben@xemacs.org>
6584 Define assert_failed() always.
6586 Always define ABORT().
6588 2005-01-25 Ben Wing <ben@xemacs.org>
6591 * Makefile.in.in (%.o):
6592 Don't compile executable as Windows (-mwindows) under Cygwin.
6593 Semi-recent changes to Cygwin's executable-startup handling make
6594 it impossible to access the TTY this way.
6596 Don't use special linker file under Cygwin (cygwin.sc) except
6597 when non-PDUMP (even in this case it is highly questionable); you
6600 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6601 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6603 2005-01-29 Ben Wing <ben@xemacs.org>
6605 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6607 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6609 2005-01-29 Ben Wing <ben@xemacs.org>
6611 * bytecode.c (optimize_compiled_function):
6613 * print.c (long_to_string):
6614 Add casts to avoid warning.
6617 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6618 #### The better solution is to move the TIFF and JPEG code to
6621 * glyphs-msw.c (mswindows_xbm_instantiate):
6622 Define __STDC__ to avoid problems with compface.h.
6624 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6626 * EmacsShell-sub.c (ABORT):
6627 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6628 * EmacsShell-sub.c (RootGeometryManager):
6630 * EmacsShell.c (ABORT):
6631 * EmacsShell.c (EmacsShellUpdateSizeHints):
6632 * alloc.c (free_lcrecord):
6633 * alloca.c (i00afunc):
6634 * buffer.c (delete_from_buffer_alist):
6635 * buffer.c (MARKED_SLOT):
6636 * bytecode.c (execute_rare_opcode):
6637 * bytecode.c (optimize_byte_code):
6638 * bytecode.c (Ffetch_bytecode):
6639 * chartab.c (char_table_type_to_symbol):
6640 * chartab.c (Freset_char_table):
6641 * chartab.c (decode_char_table_range):
6642 * chartab.c (Fget_range_char_table):
6643 * chartab.c (check_valid_char_table_value):
6644 * chartab.c (map_char_table):
6645 * chartab.c (slow_map_char_table_fun):
6646 * chartab.c (chartab_instantiate):
6647 * cm.c (cmcheckmagic):
6648 * console-msw.c (DHEADER):
6649 * console.c (MARKED_SLOT):
6650 * data.c (finish_marking_weak_lists):
6651 * data.c (encode_weak_list_type):
6652 * debug.h (DASSERT):
6653 * device-gtk.c (gtk_init_device):
6654 * device-msw.c (mswindows_get_default_margin):
6655 * device-tty.c (tty_init_device):
6656 * device-x.c (get_device_from_display):
6657 * device-x.c (x_get_visual_depth):
6658 * doprnt.c (parse_doprnt_spec):
6659 * doprnt.c (get_doprnt_args):
6660 * dumper.c (pdump_get_indirect_count):
6661 * dumper.c (pdump_register_sub):
6662 * dumper.c (pdump_register_object):
6663 * dumper.c (pdump_register_struct):
6664 * dumper.c (pdump_dump_data):
6665 * dumper.c (pdump_reloc_one):
6666 * elhash.c (print_hash_table):
6667 * elhash.c (make_standard_lisp_hash_table):
6668 * elhash.c (hash_table_instantiate):
6670 * emacs.c (Fforce_debugging_signal):
6671 * emacs.c (sort_args):
6673 * emacs.c (assert_failed):
6674 * eval.c (throw_or_bomb_out):
6675 * eval.c (signal_1):
6678 * event-Xt.c (emacs_Xt_mapping_action):
6679 * event-Xt.c (Xt_process_to_emacs_event):
6681 * event-stream.c (check_event_stream_ok):
6682 * event-stream.c (Fadd_timeout):
6683 * event-stream.c (Fadd_async_timeout):
6684 * event-stream.c (Fdiscard_input):
6685 * event-stream.c (execute_internal_event):
6686 * event-stream.c (Frecent_keys):
6687 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6688 * event-stream.c (lookup_command_event):
6689 * event-unixoid.c (poll_fds_for_input):
6691 * events.c (mark_event):
6692 * events.c (event_equal):
6693 * events.c (event_hash):
6694 * events.c (Fmake_event):
6695 * events.c (Fdeallocate_event):
6696 * events.c (event_chain_find_previous):
6697 * events.c (event_to_character):
6698 * events.c (format_event_object):
6699 * events.c (Fevent_type):
6700 * events.c (event_pixel_translation):
6701 * events.c (Fevent_properties):
6702 * extents.c (extent_in_region_p):
6703 * extents.c (print_extent):
6704 * extents.c (process_extents_for_insertion_mapper):
6705 * extents.c (report_extent_modification_mapper):
6706 * extents.c (glyph_layout_to_symbol):
6707 * faces.c (face_validate):
6708 * file-coding.c (eol_type_to_symbol):
6709 * file-coding.c (subsidiary_coding_system):
6710 * file-coding.c (Fcoding_system_type):
6711 * file-coding.c (Fcoding_system_property):
6712 * file-coding.c (mule_decode):
6713 * file-coding.c (mule_encode):
6714 * file-coding.c (encode_coding_ucs4):
6715 * file-coding.c (encode_coding_utf8):
6716 * file-coding.c (parse_iso2022_esc):
6717 * file-coding.c (encode_coding_iso2022):
6722 * fns.c (Fbase64_encode_region):
6723 * fns.c (Fbase64_encode_string):
6724 * fns.c (Fbase64_decode_region):
6725 * fns.c (Fbase64_decode_string):
6726 * font-lock.c (find_context):
6727 * font-lock.c (context_to_symbol):
6728 * frame-gtk.c (gtk_set_frame_pointer):
6729 * frame-gtk.c (gtk_update_frame_external_traits):
6730 * frame-x.c (x_wm_mark_shell_size_user_specified):
6731 * frame-x.c (x_wm_mark_shell_position_user_specified):
6732 * frame-x.c (x_wm_set_shell_iconic_p):
6733 * frame-x.c (x_wm_set_cell_size):
6734 * frame-x.c (x_wm_set_variable_size):
6735 * frame-x.c (x_wm_store_class_hints):
6736 * frame-x.c (x_wm_maybe_store_wm_command):
6737 * frame-x.c (x_initialize_frame_size):
6738 * frame-x.c (x_update_frame_external_traits):
6740 * frame.c (delete_frame_internal):
6741 * frame.c (mouse_pixel_position_1):
6742 * frame.c (change_frame_size_1):
6743 * free-hook.c (check_free):
6744 * free-hook.c (check_realloc):
6745 * free-hook.c (note_block_input):
6746 * free-hook.c (log_gcpro):
6747 * gccache-gtk.c (gc_cache_lookup):
6748 * glyphs-eimage.c (tiff_memory_write):
6749 * glyphs-gtk.c (gtk_finalize_image_instance):
6750 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6751 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6752 * glyphs-gtk.c (gtk_xpm_instantiate):
6753 * glyphs-gtk.c (gtk_unmap_subwindow):
6754 * glyphs-gtk.c (gtk_map_subwindow):
6755 * glyphs-gtk.c (gtk_button_redisplay):
6757 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6758 * glyphs-x.c (init_image_instance_from_xbm_inline):
6759 * glyphs-x.c (extract_xpm_color_names):
6760 * glyphs-x.c (x_xpm_instantiate):
6761 * glyphs.c (get_image_instantiator_governing_domain):
6762 * glyphs.c (print_image_instance):
6763 * glyphs.c (image_instance_equal):
6764 * glyphs.c (image_instance_hash):
6765 * glyphs.c (encode_image_instance_type):
6766 * glyphs.c (make_image_instance_1):
6767 * glyphs.c (inherit_instantiate):
6768 * glyphs.c (image_instantiate):
6769 * glyphs.c (allocate_glyph):
6770 * glyphs.c (Fglyph_type):
6771 * glyphs.c (redisplay_subwindow):
6772 * glyphs.c (display_table_entry):
6773 * gtk-glue.c (xemacs_list_to_gtklist):
6774 * gtk-glue.c (xemacs_gtklist_to_list):
6775 * gtk-glue.c (xemacs_list_to_array):
6776 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6777 * gutter.c (gutter_was_visible):
6778 * gutter.c (get_gutter_coords):
6779 * input-method-xlib.c (get_XIM_input):
6780 * insdel.c (bufpos_to_bytind_func):
6781 * insdel.c (bytind_to_bufpos_func):
6782 * insdel.c (move_gap):
6783 * intl.c (x_get_composed_input):
6784 * keymap.c (keymap_lookup_directly):
6785 * keymap.c (keymap_delete_inverse_internal):
6786 * keymap.c (ensure_meta_prefix_char_keymapp):
6787 * keymap.c (accessible_keymaps_mapper_1):
6788 * keymap.c (where_is_recursive_mapper):
6791 * lread.c (read_atom):
6792 * lstream.c (Lstream_delete):
6793 * lstream.c (make_lisp_buffer_stream_1):
6794 * macros.c (pop_kbd_macro_event):
6795 * malloc.c (malloc):
6797 * marker.c (bi_marker_position):
6798 * marker.c (set_bi_marker_position):
6799 * menubar-gtk.c (menu_descriptor_to_widget_1):
6800 * menubar-msw.c (prune_menubar):
6801 * menubar-x.c (set_frame_menubar):
6802 * mule-charset.c (get_unallocated_leading_byte):
6803 * mule-charset.h (CHAR_LEADING_BYTE):
6804 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6805 * nt.c (init_environment):
6806 * nt.c (generate_inode_val):
6807 * ntproc.c (delete_child):
6808 * ntproc.c (_sys_read_ahead):
6809 * ntproc.c (create_child):
6810 * objects.c (color_instantiate):
6811 * objects.c (font_instantiate):
6812 * objects.c (face_boolean_instantiate):
6813 * print.c (printing_major_badness):
6814 * process-nt.c (nt_send_process):
6815 * process-unix.c (unix_send_process):
6816 * process.c (get_process):
6817 * ralloc.c (obtain):
6818 * ralloc.c (relinquish):
6819 * ralloc.c (relocate_blocs):
6820 * ralloc.c (resize_bloc):
6821 * ralloc.c (r_alloc_free):
6822 * ralloc.c (r_re_alloc):
6823 * ralloc.c (r_alloc_thaw):
6824 * ralloc.c (init_ralloc):
6825 * ralloc.c (Free_Addr_Block):
6826 * ralloc.c (r_alloc):
6827 * redisplay-gtk.c (gtk_output_display_block):
6828 * redisplay-msw.c (mswindows_output_display_block):
6829 * redisplay-output.c (get_next_display_block):
6830 * redisplay-output.c (get_cursor_size_and_location):
6831 * redisplay-output.c (redisplay_output_layout):
6832 * redisplay-output.c (redisplay_clear_region):
6833 * redisplay-tty.c (tty_output_display_block):
6834 * redisplay-x.c (x_output_display_block):
6835 * redisplay.c (add_propagation_runes):
6836 * redisplay.c (add_glyph_rune):
6837 * redisplay.c (create_text_block):
6838 * redisplay.c (add_margin_runes):
6839 * redisplay.c (create_left_glyph_block):
6840 * redisplay.c (create_right_glyph_block):
6841 * redisplay.c (create_string_text_block):
6842 * redisplay.c (regenerate_window):
6843 * redisplay.c (REGEN_INC_FIND_START_END):
6844 * redisplay.c (redisplay_frame):
6845 * redisplay.c (point_in_line_start_cache):
6848 * regex.c (re_compile_fastmap):
6849 * regex.c (re_match_2_internal):
6850 * regex.c (regerror):
6851 * scrollbar-gtk.c (gtk_scrollbar_loop):
6852 * scrollbar-gtk.c (scrollbar_cb):
6853 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6854 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6855 * scrollbar-x.c (x_update_scrollbar_instance_status):
6856 * scrollbar-x.c (x_scrollbar_loop):
6857 * scrollbar-x.c (x_update_frame_scrollbars):
6858 * search.c (search_command):
6859 * search.c (Fmatch_data):
6860 * select-x.c (motif_clipboard_cb):
6861 * signal.c (interrupt_signal):
6862 * specifier.c (specifier_add_spec):
6863 * specifier.c (specifier_instance_from_inst_list):
6864 * specifier.c (specifier_instance):
6866 * specifier.h (struct specifier_methods):
6867 * strftime.c (add_num_time_t):
6868 * sunplay.c (init_device):
6869 * symbols.c (Fsetplist):
6870 * symbols.c (do_symval_forwarding):
6871 * symbols.c (store_symval_forwarding):
6873 * symbols.c (Fbuilt_in_variable_type):
6874 * symbols.c (decode_magic_handler_type):
6875 * symbols.c (handler_type_from_function_symbol):
6876 * syntax.c (update_syntax_cache):
6877 * sysdep.c (init_baud_rate):
6878 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6879 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6880 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6881 * toolbar.c (get_toolbar_coords):
6882 * ui-gtk.c (build_gtk_boxed):
6883 * ui-gtk.c (describe_gtk_arg):
6884 * ui-gtk.c (gtk_type_to_lisp):
6885 * ui-gtk.c (lisp_to_gtk_type):
6886 * ui-gtk.c (lisp_to_gtk_ret_type):
6887 * ui-gtk.c (lisp_to_flag):
6888 * unexnt.c (read_in_bss):
6889 * unexnt.c (map_in_heap):
6890 * window.c (real_window):
6891 * window.c (window_display_lines):
6892 * window.c (window_display_buffer):
6893 * window.c (set_window_display_buffer):
6894 * window.c (window_modeline_height):
6895 * window.c (unshow_buffer):
6896 * window.c (window_loop):
6897 * window.c (Fget_lru_window):
6898 * window.c (Fsplit_window):
6899 * window.c (Fset_window_configuration):
6900 * window.c (saved_window_index):
6901 * xgccache.c (gc_cache_lookup):
6902 abort() -> ABORT(). Eliminate preprocessor games with abort()
6903 since it creates huge problems in VC7, solvable only by including
6904 massive amounts of files in every compile (and not worth it).
6908 Inclusion of process.h does not need to be before lisp.h any more.
6909 Move later and remove comment about abort().
6911 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6913 * regex.c (re_match_2_internal):
6914 Correctly initialize loop which clears uninitialized registers.
6916 2005-01-28 Vin Shelton <acs@xemacs.org>
6918 * sheap.c (more_static_core): Applied Ben's version of the long
6921 2005-01-24 Vin Shelton <acs@xemacs.org>
6923 * sheap.c (more_static_core): Reformatted printf string so
6924 gcc-3.3.3 will compile this on Cygwin.
6926 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6928 * console.c (function_key_map): Reference `key-binding'.
6930 * keymap.c (Vkey_translation_map): Improve docstring.
6932 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6934 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6935 * window.c (window_loop): [fix] Take into account
6936 `allow-deletion-of-last-visible-frame' variable.
6937 * window.c (replace-buffer-in-windows): Ditto.
6939 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6941 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6943 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6945 * event-gtk.c: Recognise AltGr as a valid modifier.
6947 2005-01-12 Ville Skyttä <scop@xemacs.org>
6949 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6951 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6953 Fix backreference bug caught by test suite.
6955 * regex.c (regex_compile):
6956 Make backref duplicate internal register.
6958 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6960 Documentation, code clarification, and warning suppression.
6962 * regex.c (regex_compile):
6964 (re_match_2_internal):
6965 Improve comments and avoid redundant braces. [Most of the big hunk
6966 at l. 4710 is indentation; use diff -w to see the real changes.]
6967 (alt_match_null_string_p):
6968 (common_op_match_null_string_p):
6969 Avoid shadowing global on Mac OS X 10.4, at least.
6971 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6973 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6974 introduced with shy groups fix). [Already applied, probably
6975 with the second "fix shy groups" patch of 2004-10-07.]
6977 2005-01-10 Steve Youngs <steve@sxemacs.org>
6979 From Andrey Slusar <anrays@gmail.com>:
6981 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6983 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6985 * Makefile (RECURSIVE_MAKE): Removed.
6986 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6987 handling parallel builds.
6989 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6991 * Makefile.in.in: Enable support for parallel builds.
6993 2005-01-09 Steve Youngs <steve@sxemacs.org>
6995 From Andrey Slusar <anrays@gmail.com>:
6997 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6998 FreeBSD version is >= 199701 _and_ < 600006.
7000 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
7002 * scrollbar.c (compute_scrollbar_instance_usage):
7003 Only call device method compute_scrollbar_instance_usage() if it
7006 2004-12-05 Vin Shelton <acs@xemacs.org>
7008 * XEmacs 21.4.16 is released
7010 2004-12-04 Vin Shelton <acs@xemacs.org>
7012 * depend: Regenerated.
7014 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
7016 * regex.c (re_match_2_internal): Map internal to external
7017 registers. Fixes bug identified by Steve Youngs 2004-09-30
7018 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
7020 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7022 * buffer.c (Frecord_buffer): Make sure the argument is buffer
7023 to fix a crash. Also, check the buffer is live and it
7024 really exists in buffer_list. If the buffer is not in the list,
7027 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
7029 Fix shy groups by implementing recording of all groups for
7030 repetition and backtracking. Backport from 21.5.
7032 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
7033 external_to_internal_register, external_to_internal_register_size,
7034 and update comments for re_nsub.
7036 * regex.c (re_opcode_t): Update comments.
7037 (print_compiled_pattern): Ouput external_to_internal_register,
7038 external_to_internal_register_size, and re_ngroups for debugging.
7039 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
7040 (regex_compile): Update header comment.
7041 Ensure that all groups are recorded so that repeat matches and
7042 backtracking work correctly. Comment related warning for groups >
7044 (re_search_2): Construct map of API indexes (which count only
7045 nonshy groups) to internal register numbers, and keep it updated.
7047 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
7049 * frame-gtk.c (gtk_make_frame_visible):
7050 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
7051 show/hide. This is what X uses and is prevents previously hidden
7052 widgets from suddenly reappearing.
7053 * gtk-xemacs.c (gtk_xemacs_paint):
7054 * gtk-xemacs.c (gtk_xemacs_draw):
7055 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
7057 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
7058 size and location changes so that they can be seen before the next
7059 idle event. Without this rapid changes to scrollbar properties
7062 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
7065 * console-gtk.h (struct gtk_frame):
7066 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
7067 Add hash tables track tab_control callback data.
7068 Added #defines for GTK object data names.
7069 Declaration of gtk_widget_to_frame().
7070 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
7071 * frame-gtk.c (gtk_widget_to_frame): New.
7072 * frame-gtk.c (gtk_create_widgets):
7073 * frame-gtk.c (allocate_gtk_frame_struct):
7074 * frame-gtk.c (gtk_mark_frame):
7075 Manage frame callbakc hash tables.
7076 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
7077 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
7078 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
7080 * glyphs-gtk.c (gtk_widget_query_geometry): New
7081 * glyphs-gtk.c (gtk_register_gui_item): New
7082 * glyphs-gtk.c (gtk_add_tab_item): New
7083 * glyphs-gtk.c (gtk_tab_control_callback): New
7084 * glyphs-gtk.c (gtk_tab_control_instantiate): New
7085 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
7086 Use correct list when loading item.
7087 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
7088 Register new methods.
7089 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
7090 default size, for widgets.
7091 * gui-x.c: Improved comment.
7092 * menubar-gtk.c (__generic_button_callback): Use
7093 gtk_widget_to_frame instead of __get_channel.
7095 * ui-gtk.c: Use symbolic names for GTK object data.
7097 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
7099 * s/usg5-4.h (NSIG): Define only inside emacs binary.
7101 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7103 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7105 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7107 * malloc.c (morecore): siz is a long because in some architectures
7108 (eg ia-64) an int cannot hold the address range. Additional patch
7109 from the SuSe distribution.
7111 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7114 * malloc.c: lim_data is a long because in some architectures
7115 (eg ia-64) an int cannot hold the address range.
7116 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7117 instead of ulimit() because ulimit() always returns -1.
7119 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7121 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7123 2004-06-11 David Kastrup <dak@gnu.org>
7125 * search.c (match_limit): Don't flag an error if match-data
7126 exceeding the allocated search_regs.num_regs gets requested, just
7129 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7131 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7132 replace symbolic color entries with the real colors specified in
7133 xpm-color-symbols, before passing the XPM to gtk.
7134 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7135 instead of a GTK specific field, so that it is used in by generic
7138 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7140 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7141 coredump from deref of NULL ptr (ExtData)
7143 2004-04-19 Jerry James <james@xemacs.org>
7145 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7146 VALBITS to compute the location of the sign bit.
7147 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7148 of VALBITS with EMACS_INT_MAX.
7149 * events.c (Fevent_timestamp): Ditto.
7150 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7151 compute the halfway point to timestamp wraparound.
7152 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7153 EMACS_INT_MIN instead of using VALBITS.
7154 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7155 incorrect number with VALBITS.
7156 * fns.c (Frandom): Correct number of integer bits in docstring.
7157 Use INT_VALBITS instead of VALBITS to compute the denominator.
7158 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7159 build random numbers.
7161 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7163 * event-gtk.c (gtk_event_to_emacs_event):
7165 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7166 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7167 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7168 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7169 * menubar-gtk.c (__activate_menu):
7170 * menubar-gtk.c (convert_underscores):
7171 * menubar-gtk.c (remove_underscores):
7172 * menubar-gtk.c (menu_convert):
7173 * menubar-gtk.c (menu_descriptor_to_widget_1):
7174 * menubar-gtk.c (menu_descriptor_to_widget):
7175 * menubar-gtk.c (menu_can_reuse_widget):
7176 * menubar-gtk.c (menu_create_menubar):
7177 * menubar-gtk.c (gtk_popup_menu):
7178 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7179 Added support for Gtk menu bar and menu item mnemonics.
7181 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7183 * sysdll.c: (dll_function): Added support for finding symbols in
7184 Darwin shared libraries as well in Darwin bundles.
7185 * sysdll.c (image_for_address): New
7186 * sysdll.c (my_find_image): New
7187 * sysdll.c (search_linked_libs): New
7189 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7191 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7192 return to GTK requires a different API to marshalling data to use
7194 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7196 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7198 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7200 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7202 * glyphs.c (process_image_string_instantiator):
7203 (Fset_console_type_image_conversion_list):
7204 Stop GCC from warning about shadowing of `exp'.
7206 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7208 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7210 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7212 2004-02-03 Vin Shelton <acs@xemacs.org>
7214 * glyphs.c (image_instance_layout): Remove pointless assertion.
7215 * regex.c (regex_grow_registers): Return type is void.
7217 2004-02-02 Vin Shelton <acs@xemacs.org>
7219 * XEmacs 21.4.15 is released
7221 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7223 * device-x.c (x_error_handler): Don't call stderr_out
7225 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7227 * buffer.c (other-buffer): Clarify documentation of order of
7228 arguments for FSF Emacs.
7230 2003-10-11 Olivier Galibert <galibert@pobox.com>
7232 * window.c (Fdelete_window): Dirty the mirror structure _before_
7233 marking the window deleted.
7235 2003-09-15 Jerry James <james@xemacs.org>
7237 * event-msw.c (debug_mswin_messages): Conditionally compile
7238 messages missing from the Cygwin headers.
7240 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7242 * data.c (eq_with_ebola_notice): Fix typo in comment.
7243 (Ftrue_list_p): Improve docstring.
7245 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7247 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7249 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7251 * search.c (trivial_regexp_p): Regexps containing "\{" are
7252 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7253 Stefan Monnier for suggesting a diagnosis.
7255 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7257 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7259 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7261 * search.c (Fsearch_forward):
7263 Document negative count.
7265 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7267 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7269 2003-09-13 Martin Buchholz <martin@xemacs.org>
7271 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7273 2003-09-15 Vin Shelton <acs@xemacs.org>
7275 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7278 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7280 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7281 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7282 (re_match_2_internal): Use TRANSLATE instead of
7283 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7284 non-ASCII char case conversion.
7286 2003-09-08 Mike Sperber <mike@xemacs.org>
7288 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7289 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7291 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7293 * .gdbinit (pobj): fix printing of symbol name.
7295 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7297 * frame-x.c (x_layout_widgets): When resizing is about to cause
7298 frame size slip, mark it for redisplay.
7300 2003-08-18 Jerry James <james@xemacs.org>
7302 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7304 2003-09-03 Vin Shelton <acs@xemacs.org>
7306 * XEmacs 21.4.14 is released
7308 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7310 * config.h.in (REGEX_MALLOC): Make it configure'able.
7312 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7314 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7316 * sysdll.c (dll_init):
7317 * sysdll.c (dll_open):
7318 * sysdll.c (dll_close):
7319 * sysdll.c (dll_function):
7320 * sysdll.c (dll_variable):
7321 * sysdll.c (dll_error):
7322 Add support for loading bundles using Darwin/MacOSX
7325 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7327 * process.c (start-process-internal): Document coding systems.
7329 2003-07-30 Jerry James <james@xemacs.org>
7331 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7333 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7335 * event-msw.c (mswindows_enqueue_mouse_button_event):
7336 * event-msw.c (mswindows_wnd_proc):
7337 enqueue button event when scrollwheel event isn't handled by
7338 mswindows_handle_mousewheel_event, such as when the scrollbars
7341 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7343 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7345 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7347 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7349 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7351 * regex.c (re_match_2_internal): Fix matching degenerate word
7354 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7356 * XEmacs 21.4.13 is released
7358 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7360 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7361 * lisp.h (<inttypes.h>):
7362 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7365 2003-03-15 Martin Buchholz <martin@xemacs.org>
7367 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7368 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7369 Result: "temacs can only be run in -batch mode."
7370 Fix: Check xemacs executable candidate for directory-ness.
7372 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7374 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7375 they conflict with <sys/types.h>.
7377 2003-02-14 Martin Buchholz <martin@xemacs.org>
7379 * database.c: Berkeley DB wants __STDC__ to be defined.
7381 2003-02-13 Martin Buchholz <martin@xemacs.org>
7383 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7385 2003-02-01 Martin Buchholz <martin@xemacs.org>
7387 * process-unix.c (unix_send_process): Fix C++ compile error.
7389 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7391 * Added .dylib as an acceptable shared library file extension
7392 * to support MacOSX.
7394 2003-02-01 Martin Buchholz <martin@xemacs.org>
7396 * EmacsFrameP.h (EmacsFramePart):
7397 Kludge to allow compiling with Motif1, but linking with Motif2.
7399 2003-01-28 Martin Buchholz <martin@xemacs.org>
7401 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7404 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7406 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7408 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7410 * sysdll.c: Included lisp.h to define needed alloca_array.
7412 2003-02-13 Martin Buchholz <martin@xemacs.org>
7414 Make XEmacs redisplay 10 times faster.
7415 If, that is, you're using a slow X connection and MoveOpaque.
7416 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7417 Use compress_motion = TRUE.
7418 * EmacsFrame.c (emacsFrameClassRec):
7419 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7420 * EmacsManager.c (emacsManagerClassRec):
7421 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7423 2003-01-30 Vin Shelton <acs@xemacs.org>
7425 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7427 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7429 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7430 Patch by Martin Buchholz.
7432 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7434 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7435 Thanks to icc for warning and Martin Buchholz for reporting.
7437 2003-01-29 Vin Shelton <acs@xemacs.org>
7439 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7441 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7442 remember to multiply by the element size.
7444 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7446 * XEmacs 21.4.12 "Portable Code" is released.
7448 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7450 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7451 * s/cygwin.sc: new linker file.
7453 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7455 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7457 * redisplay-x.c (x_output_string): Use X11-specified types.
7458 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7459 * emacs.c (__free_hook): Use typeof with Intel compiler.
7460 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7462 2003-01-08 Andy Piper <andy@xemacs.org>
7464 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7465 reserve size during unexec().
7467 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7469 * process-unix.c (unix_create_process): Don't let outchannel block.
7471 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7473 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7474 Needed for IsBadReadPtr().
7476 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7478 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7480 2002-12-14 Ben Wing <ben@xemacs.org>
7482 * callint.c: Declaration error.
7484 * dumper.c (pdump_load): Warning fix.
7485 * process.c: GCPRO error.
7486 * glyphs.c (unmap_subwindow):
7487 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7488 * event-stream.c (maybe_kbd_translate): Wrong argument to
7489 character_to_event().
7491 * alloc.c (garbage_collect_1):
7493 * emacs.c (debug_can_access_memory):
7494 * emacs.c (fatal_error_signal):
7495 * emacs.c (mswindows_handle_hardware_exceptions):
7498 * emacs.c (assert_failed):
7499 * emacs.c (syms_of_emacs):
7502 * print.c (std_handle_out_va):
7503 * print.c (write_string_to_stdio_stream):
7504 * print.c (write_fmt_string):
7505 * print.c (printing_badness):
7506 * print.c (printing_major_badness):
7507 * print.c (print_internal):
7508 * print.c (debug_print_no_newline):
7509 * print.c (debug_backtrace):
7510 Be more defensive in handling bad values when printing. Add code
7511 from trunk involving inhibit_non_essential_printing_operations.
7512 When going down or in debug_print(), don't do external conversion
7513 and such and try really, really hard when printing to avoid core
7514 dumping. Add force-debugging-signal, debug_break().
7516 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7518 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7519 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7521 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7523 * database.c: Fix open_database. Berkeley DB API has changed in
7524 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7526 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7528 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7530 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7532 * event-Xt.c (Xt_timeout):
7533 (Xt_timeout_callback):
7534 (emacs_Xt_add_timeout):
7535 (emacs_Xt_remove_timeout):
7536 (Xt_timeout_to_emacs_event):
7537 Turn completed_timeouts from a stack into a queue. Fixes
7538 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7540 2002-11-07 Wolfram Gloger <wg@malloc.de>
7542 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7543 * emacs.c (main): Assert that mmap'd allocation is disabled.
7545 2002-10-14 Andy Piper <andy@xemacs.org>
7547 * glyphs-widget.c (layout_query_geometry): add in fiddle
7548 factor. Include border text in width layout calculation.
7549 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7551 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7553 * XEmacs 21.4.10 "Military Intelligence" is released.
7555 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7557 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7558 using the NAS private array SoundFileInfo that no longer exists in
7559 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7560 and earlier. This is broken for some versions between 1.5a and
7563 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7565 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7567 * emacs.c (shut_down_emacs): Improve crash message.
7569 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7571 * file-coding.c (determine_real_coding_system): Check for coding
7572 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7573 shebangs and Python PEP 263.
7575 2002-10-08 Andy Piper <andy@xemacs.org>
7577 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7578 if static sizes haven't been set.
7580 2002-08-30 Mike Alexander <mta@arbortext.com>
7582 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7585 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7587 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7589 2002-09-20 Mike Sperber <mike@xemacs.org>
7591 (This partially gets back my patch from 2002-07-20 without the
7593 * callproc.c (child_setup): Remove Ben's comment noting confusion
7594 over the file descriptors >= 3: close_process_descs() doesn't
7595 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7596 * process-unix.c (unix_create_process): Call
7597 begin_dont_check_for_quit to inhibit unwanted interaction (and
7598 thus breaking of X event synchronicity) in the child.
7600 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7602 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7605 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7607 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7608 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7609 the xemacs process did not exit, but looped infinitely here. This
7612 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7614 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7615 (find_context): Improve comments.
7617 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7618 (re_match_2): An XCHAR_TABLE operation was missing.
7620 Many of the following changes were inspired by Andy Piper's (now
7621 obsolete) patch to make syntax-table text property lookup optional.
7625 * syntax.h (top level): Document semantics of syntax flags.
7626 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7627 * syntax.c, syntax.h (top level): Document syntax cache better in
7630 [Instrument syntax caching (temporary change)]
7632 * syntax.h (enum syntax_cache_statistics_functions, struct
7633 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7634 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7635 * syntax.c (scan_words, Fforward_comment, scan_lists,
7636 Fbackward_prefix_characters):
7637 * font-lock.c (find_context):
7638 Use them to instrument syntax caching.
7639 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7640 syntax_cache_statistics_function_names): New type and variables.
7641 * syntax.c (update_syntax_cache): Update and report statistics.
7643 [Major syntax cache optimizations]
7645 syntax.c (lookup_syntax_properties): Default off.
7647 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7648 * syntax.c (update_syntax_cache):
7649 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7651 [Minor syntax cache optimizations and code clarifications]
7653 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7654 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7655 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7656 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7657 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7658 (Code clarification.)
7660 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7661 scan_lists): Compute code from syncode, use Boolean macros instead
7662 of redundant masking operations. (Code clarification; any decent
7663 compiler can do this optimization.)
7665 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7668 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7669 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7670 use F*_single_property_change instead of F*_extent_change.
7671 Currently F*_single_property_change is _much_ less efficient.
7673 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7674 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7675 syntax_cache.object properly, don't leave Qt or Qnil.
7676 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7677 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7678 tests for Qt or Qnil.
7680 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7682 * redisplay.c (point_in_line_start_cache):
7683 * extents.c (print_extent_1):
7686 * extents.c (Fset_extent_property): Document `syntax-table' property.
7688 * extents.h (Fnext_single_property_change): EXFUN it.
7690 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7692 * search.c (clear_unused_search_regs): New static function.
7696 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7697 Minor clarifications in comments.
7699 * regex.c (re_match_2_internal): Ensure no stale submatches.
7701 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7703 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7705 2002-08-29 Jerry James <james@xemacs.org>
7707 * lisp.h: structrures -> structures.
7709 2002-06-03 Andy Piper <andy@xemacs.org>
7711 * frame.c (frame_conversion_internal): add conversion appropriate
7712 for setting frame dimensions in pixels.
7714 * console.h (struct console_methods): add device-specific widget
7717 * emacs.c (main_1): initialize glyph vars.
7719 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7720 (handle_focus_event_2): new function. Allow focus to
7721 be set to a particular window and widget.
7722 (enqueue_focus_event): new function. Create a
7723 synthetic focus event.
7724 (emacs_Xt_handle_magic_event): call
7725 handle_focus_event_2.
7727 * frame.c (Fset_frame_pixel_height): new function. Allow
7728 pixel-based sizing. Does the right thing on character-oriented
7730 (Fset_frame_pixel_width): ditto.
7731 (Fset_frame_pixel_size): ditto.
7732 (syms_of_frame): declare.
7734 * general-slots.h: add :vertically-justify and
7735 :horizontally-justify.
7737 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7738 (mswindows_widget_border_width): new function.
7739 (mswindows_combo_box_instantiate): set border widths.
7740 (console_type_create_glyphs_mswindows): declare.
7743 (check_valid_justification): allow vertical and horizontal
7745 (widget_border_width): new function. Call device methods.
7746 (widget_instance_border_width): ditto.
7747 (logical_unit_height): new function. Determine the height of a
7748 logical-unit. Logical units are intended to provide grid-like
7749 layout for subcontrols in a layout. If the layout is
7750 :vertically-justify top then subcontrols will be positioned on
7751 logical-unit boundaries, thus allowing adjacent subcontrols to
7753 (widget_logical_unit_height): ditto for widgets.
7754 (redisplay_widget): misc cleanup.
7755 (widget_spacing): new function. Call device specific
7756 methods. Intended to be the default gap between adjacent widgets.
7757 (widget_query_geometry): use new spacing functions to determine
7758 appropriate geometry.
7759 (initialize_widget_image_instance): initialize horizontal and
7760 vertical justification.
7761 (widget_instantiate): use logica-units where appropriate for
7762 sizing large widgets.
7763 (button_query_geometry): use widget_instance_border_width.
7764 (tree_view_query_geometry): ditto.
7765 (tab_control_query_geometry): ditto.
7766 (edit_field_query_geometry): new function.
7767 (layout_update): pick up :justify, :horizontally-justify and
7768 :vertically-justify none of which worked previously. :justify is
7769 used as a fallback for both horizontal and vertical justification.
7770 (layout_query_geometry): use logical units to size appropriately.
7771 (layout_layout): ditto.
7772 (Fwidget_logical_to_character_width): new function. Allow users to
7773 convert from logical units to characters so that frame sizes can
7774 be set appropriately.
7775 (Fwidget_logical_to_character_height): ditto.
7776 (syms_of_glyphs_widget): declare.
7777 (image_instantiator_edit_fields): add edit_field_query_geometry.
7778 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7779 :horizontally-justify.
7780 (specifier_vars_of_glyphs_widget): new function. Declare
7781 Vwidget_border_width which is not yet used.
7783 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7784 (x_widget_border_width): new function.
7785 (x_widget_instantiate): create a sensible name for widgets.
7786 (console_type_create_glyphs_x): declare x_widget_border_width.
7788 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7789 (struct Lisp_Image_Instance): add :vertically-justify and
7790 :horizontally-justify.
7791 (LAYOUT_JUSTIFY_TOP): new.
7792 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7793 (ROUND_UP): new macro. Round argument up to next integral
7796 * redisplay-output.c (redisplay_output_layout): misc formatting.
7798 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7800 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7802 * XEmacs 21.4.9 "Informed Management" is released.
7804 2002-08-19 Andy Piper <andy@xemacs.org>
7806 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7809 * realpath.c (xrealpath): normalize drive spec also so that dir
7810 sep chars are not mixed on cygwin.
7812 2002-08-06 Jerry James <james@xemacs.org>
7814 * window.c (Fsplit_window): Count only half of the divider width
7815 against the left window when splitting horizontally.
7817 2002-06-24 Andy Piper <andy@xemacs.org>
7819 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7820 toolbar was cleared.
7822 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7823 function. Split out from mswindows_output_frame_toolbars.
7824 (mswindows_output_frame_toolbars): move clear pieces to
7825 mswindows_output_frame_toolbars.
7827 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7828 out from gtk_output_frame_toolbars.
7829 (gtk_output_frame_toolbars): move clear pieces to
7830 gtk_clear_frame_toolbars.
7832 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7833 the frame is cleared. How this ever worked before is a mystery.
7834 (x_output_frame_toolbars): Only output toolbars.
7835 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7837 * gutter.c (update_gutter_geometry):
7838 Mark frame layout changed.
7839 (update_frame_gutter_geometry, update_frame_gutters):
7840 Respect frame_layout_changed.
7842 * console.h (struct console_methods): add
7843 clear_frame_toolbars_method.
7845 * redisplay.c (redisplay_frame): call
7846 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7848 * toolbar.h: declare update_frame_toolbars_geometry.
7850 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7851 out from update_frame_toolbars. Call clear_frame_toolbars.
7852 (update_frame_toolbars): only output, do not change geometry.
7854 * redisplay.c: add frame_layout_changed.
7856 * redisplay.h: add frame_layout_changed.
7857 (CLASS_RESET_CHANGED_FLAGS): set it.
7858 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7859 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7860 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7862 * device.h (struct device): add frame_layout_changed.
7863 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7865 * frame.h (struct frame): add frame_layout_changed.
7866 (MARK_FRAME_LAYOUT_CHANGED): new.
7868 2002-06-30 Mike Alexander <mta@arbortext.com>
7870 * event-msw.c (mswindows_need_event): Don't wait for a new message
7871 if the queue is not empty. Suggested by Paul Moore.
7873 2002-06-12 Andy Piper <andy@xemacs.org>
7875 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7876 for printing on accurately.
7878 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7880 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7881 WM_ACTIVATE message. Make sure that the frame is visible if the
7882 window is visible. This seemss to fix the problem where XEmacs
7883 appears to freeze after switching desktops with certain virtual
7885 (debug_output_mswin_message): Added code to output message
7886 parameters for WM_WINDOWPOSCHANGED,
7887 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7889 2002-05-25 Andy Piper <andy@xemacs.org>
7891 * select-x.c (vars_of_select_x): Fix docstring of
7892 x-selection-strict-motif-ownership
7894 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7896 * keymap.c (get_keymap):
7897 Add comment about do_autoload GCPROs own args.
7899 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7901 * bytecode.c (execute_optimized_program): check_opcode ifdef
7902 ERROR_CHECK_BYTE_CODE.
7904 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7906 Thanks to Ben Wing and Michael Sperber.
7908 * eval.c (Fcommand_execute):
7911 (Fmacroexpand_internal):
7912 (function_argcount):
7913 callint.c (Fcall_interactively):
7914 Add comment about do_autoload GCPROs own args.
7916 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7918 * eval.c (Ffuncall): Extra braces to placate GCC.
7920 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7922 * backtrace.h (grow_specpdl):
7924 * EmacsFrame.c (EmacsFrameSetValues):
7925 * eval.c (grow_specpdl):
7926 * ExternalShell.c (hack_event_masks_1):
7927 * glyphs-x.c (convert_EImage_to_XImage):
7928 (x_finalize_image_instance):
7929 * ralloc.c (page_size):
7931 * xgccache.c (gc_cache_hash):
7932 Fix unsigned comparison warnings.
7934 2002-07-29 Jerry James <james@xemacs.org>
7936 * lread.c (locate_file): Any nonnegative return value indicates
7937 success if MODE is nonnegative.
7939 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7941 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7944 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7946 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7948 * dumper.c (pdump_get_indirect_count):
7949 (pdump_scan_by_alignment):
7950 (pdump_dump_root_struct_ptrs):
7951 (pdump_dump_rtables):
7952 (pdump_dump_root_objects):
7954 * nas.c (WaveOpenDataForReading):
7955 * fns.c (print_bit_vector):
7956 * font-lock.c (SINGLE_SYNTAX_STYLE):
7957 * glyphs.c (check_for_ignored_expose):
7958 (find_matching_subwindow):
7960 * imgproc.c (get_histogram):
7961 * redisplay.c (point_in_line_start_cache):
7962 * redisplay-output.c (redisplay_unmap_subwindows):
7963 * symbols.c (defsymbol_massage_name_1):
7964 (defkeyword_massage_name):
7965 (deferror_massage_name_and_message):
7966 * redisplay-x.c (x_output_string):
7967 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7968 * frame.h (struct frame):
7969 * filelock.c (current_lock_owner):
7970 * doprnt.c (emacs_doprnt_1):
7971 * lisp.h (struct Lisp_Bit_Vector):
7975 2002-02-13 Ben Wing <ben@xemacs.org>
7977 * event-stream.c (reset_key_echo):
7978 * event-stream.c (reset_this_command_keys):
7979 * event-stream.c (execute_command_event):
7980 If console is dead as a result of C-x 5 0, then post-command stuff
7981 needs to be careful and do only non-console-specific stuff.
7983 2002-07-01 Mike Sperber <mike@xemacs.org>
7985 * process-unix.c (unix_send_process): Mark coding_outstream as
7986 non-open upon SIGPIPE.
7988 * event-stream.c (Fnext_event): Reorder switch cases to something
7991 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7993 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7994 Don't bogusly reinitialize ascii_character property.
7996 2002-07-08 Mike Sperber <mike@xemacs.org>
7998 * process.c (Fstart_process_internal): Do error checking before we
7999 fork off the child, so the child can't muck with the state of the
8002 2002-07-08 Mike Sperber <mike@xemacs.org>
8004 * ralloc.c (init_ralloc): Allocate properly for pdump.
8006 2002-06-12 Andy Piper <andy@xemacs.org>
8008 * glyphs.c (query_string_geometry): check the string.
8010 * glyphs-widget.c (widget_logical_unit_height): cope with nil
8013 2002-06-17 Jerry James <james@xemacs.org>
8015 * sysdll.c: Remove RTLD_GLOBAL initialization.
8016 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
8018 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
8020 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
8022 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
8024 * sysdep.c (sys_rename): Make sys_rename work for the case where
8025 Windows rename sets errno to EACCES if target file exists.
8027 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
8029 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8030 Fix detection of metric units to work on Win95
8032 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
8034 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
8036 2002-04-25 Andy Piper <andy@xemacs.org>
8038 * redisplay.c (create_text_block): Remove extra comment trailer.
8040 2002-04-24 Andy Piper <andy@xemacs.org>
8042 * redisplay.c (create_text_block): Don't actually add propagation
8043 data if the line ends after we have added a glyph.
8045 2002-04-22 Andy Piper <andy@xemacs.org>
8047 * extents.c (extent_fragment_update): check for glyphs we have
8048 previously displayed.
8049 * extents.c (print_extent_1): warning removal.
8050 * extents.h: change prototype.
8051 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
8052 widths correctly for wide glyphs.
8053 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
8054 * redisplay.c (prop_type): add PROP_GLYPH.
8055 * redisplay.c (struct prop_block): add glyph type
8056 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
8057 to the propagation data.
8058 * redisplay.c (create_text_block): if there is a glyph in the
8059 propagation data use it to salt extent_fragment_update.
8060 * redisplay.c (create_string_text_block): ditto.
8062 2002-04-13 Nix <nix@esperi.demon.co.uk>
8064 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
8065 * redisplay-output.c (compare_runes): Compare them.
8066 * redisplay.c: Update copyright date.
8067 * redisplay.c (pos_data): Add need_baseline_computation field.
8068 * redisplay.c (add_glyph_rune): Update ascent, descent, and
8069 need_baseline_computation; zero yoffset. Set max_pixmap_height
8070 for all pixmaps, not just automatically positioned ones.
8071 * redisplay.c (calculate_yoffset): New, compute yoffset values.
8072 * redisplay.c (calculate_baseline): New, compute textual baseline.
8073 * redisplay.c (add_glyph_rune): Call them.
8074 * redisplay.c (create_text_block): Likewise.
8075 * redisplay.c (create_overlay_glyph_block): Likewise.
8076 * redisplay.c (add_margin_runes): Likewise.
8077 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
8079 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
8080 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
8081 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
8082 * redisplay-msw.c (mswindows_output_string): Likewise.
8083 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
8084 * redisplay-gtk.c (gtk_output_display_block): Likewise.
8085 * redisplay-x.c (x_output_display_block): Likewise.
8087 2002-03-28 Ben Wing <ben@xemacs.org>
8089 * redisplay.c: Fixed bug in redisplay
8090 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
8091 and down of the lines, since they're bigger than the line
8092 size. (It was seen most obviously when there's a horizontal scroll
8093 bar, e.g. do C-h a glyph or something like that.) The problem was
8094 that the glyph-contrib-p setting on glyphs was ignored even if it
8095 was set properly, which it wasn't until now.
8097 2002-04-24 Andy Piper <andy@xemacs.org>
8099 * lisp.h (Dynarr_end): Fix definition.
8101 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8103 * redisplay.c (mark_redisplay): Remove call to
8104 update_frame_window_mirror.
8106 2001-11-15 Andy Piper <andy@xemacs.org>
8108 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8111 2002-02-13 Andy Piper <andy@xemacs.org>
8113 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8114 we did in fact enqueue the XM_MAPFRAME event.
8116 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8118 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8119 to fix problem switching between virtual desktops under virtuawin
8120 virtual window manager.
8122 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8124 * event-msw.c: Typo fix.
8125 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8126 magic XM_MAPFRAME event has been sent.
8128 2001-11-23 Andy Piper <andy@xemacs.org>
8130 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8132 2001-11-21 Andy Piper <andy@xemacs.org>
8134 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8135 mouse events outside the frame.
8137 2002-03-20 Andy Piper <andy@xemacs.org>
8139 * menubar-msw.c (mswindows_popup_menu): warning removal.
8140 * dialog-msw.c (dialog_popped_down): ditto.
8142 2001-12-11 Andy Piper <andy@xemacs.org>
8144 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8145 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8147 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8148 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8149 * menubar-msw.c (mswindows_popup_menu): ditto.
8151 2001-10-29 Andy Piper <andy@xemacs.org>
8153 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8156 2002-01-03 Andy Piper <andy@xemacs.org>
8158 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8162 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8164 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8165 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8166 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8167 Detect and handle case where machine is set up for metric units
8169 2002-04-02 Andy Piper <andy@xemacs.org>
8171 * dired-msw.c (mswindows_get_files):
8172 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8173 completely handled by XEmacs. Suggested by Thomas Vogler
8174 <mail@thomas-vogler.de>.
8176 2001-11-14 Andy Piper <andy@xemacs.org>
8178 * nt.c (REG_ROOT): change registry key to XEmacs.
8180 2002-04-27 Andy Piper <andy@xemacs.org>
8182 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8184 2002-04-26 Andy Piper <andy@xemacs.org>
8186 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8189 2002-03-14 Mike Alexander <mta@arbortext.com>
8191 * event-msw.c (mswindows_unwait_process): New, remove process from
8193 * process-nt.c (nt_finalize_process_data): Call
8194 mswindows_unwait_process
8195 * console-msw.h: Declare mswindows_unwait_process
8197 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8199 * editfns.c (Fdecode_time):
8200 (Fformat_time_string):
8201 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8202 (make_time): Warning elimination (change arg name).
8204 2001-11-24 Andy Piper <andy@xemacs.org>
8206 * window.c (Fsplit_window): Doc return type.
8208 2002-04-01 Andy Piper <andy@xemacs.org>
8210 * emacs.c (Fkill_emacs): Only output message box in interactive
8213 2002-04-26 Andy Piper <andy@xemacs.org>
8215 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8218 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8220 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8223 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8225 * XEmacs 21.4.8 "Honest Recruiter" is released.
8227 2002-05-07 Nix <nix@esperi.demon.co.uk>
8229 Supersedes 2002-04-17 patch.
8231 * process.h (PROCESS_LIVE_P): Use the process status as
8232 evidence of health, not the state of the input stream.
8233 (PROCESS_READABLE_P): Say if the process is readable
8234 from. (It may be dead nonetheless.)
8235 (CHECK_READABLE_PROCESS): Test for that condition.
8237 * process.c (create_process): Use PROCESS_READABLE_P.
8238 (read_process_output, set_process_filter): Likewise.
8240 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8241 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8243 This code is #if 0'd, this is not the time to add new functions:
8245 * process.c (Fprocess_readable_p): Report readability status.
8246 * process.c (Qprocess_readable_p): New, associated symbol...
8247 * process.c (syms_of_process): ... initialize it.
8249 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8251 * XEmacs 21.4.7 "Economic Science" is released.
8253 2002-04-17 Nix <nix@esperi.demon.co.uk>
8255 * process.h (PROCESS_LIVE_P): Use the process status as
8256 evidence of health, not the state of the input stream.
8258 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8260 * sysdep.c (sys_siglist): change "signum" to "signal"
8262 2001-04-21 Martin Buchholz <martin@xemacs.org>
8264 * s/darwin.h: New file.
8265 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8267 2002-04-23 Andreas Jaeger <aj@suse.de>
8269 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8270 which use lib64 for 64-bit libs.
8271 (START_FILES): Likewise.
8273 2002-02-11 Mike Sperber <mike@xemacs.org>
8276 (x_IO_error_handler):
8277 (x_init_device): Temporarily keep device in static variable
8278 `device_being_initialized' so we can recover gracefully from
8279 internal XOpenDevice failure. (XOpenDevice is documented to
8280 return NULL on failure, but sometimes calls the IO error handler
8283 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8285 * dired.c (Ffile_name_all_completions): Change documentation --
8286 remove reference to completion-ignored-extensions.
8287 * dired.c (vars_of_dired): Change documentation for
8288 completion-ignored-extensions -- remove reference to
8289 file-name-all-completions.
8291 2002-03-06 Jerry James <james@xemacs.org>
8293 * emodules.c (emodules_load): Fix multiple loading of same module.
8295 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8296 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8297 RTLD_LAZY to avoid incorrect symbol binding when using nested
8298 shared libraries on Solaris.
8300 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8302 * fileio.c (Ffind_file_name_handler): Improve docstring.
8304 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8306 * fns.c (Fmapconcat): Improve docstring.
8308 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8310 * device-gtk.c: Add prototype for
8311 emacs_gtk_selection_clear_event_handle.
8312 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8313 selection. Setup signal handler for "selection_clear_event"
8314 (emacs_gtk_selection_clear_event_handle).
8316 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8317 other applications owning the clipboard (based on
8318 x_handle_selection_clear).
8320 2001-12-23 William M. Perry <wmperry@gnu.org>
8322 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8324 2002-01-04 Martin Buchholz <martin@xemacs.org>
8326 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8328 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8330 * XEmacs 21.4.6 "Common Lisp" is released.
8332 2001-12-16 Torsten Duwe <duwe@caldera.de>
8334 * search.c (Freplace_match): Add missing sub-expression functionality.
8336 * buffer.c (decode_buffer): Add a check for pointer type to
8337 decode_buffer, before gcc's CSE optimization reorders a
8338 dereference in front of the allow_string test.
8340 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8342 * window.c (window_loop): Fix bug that sometimes prevented
8343 window_loop() from iterating across multiple devices. Also, at
8344 Ben's request, changed infloop-detecting code to abort() instead
8345 of silently terminating window_loop().
8347 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8349 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8350 * editfns.c (make_time): New function.
8351 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8352 * lisp.h (make_time): Prototype and comment it.
8353 * dired.c (wasteful_word_to_lisp): Deprecate.
8354 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8356 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8358 * fileio.c (auto_save_1): Use current coding system, not
8361 2001-11-13 Ben Wing <ben@xemacs.org>
8364 * window.c (window_truncation_on):
8365 * window.c (syms_of_window):
8366 truncate-partial-width-windows should respect the buffer being
8367 displayed, like other redisplay vars.
8369 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8371 * event-stream.c (Fread_key_sequence): save current buffer.
8373 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8375 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8377 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8379 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8381 2001-10-26 Mike Alexander <mta@arbortext.com>
8383 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8385 2001-10-25 Andy Piper <andy@xemacs.org>
8388 * dialog-msw.c (handle_directory_proc): new function.
8389 (handle_directory_dialog_box): new fucntion.
8390 (handle_file_dialog_box): use new directory dialog support.
8391 (mswindows_make_dialog_box_internal): ditto.
8392 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8394 (mswindows_find_frame): make global.
8395 * fileio.c (Fexpand_file_name): build fix.
8396 * general-slots.h: add Qdirectory.
8397 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8399 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8400 cygwin not leaving win32 paths unchanged.
8401 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8402 cygwin runtime to do path conversion.
8403 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8404 (syms_of_win32): add new function.
8405 * window.c (window_loop): build fix.
8407 2001-10-15 Andy Piper <andy@xemacs.org>
8409 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8411 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8413 * XEmacs 21.4.5 "Civil Service" is released.
8415 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8417 * glyphs-x.c: Force buffer-tab highlight update when moving the
8418 buffer, avoiding an ugly black border, used for keyboard focus
8419 indication, on a widget that can never have keyboard focus, the
8422 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8424 * process-unix.c (unix_open_multicast_group): Remove too much
8425 conversion between host and network byte order.
8427 2001-09-10 Nix <nix@esperi.demon.co.uk>
8429 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8430 before replacing them.
8432 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8435 * src/window.c (undedicate_windows): Use it.
8436 * src/window.h: Add prototype.
8438 2001-09-17 Ben Wing <ben@xemacs.org>
8440 * fileio.c (normalize_filename):
8441 * fileio.c (Fexpand_file_name):
8442 Fix various C++ compile errors in Andy's recent code.
8444 * callint.c (Fcall_interactively):
8445 * editfns.c (Ftemp_directory):
8446 * editfns.c (Fuser_full_name):
8447 * emacs.c (argmatch):
8448 * lread.c (locate_file_map_suffixes):
8449 * redisplay-x.c (x_ring_bell):
8450 Fix sign-compare warnings.
8452 2001-09-08 Andy Piper <andy@xemacs.org>
8454 * fileio.c (normalize_filename): copied from nt.c
8455 * (Ffile_name_directory): enable win32 paths under cygwin.
8456 * (Ffile_name_nondirectory): ditto.
8457 * (directory_file_name): ditto.
8458 * (Fexpand_file_name): ditto.
8459 * (Ffile_truename): ditto.
8460 * (Fsubstitute_in_file_name): ditto.
8461 * (Ffile_name_absolute_p): ditto.
8462 * (Ffile_readable_p): ditto.
8464 2001-09-08 Andy Piper <andy@xemacs.org>
8466 * device-msw.c (mswindows_finish_init_device): remove dde
8468 * device-msw.c (mswindows_init_dde): factor out from
8469 mswindows_finish_init_device()
8470 * device-msw.c (init_mswindows_very_early): new function
8471 initialize but don't enable dde.
8472 * emacs.c (main_1): call init_mswindows_very_early.
8474 * event-msw.c (mswindows_dde_callback): only execute when we are
8476 * symsinit.h: declare init_mswindows_very_early.
8478 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8480 [sjt: This has been in 21.5 for months with no complaints.]
8482 * console.h (struct console_methods): Added flags member.
8483 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8484 (CONMETH_IMPL_FLAG):
8485 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8486 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8488 * device.c (window_system_pixelated_geometry): Use the above macros.
8490 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8491 implememntation flag.
8492 * device.h (DEVICE_DISPLAY_P): Use it.
8494 * frame.c (delete_frame_internal): Use the above macro.
8496 * redisplay.c (redisplay_device): Use it.
8497 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8498 (redisplay_frame): Ditto.
8500 * device-msw.c (mswindows_device_implementation_flags): Removed.
8501 (msprinter_device_implementation_flags): Removed.
8502 (console_type_create_device_mswindows): Removed references to
8503 implementation_flags methods, set implementation flags here.
8504 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8506 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8507 (console_type_create_device_gtk): Removed method declaration.
8508 Added commented out statement which semantically matches the
8509 commented out statement in the above removed method.
8511 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8513 The attached patch fixes a few warnings.
8515 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8516 * src/frame-gtk.c: guard against GNOME calls in GTK only
8517 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8518 * src/select-gtk.c: prototype lisp_to_time
8520 2001-06-08 Ben Wing <ben@xemacs.org>
8522 ------ gc-in-window-procedure fixes ------
8525 * alloc.c (struct post_gc_action):
8526 * alloc.c (register_post_gc_action):
8527 * alloc.c (run_post_gc_actions):
8528 * alloc.c (garbage_collect_1):
8529 Create "post-gc actions", to avoid those dreaded "GC during window
8530 procedure" problems.
8533 Abort, clean and simple, when GC in window procedure. We want
8534 to flush these puppies out.
8537 * glyphs-msw.c (finalize_destroy_window):
8538 * glyphs-msw.c (mswindows_finalize_image_instance):
8539 Use a post-gc action when destroying subwindows.
8542 Declare register_post_gc_action().
8545 * scrollbar-msw.c (unshow_that_mofo):
8546 Use a post-gc action when unshowing scrollbar windows, if in gc.
8548 * redisplay.c (mark_redisplay):
8549 Add comment about the utter evilness of what's going down here.
8551 ------ cygwin setitimer fixes ------
8553 * Makefile.in.in (sheap_objs):
8554 * Makefile.in.in (profile_objs):
8555 * Makefile.in.in (objs):
8556 Compile profile.c only when HAVE_SETITIMER.
8558 * nt.c (mswindows_sigset):
8559 * nt.c (mswindows_sighold):
8560 * nt.c (mswindows_sigrelse):
8561 * nt.c (mswindows_sigpause):
8562 * nt.c (mswindows_raise):
8563 * nt.c (close_file_data):
8567 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8570 * profile.c (Fstart_profiling):
8571 * profile.c (Fstop_profiling):
8572 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8573 instead of just plain setitimer().
8576 * signal.c (set_one_shot_timer):
8578 Define qxe_setitimer() as an encapsulation around setitimer() --
8579 call setitimer() directly unless Cygwin or MS Win, in which case
8580 we use our simulated version in win32.c.
8583 * systime.h (struct itimerval):
8584 * systime.h (ITIMER_REAL):
8585 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8586 comment about "qxe" and the policy regarding encapsulation.
8589 * win32.c (setitimer_helper_proc):
8590 * win32.c (setitimer_helper_period):
8591 * win32.c (setitimer_helper):
8592 * win32.c (mswindows_setitimer):
8593 Move setitimer() emulation here, so Cygwin can use it.
8594 Rename a couple of functions and variables to be longer and more
8595 descriptive. In setitimer_helper_proc(), send the signal
8596 using either mswindows_raise() or (on Cygwin) kill(). If for
8597 some reason we are still getting lockups, we'll change the kill()
8598 to directly invoke the signal handlers.
8600 ------ windows shell fixes ------
8604 Comments about how these two files must die.
8606 * callproc.c (init_callproc):
8607 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8608 not just COMSPEC. (more correct and closer to FSF.) Don't
8609 force a value for SHELL into the environment. (Comments added
8610 to explain why not.)
8612 * nt.c (init_user_info):
8613 Don't shove a fabricated SHELL into the environment. See above.
8615 2001-06-01 Ben Wing <ben@xemacs.org>
8617 * Makefile.in.in (ldflags):
8618 eliminate that pesky "defaulting to 00401000" warning.
8622 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8624 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8625 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8627 2001-04-24 Jerry James <james@xemacs.org>
8629 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8632 2001-06-01 Ben Wing <ben@xemacs.org>
8634 * event-msw.c (debug_mswin_messages):
8635 conditionalize the messages that were causing compile errors.
8636 (if only macros could generate #ifdef statements ...)
8638 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8640 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8642 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8644 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8646 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8648 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8649 * process-unix.c (unix_canonicalize_host_name):
8650 sysdep.c (init_system_name):
8651 Use it to conditionally support IPv6 canonicalization.
8653 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8656 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8658 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8660 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8661 attempt is made to scroll when no scroll bar is available.
8663 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8665 * input-method-motif.c (XIM_delete_frame): New callback.
8666 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8667 got deleted from 21.4.3.)
8669 2001-06-01 Ben Wing <ben@xemacs.org>
8671 * nt.c (mswindows_utime):
8672 * nt.c (close_file_data):
8673 fix off-by-one-indirection error.
8675 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8677 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8678 because set_file_times() now takes Lisp_Object path, instead of
8680 * nt.c: Include buffer.h.
8681 * nt.c (convert_from_time_t): New.
8682 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8683 not set mtime correctly.
8684 * nt.h: Declare mswindows_utime().
8685 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8686 path, instead of char*.
8687 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8689 2001-05-30 Ben Wing <ben@xemacs.org>
8693 (Stephen, just take all event-msw.c patches. This includes
8694 the "iconify" fix below.)
8697 * event-msw.c (mswindows_dequeue_dispatch_event):
8698 * event-msw.c (assert):
8699 * event-msw.c (emacs_mswindows_quit_p):
8700 * event-msw.c (debug_mswin_messages):
8701 * event-msw.c (debug_output_mswin_message):
8702 * event-msw.c (vars_of_event_mswindows):
8703 Fix yet more problems with C-g handling.
8704 Implement debug-mswindows-events.
8706 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8708 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8710 2001-05-23 Ben Wing <ben@xemacs.org>
8712 * event-msw.c (winsock_writer):
8713 * event-msw.c (winsock_closer):
8714 prior kludgy code was clobbering the buffer, thinking it was
8715 "unused" space to store an unneeded return value; instead, use
8716 the variable we've already got staring us in the face.
8718 2001-05-17 Andy Piper <andy@xemacs.org>
8720 * sysfile.h: don't assume that file attributes are boolean
8722 2001-05-23 Ben Wing <ben@xemacs.org>
8724 * device-msw.c (msprinter_init_device):
8725 signal an error rather than crash with an unavailable network
8726 printer (from Mike Alexander).
8729 * event-msw.c (struct winsock_stream):
8730 * event-msw.c (winsock_writer):
8731 * event-msw.c (winsock_closer):
8732 * event-msw.c (make_winsock_stream_1):
8733 cleanup headers. fix (hopefully) an error with data corruption
8734 when sending to a network connection.
8736 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8737 to handle the ~user prefix by (a) always assuming we're referencing
8738 ourselves and not even verifying the user -- hence any file with
8739 a tilde as its first char is invalid! (b) if there wasn't a slash
8740 following the filename, the pointer was set *past* the end of
8741 file and we started reading from uninitialized memory. Now we
8742 simply treat these as files, always.
8744 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8746 2001-05-19 Ben Wing <ben@xemacs.org>
8748 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8751 * process-nt.c (vars_of_process_nt):
8752 remove unused mswindows-quote-process-args. rec for 21.4.
8754 2001-05-12 Ben Wing <ben@xemacs.org>
8756 * event-msw.c (mswindows_dde_callback):
8757 * event-msw.c (mswindows_wnd_proc):
8758 eliminate cygwin warnings.
8760 2001-05-06 Ben Wing <ben@xemacs.org>
8764 * device-msw.c (print_dialog_worker):
8765 * device-msw.c (mswindows_handle_print_dialog_box):
8766 * device-msw.c (syms_of_device_mswindows):
8767 * dialog-msw.c (mswindows_make_dialog_box_internal):
8769 implement printing the selection when it's selected.
8771 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8773 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8775 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8777 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8778 EMACS_INT is signed.
8780 2001-04-15 Michael Lausch <mla@1012surf.net>
8782 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8783 gtk_widget_request_size() to give scrollbar >0 width for
8786 2001-05-30 William M. Perry <wmperry@gnu.org>
8788 * event-gtk.c: Check for buttons as modifier keys.
8790 2001-05-25 Craig Lanning <CraigL@Knology.net>
8793 Properly find MinGW's <process.h> inside Cygwin's restructured
8794 include directories. Don't try to include <cygwin/version.h>
8795 since we are dropping support for MinGW in versions of Cygwin
8798 Drop support for MinGW in versions of Cygwin before b21.
8800 Properly find MinGW's <process.h> inside Cygwin's restructured
8801 include directories.
8803 Drop support for MinGW in versions of Cygwin before b21.
8805 Even though a.out.h is no longer detected by configure, allow
8806 MinGW to use it until we figure out how to do the job with Win32.
8808 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8810 * syntax.c (find_start_of_comment):
8811 Fix `unbalanced parentheses' bug when dealing with mixed comment
8812 styles in c++/java/etc. mode
8814 2001-05-29 Mike Alexander <mta@arbortext.com>
8816 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8817 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8819 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8821 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8823 2001-03-31 Mike Sperber <mike@xemacs.org>
8825 * search.c (Freplace_match): Support FSF-style specification of
8826 match subexpression when applied to a buffer.
8828 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8830 * event-stream.c (is_scrollbar_event): add missing semicolon
8832 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8834 * Makefile.in.in: Use TAR macro instead of hardcoding
8835 tar. Allows use of GNU tar instead of system tar
8837 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8839 * event-stream.c (is_scrollbar_event): add missing semicolon
8841 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8843 * XEmacs 21.4.3 "Academic Rigor" is released.
8845 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8847 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8849 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8851 * buffer.c (Vcase_fold_search): Remove obsolete
8852 comment about non ASCII case-fold-search. This
8853 bug has been fixed by case-table changes.
8855 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8857 * event-msw.c: Restore include of events-mod.h.
8859 2001-04-22 zhaoway <zw@debian.org>
8861 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8864 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8866 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8868 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8870 * mule-charset.c (Fmake_charset): Add missing else.
8872 2001-04-23 Ben Wing <ben@xemacs.org>
8874 * event-msw.c (FAKE_MOD_QUIT):
8875 * event-msw.c (mswindows_dequeue_dispatch_event):
8876 * event-msw.c (mswindows_wnd_proc):
8877 * event-msw.c (emacs_mswindows_quit_p):
8878 Get critical quit working.
8880 2001-05-05 Ben Wing <ben@xemacs.org>
8884 * device-msw.c (mswindows_get_default_margin):
8885 * frame-msw.c (mswindows_size_frame_internal):
8886 * frame-msw.c (msprinter_init_frame_1):
8887 * frame-msw.c (vars_of_frame_mswindows):
8888 Change top/bottom margin defaults to 0.5 inches.
8890 2001-05-01 Martin Buchholz <martin@xemacs.org>
8892 Fix link error with gcc 3.0 on Linux.
8893 * terminfo.c (UP): Remove.
8894 * terminfo.c (BC): Remove.
8895 * terminfo.c (PC): Remove.
8896 They weren't used, and in any case, these symbols should be
8897 defined in the *library*.
8899 2001-05-03 Martin Buchholz <martin@xemacs.org>
8901 * s/aix4.h: Fix crash with xlc -O3.
8902 Improve comment explaining how -O3 works.
8904 2001-04-15 Ben Wing <ben@xemacs.org>
8907 * event-stream.c (Fnext_event):
8908 * event-stream.c (is_scrollbar_event):
8909 * event-stream.c (execute_command_event):
8910 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8911 crash' problem. His fix introduces other problems. We filter
8912 out scrollbar events specifically, making them somewhat invisible
8913 to command-building, and not appearing in `this-command-keys'.
8914 More work is still needed (see comments in event-stream.c), but
8915 this fixes all the major problems.
8917 2001-04-20 Ben Wing <ben@xemacs.org>
8919 * .cvsignore: Added stuff for Windows.
8921 2001-04-28 Ben Wing <ben@xemacs.org>
8923 * buffer.c (Ferase_buffer):
8924 * editfns.c (buffer_insert1):
8925 * editfns.c (Finsert_before_markers):
8926 * editfns.c (Finsert_string):
8927 * editfns.c (Finsert_char):
8928 * editfns.c (Fdelete_region):
8929 * editfns.c (Fwiden):
8930 * editfns.c (Fnarrow_to_region):
8931 remove bogus lines setting zmacs_region_stays to 0.
8933 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8935 * process-unix.c (unix_open_network_stream): If connect() fails
8936 invalidate file descriptor after closing it.
8938 2001-03-08 Mike Alexander <mta@arbortext.com>
8940 * event-msw.c (mswindows_need_event_in_modal_loop):
8941 Don't dispatch a message if we didn't get one.
8942 (mswindows_need_event):
8943 Terminate the correct process when one exits instead of the first
8944 one on Vprocess_list and look for process termination when in
8945 mswindows_protect_modal_loop.
8947 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8949 * XEmacs 21.4.1 "Copyleft" is released.
8951 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8953 * input-method-motif.c (XIM_delete_frame): New callback.
8954 (XIM_init_frame): Register it.
8956 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8958 * XEmacs 21.4.0 "Solid Vapor" is released.
8960 2001-04-15 Ben Wing <ben@xemacs.org>
8962 * cmdloop.c (call_command_loop):
8963 Fix braino in bit-rotting code.
8965 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8967 * extents.c (Fset_extent_endpoints): Force creation of extent info
8968 in buffer_or_string.
8970 * extents.c (process_extents_for_insertion_mapper): Correctly
8971 check for open-open zero-length extents.
8973 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8975 * lisp.h: New typedefs Memory_count, Element_count.
8978 Sign-compare warning elimination: several unsigned -> signed.
8979 Based on work by Ben Wing <ben@xemacs.org>.
8981 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8983 * XEmacs 21.2.47 "Zephir" is released.
8985 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8987 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8989 2001-04-03 Mike Sperber <mike@xemacs.org>
8991 * search.c: Revert previous patch due because of release.
8993 2001-03-30 Ben Wing <ben@xemacs.org>
8996 Add missing killpg prototype.
8999 Add a comment about fixing problems when a new entry is added
9002 * frame-msw.c (mswindows_init_frame_1):
9003 Fix compile warnings.
9005 * menubar.c (vars_of_menubar):
9006 Provide `menu-accelerator-support' to indicate that we properly
9007 support %_ in menu specifications, so that package code can
9008 conditionalize on this (and remove %_ from menu specifications
9013 * scrollbar-msw.c (can_scroll):
9015 Fix handling of mouse wheel under Windows to follow standards --
9016 now scrolls window under pointer, not selected window.
9018 2001-03-31 Mike Sperber <mike@xemacs.org>
9020 * search.c (Freplace_match): Support FSF-style specification of
9021 match subexpression when applied to a buffer.
9023 2001-03-15 Martin Buchholz <martin@xemacs.org>
9025 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
9026 function to modify KEYMAP, so map over a copy of the hash table.
9028 2001-03-21 Martin Buchholz <martin@xemacs.org>
9030 * XEmacs 21.2.46 "Urania" is released.
9032 2001-03-20 Dan Holmsand <dan@eyebee.com>
9034 * realpath.c (xrealpath): Make file-truename work with symlinks to
9035 /cygdrive paths on cygwin. Always lowercase drive-letters on
9037 (cygwin_readlink): Don't try to find canonical filename unless
9040 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
9042 * ChangeLog: Log GTK merge.
9048 Revert gratuitous whitespace changes from GTK merge.
9050 * emacs.c: Document end of complex #ifdef @ l. 1495.
9053 2001-03-12 Andy Piper <andy@xemacs.org>
9055 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
9056 have to do likewise.
9058 2001-03-12 Andy Piper <andy@xemacs.org>
9060 * sysdep.c: we only support mingw now.
9062 2001-03-09 Andy Piper <andy@xemacs.org>
9064 * unexcw.c (copy_executable_and_dump_data_section): making approx
9065 overrun a warning only.
9067 2001-03-10 William M. Perry <wmperry@aventail.com>
9069 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
9070 satisfy Stephen's identical-after-cpp plea.
9072 2001-03-02 Ben Wing <ben@xemacs.org>
9075 * cmds.c (Fforward_char):
9079 Augment documentation of the most common motion commands to make
9080 note of the shifted-motion support.
9082 2001-03-02 Ben Wing <ben@xemacs.org>
9084 * nt.c (mswindows_fstat):
9085 * nt.c (mswindows_stat):
9086 * search.c (boyer_moore):
9087 Fix compile warnings under Windows.
9089 * sysdep.c (sys_readdir):
9090 Fix buggy filename-conversion code under Mule.
9092 2001-03-09 William M. Perry <wmperry@aventail.com>
9114 * redisplay-output.c:
9120 The Great GTK Merge.
9127 * emacs-widget-accessors.c:
9141 * native-gtk-toolbar.c:
9152 The Great GTK Merge: new files.
9154 2001-02-26 Ben Wing <ben@xemacs.org>
9156 Reapplied Lstream change.
9158 2001-02-26 Ben Wing <ben@xemacs.org>
9160 Undid the last change, since it is more controversial than I
9161 thought. It should be back in at some point soon.
9163 2001-02-25 Ben Wing <ben@xemacs.org>
9166 * callproc.c (Fold_call_process_internal):
9167 * event-msw.c (ntpipe_slurp_reader):
9168 * event-msw.c (ntpipe_shove_writer):
9169 * event-msw.c (winsock_reader):
9170 * event-msw.c (winsock_writer):
9172 * file-coding.c (detect_eol_type):
9173 * file-coding.c (detect_coding_type):
9174 * file-coding.c (determine_real_coding_system):
9175 * file-coding.c (Fdetect_coding_region):
9176 * file-coding.c (decoding_reader):
9177 * file-coding.c (decoding_writer):
9178 * file-coding.c (mule_decode):
9179 * file-coding.c (Fdecode_coding_region):
9180 * file-coding.c (encoding_reader):
9181 * file-coding.c (encoding_writer):
9182 * file-coding.c (mule_encode):
9183 * file-coding.c (Fencode_coding_region):
9184 * file-coding.c (detect_coding_sjis):
9185 * file-coding.c (decode_coding_sjis):
9186 * file-coding.c (encode_coding_sjis):
9187 * file-coding.c (detect_coding_big5):
9188 * file-coding.c (decode_coding_big5):
9189 * file-coding.c (encode_coding_big5):
9190 * file-coding.c (detect_coding_ucs4):
9191 * file-coding.c (decode_coding_ucs4):
9192 * file-coding.c (encode_coding_ucs4):
9193 * file-coding.c (detect_coding_utf8):
9194 * file-coding.c (decode_coding_utf8):
9195 * file-coding.c (encode_coding_utf8):
9196 * file-coding.c (detect_coding_iso2022):
9197 * file-coding.c (decode_coding_iso2022):
9198 * file-coding.c (encode_coding_iso2022):
9199 * file-coding.c (decode_coding_no_conversion):
9200 * file-coding.c (encode_coding_no_conversion):
9201 * glyphs-x.c (write_lisp_string_to_temp_file):
9202 * gpmevent.c (tty_get_foreign_selection):
9205 * lstream.c (Lstream_flush_out):
9206 * lstream.c (Lstream_adding):
9207 * lstream.c (Lstream_write_1):
9208 * lstream.c (Lstream_write):
9209 * lstream.c (Lstream_raw_read):
9210 * lstream.c (Lstream_read_more):
9211 * lstream.c (Lstream_read):
9212 * lstream.c (Lstream_unread):
9213 * lstream.c (Lstream_fputc):
9214 * lstream.c (stdio_reader):
9215 * lstream.c (stdio_writer):
9216 * lstream.c (filedesc_reader):
9217 * lstream.c (filedesc_writer):
9218 * lstream.c (lisp_string_reader):
9219 * lstream.c (struct fixed_buffer_stream):
9220 * lstream.c (make_fixed_buffer_input_stream):
9221 * lstream.c (make_fixed_buffer_output_stream):
9222 * lstream.c (fixed_buffer_reader):
9223 * lstream.c (fixed_buffer_writer):
9224 * lstream.c (struct resizing_buffer_stream):
9225 * lstream.c (resizing_buffer_writer):
9226 * lstream.c (dynarr_writer):
9227 * lstream.c (lisp_buffer_reader):
9228 * lstream.c (lisp_buffer_writer):
9230 * lstream.h (lstream_implementation):
9231 * lstream.h (struct lstream):
9233 * process-nt.c (nt_send_process):
9234 * process-unix.c (unix_send_process):
9236 Correct Lstream lossage due to mixing of signed and unsigned
9237 quantities. All Lstream uses of size_t and ssize_t are now a
9238 single signed data type Lstream_data_count. This fixes problems
9239 under Windows with sending large quantities of data to a process,
9240 and may well fix other subtle bugs.
9242 2001-02-23 Martin Buchholz <martin@xemacs.org>
9244 * XEmacs 21.2.45 "Thelxepeia" is released.
9246 2001-02-21 Martin Buchholz <martin@xemacs.org>
9248 * lisp-union.h (XSETINT):
9251 Reverse previous change of 2001-02-06.
9253 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9255 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9257 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9258 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9259 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9260 * regex.c (POS_AS_IN_BUFFER): removed
9261 * regex.c (re_search_2):
9262 * regex.c (re_match_2):
9263 Don't use an offset of 1 when calculating buffer positions, since
9264 `BI_BUF_BEGV' does it already.
9266 2001-02-18 Wim Dumon <wim@easics.be>
9268 * insdel.c (prepare_to_modify_buffer): Also check for
9269 supersession when clash-detection is enabled.
9271 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9273 * regex.c (re_match_2_internal):
9274 Convert temp characters from 'const unsigned char' to 're_char'.
9275 Fix crashing bug with extended characters under mule.
9276 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9277 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9278 font-lock, pdump, and new syntax-table code.
9279 * syntax.c (find_start_of_comment):
9280 (find_end_of_comment):
9282 Fix crashing bugs involving moving beyond end of buffer.
9283 * syntax.c (find_start_of_comment):
9284 Fixed logic to allow proper detection of cases where the same
9285 character is used to end both a two-char comment start and a
9286 two-char comment end sequence. Fixes `(forward-comment -1)'.
9287 * syntax.c (find_start_of_comment):
9288 Return position just past last comment-end character for all cases
9289 (previously was only done for two-char comment-end sequences).
9290 * syntax.c (forward-comment):
9291 Take value returned from `find_end_of_comment', rather than
9293 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9294 Properly deal with BUFFERP (syntax_cache.object)
9296 2001-02-17 Martin Buchholz <martin@xemacs.org>
9298 * alloc.c (Fgarbage_collect):
9299 * alloc.c (make_bit_vector_from_byte_vector):
9300 -Wsign-compare-correctness.
9302 2001-02-16 Martin Buchholz <martin@xemacs.org>
9304 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9305 (XSETCHAR): Likewise.
9306 (XSETOBJ): Likewise.
9308 2001-02-15 Martin Buchholz <martin@xemacs.org>
9310 * mule-canna.c (canna-func-delete_previous):
9311 Rename to canna-func-delete-previous.
9313 2001-02-14 Martin Buchholz <martin@xemacs.org>
9315 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9317 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9319 * font-lock.c (find_context): Fix C++ compile errors introduced by
9322 2001-02-13 Martin Buchholz <martin@xemacs.org>
9324 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9325 pragma, but earlier ones barf on the same pragma.
9327 2001-02-06 Mike Sperber <mike@xemacs.org>
9329 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9330 `configure-mule-lisp-directory'.
9332 2001-02-12 Martin Buchholz <martin@xemacs.org>
9334 Make sure dump-id.c is compiled in the same way as other .c's.
9335 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9336 * dump-id.h: Remove.
9337 * emacs.c: Move dump-id.h into dumper.h.
9338 * dumper.h: Move dump-id.h into dumper.h.
9340 Use standard .c.o rule for building dump-id.o.
9341 Remove preprocessor flags from link command.
9342 Add dump-id.o to ${otherobjs} if PDUMP.
9344 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9346 Port FSF 20.7 syntax table improvements.
9350 Fixups for new syntax table stuff.
9351 * dired.c: Include syntax.c.
9352 (Fdirectory_files): Initialize regex_match_object and
9354 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9355 and Fget_char_property.
9357 Use ported FSF 20.7 syntax table improvements.
9362 2001-02-09 Martin Buchholz <martin@xemacs.org>
9364 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9365 Unixware's enum boolean from sys/types.h.
9367 2001-02-10 Martin Buchholz <martin@xemacs.org>
9369 Fix support for building with latest Purify.
9370 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9371 (PURIFY_FLAGS): Likewise.
9373 2001-02-09 Martin Buchholz <martin@xemacs.org>
9375 * fileio.c (lisp_string_set_file_times): New.
9376 * fileio.c (Fcopy_file): Use it.
9378 (copy-file filename non-ascii-filename t t)
9379 ==> No such file or directory, non-ascii-filename
9381 2001-02-10 Martin Buchholz <martin@xemacs.org>
9383 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9384 USHRT_MAX seems clearer than ~0 anyways.
9386 2001-02-09 Martin Buchholz <martin@xemacs.org>
9388 dumper improvements. Inspired by Olivier.
9389 * dumper.c (pdump_max_align): New.
9390 * dumper.c (pdump_add_entry): Use pdump_max_align.
9391 * dumper.c (pdump_get_entry_list): Likewise.
9392 * dumper.c (pdump_scan_by_alignment): Likewise.
9393 Don't iterate through unnecessary alignments.
9394 * dumper.c (pdump_file_get): No need to align result of malloc().
9395 * dumper.c (pdump_mallocadr): Remove.
9396 The result of malloc() is guaranteed to be maximally aligned.
9397 * dumper.c: s/elmt/elt/g;
9398 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9399 * dumper.c (pdump_alert_undump_object): Likewise.
9400 * dumper.c (pdump_align_table):
9401 Don't support alignments > 64.
9402 Store ALIGNOF's, not shift counts, in table.
9404 2001-02-09 Martin Buchholz <martin@xemacs.org>
9406 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9407 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9408 * systime.h: Use HAVE_UTIME.
9409 * sysdep.c (struct utimbuf): Remove.
9410 * sysdep.c (set_file_times): Prefer utime() to utimes().
9411 * config.h.in (HAVE_UTIME): New.
9412 * config.h.in (HAVE_UTIME_H): Remove.
9413 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9415 2001-02-09 Martin Buchholz <martin@xemacs.org>
9417 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9419 2001-02-08 Martin Buchholz <martin@xemacs.org>
9421 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9423 2001-02-08 Martin Buchholz <martin@xemacs.org>
9425 * XEmacs 21.2.44 "Thalia" is released.
9427 2001-02-06 Martin Buchholz <martin@xemacs.org>
9429 Fixes crashes in kill-emacs on some systems.
9430 * process-unix.c (unix_kill_child_process):
9431 It's OK for kill() to fail with ESRCH.
9433 2001-02-07 Martin Buchholz <martin@xemacs.org>
9435 Contortions to make .gdbinit tricks work on most systems.
9436 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9437 * alloc.c (dbg_valmask): Make non-const.
9438 * alloc.c (dbg_typemask): Make non-const.
9439 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9440 * alloc.c (dbg_valbits): Make non-const.
9441 * alloc.c (dbg_gctypebits): Make non-const.
9442 * .gdbinit (decode_object): Make it work with AIX cc.
9444 2001-02-06 Martin Buchholz <martin@xemacs.org>
9446 * elhash.c (make_general_lisp_hash_table):
9447 Use simpler and more efficient calloc to clear entries.
9449 2001-02-07 Martin Buchholz <martin@xemacs.org>
9451 * window.c (window_scroll): Work around an AIX C compiler bug.
9452 Fixes 'scroll-up' does nothing problem with xlC.
9454 2001-02-05 Martin Buchholz <martin@xemacs.org>
9456 * .gdbinit: Remove obsolete comment.
9458 2001-01-31 Mike Alexander <mta@arbortext.com>
9460 * select.c (Fown_selection_internal): Set owned_p for device
9463 2001-02-01 Martin Buchholz <martin@xemacs.org>
9466 "not" cannot be used as a macro name as it is an operator in C++
9467 * config.h.in: Stop #defining `not'.
9468 * chartab.c (check_category_char): not ==> not_p
9469 * chartab.h: Likewise.
9470 * regex.c (re_match_2_internal): Likewise.
9472 2001-02-02 Martin Buchholz <martin@xemacs.org>
9474 * lisp-disunion.h: Fix up comments.
9476 2001-01-31 Martin Buchholz <martin@xemacs.org>
9478 * keymap.c (define_key_check_and_coerce_keysym):
9480 Support mouse-6 and mouse-7 bindings in the obvious way.
9482 2001-02-01 Martin Buchholz <martin@xemacs.org>
9484 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9486 2001-01-30 Martin Buchholz <martin@xemacs.org>
9488 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9489 Previous patch missed DEFVAR_INT_MAGIC.
9490 Make sure future DEFVAR_foo use correct types.
9491 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9492 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9493 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9494 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9495 * (DEFVAR_INT): Likewise.
9496 * redisplay.c (vertical_clip): Should be of type Fixnum.
9497 * redisplay.c (horizontal_clip): Likewise.
9498 * lisp.h (dump_add_opaque_int): New.
9499 (dump_add_opaque_fixnum): New.
9501 2001-01-29 Andy Piper <andy@xemacs.org>
9503 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9504 since they can be eval'ed
9506 2001-01-29 Martin Buchholz <martin@xemacs.org>
9508 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9509 Oops, XEmacs redefines `class'. Use `typename' instead.
9511 2001-01-28 Martin Buchholz <martin@xemacs.org>
9513 * dumper.c: Fix C++ compile errors.
9515 2001-01-29 Martin Buchholz <martin@xemacs.org>
9517 * tparam.c: Use correct prototypes.
9519 2001-01-28 Martin Buchholz <martin@xemacs.org>
9521 * sysproc.h: #include util.h for NetBSD's openpty.
9523 2001-01-27 Martin Buchholz <martin@xemacs.org>
9525 More 64-bit correctness.
9526 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9527 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9529 This finally finishes the 64-bit SGI port.
9530 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9531 * symbols.c: Fix up comments and type casts.
9532 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9533 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9534 * symeval.h (Fixnum): New type.
9535 * symeval.h (symbol_value_type): Fix up comment.
9551 * mule-canna.c: A million DEFVAR_INTs here...
9552 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9565 s/int/Fixnum/g in DEFVAR_INT declarations.
9567 2001-01-26 Martin Buchholz <martin@xemacs.org>
9569 Port pdump to SGI alignment-sensitive environment.
9570 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9571 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9573 Define and use aligned reading and writing macros.
9574 Use buffered stdio instead of posix i/o for faster dumping.
9575 Eliminate kludgy 256 byte space for header.
9576 Read and write from dump file using structs for alignment safety.
9577 * dumper.c (pdump_align_stream): New.
9578 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9579 * dumper.c (PDUMP_READ_ALIGNED): New.
9580 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9581 * dumper.c (pdump_static_Lisp_Object): New struct.
9582 * dumper.c (pdump_static_pointer): New struct.
9583 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9584 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9585 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9586 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9588 * dumper.c (pdump_backtrace):
9589 * dumper.c (pdump_get_indirect_count):
9590 * dumper.c (pdump_register_object):
9591 * dumper.c (pdump_register_struct):
9592 * dumper.c (pdump_reloc_one):
9593 * dumper.c (pdump_scan_by_alignment):
9594 * dumper.c (pdump_dump_from_root_struct_ptrs):
9595 * dumper.c (pdump_dump_opaques):
9596 * dumper.c (pdump_dump_rtables):
9597 * dumper.c (pdump_dump_from_root_objects):
9599 * dumper.c (pdump_load_finish):
9600 Use aligned reading and writing.
9602 * dumper.c (pdump_free): Make static.
9603 * dumper.c (pdump_hFile): Likewise.
9604 * dumper.c (pdump_hMap): Likewise.
9606 2001-01-26 Martin Buchholz <martin@xemacs.org>
9608 * XEmacs 21.2.43 "Terspichore" is released.
9610 2001-01-25 Martin Buchholz <martin@xemacs.org>
9612 Type fiddling for window_config.saved_windows_count
9613 * window.c (struct window_config):
9614 Make saved_windows_count member unsigned.
9615 * window.c (sizeof_window_config_for_n_windows):
9616 Make parameter unsigned.
9617 * window.c (mark_window_config):
9618 * window.c (window_config_equal):
9619 * window.c (free_window_configuration):
9620 * window.c (Fset_window_configuration):
9621 * window.c (count_windows):
9622 * window.c (Fcurrent_window_configuration):
9623 * window.c (reinit_vars_of_window):
9624 Update all callers and users.
9626 2001-01-25 Martin Buchholz <martin@xemacs.org>
9628 Alignment correctness for flexible arrays.
9629 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9630 Make alignment-correct. Add interesting comments.
9631 * alloc.c (size_vector):
9632 * alloc.c (make_vector_internal):
9633 * alloc.c (make_bit_vector_internal):
9634 * alloc.c (sweep_bit_vectors_1):
9635 * fns.c (size_bit_vector):
9636 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9637 * window.c (sizeof_window_config_for_n_windows):
9638 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9640 2001-01-24 Martin Buchholz <martin@xemacs.org>
9642 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9644 2001-01-23 Andy Piper <andy@xemacs.org>
9646 * select.c (Fown_selection_internal): pass owned_p
9648 * select-msw.c (mswindows_own_selection): New Signature.
9650 * console.h (struct console_methods): add owned_p to
9653 * select-x.c (x_own_selection): pass owned_p
9654 (hack_motif_clipboard_selection): use owned_p
9655 (vars_of_select_x): new variable -
9656 x_selection_strict_motif_ownership.
9658 2001-01-23 Martin Buchholz <martin@xemacs.org>
9660 * specifier.h (specifier_data_offset): Remove pointless parens.
9661 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9663 2001-01-24 Martin Buchholz <martin@xemacs.org>
9665 Make Lisp_Object sizeof methods be alignment-correct.
9666 pdump must restore objects to the same alignment as the C compiler
9667 assumes. It really matters on SGIs.
9668 * lstream.c (aligned_sizeof_lstream): New.
9669 (sizeof_lstream): Use aligned_sizeof_lstream.
9670 (Lstream_new): Likewise.
9671 * opaque.c (aligned_sizeof_opaque): New.
9672 (sizeof_opaque): Use aligned_sizeof_opaque.
9673 (make_opaque): Likewise.
9674 * specifier.c (aligned_sizeof_specifier): New.
9675 (sizeof_specifier): Use aligned_sizeof_specifier.
9676 (make_specifier_internal): Likewise.
9678 2001-01-23 Martin Buchholz <martin@xemacs.org>
9680 * lstream.h (struct lstream): Use max_align_t for trailing data.
9681 * specifier.h (struct Lisp_Specifier): Likewise.
9683 2001-01-22 Martin Buchholz <martin@xemacs.org>
9685 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9686 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9687 (CCL_SUSPEND): Likewise.
9688 (CCL_INVALID_CMD): Likewise.
9689 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9690 (ccl_driver): Likewise.
9691 (CCL_WRITE_CHAR): Macro hygiene.
9692 (CCL_WRITE_STRING): Macro hygiene.
9694 2001-01-22 Martin Buchholz <martin@xemacs.org>
9696 Port "portable" dumper to SunOS 4 and HP-UX.
9697 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9698 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9699 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9701 2001-01-22 Martin Buchholz <martin@xemacs.org>
9703 * lisp.h (ALIGNOF): A better definition for C++.
9705 2001-01-20 Martin Buchholz <martin@xemacs.org>
9708 Fix printf warnings: int format, long int arg.
9709 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9710 (PUSH_FAILURE_POINT): Use correct printf formats.
9711 (POP_FAILURE_POINT): Use correct printf formats.
9712 Use do {...} while (0)
9714 2001-01-20 Martin Buchholz <martin@xemacs.org>
9716 * XEmacs 21.2.42 "Poseidon" is released.
9718 2001-01-20 Martin Buchholz <martin@xemacs.org>
9720 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9722 2001-01-19 Martin Buchholz <martin@xemacs.org>
9724 De-kludgify FIXED_TYPE free list frobbing.
9725 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9726 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9727 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9728 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9729 * alloc.c (LRECORD_FREE_P): New.
9730 * alloc.c (MARK_LRECORD_AS_FREE): New.
9731 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9732 * alloc.c (STRUCT_FREE_P): Deleted.
9733 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9734 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9735 * alloc.c (STRING_CHARS_FREE_P): New.
9736 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9737 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9738 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9739 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9740 * alloc.c (resize_string): Use new definitions.
9741 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9742 * alloc.c (verify_string_chars_integrity): Use new definitions.
9743 * alloc.c (compact_string_chars): Use new definitions.
9744 * alloc.c: Update monster comments.
9745 * lrecord.h (lrecord_type): Add some new lrecord types for
9748 2001-01-18 Martin Buchholz <martin@xemacs.org>
9750 Improve alignment hackery.
9751 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9752 (max_align_t): Moved from opaque.h - general purpose.
9753 (ALIGN_PTR): Use size_t, not long.
9754 * opaque.h (max_align_t): Move to lisp.h.
9756 2001-01-18 Norbert Koch <nk@LF.net>
9758 * gui.h: Fix and add prototypes to fix build problems.
9760 2001-01-18 Martin Buchholz <martin@xemacs.org>
9762 temacs is going away, so `dump-temacs' is now a bad name.
9763 * .dbxrc (dump-temacs): Rename to `dmp'.
9764 * .gdbinit (dump-temacs): Rename to `dmp'.
9766 2001-01-17 Andy Piper <andy@xemacs.org>
9768 * glyphs.c (print_image_instance): comment to make martin happy.
9770 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9773 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9775 (mswindows_tab_control_redisplay): warning suppression.
9777 * glyphs-widget.c (widget_update): re-write to cope with updated
9779 (widget_instantiate): use new gui_item functions.
9780 (tab_control_update): deleted.
9781 (progress_gauge_update): deleted.
9782 (image_instantiator_progress_guage): take out update reference.
9783 (image_instantiator_tree_view): ditto.
9784 (image_instantiator_tab_control): ditto.
9786 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9788 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9789 return whether anything was changed.
9790 (update_gui_item_keywords): as it sounds.
9792 * gui.h: declare widget_gui_parse_item_keywords.
9794 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9795 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9797 2001-01-17 Martin Buchholz <martin@xemacs.org>
9799 * XEmacs 21.2.41 "Polyhymnia" is released.
9801 2001-01-16 Didier Verna <didier@xemacs.org>
9803 * glyphs.c (image_instantiate): don't use fallbacks when
9804 instantiating a face's background pixmap by inheritance.
9806 2001-01-14 Mike Sperber <mike@xemacs.org>
9808 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9809 Conditionalize accordingly.
9811 2001-01-16 Martin Buchholz <martin@xemacs.org>
9813 * dumper.c (pdump_file_get): Fix a compiler warning.
9815 2001-01-15 Martin Buchholz <martin@xemacs.org>
9817 Make Purify happy when pdumping.
9818 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9819 iniitalizing all bits of new lisp object memory.
9820 * symbols.c (Fmake_local_variable): Likewise.
9821 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9822 * symbols.c (Fdefvaralias): Likewise.
9823 * mule-charset.c (vars_of_mule_charset): Likewise.
9825 2001-01-15 Martin Buchholz <martin@xemacs.org>
9826 Add the `-nd' flag when running pre-dump operations under the debugger.
9827 * .dbxrc (run-temacs): Add `-nd'.
9828 * .dbxrc (update-elc): Likewise.
9829 * .dbxrc (dump-temacs): Likewise.
9830 * .gdbinit (run-temacs): Likewise.
9831 * .gdbinit (check-temacs): Likewise.
9832 * .gdbinit (update-elc): Likewise.
9833 * .gdbinit (dump-temacs): Likewise.
9835 2001-01-14 Martin Buchholz <martin@xemacs.org>
9837 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9838 export OBJECT_MODE=64
9839 configure --pdump --use-union-type=no
9840 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9841 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9843 * miscplay.c (sndcnv8U_2mono):
9844 Avoid two uses of `++' in the same expression.
9845 Suppresses a GCC warning.
9847 2001-01-13 Martin Buchholz <martin@xemacs.org>
9849 Make sure future compilers don't miscompile alloc.c.
9851 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9852 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9854 2001-01-12 Martin Buchholz <martin@xemacs.org>
9856 * dumper.c: A little post-pdump-rename comment fixup.
9858 2001-01-09 Jerry James <james@eecs.ku.edu>
9860 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9862 2001-01-13 Martin Buchholz <martin@xemacs.org>
9864 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9868 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9871 replace_symbol pdump_wire_lists pdump_weak_object_chains
9872 replace_symbol pdump_wire_list dump_add_weak_object_chain
9874 replace_symbol pdump_wires pdump_root_objects
9875 replace_symbol pdump_wire dump_add_root_object
9877 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9878 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9880 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9881 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9882 replace_symbol dumpstructinfo pdump_root_struct_ptr
9883 replace_symbol dumpstruct dump_add_root_struct_ptr
9885 replace_symbol dumpopaque dump_add_opaque
9886 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9887 replace_symbol dumpopaqueinfos pdump_opaques
9888 replace_symbol dumpopaqueinfo pdump_opaque
9890 replace_symbol nb_structdump nb_root_struct_ptrs
9891 replace_symbol nb_opaquedump nb_opaques
9893 replace_symbol align_table pdump_align_table
9894 replace_symbol dump_header pdump_header
9896 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9897 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9900 2001-01-12 Martin Buchholz <martin@xemacs.org>
9902 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9903 optimizing bytecount_to_charcount().
9905 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9908 (HAVE_DLFCN_H): Removed.
9909 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9911 2001-01-06 Martin Buchholz <martin@xemacs.org>
9913 Portable dumper maintainability improvements.
9914 * alloc.c (staticpro):
9915 * alloc.c (staticpro_nodump):
9916 * alloc.c (garbage_collect_1):
9917 * alloc.c (reinit_alloc_once_early):
9918 * alloc.c (init_alloc_once_early):
9919 * alloc.c: Move dumper functions to alloc.c.
9920 * dumper.c (pdump_backtrace):
9921 * dumper.c (pdump_dump_structs):
9922 * dumper.c (pdump_dump_opaques):
9923 * dumper.c (pdump_dump_rtables):
9924 * dumper.c (pdump_dump_wired):
9926 * dumper.c (pdump_load_check):
9927 * dumper.c (pdump_load_finish):
9928 * dumper.c (pdump_file_unmap):
9929 * dumper.c (pdump_file_get):
9930 * dumper.c (pdump_resource_free):
9931 * dumper.c (pdump_resource_get):
9932 * dumper.c (pdump_file_free):
9933 * dumper.c (pdump_file_try):
9934 * dumper.c (pdump_load):
9935 Remove fixed size limits on staticpro(), staticpro_nodump(),
9936 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9937 Remove custom code for dumping lrecord_implementations_table - use
9939 Remove (most of the) custom code for dumping staticpros - dump it
9940 like any other dynarr.
9942 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9943 * dumper.c: Moved functions from alloc.c.
9944 * alloc.c (dumpstruct): Moved to dumper.c.
9945 * alloc.c (dumpopaque): Likewise.
9946 * alloc.c (pdump_wire): Likewise.
9947 * alloc.c (pdump_wire_list): Likewise.
9949 * lisp.h (Dynarr_sizeof): New.
9950 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9951 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9952 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9954 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9955 * lisp.h (dumpopaque): ditto.
9956 * lisp.h (pdump_wire): ditto.
9957 * lisp.h (pdump_wire_list): ditto.
9959 2001-01-09 Martin Buchholz <martin@xemacs.org>
9961 * make-src-depend (PrintPatternDeps):
9962 Use `sort' to make output independent of perl version.
9964 2001-01-08 Martin Buchholz <martin@xemacs.org>
9967 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9968 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9970 2001-01-03 Didier Verna <didier@xemacs.org>
9972 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9973 that `focus_frame' is alive before thinking of calling
9974 `redisplay_redraw_cursor' on it.
9976 2001-01-08 Martin Buchholz <martin@xemacs.org>
9978 * XEmacs 21.2.40 is released.
9980 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9982 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9984 2001-01-06 Martin Buchholz <martin@xemacs.org>
9986 * alloc.c (dbg_valmask): Make const.
9987 * alloc.c (dbg_typemask): Make const.
9988 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9989 * alloc.c (dbg_valbits): Make const.
9990 * alloc.c (dbg_gctypebits): Make const.
9992 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9994 * redisplay-x.c (x_bevel_area):
9995 redisplay.h (struct rune):
9996 Typo fixes in comments.
9998 2001-01-05 Andy Piper <andy@xemacs.org>
10000 * glyphs-x.c (x_redisplay_widget): use size changed for offset
10003 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
10005 2001-01-05 Martin Buchholz <martin@xemacs.org>
10007 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
10009 * mule-ccl.c (stack_idx_of_map_multiple):
10010 Non const global data must not be initialized!
10011 Found by MIYASHITA Hisashi.
10013 2001-01-02 Andy Piper <andy@xemacs.org>
10015 * frame.c (change_frame_size): make sure frame size is always
10018 * glyphs.c (image_instance_layout): minor code reuse.
10020 * window.c (Fcurrent_window_configuration): revert previous
10023 2001-01-02 Martin Buchholz <martin@xemacs.org>
10026 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
10028 2000-12-31 Andy Piper <andy@xemacs.org>
10030 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
10031 when widget gets unmapped.
10033 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
10034 function. Make sure widgets losing focus don't just drop it.
10035 (handle_focus_event_1): record the widget with focus.
10037 2000-12-31 Andy Piper <andy@xemacs.org>
10039 * window.c (allocate_window): use
10040 make_image_instance_cache_hash_table.
10041 (make_dummy_parent): ditto.
10042 (Fset_window_configuration): ditto.
10044 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
10046 * glyphs.c (process_image_string_instantiator): use
10048 (get_image_instantiator_governing_domain): ditto.
10049 (normalize_image_instantiator): ditto.
10050 (instantiate_image_instantiator): ditto.
10051 (make_image_instance_1): ditto.
10052 (image_instantiate): ditto. Key on glyph *and* instantiator type.
10053 (instantiator_eq_equal): new function for use with instance hash
10055 (instantiator_eq_hash): ditto.
10056 (make_image_instance_cache_hash_table): create a suitable hash
10057 table for storing image instances.
10059 * elhash.h (hash_table_weakness): new internal weakness type
10060 HASH_TABLE_KEY_CAR_VALUE_WEAK.
10061 declare new functions.
10063 * elhash.c (finish_marking_weak_hash_tables): introduce yet
10064 another weakness type for glyphs.
10065 (make_standard_lisp_hash_table): new function split out from
10066 make_general_lisp_hash_table.
10067 (make_lisp_hash_table): call make_standard_lisp_hash_table.
10068 (hash_table_instantiate): ditto.
10069 (Fmake_hash_table): ditto.
10071 2000-12-31 Martin Buchholz <martin@xemacs.org>
10073 * XEmacs 21.2.39 is released.
10075 2000-12-29 Andy Piper <andy@xemacs.org>
10077 * menubar.c (menubar_visible_p_changed): signal the frame changed.
10079 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
10080 the frame has changed so that we pick up geometry changes such as
10081 menubar visibility.
10083 2000-12-28 Andy Piper <andy@xemacs.org>
10085 * lastfile.c (my_ebss): make a char array so we can pad the
10086 bss. Fixes cygwin unexec.
10088 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
10090 2000-12-26 Andy Piper <andy@xemacs.org>
10092 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
10093 comments and try and be more precise about a non-/SIGIO world.
10094 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
10097 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
10098 we don't normalize to zero width or height.
10100 2000-12-24 Andy Piper <andy@xemacs.org>
10102 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10104 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10106 * s/sco5.h: SCO 5 has pty support.
10108 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10110 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10111 input-method-xlib.c contains whole contents of input-method-xfs.c,
10112 so we can use input-method-xlib.c's code for USE_XFONTSET
10114 * input-method-xfs.c: removed.
10116 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10118 * file-coding.h (enum coding_category_type): reorder enumerators to
10119 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10120 (now one greater than largest real coding_category_type enumerator).
10121 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10122 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10123 Fcoding_category_list, Fset_coding_priority_list,
10124 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10125 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10127 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10129 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10130 * redisplay-output.c (redisplay_output_window): Clear top of window
10131 when face is changed.
10132 * redisplay-x.c (x_redraw_exposed_window): Call
10133 redisplay_clear_top_of_window.
10134 * redisplay.h: Publish redisplay_clear_top_of_window.
10136 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10138 * buffer.c (Fkill_buffer): Map over all devices.
10139 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10140 (list_windows): New function.
10141 (list_all_windows): Ditto.
10142 (Freplace_buffer_in_windows): Use them.
10144 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10146 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10147 (Fopen_database): Use `db_create' instead of `db_open'.
10148 (syms_of_database): Initialize Qqueue.
10150 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10152 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10153 buffer_local_face_property.
10154 * buffer.h (struct buffer): New member buffer_local_face_property.
10155 * window.c (Fset_window_buffer): Mark window's face as changed
10156 when buffer has buffer local face.
10157 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10158 * objects.c (color_after_change): Set buffer_local_face_property
10159 when locale of face specifier is buffer.
10160 * objects.c (font_after_change): Ditto.
10161 * objects.c (face_boolean_after_change): Ditto.
10162 * glyphs.c (image_after_change): Ditto.
10164 2000-12-09 Dan Holmsand <dan@eyebee.com>
10166 * nt.c (mswindows_fstat): Report file permissions, volume serial
10167 number, etc. Code adapted from FSF Emacs 20.7.
10169 2000-12-09 Dan Holmsand <dan@eyebee.com>
10171 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10172 of stat when we don't have symbolic links, to make sure
10173 mswindows_stat is called on mswindows.
10175 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10177 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10179 2000-12-12 Martin Buchholz <martin@xemacs.org>
10181 * doprnt.c (emacs_doprnt_1): More printing fixes.
10182 Make printing of numbers compatible with libc and FSF Emacs.
10183 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10184 Use the system printf to do most of the hard work of formatting,
10185 instead of doprnt_1().
10186 Calculate memory to allocate for format string.
10187 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10188 (doprnt_1): Cleaner code and documentation.
10190 2000-12-01 Jerry James <james@eecs.ukans.edu>
10192 * Makefile.in.in: Use the loop variable to install headers.
10194 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10196 * window.c (Fsplit_window): Don't invalidate face cache.
10198 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10200 * minibuf.c (Fall_completions): Undo the previous change
10201 which removed checking elements start with space.
10203 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10205 * mule-canna.c: Didier suppression.
10207 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10209 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10210 (warning suppression). Add English comment translations.
10212 2000-12-05 Martin Buchholz <martin@xemacs.org>
10214 * unexelfsgi.c (unexec): Better test for mmap failure.
10216 2000-12-05 Martin Buchholz <martin@xemacs.org>
10218 * XEmacs 21.2.38 is released.
10220 2000-12-05 Martin Buchholz <martin@xemacs.org>
10222 * redisplay.c (bar-cursor): Make a user variable.
10224 * symsinit.h: Add init_postgresql_from_environment.
10226 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10228 * regex.c: Convert to clean C.
10230 2000-12-05 Dan Holmsand <dan@eyebee.com>
10233 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10235 (sys_readlink): renamed to system_readlink to avoid conflict with
10236 the other sys_readlink.
10238 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10240 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10242 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10244 * postgresql.c (init_postgresql_from_environment): new function.
10245 (vars_of_postgresql): Move code initializing Lisp variables out and
10246 into init_postgresql_from_environment.
10247 emacs.c (main_1): Call init_postgresql_from_environment if and only
10248 if running a dumped XEmacs.
10250 2000-08-31 Dan Holmsand <dan@eyebee.com>
10252 * buffer.c: Make find-file-compare-truenames default to true on
10255 * realpath.c (win32_abs_start):
10257 (win32_readlink): New functions.
10258 (xrealpath): Return really real filenames on windows.
10260 * fileio.c (Ffile_truename): Make file-truename work on windows.
10262 2000-11-29 Didier Verna <didier@xemacs.org>
10264 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10265 * faces.c (update_face_cachel_data): use it.
10266 * faces.c (add_face_cachel): use it. Complete background pixmap
10267 frobbing in face cache if `update_face_cachel_data' has not done so.
10269 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10271 * search.c (string_match_1): Don't set last_thing_searched
10272 when search failed.
10274 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10276 * buffer.c: Include casetab.h
10277 (common_init_complex_vars_of_buffer): Use new case-table object.
10278 * buffer.h: Include casetab.h
10279 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10280 (DOWNCASE_TABLE_OF): Ditto.
10281 * bufslots.h: Remove char-tables and add case-table.
10282 * casetab.c: Include casetab.h
10283 (CASE_TABLE_P): Removed.
10284 (mark_case_table): New function.
10285 (allocate_case_table): New function.
10286 (Fcase_table_p): Use new case-table.
10287 (case_table_char): New function.
10288 (Fget_case_table): Ditto.
10289 (Fput_case_table): Ditto.
10290 (Fput_case_table_pair): Ditto.
10291 (Fcopy_case_table): Ditto.
10292 (Fcurrent_case_table): Return case-table.
10293 (Fstandard_case_table): Return case-table.
10294 (Fset_case_table): Fix doc-string.
10295 (set_case_table): Use case-table
10296 (syms_of_casetab): DEFSUBR new functions.
10297 (complex_vars_of_casetab): Set up standard case-table.
10298 * casetab.h: New file.
10299 * editfns.c: Include casetab.h
10300 (Fcompare_buffer_substrings): Use case-table.
10301 * inline.c: Include casetab.h
10302 * lisp.h: Remove bogus extern.
10303 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10304 * search.c: Include casetab.h
10305 (TRANSLATE_ASCII): Removed.
10306 (TRANSLATE): Unconditionally translate character.
10307 (looking_at_1): Use case-table.
10308 (string_match_1): Ditto.
10309 (fast_string_match): Ditto.
10310 (search_command): Ditto.
10311 (search_buffer): Separate boyer_moore. Check whether
10312 boyer_moore is possible.
10313 (simple_search): New function.
10314 (boyer_moore): Separated from search_buffer. Translate char.
10316 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10318 * regex.c (RE_TR_ASCII): Removed.
10319 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10320 (PATFETCH): Call PATFETCH_RAW.
10321 (PATFETCH_RAW): Fetch Emchar.
10322 (PATUNFETCH): Decrement charptr.
10323 (GET_BUFFER_SPACE): Rename b to buf_end.
10325 (BUF_PUSH_2): Ditto.
10326 (BUF_PUSH_3): Ditto.
10327 (EXTEND_BUFFER): Ditto.
10328 (SET_LIST_BIT): Ditto.
10329 (regex_compile): Ditto. Translate non ASCII char.
10330 (compile_range): Ditto.
10331 (re_search_2): Ditto.
10332 (re_match_2_internal): Compare Emchar.
10333 (bcmp_translate): Ditto.
10335 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10337 * lisp.h (basic char/int typedefs): comment improvement.
10339 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10341 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10342 unstomp inhibit_site_lisp. Improve comments.
10344 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10346 * mule-charset.c (Fcharset_property): improve type checking, comments.
10348 2000-11-28 Andy Piper <andy@xemacs.org>
10350 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10351 clipped display for windows in the gutter also.
10352 (redisplay_display_boxes_in_window_p): change semantics of return
10353 codes to be more intuitive.
10355 * gutter.h: declare display_boxes_in_gutter_p.
10357 * gutter.c (display_boxes_in_gutter_p): new function for
10360 2000-11-22 Andy Piper <andy@xemacs.org>
10362 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10365 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10367 * callproc.c (Fold_call_process_internal):
10368 * gpm.c (Freceive_gpm_event):
10369 (tty_get_foreign_selection): Might be just warning supression.
10370 * fileio.c (Fwrite_region_internal):
10371 (Fset_visited_file_modtime):
10372 * keymap.c (event_matches_key_specifier_p):
10373 Initialize GCPROed variable.
10375 * menubar-x.c (command_builder_find_menu_accelerator):
10376 Initialize before use.
10378 2000-11-23 Andy Piper <andy@xemacs.org>
10380 * unexcw.c (unexec): make the resulting executable executable.
10382 2000-11-21 Martin Buchholz <martin@xemacs.org>
10384 * doc.c (get_doc_string):
10385 Use size_t, not int, for result of XSTRING_LENGTH.
10387 * cmds.c (Fdelete_char):
10388 * cmds.c (Fpoint_at_eol):
10389 * cmds.c (Fself_insert_command):
10390 Use EMACS_INT, not int, for result of XINT.
10391 Someday, someone will want to insert more than 2**31 identical characters.
10393 * cmds.c (Fdelete_char):
10394 * cmds.c (Fdelete_backward_char):
10395 * syntax.c (Fforward_word):
10396 * syntax.c (Fforward_comment):
10397 Make COUNT argument optional, for consistency with forward-char et al.
10399 2000-11-22 Martin Buchholz <martin@xemacs.org>
10402 * print.c (long_to_string):
10403 Return a useful value: the pointer at end of data written.
10406 Use `static const char * const' for constant strings.
10407 (union printf_arg): Delete `i', `ui' members.
10410 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10411 Do all printf-ing via the `l' specifier.
10412 Use EMACS_INT instead of int.
10415 2000-11-20 Didier Verna <didier@xemacs.org>
10417 * faces.c (update_face_cachel_data): don't frob the background
10418 pixmap when the window is being created. The face is needed but
10419 does not exist yet.
10421 2000-11-20 Andy Piper <andy@xemacs.org>
10423 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10424 messing with a debug environment.
10426 2000-11-20 Martin Buchholz <martin@xemacs.org>
10428 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10430 2000-11-20 Martin Buchholz <martin@xemacs.org>
10432 * casetab.c (Fcase_table_p): Fix compile error and crash.
10434 2000-11-18 Philip Aston <philipa@mail.com>
10436 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10438 2000-11-18 Martin Buchholz <martin@xemacs.org>
10440 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10441 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10443 2000-11-17 Martin Buchholz <martin@xemacs.org>
10445 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10446 * unexelf.c: Use HAVE_ELF_H.
10447 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10448 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10449 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10450 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10452 So this is an unexelfsgi.c from a different line of development.
10454 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10456 * regex.c (RE_TR_ASCII): New function.
10457 (RE_TRANSLATE): Call it.
10459 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10461 * buffer.h (TRT_TABLE_OF): Remove assert.
10462 (IN_TRT_TABLE_DOMAIN): Removed.
10464 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10466 * free-hook.c (log_gcpro):
10467 (show_gcprohist): Add support for GCPRO5.
10469 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10471 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10473 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10475 * symeval.h: Declare flush_all_buffer_local_cache.
10477 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10478 (flush_buffer_local_cache): Added.
10479 (flush_all_buffer_local_cache): Added.
10481 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10483 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10484 (pdump_dump_data): Ditto.
10485 (pdump_reloc_one): Ditto.
10486 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10490 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10492 * buffer.c: Remove if 0'ed entry.
10493 * buffer.h: Rewrite TRT to use char-table.
10494 * bufslots.h: Remove mirror tables.
10495 * casetab.c: Remove mirror tables.
10496 (CASE_TABLE_P): New macro.
10497 (Fcase_table_p): Element of a case table is string or char-table.
10498 (make_mirror_trt_table): Removed.
10499 (set_case_table): Setup char-table from strings for backward
10501 * dired.c (Fdirectory_files):
10502 * dired-msw.c: (mswindows_get_files):
10503 * lisp.h: Change prototype of re_pattern_buffer.
10504 * regex.c: (RE_TRANSLATE): New macro.
10505 (TRANSLATE_P): Ditto.
10506 Change translate to type RE_TRANSLATE_TYPE.
10507 * regex.h: Define RE_TRANSLATE_TYPE
10508 * search.c (TRANSLATE): New macro.
10509 (TRANSLATE_ASCII): New macro.
10510 Translate table is changed to Lisp_Object.
10511 (signal_failure): Inhibit return.
10513 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10520 Do UNGCPRO before return.
10522 2000-11-14 Martin Buchholz <martin@xemacs.org>
10524 * XEmacs 21.2.37 is released.
10526 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10528 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10529 Add comments about discarded return value.
10531 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10534 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10536 2000-10-27 Andy Piper <andy@xemacs.org>
10538 * gutter.c (Fset_default_gutter_position): default left and right
10539 gutters to visible.
10540 (calculate_gutter_size): calculate resonable heuristic for left
10541 and right gutter sizes.
10542 (specifier_vars_of_gutter): change left and right gutter sizes to
10544 (calculate_gutter_size_from_display_lines): new function.
10545 (output_gutter): check for resizing on left and right gutters.
10546 (clear_gutter): don't special case top and left gutters.
10547 (specifier_vars_of_gutter): use new signature for
10548 set_specifier_caching.
10550 * glyphs-x.c (x_redisplay_widget): spelling fix.
10551 * glyphs.c (specifier_vars_of_glyphs):
10552 * menubar.c (specifier_vars_of_menubar):
10553 * redisplay.c (specifier_vars_of_redisplay):
10554 * toolbar.c (specifier_vars_of_toolbar):
10555 * window.c (specifier_vars_of_window):
10556 * scrollbar.c (specifier_vars_of_scrollbar):
10557 (complex_vars_of_scrollbar): use new signature for
10558 set_specifier_caching.
10560 * specifier.c (set_specifier_caching): include recompute flag.
10561 (recompute_one_cached_specifier_in_window): always recompute if
10563 (recompute_one_cached_specifier_in_frame): ditto.
10565 * specifier.h (struct specifier_caching): add recompute flag.
10567 2000-10-24 Andy Piper <andy@xemacs.org>
10569 * unexcw.c (copy_executable_and_dump_data_section): add new
10570 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10573 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10575 * console-x.h (x_device): New member modifier_release_time.
10576 * event-Xt.c (x_handle_sticky_modifiers):
10577 Bound interval modifier keys are sticky.
10578 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10579 * events.h: extern it.
10581 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10583 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10585 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10587 * event-stream.c (execute_command_event): Preserve current_events
10588 and the like when event is misc-user-event.
10589 Inhibit quit during the call to maybe_echo_keys.
10591 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10593 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10594 symlink when buffer is killed.
10595 (inhibit_clash_detection): New variable.
10597 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10599 * console.c (Fset_input_method): Trigger redisplay on tty.
10601 2000-11-07 Martin Buchholz <martin@xemacs.org>
10603 * process.c (Fprocess_status): Revert to previous behavior:
10604 (process-status "nosuchprocess") ==> nil
10606 2000-11-06 Martin Buchholz <martin@xemacs.org>
10608 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10609 Work around another GCC 2.95.2 optimizer bug.
10611 2000-11-02 Martin Buchholz <martin@xemacs.org>
10613 * process.c (Fget_process): Use LIST_LOOP_2.
10614 (kill_buffer_processes): Use LIST_LOOP_2.
10616 * minibuf.c (Fall_completions):
10617 Delete old non-functional code for FSF fourth argument.
10619 * frame.c (frame_matches_frame_spec):
10620 Renamed from `frame_matches_frametype'. Update all callers.
10621 (device_matches_device_spec):
10622 Renamed from 'device_matches_console_spec'. Update all callers.
10624 * doc.c (Fsubstitute_command_keys):
10625 Remove buffer overflow crash. Small code cleanups.
10627 * casetab.c (check_case_table): Simpler code.
10629 * window.c (Freplace_buffer_in_windows):
10630 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10631 (and similar implementation) as Fdelete_windows_on.
10632 Update all callers.
10634 * alloc.c (Fmake_list):
10635 * alloc.c (make_vector):
10636 * alloc.c (Fmake_vector):
10637 * alloc.c (make_bit_vector):
10638 * alloc.c (Fmake_bit_vector):
10639 * alloc.c (Fbit_vector):
10640 * alloc.c (Fmake_string):
10641 * alloc.c (Fpurecopy):
10642 * alloc.c (Fmemory_limit):
10644 * buffer.c (Fget_buffer):
10645 * buffer.c (Fkill_buffer):
10646 * buffer.c (complex_vars_of_buffer):
10647 * bytecode.c (Fcompiled_function_stack_depth):
10648 * callint.c (Fprefix_numeric_value):
10650 * event-stream.c (Fread_key_sequence):
10652 * casetab.c (Fcase_table_p):
10653 * casetab.c (check_case_table):
10654 * casetab.c (Fset_case_table):
10655 * casetab.c (Fset_standard_case_table):
10657 * chartab.c (Fchar_table_type):
10658 * chartab.c (Freset_char_table):
10659 * chartab.c (Fget_char_table):
10660 * chartab.c (Fget_range_char_table):
10661 * chartab.c (Fput_char_table):
10662 * chartab.c (Fmap_char_table):
10663 * chartab.c (Fcategory_table_p):
10664 * chartab.c (Fcheck_category_at):
10665 * chartab.c (Fchar_in_category_p):
10666 * chartab.c (Fcategory_table):
10667 * chartab.c (Fcopy_category_table):
10668 * chartab.c (Fset_category_table):
10669 * chartab.c (Fcategory_designator_p):
10670 * chartab.c (Fcategory_table_value_p):
10671 * cmds.c (Fdelete_char):
10672 * cmds.c (Fdelete_backward_char):
10673 * cmds.c (Fself_insert_command):
10674 * cmds.c (Fself_insert_internal):
10675 * console.c (Fvalid_console_type_p):
10676 * console.c (Fcdfw_console):
10677 * console.c (Fconsole_type):
10678 * console.c (Fconsole_name):
10679 * console.c (Fconsole_device_list):
10680 * console.c (Fconsole_on_window_system_p):
10683 * data.c (Fold_eq):
10684 * data.c (Fsubr_interactive):
10685 * data.c (Fchar_to_int):
10686 * data.c (Fint_to_char):
10687 * data.c (Fsetcar):
10688 * data.c (Fsetcdr):
10689 * data.c (Fnumber_to_string):
10690 * data.c (Fstring_to_number):
10692 * database.c (mark_database):
10693 * database.c (finalize_database):
10694 * database.c (Fdatabase_live_p):
10695 * database.c (Fdatabasep):
10696 * device-x.c (Fx_get_resource):
10697 * device.c (Fdfw_device):
10699 * dired.c (Ffile_name_completion):
10700 * dired.c (Ffile_name_all_completions):
10701 * dired.c (Fuser_name_completion):
10702 * dired.c (Fuser_name_completion_1):
10703 * dired.c (Fuser_name_all_completions):
10704 * doc.c (Fdocumentation):
10705 * doc.c (Fdocumentation_property):
10706 * doc.c (Fsubstitute_command_keys):
10708 * editfns.c (Fchar_to_string):
10709 * editfns.c (Fstring_to_char):
10710 * editfns.c (Ftemp_directory):
10711 * editfns.c (Finsert_char):
10712 * editfns.c (Fbuffer_substring_no_properties):
10713 * editfns.c (Fnarrow_to_region):
10714 * editfns.c (Fchar_equal):
10715 * editfns.c (Fchar_Equal):
10716 * editfns.c (Ftranspose_regions):
10717 * emacs.c (Fdump_emacs):
10719 * eval.c (Fcommand_execute):
10720 * eval.c (Fautoload):
10721 * eval.c (Fbacktrace):
10722 * eval.c (Fbacktrace_frame):
10724 * events.c (Fcopy_event):
10725 * events.c (Fcharacter_to_event):
10726 * events.c (Fevent_button):
10727 * events.c (Fevent_process):
10729 * extents.c (Fnext_extent_change):
10730 * extents.c (Fextent_property):
10731 * faces.c (Ffacep):
10732 * faces.c (Fmake_face):
10734 * file-coding.c (Fencode_shift_jis_char):
10735 * file-coding.c (Fencode_big5_char):
10736 * fileio.c (Ffile_name_directory):
10737 * fileio.c (Ffile_name_nondirectory):
10738 * fileio.c (Ffile_name_as_directory):
10739 * fileio.c (Fdirectory_file_name):
10740 * fileio.c (Ffile_truename):
10741 * fileio.c (Fsubstitute_in_file_name):
10742 * fileio.c (Ffile_modes):
10743 * fileio.c (Fset_file_modes):
10744 * fileio.c (Fset_default_file_modes):
10745 * fileio.c (Fverify_visited_file_modtime):
10746 * floatfns.c (Facos):
10747 * floatfns.c (Fasin):
10748 * floatfns.c (Fatan):
10749 * floatfns.c (Fcos):
10750 * floatfns.c (Fsin):
10751 * floatfns.c (Ftan):
10752 * floatfns.c (Fbessel_j0):
10753 * floatfns.c (Fbessel_j1):
10754 * floatfns.c (Fbessel_jn):
10755 * floatfns.c (Fbessel_y0):
10756 * floatfns.c (Fbessel_y1):
10757 * floatfns.c (Fbessel_yn):
10758 * floatfns.c (Ferf):
10759 * floatfns.c (Ferfc):
10760 * floatfns.c (Flog_gamma):
10761 * floatfns.c (Fexp):
10762 * floatfns.c (Fexpt):
10763 * floatfns.c (Flog):
10764 * floatfns.c (Flog10):
10765 * floatfns.c (Fsqrt):
10766 * floatfns.c (Fcube_root):
10767 * floatfns.c (Facosh):
10768 * floatfns.c (Fasinh):
10769 * floatfns.c (Fatanh):
10770 * floatfns.c (Fcosh):
10771 * floatfns.c (Fsinh):
10772 * floatfns.c (Ftanh):
10773 * floatfns.c (Fabs):
10774 * floatfns.c (Ffloat):
10775 * floatfns.c (Flogb):
10776 * floatfns.c (Fceiling):
10777 * floatfns.c (Ffloor):
10778 * floatfns.c (Fround):
10779 * floatfns.c (Ftruncate):
10780 * floatfns.c (Ffceiling):
10781 * floatfns.c (Fffloor):
10782 * floatfns.c (Ffround):
10783 * floatfns.c (Fftruncate):
10784 * fns.c (Fstring_equal):
10785 * fns.c (Fstring_lessp):
10788 * fns.c (vconcat2):
10789 * fns.c (vconcat3):
10790 * fns.c (Fsubstring):
10792 * fns.c (Fold_assoc):
10793 * fns.c (assoc_no_quit):
10795 * fns.c (Fold_assq):
10796 * fns.c (assq_no_quit):
10798 * fns.c (Fold_rassoc):
10800 * fns.c (Fold_rassq):
10801 * fns.c (rassq_no_quit):
10802 * fns.c (Fremassoc):
10803 * fns.c (remassoc_no_quit):
10804 * fns.c (Fremassq):
10805 * fns.c (remassq_no_quit):
10806 * fns.c (Fremrassoc):
10807 * fns.c (Fremrassq):
10808 * fns.c (remrassq_no_quit):
10810 * fns.c (Fplist_get):
10811 * fns.c (Fplist_put):
10812 * fns.c (Fplist_remprop):
10813 * fns.c (Fplist_member):
10814 * fns.c (Flax_plist_get):
10815 * fns.c (Flax_plist_put):
10816 * fns.c (Flax_plist_remprop):
10817 * fns.c (Flax_plist_member):
10819 * fns.c (Fold_equal):
10820 * fns.c (Frequire):
10821 * fns.c (Fbase64_encode_region):
10822 * fns.c (Fbase64_encode_string):
10823 * fns.c (Fbase64_decode_region):
10825 * frame.c (frame_matches_frame_spec):
10826 * frame.c (device_matches_device_spec):
10827 * frame.c (next_frame):
10828 * frame.c (previous_frame):
10829 * frame.c (Fnext_frame):
10830 * frame.c (Fprevious_frame):
10831 * frame.c (Fframe_property):
10832 * frame.c (Fset_frame_height):
10833 * frame.c (Fset_frame_size):
10837 * glyphs.c (decode_error_behavior_flag):
10838 * glyphs.c (Fmake_image_instance):
10839 * indent.c (Findent_to):
10840 * intl.c (Fignore_defer_gettext):
10841 * keymap.c (Fkeymapp):
10842 * keymap.c (Flookup_key):
10844 * lread.c (Fload_internal):
10845 * lread.c (Feval_buffer):
10846 * lread.c (Feval_region):
10847 * macros.c (Fexecute_kbd_macro):
10848 * marker.c (set_marker_internal):
10849 * marker.c (Fset_marker):
10850 * marker.c (set_marker_restricted):
10851 * marker.c (Fcopy_marker):
10852 * marker.c (noseeum_copy_marker):
10854 * menubar.c (Fpopup_menu):
10856 * mule-charset.c (Fcharset_name):
10857 * mule-charset.c (Fchar_charset):
10858 * mule-charset.c (Fchar_octet):
10859 * mule-charset.c (Fsplit_char):
10860 * mule-wnnfns.c (Fwnn_open):
10861 * mule-wnnfns.c (Fwnn_dict_comment):
10862 * mule-wnnfns.c (Fwnn_quit_henkan):
10863 * mule-wnnfns.c (Fwnn_word_toroku):
10864 * mule-wnnfns.c (Fwnn_word_sakujo):
10865 * mule-wnnfns.c (Fwnn_word_use):
10866 * mule-wnnfns.c (Fwnn_hindo_set):
10868 * objects.c (Fmake_color_instance):
10869 * objects.c (Fmake_font_instance):
10870 * print.c (Fwrite_char):
10872 * process.c (mark_process):
10873 * process.c (print_process):
10874 * process.c (get_process_from_usid):
10875 * process.c (Fprocessp):
10876 * process.c (Fprocess_live_p):
10877 * process.c (Fget_process):
10878 * process.c (Fget_buffer_process):
10879 * process.c (get_process):
10880 * process.c (Fprocess_id):
10881 * process.c (Fprocess_name):
10882 * process.c (Fprocess_command):
10883 * process.c (init_process_io_handles):
10884 * process.c (start_process_unwind):
10885 * process.c (Fstart_process_internal):
10886 * process.c (Fopen_multicast_group_internal):
10887 * process.c (Fset_process_window_size):
10888 * process.c (read_process_output):
10889 * process.c (send_process):
10890 * process.c (Fprocess_tty_name):
10891 * process.c (Fset_process_buffer):
10892 * process.c (Fprocess_buffer):
10893 * process.c (Fprocess_mark):
10894 * process.c (set_process_filter):
10895 * process.c (Fset_process_filter):
10896 * process.c (Fprocess_filter):
10897 * process.c (Fprocess_send_region):
10898 * process.c (Fprocess_send_string):
10899 * process.c (exec_sentinel):
10900 * process.c (Fset_process_sentinel):
10901 * process.c (Fprocess_sentinel):
10902 * process.c (status_notify):
10903 * process.c (Fprocess_status):
10904 * process.c (Fprocess_exit_status):
10905 * process.c (process_send_signal):
10906 * process.c (Fprocess_send_eof):
10907 * process.c (deactivate_process):
10908 * process.c (remove_process):
10909 * process.c (Fdelete_process):
10910 * process.c (kill_buffer_processes):
10911 * process.c (Fprocess_kill_without_query):
10912 * process.c (Fprocess_kill_without_query_p):
10914 * rangetab.c (Fget_range_table):
10915 * rangetab.c (Fput_range_table):
10916 * rangetab.c (Fremove_range_table):
10917 * rangetab.c (Fclear_range_table):
10919 * search.c (Fskip_chars_forward):
10920 * search.c (Fskip_chars_backward):
10921 * search.c (Fskip_syntax_forward):
10922 * search.c (Fskip_syntax_backward):
10923 * search.c (search_command):
10924 * search.c (Freplace_match):
10925 * search.c (Fregexp_quote):
10926 * select.c (Fown_selection_internal):
10927 * select.c (Fselection_owner_p):
10928 * select.c (Fselection_exists_p):
10929 * select.c (Fget_selection_internal):
10932 * symbols.c (Fintern):
10933 * symbols.c (Fintern_soft):
10934 * symbols.c (Funintern):
10935 * symbols.c (Fapropos_internal):
10936 * symbols.c (Fset_default):
10938 * syntax.c (Fsyntax_table_p):
10939 * syntax.c (Fcopy_syntax_table):
10940 * syntax.c (Fset_syntax_table):
10941 * syntax.c (Fchar_syntax):
10942 * syntax.c (syntax_match):
10943 * syntax.c (Fmatching_paren):
10944 * syntax.c (Fforward_word):
10945 * syntax.c (scan_lists):
10946 * syntax.c (Fscan_lists):
10947 * syntax.c (Fscan_sexps):
10948 * syntax.c (Fparse_partial_sexp):
10949 * toolbar.c (Fcheck_toolbar_button_syntax):
10952 * window.c (Fwindowp):
10953 * window.c (Fwindow_live_p):
10954 * window.c (Fwindow_point):
10955 * window.c (Fdelete_window):
10956 * window.c (Fnext_window):
10957 * window.c (Fprevious_window):
10958 * window.c (Fother_window):
10959 * window.c (window_loop):
10960 * window.c (Fget_lru_window):
10961 * window.c (Fsplit_window):
10962 * window.c (Fenlarge_window):
10963 * window.c (Fenlarge_window_pixels):
10964 * window.c (Fshrink_window):
10965 * window.c (Fshrink_window_pixels):
10966 * window.c (change_window_height):
10967 * window.c (Fwindow_configuration_p):
10968 * window.c (Fcurrent_window_configuration):
10970 * casefiddle.c (casify_object):
10971 * casefiddle.c (Fupcase):
10972 * casefiddle.c (Fdowncase):
10973 * casefiddle.c (Fcapitalize):
10974 * casefiddle.c (Fupcase_initials):
10975 * casefiddle.c (casify_region_internal):
10976 * casefiddle.c (casify_region):
10977 * casefiddle.c (Fupcase_region):
10978 * casefiddle.c (Fdowncase_region):
10979 * casefiddle.c (Fcapitalize_region):
10980 * casefiddle.c (Fupcase_initials_region):
10981 * casefiddle.c (Fupcase_word):
10982 * casefiddle.c (Fdowncase_word):
10983 * casefiddle.c (Fcapitalize_word):
10984 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10985 Replace 0 with '\0' when working with bytes.
10986 Replace initial "(" with "\(" in docstrings.
10988 2000-11-01 Martin Buchholz <martin@xemacs.org>
10990 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10992 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10994 2000-10-31 Martin Buchholz <martin@xemacs.org>
10996 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10998 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11000 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
11003 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11005 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
11006 (inhibit_auto_save_session): New variable.
11007 (vars_of_fileio): Declare and initialize them.
11008 * fileio.c (Fdo_auto_save): Don't create session file if
11009 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
11011 2000-10-31 Martin Buchholz <martin@xemacs.org>
11013 * sgiplay.c (play_internal): C++ compilability.
11014 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
11015 * callproc.c (Fold_call_process_internal):
11016 Remove unused vars `env', `first'.
11017 * scrollbar.c (update_scrollbar_instance):
11018 #### unused var `current_window'.
11019 * redisplay-tty.c: Put currently unused vars insert_mode_on,
11020 etc. within #ifdef NOT_YET.
11021 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
11022 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
11023 * specifier.c (specifier_instance):
11024 #### unused var `tag'.
11025 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
11027 2000-10-27 Martin Buchholz <martin@xemacs.org>
11029 * fns.c (Fbutlast):
11030 * fns.c (list_sort):
11031 * fns.c (Ffillarray):
11032 * fns.c (bytecode_nconc2):
11035 * fns.c (Fmapconcat):
11036 Be pedantically 64-bit correct. For the time when someone will
11037 want to have a list with length > 2**32.
11039 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11040 Work around MIPSpro compiler bug.
11042 * process-unix.c (unix_kill_child_process): Add snarky comment.
11043 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
11045 * config.h.in: Oops, _getpt ==> _getpty
11047 2000-10-26 Martin Buchholz <martin@xemacs.org>
11051 Use void*, not char*, as return type of alloca().
11053 * alloc.c (free_marker): Side effect inside assert expression!
11055 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
11057 * mule-charset.c (Fset_charset_ccl_program): To check
11058 if the given ccl program is valid, use setup_ccl_program()
11059 instead of CHECK_VECTOR().
11060 (Fmake_charset): Likewise.
11062 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
11064 * faces.c (get_extent_fragment_face_cache_index):
11065 Fix cachel.merged_faces memory leak.
11067 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
11069 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
11070 Reset MSB of octets obtained by DECODE_SJIS
11071 because of the incompatibility with Emacs.
11072 (ccl_driver)<CCL_ENCODE_SJIS>:
11073 Set MSB of octets before passing them to
11074 ENCODE_SJIS because of the incompatibility
11077 2000-10-18 Daiki Ueno <ueno@unixuser.org>
11079 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
11080 (DECLARE_LRECORD): Undo the last change.
11081 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
11083 2000-10-17 Daiki Ueno <ueno@unixuser.org>
11085 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
11086 the implementation to lrecord_implementations_table.
11088 2000-10-14 Daiki Ueno <ueno@unixuser.org>
11090 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
11091 initial value of `lrecord_type_##c_name' and
11092 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
11093 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
11094 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
11095 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
11096 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
11098 2000-10-17 Martin Buchholz <martin@xemacs.org>
11100 * miscplay.c (sndcnv8S_2mono):
11101 (sndcnv2monounsigned):
11102 (sndcnvULaw_2linear):
11104 Remove implementation-defined behavior.
11106 2000-10-12 Martin Buchholz <martin@xemacs.org>
11108 * input-method-xlib.c: Warning suppression.
11110 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11112 * mule-ccl.c: Sync up with Emacs 21.0.90.
11113 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11115 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11117 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11118 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11119 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11120 leading char belongs to official 2-dimensional charset.
11121 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11122 write the given character as is. Otherwise,
11123 if it is a multibyte char, convert it by
11124 non_ascii_set_charptr_emchar, then write it.
11125 (CCL_WRITE_STRING): Likewise.
11126 (ccl_get_compiled_code): New function.
11127 (setup_ccl_program): When ccl_prog is invalid,
11129 (Fregister_code_conversion_map): New function.
11130 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11132 * mule-ccl.h: Sync up with Emacs 21.0.90.
11133 (Fregister_ccl_program): export it.
11135 * redisplay-msw.c (separate_textual_runs):
11136 If ccl program is not valid, don't do ccl conversion.
11138 * redisplay-x.c (separate_textual_runs): Ditto.
11140 * file-coding.c (Fmake_coding_system):
11141 When type is ccl and value is vector, register it
11142 with a proper symbol. And checks whether the
11143 given ccl program is valid.
11144 (mule_decode): When calling ccl_driver, if src indicates
11145 NULL pointer, set an empty string instead.
11146 (mule_encode): Likewise.
11148 2000-10-11 Martin Buchholz <martin@xemacs.org>
11150 The following large batch of changes gets us back to a state of
11151 C++ compilability. Extbyte is now a char, which means that
11152 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11154 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11156 * sound.c (Fplay_sound): Type correctness.
11158 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11159 (x_get_window_property): Type correctness.
11160 (receive_incremental_selection): unsigned char ==> Extbyte
11161 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11162 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11163 (Fx_store_cutbuffer_internal): Type correctness.
11165 * process-unix.c (try_to_initialize_subtty): Type correctness.
11167 * objects-x.c (x_print_color_instance): Type correctness.
11168 (x_print_font_instance): Type correctness.
11169 (x_list_fonts): SExtbyte ==> Extbyte.
11170 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11171 (x_find_charset_font): SExtbyte ==> Extbyte.
11172 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11173 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11174 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11175 Use bufbyte_strcmp.
11177 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11178 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11179 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11180 (BYTE_C0_P): Use bit ops for char-signedness safety.
11181 (BYTE_C1_P): Use bit ops for char-signedness safety.
11182 (CHARSET_BY_LEADING_BYTE):
11183 (CHARSET_BY_ATTRIBUTES):
11184 Always use inline function.
11185 Use type_checking_assert.
11188 * mule-charset.c (non_ascii_charptr_copy_char):
11189 Modify to work with both ASCII and non-ASCII characters.
11190 Improve docs and variable names.
11191 Replace over-clever fall-through switch with a simple loop.
11192 (Lstream_get_emchar_1):
11193 Replace over-clever fall-through switch with a simple loop.
11195 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11196 Warning suppression.
11198 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11199 the return value of Lstream_getc, which could be EOF as well.
11201 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11203 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11204 APIs can be used on Extbytes without casts. Risky!
11205 (SExtbyte): Remove.
11206 (UExtbyte): Remove.
11208 * input-method-xlib.c (XIM_init_device):
11209 Use Xlib.h instead of IntrinsicP.h.
11210 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11211 which will break in X11R7.
11212 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11213 to call XRegisterIMInstantiateCallback with correct types.
11215 * gui-x.c (button_item_to_widget_value): Type correctness.
11217 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11219 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11220 (xbm_instantiate_1): Type correctness.
11221 (BUILD_GLYPH_INST): Type correctness.
11223 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11226 (decode_coding_sjis):
11227 (decode_coding_big5):
11228 (decode_coding_ucs4):
11229 (decode_coding_utf8):
11230 (decode_coding_iso2022):
11231 (decode_coding_no_conversion):
11232 Make all decoding functions take an Extbyte * arg.
11233 (encode_coding_sjis):
11234 (encode_coding_big5):
11235 (encode_coding_ucs4):
11236 (encode_coding_utf8):
11237 (encode_coding_iso2022):
11238 (encode_coding_no_conversion):
11239 Make all encoding functions take a Bufbyte * arg.
11240 Use size_t instead of unsigned int for memory sizes.
11241 Only cast to unsigned char whenever dereferencing Extbyte *.
11243 * doc.c (unparesseuxify_doc_string): Type correctness.
11245 * console-x.c (split_up_display_spec):
11246 Rewrite without using details of internal string representation.
11247 (x_semi_canonicalize_device_connection): Type correctness.
11250 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11251 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11252 (HAVE_XFREE386): Removed.
11254 * buffer.h (DEC_CHARPTR): `const' correctness.
11255 (bufbyte_strcmp): New.
11256 (bufbyte_memcmp): New.
11258 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11260 * buffer.h (XCHAR_OR_CHAR_INT):
11261 Always use inline function.
11262 Remove redundant type checking assert() - XINT will abort quite nicely.
11264 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11266 * search.c (Freplace_match): Set newtext to an empty string.
11268 2000-10-10 Martin Buchholz <martin@xemacs.org>
11270 * s/decosf1-3.h: Remove #include of stropts.h
11271 * s/ptx.h: Remove #include of stropts.h
11272 * s/usg5-4.h: Remove #include of stropts.h
11275 Use stropts.h, not sys/stropts.h.
11276 Use strtio.h, not sys/strtio.h.
11278 2000-10-04 Martin Buchholz <martin@xemacs.org>
11280 * XEmacs 21.2.36 is released.
11282 2000-09-21 Andy Piper <andy@xemacs.org>
11284 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11285 changes still involve copying the widget tree.
11286 (update_widget_face): make sure a change is register in the widget
11287 tree. Call update_tab_widget_face appropriately.
11288 (update_tab_widget_face): ditto.
11289 (x_tab_control_redisplay): make sure non-structural changes still
11290 involve copying the widget tree.
11292 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11294 * lread.c (locate_file): Check the path element is non-nil.
11296 2000-10-02 Martin Buchholz <martin@xemacs.org>
11298 * lisp.h: Warning suppression for SCO compilers.
11300 * redisplay-tty.c (reset_tty_modes): Fix crash.
11301 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11303 2000-09-27 Martin Buchholz <martin@xemacs.org>
11305 Big signal/process handling overhaul. Bugs fixed:
11306 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11307 M-x comint-kill-subjob should work for both values nil and t of
11308 process-connection-type. It was broken on most platforms.
11309 Testing on Irix and Cygwin still needed. Other plaforms tested.
11310 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11311 * process-unix.c: Signal/Process handling overhaul.
11312 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11313 (allocate_pty): Use all available modern methods of allocating
11314 ptys, falling back to old style BSD allocation as a last resort.
11315 Use allegedly more secure Unix98 pty allocation by default.
11316 (allocate_pty_the_old_fashioned_way): New. the last resort.
11317 (unix_create_process): Push ptem, ldterm, ttcompat where
11318 available. Autoconfiscate.
11319 (try_to_initialize_subtty): New.
11320 (unix_kill_child_process): Proper signal handling for ptys on most
11321 platforms, using special knowledge of AIX, BSD, etc...
11322 (unix_create_process): Always disconnect_controlling_terminal() for
11323 subprocesses, whether using ptys or not.
11324 * process.h: Remove old getpt-dependent PTY code.
11325 * process.c (Fprocess_send_signal): New, obvious generic function.
11326 (decode_signal): New.
11327 (Finterrupt_process):
11331 (Fcontinue_process):
11332 (Fsignal_process): Use decode_signal.
11333 (process_send_signal):
11334 Many docstring corrections.
11335 Allow any signal to be sent to a process object.
11336 * config.h.in: Add symbols for big signal/process overhaul.
11337 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11338 * sysproc.h: Include process-related headers, where available:
11339 sys/stropts.h sys/strtio.h pty.h libutil.h
11347 Remove old S&M pty stuff.
11348 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11349 * systty.h: Simplify cpp hackery, improve comments.
11350 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11352 * editfns.c (Fformat_time_string):
11353 Be a little more paranoid with the return value of ctime.
11355 * fileio.c (check_executable):
11357 Use symbolic constants X_OK, W_OK.
11359 * console-x.c (split_up_display_spec): Fix a warning.
11361 2000-10-02 Martin Buchholz <martin@xemacs.org>
11363 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11364 * ntproc.c (sys_spawnve): make_string ==> build_string
11365 Small clarity improvements.
11367 2000-09-30 Martin Buchholz <martin@xemacs.org>
11369 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11371 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11373 * config.h.in (HAVE_STRCASECMP): Remove.
11375 2000-09-29 Martin Buchholz <martin@xemacs.org>
11377 * redisplay-output.c (redisplay_output_pixmap):
11378 Cleaner and possibly more 64-bit correct code.
11380 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11382 * dumper.c (pdump_load_finish): move restoration of
11383 `noninteractive1' to emacs.c (main_1).
11384 * emacs.c (main_1): protect LISP-visible command-line flags
11387 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11389 * Makefile.in.in (versionclean): Use EXE_TARGET and
11390 DUMP_TARGET instead of literal program names.
11392 2000-09-20 Martin Buchholz <martin@xemacs.org>
11394 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11396 2000-09-19 Martin Buchholz <martin@xemacs.org>
11398 * *: Spelling mega-patch
11400 2000-09-19 Martin Buchholz <martin@xemacs.org>
11402 * fns.c (bad_bad_turtle):
11403 Delete "Eek!" comment, since we fixed the bug to which it refers.
11405 2000-09-16 Martin Buchholz <martin@xemacs.org>
11407 * alloca.c: Replace REGISTER with register.
11409 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11411 * file-coding.c (ucs_to_char): Use countof.
11413 2000-09-16 Martin Buchholz <martin@xemacs.org>
11415 * file-coding.c: (ucs_to_char):
11416 (complex_vars_of_file_coding):
11417 Use countof instead of sizeof.
11418 Use CHECK_NATNUM instead of CHECK_INT.
11420 * sysdep.c (strcasecmp): Remove.
11421 * device-x.c (ascii_strcasecmp): New.
11422 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11423 Avoid using non-standard non-portable strcasecmp.
11425 2000-09-16 Martin Buchholz <martin@xemacs.org>
11427 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11428 * font-lock.c: remove reference to emacsfns.h.
11429 * search.c: small doc improvement.
11430 * event-Xt.c: correct file names in comments.
11431 * console-x.h Correct file names in comments.
11432 * frame.c: Correct file names in comments.
11433 * event-stream.c: remove Energize from comments.
11435 2000-09-15 Martin Buchholz <martin@xemacs.org>
11437 * symeval.h (DEFERROR_STANDARD):
11440 (DEFSYMBOL_NO_DUMP):
11441 (DEFSYMBOL_MULTIWORD_PREDICATE):
11442 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11444 The construct &##name is not sensible C.
11445 Fixes compilation errors with Unixware native compiler.
11447 2000-09-14 Martin Buchholz <martin@xemacs.org>
11449 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11450 (next_frame_internal): Removed. We now just have next_frame.
11452 Write a simpler and cleaner one-pass algorithm.
11453 Remove called_from_delete_device arg and #ifdefed-out code.
11455 Renamed from prev_frame. Update callers.
11456 Cleaned up to have an analogous implementation to next_frame.
11457 (other_visible_frames_internal): Remove the
11458 called_from_delete_device bogus arg, and hence, remove this
11459 function. Just use other_visible_frames().
11461 * window.c (Fnext_window):
11462 Prettify docstring.
11463 Since next_frame() is guaranteed to return a frame, remove check
11464 for nil inserted in previous patch.
11465 (Fprevious_window):
11466 Prettify docstring.
11467 Make code look more like Fnext_window.
11469 Respect the `console' arg when iterating through windows.
11470 Fixes bug: (get-buffer-window buffer t device) not respecting
11472 This function needs more work, as others have pointed out.
11474 * frame.h: Rename prev_frame to previous_frame.
11475 device_matches_console_spec no longer takes a `frame' arg.
11480 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11481 From "Golubev I. N." <gin@mo.msk.ru>.
11483 * make-src-depend: Fix typo.
11485 2000-09-13 Martin Buchholz <martin@xemacs.org>
11487 * window.c (Fnext_window):
11488 next_frame() might return nil, not a frame.
11490 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11492 * frame.c (next_frame_internal):
11493 We've passed a frame if we've passed its device.
11495 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11496 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11498 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11500 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11501 Allow option to suppress accelerators in menu/dialog items.
11502 (populate_or_checksum_helper): Pass dialog title through above.
11504 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11506 * event-msw.c (mswindows_key_to_emacs_keysym):
11507 Add "pause" key, fix "menu" key.
11509 2000-09-09 Martin Buchholz <martin@xemacs.org>
11511 * eval.c (reinit_vars_of_eval):
11512 Increase max_lisp_eval_depth to 1000,
11513 required for thai-xtis.el to byte-compile under some circumstances.
11515 2000-09-04 Martin Buchholz <martin@xemacs.org>
11517 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11518 From Kenichi Handa.
11520 2000-09-01 Martin Buchholz <martin@xemacs.org>
11522 * make-src-depend: Make the generated Makefiles smaller.
11524 * s/hpux.h (SETUP_SLAVE_PTY):
11525 Provide a %d in the format string for the errno argument.
11527 * editfns.c (Ftemp_directory):
11529 Avoid buffer overrun on very long file name.
11531 * input-method-xlib.c (XIM_init_device):
11532 6th parameter of XRegisterIMInstantiateCallback has different
11533 pointer types on different OSes, so simply cast to (void *).
11535 * unexhp9k800.c: Warning fixes. Fiddly changes.
11537 * sysdll.c (dll_open):
11538 shl_load will hang hard if passed a NULL filename.
11539 Simply return NULL for compatibility with dlopen.
11540 * sysdll.c: Conform to XEmacs coding standards.
11542 * sysdep.c (get_pty_max_bytes):
11543 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11545 2000-08-31 Martin Buchholz <martin@xemacs.org>
11547 * tooltalk.c: Add #include <syssignal.h>
11549 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11551 * s/hpux.h: Don't use undefined function sigunblock().
11553 2000-08-31 Martin Buchholz <martin@xemacs.org>
11555 * config.h.in: Add HAVE_BALLOON_HELP.
11556 * emacs.c: Use HAVE_BALLOON_HELP.
11557 * Makefile.in.in (x_objs):
11558 Make Balloon Help conditional on finding shape.h.
11560 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11562 * syntax.c (regex_emacs_buffer_p): New variable.
11563 * syntax.h (regex_emacs_buffer_p): extern.
11564 * search.c (looking_at_1):
11566 (fast_string_match):
11567 (search_buffer): Set regex_emacs_buffer_p.
11568 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11569 when before_dot, at_dot, after_dot.
11571 2000-08-23 Andy Piper <andy@xemacs.org>
11573 * gui-x.c (popup_selection_callback): Only set action_occurred
11574 when we really have an image instance.
11575 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11577 2000-08-23 Andy Piper <andy@xemacs.org>
11579 * gui-msw.c (mswindows_handle_gui_wm_command): set
11581 * gui-x.c (popup_selection_callback): ditto.
11583 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11584 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11585 (struct Lisp_Image_Instance): add action_occurred flag.
11587 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11588 (image_instance_changed): ditto.
11589 (reset_frame_subwindow_instance_cache): only unmap windows - do
11590 not remove them from the cache also.
11592 * glyphs-widget.c (tab_control_update): better debug.
11593 (progress_gauge_update): ditto.
11594 (layout_update): ditto.
11595 (layout_instantiate): ditto.
11596 (tab_control_order_only_changed): cope with null pending items.
11598 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11599 debug. Force selection of an item when an action occurred. Cope
11600 with null pending_items.
11601 (mswindows_progress_gauge_redisplay): better debug.
11602 * glyphs-x.c (x_tab_control_redisplay): ditto.
11604 * redisplay.c (redisplay_frame): reset the frame cache if the
11607 * window.c (Fset_window_configuration): potentially re-enable
11609 (window_unmap_subwindows): need to finalize instances here since
11610 it is only used in mark_window_as_deleted.
11612 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11614 * nas.c (SndOpenDataForReading):
11615 nas.c (WaveOpenDataForReading):
11616 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11617 Somehow escaped from the 2000-08-14 patch.
11619 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11621 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11622 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11624 2000-08-21 Andy Piper <andy@xemacs.org>
11626 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11627 window if it is not already displayed.
11629 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11630 it is not already displayed.
11632 * window.c (Fset_window_configuration): don't reset the frame
11635 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11636 instances from the frame cache if we are actually finalizing them.
11637 (reset_frame_subwindow_instance_cache): reset frame cache only
11638 after unmapping everything.
11639 (map_subwindow): set displayed flag after mapping.
11641 2000-08-21 Martin Buchholz <martin@xemacs.org>
11643 * data.c (indirect_function):
11644 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11646 * eval.c (function_argcount):
11647 Use original function when signaling errors.
11649 2000-08-18 Andy Piper <andy@xemacs.org>
11651 * frame.c (delete_frame_internal): use new
11652 free_frame_subwindow_instances name.
11654 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11655 (add_tab_item): make return type correct.
11656 (mswindows_tab_control_instantiate): assert index of tab.
11657 (mswindows_tab_control_redisplay): Re-code to use
11658 gui_item_equal_sans_selected and gui_item_list_find_selected.
11660 * glyphs-widget.c (tab_control_update): Correct comment.
11662 * window.c (window_unmap_subwindows): use new
11663 unmap_subwindow_instance_cache_mapper.
11664 (window_unmap_subwindows_cache_mapper): deleted.
11665 (Fset_window_configuration): comparisons should now be with
11666 EQ. Preserve the subwindow instance cache across configuration
11668 (allocate_window): ditto.
11669 (make_dummy_parent): ditto.
11671 * glyphs.c (free_frame_subwindow_instances): rename from
11672 free_frame_subwindow_instance_cache. finalize all instances rather
11673 than just those in the display cache.
11674 (finalize_all_subwindow_instances): walk windows unmapping and
11675 finalizing subwindows.
11676 (unmap_subwindow_instance_cache_mapper): moved from
11677 window.c. Allow finalization as well as unmapping.
11679 * gui.c (gui_item_list_find_selected): new function.
11681 * gui.h (gui_item_list_find_selected): declare.
11683 * glyphs-x.c (x_tab_control_redisplay): pick tab
11684 explicitly. Re-code to use gui_item_equal_sans_selected and
11685 gui_item_list_find_selected.
11687 * glyphs-x.h: add lwlib-utils.h
11689 * buffer.c (Frecord_buffer): undo previous change.
11691 2000-08-09 Vin Shelton <acs@xemacs.org>
11693 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11694 possible. Create temporary files more securely. The patch was
11695 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11696 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11697 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11700 2000-08-07 Ben Wing <ben@xemacs.org>
11702 * getloadavg.c: remove duplicate (and windows-breaking)
11703 includes of fcntl.h and sys/file.h.
11705 * nt.c: remove duplicate getloadavg() definition.
11707 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11710 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11712 * eval.c (function_argcount): If function needs to be autoloaded
11713 actually use the loaded definition.
11716 2000-08-05 Ben Wing <ben@xemacs.org>
11718 * getloadavg.c: add prototype for getloadavg(). remove
11719 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11720 of the code). remove duplicate header includes.
11722 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11724 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11725 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11726 useful load average.
11728 * alloc.c (reinit_alloc_once_early): removed references to
11729 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11730 the lisp vars are the only things referencing the malloc_sbrk_*
11731 vars, and they were already if 0'd out. these vars only exist
11732 in the older malloc.c, which is basically unused, and they're
11733 only for informational purposes.
11735 * m\*.h: removed useless VIRT_ADDR_VARIES.
11737 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11739 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11741 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11742 color if the image is a mono pixmap.
11744 2000-07-30 Ben Wing <ben@xemacs.org>
11746 * Makefile.in.in (release):
11749 * buffer.c (directory_is_current_directory):
11750 * dired-msw.c (mswindows_get_files):
11752 * dired.c (Fdirectory_files):
11753 * dired.c (file_name_completion_stat):
11754 * dired.c (Ffile_attributes):
11755 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11756 preprocessor tricks, to avoid problems on some machines
11759 * callproc.c (egetenv): GC docs.
11762 * console-msw.h (struct mswindows_dialog_id):
11763 * lrecord.h (lrecord_type):
11764 New object for use with MSW dialogs.
11766 * console.h (struct console_methods):
11767 New enable/disable frame methods, for proper modal dialogs.
11769 * device-msw.c (msprinter_default_printer): Fix to follow
11770 proper Mule conventions.
11773 * device-msw.c (signal_open_printer_error):
11774 * device-msw.c (msprinter_init_device):
11775 * device-msw.c (ensure_not_printing):
11776 * device-msw.c (plist_get_margin):
11777 * device-msw.c (Fmsprinter_select_settings):
11778 * device-msw.c (finalize_devmode):
11779 * device-msw.c (Fmsprinter_settings_despecialize):
11780 * device-msw.c (signal_enum_priner_error):
11781 * extents.c (decode_extent):
11782 * extents.c (decode_map_extents_flags):
11783 * extents.c (decode_extent_at_flag):
11784 * extents.c (Fextent_at):
11785 * extents.c (Fextents_at):
11786 * extents.c (symbol_to_glyph_layout):
11787 [[[[2]]]] Use structured errors.
11790 * dialog-msw.c (mswindows_is_dialog_msg):
11791 * dialog-msw.c (mark_mswindows_dialog_id):
11792 * dialog-msw.c (dialog_proc):
11793 * dialog-msw.c (handle_question_dialog_box):
11794 * dialog-msw.c (syms_of_dialog_mswindows):
11795 Define new object to clean up marking; use it as a dialog identifier.
11796 Call new delete-dialog-box-hook.
11798 * dialog-x.c (dbox_selection_callback):
11799 * dialog-x.c (dbox_descriptor_to_widget_value):
11800 * dialog-x.c (x_make_dialog_box_internal):
11801 Call new delete-dialog-box-hook.
11805 * dialog.c (syms_of_dialog):
11806 * dialog.c (vars_of_dialog):
11807 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11810 * eval.c (signal_call_debugger):
11811 when noninteractive, output stack traces on the console instead
11812 of in a (never-seen) buffer.
11814 * eval.c (signal_type_error):
11815 * eval.c (invalid_argument_2):
11817 new funs for use w/structured errors.
11820 * event-Xt.c (x_to_emacs_keysym):
11821 * event-Xt.c (describe_event):
11822 * event-Xt.c (emacs_Xt_event_handler):
11823 * event-Xt.c (vars_of_event_Xt):
11825 * event-msw.c (mswindows_wnd_proc):
11826 * event-msw.c (vars_of_event_mswindows):
11827 rename {x,mswindows}-debug-events to debug-{}-events for
11828 consistency with other debug-foo variables.
11831 document next-event more clearly.
11833 * fileio.c (Ffile_name_directory):
11834 * fileio.c (Ffile_name_nondirectory):
11835 * fileio.c (Funhandled_file_name_directory):
11836 * fileio.c (file_name_as_directory):
11837 * fileio.c (Ffile_name_as_directory):
11838 * fileio.c (directory_file_name):
11839 * fileio.c (Fdirectory_file_name):
11840 * fileio.c (Fmake_temp_name):
11841 * fileio.c (Ffile_truename):
11842 * fileio.c (Fsubstitute_in_file_name):
11843 * fileio.c (expand_and_dir_to_file):
11844 * fileio.c (barf_or_query_if_file_exists):
11845 * fileio.c (check_executable):
11846 * fileio.c (Ffile_exists_p):
11847 * fileio.c (Ffile_writable_p):
11848 * fileio.c (Ffile_directory_p):
11849 * fileio.c (Ffile_regular_p):
11850 * fileio.c (Ffile_modes):
11851 * fileio.c (Ffile_newer_than_file_p):
11852 * fileio.c (Fverify_visited_file_modtime):
11853 * fileio.c (Fset_visited_file_modtime):
11854 * fileio.c (auto_save_1):
11859 * frame-msw.c (mswindows_init_frame_1):
11860 * frame-msw.c (mswindows_enable_frame):
11861 * frame-msw.c (error_frame_unsizable):
11862 * frame-msw.c (msprinter_init_frame_1):
11863 * frame-msw.c (msprinter_init_frame_3):
11864 * frame-msw.c (console_type_create_frame_mswindows):
11866 implement new enable/disable frame methods.
11869 * frame-x.c (x_enable_frame):
11870 * frame-x.c (console_type_create_frame_x):
11871 implement new enable/disable frame methods.
11874 * frame.c (Fdisable_frame):
11875 * frame.c (syms_of_frame):
11876 * frame.h (struct frame):
11877 implement new enable/disable frame methods/functions.
11882 * glyphs-msw.c (mswindows_widget_instantiate):
11883 comment that initial-focus should be implemented.
11886 * glyphs-widget.c (check_valid_instantiator):
11887 * glyphs-widget.c (check_valid_orientation):
11888 * glyphs-widget.c (check_valid_tab_orientation):
11889 * glyphs-widget.c (check_valid_justification):
11890 * glyphs-widget.c (check_valid_border):
11891 * glyphs-widget.c (check_valid_callback):
11892 * glyphs-widget.c (check_valid_int_or_function):
11893 * glyphs-widget.c (check_valid_string_or_vector):
11894 * glyphs-widget.c (check_valid_item_list_1):
11895 * glyphs-widget.c (widget_validate):
11896 * glyphs-widget.c (combo_box_validate):
11897 * glyphs-widget.c (widget_instantiate):
11898 * glyphs-widget.c (syms_of_glyphs_widget):
11899 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11900 * glyphs-widget.c (image_instantiator_combo_box):
11901 * glyphs-widget.c (image_instantiator_scrollbar):
11902 * glyphs-widget.c (image_instantiator_tab_control):
11903 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11905 support (unimplemented) keyword initial-focus.
11906 reindent long macros.
11908 * glyphs-x.c (x_redisplay_widget):
11909 * glyphs-x.c (x_button_instantiate):
11910 * glyphs-x.c (x_button_redisplay):
11911 * glyphs-x.c (x_progress_gauge_instantiate):
11912 * glyphs-x.c (x_edit_field_instantiate):
11913 * glyphs-x.c (x_combo_box_instantiate):
11914 * glyphs-x.c (x_tab_control_instantiate):
11915 * glyphs-x.c (x_label_instantiate):
11917 * gui-x.c (button_item_to_widget_value):
11918 * gui-x.c (gui_items_to_widget_values_1):
11919 * gui-x.c (gui_item_children_to_widget_values):
11920 * gui-x.c (gui_items_to_widget_values):
11922 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11923 add new flag to gui-parsing routines to indicate whether
11924 accelerator specs should be supported.
11926 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11928 * glyphs.h (struct Lisp_Image_Instance):
11929 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11930 add initial-focus flag.
11933 * gui.c (syms_of_gui):
11934 * gui.c (vars_of_gui):
11935 clean up menu-no-selection-hook.
11938 support delete-dialog-box-hook.
11940 * lread.c (Fload_internal):
11941 * lread.c (locate_file_in_directory_mapper):
11945 * lrecord.h (struct toolbar_button):
11946 * lrecord.h (syms_of_toolbar):
11947 document how to create a new object.
11949 * menubar-msw.c (mswindows_char_is_accelerator):
11950 may be called on frames w/o menus.
11952 * menubar.c (vars_of_menubar):
11953 clean up :filter docs.
11960 * process-nt.c (validate_signal_number):
11961 * process-nt.c (signal_cannot_launch):
11962 * process-nt.c (nt_create_process):
11963 * process-nt.c (nt_send_process):
11964 * process-nt.c (nt_kill_child_process):
11965 * process-nt.c (nt_open_network_stream):
11966 * process-nt.c (syms_of_process_nt):
11968 delete quote-handling. call new lisp code that does it better.
11970 * process-unix.c (connect_to_file_descriptor):
11971 * process-unix.c (allocate_pty):
11972 * process-unix.c (unix_send_process):
11973 * process-unix.c (unix_kill_child_process):
11974 * process-unix.c (unix_open_network_stream):
11975 * process-unix.c (unix_open_multicast_group):
11979 * process.c (Fstart_process_internal):
11980 (2). need to canonicalize process path even if absolute.
11982 * select-msw.c (symbol_to_ms_cf):
11983 * select-msw.c (ms_cf_to_symbol):
11984 * select-msw.c (cf_is_autofreed):
11985 * select-msw.c (mswindows_destroy_selection):
11987 * select.c (syms_of_select):
11989 support dibv5, fix bugs. (from Mike Alexander)
11991 * select.c (Fget_selection_internal):
11992 * select.c (select_convert_out):
11995 * sysdep.c (xemacs_stat):
11998 * sysdep.c (mkdir):
11999 * sysdep.c (rmdir):
12000 but keep original stat() here because we provide encapsulation
12004 * sysfile.h (fstat):
12005 remove stat garbage.
12008 fix X/MSW conflict.
12009 don't include tchar.h. it's inappropriate because it makes
12010 compile-time distinctions when we want runtime distinctions.
12011 (we provide our own tchar replacements)
12014 use default object printer for toolbar-button.
12017 make sure we don't encapsulate.
12019 * window.c (vars_of_window):
12020 emphasize that temp-buffer-show-hook is obsolete.
12022 2000-08-05 Martin Buchholz <martin@xemacs.org>
12024 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
12025 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
12027 * events.c (Fevent_timestamp_lessp):
12028 Not 64-bit clean. Use EMACS_INT, not int.
12030 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
12032 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
12033 unsigned int and changed the last enum to
12034 lrecord_type_last_built_in_type.
12035 (lrecord_implementations_table): changed prototype to know how
12036 long the array is supposed to be.
12037 (lrecord_type_count): new unsigned int to keep track of the
12038 current number of lisp lrecord types.
12039 (DEFINE_EXTERNAL_LRECORD):
12040 (DECLARE_EXTERNAL_LRECORD): Added these two for external
12041 dynamic-modules to declare new lisp types. They are the same
12042 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
12043 int for each new type, and increment lrecord_type_count by 1.
12045 * alloc.c (lrecord_implementations_table): Changed to reference
12046 lrecord_type_last_built_in_type for the size of the array.
12047 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
12049 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12051 * glyphs.h (check_valid_item_list): Renamed from
12052 check_valid_item_list_1.
12054 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
12056 * select.c (Qselect_coerce): New.
12057 * select.c (Vselection_coercion_alist): New.
12058 * select.c (syms_of_select): Declare.
12059 * select.c (get-selection-internal): Use it.
12060 Use the new select-coerce functionality.
12062 * select.c (select_coerce): New.
12063 * select.h (select_coerce): Declare.
12064 New function to coerce one type of data into another.
12066 2000-08-03 Martin Buchholz <martin@xemacs.org>
12068 * callproc.c (Fcall_process_internal):
12069 (Fcall_process_internal):
12070 * process-unix.c (unix_create_process):
12071 Save and restore the value of errno, so that error messages are accurate.
12073 2000-08-01 Martin Buchholz <martin@xemacs.org>
12075 * elhash.c (print_hash_table):
12076 Fix printing of hash tables to also use `key-and-value' instead of `t'.
12077 Prettify docstrings and indentation.
12079 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
12081 * window.c (Fwindow_pixel_edges): Subtract frame border and
12084 2000-07-31 Andy Piper <andy@xemacs.org>
12086 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
12087 will acknowledge the change.
12089 * glyphs.h: declare tab_control_order_only_changed.
12091 * glyphs-x.c (x_tab_control_redisplay): use
12092 tab_control_order_only_changed.
12094 * glyphs-widget.c (tab_control_order_only_changed): new function.
12096 * glyphs-msw.c (mswindows_tab_control_redisplay): use
12097 tab_control_order_only_changed.
12099 * gui.c (gui_item_equal_sans_selected): new function.
12100 (gui_item_equal): use it.
12102 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12103 :properties in favor of :items..
12105 * glyphs-widget.c (check_valid_item_list): rename from
12106 check_valid_item_list_1.
12107 (check_valid_item_list_1): renamed.
12108 (combo_box_validate): deprecate :properties in favor of :items.
12109 (widget_instantiate): ditto.
12110 (tab_control_update): ditto.
12111 (image_instantiator_combo_box): ditto.
12112 (image_instantiator_tree_view): ditto.
12113 (image_instantiator_tab_control): ditto.
12114 (layout_post_instantiate): remove dead code.
12116 * print.c (debug_print_no_newline): only write to debugger if in
12119 * elhash.c (Fmake_hash_table): update doc string.
12121 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12122 messages whilst in GC. This at least stops XEmacs crashing but has
12123 the potential for wierd behaviour.
12125 2000-07-31 Martin Buchholz <martin@xemacs.org>
12128 Make existence of s&m files optional.
12130 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12131 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12132 * s/gnu.h: Remove HAVE_GETLOADAVG.
12133 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12134 * s/sol2.h: Remove HAVE_GETLOADAVG.
12135 * lisp.h: Remove getloadavg() declaration.
12137 Include <sys/loadavg.h> if available.
12138 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12139 * config.h.in: Group together getloadavg()-related macros.
12140 Use only configure-time tests to detect getloadavg().
12142 2000-07-30 Martin Buchholz <martin@xemacs.org>
12144 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12146 2000-07-25 Andy Piper <andy@xemacs.org>
12148 * syswindows.h: add tchar.h for native builds.
12150 * frame.c (syms_of_frame): remove set-glyph-image.
12152 * general-slots.h: add Qset_glyph_image.
12154 * glyphs-widget.c (layout_update): add domain arg to
12156 (syms_of_glyphs_widget): remove set-glyph-image.
12158 2000-07-23 Ben Wing <ben@xemacs.org>
12160 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12163 2000-07-22 Andy Piper <andy@xemacs.org>
12165 * symsinit.h: add syms_of_win32().
12167 * gui-msw.c (syms_of_gui_mswindows): remove
12168 Fmswindows_shell_execute.
12169 (Fmswindows_shell_execute): moved to win32.c.
12171 * emacs.c (main_1): add syms_of_win32 ().
12173 * win32.c (init_potentially_nonexistent_functions): rewrite in
12174 compiler-friendly terms.
12175 (Fmswindows_shell_execute): move here from gui-msw.c.
12176 (syms_of_win32): new.
12178 * device-msw.c (Fmswindows_printer_list): clean up args to
12180 Don't include tchar under cygwin or mingw.
12181 (msprinter_default_printer): make cygwin-friendly.
12183 2000-07-21 Andy Piper <andy@xemacs.org>
12185 * glyphs-widget.c (image_instantiator_tree_view): use tab
12186 control's update function.
12187 (layout_property): new function. Retrieve items.
12189 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12190 function. Re-populate the tree view from the pending items.
12192 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12193 is designated the parent if the domain is an image instance. This
12194 is needed so that dirtiness can be cascade up the hierarchy and
12195 thus for layout children to be redisplayed correctly.
12196 (allocate_image_instance): rename glyph -> parent.
12198 * redisplay.h: change redisplay_output_layout signature.
12200 * redisplay-msw.c (mswindows_output_display_block): use domain
12203 * redisplay-x.c (x_output_display_block): use domain arg.
12205 2000-07-10 Andy Piper <andy@xemacs.org>
12207 * window.c (Fset_window_configuration): add comment.
12209 * redisplay-output.c (compare_runes):
12210 (redisplay_output_subwindow): redisplay rather than update subwindow.
12211 (redisplay_output_layout): ditto.
12213 * redisplay-msw.c (mswindows_frame_output_end):
12214 (mswindows_frame_output_end): make defer window pos optional.
12216 * lisp.h: add Flast.
12218 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12219 normalize method. Change update method to be for changed
12220 instantiators. Add redisplay method. Change signature of layout
12222 (struct Lisp_Image_Instance): add instantiator.
12223 (IMAGE_INSTANCE_INSTANTIATOR): new.
12224 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12225 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12226 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12229 (find_instantiator_differences): new function.
12230 (Fset_instantiator_property): new convenience function.
12231 (check_image_instance_structure): strictly check for vector
12233 (normalize_image_instantiator): make non-static.
12234 (instantiate_image_instantiator): pass on dest_mask and use new
12235 signatures for image_instance_layout and friends.
12236 (mark_image_instance): mark the instantiator. Mark the subwindow
12237 face not the widget face.
12238 (image_instance_equal): add instantiator.
12239 (image_instance_hash): ditto.
12240 (allocate_image_instance): ditto.
12241 (Fset_image_instance_property): removed.
12242 (Fimage_instance_file_name): ditto.
12243 (Fcolorize_image_instance): ditto.
12244 (image_instance_layout): add offsets to be set.
12245 (update_image_instance): new function. update an image instance
12246 from its changed instantiator.
12247 (inherit_normalize): add dest_mask.
12248 (xbm_normalize): ditto.
12249 (xface_normalize): ditto.
12250 (xpm_normalize): ditto.
12251 (text_update): set_property -> update.
12252 (image_instantiate): use the glyph identity as a hash key, not the
12254 (glyph_width): use new image_instance_layout signature.
12255 (glyph_ascent): ditto.
12256 (glyph_descent): ditto.
12257 (glyph_height): ditto.
12258 (glyph_query_geometry): ressurrect.
12259 (glyph_layout): ditto.
12260 (redisplay_subwindow): update -> redisplay.
12261 (syms_of_glyphs): add Fset_instantiator_property.
12262 (image_instantiator_format_create): set_property -> update.
12265 (autodetect_normalize): add dest_maks to signature.
12266 (x_redisplay_subwindow): update -> redisplay.
12267 (x_redisplay_widget): ditto.
12268 (x_button_redisplay): ditto.
12269 (x_progress_gauge_redisplay): ditto.
12270 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12272 (console_type_create_glyphs_x): update -> redisplay.
12273 (image_instantiator_format_create_glyphs_x): ditto.
12276 (check_valid_instantiator): disallow glyphs in the instantiator,
12277 they must now be vectors.
12278 (check_valid_instantiator_list): ditto.
12279 (glyph_instantiator_to_glyph): use internal symbol rather than
12281 (widget_update): renamed from widget_set_property. Call cascaded
12283 (redisplay_widget): renamed from update_widget.
12284 (widget_layout): image_instance_layout now takes position as well
12286 (widget_normalize): ditto.
12287 (widget_instantiate): ditto.
12288 (tab_control_query_geometry) ditto.:
12289 (tab_control_update): renamed from tab_control_set_property.
12290 (progress_gauge_update): set_property -> update.
12291 (layout_normalize): rewrite so that child instantiators are
12293 (layout_update): new function. Create glyphs from the normalized
12294 children and cope with any other layout keywords. We do not
12295 instantiate children here that will be take care of by
12296 redisplay_output_layout.
12297 (layout_instantiate): call layout_update and not much else.
12298 (layout_post_instantiate): not sure whether this is needed
12300 (layout_query_geometry): query glyph geometry rather than
12301 image_instance geometry.
12302 (layout_layout): set offsets from pass in parameters. Use glyph
12303 geometry and layout functions rather than image instance ones.
12304 (native_layout_layout): ditto.
12305 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12306 (image_instantiator_widget): set_property -> update.
12307 (image_instantiator_buttons): ditto.
12308 (image_instantiator_progress_guage): ditto.
12309 (image_instantiator_tab_control): ditto.
12310 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12311 (image_instantiator_layout): add update method.
12313 * glyphs-msw.c (bmp_normalize):
12314 (mswindows_resource_normalize): add dest_mask so that it can be
12315 proprogated by layout_normalize.
12316 (begin_defer_window_pos): make optional because it may not be the
12317 right thing to do and it introduces differences with X.
12318 (mswindows_unmap_subwindow): ditto.
12319 (mswindows_map_subwindow): ditto.
12320 (mswindows_redisplay_subwindow): renamed from
12321 mswindows_update_subwindow.
12322 (mswindows_redisplay_widget): ditto.
12323 (mswindows_button_redisplay): renamed from
12324 mswindows_button_update. Update is now what the instantiation
12325 function does for a changed instantiator.
12326 (mswindows_progress_gauge_instantiate): set the progress value
12327 here if appropriate.
12328 (mswindows_tab_control_redisplay): cope with re-ordering of the
12329 members of the tab widget by simply selecting the new top
12330 widget. This makes things appear ok if you click on a tab.
12331 (mswindows_combo_box_instantiate): image_instance_layout now takes
12332 position as well as size.
12333 (mswindows_progress_gauge_redisplay): renamed from
12334 mswindows_progress_gauge_update.
12335 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12336 (image_instantiator_format_create_glyphs_mswindows): ditto.
12338 * glyphs-eimage.c (jpeg_normalize):
12341 (tiff_normalize): add dest_mask so that it can be proprogated by
12345 (print_hash_table):
12346 (hash_table_weakness_validate):
12347 (decode_hash_table_weakness):
12348 (Fhash_table_weakness):
12349 (Fhash_table_type):
12350 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12352 * console.h (struct console_methods): move update_* to
12355 2000-07-20 Ben Wing <ben@xemacs.org>
12357 * *.[ch] (XSETOBJ): remove unused middle argument.
12358 lisp-disunion.h: correct wrap_object() to one argument.
12360 2000-07-15 Ben Wing <ben@xemacs.org>
12363 * s/cygwin32.h (CYGWIN_CONV_PATH):
12364 Add missing logb prototype for v1.1.
12365 Use post-b20 names and alias to pre-b20 names when pre-b20.
12367 * s/windowsnt.h: [5].
12369 2000-07-15 Ben Wing <ben@xemacs.org>
12371 * Makefile.in.in (x_objs):
12372 * Makefile.in.in (sheap_objs):
12373 * Makefile.in.in (objs):
12374 added win32.o, cosmetic cleanups.
12376 * alloc.c (Fmake_byte_code):
12377 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12378 etc. macros which declare their own args now.
12380 * alloc.c (syms_of_alloc):
12381 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12384 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12386 * buffer.c (Fget_file_buffer):
12387 Fixed GCPRO problem.
12389 * buffer.c (get_truename_buffer):
12390 Fixed comment about GC checking.
12392 * buffer.c (syms_of_buffer):
12393 Undeclared those dedicated frame funs.
12397 Define convenience macros for internal/external conversions.
12398 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12399 and Qenvironment_variable_encoding for cleaner code.
12402 Remove dedicated-frame; in lisp.
12404 * bytecode.c (funcall_compiled_function):
12407 * bytecode.c (syms_of_bytecode):
12411 * console-msw.c (mswindows_show_console): Rewrote.
12413 * console-msw.c (Fmswindows_debugging_output): New.
12414 Sends to OutputDebugString (special MSWin debugger interface).
12416 * console-msw.c (Fmswindows_message_box):
12417 Fixed stupid bugs so it works when called from kill-emacs.
12419 * console-msw.c (syms_of_console_mswindows):
12420 Declare Fmswindows_debugging_output.
12423 New MSWin prototypes.
12425 * console-msw.h (struct mswindows_frame):
12426 New entry last-click-mods for improved button-modifier support.
12428 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12429 New struct entry `popup' with corresponding accessor.
12432 * console-x.c (split_up_display_spec):
12433 * console-x.c (get_display_arg_connection):
12434 * console-x.c (x_semi_canonicalize_console_connection):
12435 * console-x.c (x_canonicalize_device_connection):
12436 [[[6]]]: Change char to more specific type.
12437 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12439 * console-x.c (x_semi_canonicalize_console_connection):
12440 * console-x.c (x_canonicalize_device_connection):
12441 [[[9]]]: Fix up error signalling to use new structured error system.
12444 [[[4]]]: Define codesys aliases:
12445 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12446 Qx_color_name_encoding, Qx_display_name_encoding.
12448 * console.h (struct console_methods):
12449 New method make_dialog_box_internal supersedes older
12450 popup_dialog_box method.
12453 Define many new errors, part of new structured errors.
12455 * data.c (init_errors_once_early):
12456 * data.c (syms_of_data):
12459 * device-msw.c (mswindows_init_device):
12460 [[[5]]]: Cleanup to support NT 3.51.
12462 * device-msw.c (decode_devmode): Cleanup.
12464 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12465 * device-msw.c (mswindows_handle_print_dialog_box):
12466 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12467 * device-msw.c (syms_of_device_mswindows):
12468 Delete the dialog box primitives recently introduced by Kirill and
12469 instead interface to general dialog box interface.
12472 * device-x.c (compute_x_app_name):
12473 * device-x.c (x_init_device):
12474 * device-x.c (Fx_valid_keysym_name_p):
12475 * device-x.c (Fx_set_font_path):
12479 * device.h (wrap_device): New.
12480 First of its kind; meant to replace XSETDEVICE.
12482 * dialog-msw.c: Many file-dialog symbols.
12484 * dialog-msw.c (mswindows_register_popup_frame): New.
12485 * dialog-msw.c (mswindows_is_dialog_msg): New.
12486 For supporting kbd traversal in dialog boxes.
12488 * dialog-msw.c (dialog_proc):
12489 Support hitting ESC in dialogs.
12491 * dialog-msw.c (struct):
12492 Common dialog box errors.
12494 * dialog-msw.c (handle_file_dialog_box): New.
12495 Add file dialog code.
12497 * dialog-msw.c (handle_question_dialog_box):
12498 Redo existing code to support new question dialog syntax.
12500 * dialog-msw.c (console_type_create_dialog_mswindows):
12501 We support new dialog console method.
12503 * dialog-msw.c (syms_of_dialog_mswindows):
12504 * dialog-msw.c (vars_of_dialog_mswindows):
12505 New file dialog symbols, vars.
12508 * dialog-x.c (maybe_run_dbox_text_callback):
12509 * dialog-x.c (dbox_descriptor_to_widget_value):
12510 * dialog-x.c (x_make_dialog_box_internal):
12511 * dialog-x.c (console_type_create_dialog_x):
12512 Mule-ize entire file.
12513 Redo to support question dialog syntax.
12517 * dialog.c (Fmake_dialog_box_internal):
12518 * dialog.c (syms_of_dialog):
12519 Kill old popup-dialog-box, replace with new primitive.
12520 Just call device method or signal error.
12522 * eldap.c (Fldap_open):
12523 * eldap.c (Fldap_search_basic):
12524 * eldap.c (Fldap_add):
12525 * eldap.c (Fldap_modify):
12530 * emacs.c (make_arg_list_1):
12531 * emacs.c (make_arg_list):
12532 Mule-ize call to dll_init().
12536 * emacs.c (make_argc_argv):
12537 * emacs.c (free_argc_argv):
12538 * emacs.c (init_cmdargs):
12539 * emacs.c (main_1):
12540 * emacs.c (Fkill_emacs):
12541 * emacs.c (Fdump_emacs):
12542 Update comments about what can be used in syms_* etc.
12543 Call init_win32() when necessary.
12544 Fix up MS Win dialog box in kill-buffer to actually work right.
12555 * eval.c (condition_case_3):
12557 * eval.c (function_argcount):
12558 * eval.c (funcall_lambda):
12561 * eval.c (type_error): New.
12562 * eval.c (maybe_type_error): New.
12563 * eval.c (continuable_type_error): New.
12564 * eval.c (maybe_continuable_type_error): New.
12565 * eval.c (type_error_with_frob): New.
12566 * eval.c (maybe_type_error_with_frob): New.
12567 * eval.c (continuable_type_error_with_frob): New.
12568 * eval.c (maybe_continuable_type_error_with_frob): New.
12569 New functions for use with structured errors.
12572 * event-Xt.c (x_event_to_emacs_event):
12573 Buttons are now modifiers too.
12575 * event-Xt.c (emacs_Xt_current_event_timestamp):
12576 Implement new event method.
12577 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12580 * event-msw.c (ntpipe_shove_writer): [5].
12581 * event-msw.c (mswindows_enqueue_mouse_button_event):
12582 * event-msw.c (mswindows_drain_windows_queue):
12583 * event-msw.c (mswindows_wnd_proc): [7].
12584 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12585 * event-msw.c (mswindows_modifier_state):
12586 Throughout: support new button modifiers.
12588 * event-msw.c (emacs_mswindows_current_event_timestamp):
12589 Implement new event method.
12590 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12593 * event-stream.c (event_stream_current_event_timestamp): New.
12594 * event-stream.c (maybe_kbd_translate): New functionality.
12595 * event-stream.c (vars_of_event_stream):
12596 Document new kbd-translate-table functionality.
12598 * event-stream.c (Fcurrent_event_timestamp): New.
12599 New primitive for use in fabricated events.
12600 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12602 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12605 * events.c (Fmake_event):
12606 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12610 * events.c (format_event_object): fix gcc warnings.
12612 * events.c (Fevent_timestamp): Document new primitives.
12614 * events.c (TIMESTAMP_HALFSPACE): New.
12616 * events.c (Fevent_timestamp_lessp): New. New primitive for
12617 comparing timestamps correctly (half-space algorithm).
12619 * events.c (Fevent_modifier_bits): Doc fix.
12621 * events.c (Fevent_modifiers): Major doc addition.
12622 * events.c (event_x_y_pixel_internal): Typo fix.
12623 * events.c (syms_of_events): Declare new primitives.
12626 Update long comment for button modifiers, timestamps.
12628 * events.h (struct event_stream):
12629 New current_event_timestamp method.
12632 * extents.c (extent_in_region_p):
12633 * extents.c (decode_extent):
12634 * extents.c (Fset_extent_parent):
12635 * extents.c (decode_map_extents_flags):
12639 * extents.c (struct extent_at_arg):
12640 * extents.c (decode_extent_at_flag):
12641 * extents.c (extent_at_mapper):
12642 * extents.c (extent_at_bytind):
12643 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12644 * extents.c (Fextents_at): New primitive. [9].
12645 * extents.c (symbol_to_glyph_layout): [9].
12646 Support new primitive `extents-at'.
12649 * extents.c (get_text_property_bytind):
12650 extent_at_bytind has another arg.
12653 * extents.c (syms_of_extents): New primitive.
12655 * file-coding.c (Fmake_coding_system): [1].
12656 * file-coding.c (subsidiary_coding_system): fix gcc warning
12657 * file-coding.c (syms_of_file_coding): [2].
12659 * fileio.c (Fexpand_file_name):
12660 * fileio.c (Fsysnetunam):
12661 * fileio.c (Ffile_exists_p):
12662 * fileio.c (Ffile_executable_p):
12663 * fileio.c (Fverify_visited_file_modtime):
12666 * fileio.c (syms_of_fileio): [2].
12668 * filelock.c (lock_file_1):
12669 * filelock.c (current_lock_owner):
12670 * filelock.c (lock_if_free):
12671 * filelock.c (lock_file):
12672 * filelock.c (unlock_file):
12675 * fns.c (concat): Fix gcc warning.
12678 * fns.c (Fold_member):
12680 * fns.c (Fold_memq):
12681 * fns.c (memq_no_quit):
12683 * fns.c (Fold_assoc):
12685 * fns.c (Fold_assq):
12686 * fns.c (assq_no_quit):
12688 * fns.c (Fold_rassoc):
12690 * fns.c (Fold_rassq):
12691 * fns.c (rassq_no_quit):
12693 * fns.c (Fold_delete):
12695 * fns.c (Fold_delq):
12696 * fns.c (delq_no_quit):
12697 * fns.c (Fremassoc):
12698 * fns.c (Fremassq):
12699 * fns.c (remassq_no_quit):
12700 * fns.c (Fremrassoc):
12701 * fns.c (Fremrassq):
12702 * fns.c (remrassq_no_quit):
12703 * fns.c (Freverse):
12707 * frame-msw.c (mswindows_init_frame_1):
12708 * frame-msw.c (mswindows_delete_frame):
12709 Register popups with dialog code so keyboard traversing works.
12711 * frame-tty.c (tty_raise_frame_no_select): [1].
12714 * frame-x.c (x_set_frame_text_value):
12715 * frame-x.c (x_set_frame_properties):
12716 * frame-x.c (x_create_widgets):
12720 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12722 * frame.h (wrap_frame): New.
12723 Macro like wrap_device.
12726 * general.c (SYMBOL):
12727 * general.c (syms_of_general):
12728 Major reorg. This is now just a wrapper and symbols themselves
12729 are listed in general-slots.h.
12731 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12732 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12734 * glyphs-msw.c (mswindows_native_layout_instantiate):
12735 Add DS_CONTROL so keyboard traversal will work.
12738 * glyphs-widget.c (syms_of_glyphs_widget):
12739 Move some symbols to general-slots.h.
12742 * glyphs-x.c (xbm_instantiate_1):
12743 * glyphs-x.c (x_xbm_instantiate):
12744 * glyphs-x.c (x_xface_instantiate):
12745 * glyphs-x.c (autodetect_instantiate):
12746 * glyphs-x.c (cursor_font_instantiate):
12747 * glyphs-x.c (x_update_widget):
12748 * glyphs-x.c (x_widget_instantiate):
12749 * glyphs.c (bitmap_to_lisp_data):
12750 * glyphs.c (pixmap_to_lisp_data):
12753 * glyphs.c (syms_of_glyphs):
12757 * gui-x.c (print_widget_value):
12758 * gui-x.c (menu_separator_style_and_to_external):
12759 * gui-x.c (add_accel_and_to_external):
12760 * gui-x.c (button_item_to_widget_value):
12761 * gui-x.c (gui_items_to_widget_values_1):
12762 * gui-x.c (gui_items_to_widget_values):
12763 * gui-x.c (syms_of_gui_x):
12764 * gui-x.c (vars_of_gui_x):
12765 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12769 Muleize, prototype changes matching gui-x.c.
12772 * gui.c (separator_string_p):
12773 * gui.c (gui_item_add_keyval_pair):
12774 * gui.c (make_gui_item_from_keywords_internal):
12775 * gui.c (signal_too_long_error):
12776 * gui.c (parse_gui_item_tree_item):
12777 * gui.c (syms_of_gui):
12778 * gui.c (vars_of_gui):
12780 menu-no-selection-hook moved here (used by MSWin).
12781 Move some symbols to general-slots.h.
12785 * insdel.c (get_buffer_pos_char):
12786 * insdel.c (get_buffer_range_char):
12789 * keymap.c (keymap_lookup_directly):
12790 * keymap.c (keymap_store):
12791 * keymap.c (ensure_meta_prefix_char_keymapp):
12792 * keymap.c (describe_map):
12794 Support new button modifiers.
12796 * lisp-disunion.h (wrap_object):
12797 * lisp-disunion.h (XSETOBJ):
12798 Rename make_obj to wrap_object.
12801 * lisp-union.h (make_int):
12802 * lisp-union.h (make_char):
12803 Support wrap_object.
12806 * lisp.h (LIST_LOOP):
12807 * lisp.h (EXTERNAL_LIST_LOOP):
12808 * lisp.h (LIST_LOOP_2):
12809 * lisp.h (EXTERNAL_LIST_LOOP_1):
12810 * lisp.h (EXTERNAL_LIST_LOOP_2):
12811 * lisp.h (EXTERNAL_LIST_LOOP_3):
12812 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12813 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12814 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12815 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12816 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12817 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12818 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12819 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12820 * lisp.h (struct Lisp_Symbol):
12821 * lisp.h (maybe_continuable_error_with_frob):
12822 Fix up section comments.
12823 Add new types for char to indicate usage.
12824 Delete symbols auto-generated from general-slots.h.
12825 Add prototypes for structured error functions.
12826 Add long comments describing looping macros and change interface
12827 so that lvalues are automatically declared.
12828 Add NO_DECLARE macro in case callers want to declare lvalues
12831 * lread.c (read_syntax_error):
12832 * lread.c (continuable_read_syntax_error):
12833 * lread.c (read_structure):
12834 * lread.c (sequence_reader):
12835 * lread.c (read_list_conser):
12836 * lread.c (read_compiled_function):
12837 Rename syntax_error and continuable_syntax_error to avoid clash
12838 with same-named structured error functions.
12840 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12841 * menubar-msw.c (populate_menu_add_item):
12842 * menubar-msw.c (populate_or_checksum_helper):
12847 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12848 Mule-ize whole file.
12850 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12852 * mule-charset.c (Fmake_charset):
12853 * mule-wnnfns.c (Fwnn_set_param):
12856 * ntproc.c (create_child):
12857 * ntproc.c (Fwin32_set_current_locale):
12858 Add comments portending doom.
12861 * objects-msw.c (old_font_enum_callback_2):
12862 * objects-msw.c (font_enum_callback_1):
12863 * objects-msw.c (mswindows_enumerate_fonts):
12867 * objects-x.c (allocate_nearest_color):
12868 * objects-x.c (x_parse_nearest_color):
12869 * objects-x.c (x_initialize_color_instance):
12870 * objects-x.c (x_print_color_instance):
12871 * objects-x.c (x_finalize_color_instance):
12872 * objects-x.c (x_valid_color_name_p):
12873 * objects-x.c (x_initialize_font_instance):
12874 * objects-x.c (x_print_font_instance):
12875 * objects-x.c (valid_x_font_name_p):
12876 * objects-x.c (truename_via_FONT_prop):
12877 * objects-x.c (truename_via_random_props):
12878 * objects-x.c (truename_via_XListFonts):
12879 * objects-x.c (x_font_truename):
12880 * objects-x.c (x_font_instance_truename):
12881 * objects-x.c (x_font_instance_properties):
12882 * objects-x.c (x_list_fonts):
12883 * objects-x.c (x_find_charset_font):
12884 Mule-ize entire file.
12891 * print.c (std_handle_out_external):
12892 * print.c (debug_print_no_newline):
12893 * print.c (syms_of_print):
12894 Output to all debugger kinds in debug-print.
12895 Fix console-output code under MSWin to actually work.
12897 * process-nt.c (send_signal):
12898 * process-nt.c (nt_create_process):
12899 Use newer Unicode macros.
12901 * process-unix.c (unix_create_process):
12902 * process-unix.c (unix_canonicalize_host_name):
12903 * process-unix.c (unix_open_network_stream):
12909 * search.c (syms_of_search):
12912 * select-msw.c (mswindows_destroy_selection):
12915 * select-x.c (symbol_to_x_atom):
12918 * select.c (syms_of_select):
12921 * sound.c (Fplay_sound_file):
12925 * specifier.c (decode_specifier_type):
12926 * specifier.c (Fvalid_specifier_locale_type_p):
12927 * specifier.c (check_valid_locale_or_locale_type):
12928 * specifier.c (decode_locale):
12929 * specifier.c (decode_locale_type):
12930 * specifier.c (decode_locale_list):
12931 * specifier.c (check_valid_domain):
12932 * specifier.c (decode_specifier_tag_set):
12933 * specifier.c (Fcanonicalize_tag_set):
12934 * specifier.c (Fdefine_specifier_tag):
12935 * specifier.c (Fspecifier_tag_predicate):
12936 * specifier.c (check_valid_inst_list):
12937 * specifier.c (check_valid_spec_list):
12938 * specifier.c (decode_how_to_add_specification):
12939 * specifier.c (check_modifiable_specifier):
12940 * specifier.c (specifier_add_spec):
12941 * specifier.c (boolean_validate):
12942 * specifier.c (display_table_validate):
12945 * specifier.c (syms_of_specifier):
12946 Move some symbols to general-slots.h.
12950 * symbols.c (Fmapatoms):
12951 * symbols.c (Fapropos_internal):
12954 * symbols.c (set_default_buffer_slot_variable):
12955 * symbols.c (set_default_console_slot_variable):
12958 * symbols.c (defsymbol_massage_name_1):
12959 * symbols.c (defkeyword_massage_name):
12960 * symbols.c (deferror_1):
12961 * symbols.c (deferror):
12962 * symbols.c (deferror_massage_name_and_message):
12964 * symeval.h (DEFSYMBOL):
12965 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12967 * symbols.c (syms_of_symbols):
12971 * symsinit.h (init_win32): New.
12972 Also new is syms_of_dialog_mswindows.
12975 Add new Unicode macros, missing Cygwin wide-char functions,
12976 convenience conversion macros for Qmswindows_tstr, macros for
12977 encapsulating required MSWin <-> Cygwin filename conversions,
12978 prototype for dynamically-extracted (not in NT 3.51) functions.
12983 * tooltalk.c (Fadd_tooltalk_message_arg):
12984 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12985 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12988 * tooltalk.c (syms_of_tooltalk):
12992 * unexnt.c (unexec):
12993 Fix up headers, declaration of unexec() to be more standard.
12995 2000-07-20 Martin Buchholz <martin@xemacs.org>
12997 * offix.h: Revert change to guard macros - they're used in offix.c!
12999 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13001 * lisp.h: Defsubred Fdelete.
13003 * console-msw.h: (msprinter_default_printer): Added.
13005 * console-msw.c (msprinter_canonicalize_console_connection):
13006 (msprinter_canonicalize_device_connection): Added.
13008 * device-msw.c (msprinter_default_printer):
13009 (Fmswingows_get_default_printer):
13010 (signal_enum_priner_error):
13011 (Fmswingows_printer_list): Added.
13013 2000-07-19 Martin Buchholz <martin@xemacs.org>
13015 * XEmacs 21.2.35 is released.
13017 2000-07-19 Martin Buchholz <martin@xemacs.org>
13019 * select-x.c (x_handle_selection_request):
13020 Text selected in xemacs and pasted into xterm failed to appear.
13021 Spelling fixes and cosmetic changes.
13023 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13025 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
13026 XEmacs frame (fix for doubling chars in dialog boxes).
13028 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13030 * select.c (select_convert_in, select_convert_out):
13031 Don't call intern() every time.
13033 * select.c (Qselect_convert_in, Qselect_convert_out): New.
13034 * select.c (vars_of_select): Initialise them.
13036 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13038 * select.c (selection-coercible-types): New.
13040 * select.c (own-selection-internal):
13041 * select.c (get-selection-internal):
13042 MULE bug fix - these should default to COMPOUND_TEXT and not
13043 STRING for MULE. I think.
13045 * select.c (select_convert_out): Use selection-coercible-types
13046 to find types that we can attempt to perform coercions on.
13048 2000-07-18 Martin Buchholz <martin@xemacs.org>
13052 Add coding: cookie to identify encoding.
13054 * mule-canna.c (CANNA_mode_keys): make static.
13055 Use proper prototypes, even for functions of no arguments.
13056 Remove external prototype for Fding().
13058 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
13060 * select.c (syms_of_select): Add missing DEFSUBR.
13062 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13064 * select.c (get_selection_internal, own_selection_internal):
13065 Make the type default to STRING, rather than placing a nil type
13066 into Vselection_alist.
13068 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13070 * gpmevent.c (tty_selection_exists_p):
13071 * gpmevent.c (tty_own_selection):
13072 Updated parameter lists.
13074 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
13076 * select.h (selection-alist): Removed declaration.
13078 * select.h (get_local_selection):
13079 * select.c (get_local_selection):
13082 * select.h (convert_selection): Removed declaration.
13083 * select.c (convert_selection): Removed.
13084 This function belongs in Lisp.
13086 * select.h (select_convert_in): Declare.
13087 * select.h (select_convert_out): Declare.
13088 * select.c (select_convert_in): New.
13089 * select.c (select_convert_out): New.
13090 New conversion functions for other files to call.
13092 * select.h (select_notify_buffer_kill): Declare.
13093 * select.c (select_notify_buffer_kill): New.
13094 New functions that get called from kill-buffer.
13096 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
13097 X-specific lisp code.
13099 * select.h: Declare some of the lisp-visible functions for
13102 * select.c (clean_local_selection_data): Removed. This was
13103 a disgusting function, and previously should have been in
13104 select-x.c in any case. The functionality is now provided
13105 in select-convert-from-integer (select.el).
13107 * select.c (available-selection-types): Fixed stupidity where
13108 INTEGER and ATOM got added twice. Also add STRING when we see an
13111 * select.c (get-selection-internal): Removed symbol stripping. No
13112 longer causes conversion when data comes from the internal cache.
13114 * select.c (syms_of_select): Added new functions.
13116 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13117 error checking - previously this called abort!
13119 * select-x.c (x_own_selection): Changed comment.
13121 * select-x.c (x_handle_selection_request): Use select_convert_out.
13122 Don't mess with selection-alist; it's an internal variable of select.c.
13124 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13126 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13127 rather than messing with selection-alist.
13129 * select-msw.c (mswindows_get_foreign_selection):
13130 Use TO_INTERNAL_FORMAT rather than hacking.
13132 2000-07-14 Martin Buchholz <martin@xemacs.org>
13134 * process-unix.c (unix_open_multicast_group):
13135 (unix_open_multicast_group): Remove useless casts.
13137 2000-07-13 Martin Buchholz <martin@xemacs.org>
13139 * sound.c (Fplay_sound): Fix `unused variable' warning.
13141 * emacs.c (main): Use correct type for _environ on SCO5.
13143 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13145 * console.h (own_selection_method):
13146 * console.h (selection_exists_p_method):
13147 * console.h (available_selection_types_method): New.
13148 * console.h (register_selection_data_type_method): New.
13149 * console.h (selection_data_type_name): New.
13151 * console-msw.h (mswindows_destroy_selection): Declare it. New
13152 function & alist to track GlobalAlloc()'d handles that need
13153 releasing when the clipboard data gets replaced or emptied.
13155 * event-msw.c (mswindows_wnd_proc): Call it.
13157 * lisp.h, general.c (Qappend): New symbol representing a
13160 * select.c (own-selection-internal):
13161 * select.c (selection-exists-p):
13162 * select.c (available-selection-types): New.
13163 * select.c (register-selection-data-type): New.
13164 * select.c (selection-data-type-name): New. New functions to deal
13165 with device-specific selection data formats.
13166 * select.c (selection-converter-out-alist): Renamed.
13167 * select.c (selection-converter-in-alist): New.
13168 * select.c (selection-appender-alist): New. Added new alists.
13169 * select.c (syms_of_select, vars_of_select): Added new symbols &
13171 * select.c (get_local_selection): Split.
13172 * select.c: Removed spurious type checking - selections may now be
13173 of any type, not just strings.
13174 * select.c (own-selection-internal):
13176 * select.h, select.c (convert_selection): New. Created
13177 convert_selection() function based on get_local_selection().
13178 * select.h, select.c (QCF_*): New symbols representing mswindows
13180 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13181 symbols representing `how-to-add' modes.
13183 * select-msw.c (x_sym_p): New.
13184 * select-msw.c (symbol_to_ms_cf): New.
13185 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13186 symbols & clipboard formats. Can also handle string names.
13187 * select-msw.c (mswindows_own_selection):
13188 * select-msw.c (mswindows_selection_exists_p):
13189 Added `data-type' parameter. Use it.
13190 * select-msw.c (mswindows_available_selection_types): New.
13191 * select-msw.c (mswindows_register_selection_data_type): New.
13192 * select-msw.c (mswindows_selection_data_type_name): New.
13193 * select-msw.c (mswindows_own_selection):
13194 * select-msw.c (mswindows_get_foreign_selection):
13195 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13196 * select-msw.c (console_create_select_mswindows): Added new methods.
13197 * select-msw.c (mswindows_destroy_selection): New.
13198 * select-msw.c (Vhandle_alist): New list.
13199 * select-msw.c (mswindows_own_selection):
13201 * select-x.c (x_own_selection):
13202 * select-x.c (x_selection_exists_p):
13203 * select-x.c: Added some comments about maybe using new
13205 * select-x.c (x_own_selection):
13207 * specifier.c: Remove definition of Qappend (now in general.c)
13208 * specifier.c (syms_of_specifier): Remove Qappend.
13210 2000-07-12 Martin Buchholz <martin@xemacs.org>
13212 * config.h.in: Add socklen_t.
13214 * s/decosf4-0.h: No special compiler flags needed or desired.
13215 In particular, undefine _BSD for DEC OSF 4.0.
13217 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13219 * redisplay-msw.c (msprinter_frame_output_end): Added.
13220 (console_type_create_redisplay_mswindows): Referred the above.
13222 * frame.c (setup_frame_without_minibuffer): Do not create a
13223 default minibuffer frame on a printer device.
13225 * frame-msw.c (apply_dc_geometry): Added.
13226 (msprinter_start_page):
13227 (msprinter_init_frame_3):
13228 (msprinter_eject_page): Use it.
13230 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13231 and removed residual duplex and orientation properties.
13233 2000-07-11 Martin Buchholz <martin@xemacs.org>
13235 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13237 * unexalpha.c: Remove system prototypes from C sources!
13239 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13241 * eval.c: Remove references to M-x edit-options in DEFUNs for
13242 `defvar' and `defconst'.
13244 2000-07-09 Martin Buchholz <martin@xemacs.org>
13246 * config.h.in: Remove SMART_INCLUDE hackery.
13248 PostgreSQL hacking:
13249 * config.h.in: Don't use SMART_INCLUDE.
13251 * postgresql.h: Include libpq-fe.h here. Fix typo.
13252 * inline.c: Simply #include "postgresql.h"
13254 - Don't use SMART_INCLUDE
13255 - Use simply "const".
13256 - Use standard doc string conventions.
13257 - Use correct type for result of PQstatus.
13259 2000-07-09 Martin Buchholz <martin@xemacs.org>
13261 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13263 C++ compilation changes.
13264 * config.h.in (EXTERN_C): Define.
13265 * config.h.in (not): This is also a C++ keyword.
13266 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13267 * cm.c: Use EXTERN_C.
13268 * redisplay-tty.c: Use EXTERN_C.
13269 * sysdep.c: Use EXTERN_C. Remove Gould support.
13271 2000-07-09 Martin Buchholz <martin@xemacs.org>
13273 * general.c: Remove duplicate definition for Qfunction.
13275 2000-07-08 Ben Wing <ben@xemacs.org>
13277 * device-msw.c (msprinter_init_device):
13278 * device-msw.c (sync_printer_with_devmode):
13279 * device-msw.c (handle_devmode_changes):
13280 * device-msw.c (print_dialog_worker):
13281 * device-msw.c (Fmsprinter_apply_settings):
13282 * device-msw.c (hash_devmode):
13283 * device-msw.c (Fmsprinter_settings_despecialize):
13284 use Qmswindows_tstr, not Qctext.
13286 * vm-limit.c (check_memory_limits):
13287 avoid infinite loop printing warning messages.
13289 2000-07-05 Craig Lanning <lanning@scra.org>
13291 * Makefile.in.in: Add support for including the Windows resources
13292 when building with the cygwin and mingw targets.
13294 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13295 not set or not correct.
13296 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13297 (init_initial_directory): Don't try to use $PWD on the
13298 WIN32_NATIVE target.
13301 [[Add -mwindows to eliminate console window.]] not required --ben
13302 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13303 (MAIL_USE_POP): removed; now handled by configure.
13305 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13306 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13307 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13308 (MAIL_USE_POP): removed; now handled by configure.
13309 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13310 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13311 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13313 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13314 up from <winsock.h> via systime.h.
13315 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13316 (getpagesize): from Dan Holmsand, added.
13317 Added #endif which was left dangling by Ben's mega patch; added
13318 comment to help prevent this in the future.
13320 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13322 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13324 * console-msw.h (struct mswindows_device): Removed unnecessary
13325 cached device geometry values.
13326 Added update_tick and an accessor macro.
13327 (Lisp_Devmode): Added lrecord declaration.
13328 (struct msprinter_device): Contain devmode as a Lisp object.
13329 Added mswindows_get_selected_frame_hwnd();
13331 * console.h (struct console_methods): Indentation nitpicking.
13333 * device-msw.c (mswindows_init_device): Do not initialize geometry
13334 cache. Initialize update tick.
13335 (mswindows_device_system_metrics): Ask the device for its geometry.
13336 (global_free_2_maybe):
13337 (devmode_to_hglobal):
13338 (handle_printer_changes):
13339 (ensure_not_printing):
13340 (print_dialog_worker):
13341 (Fmsprinter_print_setup_dialog):
13342 (Fmsprinter_print_dialog):
13343 (plist_get_margin):
13344 (plist_set_margin):
13345 (Fmsprinter_page_setup_dialog): Added functions.
13346 (sync_printer_with_devmode):
13347 (handle_devmode_changes):
13348 (Fmsprinter_get_settings):
13349 (Fmsprinter_select_settings):
13350 (Fmsprinter_apply_settings):
13351 (allocate_devmode):
13352 (Fmsprinter_settings_copy):
13353 (Fmsprinter_settings_despecialize):
13355 (finalize_devmode):
13357 (hash_devmode): Added functions
13358 (syms_of_device_mswindows): Init devmode lrecord class.
13360 * device.h: Added an exfun for find-device.
13362 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13363 geometry; although, recreate the device compatible DC.
13365 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13366 (msprinter_init_frame_3):
13367 (msprinter_frame_property):
13368 (msprinter_internal_frame_property_p):
13369 (msprinter_frame_properties):
13370 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13371 print job properties (will move to device settings).
13373 * lisp.h: Added symbols.
13375 * general.c (syms_of_general): Declared them.
13377 * hash.c (string_hash): Added.
13379 * lrecord.h (lrecord_type): Added devmode lrecord type.
13381 2000-07-02 Mike Sperber <mike@xemacs.org>
13383 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13386 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13388 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13391 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13393 * data.c (Fstring_to_number): Don't recognize floating point if
13396 2000-06-22 Martin Buchholz <martin@xemacs.org>
13398 * glyphs-widget.c (tab_control_query_geometry):
13399 (widget_query_geometry):
13400 (button_query_geometry):
13401 * glyphs.c (text_query_geometry):
13402 Enforce type correctness.
13404 2000-06-18 Martin Buchholz <martin@xemacs.org>
13406 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13407 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13409 2000-06-17 Martin Buchholz <martin@xemacs.org>
13411 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13412 conflicts with gcc's fixincluded version of FOO.h.
13414 * glyphs.h (image_instance_geometry): Remove trailing `,'
13416 2000-06-08 Mike Alexander <mta@arbortext.com>
13418 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13419 (shove_thread): Don't write the same output twice
13420 (make_ntpipe_output_stream): Increase priority of shove thread
13421 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13423 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13426 2000-06-12 Ben Wing <ben@xemacs.org>
13428 * s\mingw32.h (sigset):
13429 * s\windowsnt.h (sigset):
13430 rename msw_ to mswindows_ for consistency with general convention.
13432 2000-06-12 Ben Wing <ben@xemacs.org>
13435 * console-msw.c (mswindows_get_console_hwnd):
13436 * console-msw.c (mswindows_ensure_console_allocated):
13437 * console-msw.c (mswindows_hide_console):
13438 * console-msw.c (mswindows_show_console):
13439 * console-msw.c (mswindows_ensure_console_buffered):
13440 * console-msw.c (mswindows_output_console_string):
13441 * console-msw.c (mswindows_windows9x_p):
13443 * device-msw.c (mswindows_get_workspace_coords):
13444 * device-msw.c (mswindows_device_system_metrics):
13445 * dialog-msw.c (mswindows_popup_dialog_box):
13446 * event-msw.c (mswindows_wnd_proc):
13447 * frame-msw.c (mswindows_size_frame_internal):
13448 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13449 * menubar-msw.c (displayable_menu_item):
13450 * menubar-msw.c (mswindows_char_is_accelerator):
13452 * nt.c (mswindows_sigset):
13453 * nt.c (mswindows_sigrelse):
13454 * nt.c (mswindows_sigpause):
13455 * nt.c (mswindows_raise):
13456 * nt.c (timer_proc):
13458 * ntproc.c (find_child_console):
13459 * ntproc.c (sys_kill):
13461 * print.c (std_handle_out_external):
13462 * process-nt.c (find_child_console):
13463 * process-nt.c (send_signal_the_95_way):
13464 * process-nt.c (ensure_console_window_exists):
13465 * process-nt.c (nt_create_process):
13467 rename msw_ to mswindows_ for consistency with general convention.
13471 include nt.h, not syswindows.h.
13473 * nt.c (mswindows_fstat):
13474 * nt.c (mswindows_stat):
13475 prefix mswindows_ instead of attempting to directly override the
13476 library functions. fix declarations.
13479 include syswindows.h. move some sysdep.h stuff here.
13482 include syswindows.h, not <windows.h>.
13490 * sysdep.c (sys_fstat):
13491 * sysdep.c (sys_stat):
13492 call mswindows versions when appropriate.
13495 move mswin decls to nt.h.
13498 add long comment describing appropriate use of the various windows
13501 2000-06-11 Ben Wing <ben@xemacs.org>
13503 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13505 2000-06-10 Ben Wing <ben@xemacs.org>
13507 * Makefile.in.in (release):
13508 Correction to make sure xemacs.exe always dumped when correct.
13512 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13514 * buffer.c (set_buffer_internal):
13515 [[[[2]]]]: Remove HAVE_FEP code.
13517 * buffer.c (init_initial_directory):
13521 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13525 * callproc.c (call_process_cleanup):
13526 * callproc.c (Fold_call_process_internal):
13527 * callproc.c (child_setup):
13528 * callproc.c (getenv_internal):
13529 * callproc.c (init_callproc):
13530 * callproc.c (vars_of_callproc):
13531 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13532 __CYGWIN32__ -> CYGWIN.
13533 DOS_NT -> WIN32_NATIVE.
13534 Remove MSDOS support/references, converting to WIN32_NATIVE
13536 __MINGW32__ -> MINGW.
13537 Fix windows.h includes.
13538 Remove bogus HAVE_NTGUI.
13544 mswindows_message_outputted added for use in allowing startup
13545 errors on the console to be seen.
13547 * console-msw.c (msw_ensure_console_allocated):
13548 * console-msw.c (msw_output_console_string):
13549 * console-msw.c (DHEADER):
13550 * console-msw.c (DOPAQUE_DATA):
13551 * console-msw.c (DEVENT):
13552 * console-msw.c (DCONS):
13553 * console-msw.c (DCONSCDR):
13554 * console-msw.c (DSTRING):
13555 * console-msw.c (DVECTOR):
13556 * console-msw.c (DSYMBOL):
13557 * console-msw.c (DSYMNAME):
13560 * console-stream.c (stream_init_console):
13561 Fix text/binary problems.
13564 * device-msw.c (mswindows_finish_init_device):
13565 * device-msw.c (mswindows_delete_device):
13568 * device.c (handle_asynch_device_change):
13572 * dgif_lib.c (DGifOpenFileName):
13573 * dgif_lib.c (DGifOpenFileHandle):
13574 * dgif_lib.c (DGifGetLine):
13575 * dgif_lib.c (DGifGetPixel):
13576 Added config.h/lisp.h, fix up includes.
13583 * dired.c (file_name_completion):
13584 * dired.c (Ffile_attributes):
13585 * dired.c (syms_of_dired):
13589 * dumper.c (pdump_file_unmap):
13590 * dumper.c (pdump_load):
13594 * editfns.c (Ftemp_directory):
13595 * editfns.c (user_login_name):
13596 * editfns.c (Fuser_real_login_name):
13597 * editfns.c (get_home_directory):
13600 * elhash.c (finish_marking_weak_hash_tables):
13601 [[[[5]]]]: Fix GCC warnings.
13604 * emacs.c (mswindows_handle_hardware_exceptions):
13605 * emacs.c (make_arg_list_1):
13606 * emacs.c (main_1):
13607 * emacs.c (Fkill_emacs):
13608 * emacs.c (Fdump_emacs):
13610 Fix problems with nested crashes, add long comment.
13612 * event-Xt.c (init_event_Xt_late):
13616 * event-msw.c (mswindows_dde_callback):
13617 * event-msw.c (mswindows_handle_sticky_modifiers):
13618 * event-msw.c (mswindows_wnd_proc):
13622 * events.c (character_to_event):
13626 * fileio.c (Ffile_name_directory):
13627 * fileio.c (Ffile_name_nondirectory):
13628 * fileio.c (directory_file_name):
13629 * fileio.c (Fexpand_file_name):
13630 * fileio.c (Fsubstitute_in_file_name):
13631 * fileio.c (Ffile_name_absolute_p):
13632 * fileio.c (check_executable):
13633 * fileio.c (Ffile_readable_p):
13634 * fileio.c (Ffile_accessible_directory_p):
13635 * fileio.c (Ffile_modes):
13636 * fileio.c (Funix_sync):
13637 * fileio.c (vars_of_fileio):
13640 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13642 Expand getdefdir defn.
13643 Fix bogus rename() comment.
13645 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13646 to use standard XEmacs include files, e.g. sysfile.h, rather
13647 than system-specific includes.
13653 * frame.c (vars_of_frame):
13657 * getloadavg.c (getloadavg):
13659 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13660 (We don't use it elsewhere in the code; just add a comment.)
13667 * glyphs-msw.c (mswindows_resource_instantiate):
13670 * glyphs-x.c (x_native_layout_instantiate):
13673 * gui-msw.c (Fmswindows_shell_execute):
13682 * lread.c (locate_file_in_directory_mapper):
13689 * mem-limits.h (get_lim_data):
13701 * nt.c (rva_to_section):
13702 * nt.c (mswindows_executable_type):
13704 Fix closedir() defn.
13707 [[[[8]]]]: *_OK defs moved to sysfile.h.
13716 * print.c (std_handle_out_external):
13720 * process-nt.c (nt_create_process):
13722 try to fix process quoting somewhat.
13724 * process-unix.c (unix_create_process):
13728 * process.c (vars_of_process):
13735 * realpath.c (xrealpath):
13738 * redisplay-tty.c (init_tty_for_redisplay):
13748 * sheap.c (more_static_core):
13749 * sheap.c (report_sheap_usage):
13753 * signal.c (alarm_signal):
13760 * strftime.c (zone_name):
13763 * symsinit.h (init_sunpro):
13767 commctrl.h not in Cygwin b20.1.
13770 * sysdep.c (endif):
13771 * sysdep.c (sys_subshell):
13772 * sysdep.c (init_baud_rate):
13773 * sysdep.c (emacs_get_tty):
13774 * sysdep.c (emacs_set_tty):
13775 * sysdep.c (tty_init_sys_modes_on_device):
13776 * sysdep.c (init_system_name):
13777 * sysdep.c (sys_open):
13778 * sysdep.c (interruptible_open):
13779 * sysdep.c (sys_fopen):
13780 * sysdep.c (sys_mkdir):
13781 * sysdep.c (sys_rename):
13782 * sysdep.c (get_process_times_1):
13789 * sysdir.h (DIRENTRY_NONEMPTY):
13792 * sysdll.c (dll_init):
13798 added text/binary defs.
13804 * sysproc.h (EDESTADDRREQ):
13805 * sysproc.h (poll_fds_for_input):
13822 Always define WIN32_LEAN_AND_MEAN.
13824 * unexcw.c (unexec):
13828 * unexec.c (copy_text_and_data):
13829 * unexec.c (adjust_lnnoptrs):
13833 * unexnt.c (_start):
13836 2000-06-07 Ben Wing <ben@xemacs.org>
13838 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13839 was used only as a model. We've long since extracted any useful
13840 logic or code out of this. (I just did an exhaustive search.)
13842 * s\msdos.h: Removed.
13844 * s\windows95.h: Removed.
13846 2000-06-10 Ben Wing <ben@xemacs.org>
13850 Don't use extern with fun defs.
13854 Remove nt\inc include.
13855 Remove getdisk, getdefdir. (The former is unused, the latter
13856 expanded in fileio.h.)
13859 * s\windowsnt.h (WIN32_NATIVE):
13860 * s\windowsnt.h (HAVE_STRCASECMP):
13862 Add long comment about preprocessor changes.
13863 Remove getdisk, getdefdir. (The former is unused, the latter
13864 expanded in fileio.h.)
13866 2000-06-10 Ben Wing <ben@xemacs.org>
13875 Remove bogus/unused NO_SOCK_SIGIO.
13877 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13879 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13882 2000-06-04 Mike Sperber <mike@xemacs.org>
13884 * casetab.c (set_case_table): For `set-standard-case-table',
13885 actually deposit the new case tables where the rest of XEmacs can
13888 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13890 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13892 2000-06-05 Ben Wing <ben@xemacs.org>
13894 * callproc.c (child_setup): Don't do close_load_descs() under
13895 MS Windows. Put in a comment explaining why.
13897 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13899 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13900 Toolkit shell" which breaks `kill-compilation' on Windows NT
13901 native, retaining STDERR handling improvements.
13903 2000-06-01 Andreas Jaeger <aj@suse.de>
13905 * s/s390.h: Support for S390, based on a patch by Martin
13906 Schwidefsky <schwidefsky@de.ibm.com>.
13908 2000-05-30 Andy Piper <andy@xemacs.org>
13910 * window.c (allocate_window):
13911 (make_dummy_parent):
13912 (Fset_window_configuration): use new hashtable type.
13914 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13915 (struct image_instantiator_methods):
13916 (struct Lisp_Image_Instance): make instance geometry signed.
13918 * glyphs.c (instantiate_image_instantiator):
13919 (image_instance_query_geometry):
13920 (image_instance_layout):
13921 (image_instance_layout):
13922 (query_string_geometry):
13923 (text_query_geometry):
13924 (image_instantiate):
13925 (image_instantiate):
13926 (cache_subwindow_instance_in_frame_maybe):
13927 (subwindow_query_geometry): make instance geometry signed.
13929 * glyphs-widget.c (widget_query_geometry):
13931 (button_query_geometry):
13932 (tree_view_query_geometry):
13933 (tab_control_query_geometry):
13934 (layout_query_geometry):
13936 (native_layout_layout): make instance geometry signed.
13938 2000-05-29 Olivier Galibert <galibert@pobox.com>
13940 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13943 * general.c (syms_of_general): Add Qfull_assoc symbol.
13945 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13947 (decode_weak_list_type): Decode full-assoc type.
13948 (encode_weak_list_type): Encode full-assoc type.
13949 (Fmake_weak_list): Update doc string.
13951 2000-05-30 Andy Piper <andy@xemacs.org>
13953 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13955 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13956 (decode_hash_table_weakness): ditto.
13957 (Fhash_table_weakness): ditto.
13958 (Fhash_table_type): ditto.
13959 (finish_marking_weak_hash_tables): ditto.
13960 (hash_table_weakness_validate): ditto.
13961 (syms_of_elhash): ditto.
13963 2000-05-28 Martin Buchholz <martin@xemacs.org>
13965 * XEmacs 21.2.34 is released.
13967 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13969 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13971 (updating_line_start_cache): Gone.
13972 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13973 generic code to force a minimum of 1 line laid out in the
13976 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13978 * glyphs.c (instantiate_image_instantiator): Check for initialized
13979 height & width no longer special cases IMAGE_NOTHING.
13980 (nothing_instantiate): Set height and width of instance.
13982 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13984 * unexelf.c (unexec): Search for ".data" section.
13985 Initialize new_data2_offset from old_data_index.
13986 Remove redundant check for ElfW.
13988 2000-05-23 Andy Piper <andy@xemacs.org>
13990 * glyphs.c (get_image_instantiator_governing_domain): allow more
13991 specific domains as the governing domain rather than expecting an
13992 exact match. This fixes problems with layouts.
13994 2000-05-22 Andy Piper <andy@xemacs.org>
13996 * redisplay-output.c (compare_runes): check for non-images
13998 * glyphs.c (set_glyph_dirty_p): ditto.
13999 (update_glyph_cachel_data): ditto.
14001 * glyphs-widget.c (layout_post_instantiate): ditto.
14002 (layout_post_instantiate): ditto.
14004 * event-msw.c (mswindows_wnd_proc): warning removal.
14006 2000-05-12 Craig Lanning <CraigL@DyCon.com>
14008 * s\mingw32.h: Added #undef for CLASH_DETECTION.
14010 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
14012 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
14014 * nt.c (rva_to_section): mingw32 needs rva_to_section.
14015 (mswindows_executable_type): mingw32 now has enough headers for
14018 2000-05-20 Andy Piper <andy@xemacs.org>
14020 * console-msw.c (mswindows_output_last_error): ; -> ,
14022 2000-05-12 Andy Piper <andy@xemacs.org>
14024 * console-msw.c (FROB): compare ints with ints.
14026 2000-05-11 Andy Piper <andy@xemacs.org>
14028 * glyphs-x.c (x_finalize_image_instance): make minimal build
14031 2000-05-20 Ben Wing <ben@xemacs.org>
14034 * event-Xt.c (vars_of_event_Xt):
14035 move modifier-keys-are-sticky to event-stream.c.
14038 * event-msw.c (mswindows_enqueue_mouse_button_event):
14039 * event-msw.c (key_needs_default_processing_p):
14040 * event-msw.c (XEMSW_LCONTROL):
14041 * event-msw.c (mswindows_handle_sticky_modifiers):
14042 * event-msw.c (FROB):
14043 * event-msw.c (clear_sticky_modifiers):
14044 * event-msw.c (output_modifier_keyboard_state):
14045 * event-msw.c (output_alt_keyboard_state):
14046 * event-msw.c (mswindows_wnd_proc):
14047 * event-msw.c (mswindows_modifier_state):
14048 * event-msw.c (emacs_mswindows_handle_magic_event):
14049 implement sticky modifiers.
14052 * event-stream.c (vars_of_event_stream):
14053 move modifier-keys-are-sticky here.
14056 add CHECK_FUNCTION.
14059 implement map-range-table.
14062 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
14064 * redisplay-tty.c (reset_tty_modes):
14065 (tty_redisplay_shutdown): Adjust argument type to
14066 tty_frame_output_end.
14068 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14070 * eval.c (Fbacktrace): Don't output a line with only right
14073 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
14075 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
14076 (Fpq_reset_poll): Ditto.
14078 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
14080 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
14082 2000-05-16 Ben Wing <ben@xemacs.org>
14085 * buffer.c (dfc_convert_to/from_internal_format):
14086 * buffer.c (reinit_vars_of_buffer):
14087 Fix conversion functions to allow reentrancy.
14090 * console-msw.c (mswindows_output_last_error):
14091 New fun, generally useful -- output a human-readable
14092 version of GetLastError() on the console.
14095 * console-msw.h (struct mswindows_frame):
14096 Changes for DeferWindowPos. Declare mswindows_output_last_error().
14098 * console-stream.c (stream_output_begin):
14099 * console-stream.c (stream_output_end):
14100 * console-stream.c (stream_output_vertical_divider):
14101 * console-stream.c (stream_clear_region):
14102 * console-stream.c (stream_flash):
14103 * console-stream.c (console_type_create_stream):
14104 Delete blank stream methods, not needed.
14106 * console.h (struct console_methods):
14107 Split begin/end methods into window and frame.
14110 * event-msw.c (mswindows_handle_paint):
14111 * event-msw.c (output_alt_keyboard_state):
14112 * event-msw.c (mswindows_wnd_proc):
14113 * event-msw.c (vars_of_event_mswindows):
14114 Comment about problems with ignored-expose.
14115 Define mswindows-debug-events; not really implemented.
14117 * frame-msw.c (mswindows_init_frame_1):
14121 * glyphs-msw.c (begin_defer_window_pos):
14122 * glyphs-msw.c (mswindows_unmap_subwindow):
14123 * glyphs-msw.c (mswindows_map_subwindow):
14124 * glyphs-msw.c (mswindows_resize_subwindow):
14125 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14127 * glyphs.c (make_image_instance_1):
14130 * gutter.c (Fredisplay_gutter_area):
14131 Use new begin/end methods.
14133 * lisp.h (Dynarr_new2):
14137 * redisplay-msw.c (mswindows_frame_output_begin):
14138 * redisplay-msw.c (mswindows_frame_output_end):
14139 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14140 New begin/end methods -- handle DeferWindowPos.
14142 * redisplay-output.c (redisplay_move_cursor):
14143 * redisplay-output.c (redraw_cursor_in_window):
14144 * redisplay-output.c (redisplay_update_line):
14145 * redisplay-output.c (redisplay_output_window):
14146 New begin/end methods.
14149 * redisplay-tty.c (tty_frame_output_begin):
14150 * redisplay-tty.c (tty_frame_output_end):
14151 * redisplay-tty.c (console_type_create_redisplay_tty):
14152 New begin/end methods.
14155 * redisplay-x.c (x_window_output_begin):
14156 * redisplay-x.c (x_window_output_end):
14157 * redisplay-x.c (console_type_create_redisplay_x):
14158 New begin/end methods.
14160 * redisplay.c (redisplay_frame):
14161 * redisplay.c (Fredisplay_echo_area):
14162 New begin/end methods.
14163 use MAYBE_DEVMETH for clear_frame; it may not exist.
14165 * window.h (WINDOW_XFRAME):
14166 WINDOW_XFOO macros -- get locale and decode struct pointer.
14169 2000-05-12 Ben Wing <ben@xemacs.org>
14172 * emacs.c (ensure_no_quitting_from_now_on):
14173 * emacs.c (fatal_error_signal):
14174 * emacs.c (mswindows_handle_hardware_exceptions):
14176 * emacs.c (Fkill_emacs):
14177 * emacs.c (shut_down_emacs):
14178 * emacs.c (assert_failed):
14179 various improvements in fatal error handling.
14182 move preparing_for_armageddon to emacs.c.
14185 declare fatal_error_in_progress.
14188 * print.c (std_handle_out_external):
14189 * print.c (std_handle_out_va):
14190 * print.c (stderr_out):
14191 * print.c (stdout_out):
14192 use console under mswin when no standard output.
14193 don't do code conversion during fatal error.
14195 * scrollbar.c (Fscrollbar_page_up):
14196 * scrollbar.c (Fscrollbar_page_down):
14197 fix missing else. reindent.
14199 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14203 * glyphs.h (GLYPH_CACHEL_DESCENT):
14204 (GLYPH_CACHEL_DESCENT):
14205 (GLYPH_CACHEL_DESCENT):
14206 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14207 used in case these are inline functions.
14208 Use more absurd values to error check.
14210 include window.h for error check functions.
14212 2000-05-11 Ben Wing <ben@xemacs.org>
14214 * cmdloop.c (Freally_early_error_handler):
14215 Display message box under windows; otherwise, message will disappear
14216 before it can be viewed.
14219 * console-msw.c (Fmswindows_message_box):
14220 * console-msw.c (FROB):
14221 * console-msw.c (syms_of_console_mswindows):
14222 Define new fun `mswindows-message-box'.
14223 #### I will merge this into `popup-dialog-box'; just give me
14227 * general.c (syms_of_general):
14228 Some new symbols used in `mswindows-message-box'.
14231 * glyphs.c (Fset_image_instance_property):
14232 put warning in this fun.
14235 * glyphs.h (GLYPH_CACHEL_WIDTH):
14236 * glyphs.h (GLYPH_CACHEL_ASCENT):
14237 * glyphs.h (GLYPH_CACHEL):
14238 * glyphs.h (GLYPH_CACHEL_GLYPH):
14239 define error-checking versions to try to catch a bug i've seen --
14240 redisplay gets in an infinite loop because the glyph width of the
14241 continuation glyph is 65535.
14244 Extern message-box stuff.
14246 * window.c (allocate_window):
14247 * window.c (make_dummy_parent):
14248 * window.c (Fset_window_configuration):
14249 Use EQUAL not EQ for subwindow caches to make them work a bit
14250 better. (Something is still very broken.)
14253 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14255 * glyphs.c (image_instantiate): Suppress gcc warnings.
14256 (Fmake_image_instance): Fix doc string.
14257 * specifier.c (Fmake_specifier): Ditto.
14259 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14261 * paths.h.in (PATH_LOCK): Removed.
14262 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14263 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14265 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14267 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14268 Document (featurep '(and xemacs 21.02)).
14270 2000-05-09 Ben Wing <ben@xemacs.org>
14272 * buffer.c (complex_vars_of_buffer):
14273 update modeline-format doc.
14276 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14279 timeline of all released versions of Emacs, for use in creating
14280 authorship comments and in synching up.
14282 * glyphs-widget.c (image_instantiator_buttons):
14283 * glyphs-widget.c (image_instantiator_edit_fields):
14284 * glyphs-widget.c (image_instantiator_combo_box):
14285 * glyphs-widget.c (image_instantiator_scrollbar):
14286 * glyphs-widget.c (image_instantiator_progress_guage):
14287 * glyphs-widget.c (image_instantiator_tree_view):
14288 * glyphs-widget.c (image_instantiator_tab_control):
14289 * glyphs-widget.c (image_instantiator_labels):
14290 * glyphs-widget.c (image_instantiator_layout):
14291 * glyphs-widget.c (image_instantiator_native_layout):
14292 rename decode_domain method to governing_domain.
14295 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14296 * glyphs.c (add_entry_to_device_ii_format_list):
14297 make sure we don't put an entry more than once into the list.
14298 * glyphs.c (check_instance_cache_mapper):
14299 *************************************************************
14300 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14302 *************************************************************
14303 * glyphs.c (get_image_instantiator_governing_domain):
14304 clean up, expand on new concept of governing domain.
14305 * glyphs.c (instantiate_image_instantiator):
14306 * glyphs.c (allocate_image_instance):
14307 use governing_domain instead of cache_domain in naming.
14308 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14309 * glyphs.c (make_image_instance_1):
14310 * glyphs.c (Fmake_image_instance):
14311 allow for any domain (not just device), and process the
14312 governing domain correctly. very big doc fix.
14313 * glyphs.c (Fimage_instance_domain):
14314 new primitive, to retrieve the governing domain of an image instance.
14315 * glyphs.c (image_instantiate):
14316 use new governing_domain stuff. this fixes a crash you could get
14317 by instantiating certain widget glyphs in frame locales. (should
14318 signal an error instead of crashing.)
14319 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14320 * glyphs.c (Fglyphp): clean up doc.
14321 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14322 * glyphs.c (syms_of_glyphs):
14323 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14324 * glyphs.c (image_instantiator_format_create): add some comments about
14326 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14327 for current-display-table. (Apparently Hrjove implemented in 1998 a
14328 design I wrote up in 1996, but didn't update the doc string.)
14330 * glyphs.h: clean up a doc string.
14331 * glyphs.h (governing_domain):
14332 * glyphs.h (struct image_instantiator_methods):
14333 changes for governing_domain stuff.
14336 * gutter.c (Fgutter_specifier_p):
14337 * gutter.c (Fgutter_size_specifier_p):
14338 * gutter.c (Fgutter_visible_specifier_p):
14340 * objects.c (Fcolor_specifier_p):
14341 * objects.c (Ffont_specifier_p):
14342 * objects.c (Fface_boolean_specifier_p):
14343 doc strings moved to make-*-specifier.
14345 * redisplay.c (add_disp_table_entry_runes_1):
14346 * redisplay.c (generate_fstring_runes):
14347 * redisplay.c (screen):
14348 add random comments and doc strings.
14351 * specifier.c (Fmake_specifier):
14352 major overhaul of this doc string.
14354 * specifier.c (Fvalid_specifier_domain_p):
14355 comment about the bogosity of image instances being domains.
14356 * specifier.c (decode_domain):
14357 now non-static, used in glyphs.c.
14358 * specifier.c (specifier_instance):
14359 comment about the bogosity of image instances being domains.
14360 * specifier.c (Fgeneric_specifier_p):
14361 move doc string to make-generic-specifier.
14362 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14366 * specifier.h (DOMAIN_FRAME):
14367 * specifier.h (DOMAIN_LIVE_P):
14368 * specifier.h (DOMAIN_XDEVICE):
14370 add comments about problems with these macros.
14371 prototype for decode_domain.
14374 * toolbar.c (Ftoolbar_specifier_p):
14375 move doc string to `make-toolbar-specifier'.
14377 * window.c (window_unmap_subwindows_cache_mapper):
14378 *************************************************************
14379 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14381 *************************************************************
14383 2000-05-09 Andy Piper <andy@xemacs.org>
14385 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14387 * window.c (Fset_window_configuration): reset the frame subwindow
14388 cache and re-initialize the window subwindow caches.
14390 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14392 2000-05-09 Ben Wing <ben@xemacs.org>
14394 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14397 2000-04-26 Mike Woolley <mike@bulsara.com>
14399 * ntheap.c: Changed recreate_heap to limit the amount reserved
14400 for the heap to that which is actually available. Also now
14401 displays a message box (with some dignostics) in the event that
14402 it still can't start.
14404 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14406 * callproc.c (Fold_call_process_internal): GCPRO path
14408 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14410 Patch by Bill Perry.
14412 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14413 back data instead of #ifdef.
14414 (Fscrollbar_page_down): ditto.
14416 2000-05-07 Ben Wing <ben@xemacs.org>
14419 Kludge for defining Qmswindows_tstr.
14422 * nt.c (open_input_file):
14423 * nt.c (open_output_file):
14424 * nt.c (rva_to_section):
14425 * nt.c (mswindows_executable_type):
14426 Move all memory-mapped-file routines here (some were in unexnt.c,
14427 which is bad because they are used by process-nt.c, and unexnt
14428 won't be around when portable dumping). Synched the above routines
14432 Removed ifdef'd out bogus code.
14433 Fixed some prototypes.
14435 * nt.h (file_data):
14436 * nt.h (OFFSET_TO_RVA):
14437 * nt.h (RVA_TO_OFFSET):
14438 * nt.h (RVA_TO_PTR):
14439 Moved the memory-mapped-file structures, macros and prototypes
14440 here, to parallel nt.c. ntheap.h should really be removed
14441 entirely, and it's a non-portable-dumper specific file.
14443 * ntheap.h (round_to_next):
14444 Moved the memory-mapped-file structures, macros and prototypes
14447 * ntproc.c (compare_env):
14448 Moved rva_to_section and mswindows_executable_type to nt.c.
14449 Moved compare_env to process-nt.c.
14450 ntproc.c will die, one day.
14452 * ntproc.c (sys_spawnve):
14453 Account for win32_ -> mswindows_.
14456 * process-nt.c (struct nt_process_data):
14457 * process-nt.c (ensure_console_window_exists):
14458 * process-nt.c (compare_env):
14459 * process-nt.c (nt_create_process):
14460 * process-nt.c (nt_kill_process_by_pid):
14461 * process-nt.c (syms_of_process_nt):
14462 * process-nt.c (vars_of_process_nt):
14463 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14464 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14465 changes). Eliminate our old `nt-quote-process-args' mechanism.
14466 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14467 Move compare_env here from ntproc.c.
14469 * process.c (Fprocess_send_region):
14470 Takes an optional fourth argument, BUFFER, which should fix some
14471 problems with call-process.
14474 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14477 Move ICC_BAR_CLASSES to syscommctrl.h.
14478 Add preliminary macros for MSWindows/Mule. More to come.
14481 * unexnt.c (unexec):
14482 open_output_file moved to nt.c.
14485 2000-05-05 Andy Piper <andy@xemacs.org>
14487 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14488 instance from the frame cache also since GC may catch up too late
14489 to make frame deletion sane.
14491 2000-05-04 Andy Piper <andy@xemacs.org>
14493 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14494 (x_finalize_image_instance): ungcpro on deletion.
14496 * glyphs.c (image_instantiator_format_create): give pointers a
14497 query geometry method so that the geometry is at least set.
14499 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14500 initialize layouts if using widgets.
14502 2000-05-03 Andy Piper <andy@xemacs.org>
14504 * nt.c: remove bogus reference to sysmmsystem.h
14506 * gui-x.c (popup_selection_callback): fix no selection abort.
14508 2000-05-02 Andy Piper <andy@xemacs.org>
14510 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14511 (mswindows_widget_instantiate): ditto.
14513 * glyphs-widget.c (initialize_widget_image_instance): initialize
14514 children correctly.
14515 (widget_instantiate): cope with children and items in the same
14518 * glyphs.c (mark_image_instance): cope with children as a first
14520 (image_instance_equal): ditto.
14521 (image_instance_hash): ditto.
14522 (image_instance_changed): ditto.
14524 2000-04-30 Andy Piper <andy@xemacs.org>
14526 * glyphs.c (subwindow_query_geometry): new function. Return some
14528 (subwindow_instantiate): don't assign dimensions if none have been
14530 (image_instantiator_format_create): add subwindow_query_geometry.
14531 (print_image_instance): cope with layouts as widgets.
14533 2000-04-29 Andy Piper <andy@xemacs.org>
14535 * frame.c (delete_frame_internal): call
14536 free_frame_subwindow_instance_cache so that all subwindows are
14537 finalized before their parent.
14538 (mark_frame): remove subwindow_cachels.
14539 (Fmake_frame): remove subwindow_cachel manipulation.
14540 (allocate_frame_core): subwindow_instance_cache is a weak list.
14541 (delete_frame_internal): set subwindow_instance_cache to nil.
14543 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14545 (mswindows_finalize_image_instance): use the device
14546 not the domain as the domain may have died already.
14548 * glyphs-x.c (x_finalize_image_instance): ditto.
14549 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14552 * redisplay-output.c (redisplay_unmap_subwindows): update for
14553 subwindow instance cache as a weak list.
14554 (redisplay_unmap_subwindows_maybe): ditto.
14555 (redisplay_unmap_subwindows_except_us): ditto.
14557 * glyphs.c (unmap_subwindow): error checking will check the domain
14558 so don't deal with it here. Don't use cachels anymore.
14559 (map_subwindow): ditto.
14560 (update_subwindow_cachel_data): remove old accessor names.
14561 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14562 (Fresize_subwindow): don't update cachel.
14563 (mark_subwindow_cachels):
14564 (update_subwindow_cachel_data):
14565 (add_subwindow_cachel):
14566 (get_subwindow_cachel_index):
14567 (update_subwindow_cachel):
14568 (reset_subwindow_cachels):
14569 (mark_subwindow_cachels_as_not_updated): deleted.
14570 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14571 subwindow instance to the frame cache.
14572 (find_matching_subwindow): update for subwindow instance cache as
14574 (update_widget_instances): ditto.
14575 (image_instance_type_to_mask):inlined.
14576 (free_frame_subwindow_instance_cache): new function. finalize all
14577 subwindows that are instantiated.
14579 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14580 of cachel information.
14581 (IMAGE_INSTANCE_DISPLAY_X):
14582 (IMAGE_INSTANCE_DISPLAY_Y):
14583 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14584 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14585 (XIMAGE_INSTANCE_DISPLAY_X):
14586 (XIMAGE_INSTANCE_DISPLAY_Y):
14587 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14588 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14589 remove subwindow_cachel structure and function references.
14590 (image_instance_type_to_mask): inline from glyphs.c
14592 * redisplay.c (redisplay_frame): remove subwindow_cachel
14595 * frame.h (struct frame): remove subwindow_cachels.
14596 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14598 * frameslots.h: add subwindow_instance_cache.
14600 * window.c (replace_window): check subwindow cache of replacement.
14601 (window_unmap_subwindows_cache_mapper):
14602 (window_unmap_subwindows): new functions. Unmap all subwindows
14603 cached on this window.
14604 (mark_window_as_deleted): unmap all subwindows.
14606 2000-04-27 Andy Piper <andy@xemacs.org>
14608 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14610 * glyphs-widget.c (widget_layout): return something.
14611 (layout_layout): return something. Fail if not initialized.
14612 (layout_query_geometry): ditto.
14613 (image_instantiator_native_layout): new function. Initialized the
14614 native layout type.
14615 (widget_instantiate): don't do layout stuff here.
14617 * glyphs.c (instantiate_image_instantiator): reorded calling or
14618 instantiate and post_instantiate with layout in between.
14619 (image_instance_layout): be more selective about deciding whether
14620 the layout has been done or not.
14622 * glyphs.h (struct image_instantiator_methods): return a value
14623 from layout_method.
14625 2000-04-26 Andy Piper <andy@xemacs.org>
14627 * glyphs.c (allocate_image_instance): make initial width and
14628 height unspecified. Set initialized to 0.
14630 * syscommctrl.h new file. Encapsulates commctrl.h.
14632 * syswindows.h new file. Encapsulates windows.h.
14634 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14636 * console-msw.h: ditto.
14638 * redisplay-tty.c (tty_output_display_block): remove layout references.
14640 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14641 window handle rather than just the frame.
14643 * glyphs.c (mark_image_instance): remove layout references.
14644 (print_image_instance): ditto.
14645 (image_instance_equal): ditto.
14646 (image_instance_hash): ditto.
14647 (decode_image_instance_type): ditto.
14648 (encode_image_instance_type): ditto.
14649 (image_instantiate): ditto.
14650 (allocate_glyph): ditto.
14651 (Fimage_instance_height): ditto.
14652 (Fimage_instance_width): ditto.
14653 (update_subwindow): ditto.
14655 * redisplay-x.c (x_output_display_block): recode for layouts as
14658 * redisplay-output.c (redisplay_output_layout): recode for layouts
14660 (compare_runes): remove layout references.
14662 * redisplay-msw.c (mswindows_output_display_block): recode for
14663 layouts as widgets.
14665 * glyphs-widget.c (image_instantiator_layout): remove
14666 layout_possible_dest_types.
14667 (layout_possible_dest_types): deleted.
14669 * glyphs.h (image_instance_type): remove layout references.
14670 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14671 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14672 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14674 2000-04-25 Andy Piper <andy@xemacs.org>
14676 * glyphs-widget.c (image_instantiator_buttons):
14677 (image_instantiator_edit_fields):
14678 (image_instantiator_combo_box):
14679 (image_instantiator_scrollbar):
14680 (image_instantiator_progress_guage):
14681 (image_instantiator_tree_view):
14682 (image_instantiator_tab_control):
14683 (image_instantiator_labels):
14684 (image_instantiator_layout): call default post_instantiate method.
14685 (widget_post_instantiate): new function. Simply lays out the
14688 * glyphs.h (struct image_instantiator_methods): add
14689 post_instantiate method.
14691 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14694 2000-04-23 Andy Piper <andy@xemacs.org>
14696 * glyphs.h (struct image_instantiator_methods): add
14697 decode_domain_method.
14698 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14699 derived from the domain.
14700 (IMAGE_INSTANCE_FRAME): new accessor.
14701 (XIMAGE_INSTANCE_FRAME): ditto.
14703 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14704 instead of _SUBWINDOW_FRAME.
14705 (finalize_image_instance): ditto.
14706 (Fimage_instance_foreground): ditto.
14707 (Fimage_instance_background): ditto.
14708 (image_instantiate): ditto.
14709 (update_subwindow_cachel): ditto.
14710 (update_subwindow): ditto.
14711 (unmap_subwindow): ditto.
14712 (map_subwindow): ditto
14713 (subwindow_instantiate): ditto.
14714 * glyphs-msw.c (mswindows_update_widget): ditto.
14715 (mswindows_progress_gauge_instantiate): ditto.
14716 (mswindows_tab_control_update): ditto.
14717 * glyphs-x.c (x_update_widget): ditto.
14718 (x_widget_instantiate): ditto.
14719 (x_tab_control_instantiate): ditto.
14720 (x_tab_control_update): ditto.
14721 * event-msw.c (mswindows_wnd_proc): ditto
14723 * glyphs-widget.c (image_instantiator_layout): use
14724 subwindow_decode_domain.
14725 (image_instantiator_buttons): ditto.
14726 (image_instantiator_edit_fields): ditto.
14727 (image_instantiator_combo_box): ditto.
14728 (image_instantiator_scrollbar): ditto.
14729 (image_instantiator_progress_guage): ditto.
14730 (image_instantiator_tree_view): ditto.
14731 (image_instantiator_tab_control): ditto.
14732 (image_instantiator_labels): ditto.
14733 (image_instantiator_layout): ditto.
14735 * glyphs.c: add instance error checking to many functions.
14736 (instantiate_image_instantiator): decode device from cache_domain.
14737 (image_instantiate): partially rewrite by using
14738 decode_image_instantiator_domain to determine what domain the
14739 instance needs to be cached in.
14740 (decode_image_instantiator_domain): new function. Determine what
14741 domain the image needs to be cached in.
14742 (check_window_subwindow_cache): new error checking function.
14743 (check_instance_cache_mapper): ditto.
14744 (check_image_instance_structure): ditto.
14745 (subwindow_decode_domain): new function. Encodes a window as a
14746 subwindow's cache domain.
14747 (image_instantiator_format_create): use it for text and
14750 2000-04-21 Andy Piper <andy@xemacs.org>
14752 * glyphs.c (image_instance_device): new function.
14753 (image_instance_frame): new function.
14754 (image_instance_window): new function.
14755 (image_instance_live_p): new function.
14757 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14760 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14761 (IMAGE_INSTANCE_DOMAIN): new accessor.
14762 (XIMAGE_INSTANCE_DOMAIN): ditto.
14764 * glyphs-x.c (x_finalize_image_instance): device->domain.
14766 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14767 (mswindows_finalize_image_instance): ditto.
14769 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14770 (gif_instantiate): ditto.
14771 (png_instantiate): ditto.
14772 (tiff_instantiate): ditto.
14774 * glyphs.c (instantiate_image_instantiator): use domain rather
14776 (mark_image_instance): device -> domain.
14777 (print_image_instance): ditto.
14778 (finalize_image_instance): ditto.
14779 (image_instance_equal): ditto.
14780 (allocate_image_instance): ditto.
14781 (Fcolorize_image_instance): ditto.
14782 (query_string_geometry): ditto.
14783 (image_instantiate): ditto
14784 (query_string_font): ditto.
14785 (image_instantiate): ditto.
14786 (update_subwindow): ditto.
14787 (unmap_subwindow): ditto.
14788 (map_subwindow): ditto.
14789 (subwindow_instantiate): ditto.
14791 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14792 (DOMAIN_FRAME): ditto.
14793 (DOMAIN_WINDOW): ditto.
14794 (DOMAIN_LIVE_P): ditto.
14795 (XDOMAIN_DEVICE): ditto.
14796 (XDOMAIN_FRAME): ditto.
14797 (XDOMAIN_WINDOW): ditto.
14799 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14800 a valid specifier domain.
14802 2000-04-19 Andy Piper <andy@xemacs.org>
14804 * glyphs-widget.c (syms_of_glyphs_widget): remove
14805 widget-callback-current-channel.
14806 (vars_of_glyphs_widget): ditto.
14809 * gui.c (get_gui_callback): revert to previous behaviour.
14811 2000-04-18 Andy Piper <andy@xemacs.org>
14813 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14814 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14815 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14817 * glyphs.c (image_instance_equal): add margin_width.
14818 (image_instance_hash): ditto.
14820 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14821 (layout_query_geometry): ditto.
14822 (layout_layout): ditto.
14823 (syms_of_glyphs_widget): add margin-width.
14824 (image_instantiator_layout): allow margin-width.
14826 * glyphs.c (update_widget_instances): make a normal function.
14827 (syms_of_glyphs): remove Qupdate_widget_instances.
14830 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14831 so that we don't corrupt ideas about the last event or
14832 command. Remove widget-callback-current-channel fiddling.
14833 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14835 2000-05-01 Martin Buchholz <martin@xemacs.org>
14837 * XEmacs 21.2.33 is released.
14839 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14841 * make-src-depend: Allow dots in header file name.
14843 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14845 * mule-charset.h (struct charset_lookup): Add
14846 next_allocated_1_byte_leading_byte and
14847 next_allocated_2_byte_leading_byte.
14848 * mule-charset.c: Move above two variables so that those values
14851 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14853 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14854 when string length is zero.
14855 (find_charsets_in_emchar_string): Ditto.
14857 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14859 * lisp.h: extern Qdialog and Qmenubar.
14861 * gui-x.c: added events.h.
14862 also fixed typo which made the file uncompilable.
14864 * general.c: Added Qmenubar and Qdialog
14866 2000-04-28 Ben Wing <ben@xemacs.org>
14868 * frame-msw.c (mswindows_init_frame_1):
14869 * frame-msw.c (mswindows_mark_frame):
14870 * event-msw.c (mswindows_enqueue_dispatch_event):
14872 * console-msw.h (struct mswindows_frame):
14873 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14874 there are now three hash tables for callbacks.
14875 mswindows_enqueue_dispatch_event is no longer static.
14877 * dialog-x.c (maybe_run_dbox_text_callback):
14878 * dialog-x.c (dbox_descriptor_to_widget_value):
14879 switch to new cons3 form for callbacks.
14881 * glyphs-msw.c (mswindows_register_gui_item):
14882 * glyphs-msw.c (mswindows_widget_instantiate):
14883 * glyphs-msw.c (add_tree_item):
14884 * glyphs-msw.c (add_tab_item):
14885 new image instance parameter, so it can be passed to callback-ex.
14886 respect :callback-ex as well as :callback.
14888 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14891 * glyphs.c (print_image_instance):
14892 prettify, e.g. now prints widget type.
14895 certain funs have new image instance parameter.
14898 * gui.c (get_gui_callback):
14899 * gui.c (gui_item_add_keyval_pair):
14900 * gui.c (gui_item_init):
14901 * gui.c (gui_add_item_keywords_to_plist):
14902 * gui.c (mark_gui_item):
14903 * gui.c (gui_item_hash):
14904 * gui.c (gui_item_equal):
14905 * gui.c (copy_gui_item):
14906 * gui.c (syms_of_gui):
14907 recognize callback-ex in a number of places.
14908 also, fix the annoying "can't get out of yes-no dialog" bug.
14911 * gui.h (struct Lisp_Gui_Item):
14912 recognize callback-ex in a number of places.
14914 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14915 new parameter in button_item_to_widget_value.
14917 * glyphs-x.c (x_update_widget):
14918 * glyphs-x.c (x_button_instantiate):
14919 * glyphs-x.c (x_button_update):
14920 * glyphs-x.c (x_progress_gauge_instantiate):
14921 * glyphs-x.c (x_edit_field_instantiate):
14922 * glyphs-x.c (x_combo_box_instantiate):
14923 * glyphs-x.c (x_tab_control_instantiate):
14924 * glyphs-x.c (x_label_instantiate):
14925 new image instance parameter in various places.
14928 * event-Xt.c (enqueue_Xt_dispatch_event):
14929 this fun gets exported.
14932 * gui-msw.c (mswindows_handle_gui_wm_command):
14933 handle both :callback and :callback-ex, and generate our own
14934 event because it's one of the callback-ex arguments.
14937 * gui-x.c (popup_selection_callback):
14938 handle both :callback and :callback-ex, and generate our own
14939 event because it's one of the callback-ex arguments.
14940 * gui-x.c (button_item_to_widget_value):
14941 * gui-x.c (gui_items_to_widget_values_1):
14942 * gui-x.c (gui_item_children_to_widget_values):
14943 * gui-x.c (gui_items_to_widget_values):
14944 new image instance parameter in various places.
14946 * fns.c (Freplace_list):
14947 fix small typo in doc string.
14950 declare enqueue_Xt_dispatch_event.
14952 2000-04-28 Ben Wing <ben@xemacs.org>
14955 * buffer.c (Frecord_buffer):
14956 * buffer.c (syms_of_buffer):
14957 delete record-buffer-hook.
14960 * fns.c (Freplace_list):
14961 * fns.c (syms_of_fns):
14962 new primitive replace-list.
14965 slot for old buffer-alist.
14968 exfun replace-list.
14971 * redisplay.c (redisplay_frame):
14972 * redisplay.c (syms_of_redisplay):
14973 * redisplay.c (vars_of_redisplay):
14974 new hook buffer-list-changed-hook.
14977 2000-04-27 Ben Wing <ben@xemacs.org>
14979 * extents.h: extern in_modeline_generation.
14981 * redisplay.c (generate_formatted_string_db): set
14982 in_modeline_generation.
14984 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14985 flags if in modeline generation. otherwise frame-modified-tick
14986 is ticked far too often.
14987 Declare in_modeline_generation.
14989 2000-04-26 Ben Wing <ben@xemacs.org>
14991 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14993 (vars_of_emacs): add quick-build as an error-checking option.
14994 A bit kludgy, but there doesn't seem much point in creating
14995 a real var for this.
14997 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14999 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
15001 * redisplay.h (struct display_line): Add a new variable,
15004 * redisplay.c (create_text_block): Set dl->line_continuation if
15005 the line continues.
15006 (create_string_text_block): Ditto.
15007 (regenerate_window_incrementally): Use line_continuation instead
15008 of searching continuation glyph.
15009 (add_margin_runes): Call add_glyph_rune.
15010 (add_glyph_rune): Handle margin glyph.
15012 2000-04-20 Martin Buchholz <martin@xemacs.org>
15014 * filelock.c (fill_in_lock_file_name):
15016 Check for IS_ANY_SEP instead of '/'.
15018 Avoid generating gratuitous garbage. Call user_login_name() directly.
15019 Never check errno without first seeing that system call failed.
15020 (unlock_file): Add GCPRO.
15021 (Flock_buffer): Fix docstring.
15022 (Ffile_locked_p): Fix docstring. Add GCPRO.
15024 2000-04-19 Martin Buchholz <martin@xemacs.org>
15026 * sysdep.c (get_pty_max_bytes):
15027 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
15028 strings longer than 252 bytes.
15030 * md5.c: Unconditionally include ANSI header <limits.h>
15032 * glyphs-x.c (convert_EImage_to_XImage):
15033 * lisp-union.h (union Lisp_Object):
15034 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
15036 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
15038 * filelock.c (current_lock_owner): Remove unused variable o, p.
15040 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
15042 * callint.c: Remove multiply defined symbol Qlet
15043 (syms_of_callint): ditto.
15045 2000-04-14 Andy Piper <andy@xemacs.org>
15047 * general.c (syms_of_general): add last-command, this-command, let
15050 * lisp.h: declare various symbols.
15052 * glyphs.h: declare Qwidget_callback_current_channel;
15054 * glyphs-widget.c (syms_of_glyphs_widget): add
15055 Qgui_callback_current_channel.
15056 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
15058 * gui-msw.c (mswindows_handle_gui_wm_command): bind
15059 widget-callback-current-channel when invoking the interactive
15060 arg. Also bind last-command and next-command when invoking the
15062 * gui-x.c (popup_selection_callback): ditto.
15064 * gui.c (get_gui_callback): massage args so that we are always
15065 calling eval. This allows us to add our own variable bindings
15068 * glyphs-x.c (x_button_instantiate): use
15069 gui_items_to_widget_values since this is GC safe.
15070 (x_progress_gauge_instantiate): ditto.
15071 (x_edit_field_instantiate): ditto.
15072 (x_label_instantiate): ditto.
15074 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
15075 (emacs_Xt_event_widget_focus_out): new function
15076 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
15078 (emacs_Xt_event_add_widget_actions): new function. add focus
15079 functions as actions.
15080 (init_event_Xt_late): use it.
15082 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
15084 * event-stream.c (Fdispatch_event): Doc fix.
15086 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
15088 * postgresql.c: Remove all references to PQsetenv*.
15090 * postgresql.h: Remove references to PGsetenvHandler object.
15091 * lrecord.h (lrecord_type): Ditto.
15093 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15095 * glyphs-msw.h (struct mswindows_image_instance_data): Added
15096 real_heigh and real_width members, and accessor macros for these.
15098 * glyphs-msw.c (init_image_instance_geometry): New function.
15099 (init_image_instance_from_dibitmap): Use it.
15100 (mswindows_resource_instantiate): Use it.
15101 (init_image_instance_from_xbm_inline): Use it.
15102 (mswindows_initialize_image_instance_mask): Use real bitmap
15104 (mswindows_create_resized_bitmap): Ditto.
15105 (mswindows_create_resized_mask): Ditto.
15107 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15108 and bitmap to their surface size.
15110 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15112 * process-unix.c (unix_send_process): Guard against process MIA
15113 after Faccept_process_output.
15115 2000-04-11 Ben Wing <ben@xemacs.org>
15117 * eval.c (unbind_to_hairy): fix brokenness introduced by
15118 nanosecond speed improvements.
15120 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15122 * sunplay.c (init_device): To play sounds correctly, the device
15123 apparently needs to be initialized at least once by XEmacs. Make
15126 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15128 * redisplay.c (add_margin_runes): Add text image glyph
15131 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15133 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15134 gcc is newer than 2.5.
15136 2000-04-06 Colin Rafferty <colin@xemacs.org>
15138 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15140 * fns.c (size_bit_vector):
15141 * alloc.c (size_vector):
15142 (make_vector_internal):
15143 (make_bit_vector_internal):
15144 (sweep_bit_vectors_1):
15145 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15147 2000-04-06 Andy Piper <andy@xemacs.org>
15149 * gmalloc.c (malloc): undo previous change.
15154 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15156 * line-number.c (buffer_line_number): Revert to former version.
15158 2000-04-06 Andy Piper <andy@xemacs.org>
15160 * gmalloc.c (malloc): add error checking.
15165 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15166 button_item_to_widget_value arg.
15168 * glyphs-x.c (x_button_instantiate): add extra
15169 button_item_to_widget_value arg.
15170 (x_progress_gauge_instantiate): ditto.
15171 (x_edit_field_instantiate): ditto.
15172 (x_label_instantiate): ditto.
15174 * gui-x.c (gui_items_to_widget_values_1): add extra
15175 button_item_to_widget_value arg.
15176 (button_item_to_widget_value): add extra menu_item_p arg.
15178 * gui-x.h: change signature of button_item_to_widget_value.
15180 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15181 button_item_to_widget_value arg.
15183 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15185 * buffer.h (struct buffer): auto_save_modified should be long.
15187 2000-04-05 Andy Piper <andy@xemacs.org>
15189 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15191 (button_query_geometry): give a little more room so that athena
15194 2000-04-05 Andy Piper <andy@xemacs.org>
15196 * faces.c (complex_vars_of_faces): The widget face should inherit
15197 the font of the gui-element face.
15199 2000-04-04 Andy Piper <andy@xemacs.org>
15201 * glyphs-x.c (x_button_update): new function. unconditionally
15202 update a button's state when the instance is dirty.
15203 (image_instantiator_format_create_glyphs_x): add x_button_update.
15204 (x_widget_instantiate): remove old resize cruft.
15206 2000-04-02 Andy Piper <andy@xemacs.org>
15208 * frame.c (change_frame_size_1): The introduction of gutters means
15209 that we need to allow 0 as a potential frame dimension.
15211 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15213 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15214 image glyph if allow_cursor.
15215 (add_hscroll_rune): Don't allow cursor to border glyph.
15216 (create_text_block): Ditto.
15218 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15219 text not in buffer.
15220 (redisplay_output_layout): Call ensure_face_cachel_complete for
15224 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15226 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15228 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15231 * redisplay-tty.c (tty_output_display_block): Delete the routine
15232 for text image glyph
15233 * redisplay-x.c (x_output_display_block): ditto
15234 * redisplay-msw.c (mswindows_output_display_block): ditto
15236 2000-02-02 Mike Alexander <mta@arbortext.com>
15238 Note: Some of these were committed by accident as part of other
15241 * regex.c (regex_compile): Avoid compiler warnings.
15243 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15245 * nt.h: Declare term_ntproc correctly.
15247 * nt.c: Remove incorrect declaration of get_home_directory which
15248 is declared correctly in lisp.h.
15250 * keymap.c (get_keyelt): Avoid compiler warnings.
15251 (raw_lookup_key_mapper): Avoid compiler warnings.
15253 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15255 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15257 * filemode.c (mode_string): Avoid compiler warnings.
15259 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15262 * events-mod.h: Undef some things that winuser.h defines differently.
15264 * data.c (Faset): Avoid compiler warnings.
15266 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15268 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15270 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15271 Fall through to simple beep on error.
15272 Replace "extern" by real header file.
15274 * linuxplay.c: Use nativesound.h
15275 (play_sound_data): Return error code. Be less verbose on error.
15277 * sunplay.c: Use nativesound.h
15278 (play_sound_data): Return error code. Be less verbose on error.
15280 * ntplay.c: Use nativesound.h
15281 (play_sound_data): Return fake error code
15283 * sgiplay.c: Use nativesound.h
15284 (play_sound_data): Return error code
15286 * hpplay.c: Use nativesound.h, partially implement
15287 new error code. Break compilation until finished.
15288 (play_sound_data): error code.
15290 * nativesound.h (play_sound_file):
15291 (play_sound_data): Prototype in new header.
15293 2000-03-31 Andy Piper <andy@xemacs.org>
15295 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15296 for toggle and radio buttons.
15297 (image_instantiator_buttons): use it.
15299 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15301 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15302 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15303 found. Scrollbar event probably belonged to some old config.
15305 2000-03-31 Andy Piper <andy@xemacs.org>
15307 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15309 (initialize_widget_image_instance): default layout to
15310 LAYOUT_HORIZONTAL rather than 0.
15311 (widget_instantiate): reverse the item list at the end rather than
15313 (layout_layout): re-code for the border text at the front of the
15314 item list rather than at the end.
15315 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15316 provided by the user.
15317 (widget_query_geometry): comment.
15319 2000-03-30 Andy Piper <andy@xemacs.org>
15321 * glyphs-widget.c (image_instantiator_layout): allow standard
15322 widget keywords in layouts.
15324 * gutter.c (output_gutter): cope with nil gutter contents.
15326 * frame.c (Fset_frame_properties): add gutter docs.
15328 2000-03-29 Andy Piper <andy@xemacs.org>
15330 * toolbar-msw.c (TBSTYLE_FLAT): add.
15331 (mswindows_output_toolbar): minor fiddling.
15333 2000-03-29 Andy Piper <andy@xemacs.org>
15335 * gutter.c (output_gutter): force gutter size recalculation if
15336 what we are trying to display won't fit.
15337 (update_gutter_geometry): new function. A per-gutter version of
15338 update_frame_gutter_geometry.
15339 (update_frame_gutter_geometry): use it.
15340 (redraw_exposed_gutter): add extra debugging output.
15342 2000-03-28 Mike Alexander <mta@arbortext.com>
15344 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15345 (pdump_file_unmap): Implement it on Windows
15346 (pdump_file_get): Save alocated handles for pdump_file_unmap
15348 2000-03-28 Andy Piper <andy@xemacs.org>
15350 * gui.c (get_gui_callback): treat Quit specially.
15352 2000-03-27 Andy Piper <andy@xemacs.org>
15354 * glyphs.c (image_instantiate): be careful to check in the same
15357 2000-03-27 Didier Verna <didier@xemacs.org>
15359 * config.h.in: define the proper SMART_INCLUDE macro.
15360 handle renaming of `foo_h_path' to `foo_h_file'.
15362 * database.c: ditto.
15366 * linuxplay.c: ditto.
15368 * terminfo.c: ditto.
15370 * tooltalk.h: ditto.
15372 2000-03-27 Andy Piper <andy@xemacs.org>
15374 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15375 gets updated whenever the face might have changed.
15377 2000-03-26 Mike Alexander <mta@arbortext.com>
15379 * dumper.c (pdump_resource_free): Fix the comment.
15381 2000-03-21 Olivier Galibert <galibert@pobox.com>
15383 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15385 2000-03-22 Mike Alexander <mta@arbortext.com>
15387 * dumper.c: Include Windows headers on Windows
15388 (pdump_resource_free): Add a body to the function
15389 (pdump_load): exe_name -> exe_path and add some comments.
15391 2000-03-25 Mike Alexander <mta@arbortext.com>
15393 * gui.c (copy_gui_item_tree): Return a value in all cases
15395 2000-03-21 Didier Verna <didier@xemacs.org>
15397 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15399 (SMART_INCLUDE): new macro.
15400 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15401 the proper location.
15403 * postgresql.c: use it.
15407 2000-03-24 Andy Piper <andy@xemacs.org>
15409 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15412 2000-03-24 Andy Piper <andy@xemacs.org>
15414 * redisplay-output.c (compare_runes): use image_instance_changed
15415 to detect changes. Do not depend on glyphs_changed, only depend on
15417 (redisplay_output_layout): add debug messages.
15418 (compare_runes): ditto.
15420 * glyphs.h: declare new functions.
15421 (struct Lisp_Image_Instance): remove percent and associated
15424 * gui.h: declare new copying functions.
15426 * gui.c (copy_gui_item_tree): new function.
15427 (copy_gui_item): new function.
15428 (gui_item_id_hash): revert to standard hash.
15429 (gui_item_hash): ditto.
15430 (gui_item_hash_internal): deleted.
15431 (mark_gui_item): mark value.
15432 (gui_item_add_keyval_pair): add value.
15433 (gui_item_init): ditto.
15434 (gui_add_item_keywords_to_plist): ditto.
15435 (gui_item_equal): ditto.
15436 (syms_of_gui): add Q_value.
15438 * glyphs-x.c (x_progress_gauge_update): use pending items and
15439 value for setting the state.
15440 (x_update_widget): don't set items from pending here.
15442 * glyphs-widget.c (update_widget): update items here.
15443 (progress_gauge_set_property): use items for storing value. Put
15444 new value in pending items.
15446 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15447 items for new value. Convert percent -> value.
15448 (mswindows_tab_control_update): don't update items here.
15450 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15451 (update_subwindow): ditto.
15452 (image_instance_changed): new function. Compare hash values and
15453 past and present widget items.
15454 (image_instantiate): We more careful about where we instantiate
15456 (image_instantiate): add error checking.
15458 * gutter.c (syms_of_gutter): use -hook.
15460 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15462 * console-tty.c (Fset_console_tty_input_coding_system): Use
15464 (Fset_console_tty_output_coding_system): Use Qterminal.
15465 (tty_init_console): Use Qkeyboard and Qterminal.
15467 2000-03-21 Ben Wing <ben@xemacs.org>
15469 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15470 From Mike Alexander <mta@arbortext.com>.
15472 2000-03-21 Ben Wing <ben@xemacs.org>
15474 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15475 process brokenness. Proper implementation to come.
15477 Rename call-process-internal to old-call-process-internal.
15478 New impl. in process.el.
15480 2000-03-21 Martin Buchholz <martin@xemacs.org>
15482 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15484 2000-03-20 Andy Piper <andy@xemacs.org>
15486 * glyphs.c (full_list_hash): make hashes of the same elements in
15487 different orders return different values.
15489 2000-03-20 Martin Buchholz <martin@xemacs.org>
15491 * XEmacs 21.2.32 is released.
15493 2000-03-20 Martin Buchholz <martin@xemacs.org>
15495 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15496 (DFC_MALLOC_USE_CONVERTED_DATA):
15497 Add aliasing-safe casts to allow use with char* or unsigned char*
15500 * eldap.c (Fldap_open):
15501 (Fldap_search_basic):
15504 Make C++-compilable.
15505 Make sure GCPRO'ed variables are initialized.
15506 Use temp variables to avoid repeated calls to Flength.
15508 2000-03-16 Martin Buchholz <martin@xemacs.org>
15511 Make sure PATH_MAX is always defined.
15512 Include limits.h for PATH_MAX.
15513 Deprecate use of MAXPATHLEN.
15515 2000-03-10 Martin Buchholz <martin@xemacs.org>
15517 * emacs.c: Add reinit_vars_of_fileio.
15518 * symsinit.h: Add reinit_vars_of_fileio.
15519 * fileio.c (reinit_vars_of_fileio): New.
15520 * fileio.c (Fmake_temp_name):
15521 Initialize temp_name random number from microseconds to make
15522 collisions even less likely. Initialize always at process startup
15523 time. (make-temp-name) used to return the same file name twice in
15525 Random stylistic fiddling.
15528 2000-03-20 Andy Piper <andy@xemacs.org>
15530 * glyphs.c (image_instantiate): allow text glyphs to be
15531 instantiated in the minibuffer window.
15533 2000-03-19 Andy Piper <andy@xemacs.org>
15535 * glyphs.c (image_instance_hash): be careful about which items we
15538 * glyphs-widget.c (tab_control_set_property): record into pending
15539 items rather than the actual items.
15541 * glyphs-x.c (x_update_widget): use pending items to update with.
15543 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15546 * glyphs.c (mark_image_instance): mark pending items.
15548 * window.c (Fset_window_configuration): record the buffer.
15549 (Fselect_window): totally revert previous change which breaks many
15552 2000-03-18 Andy Piper <andy@xemacs.org>
15554 * glyphs-msw.c (mswindows_tab_control_update): force selected
15557 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15558 window domain cache, otherwise we get inconsistencies at
15559 startup. There is something fishy at startup which can lead to the
15560 minibuffer being the selected window when the gutter content is
15563 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15565 (parse_gui_item_tree_children): ditto.
15566 (parse_gui_item_tree_item): ditto.
15568 * glyphs.c (Fupdate_widget_instances): return something.
15570 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15572 * window.c (Fselect_window): Undo 2000-03-17 change.
15574 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15576 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15577 against v7.0 libraries. Insta-coredump city until the postgres
15580 2000-03-17 Andy Piper <andy@xemacs.org>
15582 * faces.c (complex_vars_of_faces): don't give the widget face an
15583 inherited background pixmap.
15585 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15588 * event-stream.c (Fdispatch_non_command_events): return something.
15590 * gutter.c (output_gutter): use widget face.
15591 (clear_gutter): ditto.
15593 * NEWS: adjust again.
15595 * window.c (Fselect_window): make sure this runs to completion to
15596 avoid oddities with Fset_window_configuration.
15597 (Fcurrent_window_configuration): in general do not save the
15598 minibuffer as the selected window.
15600 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15602 2000-03-16 Olivier Galibert <galibert@pobox.com>
15604 * emacs.c (Frunning_temacs_p): Revert previous patch.
15605 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15607 2000-03-16 Andy Piper <andy@xemacs.org>
15609 * glyphs-x.c (x_tab_control_update): if no widget values then
15612 * NEWS: update for new features.
15614 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15615 synthetic event to the native system.
15616 (reinit_vars_of_event_Xt): set force_event_pending to
15617 emacs_Xt_force_event_pending.
15619 * events.h (struct event_stream): add force_event_pending.
15621 * specifier.c (recompute_one_cached_specifier_in_window): add
15624 * redisplay.c (redisplay_frame): don't call
15625 update_frame_subwindows. Reset subwindow cachels when
15626 subwindows_changed, removing this was an optimization too far.
15628 * redisplay-output.c (compare_runes): reorganize so that we catch
15629 glyph changes when we want them. Set optimize_output when this
15630 would help layouts.
15631 (redisplay_output_layout): remove frame_really_changed, use
15632 optimize_output instead.
15634 * redisplay-msw.c (mswindows_output_display_block): reset
15635 optimize_output after outputting a glyph.
15636 * redisplay-x.c (x_output_display_block): ditto.
15637 * redisplay-tty.c (tty_output_display_block): ditto.
15639 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15641 (gutter_specs_changed): do specific gutter positions.
15642 (top_gutter_specs_changed): new function. Only update the
15643 specified gutter specs.
15644 (bottom_gutter_specs_changed): ditto.
15645 (left_gutter_specs_changed): ditto.
15646 (right_gutter_specs_changed): ditto.
15648 * gui.c (gui_item_hash_internal): new function, does a real hash.
15649 (gui_item_id_hash): use it.
15650 (gui_item_hash): hash the eval'ed gui_item.
15652 * gui-x.c (popup_selection_callback): send an eval event to call
15653 Fupdate_widget_instances.
15655 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15656 to call Fupdate_widget_instances.
15658 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15659 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15661 * glyphs.c: (update_frame_subwindows): deleted.
15662 (Fupdate_widget_instances): new function for updating the dirty
15663 state of widgets that might have changed.
15664 (syms_of_glyphs): add Qupdate_widget_instances.
15665 (full_list_hash): hash a list completely.
15666 (image_instance_hash): use it for items and properties.
15668 * frame-msw.c (mswindows_size_frame_internal): remove unused
15671 * faces.h (struct face_cachel): fix comment.
15673 * event-stream.c (Fdispatch_non_command_events): new
15674 function. Process non-command events, forcing an event cycle
15676 (syms_of_event_stream): declare.
15677 (event_stream_force_event_pending): new function. Force an event
15678 on the native event queue so that an event cycle will occur next
15682 (struct ntpipe_shove_stream):
15683 (mswindows_enqueue_dispatch_event):
15684 (mswindows_dequeue_dispatch_event):
15685 (mswindows_cancel_dispatch_event):
15686 (mswindows_pump_outstanding_events):
15687 (mswindows_drain_windows_queue):
15688 (mswindows_handle_paint):
15689 (mswindows_wnd_proc):
15690 (mswindows_key_to_emacs_keysym):
15691 (get_process_input_waitable):
15692 (emacs_mswindows_delete_stream_pair): re-indent file.
15693 (mswindows_need_event): do not process further fds if the windows
15694 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15695 fixes the 100% cpu problem.
15696 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15698 2000-03-15 Olivier Galibert <galibert@pobox.com>
15704 * emacs.c: Moved dump file searching to dumper.c.
15705 (Frunning_temacs_p): Fixed.
15707 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15708 last_lrecord_type_index_assigned.
15710 2000-02-20 Olivier Galibert <galibert@pobox.com>
15712 * symsinit.h: Added reinit parameter to init_console_stream
15715 * lisp.h: Added file parameter to pdump_load declaration.
15717 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15718 support. Added dump file searching.
15720 * config.h.in: Added EMACS_PROGNAME.
15722 * console-stream.c (init_console_stream): Fix reinitialisation
15723 when running from temacs.
15725 * alloc.c (pdump): Add id support.
15726 (pdump_load): Add file parameter and signature/id support.
15728 * Makefile.in.in: Add full pdump support.
15730 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15732 * postgresql.c: Update documentation to reflect latest code
15734 (print_result): Show tuple counts in printed representation when
15736 (Fpq_put_nbytes): MULE-ize.
15737 (Fpq_get_line_async): Ditto.
15739 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15741 * postgresql.c (Fpq_lo_import): Fix return value.
15742 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15744 2000-03-13 Ben Wing <ben@xemacs.org>
15746 * alloc.c (pdump_load):
15747 Fix compile warning under mswin.
15749 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15751 * postgresql.c: Mule-ization, bug fixes.
15752 Use PG_CODING to encapsulate coding system name changes.
15753 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15754 (pg-coding-system): Create.
15756 (Fpq_conn_defaults): Mule-ize.
15757 (Fpq_connectdb): Mule-ize & bug fix.
15758 (Fpq_connect_start): Mule-ize.
15759 (Fpq_set_client_encoding): Mule-ize.
15760 (Fpq_finish): Document `DEAD' connection status.
15761 (Fpq_clear): Ditto.
15762 (Fpq_pgconn): Mule-ize.
15763 (Fpq_exec): Mule-ize & bug fix.
15764 (Fpq_send_query): Ditto.
15765 (Fpq_get_result): Ditto.
15766 (Fpq_res_status): Mule-ize.
15767 (Fpq_result_error_message): Mule-ize.
15768 (Fpq_ntuples): fix comments.
15769 (Fpq_fname): Mule-ize.
15770 (Fpq_fnumber): Mule-ize.
15771 (Fpq_ftype): fix comments.
15772 (Fpq_get_value): Mule-ize.
15773 (Fpq_cmd_status): Ditto.
15774 (Fpq_cmd_tuples): Ditto.
15775 (Fpq_oid_value): Ditto.
15776 (Fpq_notifies): Ditto.
15777 (Fpq_lo_import): Ditto.
15778 (Fpq_lo_export): Ditto.
15779 (Fpq_get_line): Ditto.
15780 (Fpq_put_line): Mule-ize and bug fix.
15781 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15783 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15785 * postgresql.c (vars_of_postgresql): Mule-ize.
15786 (Fpq_conn_defaults): Ditto.
15788 2000-03-12 Ben Wing <ben@xemacs.org>
15790 * alloc.c (Fmake_byte_code):
15791 * alloc.c (debug_string_purity_print):
15792 * alloc.c (pdump_backtrace):
15793 * alloc.c (pdump_get_indirect_count):
15794 * alloc.c (pdump_register_sub):
15795 * alloc.c (pdump_register_object):
15796 * alloc.c (pdump_register_struct):
15797 * alloc.c (pdump_dump_data):
15798 * alloc.c (pdump_reloc_one):
15802 * console-msw.c (GetConsoleHwnd):
15803 * console-msw.c (msw_hide_console):
15804 * console-msw.c (msw_show_console):
15805 * console-msw.c (msw_ensure_console_buffered):
15806 * console-msw.c (msw_output_console_string):
15807 * console-msw.c (console_type_create_mswindows):
15809 a) Added functions to manipulate the console window for use with
15812 b) Added support for writing text to the console, which is now
15813 used under Windows when xemacs is not being run non-interactively,
15814 to write text that would otherwise be destined for stdout because
15815 under these circumstances, text written to stdout tends to
15816 disappear and not be seen.
15820 * event-Xt.c (x_event_to_emacs_event):
15821 * event-Xt.c (describe_event_window):
15822 * events-mod.h (XEMACS_MOD_CONTROL):
15824 * events.c (Fmake_event):
15825 * events.c (character_to_event):
15826 * events.c (event_to_character):
15827 * events.c (format_event_object):
15828 * events.c (Fevent_modifiers):
15830 * events.h (struct key_data):
15831 * events.h (struct button_data):
15832 * events.h (struct misc_user_data):
15833 * frame-x.c (Fcde_start_drag_internal):
15834 * frame-x.c (Foffix_start_drag_internal):
15835 * gpmevent.c (Freceive_gpm_event):
15837 * keymap.c (bucky_sym_to_bucky_bit):
15838 * keymap.c (control_meta_superify):
15839 * keymap.c (make_key_description):
15840 * keymap.c (keymap_lookup_directly):
15841 * keymap.c (create_bucky_submap):
15842 * keymap.c (keymap_store):
15843 * keymap.c (define_key_check_and_coerce_keysym):
15844 * keymap.c (define_key_parser):
15845 * keymap.c (define_key_alternate_name):
15846 * keymap.c (Fdefine_key):
15847 * keymap.c (raw_lookup_key_mapper):
15848 * keymap.c (struct map_keymap_unsorted_closure):
15849 * keymap.c (map_keymap_unsorted_mapper):
15850 * keymap.c (map_keymap_sort_predicate):
15851 * keymap.c (map_keymap_sorted):
15852 * keymap.c (accessible_keymaps_mapper_1):
15853 * keymap.c (where_is_recursive_mapper):
15854 * keymap.c (describe_map_mapper):
15855 * keymap.c (describe_map_sort_predicate):
15856 * keymap.c (describe_map):
15857 * keymap.c (complex_vars_of_keymap):
15858 And a number of other files, the key modifier preprocessor
15859 constants that xemacs uses have names that conflict with constants
15860 defined under MS Windows for other purposes, so they were renamed
15861 to begin with the prefix XEMACS_. The variables that hold such
15862 modifiers were changed to consistently be of type int to fix
15863 various compile warnings.
15865 * console.c (complex_vars_of_console):
15868 * device-msw.c (mswindows_finish_init_device):
15869 * device-msw.c (msw_get_workspace_coords):
15870 * device-msw.c (mswindows_device_system_metrics):
15871 and various other files, added support for a new
15872 device property called offset-workspace which returns the position
15873 of the upper left corner of the workspace area and goes along with
15874 the existing size-workspace property.
15877 * dialog-msw.c (push_bufbyte_string_as_unicode):
15878 * dialog-msw.c (mswindows_popup_dialog_box):
15879 Added support for XEmacs-style accelerator specifications in
15880 button text. Note: I didn't add support for this under X Windows,
15881 and somebody needs to do this.
15884 * dialog.c (Fpopup_dialog_box):
15885 Documented the support for accelerators that was just mentioned.
15887 editfns.c (get_home_directory): Changed behavior under Windows
15888 when HOME not defined; former behavior was irretrievably broken.
15891 * emacs.c (main_1):
15893 * minibuf.c (clear_echo_area_internal):
15894 * minibuf.c (echo_area_append):
15896 * print.c (std_handle_out_external):
15897 * print.c (std_handle_out_va):
15899 * print.c (write_string_to_stdio_stream):
15900 * print.c (output_string):
15901 * print.c (debug_print):
15902 * print.c (debug_backtrace):
15903 * print.c (debug_short_backtrace):
15904 Cleaned up the code that prints text to stdout so that this can be
15905 changed to output into a console window instead under MS Windows,
15906 as described above.
15909 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15910 * eval.c (internal_catch):
15911 * eval.c (unwind_to_catch):
15912 * eval.c (throw_or_bomb_out):
15913 * eval.c (condition_case_1):
15914 * eval.c (signal_1):
15915 * eval.c (check_error_state_sanity):
15916 * eval.c (call_with_suspended_errors_1):
15917 * eval.c (call_with_suspended_errors):
15918 * eval.c (reinit_vars_of_eval):
15919 Added code to catch throw loops and check for a pesky bug that may
15923 * event-msw.c (key_needs_default_processing_p):
15924 * event-msw.c (mswindows_wnd_proc):
15925 * event-msw.c (mswindows_modifier_state):
15926 * event-msw.c (emacs_mswindows_quit_p):
15927 * event-msw.c (vars_of_event_mswindows):
15928 a) Added support for using the alt key to select menu items as is
15929 standard under MS Windows. This is controlled using the variable
15930 menu-accelerator-enabled, just like under X Windows. There is an
15931 option on the options menu to turn this support on. I really
15932 think that it should be on by default under Windows, but I'm not
15933 going to make this change yet.
15935 b) Added support for dynamic display size changes under Windows.
15938 * event-stream.c (maybe_echo_keys):
15939 * event-stream.c (Fnext_event):
15940 * event-stream.c (command_builder_find_leaf):
15941 * event-stream.c (lookup_command_event):
15942 * event-stream.c (execute_command_event):
15943 * event-stream.c (pre_command_hook):
15944 * event-stream.c (post_command_hook):
15945 * event-stream.c (syms_of_event_stream):
15946 * event-stream.c (vars_of_event_stream):
15947 * event-stream.c (complex_vars_of_event_stream):
15948 * events.h (struct command_builder):
15950 a) Tried to clean up a little bit the horribly written x-specific
15951 accelerator code that crept into this file. I moved this code
15952 into menubar-x.c where it belongs. I also needed to move the
15953 command builder structure into the file events.h because it is
15954 accessed directly by this accelerator code. What I didn't do, but
15955 which should be done at some point, is to properly abstract this
15956 code using device methods instead of the kludgy way that it
15957 currently hooks into the event code.
15959 b) Added the lisp variables this-command-properties and
15960 last-command- properties, which should be used to synchronize two
15961 adjacent commands in preference to playing games with the variable
15962 this-command, which is typically what happens.
15964 c) Added some slightly nasty code to hook into the lisp support
15965 for shifted- motion-key selection. This is actually necessary for
15966 somewhat complicated reasons, which are described in
15967 simple.el. (NB: I think the proper thing would be to have the code
15968 that calls the pre and post command hooks also call out to generic
15969 lisp functions in simple.el, where all built-in stuff could be
15970 added. I will think about this more.)
15972 * event-unixoid.c (poll_fds_for_input):
15973 * lread.c (readchar):
15974 * redisplay-tty.c (tty_clear_frame):
15975 * redisplay-x.c (x_get_gc):
15976 * signal.c (interrupt_signal):
15977 And a whole bunch of other files: fixed up places that printed
15978 directly to stderr to instead call the function stderr_out so that
15979 the changes I made under Windows work correctly.
15981 * filemode.c (mode_string):
15985 * frame-msw.c (mswindows_size_frame_internal):
15986 Fixed the computation of frame size and position to keep the frame
15987 within the workspace area, rather than within the physical
15988 dimensions of the screen, so that the frame doesn't overlap window
15989 manager decorations, such as the start menu and toolbar, typically
15990 at the bottom of the screen.
15992 * frame.c (vars_of_frame):
15993 Changed the default frame title format under MS Windows to consist
15994 of buffername-XEmacs, which is standard under MS Windows. I think
15995 it might be a good idea to change this everywhere because I think
15996 it is superior to the current frame title format, but this is the
15997 kind of change that is likely to cause some people to get annoyed,
15998 so I'm not making it.
16000 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
16002 * gui-msw.c (mswindows_handle_gui_wm_command):
16003 Fixed compile warnings.
16006 * gui-x.c (strdup_and_add_accel):
16007 * gui-x.c (button_item_to_widget_value):
16009 Added code to automatically put an accelerator onto the beginning
16010 of menu items that don't have one as is now the standard, and is
16011 described more later. Also fixed things so that the menu item
16012 name can be an evaluated expression, again a new standard.
16015 * gui.c (gui_item_add_keyval_pair):
16016 * gui.c (make_gui_item_from_keywords_internal):
16017 * gui.c (gui_add_item_keywords_to_plist):
16018 * gui.c (gui_item_accelerator):
16019 * gui.c (gui_name_accelerator):
16020 * gui.c (gui_item_included_p):
16021 * gui.c (gui_item_display_flush_left):
16022 * gui.c (gui_item_display_flush_right):
16023 * gui.c (parse_gui_item_tree_item):
16024 * gui.c (parse_gui_item_tree_children):
16025 * gui.c (parse_gui_item_tree_list):
16026 Mule-ized. Cleanup. GCPRO addition.
16028 * line-number.c (buffer_line_number):
16030 * lisp.h (EMACS_INT_MAX):
16031 Added the manifest constant EMACS_INT_MIN corresponding to the
16032 existing constant EMACS_INT_MAX. This is partially to fix compile
16033 warnings under Windows, and partly for cleanliness.
16036 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
16037 * menubar-msw.c (msw_translate_menu_or_dialog_item):
16038 * menubar-msw.c (displayable_menu_item):
16039 * menubar-msw.c (populate_menu_add_item):
16040 * menubar-msw.c (populate_or_checksum_helper):
16041 * menubar-msw.c (populate_menu):
16042 * menubar-msw.c (update_frame_menubar_maybe):
16043 * menubar-msw.c (prune_menubar):
16044 * menubar-msw.c (msw_char_is_accelerator):
16045 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
16046 * menubar-msw.c (mswindows_handle_wm_command):
16047 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
16048 * menubar-msw.c (mswindows_handle_wm_initmenu):
16049 * menubar-msw.c (mswindows_update_frame_menubars):
16050 * menubar-msw.c (mswindows_free_frame_menubars):
16051 * menubar-msw.c (mswindows_popup_menu):
16052 Fixed a bug in handling accelerators where an extra character
16053 would be displayed in the menu item. Also generalized the
16054 function displayable_menu_item because it is now used by the
16055 dialog box code as well. And finally, added code in the functions
16056 that create the menubar to extract a list of accelerators for the
16057 top level menubar, which is used in the event code to determine
16058 whether a particular alt-key combination should be used to invoke
16059 a menu item, or should be passed through to access the standard
16060 XEmacs keymap binding for this key combination.
16062 Much needed GCPROing.
16065 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
16066 * menubar-x.c (menu_item_descriptor_to_widget_value):
16067 * menubar-x.c (restore_in_menu_callback):
16068 * menubar-x.c (x_popup_menu):
16069 * menubar-x.c (menu_move_up):
16070 * menubar-x.c (menu_move_down):
16071 * menubar-x.c (menu_move_left):
16072 * menubar-x.c (menu_move_right):
16073 * menubar-x.c (menu_select_item):
16074 * menubar-x.c (command_builder_operate_menu_accelerator):
16075 * menubar-x.c (menu_accelerator_junk_on_error):
16076 * menubar-x.c (command_builder_find_menu_accelerator):
16077 * menubar-x.c (Faccelerate_menu):
16079 Moved a whole bunch of code here that was previously in
16080 event-stream.c as described above. There is also code connected
16081 to the new standard of adding an accelerator to the beginning of
16082 menu items that don't have one as described above and below.
16085 * menubar.c (menu_parse_submenu_keywords):
16086 * menubar.c (Fmenu_find_real_submenu):
16087 * menubar.c (Fnormalize_menu_item_name):
16088 * menubar.c (syms_of_menubar):
16089 * menubar.c (vars_of_menubar):
16090 * menubar.c (complex_vars_of_menubar):
16092 a) Cleaned up a bunch of documentation and improved it.
16094 b) XEmacs now automatically adds an accelerator onto the beginning
16095 of any menu items that don't have one. I did this because there
16096 will inevitably be some menu items on the main menubar that don't
16097 have accelerators on them because the package that adds that
16098 particular menu item hasn't yet been fixed up to have accelerators
16099 in them and it looked rather strange to have some items with and
16100 some items without accelerators, especially since even in items
16101 without accelerators, you can, at least under windows, still
16102 access the item through an accelerator corresponding to the first
16103 character in the item's name. If people don't like this behavior,
16104 I can add a variable to turn it off optionally, but I'm not sure
16105 this is a good idea because we really do need to have accelerators
16106 on all of the menu items, and if a package doesn't like the
16107 accelerators being put on the first character, then it should put
16108 the accelerators where they belong.
16110 c) I made a behavior change, which is that the descriptor that
16111 specifies the text of the menu item, which formerly was just a
16112 string, can now also be an evaluated expression. This makes this
16113 descriptor parallel with all of the others, which could also be
16114 evaluated expressions. This also obviates the need for the
16115 keyword :label, which was previously listed in the documentation
16116 as unimplemented, and which was for the same purpose.
16121 * ntproc.c (new_child):
16122 * ntproc.c (sys_spawnve):
16123 * ntproc.c (find_child_console):
16124 * ntproc.c (sys_kill):
16125 Fixed compile warnings. By the way, this file should really go
16126 away entirely, and this will happen as soon as Kirill makes his
16127 final round of process cleanups, which affect the function
16131 * process-nt.c (struct nt_process_data):
16132 * process-nt.c (find_process_from_pid):
16133 * process-nt.c (send_signal_the_nt_way):
16134 * process-nt.c (enable_child_signals):
16135 * process-nt.c (find_child_console):
16136 * process-nt.c (send_signal_the_95_way):
16137 * process-nt.c (nt_finalize_process_data):
16138 * process-nt.c (ensure_console_window_exists):
16139 * process-nt.c (nt_create_process):
16140 * process-nt.c (nt_kill_child_process):
16141 * process-nt.c (nt_kill_process_by_pid):
16142 * process-nt.c (nt_open_network_stream):
16143 * process-nt.c (vars_of_process_nt):
16144 Copied over code from Emacs 20.5 to correctly send signals to sub-
16145 processes under Windows 95. Also added code to automatically
16146 create and hide console window when a sub-process is created under
16147 Windows 95, which obviates the need for the separate runemacs.exe
16148 executable, and finally implemented some variables that were
16149 implemented in Emacs 20.5, but previously not in XEmacs. These
16150 include mswindows- start-process-share-console and
16151 mswindows-start-process-inherit-error-mode. (Both of these only
16152 apply to Windows 95.)
16154 * regex.c (regex_compile): Fixed a compile warning.
16157 * select-msw.c (mswindows_own_selection):
16158 * select-msw.c (mswindows_get_foreign_selection):
16159 * select-msw.c (mswindows_disown_selection):
16160 * select-msw.c (console_type_create_select_mswindows):
16161 * select-msw.c (syms_of_select_mswindows):
16162 Cleaned up the file and implemented the device method
16163 selection_exists_p, which had accidentally been left out. Also
16164 removed four lisp functions that were remnants from before the
16165 time when the selection code was properly device abstracted.
16166 These functions are no longer needed because there are generic
16167 equivalents, and because they were added recently and don't exist
16168 in FSF Emacs, I don't think there's any problem with just deleting
16172 * sysdep.c (sys_subshell):
16173 Fixed a compile warning, although in this case there's probably
16174 something wrong with this code, and it ought to be looked into
16175 more thoroughly by somebody who understands it.
16178 * window.c (Fwindow_text_area_height):
16179 * window.c (Fwindow_width):
16180 * window.c (Fwindow_full_width):
16181 * window.c (Fwindow_pixel_width):
16182 * window.c (debug_print_window):
16183 * window.c (syms_of_window):
16184 Added functions window-text-area-height and window-full-width,
16185 which are functions for returning various width and height
16186 characteristics of a window. (One of these functions is necessary
16187 for making the file dialog box work correctly, and the other one
16188 was added for completeness.) Also added a table to the
16189 documentation for window-height which describes the entire scheme
16190 for accessing width and height characteristics of a window.
16192 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16194 * nt.c (fstat): Added a comment for another problem with
16195 non-encapsulated [f]stat(), reported by Adrian Aichner
16196 <aichner@ecf.teradyne.com>.
16198 2000-03-11 Andy Piper <andy@xemacs.org>
16200 * window.c (make_dummy_parent): initialize subwindow instance
16202 (Fset_window_configuration): zero extent_modiff.
16204 2000-03-10 Andy Piper <andy@xemacs.org>
16206 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16207 more changes can be triggered.
16208 (Fredisplay_frame): ditto.
16209 (Fredraw_device): ditto.
16210 (Fredisplay_device): ditto.
16211 (redisplay_frame): make non-static.
16212 (redisplay_frame): call update_frame_gutter_geometry outside of
16215 * gutter.h: declare update_frame_gutter_geometry.
16217 * redisplay.h: declare redisplay_frame.
16219 * gutter.c (update_frame_gutter_geometry): move geometry changes
16220 in update_frame_gutters here. Geometry changes can only occur
16221 outside of redisplay.
16222 (update_frame_gutters): remove geometry change code.
16223 (Fredisplay_gutter_area): make sure that we are in display when we
16224 update and that we have flushed any size changes.
16226 2000-03-11 Andy Piper <andy@xemacs.org>
16228 * alloc.c (pdump_dump_data): remove i & count shadows.
16230 2000-02-27 Mike Alexander <mta@arbortext.com>
16232 * sysdep.h: Declare pdump_read_file
16234 * sysdep.c (pdump_read_file): New function
16236 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16239 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16241 * lrecord.h: add `lrecord_type_pgsetenv'.
16243 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16245 * symsinit.h: declare (vars|syms)_of* functions.
16246 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16248 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16250 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16252 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16255 * emacs.c (main_1): Call postgres initialization code.
16257 * postgresql.h: New file. PostgreSQL RDBMS support.
16258 * postgresql.c: New file.
16260 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16262 * redisplay-output.c (redisplay_output_display_block): Disable
16265 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16267 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16268 (Fcanna_henkan_next): Ditto.
16269 (Fcanna_bunsetu_henkou): Ditto.
16270 (Fcanna_henkan_kakutei): Ditto.
16271 (Fcanna_henkan_end): Ditto.
16272 (Fcanna_henkan_quit): Ditto.
16273 (Fcanna_henkan_next): Set retun value correctly.
16274 (c2mu): Use unsigned char instead of signed char.
16276 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16278 * emacs.c (main_1): Always call syms_of_gui.
16279 * inline.c: include gui.h
16281 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16283 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16284 converted to Lisp_Object.
16285 (Qtop_bottom): New variable.
16286 (syms_of_redisplay): Initialize it.
16287 * redisplay.h (Vvisible_bell): Ditto.
16288 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16289 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16290 only flash top and bottom.
16292 2000-03-08 Andy Piper <andy@xemacs.org>
16294 * buffer.c (Frename_buffer): record new buffer name the right way.
16296 2000-03-08 Andy Piper <andy@xemacs.org>
16298 * glyphs.c (update_subwindow): increase hash depth so that widget
16299 items get picked up properly.
16301 * redisplay-output.c (compare_runes): increase hash depth so that
16302 widget items get picked up properly.
16304 2000-03-08 Andy Piper <andy@xemacs.org>
16306 * gutter.c (output_gutter): add some debug.
16308 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16309 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16310 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16312 * redisplay-output.c (compare_runes): use display_hash to
16313 determine if glyphs really are not the same.
16315 * glyphs.c (update_subwindow): check display_hash to see if
16316 anything really needs to be updated. If not then do
16317 nothing. Record the display_hash after updating.
16318 (image_instance_equal): compare the image_instance face also.
16320 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16322 * redisplay.h: Fix comment style.
16324 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16326 * consle-msw.h (struct mswindows_frame):
16327 Added new member paint_pending to indicate whether a WM_PAINT
16328 magic event has been queued for this frame.
16330 * event-msw.c (mswindows_drain_windows_queue):
16331 Don't queue a WM_PAINT magic event if one is already queued.
16332 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16334 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16336 2000-03-07 Didier Verna <didier@xemacs.org>
16338 * dired.c: #include `regex.h' after `sysfile.h'.
16340 2000-03-06 Martin Buchholz <martin@xemacs.org>
16342 * sound.c (init_nas_sound): Fix compiler warning.
16344 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16346 (MARK_STRUCT_AS_FREE):
16347 (MARK_STRUCT_AS_NOT_FREE):
16348 Make `gcc -fstrict-aliasing' work properly.
16350 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16352 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16353 (mswindows_delete_device): Call CoUnnitialize().
16355 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16357 2000-02-25 <CraigL@DyCon.com>
16359 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16362 * sysdep.c: This extern declaration for environ prevents MinGW
16363 from finding the variable in CRTDLL.DLL.
16365 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16367 (SHGFI_EXETYPE): ..
16368 (WM_MOUSEWHEEL): ..
16369 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16371 (MMRESULT): Removed, now defined in cygwin's windows headers.
16373 (uid_t,gid_t,pid_t,ssize_t): ..
16374 (_timeb): Removed, MinGW defines both _timeb and timeb.
16375 (HAVE_H_ERRNO): Added.
16376 (HAVE_TZNAME): Added, configure is not detecting this.
16378 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16380 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16381 * syntax.c (syntax_match): Use it.
16383 * cmds.c: Import auto-fill-chars from FSF Emacs.
16384 (Vauto_fill_chars): New variables.
16385 (internal_self_insert): Check Vauto_fill_chars.
16387 Declare auto-fill-chars as a Lisp variable and initialize it.
16389 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16391 * fileio.c (Fmake_symbolic_link):
16393 Run handlers even if local machine doesn't have symlinks.
16395 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16397 * event-msw.c (mswindows_drain_windows_queue):
16398 Don't generate paint magic events for non-XEmacs frames.
16400 2000-03-05 Andy Piper <andy@xemacs.org>
16402 * redisplay.c (redisplay_frame): generate_displayable_area and
16403 friends assumes that we are not in GC, we therefore have to make
16404 sure that this doesn't happen.
16406 * gutter.c (calculate_gutter_size): generate_displayable_area
16407 assumes that we are not in GC, we therefore have to make sure that
16408 this doesn't happen.
16410 2000-03-05 Martin Buchholz <martin@xemacs.org>
16412 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16414 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16416 * redisplay.c (regenerate_window): Make sure we set a sane value
16417 for end_pos even if we jump out of the loop.
16418 (regenerate_window): Answer Ben's question :-).
16419 (start_end_of_last_line): Add may_error argument.
16420 (start_of_last_line):
16421 (end_of_last_line): Pass may_error = 0.
16422 (end_of_last_line_may_error): New function.
16423 (pixel_to_glyph_translation): Use it, so we don't crash in
16426 2000-03-04 Andy Piper <andy@xemacs.org>
16428 * window.h (struct window): add gutter_extent_modiff.
16430 * window.c (allocate_window): zero out gutter_extent_modiff.
16432 * redisplay.h: declare sync_display_line_structs.
16434 * redisplay.c (add_glyph_rune): add a better comment.
16436 * redisplay-output.c (sync_display_line_structs): made non-static.
16437 (compare_runes): remove unneccesary glyph cachel access.
16439 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16441 * gutter.c (output_gutter): don't output the gutter if extent
16442 changes only involve extents in buffers. use 4 sets of display
16444 (gutter_extent_signal_changed_region_maybe): new function. Mark
16445 extents in gutters as changed.
16446 (update_frame_gutters): use 4 sets of display lines.
16447 (reset_gutter_display_lines): ditto.
16448 (free_frame_gutters): ditto.
16449 (redraw_exposed_gutter): force output of gutters.
16451 * frame.h (struct frame): add 4 sets of gutter display lines.
16453 * extents.c: (extent_changed_for_redisplay): signal changes to
16454 extents in strings in the gutter as well as extents in buffers.
16456 2000-03-02 Andy Piper <andy@xemacs.org>
16458 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16460 * frame.c (Fmake_frame): make sure the gutters get initialized
16461 after the frame is visible.
16462 (set_frame_selected_window): re-arrange compilation macros a
16464 (change_frame_size_1): mark gutters changed.
16466 * device.c (Fset_device_class): mark gutters changed.
16468 2000-03-01 Andy Piper <andy@xemacs.org>
16470 * window.c (window_top_frame_gutter_height): deleted.
16471 (window_bottom_frame_gutter_height): ditto.
16472 (window_left_frame_gutter_height): ditto.
16473 (window_right_frame_gutter_height): ditto.
16474 (window_top_gutter_height): don't use them.
16475 (window_bottom_gutter_height): ditto.
16476 (window_left_gutter_width): ditto.
16477 (window_right_gutter_width): ditto.
16478 (Fsplit_window): ditto.
16479 (Fwindow_pixel_edges): don't use border dimensions here.
16481 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16482 (update_scrollbar_instance): ditto.
16484 * redisplay.c (generate_modeline): don't take gutters into account.
16485 (generate_modeline): ditto.
16486 (redisplay_frame): small gutter display optimization.
16488 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16490 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16491 gutters into account.
16493 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16494 for window position and type.
16496 * gutter.c (get_gutter_coords): fix for frame gutters.
16497 (update_frame_gutters): update frame geometry if the gutters have
16499 (init_frame_gutters): record current gutter geometries.
16501 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16503 (mswindows_widget_instantiate): ditto.
16505 * frame.h (struct frame): add current_gutter_bounds.
16507 * frame.c (change_frame_size_1): position window and minibuffer
16508 appropriately taking into account the frame gutters.
16510 * frame-x.c: (x_initialize_frame_size): take into account the
16513 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16515 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16517 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16519 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16521 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16523 * file-coding.c (reset_decoding_stream): Clear previous
16524 detection state when autodetect.
16526 2000-02-29 Didier Verna <didier@xemacs.org>
16528 * extents.c (set_extent_glyph_1): don't require extents to be
16531 2000-02-27 Andy Piper <andy@xemacs.org>
16533 * gutter.c (Fset_default_gutter_position): don't default left and
16534 right gutter visibility to t.
16535 (Fset_default_gutter_position): run
16536 default-gutter-position-changed-hook.
16537 (syms_of_gutter): add default-gutter-position-changed-hook.
16539 2000-02-26 Andy Piper <andy@xemacs.org>
16541 * specifier.c (Fmake_specifier): add gutter references.
16543 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16545 * lisp.h: declare Fvalid_plist_p.
16547 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16549 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16550 well as its visibility so that it gets reconstructed.
16551 (construct_window_gutter_spec): new function. Construct a string
16552 to be displayed in the gutter from a plist of strings. Take care
16553 to only use elements that are declared as visible.
16554 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16556 (gutter_validate): allow plists of strings in the specifier.
16557 (gutter_specs_changed): construct the real_gutter from the gutter
16558 specs using construct_window_gutter_spec.
16559 (gutter_visible_validate): gutter-visible is a new specifier type.
16560 (Fgutter_visible_specifier_p): new function for the new specifier.
16561 (syms_of_gutter): declare gutter-visible and
16562 Fgutter_visible_specifier_p.
16563 (specifier_type_create_gutter): intitalize new gutter-visible
16565 (reinit_specifier_type_create_gutter): ditto.
16566 (specifier_vars_of_gutter): use new specifier type for gutter
16568 (init_frame_gutters): construct real_gutter correctly.
16569 (Fgutter_specifier_p): beef up documentation.
16570 (Fgutter_size_specifier_p): ditto.
16572 * winslots.h: add real_gutter slots.
16574 2000-02-25 Andy Piper <andy@xemacs.org>
16576 * device-msw.c: Be kind to older cygwin versions. From Raymond
16577 Toy <toy@rtp.ericsson.se>.
16579 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16580 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16582 2000-02-25 Martin Buchholz <martin@xemacs.org>
16584 * elhash.c (MARK_OBJ): Practice macro hygiene.
16586 2000-02-24 Martin Buchholz <martin@xemacs.org>
16588 * miscplay.c: s/__inline__/inline/g;
16589 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16590 (get_device_compdc): INLINE ==> static inline
16591 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16592 find -name '*.h' | \
16593 xargs global-replace \
16594 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16596 2000-02-25 Andy Piper <andy@xemacs.org>
16598 * window.c (window_top_frame_gutter_height): new function.
16599 (window_top_window_gutter_height): ditto.
16600 (window_top_gutter_height): use them.
16601 (window_bottom_frame_gutter_height): new function.
16602 (window_bottom_window_gutter_height): ditto.
16603 (window_bottom_gutter_height): use them.
16604 (window_left_window_gutter_width): new function.
16605 (window_left_frame_gutter_width): ditto.
16606 (window_left_gutter_width): use them.
16607 (window_right_window_gutter_width): new function.
16608 (window_right_frame_gutter_width): ditto.
16609 (window_right_gutter_width): use them.
16610 (window_pixel_height): new function. calulate window pixel height
16611 with frame gutter involvement.
16612 (Fsplit_window): calculate new sizes taking frame gutters into
16614 (window_char_height_to_pixel_height): don't include frame gutters.
16615 (window_char_height): use window_pixel_height.
16616 (window_pixheight): rename from window_pixel_height.
16617 (change_window_height): use it.
16618 (window_pixel_height_to_char_height): don't include frame gutters.
16619 (window_char_width_to_pixel_width): ditto.
16621 2000-02-25 Andy Piper <andy@xemacs.org>
16623 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16626 2000-02-24 Martin Buchholz <martin@xemacs.org>
16628 * alloc.c (staticpro):
16629 (staticpro_nodump):
16634 (compact_string_chars):
16635 (pdump_dump_wired):
16636 Convert: if (foo) abort(); ==> assert (! foo);
16638 * eldap.c (Fldap_search_basic):
16642 Fix compiler warnings, and possible crashes if (random) return
16643 value were to be used.
16645 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16647 * device-msw.c: Workaround ResetDC failure.
16649 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16650 applying a devmode.
16652 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16653 (mswindows_text_width): Do not start printer page.
16655 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16657 * glyphs-msw.c: Added image methods to msprinter console and
16658 msprinter-specific image instantiation.
16660 2000-02-20 Mike Alexander <mta@arbortext.com>
16662 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16663 to avoid crashes when selection-sets-clipboard is on
16664 (mswindows_own_selection): ditto
16666 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16669 * redisplay-msw.c (get_frame_dc):
16670 (get_frame_compdc):
16672 * device-msw.c (mswindows_init_device):
16673 (mswindows_delete_device):
16674 (msprinter_init_device):
16675 (msprinter_delete_device):
16676 * frame-msw.c (mswindows_init_frame_1):
16677 (mswindows_delete_frame):
16678 (msprinter_init_frame_3):
16679 (msprinter_delete_frame): Move compatible DC to device object from
16680 frame object, for both mswindows and msprinter. Only one at a time
16681 is needed, it is a real waste to have one per frame!
16683 2000-02-23 Andy Piper <andy@xemacs.org>
16685 * glyphs.c: add dynamic width and height elements.
16686 (image_instance_equal): ditto.
16688 * glyphs-widget.c (widget_query_geometry): calculate width and
16689 height dynamically if required.
16690 (initialize_widget_image_instance): initialize dynamic dimensions.
16691 (widget_instantiate): pick-up dynamic dimensions.
16693 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16694 dynamic determination. Add appropriate macros.
16696 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16698 (WINDOW_GUTTER_SIZE): ditto.
16699 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16701 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16703 (get_frame_dc): ditto.
16705 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16708 2000-02-23 Martin Buchholz <martin@xemacs.org>
16710 * XEmacs 21.2.31 is released.
16712 2000-02-22 Ben Wing <ben@xemacs.org>
16714 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16716 2000-02-22 Andy Piper <andy@xemacs.org>
16718 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16720 2000-02-21 Mike Sperber <mike@xemacs.org>
16724 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16727 2000-02-21 Mike Sperber <mike@xemacs.org>
16729 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16731 2000-02-21 Martin Buchholz <martin@xemacs.org>
16733 * XEmacs 21.2.30 is released.
16735 2000-02-20 Martin Buchholz <martin@xemacs.org>
16737 Performance hacking.
16739 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16740 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16741 * emacs.c (main_1):
16743 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16744 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16745 * symeval.h (DEFVAR_SYMVAL_FWD):
16746 * symbols.c (guts_of_unbound_marker):
16747 Make all c_readonly objects also lisp_readonly and marked for life.
16748 * lrecord.h (struct lrecord_implementation):
16749 Document flags better.
16750 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16751 * lrecord.h (DECLARE_LRECORD):
16752 * lrecord.h (XSETRECORD):
16753 * lrecord.h (RECORDP):
16754 * lrecord.h (RECORD_TYPEP):
16755 * lrecord.h (RECORD_MARKER): New.
16756 * lrecord.h (error_check_*):
16757 * lrecord.h (CONCHECK_NONRECORD):
16758 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16759 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16760 * lrecord.h (set_lheader_implementation):
16761 * lrecord.h (enum lrecord_type): New.
16762 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16763 * alloc.c (disksave_object_finalization_1):
16764 * alloc.c (mark_object):
16765 * alloc.c (lrecord_type_index):
16766 * alloc.c (tick_lcrecord_stats):
16767 * alloc.c (Fgarbage_collect):
16768 * alloc.c (init_alloc_once_early):
16769 * alloc.c (pdump_load):
16770 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16771 * alloc.c (lrecord_type_index): Delete.
16772 Make lisp object type indexes be constant.
16773 Makes (byte-compile) 5% faster.
16774 Put all marker functions into their own array.
16775 Makes (garbage-collect) 5% faster.
16776 Optimize SYMBOL_VALUE_MAGIC_P.
16777 Makes (byte-compile) 2-3% faster.
16778 * config.h.in (gc_checking_assert): New.
16779 * alloc.c: Use gc_checking_assert().
16780 * .dbxrc: Make compatible with new object type implementation.
16781 * .gdbinit: Make compatible with new object type implementation.
16782 * alloc.c: Delete all symbols defined only for debugging, such as
16783 Lisp_Type_Vector and lrecord_charset.
16785 2000-02-21 Andy Piper <andy@xemacs.org>
16787 * gui-msw.c (Fmswindows_shell_execute): fix file location
16790 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16791 unshowing so that set_window_buffer doesn't undo
16792 kill_buffer_hook's hard work.
16794 * glyphs-widget.c (tab_control_query_geometry): don't count the
16795 first item when calculating geometry.
16797 * glyphs.c (map_subwindow): remove redundant code.
16798 (update_frame_subwindows): be more circumspect about when to
16801 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16802 when items haven't changed. Update faces if faces have changed as
16803 well as just the widget face.
16804 (x_tab_control_update): Update faces if faces have changed as well
16805 as just the widget face.
16807 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16809 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16811 (build_syscolor_string): Use mswindows_color_to_string to try to
16813 (mswindows_device_system_metrics): Reverse the foreground and
16814 background colors so that they match the documentation.
16816 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16817 they match the default Windows palette.
16818 (mswindows_color_to_string): New function.
16820 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16822 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16824 2000-02-18 Olivier Galibert <galibert@pobox.com>
16826 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16827 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16829 * symbols.c (init_symbols_once_early): Removed obsolete
16830 DATA_SEG_BITS related kludge.
16831 (defvar_magic): Ditto.
16833 * malloc.c: Removed obsolete DATA_SEG_BITS
16835 * mem-limits.h: Ditto.
16837 * Makefile.in.in: Removed obsolete HAVE_SHM
16840 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16842 * device-msw.c (mswindows_delete_device): Free DDE string
16845 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16847 * keymap.c (get_keyelt):
16848 * unexnt.c (unexec):
16849 * vm-limit.c (memory_warnings):
16850 * ntheap.c (recreate_heap):
16851 * ntheap.h (UNINIT_PTR):
16852 * select-msw.c (Fmswindows_get_clipboard):
16853 (Fmswindows_set_clipboard):
16854 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16856 * menubar-msw.c (displayable_menu_item):
16858 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16859 * sysdep.c (sys_subshell):
16860 * process-nt.c (nt_create_process):
16861 * nt.c (normalize_filename):
16862 (dostounix_filename):
16863 (unixtodos_filename):
16864 * ntproc.c (win32_executable_type):
16865 * ntplay.c (play_sound_data_1):
16867 * editfns.c (get_home_directory):
16868 * event-msw.c (struct winsock_stream):
16869 (mswindows_dde_callback):
16870 * device-msw.c (msprinter_init_device):
16871 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16873 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16874 mswindows_clear_toolbar were swapped!
16876 * objects-msw.c:(colormap_t):
16878 * emacs.c (struct standard_args): Fixed const jumble.
16880 * glyphs-widget.c (update_widget): Fixed comparison notation.
16882 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16884 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16885 __declspec(noreturn) syntax.
16887 2000-02-19 Martin Buchholz <martin@xemacs.org>
16889 * eldap.c (Fldap_open):
16890 (Fldap_search_basic):
16893 Use new coding system conversion macros.
16895 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16897 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16899 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16901 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16902 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16904 * eldap.c (Qadd, Qreplace): New constant symbols
16905 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16906 interruptions by XEmacs signals
16907 Remove unnecessary calls to slow_down_interrupts and
16908 speed_up_interrupts
16909 (Fldap_search_basic): Renamed from Fldap_search_internal
16910 Added new optional parameter VERBOSE that triggers the
16911 display of progress messages
16912 Remove unnecessary calls to slow_down_interrupts and
16913 speed_up_interrupts
16914 LDAP result code analysis rewritten
16915 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16916 (syms_of_eldap): Define the new symbols and functions
16919 2000-02-17 Martin Buchholz <martin@xemacs.org>
16921 * realpath.c: Determine PATH_MAX maximally portably.
16923 * insdel.c (bytecount_to_charcount): Optimize.
16924 The function used to be optimized for entirely ASCII sequences.
16925 Now it is optimized for successive characters from the same
16926 charset. This also wins big for _mostly_ ASCII sequences.
16928 * fileio.c (Ffile_truename): convert return from realpath() using
16929 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16930 - Rewrite GCPROing slightly.
16932 * sysdep.c (sys_open): Do filename conversion, like all other
16933 sys_* functions. Fixes bug:
16934 (let ((file-name-coding-system 'iso-8859-2))
16935 (write-region x y latin2-name))
16936 ==> writes filename using internal encoding.
16938 2000-02-18 Martin Buchholz <martin@xemacs.org>
16940 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16941 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16942 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16943 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16944 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16945 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16946 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16947 (CONST_IF_NOT_DEBUG): Delete.
16948 * alloc.c (this_one_is_unmarkable): Delete.
16949 (mark_object): Don't check for this_one_is_unmarkable. Use the
16950 c_readonly flag instead.
16951 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16953 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16955 * event-msw.c (mswindows_drain_windows_queue):
16956 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16957 away redundant repaint events.
16959 2000-02-17 Andy Piper <andy@xemacs.org>
16961 * redisplay.h: declare mark_redisplay_structs.
16963 * redisplay.c (redisplay_window):
16964 (redisplay_frame): don't check subwindows_state_changed.
16965 (mark_redisplay): mark gutters here.
16967 * glyphs.c: (instantiate_image_instantiator): always layout if we
16968 haven't done so already.
16969 (allocate_image_instance): don't mark as dirty.
16970 (update_subwindow): bind inhibit_quit.
16972 * gutter.c (mark_gutters): new function.
16974 * glyphs-x.c (x_update_widget): Always resize to get round a
16977 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16978 breaking absolutely everything.
16980 * gutter.h: declare mark_gutters.
16982 2000-02-16 Martin Buchholz <martin@xemacs.org>
16984 * XEmacs 21.2.29 is released.
16986 2000-02-15 Olivier Galibert <galibert@pobox.com>
16988 * fns.c (size_bit_vector): Fix computation of the size.
16990 2000-02-15 Martin Buchholz <martin@xemacs.org>
16992 * *.[ch]: Change CONST to const globally.
16993 find -name '*.[ch]' | \
16994 xargs global-replace \
16995 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16996 - Remove vestigial references to CONST_IS_LOSING
16998 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17000 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
17001 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
17002 events instead of dispatching them directly.
17003 (mswindows_handle_paint): New function to do repainting.
17004 (mswindows_wnd_proc):
17005 (emacs_mswindows_handle_magic_event): Call above function.
17007 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17009 * objects-msw.c (mswindows_create_font_variant): Return the new
17011 (initialize_font_instance): Get font metrics from the underlined
17012 variant of the font to cope with the case where the underlined
17013 font has a bigger descent.
17015 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17017 * gui.c (gui_item_accelerator): Return the first underlined
17018 character in item name.
17020 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17022 * lisp.h: Added Qprinter.
17024 * general.c (syms_of_general): Initialized it.
17026 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
17028 (get_frame_compdc): Made inline.
17030 * console.h (struct console_methods): Added eject_page method.
17032 * frame.h: Added FRAME_DISPLAY_P and friends.
17033 Aligned backslahes in many macros in more readable fashion.
17034 Added page_number to struct frame, and an accessor macro
17037 * defice.h: Added DEVICE_DISPLAY_P and friends.
17039 * device.c (Fdevice_printer_p): Used these.
17041 * frame.c (allocate_frame_core): Initialize page number.
17042 (Fprint_job_page_number):
17043 (Fprint_job_eject_page): Implemented.
17045 * frame-msw.c (msprinter_eject_page): Added method.
17046 (msprinter_start_page): Added.
17048 * window.c (Fwindow_truncated_p): Fixed docstring.
17049 (Fwindow_last_line_visible_height): Implemented.
17051 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
17053 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
17055 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17057 * syntax.c (scan_words): Always advance at least one character.
17059 2000-02-13 Andy Piper <andy@xemacs.org>
17061 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
17062 to make sure the glyph is in the cachels.
17064 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
17065 global image instance flag.
17066 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
17067 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
17069 * glyphs.c (allocate_image_instance): set dirty bits correctly.
17070 (Fset_image_instance_property): mark layout as changed.
17071 (invalidate_glyph_geometry_maybe): mark layout as changed.
17072 (glyph_width): use new NEEDS_LAYOUT macro.
17073 (glyph_ascent): ditto.
17074 (glyph_descent): ditto.
17075 (glyph_height): ditto.
17076 (image_instance_layout): mark layout as clean after laying out.
17077 (update_subwindow): don't mark layout as clean here.
17079 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
17080 should no longer be needed.
17082 * glyphs-x.c (x_update_widget): sanitize asserts.
17083 (x_finalize_image_instance): sanitize assignment to widgets.
17085 * glyphs-widget.c (widget_instantiate): don't need to clear the
17088 2000-02-13 Martin Buchholz <martin@xemacs.org>
17090 * sysdep.c (getcwd): Use standard prototype.
17091 * sysdep.h (getcwd): Use standard prototype.
17093 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
17094 (sequence, start, end).
17095 Remove redundant type checking.
17096 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
17097 view of `caller-protects') to avoid a crash where the real fix was
17100 2000-02-12 Martin Buchholz <martin@xemacs.org>
17102 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17104 * s/sol2.h: Remove feature macro initialization.
17106 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17107 (vector_hash): New. Code from internal_hash.
17109 Fix up allocation subsystem comments.
17111 * config.h.in: Add __EXTENSIONS__ for Solaris.
17113 * systime.h (EMACS_GETTIMEOFDAY): New.
17114 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17115 Remove Solaris-specific code.
17116 Use void* for the (ignored) second arg for gettimeofday().
17118 * elhash.c (hash_table_hash): Implement it, finally.
17119 * elhash.c: Use hashcode_t.
17121 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17122 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17124 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17125 * fns.c (size_bit_vector):
17126 * alloc.c (size_vector):
17127 (make_vector_internal):
17128 (make_bit_vector_internal):
17129 (sweep_bit_vectors_1):
17130 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17132 2000-02-10 Martin Buchholz <martin@xemacs.org>
17134 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17135 Include strings.h to avoid warnings for bzero and strcasecmp.
17137 2000-02-10 Olivier Galibert <galibert@pobox.com>
17139 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17140 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17142 * fns.c (size_bit_vector): New. Declare bit vectors as a
17145 2000-02-10 Olivier Galibert <galibert@pobox.com>
17147 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17148 use a value field instead.
17149 (symbol_value_forward_forward): Use value field.
17150 (DEFVAR_SYMVAL_FWD): Use value field.
17151 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17152 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17153 (DEFVAR_CONST_INT): Ditto.
17154 (DEFVAR_BOOL): Ditto.
17155 (DEFVAR_CONST_BOOL): Ditto.
17156 (DEFVAR_INT_MAGIC): Ditto.
17157 (DEFVAR_BOOL_MAGIC): Ditto.
17159 * symbols.c (guts_of_unbound_marker): Use value field.
17160 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17161 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17163 * lisp.h: Declare dumpopaque and noninteractive1.
17165 * alloc.c (dumpopaque): Added.
17166 (pdump_dump_opaquevec): Added.
17167 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17168 (pdump_load): Reload opaque data. Sync noninteractive1 with
17171 2000-02-10 Andy Piper <andy@xemacs.org>
17173 * glyphs.c (image_instance_layout): if the size changes, mark it
17176 * redisplay-output.c (redisplay_output_layout): Update the
17178 (redisplay_output_subwindow): ditto.
17180 * glyphs.c (update_subwindow): make sure we reset flags for
17181 layouts as well as everything else.
17183 * glyphs-widget.c (layout_layout): don't need to set the instances
17186 2000-02-09 Martin Buchholz <martin@xemacs.org>
17188 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17189 not HAVE_DLOPEN, which is a lower-level thing.
17191 * .cvsignore: Ignore gmon.out
17193 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17195 * .cvsignore: Ignore portable dumper xemacs.dmp file
17197 2000-02-09 Andy Piper <andy@xemacs.org>
17199 * redisplay-output.c (redisplay_output_layout): be more clever
17200 about when we output based on the changed flags.
17202 * glyphs.h (struct image_instantiator_methods): add update_method.
17203 (struct Lisp_Image_Instance): add changed flags. Declare new
17204 macros for manipulating them.
17206 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17207 (image_instance_parent_glyph): find an image_instance's parent
17208 glyph or image_instance.
17209 (image_instance_layout): mark the size as changed.
17210 (set_image_instance_dirty_p): new function. mark an image
17211 instance, plus all of its parents, as dirty.
17212 (Fset_image_instance_property): use it.
17213 (Fglyph_animated_timeout_handler): use it.
17214 (update_subwindow): call update_widget and device methods for
17215 update_subwindow. Mark all changed flags as clean.
17216 (Fresize_subwindow): mark size as changed.
17218 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17220 (x_update_subwindow): only resize subwindows here.
17221 (x_update_widget): new function. Update all changed properties of
17223 (x_resize_subwindow): deleted.
17224 (x_widget_set_property): deleted.
17225 (x_progress_gauge_set_property): deleted.
17226 (x_progress_gauge_update): new function. Implement recorded
17228 (x_tab_control_update): ditto.
17229 (x_tab_control_set_property): deleted.
17230 (console_type_create_glyphs_x): declare new functions.
17231 (image_instantiator_format_create_glyphs_x): ditto.
17233 * glyphs-widget.c (widget_set_property): mark text changed.
17234 (update_widget): new function. Update properties of a widget.
17235 (widget_instantiate): for layouts make sure we set their
17236 children's parent correctly.
17237 (tab_control_set_property): new function. Record changes that will
17238 take place under redisplay's control.
17239 (progress_gauge_set_property): ditto.
17240 (image_instantiator_progress_guage): declare new functions.
17241 (image_instantiator_tab_control): ditto.
17243 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17245 (mswindows_update_widget): new function. Update all properties on
17246 a widget that have changed.
17247 (mswindows_button_update): new function. Update a button's set
17249 (mswindows_tab_control_update): new function. Update the items in
17251 (mswindows_tab_control_set_property): deleted.
17252 (mswindows_progress_gauge_update): new function. Update the
17253 progress gauge's progress.
17254 (mswindows_widget_set_property): deleted. This is all done
17255 asynchronously now.
17256 (mswindows_progress_gauge_set_property): ditto.
17257 (console_type_create_glyphs_mswindows): declare new methods.
17258 (image_instantiator_format_create_glyphs_mswindows): ditto.
17260 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17261 (msprinter_set_frame_properties): ditto.
17263 * console.h (struct console_methods): Add update_widget_method.
17265 2000-02-09 Andy Piper <andy@xemacs.org>
17267 * gui-msw.c (Fmswindows_shell_execute): Make
17268 mswindows-shell-execute industrial strength.
17270 2000-02-08 Martin Buchholz <martin@xemacs.org>
17272 * lrecord.h: Make macro argument `props' match member function `plist'.
17275 * fns.c (Fremprop):
17276 * fns.c (Fobject_plist):
17279 Object property list frobbing cleanup.
17280 - Allow any lisp object (compared with `eq'), not just symbols, as
17281 keys in object plists.
17282 - Move symbol plist frobbing into symbols.c, where it belongs.
17283 - Move string plist frobbing into alloc.c, where it belongs.
17284 - Everything's an lrecord now, so no need to test for symbolp, etc.
17285 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17287 * extents.c: Reorder code to remove declarations.
17289 * frame.h (store_in_alist): Remove useless declaration.
17291 2000-02-07 Martin Buchholz <martin@xemacs.org>
17293 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17294 * config.h.in: Add HAVE_XCONVERTCASE.
17296 2000-02-07 Andy Piper <andy@xemacs.org>
17298 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17299 it breaks many things.
17301 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17303 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17304 actually can start a common comment type.
17305 * src/syntax.h (SYNTAX_END_P): ditto for end.
17307 2000-02-07 Martin Buchholz <martin@xemacs.org>
17309 * XEmacs 21.2.28 is released.
17311 2000-02-06 Martin Buchholz <martin@xemacs.org>
17313 * event-Xt.c (x_keysym_to_character): New.
17314 (maybe_define_x_key_as_self_inserting_character): New.
17315 (x_has_keysym): New.
17316 Auto-define all keys on the keyboard as self-insert-key.
17318 2000-02-02 Martin Buchholz <martin@xemacs.org>
17320 * menubar.c (vars_of_menubar): A small code simplification.
17322 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17325 * ExternalClient.c:
17326 * EmacsShell-sub.c:
17329 Use consistent style for specifying X resources.
17331 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17332 This makes (dontusethis-set-symbol-value-handler) actually usable.
17334 * lrecord.h (lrecord_decription_type):
17335 * alloc.c (pdump_register_sub):
17338 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17339 Comply with XEmacs coding style.
17340 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17341 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17343 * keymap.c (Faccessible_keymaps):
17344 Make (accessible-keymaps map "\C-h") do the Right Thing.
17345 Make (accessible-keymaps map []) do the Right Thing.
17346 Make (accessible-keymaps map "") do the Right Thing.
17347 (check_keymap_definition_loop): New function.
17348 (keymap_store_internal): Keep luser from shooting self in foot,
17349 via (define-key ctl-x-4-map "p" global-map).
17350 Remove fullness slot from struct Lisp_Keymap, since hash tables
17352 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17354 2000-01-30 Martin Buchholz <martin@xemacs.org>
17356 * redisplay.c (init_redisplay): Fix small memory leak.
17358 * elhash.c (pdump_reorganize_hash_table):
17359 Rename from reorganize_hash_table. Change prototype.
17360 Reuse the original memory for hentries. Save 100k.
17361 * alloc.c (PDUMP_READ): new macro.
17362 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17363 * alloc.c: No need to #ifndef before #undef.
17365 * print.c: Allow debug_print() to print readably by modifying
17366 debug_print_readably. Use consistent variable names.
17368 * .dbxrc: Try to get things to work even if stopped in a function
17369 without source available by explicitly specifying source files.
17370 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17372 * unexnt.c (_start): Removed bogus code which caused loading heap
17373 from differrent executable file.
17374 Removed bogus assignment to _fmode, which caused inconsistencies.
17376 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17378 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17379 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17380 Do not preliminary `#define signal sigset'.
17382 * systime.h: Do not prototype environ on windows nt and cygwin,
17383 this conflicts with system header.
17385 * syssignal.h: Use correct define for WINDOWSNT
17387 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17388 with system header.
17390 * sysdep.c (near start of file): Fixed commentary and rearranged
17391 ifdefs in readable order.
17392 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17395 (end_of_data): Do not compile in if using PDUMP.
17397 * symsinit.h: Prototyped vars_of_nt().
17399 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17400 (find_child_console): Use it.
17401 (sys_kill): Use it.
17403 * ntheap.h: Do not extern os_subtype.
17405 * ntheap.c (cache_system_info): Do not cache unneeded:
17406 nt_major_version, nt_minor_version and os_subtype.
17407 (recreate_heap): Do not compile in when PDUMPing.
17409 * nt.c (geteuid and friends): Use the new varibale
17410 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17411 (init_user_info): Removed the above mentioned hackery.
17412 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17413 stat has been fixed in the C runtime.
17414 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17416 * file-coding.c (struct file_coding_dump): Do not define
17417 ucs_to_mule_table in the struct if not MULE.
17418 (struct struct lrecord_description fcd_description_1): Do not dump
17421 * emacs.c (main_1): Call vars_of_nt().
17422 (right before Fdump_emacs_data): Don't need lastfile if using both
17423 portabe dumper and system malloc.
17425 * alloc.c (Fmemory_limit): Conditionalized out.
17426 (pdump): Use OPEN_BINARY for the portable dump file.
17427 (pdump_load): Ditto.
17429 2000-02-02 Mike Alexander <mta@arbortext.com>
17431 * nt.c (convert_time): Set tm_isdst before calling mktime and
17432 avoid calling it at all if the compiler supports 64 bit integers.
17433 Also initialize utc_base_ft before using it.
17435 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17437 * frame.c (change_frame_size_1): Take f->internal_border_width
17438 into consideration when calculating the width of the frame.
17440 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17442 * window.c (frame_min_height):
17443 (frame_size_valid_p):
17444 (frame_pixsize_valid_p): Added.
17445 (check_frame_size): Generalized.
17447 * window.h: Prototyped the above.
17450 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17451 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17452 Deleted Vwin32_* and Vbinary_process_* unused variables.
17454 * device-msw.c (msprinter_init_device): Do not get printer font
17455 list; Added DEVMODE functions.
17457 * frame-msw.c: Added lots of printer code.
17459 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17462 * console-msw.h: Added more msprinter device private slots.
17464 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17466 * event-msw.c (key_needs_default_processing_p): Added.
17467 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17469 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17471 * glyphs.c (image_instance_layout): Mark image instance as clean
17473 (glyph_dirty_p): Removed redundant function.
17474 (invalidate_glyph_geometry_maybe): Added.
17475 (update_glyph_cachel_data): Call it.
17477 * glyphs.h: Prototyped it.
17479 * redisplay.c (add_glyph_rune): Call it.
17480 (redisplay_window): Reset glyphs cachels when frame faces have
17481 changed, thus forcing recomputation of built-in border glyphs.
17483 2000-01-30 Martin Buchholz <martin@xemacs.org>
17485 * Makefile.in.in: Make portable dumper and purify play well together.
17486 Add imperfect, but better than nothing, support for pdump.
17487 Remove xemacs.dmp when temacs is re-generated.
17488 Don't ignore errors when dumping xemacs.
17490 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17492 2000-01-28 Andy Piper <andy@xemacs.org>
17494 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17495 (setup_normal_frame): ditto.
17496 (setup_frame_without_minibuffer): ditto.
17497 (setup_minibuffer_frame): ditto.
17498 (delete_frame_internal): ditto.
17499 (Fmake_frame_invisible): ditto.
17500 (Ficonify_frame): ditto.
17502 * window.h: change Fset_window_buffer signature.
17504 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17505 (Fset_window_buffer): allow recording of buffer if the window is
17506 the selected window.
17507 (window_loop): Use new Fset_window signature.
17509 2000-01-23 Daniel Pittman <daniel@danann.net>
17511 * config.h.in: Added template for `HAVE_ATHENA_3D'
17513 2000-01-29 Andy Piper <andy@xemacs.org>
17515 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17517 * gutter.c (output_gutter): Don't output if the window isn't live.
17519 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17521 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17522 of 01/12/00: Moved SetFocus back here where it belongs.
17524 2000-01-23 Andy Piper <andy@xemacs.org>
17526 * s/cygwin32.h: declare printer things.
17528 2000-01-26 Andy Piper <andy@xemacs.org>
17530 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17533 2000-01-24 Andy Piper <andy@xemacs.org>
17535 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17536 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17538 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17540 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17542 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17544 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17545 (mswindows_output_display_block): Avoid local shadows.
17547 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17548 (mswindows_enqueue_mouse_button_event): ditto.
17549 (mswindows_handle_gui_wm_command): remove declaration.
17551 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17554 * console-msw.h: Avoid shadows.
17555 (mswindows_get_toolbar_button_text):
17556 (emacs_mswindows_create_stream_pair):
17557 (emacs_mswindows_delete_stream_pair):
17558 (mswindows_handle_toolbar_wm_command): declare.
17560 * device-msw.c (build_syscolor_string): Avoid shadows.
17562 2000-01-23 Andy Piper <andy@xemacs.org>
17564 * glyphs-widget.c (widget_instantiate): reverse the items for
17565 layouts so that children are in the expected order.
17567 2000-01-28 Martin Buchholz <martin@xemacs.org>
17569 * ralloc.c: safe_bcopy ==> memmove
17570 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17571 * s/msdos.h: Remove BCOPY macros.
17572 * insdel.c (gap_right): Remove BCOPY conditional code.
17573 * insdel.c (gap_left): Remove BCOPY conditional code.
17574 XEmacs demands a working ANSI C compiler - hence memmove.
17576 * regex.c (regex_compile): Remove accidental use of trigraphs.
17578 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17580 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17583 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17585 * event-msw.c (mswindows_drain_windows_queue): Added the
17587 (mswindows_need_event): Commented the call to
17588 mswindows_drain_windows_queue().
17589 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17592 * console-msw.h: Moved a few function prototypes here from
17595 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17596 parameter from unsigned short to unsigned long.
17597 (Fmswindows_shell_execute): Added return value.
17599 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17601 * sysdep.c (init_system_name):
17602 process-unix.c (unix_canonicalized_host_name):
17603 Don't call freeaddrinfo() if getaddrinfo() fails.
17605 * process-unix.c (unix_open_unix_network_stream):
17606 Moved the code to get a port # into address loop.
17608 2000-01-27 Martin Buchholz <martin@xemacs.org>
17610 * buffer.c (reinit_vars_of_buffer):
17611 The right place to initialize conversion_in_dynarr and
17612 conversion_out_dynarr.
17614 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17616 * process-unix.c (unix_canonicalize_host_name): Muleize.
17617 (unix_open_network_stream): Muleize.
17619 * buffer.h: Fix up prototypes for ralloc.c functions.
17621 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17622 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17623 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17624 instead of gethostbyname()
17625 * process-unix.c: In unix_canonicalize_host_name() and
17626 unix_open_network_stream(), add code to use getaddrinfo()
17627 instead of gethostbyname().
17629 2000-01-27 Daniel Pittman <daniel@danann.net>
17631 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17632 libs when built with flat Athena.
17634 2000-01-27 Martin Buchholz <martin@xemacs.org>
17636 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17637 Use coding standards for function prototypes.
17639 2000-01-25 Martin Buchholz <martin@xemacs.org>
17641 * dialog-msw.c (push_lisp_string_as_unicode):
17642 * doc.c (unparesseuxify_doc_string):
17643 * dired.c (Fuser_name_completion_1):
17644 * dired.c (Fuser_name_all_completions):
17645 * dired.c (free_user_cache):
17646 * dired.c (user_name_completion):
17647 * console-x.c (get_display_arg_connection):
17648 * minibuf.c (clear_echo_area_internal):
17649 * minibuf.c (echo_area_append):
17650 * eldap.c (Fldap_open):
17651 * eldap.c (Fldap_search_internal):
17652 * frame-x.c (x_set_frame_text_value):
17653 * frame-x.c (x_set_frame_properties):
17654 * frame-x.c (x_create_widgets):
17655 * redisplay-tty.c (term_get_fkeys_1):
17656 * objects-x.c (x_parse_nearest_color):
17657 * objects-x.c (x_valid_color_name_p):
17658 * objects-x.c (x_initialize_font_instance):
17659 * objects-x.c (x_list_fonts):
17660 * objects-x.c (x_find_charset_font):
17661 * tooltalk.c (Fadd_tooltalk_message_arg):
17662 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17663 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17664 * process-unix.c (unix_create_process):
17665 * ntproc.c (sys_spawnve):
17666 * sound.c (Fplay_sound_file):
17667 * sound.c (Fplay_sound):
17668 * buffer.c (init_initial_directory):
17669 * buffer.c (init_buffer):
17670 * editfns.c (init_editfns):
17671 * editfns.c (Ftemp_directory):
17672 * editfns.c (Fuser_full_name):
17673 * editfns.c (uncache_home_directory):
17674 * editfns.c (get_home_directory):
17675 * editfns.c (Fuser_home_directory):
17676 * editfns.c (Fformat_time_string):
17677 * editfns.c (Fcurrent_time_string):
17678 * gui-x.c (button_item_to_widget_value):
17679 * database.c (Fopen_database):
17680 * event-Xt.c (x_to_emacs_keysym):
17681 * event-Xt.c (x_event_to_emacs_event):
17682 * event-Xt.c (describe_event_window):
17683 * event-msw.c (mswindows_wnd_proc):
17684 * glyphs-eimage.c (jpeg_instantiate):
17685 * glyphs-eimage.c (gif_instantiate):
17686 * glyphs-eimage.c (png_instantiate):
17687 * glyphs-eimage.c (tiff_instantiate):
17688 * glyphs-x.c (xbm_instantiate_1):
17689 * glyphs-x.c (x_xbm_instantiate):
17690 * glyphs-x.c (x_xface_instantiate):
17691 * glyphs-x.c (autodetect_instantiate):
17692 * glyphs-x.c (cursor_font_instantiate):
17693 * glyphs-x.c (x_widget_instantiate):
17694 * glyphs-x.c (x_widget_set_property):
17695 * glyphs-x.c (x_widget_property):
17696 * glyphs-x.c (BUILD_GLYPH_INST):
17697 * print.c (write_string_to_stdio_stream):
17698 * print.c (output_string):
17699 * print.c (Falternate_debugging_output):
17700 * print.c (Fexternal_debugging_output):
17701 * glyphs-msw.c (extract_xpm_color_names):
17702 * glyphs-msw.c (mswindows_xpm_instantiate):
17703 * glyphs-msw.c (bmp_instantiate):
17704 * glyphs-msw.c (resource_name_to_resource):
17705 * glyphs-msw.c (mswindows_resource_instantiate):
17706 * glyphs-msw.c (xbm_instantiate_1):
17707 * glyphs-msw.c (mswindows_xbm_instantiate):
17708 * glyphs-msw.c (mswindows_xface_instantiate):
17709 * glyphs-msw.c (mswindows_widget_instantiate):
17710 * glyphs-msw.c (add_tree_item):
17711 * glyphs-msw.c (add_tab_item):
17712 * glyphs-msw.c (mswindows_combo_box_instantiate):
17713 * glyphs-msw.c (mswindows_widget_property):
17714 * glyphs-msw.c (mswindows_combo_box_property):
17715 * glyphs-msw.c (mswindows_widget_set_property):
17716 * console.c (stuff_buffered_input):
17717 * objects-msw.c (mswindows_initialize_color_instance):
17718 * objects-msw.c (mswindows_valid_color_name_p):
17719 * objects-msw.c (mswindows_list_fonts):
17720 * objects-msw.c (mswindows_font_instance_truename):
17721 * bytecode.c (optimize_compiled_function):
17722 * select-x.c (symbol_to_x_atom):
17723 * select-x.c (x_atom_to_symbol):
17724 * select-x.c (hack_motif_clipboard_selection):
17725 * select-x.c (selection_data_to_lisp_data):
17726 * select-x.c (lisp_data_to_selection_data):
17727 * select-x.c (Fx_get_cutbuffer_internal):
17728 * select-x.c (Fx_store_cutbuffer_internal):
17729 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17730 * buffer.h (TO_INTERNAL_FORMAT): New function.
17731 * emacs.c (make_arg_list_1):
17732 * emacs.c (make_argc_argv):
17733 * emacs.c (main_1):
17734 * emacs.c (Fdump_emacs):
17735 * emacs.c (split_string_by_emchar_1):
17740 * device-x.c (x_init_device):
17741 * device-x.c (Fx_valid_keysym_name_p):
17742 * device-x.c (Fx_get_font_path):
17743 * device-x.c (Fx_set_font_path):
17744 * glyphs.c (bitmap_to_lisp_data):
17745 * glyphs.c (pixmap_to_lisp_data):
17746 * alloc.c (make_ext_string): Use coding system arguments. Update
17748 * alloc.c (build_string):
17749 * callproc.c (child_setup):
17750 * callproc.c (init_callproc):
17751 * fileio.c (lisp_strerror):
17752 * fileio.c (directory_file_name):
17753 * fileio.c (Fexpand_file_name):
17754 * fileio.c (Ffile_truename):
17755 * fileio.c (Fsysnetunam):
17756 * fileio.c (Fdo_auto_save):
17757 * sysdep.c (sys_readdir):
17758 * tests.c: New file. Allow adding C tests.
17759 Replace GET_* macros with a more comprehensible and flexible
17760 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17762 Any coding system can be used to do format conversion.
17763 Eliminate enum external_data_format.
17764 Eliminate convert_to_external_format.
17765 Eliminate convert_to_internal_format.
17766 Make sure file-name, keyboard, terminal, and ctext are always
17767 defined as coding systems or aliases. Make
17768 file-name-coding-system, terminal-coding-system, and
17769 keyboard-coding-system magical variables that are equivalent to
17770 defining the corresponding coding system aliases.
17772 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17773 * file-coding.c (Fcoding_system_alias_p): New function.
17774 * file-coding.c (Fcoding_system_aliasee): New function.
17775 * file-coding.c (append_suffix_to_symbol): New function.
17776 * file-coding.c (dangling_coding_system_alias_p): New function.
17777 * file-coding.c (Ffind_coding_system):
17778 * file-coding.c (Fcopy_coding_system):
17779 * file-coding.c (encode_coding_no_conversion):
17780 * file-coding.c (syms_of_file_coding):
17781 * file-coding.c (vars_of_file_coding):
17782 Rewrite coding system alias code.
17783 Allow nested aliases, like symbolic links.
17784 Allow redefinition of coding system aliases.
17785 Prevent existence of dangling coding system aliases.
17787 * dired.c (Fuser_name_completion_1):
17788 * dired.c (Fuser_name_all_completions):
17789 A crash would happen if user did QUIT in the middle of building
17790 user_name_cache. Remove redundant code in mainline and unwind_protect.
17793 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17795 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17796 an unsigned char *. Update all callers.
17798 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17800 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17802 2000-01-25 Martin Buchholz <martin@xemacs.org>
17804 * elhash.c (hentry_description): Use more portable definition.
17805 (resize_hash_table): Initialize new hentries using
17806 xnew_array_and_zero, thereby simplifying the code.
17808 * mule-charset.c (make_charset): Make sure entire object is
17809 initialized, to avoid Purify warnings.
17811 * alloc.c (resize_string): Fix unlikely crash with big strings.
17813 2000-01-24 Martin Buchholz <martin@xemacs.org>
17815 * realpath.c (xrealpath):
17816 Don't call getwd().
17818 2000-01-25 Martin Buchholz <martin@xemacs.org>
17820 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17822 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17824 * unexelfsgi.c (unexec): Change the way we decide which segment
17825 should be extended.
17827 Assumption that .bss section should be outside the PT_LOADable
17828 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17829 it's present) is inside the 'data' segment. This would fail the
17830 test which was used to find a segment to grow and cover new
17831 heap. Instead of this assumption, I created another one - on IRIX
17832 the segment to grow should start below .bss and it's address
17833 should extent above the end of .bss. Once this segment is
17834 identified, it's grown to accommodate the new heap and new
17835 zero-length .bss section is added at the end of .data2.
17837 2000-01-25 Martin Buchholz <martin@xemacs.org>
17839 * eval.c (Feval): Wrong number of arguments should use original
17840 function, not the indirect_function version of it.
17842 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17844 * glyphs-x.c (x_button_instantiate): Don't add image if
17845 it is not a pixmap.
17846 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17849 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17851 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17853 (DEFVAR_INT_MAGIC): Ditto.
17854 (DEFVAR_BOOL_MAGIC): Ditto.
17855 * glyphs.h: Reindent backslash.
17857 2000-01-24 Martin Buchholz <martin@xemacs.org>
17859 * glyphs-widget.c (layout_query_geometry):
17860 (layout_layout): Use correct types for gheight, gwidth.
17862 2000-01-24 Martin Buchholz <martin@xemacs.org>
17864 * EmacsManager.c (QueryGeometry): Purified.
17866 2000-01-23 Martin Buchholz <martin@xemacs.org>
17868 * alloc.c (make_float): Make sure entire object is initialized, to
17869 avoid Purify warnings.
17870 (pdump_register_sub): Remove useless assignment.
17871 (pdump): Use xmalloc, not malloc.
17872 (pdump_load): Use xmalloc, not malloc.
17874 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17881 * sysdep.c: Removed redundant #include <windows.h>
17883 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17885 * frame.c (delete_frame_internal): Do not delete device when its
17886 implementation so declares.
17887 (delete_frame_internal): Set device selected frame to nil when
17888 last frame goes away.
17890 * device-msw.c (msprinter_device_system_metrics): Implemented.
17891 (mswindows_device_system_metrics): Added 'device-dpi property.
17893 * device.c: (Fdevice_printer_p): Added.
17894 Added 'offset-workspace device metric.
17896 * console.h (device_metrics): Declared DM_offset_workspace.
17898 2000-01-23 Martin Buchholz <martin@xemacs.org>
17900 * fileio.c (Ffile_truename): Remove pointless and confusing
17901 initialization of elen.
17903 * glyphs-widget.c: Compiler warning fixes.
17905 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17907 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17908 instead of a Lisp_Object as argument to make it consistent with
17909 the other LIVE_P macros.
17910 (CHECK_LIVE_PROCESS): New macro.
17912 * process.c: Declare Qprocess_live_p.
17913 (Fprocess_live_p): New function.
17914 (create_process): Use PROCESS_LIVE_P.
17915 (read_process_output): Ditto.
17916 (set_process_filter): Ditto.
17917 (Fdelete_process): Ditto.
17918 (kill_buffer_processes): Ditto
17919 (process_send_signal): Use CHECK_LIVE_PROCESS.
17920 (Fprocess_input_coding_system): Check whether process is still
17921 alive (fix PR#1061).
17922 (Fprocess_output_coding_system): Ditto.
17923 (Fprocess_coding_system): Ditto.
17924 (Fset_process_input_coding_system): Ditto.
17925 (Fset_process_output_coding_system): Ditto.
17927 2000-01-23 Andy Piper <andy@xemacs.org>
17929 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17932 * glyphs.c (mark_image_instance): take into account changed
17933 image_instance format.
17934 (image_instance_equal): ditto.
17935 (image_instance_hash): ditto.
17937 * glyphs-widget.c (widget_instantiate): Incorporate layout
17938 instantiation here. Delay layout of the layout until later.
17939 (layout_instantiate): deleted.
17940 (layout_query_geometry): new function. get the geometry of a
17942 (layout_layout): layout a layout dynamically.
17943 (image_instantiator_widget): New function - splitting up
17944 image_instantiator_format_create_glyphs_widget for netwinder
17946 (image_instantiator_buttons):
17947 (image_instantiator_edit_fields):
17948 (image_instantiator_combo_box):
17949 (image_instantiator_scrollbar):
17950 (image_instantiator_progress_guage):
17951 (image_instantiator_tree_view):
17952 (image_instantiator_tab_control):
17953 (image_instantiator_labels):
17954 (image_instantiator_layout): ditto.
17955 (image_instantiator_format_create_glyphs_widget): Call preceding
17958 2000-01-22 Martin Buchholz <martin@xemacs.org>
17960 * process.c (Fset_process_coding_system):
17961 * device-x.c (Fx_keysym_hash_table):
17964 * lstream.c (Lstream_write): Return documented value, not 0.
17966 * fileio.c (directory_file_name):
17967 (Fsubstitute_in_file_name):
17968 (Fsubstitute_insert_file_contents_internal):
17969 (Fwrite_region_internal):
17974 Remove vestigial APOLLO-conditional code.
17976 2000-01-21 Martin Buchholz <martin@xemacs.org>
17978 * getpagesize.h: Add guard macros.
17979 * libsst.h: Add guard macros.
17980 * libst.h: Add guard macros.
17981 * line-number.h: Add guard macros.
17982 * ndir.h: Add guard macros.
17983 * sysfloat.h: Add guard macros.
17984 * sysfile.h: Add guard macros.
17985 * sysproc.h: Add guard macros.
17986 * syswait.h: Add guard macros.
17987 * xintrinsic.h: Add guard macros.
17988 * xintrinsicp.h: Add guard macros.
17989 * xmmanager.h: Add guard macros.
17990 * xmmanagerp.h: Add guard macros.
17991 * xmprimitive.h: Add guard macros.
17992 * xmu.h: Add guard macros.
17993 * gpmevent.h: Add copyright statement. Add guard macros.
17994 * miscplay.h: Add guard macros.
17995 * *.h: Use consistent C-standards-approved guard macro names.
17997 * opaque.c (make_opaque): Switch parameter order.
17998 * opaque.h (make_opaque): Switch parameter order.
17999 Update all callers.
18000 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
18002 * config.h.in (type_checking_assert): Added.
18003 (bufpos_checking_assert): Added.
18005 2000-01-21 Martin Buchholz <martin@xemacs.org>
18007 * alloc.c: Harmless pdump changes.
18009 - spell alignment correctly.
18010 * sysdep.c: Use countof()
18012 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18014 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
18015 initially_selected_for_input() console method, default to 0.
18016 (semi_canonicalize_console_connection): Try to delegate to
18017 canonicalize_console_connection if no such console method.
18018 (canonicalize_console_connection): Vice versa.
18019 (print_console): Do not print nil connection.
18021 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
18022 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
18023 (XDEVIMPF_FRAMELESS_OK): Added.
18024 (CONSOLE_INHERITS_METHOD): Added.
18026 * console-msw.c (mswindows_canonicalize_console_connection):
18028 (mswindows_canonicalize_device_connection): Added.
18030 * console-msw.h (struct msprinter_device): Added this struct and
18032 (mswindows_device): Made fontlist a lisp object.
18034 * device.c (semi_canonicalize_device_connection): Try to delegate
18035 to canonicalize_device_connection if no such console method.
18036 (canonicalize_device_connection): Vice versa.
18037 (print_device): Do not print nil connection.
18039 * device-msw.c (mswindows_init_device): Call InitCommonControls
18041 (mswindows_delete_device): Removed fontlist deallocation.
18042 (mswindows_mark_device): Added.
18044 * events.c (event_equal): Added abort() at unreached code.
18045 (event_hash): Ditto.
18047 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
18048 fallback tags of Windows devices.
18050 * general.c (syms_of_general): Initialized Qmsprinter.
18052 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
18053 of fallback tags of Windows devices.
18055 * lisp.h: Declared Qmsprinter.
18057 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
18059 (mswindows_list_fonts): Ditto.
18060 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
18061 that it can be used by both mswindows and msprinter devices.
18062 (initialize_font_instance): Added.
18063 (mswindows_initialize_font_instance): Use it.
18064 (msprinter_initialize_font_instance): Added.
18066 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
18067 and implementation flags check.
18068 (redisplay_without_hooks): Changed the call to the above.
18069 (Fredraw_device): Ditto.
18070 (Fredisplay_device): Ditto.
18072 * redisplay-msw.c (get_frame_dc): Implemented.
18073 (get_frame_compdc): Implemented.
18074 (many functions): Use the two functions above to get device
18075 contexts, ether for a window or a printer.
18077 2000-01-21 Olivier Galibert <galibert@pobox.com>
18079 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
18080 initialization here.
18081 (init_symbols_once_early): Call it.
18082 * emacs.c (main_1): Call it.
18083 * symsinit.h: Declare it.
18085 2000-01-19 Olivier Galibert <galibert@pobox.com>
18087 * alloc.c: Use a lrecord_header * in the backtrace instead of a
18089 (pdump_backtrace): Ditto.
18090 (pdump_register_object): Ditto. Cleanup use of the pointers.
18091 (pdump_get_entry): Abort if trying to register a null pointer.
18092 (pdump_dump_data): Cleanup types when relocating.
18093 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
18094 (pdump_dump_rtables): Remove bad casts.
18095 (pdump_load): Cleanup relocation w.r.t union type. Use a
18096 Lisp_Object instead of a EMACS_INT for the hashtable
18099 2000-01-20 Martin Buchholz <martin@xemacs.org>
18101 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18103 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18105 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18107 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18109 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18111 * faces.h (FACE_STRIKETHRU_P): Added.
18113 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18116 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18117 (mswindows_set_dc_font): New function, aware of font variants,
18118 separated from mswindows_update_dc.
18120 * objects-msw.h (struct mswindows_font_instance_data): Added
18123 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18124 cached fonts and the data structure.
18125 (mswindows_initialize_font_instance): Added creation of font data
18127 (mswindows_print_font_instance): Print at least something.
18128 (mswindows_create_font_variant): Implemented.
18129 (mswindows_get_hfont): Implemented.
18131 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18133 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18134 prototyping problem with msvc.
18136 * emacs.c (main_1): added syms_of_gui_mswindows() call
18138 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18139 syms_of_gui_mswindows() function
18141 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18143 2000-01-18 Martin Buchholz <martin@xemacs.org>
18145 * XEmacs 21.2.27 is released.
18147 2000-01-18 Martin Buchholz <martin@xemacs.org>
18149 * glyphs-eimage.c (struct tiff_error_struct):
18151 (tiff_warning_func):
18152 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18157 * unexec.c: Remove vestigial Lucid C code.
18161 * libsst.c: Ansify.
18162 Remove declarations of errno and strerror().
18164 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18166 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18168 2000-01-16 Martin Buchholz <martin@xemacs.org>
18170 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18173 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18178 Change enum eol_type to eol_type_t.
18180 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18182 * gui.c (get_gui_callback): Check cons before accessing car.
18184 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18186 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18187 (XSETSPECIFIER_TYPE): Ditto.
18189 2000-01-17 Didier Verna <didier@xemacs.org>
18191 * redisplay.c (generate_fstring_runes): compute string size in
18192 characters, not bytes.
18194 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18196 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18198 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18200 * print.c (print_error_message): Call print_prepare().
18202 2000-01-14 Martin Buchholz <martin@xemacs.org>
18204 * .dbxrc: Renamed from dbxrc.
18206 * events.c (event_to_character):
18207 Use `assert (foo)' instead of `if (!foo) abort()'
18209 * .gdbinit (xtype): Add documentation.
18210 * .gdbinit (check-temacs): New function.
18211 * .gdbinit (check-xemacs): New function.
18212 * dbxrc (check-xemacs): New function.
18213 * dbxrc (check-xemacs): New function.
18215 2000-01-14 Andy Piper <andy@xemacs.org>
18217 * glyphs-widget.c (widget_query_geometry): Make sure that we
18218 calculate default dimensions correctly.
18220 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18222 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18224 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18225 pdump_wire'd variable.
18227 * emacs.c: (main_1): Conditionalized calls to
18228 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18230 2000-01-13 Martin Buchholz <martin@xemacs.org>
18232 * window.c (Fset_window_configuration):
18233 * sysdep.c (_start):
18234 * input-method-motif.c (res):
18235 * event-Xt.c (Xt_process_to_emacs_event):
18236 Simple compiler warning fixes.
18238 * bytecode.c (funcall_compiled_function): Use the original
18239 function symbol on the backtrace list in preference to the
18240 compiled_function object in error messages.
18242 2000-01-13 Andy Piper <andy@xemacs.org>
18244 * glyphs-x.c (update_widget_face): Make sure we update the widget
18245 background as well as foreground.
18247 2000-01-13 Andy Piper <andy@xemacs.org>
18249 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18250 fields to subwindow.
18251 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18252 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18253 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18254 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18256 * glyphs-widget.c (check_valid_tab_orientation): new function.
18257 (initialize_widget_image_instance): zero orientation and
18259 (widget_instantiate): pick up orientation.
18260 (tab_control_query_geometry): return appropriate values for
18263 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18264 appropriate creation flags for left, right and bottom tabs.
18266 * s/cygwin32.h: add tab definitions.
18268 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18270 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18271 frame upon hiding a subwindow.
18272 (mswindows_button_instantiate): Changed the push button style to
18274 (mswindows_button_instantiate): Removed button BS_NOTIFY
18276 (mswindows_button_instantiate): Removed redundant check for
18277 a disabled gui item.
18278 (mswindows_button_instantiate): Made use of WS_TABSTOP
18279 consistent: "operable" controls (edit, button, tree, scroll) have
18280 this style, "display-only" ones (static, progress gauge) do
18281 not. This style is currently ignored by XEmacs though. Also,
18282 removed the WS_EX_CONTROLPARENT style - it is not for children,
18283 it is for their parents!
18284 (mswindows_edit_field_instantiate): Ditto.
18285 (mswindows_progress_gauge_instantiate): Ditto.
18286 (mswindows_tree_view_instantiate): Ditto.
18287 (mswindows_tab_control_instantiate): Ditto.
18288 (mswindows_scrollbar_instantiate): Ditto.
18289 (mswindows_combo_box_instantiate): Ditto.
18290 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18291 style to the "clip" window.
18292 (mswindows_button_instantiate): Removed compilation warning by
18293 equally typing terms of the ?: operator.
18295 2000-01-12 Didier Verna <didier@xemacs.org>
18297 * redisplay.c (generate_fstring_runes): new parameter holding the
18298 last modeline-format extent.
18299 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18300 extent, fill the glyph block with it.
18301 (generate_fstring_runes): handle these parameters.
18302 (generate_formatted_string_db): ditto.
18304 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18305 glyphs'extents in the modeline.
18307 1999-01-11 Mike Woolley <mike@bulsara.com>
18309 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18310 256Mb, as a workaround for the non-starting problem many people
18313 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18315 * console-tty.c (Fset_console_tty_output_coding_system):
18316 Force redrawing tty frame.
18318 2000-01-10 Didier Verna <didier@xemacs.org>
18320 * redisplay.c (generate_fstring_runes): fix size computation bug.
18322 2000-01-09 William M. Perry <wmperry@aventail.com>
18324 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18326 2000-01-09 Andy Piper <andy@xemacs.org>
18328 * glyphs-msw.c: index -> i to avoid shadows.
18329 (xbm_create_bitmap_from_data): make static.
18330 (check_valid_string_or_int): deleted.
18331 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18333 * glyphs-x.c (x_update_subwindow): remove unused args.
18335 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18336 back pointer - this is done in allocate_image_instance.
18337 (query_string_font): return Qnil to make the compiler happy.
18338 (unmap_subwindow): set to ~0 to make the compiler happy.
18339 (glyph_query_geometry): comment out until used.
18340 (glyph_layout): ditto.
18342 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18344 * insdel.c (signal_after_change): Remove extraneous unbind_to().