1 2016-07-23 MORIOKA Tomohiko <tomo.git@chise.org>
3 * text-coding.c (Fmake_coding_system): Accept property
4 `charset-g3' for CODESYS_UTF8.
5 (char_encode_utf8): Refer `charset-g3'.
7 2015-11-25 MORIOKA Tomohiko <tomo.git@chise.org>
9 * chartab.c (Fchar_feature): When argument ATTRIBUTE is a CCS and
10 whose name is =>FOO, don't try to find =FOO; fix problem when
11 argument ATTRIBUTE is ==>FOO.
13 2013-05-19 MORIOKA Tomohiko <tomo.git@chise.org>
15 * text-coding.c (COMPOSE_ADD_CHAR): Use
16 `concord_object_get_attribute' instead of
17 `concord_object_get_feature_value'.
19 * chartab.c (char_table_get_db_cos): Use
20 `concord_object_get_attribute' instead of
21 `concord_object_get_feature_value'.
23 2013-05-02 MORIOKA Tomohiko <tomo.git@chise.org>
25 * chartab.h (get_char_id_table_ce): Use
26 `load_char_attribute_maybe_cos' instead of
27 `load_char_attribute_maybe'.
29 * chartab.c (load_char_attribute_maybe_cos): Return NULL instead
30 of Qunbound as the default value.
32 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
34 * chartab.h (load_char_attribute_maybe_cos): New prototype when
35 HAVE_LIBCHISE is defined.
36 (get_char_id_table_ce): New inline function when HAVE_LIBCHISE is
39 * mule-charset.c (charset_code_point): Use `get_char_id_table_ce'
40 instead of `get_char_id_table' when HAVE_LIBCHISE is defined.
41 (load_char_decoding_entry_maybe): Don't use
42 `decoding_table_put_char' to avoid GC.
44 * text-coding.c (concord_setup_env_maybe): Abolished.
45 (COMPOSE_ADD_CHAR): Use `open_chise_data_source_maybe' instead of
46 `concord_setup_env_maybe'.
48 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
50 * chartab.c (open_chise_data_source_maybe): New implementation;
51 don't use `build_string' and `Fexpand_file_name' to avoid GC.
52 (char_table_get_db_cos): New function when HAVE_LIBCHISE is
54 (load_char_attribute_maybe_cos): Likewise.
56 2013-04-23 MORIOKA Tomohiko <tomo.git@chise.org>
58 * text-coding.c (struct decoding_stream): Use COS_object instead
59 of Lisp_Object for `combining_table' if HAVE_LIBCHISE is defined.
60 (reset_decoding_stream): Likewise.
61 (COMPOSE_FLUSH_CHARS): Likewise.
62 (concord_setup_env_maybe): New function.
63 (COMPOSE_ADD_CHAR): Use COS API for `str->combining_table' if
64 HAVE_LIBCHISE is defined.
66 2013-02-16 MORIOKA Tomohiko <tomo.git@chise.org>
68 * chartab.c (find_char_feature_in_family): New implementation;
69 don't support multiple parents; support non-list mother.
71 2012-06-11 MORIOKA Tomohiko <tomo.git@chise.org>
73 * text-coding.c (Qenable_decomposition): New variable in XEmacs
75 (Fmake_coding_system): Add new property `enable-decomposition' in
77 (char_encode_utf8): Don't decompose character if
78 CODING_SYSTEM_ENABLE_DECOMPOSITION (str->codesys) is false.
79 (syms_of_file_coding): Add new symbol `enable-decomposition' in
81 (complex_vars_of_file_coding): Define new coding-system-property
82 `enable-decomposition' in XEmacs CHISE.
84 * file-coding.h (struct Lisp_Coding_System): Add
85 `enable_decomposition' in XEmacs CHISE.
86 (CODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
87 (XCODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
89 2012-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
91 * text-coding.c (DECODE_ADD_UCS_CHAR): Add `static'.
93 2012-02-11 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
95 * text-coding.c (DECODE_ADD_UCS_CHAR): Don't use `INLINE_HEADER'.
97 * chartab.c (UINT8_DECODE): Don't use `INLINE_HEADER'.
98 (UINT16_DECODE): Ditto.
100 * glyphs-eimage.c (png_instantiate):
101 - Use `png_get_image_height (png_ptr, info_ptr)' instead of
103 - Use `png_get_image_width (png_ptr, info_ptr)' instead of
105 - Use `png_get_color_type(png_ptr, info_ptr)' instead of
106 `info_ptr->color_type'.
107 - Use `png_get_bit_depth(png_ptr, info_ptr)' instead of
108 `info_ptr->bit_depth'.
110 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
112 * mule-charset.c (charset_code_point): If nil is specified as a
113 feature-value, don't find in mother and return -1.
115 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
117 * chartab.c (Fput_char_attribute): Accept nil as a value of
118 CCS-feature [it means that specified object does not have
119 code-point of the CCS-feature].
121 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
124 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
126 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * text-coding.c (char_encode_as_entity_reference): Don't use
129 `DECODE_CHAR' to detect isolated characters.
131 * mule-charset.c (charset_code_point): Change the third argument
132 `defined_only' to `accepted_mode'; `accepted_mode' can be
133 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
135 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
136 (CHAR_ALL): New macro.
137 (CHAR_DEFINED_ONLY): New macro.
139 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
141 * chartab.c (Fchar_feature_base_name_eq): New function when
143 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
144 (syms_of_chartab): Add new builtin function
145 `char-feature-base-name=' when UTF2000 is enabled.
147 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
149 * text-coding.c (Vdecomposition_feature_list): New variable when
151 (char_encode_utf8): Refer variable `decomposition-feature-list'
152 instead of `=decomposition' feature.
153 (vars_of_file_coding): Add new variable
154 `decomposition-feature-list' when UTF2000 is defined.
156 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
158 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
159 `=decomposition' feature.
161 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
163 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
164 coded-charsets with builtin characters.
166 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
168 * text-coding.c (Qrep_decomposition): New extern.
169 (char_encode_utf8): Try to encode as combing sequence (or IVS).
171 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
174 "#endif" for code to refer Vchise_system_db_directory.
176 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
179 (Fconcord_object_adjoin): New function.
180 (Fconcord_object_adjoinX): New function.
181 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
182 `Fconcord_object_adjoinX'.
184 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 - Include "elconcord.h".
188 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
189 and `Fconcord_object_get' to elconcord.h.
190 (Lisp_CONCORD_DS): Moved to elconcord.h.
191 (struct Lisp_CONCORD_DS): Ditto.
192 (XCONCORD_DS): Ditto.
193 (XSET_CONCORD_DS): Ditto.
194 (CONCORD_DS_P): Ditto.
195 (CHECK_CONCORD_DS): Ditto.
196 (CONCHECK_CONCORD_DS): Ditto.
197 (Lisp_CONCORD_Object): Ditto.
198 (struct Lisp_CONCORD_Object): Ditto.
199 (XCONCORD_OBJECT): Ditto.
200 (XSET_CONCORD_OBJECT): Ditto.
201 (CONCORD_OBJECT_P): Ditto.
202 (CHECK_CONCORD_OBJECT): Ditto.
203 (CONCHECK_CONCORD_OBJECT): Ditto.
204 (CONCORD_OBJECT_GENRE): Ditto.
205 (CONCORD_OBJECT_ID): Ditto.
206 (XCONCORD_OBJECT_ID): Ditto.
207 (XCONCORD_OBJECT_GENRE): Ditto.
208 (concord_object_equal): New function.
209 (LRECORD_IMPLEMENTATION of "concord_object"): Use
210 `concord_object_equal'.
212 * elconcord.h: New file.
214 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * concord.c (print_concord_object): Use readable form even if
217 `print-readably' is nil.
219 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * concord.c (print_concord_object): Don't display location of
222 data-source when `print-readably' is nil.
224 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
227 the default location of data-source.
228 (complex_vars_of_concord): Use Vchise_system_db_directory to
229 assign genre `character' and `feature'.
231 * chartab.h (Vchise_system_db_directory): New extern when
232 HAVE_CONCORD is defined.
234 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
237 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
239 (Fconcord_object_genre): New function.
241 - Add new builtin symbols `character' and `feature' when
242 HAVE_LIBCHISE is defined.
243 - Add Add new builtin function `concord-object-genre'.
244 (complex_vars_of_concord): New function; assign genres `character'
245 and `feature' when HAVE_LIBCHISE is defined.
247 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * emacs.c (main_1): Call `complex_vars_of_concord' when
250 HAVE_CONCORD is defined.
252 * symsinit.h (complex_vars_of_concord): New prototype.
254 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
256 * chartab.c (allocate_character): Add `static'.
258 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * chartab.c (allocate_character): New function.
261 (Fdefine_char): Use allocate_character().
263 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
268 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * chartab.c (save_uint8_byte_table): Fixed problem when a property
272 (save_uint16_byte_table): Likewise.
274 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Fchar_feature_property): New function when LIBCHISE
278 (Fput_char_feature_property): Likewise.
279 (syms_of_chartab): Add new builtin functions
280 `char-feature-property' and `put-char-feature-property' when
283 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
287 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
289 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
291 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
292 (make_charset): Add new argument `iso_ir'.
293 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
294 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
296 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
297 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
299 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
300 function `make_charset'.
302 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
303 (struct Lisp_Charset): Add new member `iso_ir'.
304 (CHARSET_ISO_IR): New macro.
306 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
309 code-point by GL charset.
311 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * concord.c (concord_id_validate): New function.
314 (structure_type_create_concord): Use `concord_id_validate' instead
315 of `concord_name_validate' to accept integer and character as =id.
317 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * concord.c (func_for_each_object): Fix bug about GC-protection.
321 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * concord.c (Fconcord_object_put): Check argument FEATURE is a
326 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * text-coding.c (struct decoding_stream): Add new member
329 `bom_flag' in XEmacs CHISE.
330 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
333 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * mule-charset.c: Move definition of `=jis-x0208@1978' to
336 lisp/mule/mule-conf.el.
338 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
341 (make_charset): Add new argument `partial'.
342 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
343 (Fmake_reverse_direction_charset): Modify for `make_charset'.
344 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
346 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
347 `=jis-x0208' as a partial coded-charset.
349 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * text-coding.c (decode_add_er_char): Fix problem when a character
352 represented by an entity-reference is not defined.
354 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
359 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
364 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
367 is a relation feature.
369 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
371 * chartab.c (syms_of_chartab): Define
372 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
374 * chartab.h (Q_denotational): New extern when UTF2000 or
375 HAVE_CONCORD is defined.
376 (Q_denotational_from): Likewise.
377 (Q_subsumptive): Likewise.
378 (Q_subsumptive_from): Likewise.
380 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
382 * concord.c (concord_object_put): New function.
383 (Fconcord_object_put): Use `concord_object_put'.
385 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * concord.c (Fconcord_define_object): New function.
388 (syms_of_concord): Add new builtin function
389 `concord-define-object'.
391 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
393 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
396 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * concord.c: Add EXFUN for Fconcord_object_get.
399 (Vconcord_genre_object_hash_table): New variable.
400 (concord_genre_cache_get_object): New function.
401 (concord_genre_cache_put_object): New function.
402 (Fconcord_make_object): Use object cache; put object-ID into `=id'
404 (Fconcord_object_put): Call `concord_index_sync' after
405 `concord_index_strid_put_obj'.
406 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
408 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * concord.c (Fconcord_decode_object): Do GCPRO for
411 Fconcord_make_object.
412 (func_for_each_object): Likewise; do GCPRO for
413 for_each_object_closure->function.
414 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
415 for_each_object_closure->function, for_each_object_closure->genre,
416 for_each_object_closure->ds and for_each_object_closure->ret.
417 (concord_object_validate): Do GCPRO for Fconcord_make_object.
419 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * concord.c: Add EXFUNs for Fconcord_decode_object and
423 (Fconcord_make_object): Change order of arguments.
424 (Fconcord_decode_object): Modify for Fconcord_make_object.
425 (func_for_each_object): Likewise.
426 (concord_object_validate): Likewise.
427 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
429 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
433 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * concord.c (Fconcord_decode_object): Try to use readable print
436 form as a key of Concord-index.
437 (Fconcord_object_get): Try to use readable print form as an ID of
439 (Fconcord_object_put): Try to use readable print form as an ID of
440 Concord-object and a feature value.
441 (Fconcord_object_spec): Try to use readable print form as an ID of
444 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * concord.c (print_concord_object): Support readable form.
448 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * emacs.c (main_1): Call `structure_type_create_concord' when
451 HAVE_CONCORD is defined.
453 * symsinit.h (structure_type_create_concord): New prototype.
455 * concord.c (Qconcord_object): New variable.
458 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
460 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
461 char*> for genre-name.
462 (Fconcord_feature_list): Likewise.
463 (Fconcord_make_object): Likewise.
464 (Fconcord_decode_object): Likewise; use <char*> instead of
465 <unsigned char*> for feature_name and strid.
466 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
467 c_obj and feature_name.
468 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
470 (struct closure_for_object_spec): Use <char*> instead of <unsigned
471 char*> for member `object_id'.
472 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
473 char*> for feature-name.
474 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
476 (func_for_each_object): Cast to avoid warnings.
477 (Fconcord_foreach_object_in_feature): Use <char*> instead of
478 <unsigned char*> for genre_name and feature_name.
479 (concord_name_validate): New function.
480 (concord_object_validate): Likewise.
481 (concord_object_instantiate): Likewise.
482 (syms_of_concord): Add new builtin symbols `concord-object',
484 (structure_type_create_concord): New function.
486 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * concord.c (Vconcord_ds_hash_table): New variable.
489 (Vconcord_genre_hash_table): New variable.
490 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
491 (Fconcord_ds_directory): New function.
492 (Fconcord_assign_genre): New function.
493 (Fconcord_genre_directory): New function.
494 (Fconcord_genre_ds): New function.
495 (Fconcord_feature_list): Allow to omit `ds'.
496 (Fconcord_make_object): Likewise.
497 (Fconcord_decode_object): Likewise.
498 (Fconcord_foreach_object_in_feature): Likewise.
499 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
500 Fconcord_assign_genre, Fconcord_genre_directory and
502 (vars_of_concord): Setup Vconcord_ds_hash_table and
503 Vconcord_genre_hash_table.
505 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * concord.c (struct closure_for_each_object): Add new member
509 (func_for_each_object): Setup the return value to
510 `for_each_object_closure->ret'.
511 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
512 returns the value instead of Qt.
514 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * concord.c: New file.
518 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
521 `lrecord_type_concord_object'.
523 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
525 * symsinit.h (syms_of_concord): New prototype.
526 (vars_of_concord): New prototype.
528 * emacs.c (main_1): Setup symbols and variable about concord if
529 HAVE_CONCORD is defined.
531 * config.h.in (HAVE_CONCORD): New macro.
533 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * chartab.c (Fput_char_attribute): For each character relation
536 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
538 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * chartab.c (Fput_char_attribute): Use
541 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
542 calling `put_char_composition'.
544 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
546 * chartab.c (Q_halfwidth_of): New variable.
547 (put_char_composition): Return `<-halfwidth' instead of
548 `=decomposition' for compatibility mapping to single character
550 (Fput_char_attribute): Convert char-specs in value of
551 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
552 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
554 (syms_of_chartab): Add new symbol `<-halfwidth'.
556 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * chartab.c (put_char_composition): Return
559 `<-formed@{isolated|initial|medial|final}' for compatibility
560 mapping to single character tagged
561 `{isolated|initial|medial|final}'.
563 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * chartab.c (Q_compat_of): Deleted.
566 (put_char_composition): Return `<-FOO' for compatibility mapping
567 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
568 of `symbol_name (XSYMBOL(...))'.
569 (Fput_char_attribute): Convert char-specs in value of
570 `{<-|->}font[^*]*' to characters and put reverse links.
571 (Fsave_char_attribute_table): Don't refer Q_compat_of.
572 (syms_of_chartab): Delete builtin symbol `<-compat'.
574 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
576 * chartab.c (Q_circled_of): New variable.
577 (put_char_composition): Return `<-circled' instead of
578 `=decomposition' for compatibility mapping to single character
580 (Fput_char_attribute): Convert char-specs in value of
581 `{<-|->}circled[^*]*' to characters and put reverse links.
582 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
584 (syms_of_chartab): Add new symbol `<-circled'.
586 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * chartab.c (Qto_decomposition_at_circled): New variable.
589 (put_char_composition): Return `=>decomposition@circled' instead
590 of `=decomposition' for compatibility decomposition mapping tagged
592 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
594 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * chartab.c (Q_subscript_of): New variable.
597 (put_char_composition): Return `<-subscript' instead of
598 `=decomposition' for compatibility mapping to single character
600 (Fput_char_attribute): Convert char-specs in value of
601 `{<-|->}subscript[^*]*' to characters and put reverse links.
602 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
604 (syms_of_chartab): Add new symbol `<-subscript'.
606 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * chartab.c (Q_superscript_of): New variable.
609 (put_char_composition): Return `<-superscript' instead of
610 `=decomposition' for compatibility mapping to single character
612 (Fput_char_attribute): Convert char-specs in value of
613 `{<-|->}superscript[^*]*' to characters and put reverse links.
614 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
616 (syms_of_chartab): Add new symbol `<-superscript'.
618 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * chartab.c (Qto_decomposition_at_compat): Deleted.
621 (Qto_decomposition_at_superscript): New variable.
622 (put_char_composition): Use `=>decomposition@superscript' instead
623 of `=decomposition' for compatibility decomposition mapping tagged
625 (Fput_char_attribute): Fix condition about `put_char_composition'.
626 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
627 add news symbol `=>decomposition@superscript'.
629 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
632 for compatibility decomposition mapping tagged FOO.
633 (Fput_char_attribute): Modify for `put_char_composition'.
635 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * chartab.c (Qto_decomposition_at_compat): New variable.
638 (Q_compat_of): Renamed from `Q_compatibility_of'.
639 (put_char_composition): Rename `Q_compatibility_of' to
640 `Q_compat_of'; return `=>decomposition@compat' for compatibility
641 decomposition mapping.
642 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
644 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
645 `<-compatibility' to `<-compat'.
647 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
649 * chartab.c (Q_compatibility_of): New variable.
650 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
651 object is proved to be a cons cell; return `<-compatibility' if
652 the first element of argument `value' is `compat'.
653 (Fput_char_attribute): Eliminate the first value if
654 `put_char_composition' returns `<-compatibility'.
655 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
656 for `<-compatibility'.
657 (syms_of_chartab): Add new symbol `<-compatibility'.
659 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
661 * chartab.c (Q_canonical): New variable.
662 (put_char_composition): Return a feature name: return
663 `->canonical' if argument `value' specifies single character.
664 (Fput_char_attribute): Use `put_char_composition' to determine
665 feature name for `=decomposition' or `->denotational'.
666 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
668 (syms_of_chartab): Add new symbol `->canonical'.
670 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
672 * chartab.c (Qmap_decomposition): New variable.
673 (Fput_char_attribute): Convert `->decomposition' to
675 (syms_of_chartab): Add new symbol `=decomposition'.
677 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
679 * chartab.c (Fget_range_char_table): Fix serious problem when
682 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * chartab.c (char_table_get_db): Use `read_from_c_string'.
686 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * lread.c (read_from_c_string): New function.
690 * lisp.h (read_from_c_string): New prototype.
692 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * chartab.c (Fput_char_attribute): Convert char-specs in value of
695 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
696 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
697 for `{<-|->}Oracle-Bones[^*]*'.
699 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
704 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * text-coding.c (Qccs_priority_list): New variable in XEmacs
708 (Fmake_coding_system): Support new property `ccs-priority-list' in
710 (Fcoding_system_property): Likewise.
711 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
712 Vdefault_coded_charset_priority_list in XEmacs CHISE.
713 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
715 (complex_vars_of_file_coding): Define new coding-system-property
716 `ccs-priority-list' in XEmacs CHISE.
718 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
720 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
722 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
723 changed to normal function.
724 (encode_char_2): Likewise.
726 * mule-charset.c (decoding_table_put_char): Copied from
727 char-ucs.h; changed to normal function.
728 (encode_char_2): Likewise.
730 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
734 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
735 (encode_char_2_search_children): New inline function.
736 (encode_char_2): Refer
737 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
738 and use `encode_char_2_search_children'.
740 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
744 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
745 (vars_of_mule_charset): Add new variable
746 `display-coded-charset-priority-use-inheritance' and
747 `display-coded-charset-priority-use-hierarchy-order'.
749 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * char-ucs.h (Q_subsumptive): New extern.
752 (Q_denotational): Likewise.
753 (encode_char_2): Search children specified by `->subsumptive' and
756 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * mule-charset.c (complex_vars_of_mule_charset): Modify the
759 X-registry of `ucs-bmp'.
761 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * chartab.c (char-variants): Refer `->subsumptive',
764 `->denotational' and `->identical' as same as `->ucs-unified'.
766 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * chartab.c (Fput_char_attribute): Convert char-specs in value of
769 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
772 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * text-coding.c: Add EXFUN for `Fregexp_quote'.
775 (decode_add_er_char): Fix problem about infinite loop when a CCS
776 specified in `coded-charset-entity-reference-alist' is not
779 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
781 * mule-charset.c (syms_of_mule_charset): Rename
782 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
784 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
786 * fns.c (simplify_char_spec): Don't allocate new character-object
787 if specified char_spec does not have any CCS-features.
789 * chartab.h: Add EXFUN for Fdefine_char.
791 * chartab.c: Delete EXFUN for Fdefine_char.
793 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * fns.c (simplify_char_spec): Use Fdefine_char instead of
796 Ffind_char for char-spec.
798 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * lisp-disunion.h (XCHARVAL): Fix condition about
803 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
807 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
808 point; use <Emchar> instead of <int> for character-id.
810 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
813 (make_char): Likewise.
814 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
816 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
817 instead of <int> as the type of return value; use <Lisp_Object>
818 instead of <Emchar> as the type of argument.
819 (XCHARVAL[macro version]): Cast the result into <Emchar>.
821 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
822 syntaxcode> instead of <int>.
824 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * chartab.c (put_char_composition): Use DECODE_CHAR to get
827 character corresponding with UCS code point.
828 (Fput_char_attribute): Likewise.
830 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
831 character in the UCS decoding-table if the char-id is not equal to
834 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
837 for aliases; write `description'; write
838 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
841 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
843 * chartab.c (Fsave_char_attribute_table): Don't use
844 `save_charset_properties'.
846 * mule-charset.c (Fsave_charset_properties): Renamed from
847 `save_charset_properties' and changed to Lisp function again;
848 write property `type' as `CCS'; write properties `final-byte' and
849 `mother' if they exists.
850 (syms_of_mule_charset): Revive builtin function
851 `save-charset-properties' when HAVE_LIBCHISE is defined.
853 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
856 instead of Vexec_directory.
857 (char_attribute_system_db_file): Likewise.
859 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * chartab.c (Fsave_char_attribute_table): Use
862 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
865 * mule-charset.c (save_charset_properties): Renamed from
866 `Fsave_charset_properties'; changed to non-Lisp function.
867 (syms_of_mule_charset): Abolish builtin function
868 `save-charset-properties'.
870 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
872 * mule-charset.c (Fsave_charset_properties): New function when
873 HAVE_LIBCHISE is defined.
874 (syms_of_mule_charset): Add new builtin function
875 `save-charset-properties' when HAVE_LIBCHISE is defined.
877 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
879 * chartab.c (Fput_char_attribute): Convert char-specs in value of
880 `{<-|->}ancient[^*]*' to characters and put reverse links.
881 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
882 for `{<-|->}ancient[^*]*'.
884 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * chartab.c (Fput_char_attribute): Convert char-specs in value of
887 `{<-|->}original[^*]*' to characters and put reverse links.
888 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
889 for `{<-|->}original[^*]*'.
891 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
893 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
895 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * mule-charset.c (Qsystem_char_id): New variable.
899 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
900 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
902 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * chartab.c (Fput_char_attribute): When processing a reference of
905 a character, put into the end of the reversed reference of each
908 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
910 * chartab.c (Q_same): Deleted.
911 (Q_same_of): Deleted.
912 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
913 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
915 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
917 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * chartab.c (Q_vulgar): Deleted.
920 (Q_vulgar_of): Deleted.
921 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
922 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
924 (syms_of_chartab): Don't define `{<-|->}vulgar'.
926 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
928 * chartab.c (Fput_char_attribute): Convert char-specs in value of
929 `{<-|->}wrong[^*]*' to characters and put reverse links.
930 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
931 for `{<-|->}wrong[^*]*'.
933 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * chartab.c (Q_vulgar): New variable.
936 (Q_vulgar_of): New variable.
937 (Fput_char_attribute): Convert char-specs in value of
938 `{->|<-}vulgar' to characters and put reverse links.
939 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
941 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
943 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * text-coding.c (decode_add_er_char): Must to quote prefix string
948 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * mule-charset.c (put_char_ccs_code_point): Store characters of
951 =ucs whose code_points >= 0xF0000.
953 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
955 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
957 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
959 (complex_vars_of_mule_charset): Add new coded-charset
960 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
961 builtin characters over 0xEFFFF.
963 * chartab.c (syms_of_chartab): Don't define symbol
964 `system-char-id' in every case.
966 * char-ucs.h (Qsystem_char_id): New extern variable.
967 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
969 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
971 * text-coding.c (char_encode_utf8): Try to use entity-references
972 for U-000F0000 ... U-0010FFFF.
974 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
976 * text-coding.c (ER_BUF_SIZE): New macro.
977 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
979 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
980 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
982 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
984 * chartab.c (find_char_feature_in_family): New function.
985 (Fchar_feature): Use `find_char_feature_in_family' with
986 `->identical', `<-subsumptive' and `<-denotational'.
988 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
990 * text-coding.c (char_encode_as_entity_reference): Allow prefix
991 within 8 characters; fix infinite loop.
993 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * chartab.c (Q_same): New variable.
996 (Q_same_of): New variable.
997 (Fput_char_attribute): Convert char-specs in value of
998 `{->|<-}same' to characters and put reverse links.
999 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1001 (syms_of_chartab): Add new symbols `{->|<-}same'.
1003 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1005 * chartab.c (Q_component): New variable.
1006 (Q_component_of): Likewise.
1007 (Fput_char_attribute): Convert char-specs in value of
1008 `{->|<-}ideographic-component-forms' to characters and put reverse
1010 (syms_of_chartab): Add new symbols
1011 `{->|<-}ideographic-component-forms'.
1013 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1015 * chartab.c (Q_identical): New variable.
1016 (Q_identical_from): New variable.
1017 (Fchar_feature): Regard `->identical' as a feature to find
1019 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
1020 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1021 for `{->|<-}identical'.
1022 (syms_of_chartab): Add new symbols `{->|<-}identical'.
1024 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * char-ucs.h (encode_char_2): New inline function.
1027 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
1029 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * chartab.c (Fput_char_attribute): Convert char-specs to
1032 characters in value of `ideographic-structure'.
1033 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1034 for `{<-|->}simplified(@...)'.
1035 (Fdefine_char): Try to use predefined character's id.
1037 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1039 * fns.c (simplify_char_spec): Try to convert builtin chars to
1042 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1044 * chartab.c (Fput_char_attribute): Convert char-specs in value of
1045 `<-simplified[^*]*' to characters and put reverse links.
1047 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1049 * chartab.c (Q_subsumptive): Renamed from Q_unified.
1050 (Q_subsumptive_from): Renamed from Q_unified_from.
1051 (Fchar_feature): Use `Q_subsumptive_from' instead of
1053 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
1055 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
1056 `<-unified' to `<-subsumptive'.
1058 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
1061 inheritance itself; fix typo; stop recursive search if cyclic
1062 inheritance is found.
1064 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * chartab.c (Q_denotational): New variable.
1067 (Q_denotational_from): New variable.
1068 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
1069 (put_char_attribute): New function.
1070 (Fput_char_attribute): Use `put_char_attribute'; regard
1071 `->denotational' and `<-denotational' as same as `->unified' and
1073 (syms_of_chartab): Add new symbols `->denotational' and
1076 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1078 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
1079 `Fget_char_attribute'.
1080 (Fchar_variants): Likewise.
1081 (get_char_table): Likewise.
1082 (Fchar_feature): New function.
1083 (put_char_composition): Use `Fchar_feature' instead of
1084 `Fget_char_attribute'.
1085 (Fput_char_attribute): Likewise; don't put the target character
1086 into its `->unified' value.
1087 (syms_of_chartab): Add new builtin function `char-feature'.
1089 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1091 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
1092 `Fget_char_attribute'.
1093 (char_encode_utf8): Likewise.
1095 * chartab.h: Add an EXFUN for `Fchar_feature'.
1097 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1099 * chartab.c (Vnext_defined_char_id): New variable.
1100 (Fput_char_attribute): Accept characters in `->unified'.
1101 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
1102 new characters which are not related with builtin char-id ranges.
1103 (vars_of_chartab): Add new variable `next-defined-char-id'.
1105 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * chartab.c (Q_unified): New variable.
1108 (Q_unified_from): New variable.
1109 (Fput_char_attribute): Add code for `->unified'.
1110 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1113 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1115 * mule-charset.c (decode_ccs_conversion): New function.
1116 (decode_defined_char): Use `decode_ccs_conversion'.
1117 (decode_builtin_char): Likewise.
1119 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1121 * char-ucs.h: Change some charset-ids of private coded-charsets.
1123 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1125 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1126 (char_encode_as_entity_reference): Likewise.
1127 (decode_coding_big5): Modify for `decode_defined_char' and
1129 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1130 avoid compiler warning.
1131 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1133 * mule-charset.c (decode_defined_char): Add new argument
1134 `without_inheritance'.
1135 (Fdecode_char): Add new optional argument `without_inheritance'.
1136 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1138 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1139 (simplify_char_spec): Likewise.
1141 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1144 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1145 (map_char_table): Likewise.
1146 (Fdefine_char): Use `Fdecode_char' without inheritance.
1147 (Ffind_char): Modify for `Fdecode_char'.
1149 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1151 * char-ucs.h (decode_defined_char): Add new argument
1152 `without_inheritance'.
1153 (DECODE_CHAR): Likewise.
1154 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1156 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1158 * chartab.c (Vchise_system_db_directory): New variable.
1159 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1161 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1164 (print_chartab_range): Don't define when `UTF2000' is defined.
1165 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1168 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1170 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1171 and optional argument `rehash' is specified, call
1172 `open_chise_data_source_maybe' before
1173 `chise_ds_foreach_char_feature_name' is called.
1175 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * chartab.c (char_attribute_list_reset_map_func): New function
1178 when HAVE_LIBCHISE is defined.
1179 (Fchar_attribute_list): Add new optional argument `rehash' when
1180 HAVE_LIBCHISE is defined.
1181 (open_chise_data_source_maybe): Use "chise-db" instead of
1183 (char_attribute_system_db_file): Likewise.
1184 (Fload_char_attribute_table): Use
1185 `chise_feature_foreach_char_with_value' instead of
1186 `chise_char_feature_value_iterate'.
1188 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * chartab.c (Vchise_db_directory): New variable.
1191 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1193 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1196 instead of HAVE_CHISE to specify using with libchise.
1198 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1200 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1202 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1203 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1204 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1206 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1207 HAVE_CHISE to specify using with libchise.
1208 (syms_of_chartab): Don't define symbol `system-char-id' when
1209 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1211 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1213 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1214 specify CHISE DB support.
1215 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1216 of `char_attribute_system_db_file' to check feature DB file.
1218 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1219 HAVE_CHISE_CLIENT to specify CHISE DB support.
1221 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1222 specify CHISE DB support.
1223 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1225 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1226 instead of `char_attribute_system_db_file' to check feature DB
1229 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1231 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1232 `HAVE_CHISE_CLIENT'.
1234 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1236 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1237 (Fsave_charset_mapping_table): Don't use
1238 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1240 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1241 (HAVE_LIBCHISE): New macro.
1243 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1245 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1246 (Fsave_char_attribute_table): Don't use
1247 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1249 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1251 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1253 (save_uint16_byte_table): Likewise.
1254 (save_byte_table): Likewise.
1255 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1256 instead of `chise_char_load_feature_value'.
1257 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1259 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1261 * chartab.h (struct Lisp_Char_Table): Delete member
1262 `feature_table' if CHISE is defined.
1264 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1265 (Fcopy_char_table): Likewise.
1266 (char_table_open_db_maybe): Likewise.
1267 (char_table_close_db_maybe): Likewise.
1268 (char_table_get_db): Likewise.
1269 (Fmount_char_attribute_table): Likewise.
1270 (Fload_char_attribute_table): Likewise.
1272 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1274 * mule-charset.c (load_char_decoding_entry_maybe): Use
1275 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1278 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1281 instead of `chise_open_data_source'.
1282 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1285 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1288 instead of `chise_ds_open_feature_table'.
1289 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1291 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * mule-charset.c (Fsave_charset_mapping_table): Use
1294 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1295 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1296 `chise_ccs_sync' instead of `chise_ccst_close'.
1297 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1299 * chartab.c (open_chise_data_source_maybe): Modify for
1300 `chise_open_data_source'.
1301 (char_table_open_db_maybe): Modify for
1302 `chise_ds_open_feature_table'.
1304 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1306 * mule-charset.c (load_char_decoding_entry_maybe): Use
1307 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1310 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1312 * mule-charset.c (Fsave_charset_mapping_table): Use
1313 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1314 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1315 `chise_dt_put_char' and `chise_dt_close'.
1316 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1317 `chise_ccs_decode' and `chise_ccst_close' instead of
1318 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1321 * chartab.c (char_table_get_db): Use
1322 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1323 (load_char_attribute_table_map_func): Modify for
1324 `chise_char_feature_value_iterate'.
1325 (Fload_char_attribute_table): Use
1326 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1328 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1330 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1332 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1334 * chartab.c (put_char_table): Modify for inherited coded-charsets
1337 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1339 * chartab.c (Fput_char_table_map_function): Fixed.
1340 (word_boundary_p): Don't check charset in XEmacs CHISE.
1342 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1344 * mule-charset.c (Fsave_charset_mapping_table): Use
1345 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1346 instead of `chise_open_decoding_table'; refer
1347 `default_chise_data_source'; use `chise_dt_close' instead of
1348 `chise_close_decoding_table'.
1349 (load_char_decoding_entry_maybe): Likewise.
1351 * chartab.c (default_chise_data_source): New variable when `CHISE'
1353 (Fcopy_char_table): `ct->ds' is deleted.
1354 (open_chise_data_source_maybe): New function.
1355 (Fclose_char_data_source): New function.
1356 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1357 use `chise_ds_open_feature_table' instead of
1358 `chise_open_feature_table'.
1359 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1360 `chise_close_feature_table'; `cit->ds' is deleted.
1361 (syms_of_chartab): Add new builtin function
1362 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1364 * chartab.h (default_chise_data_source): New extern variable.
1365 (open_chise_data_source_maybe): New prototype.
1366 (struct Lisp_Char_Table): Delete `ds'.
1368 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1370 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1373 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1375 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1376 not defined; add code for non-libchise setting.
1377 (char_table_close_db_maybe): Likewise.
1378 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1380 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1381 even if `CHISE' is not defined.
1382 (Freset_char_attribute_table): Likewise.
1383 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1384 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1385 `char_table_get_db'.
1386 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1387 `char_table_close_db_maybe' even if `CHISE' is not defined.
1389 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1391 * chartab.c (char_table_open_db_maybe): New function.
1392 (char_table_close_db_maybe): New function.
1393 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1394 (Freset_char_attribute_table): Likewise.
1395 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1396 `char_table_close_db_maybe'.
1397 (Fload_char_attribute_table): Likewise.
1399 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * chartab.c: Don't include <chise.h> because it is included in
1403 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1405 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1407 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1409 (Fclose_char_attribute_table): Close `ct->feature_table' and
1410 `ct->ds' when `CHISE' is defined.
1411 (Freset_char_attribute_table): Likewise.
1412 (load_char_attribute_maybe): Use `cit->ds' and
1413 `cit->feature_table' when `CHISE' is defined.
1414 (Fload_char_attribute_table): Likewise.
1416 * chartab.h: Include <chise.h> when `CHISE' is defined.
1417 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1418 when `CHISE' is defined.
1420 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1422 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1424 (char_table_description): Likewise.
1425 (Fmake_char_table): Likewise.
1426 (Fcopy_char_table): Likewise.
1427 (Fmount_char_attribute_table): Likewise.
1428 (Fclose_char_attribute_table): Likewise.
1429 (Freset_char_attribute_table): Likewise.
1430 (load_char_attribute_maybe): Likewise.
1431 (Fload_char_attribute_table): Likewise.
1433 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1436 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1438 * chartab.c (load_char_attribute_table_map_func): New function
1439 when CHISE is defined.
1440 (Qload_char_attribute_table_map_function): Don't define when CHISE
1442 (Fload_char_attribute_table_map_function): Likewise.
1443 (Fload_char_attribute_table): Use libchise when `CHISE' is
1445 (syms_of_chartab): Don't define
1446 `load-char-attribute-table-map-function' when CHISE is defined.
1448 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1450 * chartab.c: Include <chise.h> when `CHISE' is defined.
1451 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1453 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1455 * mule-charset.c (charset_code_point): Fix problem when searching
1456 in mother CCS fails with `defined_only' mode.
1458 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1460 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1461 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1462 (put_char_composition): Likewise.
1463 (Fput_char_attribute): Likewise.
1464 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1466 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1468 * chartab.c (Q_ucs): Deleted.
1469 (Fput_char_attribute): Don't refer `->ucs'.
1470 (Fdefine_char): Likewise.
1471 (Ffind_char): Likewise.
1472 (syms_of_chartab): Delete `->ucs'.
1474 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1476 * mule-charset.c (Qmap_cns11643_2): Renamed from
1477 `Qchinese_cns11643_2'.
1478 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1479 `chinese-cns11643-2'.
1480 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1483 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1485 * mule-charset.c (Qmap_cns11643_1): Renamed from
1486 `Qchinese_cns11643_1'.
1487 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1488 `chinese-cns11643-1'.
1489 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1492 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1494 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1495 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1497 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1500 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1502 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1503 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1505 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1508 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1510 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1511 (syms_of_mule_charset): Add new symbol `=big5' instead of
1513 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1515 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1518 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1520 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1523 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1525 * mule-charset.c (Qmap_jis_x0212): Renamed from
1526 `Qjapanese_jisx0212'.
1527 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1528 `japanese-jisx0212'.
1529 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1532 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1534 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1535 `Qjapanese_jisx0208'.
1536 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1537 of `japanese-jisx0208'.
1538 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1541 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1543 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1544 `Qjapanese_jisx0208_1978'.
1545 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1546 of `japanese-jisx0208-1978'.
1547 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1550 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1552 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1553 only for XEmacs CHISE.
1555 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1557 * char-ucs.h: Compact non-ISO-IR charset-ids.
1558 (LEADING_BYTE_UCS): Changed to -177.
1559 (LEADING_BYTE_CONTROL_1): Changed to -77.
1560 (LEADING_BYTE_UCS_BMP): Changed to -176.
1561 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1563 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1565 * mule-charset.c (Qiso_ir): New variable.
1566 (Fmake_charset): Recognise new property `iso-ir'.
1567 (syms_of_mule_charset): Add new symbol `iso-ir'.
1569 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1572 n to -n; charset-id of non ISO-IR sets are changed to positive
1575 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1577 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1578 for &MCS-XXXXXXXX; values.
1580 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1582 * mule.c (Vxemacs_chise_version): Renamed from
1583 `Vutf_2000_version'.
1584 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1585 `utf-2000-version' as an alias for `xemacs-chise-version'.
1587 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1589 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1590 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1593 * config.h.in (CHISE): New macro.
1595 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1597 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1599 (Qmap_ucs): New variable.
1600 (syms_of_mule_charset): Add new symbol `=ucs'.
1601 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1603 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1604 (simplify_char_spec): Likewise.
1606 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1608 * char-ucs.h (Qmap_ucs): New extern variable.
1610 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1612 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1613 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1614 don't define it when UTF2000 is not defined.
1615 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1616 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1617 when UTF2000 is not defined.
1618 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1619 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1621 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1623 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1625 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1627 (syms_of_mule_charset): Delete `ucs-gb'.
1628 (complex_vars_of_mule_charset): Likewise.
1630 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1632 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1634 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1635 (Qucs_cns): Deleted.
1636 (syms_of_mule_charset): Delete `ucs-cns'.
1637 (complex_vars_of_mule_charset): Likewise.
1639 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1643 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1644 (Qucs_jis): Deleted.
1645 (syms_of_mule_charset): Delete `ucs-jis'.
1646 (complex_vars_of_mule_charset): Likewise.
1648 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1650 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1652 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1654 (syms_of_mule_charset): Delete `ucs-ks'.
1655 (complex_vars_of_mule_charset): Likewise.
1657 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1659 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1660 (Qideograph_daikanwa_2): Deleted.
1661 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1662 (complex_vars_of_mule_charset): Likewise.
1664 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1665 (LEADING_BYTE_DAIKANWA_1): Deleted.
1666 (LEADING_BYTE_DAIKANWA_2): Deleted.
1667 (MIN_CHAR_DAIKANWA): Deleted.
1668 (MAX_CHAR_DAIKANWA): Deleted.
1670 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1672 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1673 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1674 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1676 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1677 (Vcharset_ideograph_daikanwa): Deleted.
1678 (Qideograph_hanziku_{1..12}): Deleted.
1679 (Qideograph_daikanwa): Deleted.
1680 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1681 Vcharset_ideograph_daikanwa.
1682 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1683 `ideograph-hanziku-{1..12}'.
1684 (complex_vars_of_mule_charset): Likewise.
1686 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1688 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1690 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1691 (Qideograph_gt_pj_{1..11}): Deleted.
1692 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1693 (complex_vars_of_mule_charset): Likewise.
1695 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1697 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1698 (Vcharset_ideograph_gt): Deleted.
1699 (Qucs_big5): Deleted.
1700 (Qideograph_gt): Deleted.
1701 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1703 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1706 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1707 (LEADING_BYTE_GT): Deleted.
1708 (MIN_CHAR_GT): Deleted.
1709 (MAX_CHAR_GT): Deleted.
1711 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1713 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1715 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1717 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1718 (save_uint16_byte_table): Likewise.
1719 (save_byte_table): Likewise; convert values by it.
1720 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1721 for `ideographic-structure'.
1722 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1723 as the filter for `ideographic-structure'.
1725 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1727 * chartab.c (put_char_composition): New function.
1728 (Fput_char_attribute): Use `put_char_composition'; use
1729 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1731 * fns.c (simplify_char_spec): New function.
1732 (char_ref_simplify_spec): New function.
1733 (Fchar_refs_simplify_char_specs): New function.
1734 (syms_of_fns): Add new builtin function
1735 `char-refs-simplify-char-specs'.
1737 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1739 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1740 (Qideograph_cbeta): Deleted.
1741 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1742 (complex_vars_of_mule_charset): Likewise.
1744 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1745 (MIN_CHAR_CBETA): Comment out.
1746 (MAX_CHAR_CBETA): Likewise.
1748 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1750 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1751 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1752 CHISE client feature.
1754 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1756 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1758 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1760 * mule-charset.c (charset_lookup_description_1): Use
1761 `NUM_LEADING_BYTES' in UTF-2000.
1763 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1765 * char-ucs.h (GC_CHARSETP): Deleted.
1767 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1769 * char-ucs.h (MAX_CHAR_GT): Updated.
1771 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1773 * text-coding.c: Sync with XEmacs 21.4.10.
1775 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1777 * mule-charset.c (Vcharset_china3_jef): Deleted.
1778 (Qchina3_jef): Deleted.
1779 (syms_of_mule_charset): Don't define `china3-jef'.
1780 (complex_vars_of_mule_charset): Likewise.
1782 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1783 (MIN_CHAR_CHINA3_JEF): Comment out.
1784 (MAX_CHAR_CHINA3_JEF): Comment out.
1786 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * mule-charset.c (Vcharset_ucs_gb): New variable.
1789 (Qucs_gb): New variable.
1790 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1791 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1793 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1795 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1797 * mule-charset.c (charset_code_point): if a coded-charset has a
1798 final-byte, don't inherit the builtin range of the mother CCS.
1800 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1802 * mule-charset.c (charset_code_point): Fix problem about
1805 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1807 * mule-charset.c (decode_builtin_char): Reorganized.
1809 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1811 * text-coding.c (char_encode_as_entity_reference): Modify for
1812 `charset_code_point'.
1813 (char_encode_shift_jis): Likewise.
1814 (char_encode_big5): Likewise.
1815 (char_encode_utf8): Likewise.
1816 (char_encode_iso2022): Likewise.
1818 * mule-charset.c (charset_code_point): Add new argument
1820 (Fencode_char): Add new optional argument `defined_only'.
1822 * chartab.c (put_char_table): Modify for `charset_code_point'.
1824 * char-ucs.h (charset_code_point): Add new argument
1826 (encode_char_1): Modify for `charset_code_point'.
1828 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1831 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1833 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1835 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1836 (Qjis_x0208): Likewise.
1837 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1838 XCHARSET_FINAL(charset).
1839 (charset_code_point): Modify condition for final-byte based
1841 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1842 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1843 in UTF-2000; specify `=jis-x0208' as the mother of
1844 `japanese-jisx0208-1978', `japanese-jisx0208' and
1845 `japanese-jisx0208-1990' in UTF-2000.
1847 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1849 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1851 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1853 * text-coding.c (decode_coding_utf16): Support UTF-16.
1854 (char_encode_utf16): Fixed.
1856 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * text-coding.c (Qutf16): New variable in MULE.
1859 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1860 (Fcoding_system_type): Add `utf-16' in MULE.
1861 (struct detection_state): Add a structure for utf16 in MULE.
1862 (detect_coding_type): Setup st->utf16.mask in MULE.
1863 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1865 (reset_encoding_stream): Use `char_encode_utf16' and
1866 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1867 (detect_coding_utf16): New function [incomplete].
1868 (decode_coding_utf16): New function [support only UCS-2].
1869 (char_encode_utf16): New function.
1870 (char_finish_utf16): New function.
1871 (syms_of_file_coding): Add new symbol `utf-16'; setup
1872 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1874 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1876 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1877 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1879 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1881 * chartab.c (put_char_table): When a charset is specified as a
1882 range in UTF-2000, don't support builtin characters.
1884 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1886 * mule-charset.c (decode_defined_char): Don't refer external
1887 database if Qunbound or Qnil are found.
1888 (Fsave_charset_mapping_table): Don't define it if
1889 HAVE_CHISE_CLIENT is not defined.
1890 (Freset_charset_mapping_table): New function.
1891 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1892 found in external database.
1893 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1894 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1895 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1897 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1899 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1902 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1904 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1905 Q_lowercase, Q_uppercase in UTF-2000.
1907 * chartab.c (get_char_table): Add special code for the standard
1908 case table to use character attribute `->downcase' and
1909 `->uppercase' for case operations in UTF-2000.
1911 * casetab.c (Qflippedcase): New variable in UTF-2000.
1912 (Q_lowercase): Likewise.
1913 (Q_uppercase): Likewise.
1914 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1915 and `->uppercase' in UTF-2000.
1916 (complex_vars_of_casetab): Assign attribute name `downcase' to
1917 downcase and CANON table of Vstandard_case_table in UTF-2000;
1918 assign attribute name `flippedcase' to upcase and EQV table of
1919 Vstandard_case_table in UTF-2000.
1921 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1923 * text-coding.c (decode_add_er_char): Support isolated-chars.
1924 (char_encode_as_entity_reference): Likewise.
1926 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1928 * emacs.c (Vutf_2000_lisp_directory): New variable.
1929 (Vconfigure_utf_2000_lisp_directory): Likewise.
1930 (complex_vars_of_emacs): Add new variable
1931 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1933 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1935 * char-ucs.h (DECODE_CHAR): Delete special code for
1936 `chinese-big5-1' and `chinese-big5-2'.
1938 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1939 (Qbig5_2): Likewise.
1940 (decode_defined_char): Support CONVERSION_BIG5_1 and
1942 (decode_builtin_char): Likewise.
1943 (charset_code_point): Likewise.
1944 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1945 'conversion in UTF-2000.
1946 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1947 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1948 `chinese-big5-2' as children of `chinese-big5'.
1950 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1951 (CONVERSION_BIG5_2): New macro.
1953 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1955 * text-coding.c (char_encode_big5): Support entity-reference.
1957 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1959 * text-coding.c (char_encode_as_entity_reference): New function.
1960 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1962 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1964 * text-coding.c (decode_coding_big5): Support entity-reference
1967 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1969 * text-coding.c (allocate_coding_system): Initialize initial
1970 charsets for CODESYS_UTF8.
1971 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1972 charset-g2 for CODESYS_UTF8.
1973 (decode_coding_utf8): Use charset-g0.
1974 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1975 to force variants to map to UCS.
1977 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1979 * text-coding.c (Qutf_8_mcs): New variable.
1980 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1981 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1982 instead of `utf-8' in UTF-2000.
1984 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1986 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1987 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1988 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1989 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1990 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1991 CONVERSION_96x96x96x96 are introduced.
1992 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1993 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1994 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1996 * char-ucs.h (CONVERSION_94): New macro.
1997 (CONVERSION_96): New macro.
1998 (CONVERSION_94x94): New macro.
1999 (CONVERSION_96x96): New macro.
2000 (CONVERSION_94x94x94): New macro.
2001 (CONVERSION_96x96x96): New macro.
2002 (CONVERSION_94x94x94x60): New macro.
2003 (CONVERSION_94x94x94x94): New macro.
2004 (CONVERSION_96x96x96x96): New macro.
2006 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2008 * chartab.c (Vcharacter_variant_table): Deleted.
2009 (Fchar_variants): Use character-attribute `->ucs-variants' instead
2010 of `Vcharacter_variant_table'.
2011 (Fput_char_attribute): Likewise.
2012 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
2013 (complex_vars_of_chartab): Likewise.
2015 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2017 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
2019 * fns.c (Qideographic_structure): New variable.
2020 (Qkeyword_char): New variable.
2021 (ids_format_unit): New function.
2022 (Fideographic_structure_to_ids): New function.
2023 (syms_of_fns): Add new symbols `ideographic-structure' and
2024 `:char'; add new builtin function `ideographic-structure-to-ids'.
2026 * data.c (Fchar_ref_p): New function.
2027 (syms_of_data): Add new builtin function `char-ref-p'.
2029 * chartab.h: Add an EXFUN for `Ffind_char'.
2031 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2033 * text-coding.c (Vcharacter_composition_table): Deleted.
2034 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
2037 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
2039 (Vcharacter_composition_table): Deleted.
2040 (Fget_composite_char): Use the implementation for external-DB
2041 support in every UTF-2000.
2042 (Fput_char_attribute): Likewise.
2043 (char_attribute_system_db_file): Don't define if external-DB
2044 feature is not available.
2045 (Fsave_char_attribute_table): Likewise.
2046 (Fmount_char_attribute_table): Likewise.
2047 (Fclose_char_attribute_table): Likewise.
2048 (Freset_char_attribute_table): Likewise.
2049 (Fload_char_attribute_table): Likewise.
2050 (syms_of_chartab): Don't define `save-char-attribute-table',
2051 `mount-char-attribute-table', `reset-char-attribute-table',
2052 `close-char-attribute-table' and `load-char-attribute-table' if
2053 external-DB feature is not available.
2054 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
2056 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2058 * text-coding.c (Qcomposition): Add extern if external-DB feature
2060 (Vcharacter_composition_table): Don't add extern if external-DB
2061 feature is supported.
2062 (COMPOSE_ADD_CHAR): Modify for new data-representation of
2063 character composition rule if external-DB feature is supported.
2065 * chartab.c (Vcharacter_composition_table): Don't define if
2066 external-DB feature is supported.
2067 (Qcomposition): New variable.
2068 (Fget_composite_char): New implementation for external-DB support.
2069 (Fput_char_attribute): Use `composition' property of each
2070 character instead of `Vcharacter_composition_table' to store
2071 character-composition rules if external-DB feature is supported.
2072 (syms_of_chartab): Add new symbol `composition'.
2073 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
2074 external-DB feature is supported.
2076 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2078 * chartab.c (Vchar_db_stingy_mode): New variable.
2079 (load_char_attribute_maybe): Close database if
2080 Vchar_db_stingy_mode is not NIL.
2081 (Fload_char_attribute_table_map_function): Use
2082 `get_char_id_table_0' instead of `get_char_id_table'.
2083 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
2085 * chartab.h (get_char_id_table_0): New inline function.
2086 (get_char_id_table): Use `get_char_id_table_0'.
2088 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2090 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
2091 and `COMPOSE_ADD_CHAR'.
2092 (decode_coding_iso2022): Use `decode_flush_er_chars'.
2094 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2096 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
2097 instead of `DECODE_ADD_UCS_CHAR'.
2098 (COMPOSE_ADD_CHAR): Likewise.
2100 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2102 * text-coding.c (decode_flush_er_chars): New inline function.
2103 (decode_add_er_char): New function.
2104 (decode_coding_utf8): Use `decode_flush_er_chars' and
2105 `decode_add_er_char'.
2107 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2109 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2110 done before `decode_output_utf8_partial_char'.
2112 * mule-charset.c (complex_vars_of_mule_charset): Specify
2113 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2114 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2116 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2118 * mule-charset.c (decode_defined_char): New function; search
2120 (decode_builtin_char): Don't search mother if
2121 XCHARSET_MAX_CODE(charset) == 0.
2122 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2123 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2124 (Fdecode_char): Use `decode_defined_char' instead of
2125 `DECODE_DEFINED_CHAR'.
2126 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2127 mother of `Vcharset_ucs_jis'.
2129 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2130 instead of `DECODE_DEFINED_CHAR'.
2132 * char-ucs.h (decode_defined_char): Renamed from
2133 `DECODE_DEFINED_CHAR'; changed to normal function.
2134 (DECODE_CHAR): Use `decode_defined_char' instead of
2135 `DECODE_DEFINED_CHAR'.
2137 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2139 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2141 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2143 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2145 (Quse_entity_reference): New variable.
2149 (coding_system_description): Add description for
2150 `ccs_priority_list'.
2151 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2152 (allocate_coding_system): Initialize `ccs_priority_list' in
2154 (Fmake_coding_system): Add description about
2155 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2157 (Fcoding_system_property): Accept `disable-composition' and
2158 `use-entity-reference' in UTF-2000.
2159 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2161 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2162 (decode_coding_utf8): Decode entity-reference if
2163 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2164 (char_encode_utf8): Encode non-Unicode characters as
2165 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2167 (syms_of_file_coding): Add new symbols `use-entity-reference',
2169 (vars_of_file_coding): Add new variable
2170 `coded-charset-entity-reference-alist'.
2171 (complex_vars_of_file_coding): Declare `disable-composition' and
2172 `use-entity-reference' to be coding-system-properties in UTF-2000.
2174 * file-coding.h (struct Lisp_Coding_System): Add new member
2175 `use_entity_reference' and `ccs_priority_list'.
2176 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2177 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2178 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2180 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2182 * chartab.c (save_uint8_byte_table): Don't clear the table.
2183 (save_uint16_byte_table): Likewise.
2184 (save_byte_table): Likewise.
2185 (Fmount_char_attribute_table): New function.
2186 (syms_of_chartab): Add new builtin function
2187 `mount-char-attribute-table'.
2189 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2191 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2193 (load_char_decoding_entry_maybe): Open database as read-only mode.
2195 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2196 open database as "w+" mode.
2197 (load_char_attribute_maybe): Open database as read-only mode.
2198 (Fload_char_attribute_table): Likewise.
2200 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2203 (char_table_description): Delete member `db_file'.
2204 (Fmake_char_table): Don't refer `ct->db_file'.
2205 (Fcopy_char_table): Likewise.
2206 (Fsave_char_attribute_table): Likewise.
2207 (Fclose_char_attribute_table): Likewise.
2208 (Freset_char_attribute_table): Likewise.
2209 (load_char_attribute_maybe): Likewise.
2210 (Fload_char_attribute_table): Likewise.
2212 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2214 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2217 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2219 (load_char_attribute_maybe): Likewise.
2220 (Fload_char_attribute_table): Likewise.
2222 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2224 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2225 `ct->db_file' unconditionally.
2227 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2229 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2231 (char_table_description): Add description for `db_file' and `db'
2233 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2235 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2236 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2237 (Fclose_char_attribute_table): New function.
2238 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2239 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2241 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2242 (syms_of_chartab): Add new builtin function
2243 `Fclose_char_attribute_table'.
2245 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2247 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2249 (load_char_attribute_maybe): Change interface.
2250 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2252 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2254 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2256 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2259 instead of `DECODE_CHAR' for mother; don't use special code for
2260 chinese-big5 to use code space of chinese-big5-1 and
2262 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2263 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2265 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2266 (MAX_CHAR_BIG5_CDP): Revival.
2268 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2270 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2271 the XLFD registry-encoding name of `chinese-big5'.
2273 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2275 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2276 (Qchinese_big5_cdp): Deleted.
2277 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2278 (complex_vars_of_mule_charset): Delete coded-charset
2281 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2282 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2283 `CHARSET_ID_OFFSET - n' for private CCS.
2284 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2285 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2286 of `MIN_LEADING_BYTE'.
2287 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2288 `(CHARSET_ID_OFFSET - 97)'.
2289 (MIN_CHAR_BIG5_CDP): Deleted.
2290 (MAX_CHAR_BIG5_CDP): Deleted.
2292 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2294 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2296 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2298 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2299 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2302 * chartab.c (Vutf_2000_version): Moved to mule.c.
2303 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2305 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2307 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2308 when HAVE_CHISE_CLIENT is not defined.
2310 * mule.c (vars_of_mule): Provide feature `chise' when
2311 HAVE_CHISE_CLIENT is defined.
2313 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2315 * config.h.in (UTF2000): Add comment.
2316 (HAVE_CHISE_CLIENT): New macro.
2318 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2320 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2322 (Fput_char_attribute): Likewise.
2323 (char_attribute_system_db_file): Encode file-name of attribute.
2324 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2327 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2329 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2330 (Fsave_charset_mapping_table): Use
2331 `char_attribute_system_db_file'.
2332 (load_char_decoding_entry_maybe): Likewise.
2334 * chartab.h (Qsystem_char_id): New external variable.
2335 (char_attribute_system_db_file): New prototype.
2337 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2338 (char_attribute_system_db_file): New function.
2339 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2340 (Freset_char_attribute_table): Likewise.
2341 (load_char_attribute_maybe): Likewise.
2342 (Fload_char_attribute_table): Likewise.
2343 (syms_of_chartab): Add new symbol `system-char-id'.
2345 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2347 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2348 `XCHARSET_GRAPHIC(ccs)'.
2350 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2352 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2354 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2356 * chartab.c (Q_ucs_variants): New variable.
2357 (syms_of_chartab): Add new symbol `->ucs-variants'.
2358 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2359 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2360 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2362 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2364 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2365 `HAVE_DATABASE' is defined.
2366 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2367 `HAVE_DATABASE' is defined.
2369 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2371 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2373 (Freset_char_attribute_table): New function.
2374 (syms_of_chartab): Add new builtin function
2375 `reset-char-attribute-table'.
2377 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2379 * chartab.c (load_char_attribute_maybe): Don't make directories.
2381 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2383 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2385 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2388 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2390 * mule-charset.c (Fsave_charset_mapping_table): Use
2391 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2393 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2394 instead of `XCHARSET_CHARS'.
2396 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2398 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2399 (XCHARSET_BYTE_SIZE): Likewise.
2401 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2403 (XCHARSET_BYTE_SIZE): Likewise.
2405 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2407 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2408 data-directory to store database.
2409 (Fsave_char_attribute_table): Likewise.
2410 (load_char_attribute_maybe): Likewise.
2411 (Fload_char_attribute_table): Likewise.
2413 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2415 * mule-charset.c (Fsave_charset_mapping_table): New function.
2416 (syms_of_mule_charset): Add new builtin function
2417 `save-charset-mapping-table'.
2419 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2422 (get_ccs_octet_table): New inline function.
2423 (put_ccs_octet_table): Likewise.
2424 (decoding_table_put_char): Use `get_ccs_octet_table' and
2425 `put_ccs_octet_table'.
2426 (decoding_table_remove_char): Use `decoding_table_put_char'.
2427 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2429 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2430 into encoding_table.
2431 (make_charset): Use Qunbound instead Qnil as initial value of
2434 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2436 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2437 element is Qunloaded.
2438 (map_over_uint16_byte_table): Likewise.
2439 (map_over_byte_table): Likewise.
2440 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2441 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2442 database support, load encoding-table of the specified
2443 coded-charset if it is not loaded yet.
2444 (save_uint8_byte_table): New function of UTF-2000 with external
2446 (save_uint16_byte_table): Likewise.
2447 (save_byte_table): Likewise.
2448 (Fput_char_attribute): Don't store value into external database
2449 even if the external database feature is supported in UTF-2000;
2450 set `attribute' as name of char-table if the external database
2451 feature is supported.
2452 (Fsave_char_attribute_table): New function in UTF-2000.
2453 (syms_of_chartab): Add new builtin function
2454 `save-char-attribute-table' in UTF-2000.
2456 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2458 * chartab.c (char_attribute_table_to_put): New variable in
2460 (Qput_char_table_map_function): Likewise.
2461 (value_to_put): Likewise.
2462 (Fput_char_table_map_function): New function in UTF-2000.
2463 (put_char_table): Use `Fmap_char_attribute' for
2464 CHARTAB_RANGE_CHARSET in UTF-2000.
2465 (Fput_char_attribute): Store symbol instead of string in
2466 `XCHAR_TABLE_NAME (table)'.
2467 (load_char_attribute_maybe): Likewise.
2468 (syms_of_chartab): Add new symbol/function
2469 `put-char-table-map-function'.
2471 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2473 * database.h: Add new EXFUN for `Fmap_database'.
2475 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2476 (syms_of_database): Likewise.
2478 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2480 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2481 (XCHAR_TABLE_UNLOADED): Likewise.
2483 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2484 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2485 HAVE_DATABASE is defined.
2486 (char_attribute_table_to_load): New variable of UTF-2000 with
2487 external database support.
2488 (Qload_char_attribute_table_map_function): Likewise.
2489 (Fload_char_attribute_table_map_function): New function of
2490 UTF-2000 with external database support.
2491 (Fload_char_attribute_table): New function of UTF-2000.
2492 (Fmap_char_attribute): Call Fload_char_attribute_table if
2493 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2494 (syms_of_chartab): Add new symbol and function
2495 `load-char-attribute-table-map-function' in UTF-2000 with external
2496 database support; add new function `load-char-attribute-table' in
2499 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2501 * chartab.h (load_char_attribute_maybe): New prototype for
2502 UTF-2000 with DATABASE support.
2503 (get_char_id_table): Use `load_char_attribute_maybe' if
2504 HAVE_DATABASE is defined.
2506 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2507 with DATABASE support.
2509 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2511 * chartab.c (Fput_char_attribute): Use S-expression as key of
2514 * chartab.h (get_char_id_table): Use S-expression as key of
2517 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2519 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2520 if an element is not loaded, load the corresponding attributes
2521 from an external database.
2522 (map_over_uint16_byte_table): Likewise.
2523 (map_over_byte_table): Likewise.
2524 (map_char_table): Modify for `map_over_uint8_byte_table',
2525 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2526 element is not loaded, load the corresponding attributes from an
2528 (Fput_char_attribute): Change initial values to Qunloaded.
2530 * chartab.h (get_char_id_table): If a character attribute is not
2531 loaded and the attribute value is not found in an external
2532 database, store Qunbound as the attribute value.
2534 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2536 * chartab.c (BT_UINT8_unloaded): New macro.
2537 (UINT8_VALUE_P): Accept Qunloaded.
2538 (UINT8_ENCODE): Likewise.
2539 (UINT8_DECODE): Likewise.
2540 (BT_UINT16_unloaded): New macro.
2541 (UINT16_VALUE_P): Accept Qunloaded.
2542 (UINT16_ENCODE): Likewise.
2543 (UINT16_DECODE): Likewise.
2544 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2546 (mark_char_table): Mark `ct->name' in UTF-2000.
2547 (char_table_description): Add `name' in UTF-2000.
2548 (Fmake_char_table): Initialize `ct->name'.
2549 (Fcopy_char_table): Copy `ct->name'.
2550 (Fput_char_attribute): Store value into an external database if
2551 HAVE_DATABASE is defined.
2553 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2555 (CHAR_TABLE_NAME): New macro in UTF-2000.
2556 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2557 (get_char_id_table): Try to read an external database if Qunloaded
2558 is stored in a table.
2560 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2563 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2565 * database.h: Add EXFUN definitions for Fopen_database,
2566 Fput_database, Fget_database and Fclose_database.
2568 * data.c (Qunloaded): New variable in UTF-2000.
2570 * lisp.h (Qunloaded): New variable in UTF-2000.
2572 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2574 * mule-charset.c (put_char_ccs_code_point): Modify for
2575 `decoding_table_remove_char' and `decoding_table_put_char'.
2576 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2578 * char-ucs.h (decoding_table_remove_char): Change arguments to
2579 hide decoding_table vector.
2580 (decoding_table_put_char): Likewise.
2582 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2584 * mule-charset.c (decoding_table_remove_char): Moved to
2586 (decoding_table_put_char): Likewise.
2588 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2589 from mule-charset.c].
2590 (decoding_table_remove_char): New inline function [moved from
2592 (decoding_table_put_char): Likewise.
2594 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2596 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2599 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2601 * mule-charset.c (decode_builtin_char): Support mother charsets.
2603 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2605 * mule-charset.c (Q94x94x60): New variable.
2606 (charset_code_point): Support conversion `94x94x60'.
2607 (Fmake_charset): Likewise.
2608 (syms_of_mule_charset): Add new symbol `94x94x60'.
2610 * char-ucs.h (CONVERSION_94x94x60): New macro.
2612 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2614 * mule-charset.c (charset_code_point): Unify code about
2617 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2619 * mule-charset.c (charset_code_point): Merge code about builtin
2620 characters into code about mother charsets; don't use
2621 `range_charset_code_point'.
2622 (range_charset_code_point): Deleted.
2624 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2626 * mule-charset.c (Qcode_offset): New variable.
2627 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2628 `max-code'; accept new property `code-offset'.
2629 (syms_of_mule_charset): Add new symbol `code-offset'.
2631 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * mule-charset.c (range_charset_code_point): Fixed.
2635 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2637 * mule-charset.c (decode_builtin_char): Change semantics of
2638 code-offset of coded-charset.
2639 (charset_code_point): Likewise.
2640 (range_charset_code_point): Likewise.
2641 (complex_vars_of_mule_charset): Modify for the change.
2643 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * mule-charset.c (Fencode_char): Reverse arguments.
2647 * mule-charset.c (charset_code_point): Fixed.
2649 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2651 * mule-charset.c (Vcharset_mojikyo): Deleted.
2652 (Vcharset_mojikyo_2022_1): Deleted.
2653 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2654 (Qmin_code): New variable in UTF-2000.
2655 (Qmax_code): Likewise.
2656 (Qmother): Likewise.
2657 (Qconversion): Likewise.
2659 (Qmojikyo): Deleted.
2660 (Qmojikyo_2022_1): Deleted.
2661 (Qmojikyo_pj_{1..22}): Deleted.
2662 (mark_charset): Mark `cs->mother'.
2663 (charset_description): Add description for `mother'.
2664 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2665 new arguments `mother' and `conversion'; use
2666 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2667 (charset_code_point): Moved from char-ucs.h; support `mother'
2669 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2670 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2671 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2672 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2673 allow 2 as the value of `graphic' in UTF-2000; add new properties
2674 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2675 require `final' in UTF-2000; modify for `make_charset'.
2676 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2677 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2678 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2679 (Fencode_char): New function.
2680 (syms_of_mule_charset): Add new builtin function `encode-char' in
2681 UTF-2000; add new symbols `min-code', `max-code', `mother',
2682 `conversion' and `94x60'; delete symbols `mojikyo',
2683 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2684 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2685 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2686 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2688 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2689 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2691 * char-ucs.h (Vcharset_mojikyo): Deleted.
2692 (Vcharset_mojikyo_2022_1): Deleted.
2693 (LEADING_BYTE_MOJIKYO): Deleted.
2694 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2695 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2696 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2697 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2698 add new member `mother'; add new member `conversion'.
2699 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2700 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2701 (CHARSET_MOTHER): New macro.
2702 (CHARSET_CONVERSION): New macro.
2703 (CONVERSION_IDENTICAL): New macro.
2704 (CONVERSION_94x60): New macro.
2705 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2706 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2707 (XCHARSET_MOTHER): New macro.
2708 (XCHARSET_CONVERSION): New macro.
2709 (MIN_CHAR_MOJIKYO): Deleted.
2710 (MAX_CHAR_MOJIKYO): Deleted.
2711 (DECODE_MOJIKYO_2022): Deleted.
2712 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2713 (charset_code_point): Changed to non-inline function.
2714 (encode_char_1): Use `charset_code_point'.
2715 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2717 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2719 * lread.c (read_compiled_function): Fix prototype.
2720 (read_vector): Likewise.
2722 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * lrecord.h (struct lrecord_header): Delete `older'.
2725 (set_lheader_implementation): Delete code for `older'.
2726 (set_lheader_older_implementation): Deleted.
2727 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2728 (OLDER_RECORD_P): Deleted.
2729 (OLDER_RECORD_HEADER_P): Deleted.
2730 (alloc_older_lcrecord): Deleted.
2731 (alloc_older_lcrecord_type): Deleted.
2733 * alloc.c (all_older_lcrecords): Deleted.
2734 (alloc_older_lcrecord): Deleted.
2735 (disksave_object_finalization_1): Delete code for older objects.
2736 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2737 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2739 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2742 instead of `make_older_vector'.
2743 (put_char_ccs_code_point): Likewise.
2744 (mark_charset): Mark `cs->decoding_table'.
2745 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2747 * lisp.h (make_older_vector): Deleted.
2748 (make_vector_newer): Deleted.
2750 * config.h.in (HAVE_GGC): Deleted.
2752 * alloc.c (make_older_vector): Deleted.
2753 (make_vector_newer_1): Deleted.
2754 (make_vector_newer): Deleted.
2756 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2758 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2759 (Qideograph_daikanwa_2): New variable.
2760 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2761 (complex_vars_of_mule_charset): Add new coded-charset
2762 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2763 `LEADING_BYTE_DAIKANWA'.
2765 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2766 (LEADING_BYTE_DAIKANWA_1): New macro.
2767 (LEADING_BYTE_DAIKANWA_2): New macro.
2768 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2770 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (complex_vars_of_mule_charset): Change
2773 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2774 the second revised version.
2776 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2778 * mule-charset.c (Vcharset_ucs_smp): New variable.
2779 (Vcharset_ucs_sip): New variable.
2780 (Qucs_smp): New variable.
2781 (Qucs_sip): New variable.
2782 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2783 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2784 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2785 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2786 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2787 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2789 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2790 (LEADING_BYTE_UCS_SIP): New macro.
2791 (MIN_CHAR_SMP): New macro.
2792 (MAX_CHAR_SMP): New macro.
2793 (MIN_CHAR_SIP): New macro.
2794 (MAX_CHAR_SIP): New macro.
2796 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2798 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2801 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2804 value; don't store value into `encoding_table' of `Lisp_Charset'.
2805 (mark_charset): `encoding_table' was deleted.
2806 (charset_description): Likewise.
2807 (make_charset): Likewise.
2808 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2809 `put_char_ccs_code_point'.
2811 * chartab.h (Fput_char_attribute): New EXFUN.
2813 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2814 is unified with normal symbol space.
2815 (Fget_char_attribute): Likewise.
2816 (Fput_char_attribute): Likewise; behavior of
2817 `put_char_ccs_code_point' is changed.
2819 * char-ucs.h: Include "elhash.h".
2820 (Vchar_attribute_hash_table): New external variable.
2821 (struct Lisp_Charset): Delete `encoding_table'.
2822 (CHARSET_ENCODING_TABLE): New implementation; refer
2823 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2826 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2828 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2831 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2833 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2836 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2838 * chartab.c (uint8_byte_table_description): New constant.
2839 (uint8-byte-table): Use `uint8_byte_table_description'.
2840 (uint16_byte_table_description): New constant.
2841 (uint16-byte-table): Use `uint16_byte_table_description'.
2843 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2845 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2846 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2848 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2850 * mule-charset.c (Vcharset_ucs_ks): New variable.
2851 (Qucs_ks): New variable.
2852 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2853 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2855 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2857 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2860 (Fdecode_char): Likewise.
2862 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2864 (Fdefine_char): Modify for Fdecode_char.
2865 (Ffind_char): Likewise.
2867 * mule-charset.c (Fdecode_char): Add new optional argument
2869 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2871 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2873 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2874 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2875 (allocate_coding_system): Initialize initial-charsets of
2876 CODESYS_BIG5 in XEmacs UTF-2000.
2877 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2878 CODESYS_BIG5 in XEmacs UTF-2000.
2879 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2880 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2882 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2884 (Qideograph_hanziku_{1 .. 12}): Likewise.
2885 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2887 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2888 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2889 `ideograph-hanziku-{1 .. 12}'.
2891 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2892 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2893 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2894 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2895 (DECODE_DEFINED_CHAR): New inline function.
2896 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2898 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2900 * mule-charset.c (Vcharset_china3_jef): Renamed from
2901 `Vcharset_japanese_jef_china3'.
2902 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2903 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2904 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2905 (syms_of_mule_charset): Rename `china3-jef' from
2906 `japanese-jef-china3'.
2907 (complex_vars_of_mule_charset): Likewise; rename
2908 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2910 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2911 `LEADING_BYTE_JEF_CHINA3'.
2912 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2913 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2915 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2917 * mule-charset.c (encode_builtin_char_1): Comment out special code
2918 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2920 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2921 (MAX_CHAR_MOJIKYO_0): Comment out.
2922 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2923 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2924 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2925 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2927 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2930 (Qideograph_cbeta): New variable.
2931 (encode_builtin_char_1): Comment out special code for
2932 coded-charset `mojikyo' and `japanese-jef-china3'.
2933 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2934 (complex_vars_of_mule_charset): Add new coded-charset
2937 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2938 (MIN_CHAR_CBETA): New macro.
2939 (MAX_CHAR_CBETA): New macro.
2941 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2943 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2944 (LEADING_BYTE_JEF_CHINA3): New macro.
2945 (MIN_CHAR_JEF_CHINA3): New macro.
2946 (MAX_CHAR_JEF_CHINA3): Likewise.
2947 (DECODE_CHAR): Fixed.
2949 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2951 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2952 (Qjapanese_jef_china3): New variable.
2953 (encode_builtin_char_1): Support `japanese-jef-china3'.
2954 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2955 (complex_vars_of_mule_charset): Add new coded-charset
2956 `japanese-jef-china3'.
2958 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2960 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2961 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2962 94^4, 96^3, 96^4, 128^n and 256^n set.
2963 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2964 (map_char_table): Likewise.
2966 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2968 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2971 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * chartab.h (get_char_id_table): New inline function.
2975 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2978 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2980 * chartab.h (decode_char_table_range): New prototype in XEmacs
2982 (put_char_id_table): New inline function in XEmacs UTF-2000.
2984 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2986 (decode_char_table_range): Delete static declaration in XEmacs
2989 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2991 * chartab.c (put_char_id_table): Use `put_char_table'.
2993 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2995 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2996 (map_over_uint16_byte_table): Likewise.
2997 (map_over_byte_table): Likewise.
2998 (map_char_table): Modify for `map_over_uint8_byte_table',
2999 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
3002 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3004 * chartab.c (struct map_char_table_for_charset_arg): New
3006 (map_char_table_for_charset_fun): New function.
3007 (map_char_table): Use `map_char_table' for encoding_table of
3010 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3012 * chartab.c (map_char_table): Check a character is found in
3013 range->charset instead of non default value is defined in
3014 char-table when range is CHARTAB_RANGE_ROW.
3016 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3018 * chartab.c (map_char_id_table): Deleted.
3019 (Fmap_char_attribute): Use `map_char_table' instead of
3020 `map_char_id_table'.
3022 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3024 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
3026 (update_syntax_table): Deleted in XEmacs UTF-2000.
3028 * syntax.c (find_defun_start): Use `syntax_table' instead of
3029 `mirror_syntax_table' in XEmacs UTF-2000.
3030 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
3032 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
3034 (Fmatching_paren): Likewise.
3035 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
3037 (find_start_of_comment): Likewise.
3038 (find_end_of_comment): Likewise.
3039 (Fforward_comment): Likewise.
3040 (scan_lists): Likewise.
3041 (char_quoted): Likewise.
3042 (Fbackward_prefix_chars): Likewise.
3043 (scan_sexps_forward): Likewise.
3044 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
3045 (update_syntax_table): Likewise.
3047 * search.c (skip_chars): Use `syntax_table' instead of
3048 `mirror_syntax_table' in XEmacs UTF-2000.
3049 (wordify): Likewise.
3050 (Freplace_match): Likewise.
3052 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
3053 `mirror_syntax_table' in XEmacs UTF-2000.
3054 (WORDCHAR_P_UNSAFE): Likewise.
3055 (re_match_2_internal): Likewise.
3057 * font-lock.c (find_context): Use `buf->syntax_table' instead of
3058 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3060 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
3061 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
3063 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
3066 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
3068 (print_char_table): Print `default_value' in XEmacs UTF-2000.
3069 (char_table_description): Delete `mirror_table' in XEmacs
3071 (fill_char_table): Don't call `update_syntax_table' in XEmacs
3073 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
3074 (Fcopy_char_table): Likewise.
3075 (put_char_table): Don't call `update_syntax_table' in XEmacs
3078 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
3079 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3080 (casify_region_internal): Likewise.
3082 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
3084 * buffer.c (common_init_complex_vars_of_buffer): Don't use
3085 `mirror_syntax_table' in XEmacs UTF-2000.
3087 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
3088 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3089 (Fexpand_abbrev): Likewise.
3091 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3093 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
3095 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
3098 (map_over_uint16_byte_table): Likewise.
3099 (map_over_byte_table): Likewise.
3100 (get_char_id_table): Refer `cit->default_value'.
3101 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3102 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
3103 of character-id ranges.
3104 (mark_char_table): Mark `ct->default_value'.
3105 (char_table_description): Add `default_value'.
3106 (fill_char_table): Use `default_value'.
3107 (decode_char_table_range): Decode `nil' as
3108 `CHARTAB_RANGE_DEFAULT'.
3109 (get_char_id_table): Refer `cit->default_value'.
3110 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3111 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3112 temporary hack; check value of char-table is bound or not.
3113 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3115 * chartab.h (struct Lisp_Char_Table): Add new member
3116 `default_value' in XEmacs UTF-2000.
3117 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3118 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3121 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3123 * chartab.h (Lisp_Char_ID_Table): Deleted.
3125 * chartab.c (char_table_description): Fix typo.
3126 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3127 `Lisp_Char_ID_Table'.
3129 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3131 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3134 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3137 * chartab.h (XCHAR_ID_TABLE): Deleted.
3138 (XSETCHAR_ID_TABLE): Deleted.
3139 (CHAR_ID_TABLE_P): Deleted.
3141 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3143 (Fget_composite_char): Likewise.
3144 (put_char_table): Likewise.
3145 (add_char_attribute_alist_mapper): Fixed.
3146 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3148 (Fget_char_attribute): Likewise.
3149 (Fget_char_attribute): Likewise.
3150 (Fmap_char_attribute): Likewise.
3152 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3154 (encode_char_1): Likewise.
3156 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3158 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3161 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3162 instead of `XCHAR_ID_TABLE'.
3163 (remove_char_ccs): Likewise.
3165 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3167 (Fget_composite_char): Likewise.
3168 (Fchar_variants): Likewise.
3169 (put_char_table): Likewise.
3170 (add_char_attribute_alist_mapper): Likewise.
3171 (Fchar_attribute_alist): Likewise.
3172 (Fget_char_attribute): Likewise.
3173 (Fput_char_attribute): Likewise.
3174 (Fmap_char_attribute): Likewise.
3175 (Fmap_char_attribute): Likewise.
3177 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3179 (encode_char_1): Likewise.
3181 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3183 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3184 `Lisp_Char_ID_Table'.
3185 (mark_char_id_table): Deleted.
3186 (print_char_id_table): Likewise.
3187 (char_id_table_equal): Likewise.
3188 (char_id_table_hash): Likewise.
3189 (char_id_table_description): Likewise.
3190 (char_id_table): Likewise.
3191 (make_char_id_table): Use `Fmake_char_table' and
3193 (get_char_id_table): Use `Lisp_Char_Table' instead of
3194 `Lisp_Char_ID_Table'.
3195 (put_char_id_table): Likewise.
3196 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3198 (Fremove_char_attribute): Likewise.
3199 (syms_of_chartab): Don't define type `char-id-table'.
3201 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3202 (char_id_table): Likewise.
3203 (GC_CHAR_ID_TABLE_P): Likewise.
3204 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3205 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3206 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3207 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3208 (get_char_id_table): Use `Lisp_Char_Table' instead of
3209 `Lisp_Char_ID_Table'.
3210 (put_char_id_table_0): Likewise.
3211 (put_char_id_table): Likewise.
3213 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3215 * chartab.h: Lisp_Byte_Table related codes are moved from
3218 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3220 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3222 * chartab.h: Don't include "chartab.h".
3223 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3224 (Lisp_Char_ID_Table): Likewise.
3225 (char_id_table): Likewise.
3226 (XCHAR_ID_TABLE): Likewise.
3227 (XSETCHAR_ID_TABLE): Likewise.
3228 (CHAR_ID_TABLE_P): Likewise.
3229 (GC_CHAR_ID_TABLE_P): Likewise.
3230 (get_char_id_table): Likewise.
3232 * char-ucs.h: Include "chartab.h".
3233 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3234 (Lisp_Char_ID_Table): Likewise.
3235 (char_id_table): Likewise.
3236 (XCHAR_ID_TABLE): Likewise.
3237 (XSETCHAR_ID_TABLE): Likewise.
3238 (CHAR_ID_TABLE_P): Likewise.
3239 (GC_CHAR_ID_TABLE_P): Likewise.
3240 (get_char_id_table): Likewise.
3242 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3244 * chartab.c (copy_uint8_byte_table): New function.
3245 (copy_uint16_byte_table): New function.
3246 (copy_byte_table): New function.
3247 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3249 (map_over_uint16_byte_table): Likewise.
3250 (map_over_byte_table): Likewise.
3251 (get_byte_table): Move prototype to chartab.h.
3252 (put_byte_table): Likewise.
3253 (put_char_id_table_0): Moved to chartab.h.
3254 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3255 (char_table_entry_equal): Likewise.
3256 (char_table_entry_hash): Likewise.
3257 (char_table_entry_description): Likewise.
3258 (char_table_entry): Likewise.
3259 (make_char_table_entry): Likewise.
3260 (copy_char_table_entry): Likewise.
3261 (get_non_ascii_char_table_value): Likewise.
3262 (map_over_charset_ascii): Likewise.
3263 (map_over_charset_control_1): Likewise.
3264 (map_over_charset_row): Likewise.
3265 (map_over_other_charset): Likewise.
3266 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3267 (print_char_table): Likewise.
3268 (char_table_equal): Likewise.
3269 (char_table_hash): Likewise.
3270 (char_table_description): Likewise.
3271 (fill_char_table): Likewise.
3272 (Fcopy_char_table): Likewise.
3273 (get_char_table): Likewise.
3274 (Fget_range_char_table): Likewise.
3275 (put_char_table): Likewise.
3276 (map_char_table): Likewise.
3277 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3280 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3282 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3283 `Vauto_fill_chars' in XEmacs UTF-2000.
3285 * chartab.h (get_byte_table): New prototype [moved from
3287 (put_byte_table): Likewise [moved from chartab.c].
3288 (put_char_id_table_0): New inline function [moved from chartab.c].
3289 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3290 (Lisp_Char_Table_Entry): Likewise.
3291 (char_table_entry): Likewise.
3292 (XCHAR_TABLE_ENTRY): Likewise.
3293 (XSETCHAR_TABLE_ENTRY): Likewise.
3294 (CHAR_TABLE_ENTRYP): Likewise.
3295 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3296 (NUM_ASCII_CHARS): Likewise.
3297 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3298 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3300 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3302 * chartab.c (get_char_id_table): Change interface.
3303 (put_char_id_table_0): New function.
3304 (put_char_id_table): Change interface; new implementation.
3305 (Fget_composite_char): Modify for interface change of
3306 `get_char_id_table'.
3307 (Fchar_variants): Likewise.
3308 (add_char_attribute_alist_mapper): Likewise.
3309 (Fchar_attribute_alist): Likewise.
3310 (Fget_char_attribute): Likewise.
3311 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3312 as same as character as the first argument like `put-char-table';
3313 modify for interface change of `put_char_id_table'.
3314 (Fremove_char_attribute): Modify for interface change of
3315 `put_char_id_table'.
3317 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3319 * text-coding.c: Sync up with XEmacs 21.2.41.
3320 (COMPOSE_ADD_CHAR): Modify for interface change of
3321 `get_char_id_table'.
3323 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3324 change of `put_char_id_table'.
3325 (remove_char_ccs): Likewise.
3327 * chartab.h (put_char_id_table): Change interface.
3329 * char-ucs.h (get_char_id_table): Change interface.
3330 (charset_code_point): Modify for interface change of
3331 `get_char_id_table'.
3332 (encode_char_1): Likewise.
3334 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3336 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3338 (map_over_uint16_byte_table): Likewise.
3339 (map_over_byte_table): Likewise.
3340 (map_char_id_table): Add new argument `range' like
3342 (Fmap_char_attribute): Add new argument `range' like
3345 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3347 * chartab.c (map_over_uint8_byte_table): Change interface of
3348 mapping function to use struct chartab_range instead of Emchar.
3349 (map_over_uint16_byte_table): Likewise.
3350 (map_over_byte_table): Likewise.
3351 (map_char_id_table): Likewise.
3352 (struct slow_map_char_id_table_arg): Deleted.
3353 (slow_map_char_id_table_fun): Deleted.
3354 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3355 function `slow_map_char_table_fun' instead of struct
3356 `slow_map_char_id_table_arg' and function
3357 `slow_map_char_id_table_fun'.
3359 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3361 * mule-charset.c: Move char-it-table related codes to chartab.c.
3362 (Vutf_2000_version): Moved to chartab.c.
3363 (Fdefine_char): Likewise.
3364 (Ffind_char): Likewise.
3365 (syms_of_mule_charset): Move types `uint8-byte-table',
3366 `uint16-byte-table', `byte-table' and `char-id-table' to
3367 chartab.c; move functions `char_attribute_list,
3368 `find_char_attribute_table, `char_attribute_alist,
3369 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3370 `map_char_attribute, `define_char, `find_char, `char_variants and
3371 `get_composite_char to chartab.c; move symbols `=>ucs',
3372 `->decomposition', `compat', `isolated', `initial', `medial',
3373 `final', `vertical', `noBreak', `fraction', `super', `sub',
3374 `circle', `square', `wide', `narrow', `small' and `font' to
3376 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3377 setting codes for `Vcharacter_composition_table' and
3378 `Vcharacter_variant_table' to chartab.c.
3379 (complex_vars_of_mule_charset): Move setting code for
3380 `Vchar_attribute_hash_table' to chartab.c.
3382 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3383 (make_char_id_table): New prototype.
3384 (put_char_id_table): Likewise.
3385 (Fget_char_attribute): Likewise.
3387 * chartab.c: Move char-id-table related code from mule-charset.c.
3388 (Vutf_2000_version): Moved from mule-charset.c.
3390 * char-ucs.h (Qucs): New external variable.
3391 (put_char_ccs_code_point): New prototype.
3392 (remove_char_ccs): Likewise.
3394 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3396 * mule-charset.c (Vcharset_ucs_jis): New variable.
3397 (Qucs_jis): Likewise.
3398 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3399 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3401 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3403 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3405 * mule-charset.c (map_over_uint8_byte_table): New function.
3406 (map_over_uint16_byte_table): Likewise.
3407 (map_over_byte_table): Likewise.
3408 (map_char_id_table): Likewise.
3409 (slow_map_char_id_table_fun): Likewise.
3410 (Fmap_char_attribute): Likewise.
3411 (syms_of_mule_charset): Add new function `map-char-attribute'.
3413 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3415 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3416 (syms_of_mule_charset): Add new function `find-char'.
3418 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3420 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3422 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3423 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3425 (complex_vars_of_mule_charset): Add new coded-charset
3426 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3427 `ideograph-gt-pj-*'.
3429 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3431 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3433 * mule-charset.c (encode_builtin_char_1): Purge codes about
3434 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3435 {MIN|MAX}_CHAR_HEBREW.
3436 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3437 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3439 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3440 (MAX_CHAR_GREEK): Purged.
3441 (MIN_CHAR_CYRILLIC): Purged.
3442 (MAX_CHAR_CYRILLIC): Purged.
3443 (MIN_CHAR_HEBREW): Commented out.
3444 (MAX_CHAR_HEBREW): Likewise.
3446 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3448 * mule-charset.c (Qto_ucs): New variable.
3449 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3450 (Fdefine_char): Likewise.
3451 (syms_of_mule_charset): Add new symbol `=>ucs'.
3453 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3455 * mule-charset.c (Fdecode_char): Fixed.
3457 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3459 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3460 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3463 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3465 * mule-charset.c (Vcharset_ucs_big5): New variable.
3466 (Qucs_big5): Likewise.
3467 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3468 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3470 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3472 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3474 * mule-charset.c (decode_builtin_char): Check Big5 code range
3475 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3477 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3479 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3480 (Qchinese_gb12345): Likewise.
3481 (Fdecode_builtin_char): Fixed.
3482 (syms_of_mule_charset): Add `chinese-gb12345'.
3483 (complex_vars_of_mule_charset): Add coded-charset
3486 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3487 (LEADING_BYTE_CHINESE_GB12345): New macro.
3489 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3491 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3492 and `latin-viscii-upper' for `latin-viscii'.
3494 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3496 * mule-charset.c (Fdecode_builtin_char): Comment out
3497 regularization code for ISO-IR GR representation.
3499 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3501 * mule-charset.c (decode_builtin_char): New function; renamed from
3502 `make_builtin_char'; return -1 instead of signal.
3503 (Fdecode_builtin_char): Use `decode_builtin_char'.
3505 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3506 `make_builtin_char'.
3507 (DECODE_CHAR): Use `decode_builtin_char' instead of
3508 `make_builtin_char'; use mapping table of `chinese-big5' for
3509 `chinese-big5-{1,2}'.
3511 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * text-coding.c (char_encode_big5): New function.
3514 (char_finish_big5): Likewise.
3515 (reset_encoding_stream): Use `char_encode_big5' and
3516 `char_finish_big5' for CODESYS_BIG5.
3517 (mule_encode): Don't use `encode_coding_big5'.
3518 (encode_coding_big5): Deleted.
3520 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3522 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3523 0x81- in XEmacs UTF-2000.
3524 (detect_coding_big5): Likewise.
3526 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3529 generate character-id if the CCS property does not have
3530 corresponding predefined character.
3531 (make_builtin_char): Return -1 if corresponding predefined
3532 character is not found.
3533 (Fdecode_char): Return nil if corresponding character is not
3535 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3536 don't map to builtin ucs space.
3538 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3540 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3541 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3543 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3545 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3546 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3547 (Qideograph_gt): Likewise.
3548 (Qideograph_gt_pj_{1..11}): Likewise.
3549 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3550 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3551 `ideograph-gt-pj-11'.
3552 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3553 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3554 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3556 * char-ucs.h (LEADING_BYTE_GT): New macro.
3557 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3558 (MIN_CHAR_GT): Likewise.
3559 (MAX_CHAR_GT): Likewise.
3561 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3563 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3564 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3566 * doprnt.c (unsigned_int_converters): Add `c'.
3567 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3569 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3570 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3572 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3573 (MAX_CHAR_MOJIKYO_0): New macro.
3574 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3576 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3578 * mule-charset.c (Fdefine_char): Delete cemented out code.
3579 (encode_builtin_char_1): Modify for new allocation of builtin
3582 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3584 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3586 * mule-charset.c (Vcharset_ucs_cns): New variable.
3587 (Qucs_cns): New variable.
3588 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3589 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3591 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3593 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3595 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3597 * search.c (search_buffer): Make `charset_base_code' as
3598 character-id >> 6 to eliminate the corresponding last byte in
3599 UTF-8 representation [I'm not sure it is right thing].
3600 (boyer_moore): Likewise.
3602 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3604 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3605 representation in MULE.
3607 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3609 * text-coding.c (Fmake_coding_system): Use
3610 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3611 `EXTERNAL_PROPERTY_LIST_LOOP'.
3613 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3615 * text-coding.c (decode_output_utf8_partial_char): New function.
3616 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3618 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3620 * text-coding.c (decode_coding_utf8): Output original byte
3621 sequence if it is broken; change order of conditions.
3623 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3626 * mb-multibyte.h (BYTE_ASCII_P):
3627 Use bit ops for char-signedness safety.
3628 (BYTE_C0_P): Use bit ops for char-signedness safety.
3629 (BYTE_C1_P): Use bit ops for char-signedness safety.
3631 * character.h: (XCHAR_OR_CHAR_INT):
3632 Always use inline function.
3633 Remove redundant type checking assert() - XINT will abort quite
3636 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3638 * text-coding.c: (Fencode_shift_jis_char):
3639 (Fencode_big5_char):
3640 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3641 Replace 0 with '\0' when working with bytes.
3642 Replace initial "(" with "\(" in docstrings.
3644 (Fmake_coding_system):
3645 When type is ccl and value is vector, register it with a proper
3646 symbol. And checks whether the given ccl program is valid.
3647 (mule_decode): When calling ccl_driver, if src indicates
3648 NULL pointer, set an empty string instead.
3649 (mule_encode): Likewise.
3652 (detect_coding_sjis):
3653 (decode_coding_sjis):
3654 (detect_coding_big5):
3655 (decode_coding_big5):
3656 (detect_coding_ucs4):
3657 (decode_coding_ucs4):
3658 (detect_coding_utf8):
3659 (decode_coding_utf8):
3660 (detect_coding_iso2022):
3661 (decode_coding_iso2022):
3662 (decode_coding_no_conversion):
3664 Make all detecting and decoding functions take an Extbyte * arg.
3665 (text_encode_generic):
3666 (encode_coding_big5):
3667 (encode_coding_no_conversion):
3669 Make all encoding functions take a Bufbyte * arg.
3670 Use size_t instead of unsigned int for memory sizes.
3671 Only cast to unsigned char whenever dereferencing Extbyte *.
3673 (struct lrecord_description fcd_description_1): Use countof.
3674 (complex_vars_of_file_coding):
3675 Use countof instead of sizeof.
3676 Use CHECK_NATNUM instead of CHECK_INT.
3678 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3680 * mule-charset.c (Fget_char_attribute): Add new optional argument
3682 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3683 (remove_char_ccs): Likewise.
3685 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3687 * text-coding.c (char_encode_shift_jis): New implementation in
3689 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3692 * mule-charset.c (Vcharset_chinese_big5): New variable in
3694 (Qchinese_big5): New variable in UTF-2000.
3695 (BIG5_SAME_ROW): New macro in UTF-2000.
3696 (make_builtin_char): Use builtin characters of
3697 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3698 characters of `Vcharset_chinese_big5'.
3699 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3700 (complex_vars_of_mule_charset): Add new coded-charset
3701 `chinese-big5' in UTF-2000.
3703 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3704 (Vcharset_chinese_big5): New external variable declaration.
3705 (Vcharset_japanese_jisx0208_1990): Likewise.
3707 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3709 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3711 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3713 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3715 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3716 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3717 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3720 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3722 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3724 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3726 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3729 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3731 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3732 for `CHARSET_BY_ATTRIBUTES'.
3733 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3734 `CHARSET_BY_ATTRIBUTES'.
3736 * text-coding.c (struct decoding_stream): Rename member `CH' to
3738 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3739 (decode_coding_sjis): Likewise.
3740 (decode_coding_big5): Likewise.
3741 (decode_coding_ucs4): Likewise.
3742 (decode_coding_utf8): Likewise.
3743 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3744 `CHARSET_BY_ATTRIBUTES'.
3745 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3746 `str->counter'; decode 3, 4 bytes sets.
3747 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3749 (decode_coding_no_conversion): Use `str->cpos' instead of
3752 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3753 (Qmojikyo_2022_1): New variable.
3754 (make_charset): Don't use `CHARSET_TYPE_*'.
3755 (range_charset_code_point): Support coded-charset
3757 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3758 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3759 `CHARSET_BY_ATTRIBUTES'.
3760 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3761 `CHARSET_BY_ATTRIBUTES'.
3762 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3763 (complex_vars_of_mule_charset): Add new coded-charset
3766 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3767 interface; changed to inline function.
3769 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3770 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3771 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3772 (CHARSET_TYPE_94): Deleted.
3773 (CHARSET_TYPE_94X94): Deleted.
3774 (CHARSET_TYPE_96): Deleted.
3775 (CHARSET_TYPE_96X96): Deleted.
3776 (CHARSET_TYPE_128): Deleted.
3777 (CHARSET_TYPE_128X128): Deleted.
3778 (CHARSET_TYPE_256): Deleted.
3779 (CHARSET_TYPE_256X256): Deleted.
3780 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3782 (DECODE_MOJIKYO_2022): New inline function.
3783 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3784 `Vcharset_mojikyo_2022_1'.
3786 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3788 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3790 (put_byte_table): Likewise.
3791 (char_id_table_equal): Use `get_byte_table' [new implementation].
3793 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3795 * mule-charset.c: Include <limits.h> in UTF-2000.
3796 (BT_UINT8_MIN): New macro in UTF-2000.
3797 (BT_UINT8_MAX): New macro in UTF-2000.
3798 (BT_UINT8_t): New macro in UTF-2000.
3799 (BT_UINT8_nil): New macro in UTF-2000.
3800 (BT_UINT8_unbound): New macro in UTF-2000.
3801 (INT_UINT8_P): New inline function in UTF-2000.
3802 (UINT8_VALUE_P): New inline function in UTF-2000.
3803 (UINT8_ENCODE): New inline function in UTF-2000.
3804 (UINT8_DECODE): New inline function in UTF-2000.
3805 (mark_uint8_byte_table): New function in UTF-2000.
3806 (print_uint8_byte_table): New function in UTF-2000.
3807 (uint8_byte_table_equal): New function in UTF-2000.
3808 (uint8_byte_table_hash): New function in UTF-2000.
3809 (make_uint8_byte_table): New function in UTF-2000.
3810 (uint8_byte_table_same_value_p): New function in UTF-2000.
3811 (BT_UINT16_MIN): New macro in UTF-2000.
3812 (BT_UINT16_MAX): New macro in UTF-2000.
3813 (BT_UINT16_t): New macro in UTF-2000.
3814 (BT_UINT16_nil): New macro in UTF-2000.
3815 (BT_UINT16_unbound): New macro in UTF-2000.
3816 (INT_UINT16_P): New inline function in UTF-2000.
3817 (UINT16_VALUE_P): New inline function in UTF-2000.
3818 (UINT16_ENCODE): New inline function in UTF-2000.
3819 (UINT16_DECODE): New inline function in UTF-2000.
3820 (UINT8_TO_UINT16): New inline function in UTF-2000.
3821 (mark_uint16_byte_table): New function in UTF-2000.
3822 (print_uint16_byte_table): New function in UTF-2000.
3823 (uint16_byte_table_equal): New function in UTF-2000.
3824 (uint16_byte_table_hash): New function in UTF-2000.
3825 (make_uint16_byte_table): New function in UTF-2000.
3826 (uint16_byte_table_same_value_p): New function in UTF-2000.
3827 (print_byte_table): New function in UTF-2000.
3828 (byte-table): Use `print_byte_table' as printer.
3829 (make_byte_table): Delete second argument `older'.
3830 (byte_table_same_value_p): New function in UTF-2000.
3831 (copy_byte_table): Deleted.
3832 (get_byte_table): New function in UTF-2000.
3833 (put_byte_table): New function in UTF-2000.
3834 (print_char_id_table): New function in UTF-2000.
3835 (char-id-table): Use `print_char_id_table' as printer.
3836 (make_char_id_table): Delete second argument `older'.
3837 (get_char_id_table): Use `get_byte_table [new implementation].
3838 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3840 (Ffind_char_attribute_table): New function in UTF-2000.
3841 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3842 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3843 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3844 (syms_of_mule_charset): Add new function
3845 `find-char-attribute-table' in UTF-2000.
3847 * lrecord.h (enum lrecord_type): Add
3848 `lrecord_type_uint16_byte_table' and
3849 `lrecord_type_uint8_byte_table'.
3851 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3852 (Lisp_Uint8_Byte_Table): New type.
3853 (XUINT8_BYTE_TABLE): New macro.
3854 (XSETUINT8_BYTE_TABLE): New macro.
3855 (UINT8_BYTE_TABLE_P): New macro.
3856 (GC_UINT8_BYTE_TABLE_P): New macro.
3857 (struct Lisp_Uint16_Byte_Table): New structure.
3858 (Lisp_Uint16_Byte_Table): New type.
3859 (XUINT16_BYTE_TABLE): New macro.
3860 (XSETUINT16_BYTE_TABLE): New macro.
3861 (UINT16_BYTE_TABLE_P): New macro.
3862 (GC_UINT16_BYTE_TABLE_P): New macro.
3864 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3866 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3867 (Vcharacter_ideographic_strokes_table): Deleted.
3868 (Vcharacter_total_strokes_table): Deleted.
3869 (Vcharacter_morohashi_daikanwa_table): Deleted.
3870 (Vcharacter_decomposition_table): Deleted.
3871 (Qname): Deleted because it is duplicated.
3872 (Qideographic_radical): Deleted.
3873 (Qideographic_strokes): Deleted.
3874 (Qtotal_strokes): Deleted.
3875 (Qmorohashi_daikanwa): Deleted.
3876 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3877 `ideographic-radical', `ideographic-strokes', `total-strokes',
3878 `morohashi-daikanwa' and `->decomposition'.
3879 (Fget_char_attribute): Likewise.
3880 (Fput_char_attribute): Likewise; use `make-vector' instead of
3881 `make_older_vector' for `->decomposition' value.
3882 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3883 `ideograph-daikanwa'.
3884 (syms_of_mule_charset): Delete builtin symbols `name',
3885 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3886 `morohashi-daikanwa'.
3887 (vars_of_mule_charset): Don't setup
3888 `Vcharacter_ideographic_radical_table',
3889 `Vcharacter_ideographic_strokes_table',
3890 `Vcharacter_total_strokes_table',
3891 `Vcharacter_morohashi_daikanwa_table' and
3892 `Vcharacter_decomposition_table'.
3894 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3896 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3897 `make_older_vector', `make_vector_newer_1' and
3898 `make_vector_newer'.
3900 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3901 `make_older_vector' and `make_vector_newer'.
3903 * config.h.in (HAVE_GGC): New macro.
3905 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3907 * mule-charset.c (struct char_attribute_list_closure): New
3908 structure in UTF-2000.
3909 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3910 (Fchar_attribute_list): Likewise.
3911 (Fset_charset_mapping_table): Use `make_vector_newer'.
3912 (Fdecode_builtin_char): New function in UTF-2000.
3913 (syms_of_mule_charset): Add new function `char-attribute-list' and
3914 `decode-builtin-char' in UTF-2000.
3916 * lisp.h (make_vector_newer): New prototype.
3918 * alloc.c (make_vector_newer_1): New function.
3919 (make_vector_newer): New function.
3921 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3923 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3926 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3928 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3929 (Vcharacter_attribute_table): Deleted.
3930 (Vcharacter_name_table): Deleted.
3931 (put_char_attribute): Deleted.
3932 (remove_char_attribute): Deleted.
3933 (struct char_attribute_alist_closure): New structure.
3934 (add_char_attribute_alist_mapper): New function.
3935 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3936 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3937 (Fget_char_attribute): Likewise.
3938 (Fput_char_attribute): Likewise.
3939 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3940 of `remove_char_attribute'.
3941 (Fdefine_char): Return character.
3942 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3943 and `Vcharacter_name_table'.
3944 (complex_vars_of_mule_charset): Likewise
3945 `Vchar_attribute_hash_table'.
3947 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3949 * character.h (CHARC_CHARSET): New macro.
3950 (CHARC_CHARSET_ID): New macro.
3951 (CHARC_CODE_POINT): New macro.
3952 (CHARC_COLUMNS): New macro.
3953 (CHARC_TO_CHAR): New inline function.
3954 (CHARC_EQ): New inline function.
3955 (CHARC_ASCII_EQ): New inline function.
3956 (CHARC_IS_SPACE): New inline function.
3957 (ASCII_TO_CHARC): New inline function.
3959 * char-ucs.h (encode_char_2): Deleted.
3960 (ENCODE_CHAR): Use `encode_char_1' again.
3961 (breakup_char_1): Likewise.
3962 (CHAR_TO_CHARC): New inline function.
3964 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3966 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3968 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3969 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3970 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3971 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3972 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3974 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3976 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3978 (x_output_display_block): Use `CHARC_CHARSET' and
3981 * redisplay-tty.c (tty_output_display_block): Use
3983 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3985 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3987 * insdel.c (find_charsets_in_charc_string): Use
3989 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3990 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3991 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3992 (convert_charc_string_into_malloced_string): Likewise.
3994 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3996 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3997 instead of <Emchar_dynarr *> for buf; use
3998 `convert_bufbyte_string_into_charc_dynarr' instead of
3999 `convert_bufbyte_string_into_emchar_dynarr'; use
4000 `find_charsets_in_charc_string' instead of
4001 `find_charsets_in_emchar_string'.
4004 - Include "character.h".
4005 (struct rune): New member `cglyph'; delete member `chr'.
4007 * redisplay.c (redisplay_text_width_charc_string): New function;
4008 delete `redisplay_text_width_emchar_string'.
4009 (rtw_charc_dynarr): New variable; renamed from
4010 `rtw_emchar_dynarr'.
4011 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
4012 `rtw_emchar_dynarr'; use
4013 `convert_bufbyte_string_into_charc_dynarr' instead of
4014 `convert_bufbyte_string_into_emchar_dynarr'; use
4015 `redisplay_text_width_charc_string' instead of
4016 `redisplay_text_width_emchar_string'.
4017 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
4018 instead of `rtw_emchar_dynarr'; use
4019 `convert_bufbyte_string_into_charc_dynarr' instead of
4020 `convert_bufbyte_string_into_emchar_dynarr'.
4021 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
4022 `redisplay_text_width_charc_string' instead of
4023 `redisplay_text_width_emchar_string'.
4024 (create_text_block): Modify for <struct rune> change.
4025 (generate_formatted_string_db): Likewise.
4026 (create_string_text_block): Likewise.
4027 (pixel_to_glyph_translation): Likewise.
4029 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
4030 instead of <const Emchar *>.
4031 (x_text_width): Likewise.
4032 (x_output_display_block): Use <Charc_dynarr *> instead
4033 <Emchar_dynarr *>; modify for <structure rune> change.
4034 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
4037 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
4038 <const Emchar *>; use `charc_string_displayed_columns' instead of
4039 `emchar_string_displayed_columns'.
4040 (tty_output_display_block): Use <Charc_dynarr *> instead of
4041 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
4042 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
4043 (tty_output_charc_dynarr_dynarr): New variable; renamed from
4044 `tty_output_emchar_dynarr_dynarr'.
4045 (tty_output_charc_dynarr): New function; delete
4046 `tty_output_charc_dynarr'.
4048 * redisplay-output.c (compare_runes): Modify for `struct rune'.
4049 (redisplay_output_layout): Use <Charc_dynarr *> instead of
4050 <Emchar_dynarr *> for buf; use
4051 `convert_bufbyte_string_into_charc_dynarr' instead of
4052 `convert_bufbyte_string_into_emchar_dynarr'.
4054 * frame.c (title_string_charc_dynarr): New variable; renamed from
4055 `title_string_emchar_dynarr'.
4056 (generate_title_string): Use `title_string_charc_dynarr' instead
4057 of `title_string_emchar_dynarr'; use
4058 `convert_charc_string_into_malloced_string' instead of
4059 `convert_emchar_string_into_malloced_string'.
4060 (init_frame): Use `title_string_charc_dynarr' instead of
4061 `title_string_emchar_dynarr'.
4064 - Include "character.h".
4065 (struct console_methods): Use <const Charc *> instead of <const
4066 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
4067 <Emchar_dynarr *> in output_string_method.
4069 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
4072 * console-stream.c (stream_text_width): Use <const Charc *>
4073 instead of <const Emchar *>.
4075 * character.h (Charc_dynarr): New type.
4077 * char-ucs.h (structure Charc): New structure; define new type
4080 * char-lb.h (DECODE_CHAR): New inline function.
4081 (encode_char_1): New inline function.
4082 (ENCODE_CHAR): New macro.
4083 (structure Charc): New structure; define new type `Charc'.
4085 * char-1byte.h (Vcharset_control_1): New macro.
4086 (Vcharset_latin_iso8859_1): New macro.
4087 (DECODE_CHAR): New inline function.
4088 (encode_char_1): New inline function.
4089 (ENCODE_CHAR): New macro.
4090 (structure Charc): New structure; define new type `Charc'.
4092 * insdel.c (find_charsets_in_charc_string): New function; delete
4093 `find_charsets_in_emchar_string'.
4094 (charc_string_displayed_columns): New function; delete
4095 `emchar_string_displayed_columns'.
4096 (convert_bufbyte_string_into_charc_dynarr): New function; delete
4097 `convert_bufbyte_string_into_emchar_dynarr'.
4098 (convert_charc_string_into_bufbyte_dynarr): New function; delete
4099 `convert_charc_string_into_bufbyte_dynarr'.
4100 (convert_charc_string_into_malloced_string): New function; delete
4101 `convert_charc_string_into_malloced_string'.
4103 * buffer.h (find_charsets_in_charc_string): New prototype; delete
4104 `find_charsets_in_emchar_string'.
4105 (charc_string_displayed_columns): New prototype; delete
4106 `emchar_string_displayed_columns'.
4107 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
4108 `convert_charc_string_into_bufbyte_dynarr'.
4109 (convert_charc_string_into_malloced_string): New prototype; delete
4110 `convert_charc_string_into_malloced_string'.
4112 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4114 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4116 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4118 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4120 * char-ucs.h: Use <short> for <Charset_ID>.
4122 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4125 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4127 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4130 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4132 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4134 (Qmorohashi_daikanwa): New variable.
4135 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4136 for `morohashi-daikanwa' attribute.
4137 (Fget_char_attribute): Likewise.
4138 (Fput_char_attribute): Likewise.
4139 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4140 has the same value of `ideograph-daikanwa'.
4141 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4142 (vars_of_mule_charset): Setup
4143 `Vcharacter_morohashi_daikanwa_table'.
4145 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4147 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4149 (add_charset_to_list_mapper): Add `key' instead of
4150 `XCHARSET_NAME (value)' to return aliases.
4152 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4154 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4156 (Vcharacter_ideographic_strokes_table): New variable.
4157 (Qideographic_radical): New variable.
4158 (Qideographic_strokes): New variable.
4159 (Fchar_attribute_alist): Use
4160 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4161 attribute; use `Vcharacter_ideographic_strokes_table' for
4162 `ideographic-strokes' attribute.
4163 (Fget_char_attribute): Likewise.
4164 (Fput_char_attribute): Likewise.
4165 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4166 `ideographic-strokes'.
4167 (vars_of_mule_charset): Setup
4168 `Vcharacter_ideographic_radical_table' and
4169 `Vcharacter_ideographic_strokes_table'.
4171 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4173 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4174 (Qtotal_strokes): New variable.
4175 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4176 `total-strokes' attribute.
4177 (Fget_char_attribute): Likewise.
4178 (Fput_char_attribute): Likewise.
4179 (syms_of_mule_charset): Add new symbol `total-strokes'.
4180 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4182 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4184 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4185 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4187 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4188 `->decomposition' attribute.
4189 (Fput_char_attribute): Likewise.
4190 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4192 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4194 * mule-charset.c (decoding_table_check_elements): New function.
4195 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4197 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4199 * mule-charset.c (Fset_charset_mapping_table): Use
4200 `put_char_ccs_code_point'.
4202 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4204 * mule-charset.c (decoding_table_put_char): New inline function.
4205 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4207 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4209 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4210 (XCHARSET_BYTE_SIZE): New macro.
4211 (decoding_table_remove_char): New inline function.
4212 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4213 `decoding_table_remove_char'.
4214 (remove_char_ccs): Use `decoding_table_remove_char'.
4215 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4217 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4219 * mule-charset.c (Vcharacter_name_table): New variable.
4220 (Qname): New variable.
4221 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4223 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4224 `Vcharacter_name_table' for `name' attribute.
4225 (Fremove_char_attribute): Use function `remove_char_ccs'.
4226 (put_char_ccs_code_point): New function.
4227 (remove_char_ccs): New function.
4228 (syms_of_mule_charset): Add new symbol `name'.
4229 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4231 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4233 * mule-charset.c (make_byte_table): Add new argument `older'.
4234 (make_char_id_table): Likewise.
4235 (copy_char_id_table): Comment out because it is not used.
4236 (put_char_id_table): Modify for `make_byte_table'.
4237 (Fput_char_attribute): Make encoding_table as older object;
4238 inherit older bit of `Vcharacter_composition_table'.
4239 (mark_charset): Don't mark `cs->encoding_table'.
4240 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4241 normal object; make `Vcharacter_composition_table' as an older
4242 object; delete staticpro for `Vcharacter_composition_table'; make
4243 `Vcharacter_variant_table' as a normal object.
4245 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4246 (mark_object): Don't check older object in UTF-2000.
4248 * lrecord.h (struct lrecord_header): Add new member `older' in
4250 (set_lheader_implementation): Setup `SLI_header->older' in
4252 (set_lheader_older_implementation): New macro in UTF-2000.
4253 (OLDER_RECORD_P): New macro in UTF-2000.
4254 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4255 (alloc_older_lcrecord): New prototype in UTF-2000.
4256 (alloc_older_lcrecord_type): New macro in UTF-2000.
4258 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4260 * mule-charset.c (byte_table_description): Use
4261 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4262 (char_id_table_description): Delete bogus `, 1'.
4263 (Fget_char_attribute): Refer encoding_table of each coded-charset
4264 to get value of coded-charset attribute of a character.
4265 (Fput_char_attribute): Use `make_older_vector' instead of
4266 `make_vector'; use encoding_table of each coded-charset to store
4267 value of coded-charset attribute of a character.
4268 (Fremove_char_attribute): Use encoding_table of each coded-charset
4269 to store value of coded-charset attribute of a character.
4270 (mark_charset): Mark `cs->encoding_table'; don't mark
4271 `cs->decoding_table'.
4272 (charset_description): Add description of new member
4274 (make_charset): Initialize `encoding_table'.
4276 * char-ucs.h (struct Lisp_Charset): Add new member
4278 (CHARSET_ENCODING_TABLE): New macro.
4279 (XCHARSET_ENCODING_TABLE): New macro.
4280 (charset_code_point): New implementation.
4281 (encode_char_1): Likewise.
4283 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4284 (disksave_object_finalization_1): Call finalizers of
4285 `all_older_lcrecords' in UTF-2000.
4286 (make_older_vector): New function in UTF-2000.
4287 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4290 * lisp.h (make_older_vector): New prototype in UTF-2000.
4292 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4294 * lrecord.h (enum lrecord_type): Rename
4295 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4297 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4298 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4299 `get_char_code_table'.
4301 * mule-charset.c (mark_char_id_table): Renamed from
4302 `mark_char_code_table'.
4303 (char_id_table_equal): Renamed from `char_code_table_equal'.
4304 (char_id_table_hash): Renamed from `char_code_table_hash'.
4305 (make_char_id_table): Renamed from `make_char_code_table'.
4306 (copy_char_id_table): Renamed from `copy_char_code_table'.
4307 (get_char_id_table): Renamed from `get_char_code_table'.
4308 (put_char_id_table): Renamed from `put_char_code_table'.
4309 (to_char_id): Renamed from `to_char_code'.
4311 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4312 `Lisp_Char_Code_Table'.
4313 (char_id_table): Renamed from `char_code_table'.
4314 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4315 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4316 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4317 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4318 (get_char_id_table): Renamed from `get_char_code_table'.
4320 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4322 * lrecord.h (enum lrecord_type): Rename
4323 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4325 * mule-charset.c (mark_byte_table): Renamed from
4326 `mark_char_byte_table'.
4327 (byte_table_equal): Renamed from `char_byte_table_equal'.
4328 (byte_table_hash): Renamed from `byte_table_hash'.
4329 (make_byte_table): Renamed from `make_byte_table'.
4330 (copy_byte_table): Renamed from `copy_char_byte_table'.
4332 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4333 `Lisp_Char_Byte_Table'.
4334 (byte_table): Renamed from `char_byte_table'.
4335 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4336 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4337 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4338 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4340 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4342 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4343 (dfc_convert_to_internal_format): Likewise.
4345 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4346 * text-coding.c (Fcoding_system_alias_p): New function.
4347 * text-coding.c (Fcoding_system_aliasee): New function.
4348 * text-coding.c (append_suffix_to_symbol): New function.
4349 * text-coding.c (dangling_coding_system_alias_p): New function.
4350 * text-coding.c (Ffind_coding_system):
4351 * text-coding.c (Fcopy_coding_system):
4352 * text-coding.c (encode_coding_no_conversion):
4353 * text-coding.c (syms_of_file_coding):
4354 * text-coding.c (vars_of_file_coding):
4355 Rewrite coding system alias code.
4356 Allow nested aliases, like symbolic links.
4357 Allow redefinition of coding system aliases.
4358 Prevent existence of dangling coding system aliases.
4359 Eliminate convert_to_external_format.
4360 Eliminate convert_to_internal_format.
4362 * text-coding.c: Change enum eol_type to eol_type_t.
4364 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4366 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4367 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4369 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4370 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4372 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4374 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4375 `ideograph-daikanwa'.
4377 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4378 (Vcharset_ucs_bmp): Likewise.
4379 (Vcharset_mojikyo): Add new extern variable definition.
4380 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4381 (Vcharset_latin_iso8859_3): Likewise.
4382 (Vcharset_latin_iso8859_4): Likewise.
4383 (Vcharset_latin_iso8859_9): Likewise.
4384 (Vcharset_latin_viscii_lower): Likewise.
4385 (Vcharset_latin_viscii_upper): Likewise.
4386 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4387 `mojikyo' code-point is used to decode.
4388 (encode_char_2): New function [to convert `mojikyo' code-point to
4389 Mojikyo font encoding].
4390 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4391 (breakup_char_1): Likewise.
4392 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4394 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4396 * text-coding.c (Fmake_coding_system): Add document about
4397 `disable-composition' property.
4399 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4401 * text-coding.c (Qdisable_composition): New variable; delete
4403 (Fmake_coding_system): Add new property `disable-composite';
4404 delete property `composite'.
4405 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4406 instead of `!CODING_SYSTEM_COMPOSITE'.
4407 (syms_of_file_coding): Add new symbol `disable-composition';
4408 delete symbol `composite'.
4410 * file-coding.h (struct Lisp_Coding_System): Add
4411 `disable_composition'; delete `enable_composition'.
4412 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4413 `CODING_SYSTEM_COMPOSITE'.
4414 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4415 `XCODING_SYSTEM_COMPOSITE'.
4417 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4419 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4422 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4424 * text-coding.c (Qcomposite): New variable.
4425 (Fmake_coding_system): Add new property `composite'.
4426 (struct decoding_stream): Add `combined_char_count',
4427 `combined_chars' and `combining_table' in UTF-2000.
4428 (COMPOSE_FLUSH_CHARS): New macro.
4429 (COMPOSE_ADD_CHAR): New macro.
4430 (reset_decoding_stream): Reset `str->combined_char_count' and
4431 `str->combining_table' in UTF-2000.
4432 (decode_coding_iso2022): Modify for character-decomposition.
4433 (syms_of_file_coding): Add new symbol `composite'.
4435 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4437 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4438 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4439 of `Vcharacter_composition_table' if `->decomposition' property
4441 (Qlatin_tcvn5712): New variable.
4442 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4443 (complex_vars_of_mule_charset): Add new coded-charset
4446 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4448 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4450 * file-coding.h (struct Lisp_Coding_System): Add
4451 `enable_composition'.
4452 (CODING_SYSTEM_COMPOSITE): New macro.
4453 (XCODING_SYSTEM_COMPOSITE): New macro.
4455 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4457 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4459 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4461 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4462 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4464 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4466 * mule-charset.c (Vcharset_mojikyo): New variable.
4467 (Fdefine_char): Don't use coded-charset which does not have
4468 non-builtin character range to allocate character-id.
4469 (Qmojikyo): New variable.
4470 (syms_of_mule_charset): Add new symbol `mojikyo'.
4471 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4473 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4474 (LEADING_BYTE_MOJIKYO): New macro.
4475 (MIN_CHAR_MOJIKYO): New macro.
4476 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4477 (MAX_CHAR_MOJIKYO): New macro.
4479 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4481 * mule-charset.c (remove_char_attribute): Fixed.
4483 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4485 * mule-charset.c (remove_char_attribute): New function.
4486 (Fremove_char_attribute): New function.
4487 (encode_builtin_char_1): Comment out builtin-support for
4488 greek-iso8859-7 and cyrillic-iso8859-5.
4489 (Fdecode_char): Check `code' is an integer.
4490 (syms_of_mule_charset): Add `remove-char-attribute'.
4491 (MIN_CHAR_GREEK): Deleted.
4492 (MAX_CHAR_GREEK): Likewise.
4493 (MIN_CHAR_CYRILLIC): Likewise.
4494 (MAX_CHAR_CYRILLIC): Likewise.
4495 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4496 MAX_CHAR_GREEK for `greek-iso8859-7'.
4498 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4499 (MAX_CHAR_GREEK): Likewise.
4500 (MIN_CHAR_CYRILLIC): Likewise.
4501 (MAX_CHAR_CYRILLIC): Likewise.
4503 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4505 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4506 format is used without `ucs' property.
4507 (Fdecode_char): Fix problem with GR representation.
4508 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4509 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4511 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4513 * mule-charset.c (make_builtin_char): New function.
4514 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4515 (Fset_charset_mapping_table): Modify for new representation of
4517 (Fdecode_char): New function.
4518 (syms_of_mule_charset): Add new builtin function `decode-char' in
4521 * char-ucs.h (make_builtin_char): New prototype.
4522 (DECODE_CHAR): New inline function.
4523 (MAKE_CHAR): Use `DECODE_CHAR'.
4525 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4527 * text-coding.c (parse_charset_conversion_specs): Use
4528 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4530 (iso2022_designate): Likewise.
4532 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4533 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4535 * mule-charset.c (Vcharset_ucs): New variable.
4536 (print_charset): Change design; use `CHARSET_CHARS' and
4537 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4538 (make_charset): Change signature to specify `chars' and
4539 `dimension' instead of `type'.
4540 (range_charset_code_point): Modify for 256^n-set.
4541 (encode_builtin_char_1): Encode as `ucs' in default.
4542 (Fmake_charset): Modify for `make_charset'.
4543 (Fmake_reverse_direction_charset): Likewise.
4544 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4546 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4549 * char-ucs.h (Vcharset_ucs): New variable.
4550 (LEADING_BYTE_UCS): New macro.
4551 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4552 and `chars' to `unsigned short' from `unsigned int'.
4553 (CHARSET_TYPE): Deleted.
4554 (XCHARSET_TYPE): Deleted.
4556 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4558 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4560 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4561 (ENCODE_CHAR): New macro.
4563 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4565 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4566 to 0.14 (Kawachi-Katakami).
4568 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4570 * text-coding.c (char_encode_shift_jis): Modify for
4571 `charset_code_point'.
4572 (char_encode_iso2022): Likewise.
4574 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4575 (integer) instead of list of <Lisp_Object>s (integers) as the
4576 format of code-point of a coded-charset.
4577 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4578 (encode_builtin_char_1): New function; delete
4579 `split_builtin_char'.
4580 (charset_code_point): Return <int> instead of <Lisp_Object>.
4581 (Fsplit_char): Don't use `SPLIT_CHAR'.
4583 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4584 prototype for `split_builtin_char'.
4585 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4586 (charset_code_point): Likewise.
4587 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4588 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4590 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4592 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4593 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4595 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4597 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4599 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4600 (MAX_CHAR_OBS_94x94): Deleted.
4602 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4606 * char-ucs.h (MAX_CHAR_BMP): New macro.
4608 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4610 * text-coding.c: Sync with r21-2-24.
4612 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4614 * file-coding.c: Modify for UTF-2000.
4616 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4618 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4621 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * mule-charset.c (split_builtin_char): Delete builtin support for
4624 `katakana-jisx0201'.
4625 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4626 BMP area in builtin representation.
4628 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4629 `Vcharset_katakana_jisx0201'.
4631 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4633 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4634 (Qisolated): New variable.
4635 (Qinitial): New variable.
4636 (Qmedial): New variable.
4637 (Qfinal): New variable.
4638 (Qvertical): New variable.
4639 (Qsmall): New variable.
4640 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4641 `Qvertical' and `Qsmall'.
4642 (Qmojikyo_pj_[1 .. 21]): New variable.
4643 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4644 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4645 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4648 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4650 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4651 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4652 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4654 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4656 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4657 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4659 (Qjapanese_jisx0208_1990): New variable.
4660 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4661 (complex_vars_of_mule_charset): Add new coded-charset
4662 `japanese-jisx0208-1990'.
4664 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4665 (MIN_CHAR_JIS_X0208_1990): New macro.
4666 (MAX_CHAR_JIS_X0208_1990): New macro.
4668 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4670 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4671 coded-charset is not found.
4673 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4675 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4676 (Fdefine_char): Use `Fmake_char'.
4678 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4680 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4681 (Vcharset_hiragana_jisx0208): Deleted.
4682 (Vcharset_katakana_jisx0208): Deleted.
4683 (Qideograph_daikanwa): New variable.
4684 (Qhiragana_jisx0208): Deleted.
4685 (Qkatakana_jisx0208): Deleted.
4686 (split_builtin_char): Split `ideograph-daikanwa'.
4687 (Fsplit_char): New implementation for UTF-2000.
4688 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4689 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4690 (complex_vars_of_mule_charset): Add new coded-charset
4691 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4692 `katakana-jisx0208'.
4694 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4695 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4696 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4697 (MIN_CHAR_DAIKANWA): New macro.
4698 (MAX_CHAR_DAIKANWA): New macro.
4700 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4702 * data.c (Fstring_to_number): Don't recognize floating point if
4705 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4707 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4709 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4711 * mule-charset.c (Qsquare): New variable.
4712 (to_char_code): Add `Qsquare'.
4713 (syms_of_mule_charset): Add new symbol `square'.
4715 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4717 * mule-charset.c (Qcircle): New variable.
4718 (to_char_code): Add `Qcircle'.
4719 (syms_of_mule_charset): Add new symbol `circle'.
4721 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4723 * mule-charset.c (Qfont): New variable.
4724 (to_char_code): Add `Qfont'.
4725 (syms_of_mule_charset): Add new symbol `font'.
4727 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4729 * mule-charset.c (Qsub): New variable.
4730 (to_char_code): Add `Qsub'.
4731 (syms_of_mule_charset): Add new symbol `sub'.
4733 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4735 * mule-charset.c (Fput_char_attribute): Convert each element of
4736 VALUE to GL position if ATTRIBUTE is a GR-set,
4738 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4740 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4741 coded-charset is a GR-set.
4743 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4745 * mule-charset.c (Fput_char_attribute): Check each element of
4746 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4748 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4750 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4752 (Qethiopic_ucs): New variable in UTF-2000.
4753 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4754 (complex_vars_of_mule_charset): Add new coded-charset
4755 `ethiopic-ucs' in UTF-2000.
4757 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4758 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4760 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4762 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4764 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4766 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4769 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4771 * mule-charset.c (Vcharacter_variant_table): New variable.
4772 (Q_ucs): New variable.
4773 (Fchar_variants): New function.
4774 (Fput_char_attribute): Register `->ucs' value to
4775 `Vcharacter_variant_table'.
4776 (syms_of_mule_charset): Add new function `char-variants' and new
4778 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4780 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4782 * mule-charset.c (get_char_code_table): Allow negative character
4784 (put_char_code_table): Likewise.
4785 (Vcharacter_composition_table): New variable.
4786 (Q_decomposition): New variable.
4787 (Qwide): New variable.
4788 (Qnarrow): New variable.
4789 (Qcompat): New variable.
4790 (QnoBreak): New variable.
4791 (Qsuper): New variable.
4792 (Qfraction): New variable.
4793 (to_char_code): New function.
4794 (Fget_composite_char): New function.
4795 (Fput_char_attribute): Register `->decomposition' value to
4796 `Vcharacter_composition_table'.
4797 (syms_of_mule_charset): Add new function `get-composite-char', new
4798 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4799 `super' and `fraction'.
4800 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4802 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4804 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4805 character; copy the return value.
4807 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4809 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4811 * mule-charset.c (range_charset_code_point): Must use make_int.
4812 (split_builtin_char): New function.
4814 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4816 * mule-charset.c (char_byte_table): Change name from
4817 "char-code-table" to "char-byte-table".
4818 (mark_char_code_table): New function.
4819 (char_code_table_equal): New function.
4820 (char_code_table_hash): New function.
4821 (char_code_table_description): New constant.
4822 (char_code_table): New type.
4823 (make_char_code_table): New function.
4824 (copy_char_code_table): New function.
4825 (get_char_code_table): Modify for `char_code_table' type.
4826 (put_char_code_table): Likewise.
4827 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4830 * char-ucs.h (char_code_table): New type.
4831 (XCHAR_CODE_TABLE): New macro.
4832 (XSETCHAR_CODE_TABLE): New macro.
4833 (CHAR_CODE_TABLE_P): New macro.
4834 (GC_CHAR_CODE_TABLE_P): New macro.
4835 (struct Lisp_Char_Code_Table): New structure.
4837 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4839 * mule-charset.c (Fmake_charset): Setup byte_offset for
4842 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4844 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4847 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4849 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4852 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4854 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4855 charset, it is regarded as a charset.
4856 (put_char_attribute): New function in UTF-2000.
4857 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4858 charset, mapping-table of the charset is modified.
4859 (Fdefine_char): New function in UTF-2000.
4860 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4861 `Fput_char_attribute'.
4862 (syms_of_mule_charset): Add new function `define-char' and new
4863 symbol `ucs' in UTF-2000.
4864 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4866 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4868 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4869 non-UTF-2000 configuration.
4871 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4873 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4874 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4876 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4878 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4879 (Fset_charset_mapping_table): Likewise.
4881 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4882 (CHARSET_ENCODING_TABLE): Delete.
4883 (XCHARSET_ENCODING_TABLE): Delete.
4884 (charset_code_point): New interface.
4886 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4888 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4889 instead of `charset_get_byte1' and `charset_get_byte2'.
4891 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4892 (charset_get_byte2): Deleted.
4894 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4896 * char-ucs.h (SPLIT_CHAR): New inline function.
4897 (breakup_char_1): Use `SPLIT_CHAR'.
4899 * mule-charset.c (range_charset_code_point): New function.
4900 (charset_code_point): New function.
4902 * char-ucs.h (range_charset_code_point): New interface.
4903 (breakup_char_1): Use `range_charset_code_point'.
4905 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4907 * mule-charset.c (Fmake_charset): Delete unused local variable
4910 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4911 (breakup_char_1): Find a charset and code-point in
4912 `Vcharacter_attribute_table'.
4914 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4916 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4919 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4921 * mule-charset.c (Vcharacter_attribute_table): New variable.
4922 (Fchar_attribute_alist): New function.
4923 (Fget_char_attribute): New function.
4924 (Fput_char_attribute): New function.
4925 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4927 (syms_of_mule_charset): Add new function `char-attribute-alist',
4928 `get-char-attribute' and `put-char-attribute'.
4929 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4931 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4933 * mule-charset.c (Fmake_charset): Just use
4934 `get_unallocated_leading_byte'.
4936 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4937 sets; don't use final-byte based number for private sets.
4939 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4941 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4944 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4946 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4949 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4951 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4952 of `CHAR_LEADING_BYTE' in UTF-2000.
4954 * insdel.c (find_charsets_in_bufbyte_string): Use
4955 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4956 (find_charsets_in_emchar_string): Likewise.
4958 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4959 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4961 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4962 (CHAR_CHARSET_ID): New macro.
4964 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4966 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4967 charset-id - MIN_LEADING_BYTE.
4968 (put_char_table): Likewise.
4970 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4972 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4973 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4974 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4975 (CHARSET_ID_OFFSET): New macro.
4976 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4977 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4978 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4979 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4981 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4983 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4984 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4985 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4986 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4987 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4989 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4991 * mule-charset.c (next_allocated_leading_byte): New variable in
4993 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4994 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4995 (get_unallocated_leading_byte): Simply use
4996 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4997 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
5000 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
5001 (MAX_LEADING_BYTE_PRIVATE): New macro.
5002 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
5003 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
5005 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5007 * mule-charset.c (Fmake_charset): Allocate final-byte based
5008 charset-id for 94-set, 96-set and 94x94-set.
5010 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5012 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
5014 (Fmake_charset): Likewise.
5015 (complex_vars_of_mule_charset): Modify the font registry of
5016 `ucs-bmp' not to match `Ethiopic-Unicode'.
5018 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5020 * mule-charset.c (complex_vars_of_mule_charset): Add font
5021 registory of `ucs-bmp'.
5023 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5025 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
5026 coded-charsets in `default-coded-charset-priority-list' when
5027 breaking up a character.
5029 * mule-charset.c (Vcharset_latin_viscii): New variable.
5030 (Qlatin_viscii): New variable.
5031 (make_charset): Don't use `decoding_table'.
5032 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
5034 (Fset_charset_mapping_table): New implementation.
5035 (syms_of_mule_charset): Add new symbol `latin-viscii'.
5036 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
5037 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
5038 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
5039 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
5040 charset `latin_viscii'.
5042 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
5043 (CHARSET_TYPE_94X94): Change to 1 from 2.
5044 (CHARSET_TYPE_96): Change to 2 from 1.
5045 (CHARSET_TYPE_128): New macro.
5046 (CHARSET_TYPE_128X128): Change to 5 from 4.
5047 (CHARSET_TYPE_256): New macro.
5048 (CHARSET_TYPE_256X256): Change to 7 from 5.
5049 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
5051 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5053 * text-coding.c (char_encode_shift_jis): Refer
5054 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
5055 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
5057 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
5058 (char_byte_table_equal): New function in UTF-2000.
5059 (char_byte_table_hash): New function in UTF-2000.
5060 (char_byte_table_description): New constant in UTF-2000.
5061 (char_byte_table): New type in UTF-2000.
5062 (make_char_byte_table): New function in UTF-2000.
5063 (copy_char_byte_table): New function in UTF-2000.
5064 (make_char_code_table): New macro in UTF-2000.
5065 (get_char_code_table): New function in UTF-2000.
5066 (put_char_code_table): New function in UTF-2000.
5067 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
5068 (charset_description): Add setting in UTF-2000.
5069 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
5070 `CHARSET_TO_BYTE1_TABLE(cs)'.
5071 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
5072 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
5073 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
5074 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
5075 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
5076 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
5077 `CHARSET_TO_BYTE2_TABLE(cs)'.
5079 * char-ucs.h (char_byte_table): New type.
5080 (XCHAR_BYTE_TABLE): New macro.
5081 (XSETCHAR_BYTE_TABLE): New macro.
5082 (CHAR_BYTE_TABLE_P): New macro.
5083 (GC_CHAR_BYTE_TABLE_P): New macro.
5084 (struct Lisp_Char_Byte_Table): New structure.
5085 (get_char_code_table): New interface.
5086 (Emchar_to_byte_table): Deleted.
5087 (get_byte_from_character_table): Deleted.
5088 (struct Lisp_Charset): Add `encoding_table'; delete
5089 `to_byte1_table' and `to_byte2_table'.
5090 (CHARSET_ENCODING_TABLE): New macro.
5091 (CHARSET_TO_BYTE1_TABLE): Deleted.
5092 (CHARSET_TO_BYTE2_TABLE): Deleted.
5093 (XCHARSET_ENCODING_TABLE): New macro.
5094 (XCHARSET_TO_BYTE1_TABLE): Deleted.
5095 (XCHARSET_TO_BYTE2_TABLE): Deleted.
5097 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5099 * mule-charset.c (syms_of_mule_charset): Delete charset alias
5100 `vietnamese-viscii-*'.
5102 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5104 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
5105 (Qvietnamese_viscii_upper): New variable.
5106 (Fdefine_charset_alias): New function.
5107 (syms_of_mule_charset): Add new function `define-charset-alias'.
5108 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5109 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5112 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5114 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5115 (MAX_CHAR_OBS_94x94): New macro.
5116 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5119 * mule-charset.c (put_byte_from_character_table): Change unit size
5121 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5123 (Fmake_reverse_direction_charset): Modify dummy argument of
5124 `make_charset' for non-UTF-2000 environment.
5126 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5128 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5130 * mule-charset.c (destroy_byte_from_character_table): New macro.
5131 (latin_jisx0201_to_ucs): Deleted.
5132 (latin_iso8859_2_to_ucs): Deleted.
5133 (latin_iso8859_3_to_ucs): Deleted.
5134 (latin_iso8859_4_to_ucs): Deleted.
5135 (latin_iso8859_9_to_ucs): Deleted.
5136 (latin_viscii_lower_to_ucs): Deleted.
5137 (latin_viscii_upper_to_ucs): Deleted.
5138 (mark_charset): Mark `cs->decoding_table'.
5139 (Fcharset_mapping_table): Fix DOC-string.
5140 (Fset_charset_mapping_table): New function.
5141 (syms_of_mule_charset): Add nwe function
5142 `set-charset-mapping-table'.
5143 (complex_vars_of_mule_charset): Don't setup and use
5146 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5148 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5151 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5153 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5154 (Vcharset_katakana_jisx0208): New variable.
5155 (Qhiragana_jisx0208): New variable.
5156 (Qkatakana_jisx0208): New variable.
5157 (make_charset): Add new argument `byte_offset'.
5158 (charset_get_byte1): Modify for new coded-charset definition; use
5159 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5160 `XCHARSET_BYTE_OFFSET'.
5161 (Fmake_charset): Modify for `make_charset'.
5162 (Fmake_reverse_direction_charset): Likewise.
5163 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5164 `katakana-jisx0208'.
5165 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5166 `.' in font registry of charset `katakana-jisx0201',
5167 `latin-jisx0201', `vietnamese-viscii-lower' and
5168 `vietnamese-viscii-upper'; modify DOC-string of charset
5169 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5170 registry of charset `japanese-jisx0208' not to use font for JIS
5171 X0208:1990; add new charset `hiragana-jisx0208' and
5172 `katakana-jisx0208'.
5174 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5175 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5176 (struct Lisp_Charset): Add `byte_offset'.
5177 (CHARSET_BYTE_OFFSET): New macro.
5178 (XCHARSET_UCS_MIN): New macro.
5179 (XCHARSET_UCS_MAX): New macro.
5180 (XCHARSET_CODE_OFFSET): New macro.
5181 (XCHARSET_BYTE_OFFSET): New macro.
5182 (MIN_CHAR_HIRAGANA): New macro.
5183 (MAX_CHAR_HIRAGANA): New macro.
5184 (MIN_CHAR_KATAKANA): New macro.
5185 (MAX_CHAR_KATAKANA): New macro.
5186 (MAKE_CHAR): Modify for new coded-charset definition; use
5187 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5188 `XCHARSET_BYTE_OFFSET'.
5190 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5192 * mule-charset.c (CHAR96): Deleted.
5193 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5195 (latin_iso8859_2_to_ucs): Likewise.
5196 (latin_iso8859_3_to_ucs): Likewise.
5197 (latin_iso8859_4_to_ucs): Likewise.
5198 (latin_iso8859_9_to_ucs): Likewise.
5199 (latin_viscii_lower_to_ucs): Likewise.
5200 (latin_viscii_upper_to_ucs): Likewise.
5201 (latin_tcvn5712_to_ucs): Commented out.
5202 (make_charset): Change type of argument `decoding_table' from
5203 <Emchar*> to <Lisp_Object> [vector of characters].
5204 (Fmake_charset): Modify for `make_charset'.
5205 (Fmake_reverse_direction_charset): Likewise.
5206 (Fcharset_mapping_table): New function in UTF-2000.
5207 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5209 (complex_vars_of_mule_charset): Modify for type change of
5210 `*_to_ucs'; modify for `make_charset'.
5212 * char-ucs.h (struct Lisp_Charset): Change type of
5213 `decoding_table' from <Emchar*> to <Lisp_Object>.
5214 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5216 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5218 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5219 error with non-UTF-2000-Mule.
5221 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5223 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5225 (Vcharset_chinese_cns11643_4): Likewise.
5226 (Vcharset_chinese_cns11643_5): Likewise.
5227 (Vcharset_chinese_cns11643_6): Likewise.
5228 (Vcharset_chinese_cns11643_7): Likewise.
5229 (Qchinese_cns11643_3): Likewise.
5230 (Qchinese_cns11643_4): Likewise.
5231 (Qchinese_cns11643_5): Likewise.
5232 (Qchinese_cns11643_6): Likewise.
5233 (Qchinese_cns11643_7): Likewise.
5234 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5235 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5236 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5237 (complex_vars_of_mule_charset): Likewise.
5239 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5241 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5243 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5244 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5246 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5248 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5250 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5251 (breakup_char_1): Likewise.
5253 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5254 one of them includes the specified character.
5256 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5258 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5260 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5262 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5264 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5266 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5267 definition for non-UTF-2000 Mule.
5268 (latin_iso8859_3_to_ucs): Likewise.
5269 (latin_iso8859_4_to_ucs): Likewise.
5270 (latin_iso8859_9_to_ucs): Likewise.
5271 (latin_jisx0201_to_ucs): Likewise.
5272 (MIN_CHAR_THAI): Likewise.
5273 (MAX_CHAR_THAI): Likewise.
5274 (MIN_CHAR_GREEK): Likewise.
5275 (MAX_CHAR_GREEK): Likewise.
5276 (MIN_CHAR_HEBREW): Likewise.
5277 (MAX_CHAR_HEBREW): Likewise.
5278 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5279 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5280 (MIN_CHAR_CYRILLIC): Likewise.
5281 (MAX_CHAR_CYRILLIC): Likewise.
5283 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5285 * char-ucs.h (breakup_char_1): Use
5286 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5287 thai-tis620 and katakana-jisx0201 area.
5289 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5291 * char-ucs.h (breakup_char_1): Use
5292 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5295 * text-coding.c (reset_encoding_stream): Fixed.
5296 (char_encode_ucs4): Delete `& 255'.
5298 * char-ucs.h (breakup_char_1): Use
5299 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5301 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5303 * file-coding.c (Fmake_coding_system): Don't set up
5304 `codesys->fixed.size'.
5305 (encode_coding_no_conversion): Don't refer
5306 `str->codesys->fixed.size'.
5308 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5310 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5311 (latin_a_char_to_byte1): Deleted.
5312 (latin_a_char_to_byte2): Deleted.
5314 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5316 * mule-charset.c (make_charset): Add new argument `ucs_min',
5317 `ucs_max' and `code_offset'.
5318 (charset_get_byte1): New implementation [delete specific charset
5319 depended implementations].
5320 (Fmake_charset): Modify for `make_charset'.
5321 (Fmake_reverse_direction_charset): Likewise.
5322 (complex_vars_of_mule_charset): Likewise.
5324 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5326 (CHARSET_UCS_MIN): New macro.
5327 (CHARSET_UCS_MAX): New macro.
5328 (CHARSET_CODE_OFFSET): New macro.
5329 (MAKE_CHAR): Delete charset depended definitions [except
5332 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5334 * char-ucs.h (breakup_char_1): Use
5335 `Vdefault_coded_charset_priority_list' for C0-Controls,
5336 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5338 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5340 * char-ucs.h (charset_get_byte1): New function.
5341 (XCHARSET_GET_BYTE1): Deleted.
5342 (charset_get_byte2): New function.
5343 (XCHARSET_GET_BYTE2): Deleted.
5344 (Vdefault_coded_charset_priority_list): New external variable.
5345 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5346 `Vdefault_preferred_coded_charset_list'.
5348 * mule-charset.c (charset_get_byte1): New function.
5349 (charset_get_byte2): New function.
5350 (Vdefault_coded_charset_priority_list): New variable.
5351 (vars_of_mule_charset): Add new variable
5352 `default-coded-charset-priority-list'.
5354 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5356 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5357 (XCHARSET_GET_BYTE2): New inline function.
5358 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5359 `XCHARSET_GET_BYTE2'.
5361 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5363 * mule-charset.c (make_charset): Initialize
5364 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5365 NULL if table is not defined.
5367 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5369 * text-coding.c (char_encode_shift_jis): Use
5370 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5371 `ucs_to_latin_jisx0201'.
5373 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5374 (ucs_to_latin_iso8859_2): Deleted.
5375 (ucs_to_latin_iso8859_3): Deleted.
5376 (ucs_to_latin_iso8859_4): Deleted.
5377 (ucs_to_latin_iso8859_9): Deleted.
5378 (ucs_to_latin_viscii_lower): Deleted.
5379 (ucs_to_latin_viscii_upper): Deleted.
5380 (ucs_to_latin_tcvn5712): Deleted.
5381 (make_charset): Add new argument `decoding_table'; set up
5382 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5383 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5384 `decoding_table' is defined in UTF-2000.
5385 (Fmake_charset): Modify for `make_charset'.
5386 (Fmake_reverse_direction_charset): Likewise.
5387 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5388 and `GENERATE_96_SET'.
5390 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5391 (ucs_to_latin_jisx0201): Deleted.
5392 (latin_iso8859_2_to_ucs): Deleted.
5393 (ucs_to_latin_iso8859_2): Deleted.
5394 (latin_iso8859_3_to_ucs): Deleted.
5395 (ucs_to_latin_iso8859_3): Deleted.
5396 (latin_iso8859_4_to_ucs): Deleted.
5397 (ucs_to_latin_iso8859_4): Deleted.
5398 (latin_iso8859_9_to_ucs): Deleted.
5399 (ucs_to_latin_iso8859_9): Deleted.
5400 (latin_viscii_lower_to_ucs): Deleted.
5401 (ucs_to_latin_viscii_lower): Deleted.
5402 (latin_viscii_upper_to_ucs): Deleted.
5403 (ucs_to_latin_viscii_upper): Deleted.
5404 (struct Lisp_Charset): Renamed `encoding_table' to
5405 `to_byte1_table'; add `to_byte2_table'.
5406 (CHARSET_DECODING_TABLE): New macro.
5407 (CHARSET_TO_BYTE1_TABLE): New macro.
5408 (CHARSET_TO_BYTE2_TABLE): New macro.
5409 (XCHARSET_DECODING_TABLE): New macro.
5410 (XCHARSET_TO_BYTE1_TABLE): New macro.
5411 (XCHARSET_TO_BYTE2_TABLE): New macro.
5412 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5414 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5415 don't use `ucs_to_*' tables.
5417 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5419 * text-coding.c (Fmake_coding_system): Don't set up
5420 `codesys->fixed.size'.
5421 (encode_coding_no_conversion): Use `if' instead of `switch'.
5423 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5425 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5427 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5428 (Fmake_charset): Modify for `make_charset'.
5429 (Fmake_reverse_direction_charset): Likewise.
5430 (complex_vars_of_mule_charset): Likewise.
5432 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5434 * text-coding.c (char_encode_shift_jis): Use table
5435 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5437 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5439 * text-coding.c (text_encode_generic): Use `if' instead of
5441 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5444 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5446 * text-coding.c (encode_coding_sjis): Deleted.
5447 (char_encode_shift_jis): New function.
5448 (char_finish_shift_jis): New function.
5449 (reset_encoding_stream): Set up `encode_char' and `finish' for
5450 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5451 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5452 (char_encode_utf8): Treat `eol_type'.
5454 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5456 * file-coding.c (decode_coding_iso2022): Use
5457 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5459 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5461 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5464 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5466 * char-lb.h (CHAR_COLUMNS): New macro.
5468 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5470 * text-coding.c (char_encode_ucs4): New function.
5471 (char_finish_ucs4): New function.
5472 (encode_coding_ucs4): Deleted.
5473 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5474 (text_encode_generic): Delete local variable `charset' and `half'.
5475 (ucs_to_mule_table): Deleted.
5476 (mule_to_ucs_table): Deleted.
5477 (Fset_ucs_char): Deleted.
5478 (ucs_to_char): Deleted.
5479 (Fucs_char): Deleted.
5480 (Fset_char_ucs): Deleted.
5481 (Fchar_ucs): Deleted.
5482 (decode_ucs4): Deleted.
5483 (mule_char_to_ucs4): Deleted.
5484 (encode_ucs4): Deleted.
5485 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5486 (decode_coding_utf8): Likewise.
5487 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5488 (char_encode_iso2022): Fixed.
5489 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5490 `Fset_char_ucs' and `Fchar_ucs'.
5491 (complex_vars_of_file_coding): Don't initialize
5492 `ucs_to_mule_table'.
5494 * objects-tty.c (tty_initialize_font_instance): Don't use
5497 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5500 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5501 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5503 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5504 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5505 (emchar_string_displayed_columns): Likewise.
5507 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5508 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5509 (string_column_at_point): Likewise.
5510 (Fmove_to_column): Likewise.
5512 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5513 `encoding_table' and `decoding_table'.
5514 (CHARSET_REP_BYTES): Deleted.
5515 (XCHARSET_REP_BYTES): Deleted.
5516 (XCHARSET_COLUMNS): Deleted.
5517 (CHAR_COLUMNS): New macro.
5518 (lookup_composite_char): Deleted unconditionally.
5519 (composite_char_string): Likewise.
5521 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5523 * char-ucs.h (Emchar_to_byte_table): New type.
5524 (get_byte_from_character_table): New function interface.
5525 (Vcharset_latin_jisx0201): New variable.
5526 (latin_jisx0201_to_ucs): New variable.
5527 (ucs_to_latin_jisx0201): New variable.
5528 (Vcharset_latin_iso8859_2): New variable.
5529 (latin_iso8859_2_to_ucs): New variable.
5530 (ucs_to_latin_iso8859_2): New variable.
5531 (Vcharset_latin_iso8859_3): New variable.
5532 (latin_iso8859_3_to_ucs): New variable.
5533 (ucs_to_latin_iso8859_3): New variable.
5534 (Vcharset_latin_iso8859_4): New variable.
5535 (latin_iso8859_4_to_ucs): New variable.
5536 (ucs_to_latin_iso8859_4): New variable.
5537 (Vcharset_latin_iso8859_9): New variable.
5538 (latin_iso8859_9_to_ucs): New variable.
5539 (ucs_to_latin_iso8859_9): New variable.
5540 (Vcharset_latin_viscii_lower): New variable.
5541 (latin_viscii_lower_to_ucs): New variable.
5542 (ucs_to_latin_viscii_lower): New variable.
5543 (Vcharset_latin_viscii_upper): New variable.
5544 (latin_viscii_upper_to_ucs): New variable.
5545 (ucs_to_latin_viscii_upper): New variable.
5546 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5547 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5548 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5549 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5550 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5551 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5552 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5553 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5554 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5555 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5557 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5558 (Vcharset_latin_viscii_upper): New variable.
5559 (make_byte_from_character_table): New function.
5560 (put_byte_from_character_table): New function.
5561 (get_byte_from_character_table): New function.
5562 (CHAR96): New macro.
5563 (ucs_to_latin_jisx0201): New variable.
5564 (latin_jisx0201_to_ucs): New variable.
5565 (ucs_to_latin_iso8859_2): New variable.
5566 (latin_iso8859_2_to_ucs): New variable.
5567 (ucs_to_latin_iso8859_3): New variable.
5568 (latin_iso8859_3_to_ucs): New variable.
5569 (ucs_to_latin_iso8859_4): New variable.
5570 (latin_iso8859_4_to_ucs): New variable.
5571 (ucs_to_latin_iso8859_9): New variable.
5572 (latin_iso8859_9_to_ucs): New variable.
5573 (ucs_to_latin_viscii_lower): New variable.
5574 (latin_viscii_lower_to_ucs): New variable.
5575 (ucs_to_latin_viscii_upper): New variable.
5576 (latin_viscii_upper_to_ucs): New variable.
5577 (ucs_to_latin_tcvn5712): New variable.
5578 (latin_tcvn5712_to_ucs): New variable.
5579 (Qlatin_viscii_lower): New variable.
5580 (Qlatin_viscii_upper): New variable.
5581 (syms_of_mule_charset): Set up new symbol
5582 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5583 (complex_vars_of_mule_charset): Set up new charset
5584 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5585 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5586 `ucs_to_<CHARSET>' tables.
5588 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5590 * text-coding.c: New file.
5592 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5594 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5596 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5597 (MAKE_CHAR): Modify for `ucs-bmp'.
5598 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5599 non-MULE characters of BMP.
5601 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5603 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5606 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5609 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5610 - Include character.h for `CHAR_ASCII_P'.
5612 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5614 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5615 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5617 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5618 (BYTE_C0_P): Likewise.
5619 (BYTE_C1_P): Likewise.
5620 (Lstream_get_emchar_1): Likewise.
5621 (Lstream_fput_emchar): Likewise.
5622 (Lstream_funget_emchar): Likewise.
5623 (copy_internal_to_external): Likewise.
5624 (copy_external_to_internal): Likewise.
5626 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5627 (BYTE_C0_P): Likewise.
5628 (BYTE_C1_P): Likewise.
5629 (Lstream_get_emchar_1): Likewise.
5630 (Lstream_fput_emchar): Likewise.
5631 (Lstream_funget_emchar): Likewise.
5632 (copy_internal_to_external): Likewise.
5633 (copy_external_to_internal): Likewise.
5635 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5636 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5638 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5639 (BYTE_ASCII_P): Moved to mb-1byte.h.
5641 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5643 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5645 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5646 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5647 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5648 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5649 (VALIDATE_CHARPTR_FORWARD): Likewise.
5650 (simple_charptr_emchar): Moved to mb-multibyte.h.
5651 (simple_set_charptr_emchar): Likewise.
5652 (simple_charptr_copy_char): Likewise.
5653 (non_ascii_charptr_emchar): Likewise.
5654 (non_ascii_set_charptr_emchar): Likewise.
5655 (non_ascii_charptr_copy_char): Likewise.
5656 (charptr_emchar): Moved to mb-*byte.h.
5657 (set_charptr_emchar): Likewise.
5658 (charptr_copy_char): Likewise.
5660 * mb-1byte.h, mb-multibyte.h: New files.
5662 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5664 * mb-utf-8.h (MULTIBYTE): New macro.
5665 (MAX_EMCHAR_LEN): Moved from buffer.h.
5666 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5668 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5670 * mb-lb.h, multibyte.h: New files.
5672 * char-1byte.h (Charset_ID): Moved from buffer.h.
5673 (MIN_LEADING_BYTE): Likewise.
5674 (LEADING_BYTE_ASCII): Likewise.
5675 (NUM_LEADING_BYTES): Likewise.
5676 (CHARSETP): Likewise.
5677 (CHARSET_BY_LEADING_BYTE): Likewise.
5678 (XCHARSET_LEADING_BYTE): Likewise.
5679 (XCHARSET_GRAPHIC): Likewise.
5680 (XCHARSET_COLUMNS): Likewise.
5681 (XCHARSET_DIMENSION): Likewise.
5682 (CHAR_CHARSET): Likewise.
5683 (CHAR_LEADING_BYTE): Likewise.
5684 (BREAKUP_CHAR): Likewise.
5685 (Vcharset_ascii): Likewise.
5687 * buffer.h: Include multibyte.h unconditionally.
5688 (VALID_CHARPTR_P): Moved to multibyte.h.
5689 (ASSERT_VALID_CHARPTR): Likewise.
5690 (REAL_INC_CHARPTR): Likewise.
5691 (REAL_INC_CHARBYTIND): Likewise.
5692 (REAL_DEC_CHARPTR): Likewise.
5693 (INC_CHARPTR): Likewise.
5694 (INC_CHARBYTIND): Likewise.
5695 (DEC_CHARPTR): Likewise.
5696 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5697 (VALIDATE_CHARPTR_FORWARD): Likewise.
5698 (charptr_n_addr): Likewise.
5699 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5700 (simple_charptr_emchar): Moved to multibyte.h.
5701 (simple_set_charptr_emchar): Likewise.
5702 (simple_charptr_copy_char): Likewise.
5703 (non_ascii_charptr_emchar): Likewise.
5704 (non_ascii_set_charptr_emchar): Likewise.
5705 (non_ascii_charptr_copy_char): Likewise.
5706 (charptr_emchar): Likewise.
5707 (set_charptr_emchar): Likewise.
5708 (charptr_copy_char): Likewise.
5709 (charptr_emchar_n): Likewise.
5710 (Charset_ID): Moved to char-1byte.h.
5711 (Vcharset_ascii): Likewise.
5712 (CHAR_CHARSET): Likewise.
5713 (CHAR_LEADING_BYTE): Likewise.
5714 (LEADING_BYTE_ASCII): Likewise.
5715 (NUM_LEADING_BYTES): Likewise.
5716 (MIN_LEADING_BYTE): Likewise.
5717 (CHARSETP): Likewise.
5718 (CHARSET_BY_LEADING_BYTE): Likewise.
5719 (XCHARSET_LEADING_BYTE): Likewise.
5720 (XCHARSET_GRAPHIC): Likewise.
5721 (XCHARSET_COLUMNS): Likewise.
5722 (XCHARSET_DIMENSION): Likewise.
5723 (BREAKUP_CHAR): Likewise.
5725 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5727 * character.h: Add document about interface for characters.
5729 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5730 (MAKE_CHAR): Delete comment about
5731 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5732 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5733 (BREAKUP_CHAR): Modify name of arguments.
5734 (CHAR_CHARSET): Modify name of argument.
5736 * buffer.h: Delete document about Emchar accessors.
5738 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5740 * character.h (CHAR_INTP): Moved from buffer.h
5741 (CHAR_OR_CHAR_INTP): Likewise.
5742 (XCHAR_OR_CHAR_INT): Likewise.
5743 (CHECK_CHAR_COERCE_INT): Likewise.
5745 * buffer.h (CHAR_INTP): Moved to character.h
5746 (CHAR_OR_CHAR_INTP): Likewise.
5747 (XCHAR_OR_CHAR_INT): Likewise.
5748 (CHECK_CHAR_COERCE_INT): Likewise.
5750 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5753 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5754 - Include char-1byte.h, char-lb.h or char-ucs.h.
5756 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5758 * buffer.h: Include character unconditionally.
5759 (valid_char_p): Moved to char-*.h.
5760 (non_ascii_valid_char_p): Moved to char-lb.h.
5762 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5764 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5766 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5767 in UTF-2000 because it is not ported yet and not to use
5768 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5769 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5770 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5772 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5773 (CHAR_ASCII_P): Moved from character.h.
5775 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5776 (CHAR_ASCII_P): Likewise.
5777 (CHAR_FIELD1_MASK): Deleted.
5778 (CHAR_FIELD2_MASK): Deleted.
5779 (CHAR_FIELD3_MASK): Deleted.
5780 (MAX_CHAR_BASIC_LATIN): New macro.
5781 (CHAR_FIELD1): Deleted.
5782 (CHAR_FIELD2_INTERNAL): Deleted.
5783 (CHAR_FIELD3_INTERNAL): Deleted.
5784 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5785 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5786 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5787 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5788 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5789 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5790 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5791 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5792 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5793 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5794 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5795 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5796 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5797 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5798 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5799 (MIN_CHAR_COMPOSITION): Deleted.
5800 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5801 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5803 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5805 * buffer.h: Include mb-utf-8.h in UTF-2000.
5807 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5809 * mb-utf-8.h: New file.
5811 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5813 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5816 * mule-charset.h, buffer.h (Charset_ID): New type.
5818 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5820 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5821 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5822 instead of `MULE_CHAR_PRIVATE_OFFSET',
5823 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5824 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5825 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5827 * character.h (Vcharset_japanese_jisx0212): New variable
5830 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5832 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5833 (charset_by_attributes): Delete array about direction.
5834 (latin_a_char_to_charset): New variable in UTF-2000.
5835 (latin_a_char_to_byte1): New variable in UTF-2000.
5836 (latin_a_char_to_byte2): New variable in UTF-2000.
5837 (Qucs_bmp): New variable.
5838 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5840 (next_allocated_2_byte_leading_byte): Likewise.
5841 (non_ascii_set_charptr_emchar): Likewise.
5842 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5843 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5844 `charset_by_attributes'.
5845 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5846 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5847 and `CHARSET_BY_LEADING_BYTE'.
5848 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5849 `utf-2000-version' to `vars_of_mule_charset'.
5850 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5851 define `leading-code-private-11' in UTF-2000; move setting of
5852 `utf-2000-version' from `syms_of_mule_charset'.
5853 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5856 * character.h (Charset_ID): New type.
5857 (LEADING_BYTE_UCS_BMP): New macro.
5858 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5859 (CHARSET_ID_OFFSET_94): New macro.
5860 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5861 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5862 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5864 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5865 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5866 (CHARSET_ID_OFFSET_96): New macro.
5867 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5868 CHARSET_ID_OFFSET_96 and final-byte.
5869 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5870 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5871 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5872 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5873 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5874 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5875 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5876 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5877 (LEADING_BYTE_THAI_TIS620): Likewise.
5878 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5879 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5880 (CHARSET_ID_OFFSET_94x94): New macro.
5881 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5882 CHARSET_ID_OFFSET_94x94 and final-byte.
5883 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5884 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5885 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5886 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5887 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5888 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5889 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5890 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5891 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5892 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5893 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5894 (CHARSET_TYPE_128X128): New macro.
5895 (CHARSET_TYPE_256X256): New macro.
5896 (XCHARSET_PRIVATE_P): Delete unconditionally.
5897 (charset_by_attributes): Delete array about direction.
5898 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5899 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5900 (MIN_CHAR_94): New macro.
5901 (MAX_CHAR_94): New macro.
5902 (MIN_CHAR_96): New macro.
5903 (MAX_CHAR_96): New macro.
5904 (MIN_CHAR_94x94): New macro.
5905 (MAX_CHAR_94x94): New macro.
5906 (MIN_CHAR_96x96): New macro.
5907 (MAX_CHAR_96x96): New macro.
5908 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5909 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5910 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5912 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5913 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5914 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5915 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5916 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5917 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5918 `XCHARSET_LEADING_BYTE' to make code-point.
5919 (latin_a_char_to_charset): New variable.
5920 (latin_a_char_to_byte1): New variable.
5921 (latin_a_char_to_byte2): New variable.
5922 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5923 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5924 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5926 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5927 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5928 (find_charsets_in_emchar_string): Likewise.
5929 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5931 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5933 (decode_coding_iso2022): Likewise.
5935 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5938 * redisplay.c (redisplay_text_width_emchar_string): Use
5939 `Charset_ID' instead of `unsigned char'.
5940 (redisplay_frame_text_width_string): Likewise.
5942 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5945 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5946 instead of `unsigned char'.
5947 (face_cachel_charset_font_metric_info): Likewise.
5949 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5950 (get_non_ascii_char_table_value): Likewise.
5951 (get_char_table): Likewise.
5952 (put_char_table): Likewise.
5953 (map_over_other_charset): Likewise.
5954 (map_char_table): Likewise.
5956 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5957 instead of `unsigned char'.
5959 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5961 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5962 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5964 * mule-charset.c (leading_code_private_11): Don't define in
5967 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5968 in UTF-2000 because it is not ported yet and not to use
5969 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5971 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5973 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5975 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5977 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5980 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5981 of unsigned char to store leading-byte.
5983 * chartab.c (get_non_ascii_char_table_value): Don't use
5984 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5986 * file-coding.c (encode_coding_big5): Delete bogus implementation
5989 * character.h (LEADING_BYTE_*): Delete definition for
5991 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5992 (LEADING_BYTE_PREFIX_P): Deleted.
5993 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5994 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5995 (BUFBYTE_LEADING_BYTE_P): Deleted.
5996 (CHARSET_PRIVATE_P): Deleted unconditionally.
5997 (rep_bytes_by_first_byte): Deleted unconditionally.
5998 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5999 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
6000 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
6001 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
6002 (CHAR_FIELD2): Deleted.
6003 (CHAR_FIELD3): Deleted.
6004 (MAKE_CHAR): Delete definition for non-UTF-2000.
6005 (BREAKUP_CHAR_1_UNSAFE): Deleted.
6006 (breakup_char_1): New implementation.
6007 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
6008 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
6010 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
6012 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
6015 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6017 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
6018 (CHARSET_PRIVATE_P): Likewise.
6019 (XCHARSET_PRIVATE_P): Likewise.
6020 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
6022 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
6024 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
6026 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6028 * character.h (LEADING_BYTE_*): Changed in UTF2000.
6029 (NUM_LEADING_BYTES): Changed from 128 to 256.
6030 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6031 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
6033 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6035 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
6037 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
6038 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
6039 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
6040 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
6041 (Qchinese_cns11643_3): New variable in UTF2000.
6042 (Qchinese_cns11643_4): New variable in UTF2000.
6043 (Qchinese_cns11643_5): New variable in UTF2000.
6044 (Qchinese_cns11643_6): New variable in UTF2000.
6045 (Qchinese_cns11643_7): New variable in UTF2000.
6046 (syms_of_mule_charset): Define `chinese-cns11643-3',
6047 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
6048 and `chinese-cns11643-7' in UTF2000.
6049 (vars_of_mule_charset): Initialize
6050 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
6052 (complex_vars_of_mule_charset): Setup charset
6053 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
6054 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
6056 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6058 * mule-charset.c: Move setting for `leading-code-private-11' from
6059 `syms_of_mule_charset' to `vars_of_mule_charset'.
6061 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6063 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
6064 and `NUM_LEADING_BYTES' in assert.
6066 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6068 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
6070 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
6071 `NUM_LEADING_BYTES' instead of 128.
6073 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
6075 * mule-charset.h (charset_by_leading_byte): Use
6076 `NUM_LEADING_BYTES' instead of 128.
6077 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
6079 * mule-charset.c (charset_by_leading_byte): Use
6080 `NUM_LEADING_BYTES' instead of 128.
6081 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
6083 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
6086 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
6088 * mule-charset.c (syms_of_mule_charset): Update to
6091 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
6093 * file-coding.c (encode_coding_sjis): New implementation for
6094 UTF2000. (decode_coding_sjis): Ditto.
6096 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6098 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
6099 Don't define in UTF2000.
6101 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
6104 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6105 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
6108 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6110 * config.h.in (CHAR_IS_UCS4): New macro.
6112 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6113 conventional MULE representation.
6114 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6116 * mule-charset.h: Reverted to original.
6118 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6119 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6120 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6122 * character.h: New file.
6124 * file-coding.c (Fmake_coding_system): Set 1 to
6125 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6127 (encode_coding_no_conversion): New implementation for UTF2000.
6129 * file-coding.h (struct Lisp_Coding_System): Add new member
6132 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6134 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6135 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6136 (encode_coding_iso2022): New implementation for UTF2000.
6138 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6140 * mule-canna.c (c2mu): New implementation for UTF2000.
6143 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6145 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6147 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6149 * file-coding.c (reset_encoding_stream): Set 0 to
6150 `str->iso2022.current_char_boundary' in UTF2000.
6151 (encode_utf8): Don't define in UTF2000.
6152 (encode_coding_utf8): New implementation for UTF-8 representation
6154 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6156 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6158 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6160 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6162 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6164 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6166 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6167 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6168 as UTF-8 in UTF2000.
6169 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6170 (non_ascii_valid_char_p): Don't define in UTF2000.
6171 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6172 (Lstream_get_emchar_1): Likewise.
6173 (utf-2000-version): New variable in UTF2000.
6175 * lread.c (read_escape): Add new reader `u'.
6177 * insdel.c (three_to_one_table): Don't define in UTF2000.
6178 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6179 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6181 (bytind_to_bufpos_func): Likewise.
6182 (buffer_mule_signal_inserted_region): Likewise.
6183 (vars_of_insdel): Don't initialize `three_to_one_table'.
6184 (init_buffer_text): Use `buf->text->mule_size' instead of
6185 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6188 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6189 UTF-8 representation in UTF2000.
6190 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6191 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6192 (decode_coding_iso2022): Don't define local variable `lb' in
6193 UTF2000; don't use LEADING_BYTE in UTF2000; use
6194 `DECODE_ADD_UCS_CHAR' in UTF2000.
6195 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6197 * config.h.in (UTF2000): New macro.
6199 * buffer.h (struct buffer_text): Add new member `mule_size' and
6200 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6201 (valid_char_p): Return always 1 in UTF2000.
6202 (MAX_EMCHAR_LEN): 6 in UTF2000.
6203 (three_to_one_table): Don't define in UTF2000.
6204 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6206 (real_bytind_to_bufpos): Likewise.
6208 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6210 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6212 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6213 representation change.
6214 (Vutf_2000_version): New variable.
6215 (leading_code_private_11): New variable.
6216 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6217 `leading-code-private-11'.
6219 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6220 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6221 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6222 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6223 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6224 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6225 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6226 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6227 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6228 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6229 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6230 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6231 (MIN_CHAR_GREEK): New macro.
6232 (MAX_CHAR_GREEK): New macro.
6233 (MIN_CHAR_CYRILLIC): New macro.
6234 (MAX_CHAR_CYRILLIC): New macro.
6235 (MIN_CHAR_HEBREW): New macro.
6236 (MAX_CHAR_HEBREW): New macro.
6237 (MIN_CHAR_THAI): New macro.
6238 (MAX_CHAR_THAI): New macro.
6239 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6240 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6241 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6242 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6243 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6244 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6245 (CHAR_FIELD2): New inline function.
6246 (CHAR_FIELD3): New inline function.
6247 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6248 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6249 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6250 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6251 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6252 (MIN_CHAR_COMPOSITION): Likewise.
6253 (CHAR_LEADING_BYTE): Modified for character representation change.
6254 (MAKE_CHAR): Likewise.
6256 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6257 (Vcharset_greek_iso8859_7): Likewise.
6258 (Vcharset_cyrillic_iso8859_5): Likewise.
6259 (Vcharset_hebrew_iso8859_8): Likewise.
6260 (Vcharset_thai_tis620): Likewise.
6261 (Vcharset_katakana_jisx0201): Likewise.
6263 2008-12-28 Vin Shelton <acs@xemacs.org>
6265 * XEmacs 21.4.22 is released
6267 2008-12-27 Vin Shelton <acs@xemacs.org>
6269 * syswindows.h: Don't define wide character interfaces for Cygwin
6272 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6274 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6276 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6278 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6279 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6281 2008-12-25 Vin Shelton <acs@xemacs.org>
6283 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6284 By Julian Bradfield in
6285 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6287 * mule-ccl.c (ccl_driver):
6289 2007-10-07 Vin Shelton <acs@xemacs.org>
6291 * XEmacs 21.4.21 is released
6293 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6295 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6297 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6299 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6300 (png_instantiate): Initialize setjmp_buffer early, and avoid
6301 recursive entry to error handler.
6303 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6305 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6308 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6310 * event-Xt.c (x_reset_modifier_mapping):
6311 * event-gtk.c (gtk_reset_modifier_mapping):
6312 Zero out the device's modifier map once we've freed it, to prevent
6313 a double free on a re-entrant call.
6315 2007-05-17 Vin Shelton <acs@xemacs.org>
6317 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6318 64-bit linux. Patch from Hans de Graaff.
6320 2007-05-02 Vin Shelton <acs@xemacs.org>
6322 * dumper.c (pdump): Don't close pdump_fd (already closed by
6323 fclose() call. Patch from Steve Higham.
6324 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6325 already closed. Patch inspired by Steve Higham.
6327 2007-05-01 Vin Shelton <acs@xemacs.org>
6329 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6330 (mswindows_fstat): Ditto.
6331 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6333 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6335 * postgresql.c: Update Steve Baur's email address by his request.
6336 * postgresql.h: Ditto.
6338 2007-01-04 Vin Shelton <acs@xemacs.org>
6340 * fileio.c (check_writable): Check old-style readonly bit only for
6343 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6345 * src/fileio.c (check_writable):
6346 Cope with the fact that the read-only attribute trumps Windows NTFS
6350 2006-12-09 Vin Shelton <acs@xemacs.org>
6352 * XEmacs 21.4.20 is released
6354 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6356 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6357 relocated the definitions to be used sooner in file.
6358 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6359 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6362 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6364 * sound.c (init_native_sound):
6365 Only X11 and GTK devices can possibly not be on the console of the
6366 associated machine. Fixes a crash when init_native_sound is called
6367 on a msprinter device.
6369 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6371 * buffer.c (buffer-file-name): Document invariant.
6372 (buffer-file-truename): Sync wording to buffer-file-name.
6373 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6376 2006-11-19 Benson Margulies <benson@dchbk.us>
6378 * fileio.c: Add code to use full Win32 API to check for write
6379 access. Win32 has the general design policy that you aren't
6380 supposed to ask this question, since security checks change
6381 depending on asynchronous processes. Nonetheless, there is a way,
6382 by acting as if we are a server doing interpretive access
6385 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6387 * bytecode.c: Use xnew_array instead of alloca.
6389 2006-07-04 Vin Shelton <acs@xemacs.org>
6391 * redisplay-msw.c: Fix tiny, but crucial typo.
6393 2006-06-22 Jerry James <james@xemacs.org>
6395 * EmacsShell-sub.c (ChangeManaged):
6396 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6398 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6399 checking if it is NULL. Also fix a memory leak.
6400 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6401 dereference it, not the other way around.
6402 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6404 * dumper.c (pdump_register_struct): Ditto.
6405 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6406 to (short) warnpath overflow warnpath.
6407 * extents.c (detach_all_extents): Call extent_list_delete_all with
6408 a non-NULL parameter only.
6409 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6410 NULL width and height.
6411 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6412 xic before checking if they are NULL.
6413 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6415 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6416 * nas.c (Err): Fix a memory leak.
6417 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6418 Don't create the buffer if there is nothing to do.
6419 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6420 * redisplay-output.c (redisplay_output_layout): Ditto.
6421 * redisplay-tty.c (tty_output_display_block): Ditto.
6422 * redisplay-x.c (x_output_display_block): Ditto.
6423 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6424 dereference instance->scrollbar_data if it is NULL.
6425 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6426 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6427 for sb->scrollbar_data.
6428 * sound.c (init_native_sound): Avoid a buffer overflow by
6429 allocating a buffer with the appropriate size.
6431 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6433 * EmacsShell-sub.c (RootGeometryManager):
6434 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6435 Based on a suggestion by Francois L'Archeveque.
6437 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6439 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6440 current values found in GNU Emacs.
6442 2006-03-17 Vin Shelton <acs@xemacs.org>
6444 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6445 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6447 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6448 'hex_initialized' because it conflicts with 'initialized' in
6451 2006-01-28 Vin Shelton <acs@xemacs.org>
6453 * XEmacs 21.4.19 is released
6455 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6457 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6459 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6461 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6464 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6466 * database.c: Suppress compiler warning under Cygwin.
6467 * database.c: Removed __FreeBSD__ check, should be handled by
6468 HAVE_U_xxx_T defines.
6470 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6472 * console.c (stuff_buffered_input): Compile body only if
6475 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6477 * callproc.c: #include sysdir.h, so that any appropriate Mule
6478 magic happens with the chdir() call when calling a subprocess.
6480 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6482 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6483 * mule-ccl.c: Check that a character set exists before using it
6484 to create a character.
6486 2005-12-06 Vin Shelton <acs@xemacs.org>
6488 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6491 2005-12-03 Vin Shelton <acs@xemacs.org>
6493 * XEmacs 21.4.18 is released
6495 2005-11-27 Kean Johnston <kean@armory.com>
6497 * redisplay-tty.c (set_tty_modes):
6498 (reset_tty_modes): disable auto-margins if the terminal supports
6500 (init_tty_for_redisplay): fix cursor shape.
6502 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6504 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6505 for control-1 characters properly, both when reading multibyte
6506 characters and writing them.
6508 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6510 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6511 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6512 were seeing with incremental selection transfer failing.
6514 2005-11-26 Vin Shelton <acs@xemacs.org>
6516 * callproc.c (Fold_call_process_internal): Create the buffer if it
6517 does not already exist. The original patch came from Ben Wing in
6518 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6520 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6522 * callproc.c: Process-related docstring improvements spurred by
6525 2005-11-25 Vin Shelton <acs@xemacs.org>
6527 * depend: Regenerated.
6529 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6531 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6532 says it clashes with a global with the same name.
6534 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6536 * sysdll.c (dll_open): Under MacOS X return NULL under the
6537 filename is NULL. Fixes problems finding local symbols under 10.4
6540 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6542 * config.h.in: New HAVE_U_INT*_T defines.
6544 * database.c: Only use u_int*_t typedefs if not already
6547 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6549 * src/process-unix.c (unix_open_network_stream): moved
6550 'portbuf' buffer out of an inner block as it is used in the
6551 entire function. With gcc4, the stack may get corrupted
6552 after leaving this block. This patches adjusts the size of
6553 the used buffer also; static '128' bytes are far too much
6554 currently and might not suffice for future architectures
6555 (e.g. for 512 bit ones ;)). Instead of, use only the really
6556 required space (max octets * ln(256)/ln(10) chars + space
6557 for '\0' and the sign)
6559 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6561 * callproc.c: Include sysdir.h, so any necessary Mule processing
6562 is done on the current directory name before starting a new
6565 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6567 * chartab.c (Fchar_table_p):
6568 (Fget_range_char_table):
6571 Describe range representation and fix typo.
6573 2005-02-12 Vin Shelton <acs@xemacs.org>
6575 * emacs.c (shut_down_emacs): Advise users to send email to the
6576 xemacs-beta list instead of crashes@xemacs.org.
6578 2005-02-03 David Evers <extsw@appliedgenerics.com>
6580 * process-unix.c (unix_send_process): Flush the last chunk, even
6581 when the pipe is blocked.
6583 2005-02-06 Vin Shelton <acs@xemacs.org>
6585 * XEmacs 21.4.17 is released
6587 2005-01-31 Ben Wing <ben@xemacs.org>
6590 Define assert_failed() always.
6592 Always define ABORT().
6594 2005-01-25 Ben Wing <ben@xemacs.org>
6597 * Makefile.in.in (%.o):
6598 Don't compile executable as Windows (-mwindows) under Cygwin.
6599 Semi-recent changes to Cygwin's executable-startup handling make
6600 it impossible to access the TTY this way.
6602 Don't use special linker file under Cygwin (cygwin.sc) except
6603 when non-PDUMP (even in this case it is highly questionable); you
6606 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6607 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6609 2005-01-29 Ben Wing <ben@xemacs.org>
6611 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6613 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6615 2005-01-29 Ben Wing <ben@xemacs.org>
6617 * bytecode.c (optimize_compiled_function):
6619 * print.c (long_to_string):
6620 Add casts to avoid warning.
6623 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6624 #### The better solution is to move the TIFF and JPEG code to
6627 * glyphs-msw.c (mswindows_xbm_instantiate):
6628 Define __STDC__ to avoid problems with compface.h.
6630 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6632 * EmacsShell-sub.c (ABORT):
6633 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6634 * EmacsShell-sub.c (RootGeometryManager):
6636 * EmacsShell.c (ABORT):
6637 * EmacsShell.c (EmacsShellUpdateSizeHints):
6638 * alloc.c (free_lcrecord):
6639 * alloca.c (i00afunc):
6640 * buffer.c (delete_from_buffer_alist):
6641 * buffer.c (MARKED_SLOT):
6642 * bytecode.c (execute_rare_opcode):
6643 * bytecode.c (optimize_byte_code):
6644 * bytecode.c (Ffetch_bytecode):
6645 * chartab.c (char_table_type_to_symbol):
6646 * chartab.c (Freset_char_table):
6647 * chartab.c (decode_char_table_range):
6648 * chartab.c (Fget_range_char_table):
6649 * chartab.c (check_valid_char_table_value):
6650 * chartab.c (map_char_table):
6651 * chartab.c (slow_map_char_table_fun):
6652 * chartab.c (chartab_instantiate):
6653 * cm.c (cmcheckmagic):
6654 * console-msw.c (DHEADER):
6655 * console.c (MARKED_SLOT):
6656 * data.c (finish_marking_weak_lists):
6657 * data.c (encode_weak_list_type):
6658 * debug.h (DASSERT):
6659 * device-gtk.c (gtk_init_device):
6660 * device-msw.c (mswindows_get_default_margin):
6661 * device-tty.c (tty_init_device):
6662 * device-x.c (get_device_from_display):
6663 * device-x.c (x_get_visual_depth):
6664 * doprnt.c (parse_doprnt_spec):
6665 * doprnt.c (get_doprnt_args):
6666 * dumper.c (pdump_get_indirect_count):
6667 * dumper.c (pdump_register_sub):
6668 * dumper.c (pdump_register_object):
6669 * dumper.c (pdump_register_struct):
6670 * dumper.c (pdump_dump_data):
6671 * dumper.c (pdump_reloc_one):
6672 * elhash.c (print_hash_table):
6673 * elhash.c (make_standard_lisp_hash_table):
6674 * elhash.c (hash_table_instantiate):
6676 * emacs.c (Fforce_debugging_signal):
6677 * emacs.c (sort_args):
6679 * emacs.c (assert_failed):
6680 * eval.c (throw_or_bomb_out):
6681 * eval.c (signal_1):
6684 * event-Xt.c (emacs_Xt_mapping_action):
6685 * event-Xt.c (Xt_process_to_emacs_event):
6687 * event-stream.c (check_event_stream_ok):
6688 * event-stream.c (Fadd_timeout):
6689 * event-stream.c (Fadd_async_timeout):
6690 * event-stream.c (Fdiscard_input):
6691 * event-stream.c (execute_internal_event):
6692 * event-stream.c (Frecent_keys):
6693 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6694 * event-stream.c (lookup_command_event):
6695 * event-unixoid.c (poll_fds_for_input):
6697 * events.c (mark_event):
6698 * events.c (event_equal):
6699 * events.c (event_hash):
6700 * events.c (Fmake_event):
6701 * events.c (Fdeallocate_event):
6702 * events.c (event_chain_find_previous):
6703 * events.c (event_to_character):
6704 * events.c (format_event_object):
6705 * events.c (Fevent_type):
6706 * events.c (event_pixel_translation):
6707 * events.c (Fevent_properties):
6708 * extents.c (extent_in_region_p):
6709 * extents.c (print_extent):
6710 * extents.c (process_extents_for_insertion_mapper):
6711 * extents.c (report_extent_modification_mapper):
6712 * extents.c (glyph_layout_to_symbol):
6713 * faces.c (face_validate):
6714 * file-coding.c (eol_type_to_symbol):
6715 * file-coding.c (subsidiary_coding_system):
6716 * file-coding.c (Fcoding_system_type):
6717 * file-coding.c (Fcoding_system_property):
6718 * file-coding.c (mule_decode):
6719 * file-coding.c (mule_encode):
6720 * file-coding.c (encode_coding_ucs4):
6721 * file-coding.c (encode_coding_utf8):
6722 * file-coding.c (parse_iso2022_esc):
6723 * file-coding.c (encode_coding_iso2022):
6728 * fns.c (Fbase64_encode_region):
6729 * fns.c (Fbase64_encode_string):
6730 * fns.c (Fbase64_decode_region):
6731 * fns.c (Fbase64_decode_string):
6732 * font-lock.c (find_context):
6733 * font-lock.c (context_to_symbol):
6734 * frame-gtk.c (gtk_set_frame_pointer):
6735 * frame-gtk.c (gtk_update_frame_external_traits):
6736 * frame-x.c (x_wm_mark_shell_size_user_specified):
6737 * frame-x.c (x_wm_mark_shell_position_user_specified):
6738 * frame-x.c (x_wm_set_shell_iconic_p):
6739 * frame-x.c (x_wm_set_cell_size):
6740 * frame-x.c (x_wm_set_variable_size):
6741 * frame-x.c (x_wm_store_class_hints):
6742 * frame-x.c (x_wm_maybe_store_wm_command):
6743 * frame-x.c (x_initialize_frame_size):
6744 * frame-x.c (x_update_frame_external_traits):
6746 * frame.c (delete_frame_internal):
6747 * frame.c (mouse_pixel_position_1):
6748 * frame.c (change_frame_size_1):
6749 * free-hook.c (check_free):
6750 * free-hook.c (check_realloc):
6751 * free-hook.c (note_block_input):
6752 * free-hook.c (log_gcpro):
6753 * gccache-gtk.c (gc_cache_lookup):
6754 * glyphs-eimage.c (tiff_memory_write):
6755 * glyphs-gtk.c (gtk_finalize_image_instance):
6756 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6757 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6758 * glyphs-gtk.c (gtk_xpm_instantiate):
6759 * glyphs-gtk.c (gtk_unmap_subwindow):
6760 * glyphs-gtk.c (gtk_map_subwindow):
6761 * glyphs-gtk.c (gtk_button_redisplay):
6763 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6764 * glyphs-x.c (init_image_instance_from_xbm_inline):
6765 * glyphs-x.c (extract_xpm_color_names):
6766 * glyphs-x.c (x_xpm_instantiate):
6767 * glyphs.c (get_image_instantiator_governing_domain):
6768 * glyphs.c (print_image_instance):
6769 * glyphs.c (image_instance_equal):
6770 * glyphs.c (image_instance_hash):
6771 * glyphs.c (encode_image_instance_type):
6772 * glyphs.c (make_image_instance_1):
6773 * glyphs.c (inherit_instantiate):
6774 * glyphs.c (image_instantiate):
6775 * glyphs.c (allocate_glyph):
6776 * glyphs.c (Fglyph_type):
6777 * glyphs.c (redisplay_subwindow):
6778 * glyphs.c (display_table_entry):
6779 * gtk-glue.c (xemacs_list_to_gtklist):
6780 * gtk-glue.c (xemacs_gtklist_to_list):
6781 * gtk-glue.c (xemacs_list_to_array):
6782 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6783 * gutter.c (gutter_was_visible):
6784 * gutter.c (get_gutter_coords):
6785 * input-method-xlib.c (get_XIM_input):
6786 * insdel.c (bufpos_to_bytind_func):
6787 * insdel.c (bytind_to_bufpos_func):
6788 * insdel.c (move_gap):
6789 * intl.c (x_get_composed_input):
6790 * keymap.c (keymap_lookup_directly):
6791 * keymap.c (keymap_delete_inverse_internal):
6792 * keymap.c (ensure_meta_prefix_char_keymapp):
6793 * keymap.c (accessible_keymaps_mapper_1):
6794 * keymap.c (where_is_recursive_mapper):
6797 * lread.c (read_atom):
6798 * lstream.c (Lstream_delete):
6799 * lstream.c (make_lisp_buffer_stream_1):
6800 * macros.c (pop_kbd_macro_event):
6801 * malloc.c (malloc):
6803 * marker.c (bi_marker_position):
6804 * marker.c (set_bi_marker_position):
6805 * menubar-gtk.c (menu_descriptor_to_widget_1):
6806 * menubar-msw.c (prune_menubar):
6807 * menubar-x.c (set_frame_menubar):
6808 * mule-charset.c (get_unallocated_leading_byte):
6809 * mule-charset.h (CHAR_LEADING_BYTE):
6810 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6811 * nt.c (init_environment):
6812 * nt.c (generate_inode_val):
6813 * ntproc.c (delete_child):
6814 * ntproc.c (_sys_read_ahead):
6815 * ntproc.c (create_child):
6816 * objects.c (color_instantiate):
6817 * objects.c (font_instantiate):
6818 * objects.c (face_boolean_instantiate):
6819 * print.c (printing_major_badness):
6820 * process-nt.c (nt_send_process):
6821 * process-unix.c (unix_send_process):
6822 * process.c (get_process):
6823 * ralloc.c (obtain):
6824 * ralloc.c (relinquish):
6825 * ralloc.c (relocate_blocs):
6826 * ralloc.c (resize_bloc):
6827 * ralloc.c (r_alloc_free):
6828 * ralloc.c (r_re_alloc):
6829 * ralloc.c (r_alloc_thaw):
6830 * ralloc.c (init_ralloc):
6831 * ralloc.c (Free_Addr_Block):
6832 * ralloc.c (r_alloc):
6833 * redisplay-gtk.c (gtk_output_display_block):
6834 * redisplay-msw.c (mswindows_output_display_block):
6835 * redisplay-output.c (get_next_display_block):
6836 * redisplay-output.c (get_cursor_size_and_location):
6837 * redisplay-output.c (redisplay_output_layout):
6838 * redisplay-output.c (redisplay_clear_region):
6839 * redisplay-tty.c (tty_output_display_block):
6840 * redisplay-x.c (x_output_display_block):
6841 * redisplay.c (add_propagation_runes):
6842 * redisplay.c (add_glyph_rune):
6843 * redisplay.c (create_text_block):
6844 * redisplay.c (add_margin_runes):
6845 * redisplay.c (create_left_glyph_block):
6846 * redisplay.c (create_right_glyph_block):
6847 * redisplay.c (create_string_text_block):
6848 * redisplay.c (regenerate_window):
6849 * redisplay.c (REGEN_INC_FIND_START_END):
6850 * redisplay.c (redisplay_frame):
6851 * redisplay.c (point_in_line_start_cache):
6854 * regex.c (re_compile_fastmap):
6855 * regex.c (re_match_2_internal):
6856 * regex.c (regerror):
6857 * scrollbar-gtk.c (gtk_scrollbar_loop):
6858 * scrollbar-gtk.c (scrollbar_cb):
6859 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6860 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6861 * scrollbar-x.c (x_update_scrollbar_instance_status):
6862 * scrollbar-x.c (x_scrollbar_loop):
6863 * scrollbar-x.c (x_update_frame_scrollbars):
6864 * search.c (search_command):
6865 * search.c (Fmatch_data):
6866 * select-x.c (motif_clipboard_cb):
6867 * signal.c (interrupt_signal):
6868 * specifier.c (specifier_add_spec):
6869 * specifier.c (specifier_instance_from_inst_list):
6870 * specifier.c (specifier_instance):
6872 * specifier.h (struct specifier_methods):
6873 * strftime.c (add_num_time_t):
6874 * sunplay.c (init_device):
6875 * symbols.c (Fsetplist):
6876 * symbols.c (do_symval_forwarding):
6877 * symbols.c (store_symval_forwarding):
6879 * symbols.c (Fbuilt_in_variable_type):
6880 * symbols.c (decode_magic_handler_type):
6881 * symbols.c (handler_type_from_function_symbol):
6882 * syntax.c (update_syntax_cache):
6883 * sysdep.c (init_baud_rate):
6884 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6885 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6886 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6887 * toolbar.c (get_toolbar_coords):
6888 * ui-gtk.c (build_gtk_boxed):
6889 * ui-gtk.c (describe_gtk_arg):
6890 * ui-gtk.c (gtk_type_to_lisp):
6891 * ui-gtk.c (lisp_to_gtk_type):
6892 * ui-gtk.c (lisp_to_gtk_ret_type):
6893 * ui-gtk.c (lisp_to_flag):
6894 * unexnt.c (read_in_bss):
6895 * unexnt.c (map_in_heap):
6896 * window.c (real_window):
6897 * window.c (window_display_lines):
6898 * window.c (window_display_buffer):
6899 * window.c (set_window_display_buffer):
6900 * window.c (window_modeline_height):
6901 * window.c (unshow_buffer):
6902 * window.c (window_loop):
6903 * window.c (Fget_lru_window):
6904 * window.c (Fsplit_window):
6905 * window.c (Fset_window_configuration):
6906 * window.c (saved_window_index):
6907 * xgccache.c (gc_cache_lookup):
6908 abort() -> ABORT(). Eliminate preprocessor games with abort()
6909 since it creates huge problems in VC7, solvable only by including
6910 massive amounts of files in every compile (and not worth it).
6914 Inclusion of process.h does not need to be before lisp.h any more.
6915 Move later and remove comment about abort().
6917 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6919 * regex.c (re_match_2_internal):
6920 Correctly initialize loop which clears uninitialized registers.
6922 2005-01-28 Vin Shelton <acs@xemacs.org>
6924 * sheap.c (more_static_core): Applied Ben's version of the long
6927 2005-01-24 Vin Shelton <acs@xemacs.org>
6929 * sheap.c (more_static_core): Reformatted printf string so
6930 gcc-3.3.3 will compile this on Cygwin.
6932 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6934 * console.c (function_key_map): Reference `key-binding'.
6936 * keymap.c (Vkey_translation_map): Improve docstring.
6938 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6940 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6941 * window.c (window_loop): [fix] Take into account
6942 `allow-deletion-of-last-visible-frame' variable.
6943 * window.c (replace-buffer-in-windows): Ditto.
6945 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6947 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6949 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6951 * event-gtk.c: Recognise AltGr as a valid modifier.
6953 2005-01-12 Ville Skyttä <scop@xemacs.org>
6955 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6957 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6959 Fix backreference bug caught by test suite.
6961 * regex.c (regex_compile):
6962 Make backref duplicate internal register.
6964 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6966 Documentation, code clarification, and warning suppression.
6968 * regex.c (regex_compile):
6970 (re_match_2_internal):
6971 Improve comments and avoid redundant braces. [Most of the big hunk
6972 at l. 4710 is indentation; use diff -w to see the real changes.]
6973 (alt_match_null_string_p):
6974 (common_op_match_null_string_p):
6975 Avoid shadowing global on Mac OS X 10.4, at least.
6977 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6979 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6980 introduced with shy groups fix). [Already applied, probably
6981 with the second "fix shy groups" patch of 2004-10-07.]
6983 2005-01-10 Steve Youngs <steve@sxemacs.org>
6985 From Andrey Slusar <anrays@gmail.com>:
6987 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6989 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6991 * Makefile (RECURSIVE_MAKE): Removed.
6992 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6993 handling parallel builds.
6995 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6997 * Makefile.in.in: Enable support for parallel builds.
6999 2005-01-09 Steve Youngs <steve@sxemacs.org>
7001 From Andrey Slusar <anrays@gmail.com>:
7003 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
7004 FreeBSD version is >= 199701 _and_ < 600006.
7006 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
7008 * scrollbar.c (compute_scrollbar_instance_usage):
7009 Only call device method compute_scrollbar_instance_usage() if it
7012 2004-12-05 Vin Shelton <acs@xemacs.org>
7014 * XEmacs 21.4.16 is released
7016 2004-12-04 Vin Shelton <acs@xemacs.org>
7018 * depend: Regenerated.
7020 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
7022 * regex.c (re_match_2_internal): Map internal to external
7023 registers. Fixes bug identified by Steve Youngs 2004-09-30
7024 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
7026 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7028 * buffer.c (Frecord_buffer): Make sure the argument is buffer
7029 to fix a crash. Also, check the buffer is live and it
7030 really exists in buffer_list. If the buffer is not in the list,
7033 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
7035 Fix shy groups by implementing recording of all groups for
7036 repetition and backtracking. Backport from 21.5.
7038 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
7039 external_to_internal_register, external_to_internal_register_size,
7040 and update comments for re_nsub.
7042 * regex.c (re_opcode_t): Update comments.
7043 (print_compiled_pattern): Ouput external_to_internal_register,
7044 external_to_internal_register_size, and re_ngroups for debugging.
7045 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
7046 (regex_compile): Update header comment.
7047 Ensure that all groups are recorded so that repeat matches and
7048 backtracking work correctly. Comment related warning for groups >
7050 (re_search_2): Construct map of API indexes (which count only
7051 nonshy groups) to internal register numbers, and keep it updated.
7053 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
7055 * frame-gtk.c (gtk_make_frame_visible):
7056 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
7057 show/hide. This is what X uses and is prevents previously hidden
7058 widgets from suddenly reappearing.
7059 * gtk-xemacs.c (gtk_xemacs_paint):
7060 * gtk-xemacs.c (gtk_xemacs_draw):
7061 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
7063 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
7064 size and location changes so that they can be seen before the next
7065 idle event. Without this rapid changes to scrollbar properties
7068 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
7071 * console-gtk.h (struct gtk_frame):
7072 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
7073 Add hash tables track tab_control callback data.
7074 Added #defines for GTK object data names.
7075 Declaration of gtk_widget_to_frame().
7076 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
7077 * frame-gtk.c (gtk_widget_to_frame): New.
7078 * frame-gtk.c (gtk_create_widgets):
7079 * frame-gtk.c (allocate_gtk_frame_struct):
7080 * frame-gtk.c (gtk_mark_frame):
7081 Manage frame callbakc hash tables.
7082 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
7083 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
7084 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
7086 * glyphs-gtk.c (gtk_widget_query_geometry): New
7087 * glyphs-gtk.c (gtk_register_gui_item): New
7088 * glyphs-gtk.c (gtk_add_tab_item): New
7089 * glyphs-gtk.c (gtk_tab_control_callback): New
7090 * glyphs-gtk.c (gtk_tab_control_instantiate): New
7091 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
7092 Use correct list when loading item.
7093 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
7094 Register new methods.
7095 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
7096 default size, for widgets.
7097 * gui-x.c: Improved comment.
7098 * menubar-gtk.c (__generic_button_callback): Use
7099 gtk_widget_to_frame instead of __get_channel.
7101 * ui-gtk.c: Use symbolic names for GTK object data.
7103 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
7105 * s/usg5-4.h (NSIG): Define only inside emacs binary.
7107 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7109 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7111 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7113 * malloc.c (morecore): siz is a long because in some architectures
7114 (eg ia-64) an int cannot hold the address range. Additional patch
7115 from the SuSe distribution.
7117 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7120 * malloc.c: lim_data is a long because in some architectures
7121 (eg ia-64) an int cannot hold the address range.
7122 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7123 instead of ulimit() because ulimit() always returns -1.
7125 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7127 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7129 2004-06-11 David Kastrup <dak@gnu.org>
7131 * search.c (match_limit): Don't flag an error if match-data
7132 exceeding the allocated search_regs.num_regs gets requested, just
7135 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7137 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7138 replace symbolic color entries with the real colors specified in
7139 xpm-color-symbols, before passing the XPM to gtk.
7140 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7141 instead of a GTK specific field, so that it is used in by generic
7144 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7146 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7147 coredump from deref of NULL ptr (ExtData)
7149 2004-04-19 Jerry James <james@xemacs.org>
7151 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7152 VALBITS to compute the location of the sign bit.
7153 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7154 of VALBITS with EMACS_INT_MAX.
7155 * events.c (Fevent_timestamp): Ditto.
7156 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7157 compute the halfway point to timestamp wraparound.
7158 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7159 EMACS_INT_MIN instead of using VALBITS.
7160 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7161 incorrect number with VALBITS.
7162 * fns.c (Frandom): Correct number of integer bits in docstring.
7163 Use INT_VALBITS instead of VALBITS to compute the denominator.
7164 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7165 build random numbers.
7167 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7169 * event-gtk.c (gtk_event_to_emacs_event):
7171 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7172 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7173 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7174 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7175 * menubar-gtk.c (__activate_menu):
7176 * menubar-gtk.c (convert_underscores):
7177 * menubar-gtk.c (remove_underscores):
7178 * menubar-gtk.c (menu_convert):
7179 * menubar-gtk.c (menu_descriptor_to_widget_1):
7180 * menubar-gtk.c (menu_descriptor_to_widget):
7181 * menubar-gtk.c (menu_can_reuse_widget):
7182 * menubar-gtk.c (menu_create_menubar):
7183 * menubar-gtk.c (gtk_popup_menu):
7184 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7185 Added support for Gtk menu bar and menu item mnemonics.
7187 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7189 * sysdll.c: (dll_function): Added support for finding symbols in
7190 Darwin shared libraries as well in Darwin bundles.
7191 * sysdll.c (image_for_address): New
7192 * sysdll.c (my_find_image): New
7193 * sysdll.c (search_linked_libs): New
7195 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7197 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7198 return to GTK requires a different API to marshalling data to use
7200 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7202 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7204 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7206 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7208 * glyphs.c (process_image_string_instantiator):
7209 (Fset_console_type_image_conversion_list):
7210 Stop GCC from warning about shadowing of `exp'.
7212 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7214 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7216 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7218 2004-02-03 Vin Shelton <acs@xemacs.org>
7220 * glyphs.c (image_instance_layout): Remove pointless assertion.
7221 * regex.c (regex_grow_registers): Return type is void.
7223 2004-02-02 Vin Shelton <acs@xemacs.org>
7225 * XEmacs 21.4.15 is released
7227 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7229 * device-x.c (x_error_handler): Don't call stderr_out
7231 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7233 * buffer.c (other-buffer): Clarify documentation of order of
7234 arguments for FSF Emacs.
7236 2003-10-11 Olivier Galibert <galibert@pobox.com>
7238 * window.c (Fdelete_window): Dirty the mirror structure _before_
7239 marking the window deleted.
7241 2003-09-15 Jerry James <james@xemacs.org>
7243 * event-msw.c (debug_mswin_messages): Conditionally compile
7244 messages missing from the Cygwin headers.
7246 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7248 * data.c (eq_with_ebola_notice): Fix typo in comment.
7249 (Ftrue_list_p): Improve docstring.
7251 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7253 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7255 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7257 * search.c (trivial_regexp_p): Regexps containing "\{" are
7258 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7259 Stefan Monnier for suggesting a diagnosis.
7261 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7263 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7265 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7267 * search.c (Fsearch_forward):
7269 Document negative count.
7271 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7273 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7275 2003-09-13 Martin Buchholz <martin@xemacs.org>
7277 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7279 2003-09-15 Vin Shelton <acs@xemacs.org>
7281 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7284 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7286 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7287 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7288 (re_match_2_internal): Use TRANSLATE instead of
7289 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7290 non-ASCII char case conversion.
7292 2003-09-08 Mike Sperber <mike@xemacs.org>
7294 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7295 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7297 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7299 * .gdbinit (pobj): fix printing of symbol name.
7301 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7303 * frame-x.c (x_layout_widgets): When resizing is about to cause
7304 frame size slip, mark it for redisplay.
7306 2003-08-18 Jerry James <james@xemacs.org>
7308 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7310 2003-09-03 Vin Shelton <acs@xemacs.org>
7312 * XEmacs 21.4.14 is released
7314 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7316 * config.h.in (REGEX_MALLOC): Make it configure'able.
7318 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7320 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7322 * sysdll.c (dll_init):
7323 * sysdll.c (dll_open):
7324 * sysdll.c (dll_close):
7325 * sysdll.c (dll_function):
7326 * sysdll.c (dll_variable):
7327 * sysdll.c (dll_error):
7328 Add support for loading bundles using Darwin/MacOSX
7331 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7333 * process.c (start-process-internal): Document coding systems.
7335 2003-07-30 Jerry James <james@xemacs.org>
7337 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7339 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7341 * event-msw.c (mswindows_enqueue_mouse_button_event):
7342 * event-msw.c (mswindows_wnd_proc):
7343 enqueue button event when scrollwheel event isn't handled by
7344 mswindows_handle_mousewheel_event, such as when the scrollbars
7347 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7349 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7351 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7353 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7355 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7357 * regex.c (re_match_2_internal): Fix matching degenerate word
7360 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7362 * XEmacs 21.4.13 is released
7364 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7366 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7367 * lisp.h (<inttypes.h>):
7368 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7371 2003-03-15 Martin Buchholz <martin@xemacs.org>
7373 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7374 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7375 Result: "temacs can only be run in -batch mode."
7376 Fix: Check xemacs executable candidate for directory-ness.
7378 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7380 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7381 they conflict with <sys/types.h>.
7383 2003-02-14 Martin Buchholz <martin@xemacs.org>
7385 * database.c: Berkeley DB wants __STDC__ to be defined.
7387 2003-02-13 Martin Buchholz <martin@xemacs.org>
7389 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7391 2003-02-01 Martin Buchholz <martin@xemacs.org>
7393 * process-unix.c (unix_send_process): Fix C++ compile error.
7395 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7397 * Added .dylib as an acceptable shared library file extension
7398 * to support MacOSX.
7400 2003-02-01 Martin Buchholz <martin@xemacs.org>
7402 * EmacsFrameP.h (EmacsFramePart):
7403 Kludge to allow compiling with Motif1, but linking with Motif2.
7405 2003-01-28 Martin Buchholz <martin@xemacs.org>
7407 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7410 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7412 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7414 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7416 * sysdll.c: Included lisp.h to define needed alloca_array.
7418 2003-02-13 Martin Buchholz <martin@xemacs.org>
7420 Make XEmacs redisplay 10 times faster.
7421 If, that is, you're using a slow X connection and MoveOpaque.
7422 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7423 Use compress_motion = TRUE.
7424 * EmacsFrame.c (emacsFrameClassRec):
7425 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7426 * EmacsManager.c (emacsManagerClassRec):
7427 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7429 2003-01-30 Vin Shelton <acs@xemacs.org>
7431 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7433 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7435 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7436 Patch by Martin Buchholz.
7438 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7440 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7441 Thanks to icc for warning and Martin Buchholz for reporting.
7443 2003-01-29 Vin Shelton <acs@xemacs.org>
7445 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7447 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7448 remember to multiply by the element size.
7450 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7452 * XEmacs 21.4.12 "Portable Code" is released.
7454 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7456 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7457 * s/cygwin.sc: new linker file.
7459 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7461 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7463 * redisplay-x.c (x_output_string): Use X11-specified types.
7464 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7465 * emacs.c (__free_hook): Use typeof with Intel compiler.
7466 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7468 2003-01-08 Andy Piper <andy@xemacs.org>
7470 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7471 reserve size during unexec().
7473 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7475 * process-unix.c (unix_create_process): Don't let outchannel block.
7477 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7479 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7480 Needed for IsBadReadPtr().
7482 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7484 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7486 2002-12-14 Ben Wing <ben@xemacs.org>
7488 * callint.c: Declaration error.
7490 * dumper.c (pdump_load): Warning fix.
7491 * process.c: GCPRO error.
7492 * glyphs.c (unmap_subwindow):
7493 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7494 * event-stream.c (maybe_kbd_translate): Wrong argument to
7495 character_to_event().
7497 * alloc.c (garbage_collect_1):
7499 * emacs.c (debug_can_access_memory):
7500 * emacs.c (fatal_error_signal):
7501 * emacs.c (mswindows_handle_hardware_exceptions):
7504 * emacs.c (assert_failed):
7505 * emacs.c (syms_of_emacs):
7508 * print.c (std_handle_out_va):
7509 * print.c (write_string_to_stdio_stream):
7510 * print.c (write_fmt_string):
7511 * print.c (printing_badness):
7512 * print.c (printing_major_badness):
7513 * print.c (print_internal):
7514 * print.c (debug_print_no_newline):
7515 * print.c (debug_backtrace):
7516 Be more defensive in handling bad values when printing. Add code
7517 from trunk involving inhibit_non_essential_printing_operations.
7518 When going down or in debug_print(), don't do external conversion
7519 and such and try really, really hard when printing to avoid core
7520 dumping. Add force-debugging-signal, debug_break().
7522 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7524 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7525 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7527 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7529 * database.c: Fix open_database. Berkeley DB API has changed in
7530 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7532 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7534 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7536 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7538 * event-Xt.c (Xt_timeout):
7539 (Xt_timeout_callback):
7540 (emacs_Xt_add_timeout):
7541 (emacs_Xt_remove_timeout):
7542 (Xt_timeout_to_emacs_event):
7543 Turn completed_timeouts from a stack into a queue. Fixes
7544 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7546 2002-11-07 Wolfram Gloger <wg@malloc.de>
7548 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7549 * emacs.c (main): Assert that mmap'd allocation is disabled.
7551 2002-10-14 Andy Piper <andy@xemacs.org>
7553 * glyphs-widget.c (layout_query_geometry): add in fiddle
7554 factor. Include border text in width layout calculation.
7555 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7557 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7559 * XEmacs 21.4.10 "Military Intelligence" is released.
7561 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7563 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7564 using the NAS private array SoundFileInfo that no longer exists in
7565 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7566 and earlier. This is broken for some versions between 1.5a and
7569 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7571 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7573 * emacs.c (shut_down_emacs): Improve crash message.
7575 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7577 * file-coding.c (determine_real_coding_system): Check for coding
7578 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7579 shebangs and Python PEP 263.
7581 2002-10-08 Andy Piper <andy@xemacs.org>
7583 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7584 if static sizes haven't been set.
7586 2002-08-30 Mike Alexander <mta@arbortext.com>
7588 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7591 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7593 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7595 2002-09-20 Mike Sperber <mike@xemacs.org>
7597 (This partially gets back my patch from 2002-07-20 without the
7599 * callproc.c (child_setup): Remove Ben's comment noting confusion
7600 over the file descriptors >= 3: close_process_descs() doesn't
7601 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7602 * process-unix.c (unix_create_process): Call
7603 begin_dont_check_for_quit to inhibit unwanted interaction (and
7604 thus breaking of X event synchronicity) in the child.
7606 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7608 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7611 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7613 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7614 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7615 the xemacs process did not exit, but looped infinitely here. This
7618 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7620 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7621 (find_context): Improve comments.
7623 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7624 (re_match_2): An XCHAR_TABLE operation was missing.
7626 Many of the following changes were inspired by Andy Piper's (now
7627 obsolete) patch to make syntax-table text property lookup optional.
7631 * syntax.h (top level): Document semantics of syntax flags.
7632 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7633 * syntax.c, syntax.h (top level): Document syntax cache better in
7636 [Instrument syntax caching (temporary change)]
7638 * syntax.h (enum syntax_cache_statistics_functions, struct
7639 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7640 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7641 * syntax.c (scan_words, Fforward_comment, scan_lists,
7642 Fbackward_prefix_characters):
7643 * font-lock.c (find_context):
7644 Use them to instrument syntax caching.
7645 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7646 syntax_cache_statistics_function_names): New type and variables.
7647 * syntax.c (update_syntax_cache): Update and report statistics.
7649 [Major syntax cache optimizations]
7651 syntax.c (lookup_syntax_properties): Default off.
7653 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7654 * syntax.c (update_syntax_cache):
7655 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7657 [Minor syntax cache optimizations and code clarifications]
7659 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7660 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7661 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7662 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7663 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7664 (Code clarification.)
7666 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7667 scan_lists): Compute code from syncode, use Boolean macros instead
7668 of redundant masking operations. (Code clarification; any decent
7669 compiler can do this optimization.)
7671 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7674 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7675 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7676 use F*_single_property_change instead of F*_extent_change.
7677 Currently F*_single_property_change is _much_ less efficient.
7679 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7680 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7681 syntax_cache.object properly, don't leave Qt or Qnil.
7682 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7683 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7684 tests for Qt or Qnil.
7686 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7688 * redisplay.c (point_in_line_start_cache):
7689 * extents.c (print_extent_1):
7692 * extents.c (Fset_extent_property): Document `syntax-table' property.
7694 * extents.h (Fnext_single_property_change): EXFUN it.
7696 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7698 * search.c (clear_unused_search_regs): New static function.
7702 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7703 Minor clarifications in comments.
7705 * regex.c (re_match_2_internal): Ensure no stale submatches.
7707 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7709 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7711 2002-08-29 Jerry James <james@xemacs.org>
7713 * lisp.h: structrures -> structures.
7715 2002-06-03 Andy Piper <andy@xemacs.org>
7717 * frame.c (frame_conversion_internal): add conversion appropriate
7718 for setting frame dimensions in pixels.
7720 * console.h (struct console_methods): add device-specific widget
7723 * emacs.c (main_1): initialize glyph vars.
7725 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7726 (handle_focus_event_2): new function. Allow focus to
7727 be set to a particular window and widget.
7728 (enqueue_focus_event): new function. Create a
7729 synthetic focus event.
7730 (emacs_Xt_handle_magic_event): call
7731 handle_focus_event_2.
7733 * frame.c (Fset_frame_pixel_height): new function. Allow
7734 pixel-based sizing. Does the right thing on character-oriented
7736 (Fset_frame_pixel_width): ditto.
7737 (Fset_frame_pixel_size): ditto.
7738 (syms_of_frame): declare.
7740 * general-slots.h: add :vertically-justify and
7741 :horizontally-justify.
7743 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7744 (mswindows_widget_border_width): new function.
7745 (mswindows_combo_box_instantiate): set border widths.
7746 (console_type_create_glyphs_mswindows): declare.
7749 (check_valid_justification): allow vertical and horizontal
7751 (widget_border_width): new function. Call device methods.
7752 (widget_instance_border_width): ditto.
7753 (logical_unit_height): new function. Determine the height of a
7754 logical-unit. Logical units are intended to provide grid-like
7755 layout for subcontrols in a layout. If the layout is
7756 :vertically-justify top then subcontrols will be positioned on
7757 logical-unit boundaries, thus allowing adjacent subcontrols to
7759 (widget_logical_unit_height): ditto for widgets.
7760 (redisplay_widget): misc cleanup.
7761 (widget_spacing): new function. Call device specific
7762 methods. Intended to be the default gap between adjacent widgets.
7763 (widget_query_geometry): use new spacing functions to determine
7764 appropriate geometry.
7765 (initialize_widget_image_instance): initialize horizontal and
7766 vertical justification.
7767 (widget_instantiate): use logica-units where appropriate for
7768 sizing large widgets.
7769 (button_query_geometry): use widget_instance_border_width.
7770 (tree_view_query_geometry): ditto.
7771 (tab_control_query_geometry): ditto.
7772 (edit_field_query_geometry): new function.
7773 (layout_update): pick up :justify, :horizontally-justify and
7774 :vertically-justify none of which worked previously. :justify is
7775 used as a fallback for both horizontal and vertical justification.
7776 (layout_query_geometry): use logical units to size appropriately.
7777 (layout_layout): ditto.
7778 (Fwidget_logical_to_character_width): new function. Allow users to
7779 convert from logical units to characters so that frame sizes can
7780 be set appropriately.
7781 (Fwidget_logical_to_character_height): ditto.
7782 (syms_of_glyphs_widget): declare.
7783 (image_instantiator_edit_fields): add edit_field_query_geometry.
7784 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7785 :horizontally-justify.
7786 (specifier_vars_of_glyphs_widget): new function. Declare
7787 Vwidget_border_width which is not yet used.
7789 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7790 (x_widget_border_width): new function.
7791 (x_widget_instantiate): create a sensible name for widgets.
7792 (console_type_create_glyphs_x): declare x_widget_border_width.
7794 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7795 (struct Lisp_Image_Instance): add :vertically-justify and
7796 :horizontally-justify.
7797 (LAYOUT_JUSTIFY_TOP): new.
7798 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7799 (ROUND_UP): new macro. Round argument up to next integral
7802 * redisplay-output.c (redisplay_output_layout): misc formatting.
7804 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7806 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7808 * XEmacs 21.4.9 "Informed Management" is released.
7810 2002-08-19 Andy Piper <andy@xemacs.org>
7812 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7815 * realpath.c (xrealpath): normalize drive spec also so that dir
7816 sep chars are not mixed on cygwin.
7818 2002-08-06 Jerry James <james@xemacs.org>
7820 * window.c (Fsplit_window): Count only half of the divider width
7821 against the left window when splitting horizontally.
7823 2002-06-24 Andy Piper <andy@xemacs.org>
7825 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7826 toolbar was cleared.
7828 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7829 function. Split out from mswindows_output_frame_toolbars.
7830 (mswindows_output_frame_toolbars): move clear pieces to
7831 mswindows_output_frame_toolbars.
7833 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7834 out from gtk_output_frame_toolbars.
7835 (gtk_output_frame_toolbars): move clear pieces to
7836 gtk_clear_frame_toolbars.
7838 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7839 the frame is cleared. How this ever worked before is a mystery.
7840 (x_output_frame_toolbars): Only output toolbars.
7841 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7843 * gutter.c (update_gutter_geometry):
7844 Mark frame layout changed.
7845 (update_frame_gutter_geometry, update_frame_gutters):
7846 Respect frame_layout_changed.
7848 * console.h (struct console_methods): add
7849 clear_frame_toolbars_method.
7851 * redisplay.c (redisplay_frame): call
7852 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7854 * toolbar.h: declare update_frame_toolbars_geometry.
7856 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7857 out from update_frame_toolbars. Call clear_frame_toolbars.
7858 (update_frame_toolbars): only output, do not change geometry.
7860 * redisplay.c: add frame_layout_changed.
7862 * redisplay.h: add frame_layout_changed.
7863 (CLASS_RESET_CHANGED_FLAGS): set it.
7864 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7865 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7866 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7868 * device.h (struct device): add frame_layout_changed.
7869 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7871 * frame.h (struct frame): add frame_layout_changed.
7872 (MARK_FRAME_LAYOUT_CHANGED): new.
7874 2002-06-30 Mike Alexander <mta@arbortext.com>
7876 * event-msw.c (mswindows_need_event): Don't wait for a new message
7877 if the queue is not empty. Suggested by Paul Moore.
7879 2002-06-12 Andy Piper <andy@xemacs.org>
7881 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7882 for printing on accurately.
7884 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7886 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7887 WM_ACTIVATE message. Make sure that the frame is visible if the
7888 window is visible. This seemss to fix the problem where XEmacs
7889 appears to freeze after switching desktops with certain virtual
7891 (debug_output_mswin_message): Added code to output message
7892 parameters for WM_WINDOWPOSCHANGED,
7893 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7895 2002-05-25 Andy Piper <andy@xemacs.org>
7897 * select-x.c (vars_of_select_x): Fix docstring of
7898 x-selection-strict-motif-ownership
7900 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7902 * keymap.c (get_keymap):
7903 Add comment about do_autoload GCPROs own args.
7905 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7907 * bytecode.c (execute_optimized_program): check_opcode ifdef
7908 ERROR_CHECK_BYTE_CODE.
7910 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7912 Thanks to Ben Wing and Michael Sperber.
7914 * eval.c (Fcommand_execute):
7917 (Fmacroexpand_internal):
7918 (function_argcount):
7919 callint.c (Fcall_interactively):
7920 Add comment about do_autoload GCPROs own args.
7922 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7924 * eval.c (Ffuncall): Extra braces to placate GCC.
7926 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7928 * backtrace.h (grow_specpdl):
7930 * EmacsFrame.c (EmacsFrameSetValues):
7931 * eval.c (grow_specpdl):
7932 * ExternalShell.c (hack_event_masks_1):
7933 * glyphs-x.c (convert_EImage_to_XImage):
7934 (x_finalize_image_instance):
7935 * ralloc.c (page_size):
7937 * xgccache.c (gc_cache_hash):
7938 Fix unsigned comparison warnings.
7940 2002-07-29 Jerry James <james@xemacs.org>
7942 * lread.c (locate_file): Any nonnegative return value indicates
7943 success if MODE is nonnegative.
7945 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7947 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7950 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7952 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7954 * dumper.c (pdump_get_indirect_count):
7955 (pdump_scan_by_alignment):
7956 (pdump_dump_root_struct_ptrs):
7957 (pdump_dump_rtables):
7958 (pdump_dump_root_objects):
7960 * nas.c (WaveOpenDataForReading):
7961 * fns.c (print_bit_vector):
7962 * font-lock.c (SINGLE_SYNTAX_STYLE):
7963 * glyphs.c (check_for_ignored_expose):
7964 (find_matching_subwindow):
7966 * imgproc.c (get_histogram):
7967 * redisplay.c (point_in_line_start_cache):
7968 * redisplay-output.c (redisplay_unmap_subwindows):
7969 * symbols.c (defsymbol_massage_name_1):
7970 (defkeyword_massage_name):
7971 (deferror_massage_name_and_message):
7972 * redisplay-x.c (x_output_string):
7973 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7974 * frame.h (struct frame):
7975 * filelock.c (current_lock_owner):
7976 * doprnt.c (emacs_doprnt_1):
7977 * lisp.h (struct Lisp_Bit_Vector):
7981 2002-02-13 Ben Wing <ben@xemacs.org>
7983 * event-stream.c (reset_key_echo):
7984 * event-stream.c (reset_this_command_keys):
7985 * event-stream.c (execute_command_event):
7986 If console is dead as a result of C-x 5 0, then post-command stuff
7987 needs to be careful and do only non-console-specific stuff.
7989 2002-07-01 Mike Sperber <mike@xemacs.org>
7991 * process-unix.c (unix_send_process): Mark coding_outstream as
7992 non-open upon SIGPIPE.
7994 * event-stream.c (Fnext_event): Reorder switch cases to something
7997 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7999 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
8000 Don't bogusly reinitialize ascii_character property.
8002 2002-07-08 Mike Sperber <mike@xemacs.org>
8004 * process.c (Fstart_process_internal): Do error checking before we
8005 fork off the child, so the child can't muck with the state of the
8008 2002-07-08 Mike Sperber <mike@xemacs.org>
8010 * ralloc.c (init_ralloc): Allocate properly for pdump.
8012 2002-06-12 Andy Piper <andy@xemacs.org>
8014 * glyphs.c (query_string_geometry): check the string.
8016 * glyphs-widget.c (widget_logical_unit_height): cope with nil
8019 2002-06-17 Jerry James <james@xemacs.org>
8021 * sysdll.c: Remove RTLD_GLOBAL initialization.
8022 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
8024 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
8026 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
8028 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
8030 * sysdep.c (sys_rename): Make sys_rename work for the case where
8031 Windows rename sets errno to EACCES if target file exists.
8033 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
8035 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8036 Fix detection of metric units to work on Win95
8038 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
8040 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
8042 2002-04-25 Andy Piper <andy@xemacs.org>
8044 * redisplay.c (create_text_block): Remove extra comment trailer.
8046 2002-04-24 Andy Piper <andy@xemacs.org>
8048 * redisplay.c (create_text_block): Don't actually add propagation
8049 data if the line ends after we have added a glyph.
8051 2002-04-22 Andy Piper <andy@xemacs.org>
8053 * extents.c (extent_fragment_update): check for glyphs we have
8054 previously displayed.
8055 * extents.c (print_extent_1): warning removal.
8056 * extents.h: change prototype.
8057 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
8058 widths correctly for wide glyphs.
8059 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
8060 * redisplay.c (prop_type): add PROP_GLYPH.
8061 * redisplay.c (struct prop_block): add glyph type
8062 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
8063 to the propagation data.
8064 * redisplay.c (create_text_block): if there is a glyph in the
8065 propagation data use it to salt extent_fragment_update.
8066 * redisplay.c (create_string_text_block): ditto.
8068 2002-04-13 Nix <nix@esperi.demon.co.uk>
8070 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
8071 * redisplay-output.c (compare_runes): Compare them.
8072 * redisplay.c: Update copyright date.
8073 * redisplay.c (pos_data): Add need_baseline_computation field.
8074 * redisplay.c (add_glyph_rune): Update ascent, descent, and
8075 need_baseline_computation; zero yoffset. Set max_pixmap_height
8076 for all pixmaps, not just automatically positioned ones.
8077 * redisplay.c (calculate_yoffset): New, compute yoffset values.
8078 * redisplay.c (calculate_baseline): New, compute textual baseline.
8079 * redisplay.c (add_glyph_rune): Call them.
8080 * redisplay.c (create_text_block): Likewise.
8081 * redisplay.c (create_overlay_glyph_block): Likewise.
8082 * redisplay.c (add_margin_runes): Likewise.
8083 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
8085 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
8086 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
8087 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
8088 * redisplay-msw.c (mswindows_output_string): Likewise.
8089 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
8090 * redisplay-gtk.c (gtk_output_display_block): Likewise.
8091 * redisplay-x.c (x_output_display_block): Likewise.
8093 2002-03-28 Ben Wing <ben@xemacs.org>
8095 * redisplay.c: Fixed bug in redisplay
8096 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
8097 and down of the lines, since they're bigger than the line
8098 size. (It was seen most obviously when there's a horizontal scroll
8099 bar, e.g. do C-h a glyph or something like that.) The problem was
8100 that the glyph-contrib-p setting on glyphs was ignored even if it
8101 was set properly, which it wasn't until now.
8103 2002-04-24 Andy Piper <andy@xemacs.org>
8105 * lisp.h (Dynarr_end): Fix definition.
8107 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8109 * redisplay.c (mark_redisplay): Remove call to
8110 update_frame_window_mirror.
8112 2001-11-15 Andy Piper <andy@xemacs.org>
8114 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8117 2002-02-13 Andy Piper <andy@xemacs.org>
8119 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8120 we did in fact enqueue the XM_MAPFRAME event.
8122 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8124 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8125 to fix problem switching between virtual desktops under virtuawin
8126 virtual window manager.
8128 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8130 * event-msw.c: Typo fix.
8131 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8132 magic XM_MAPFRAME event has been sent.
8134 2001-11-23 Andy Piper <andy@xemacs.org>
8136 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8138 2001-11-21 Andy Piper <andy@xemacs.org>
8140 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8141 mouse events outside the frame.
8143 2002-03-20 Andy Piper <andy@xemacs.org>
8145 * menubar-msw.c (mswindows_popup_menu): warning removal.
8146 * dialog-msw.c (dialog_popped_down): ditto.
8148 2001-12-11 Andy Piper <andy@xemacs.org>
8150 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8151 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8153 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8154 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8155 * menubar-msw.c (mswindows_popup_menu): ditto.
8157 2001-10-29 Andy Piper <andy@xemacs.org>
8159 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8162 2002-01-03 Andy Piper <andy@xemacs.org>
8164 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8168 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8170 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8171 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8172 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8173 Detect and handle case where machine is set up for metric units
8175 2002-04-02 Andy Piper <andy@xemacs.org>
8177 * dired-msw.c (mswindows_get_files):
8178 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8179 completely handled by XEmacs. Suggested by Thomas Vogler
8180 <mail@thomas-vogler.de>.
8182 2001-11-14 Andy Piper <andy@xemacs.org>
8184 * nt.c (REG_ROOT): change registry key to XEmacs.
8186 2002-04-27 Andy Piper <andy@xemacs.org>
8188 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8190 2002-04-26 Andy Piper <andy@xemacs.org>
8192 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8195 2002-03-14 Mike Alexander <mta@arbortext.com>
8197 * event-msw.c (mswindows_unwait_process): New, remove process from
8199 * process-nt.c (nt_finalize_process_data): Call
8200 mswindows_unwait_process
8201 * console-msw.h: Declare mswindows_unwait_process
8203 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8205 * editfns.c (Fdecode_time):
8206 (Fformat_time_string):
8207 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8208 (make_time): Warning elimination (change arg name).
8210 2001-11-24 Andy Piper <andy@xemacs.org>
8212 * window.c (Fsplit_window): Doc return type.
8214 2002-04-01 Andy Piper <andy@xemacs.org>
8216 * emacs.c (Fkill_emacs): Only output message box in interactive
8219 2002-04-26 Andy Piper <andy@xemacs.org>
8221 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8224 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8226 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8229 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8231 * XEmacs 21.4.8 "Honest Recruiter" is released.
8233 2002-05-07 Nix <nix@esperi.demon.co.uk>
8235 Supersedes 2002-04-17 patch.
8237 * process.h (PROCESS_LIVE_P): Use the process status as
8238 evidence of health, not the state of the input stream.
8239 (PROCESS_READABLE_P): Say if the process is readable
8240 from. (It may be dead nonetheless.)
8241 (CHECK_READABLE_PROCESS): Test for that condition.
8243 * process.c (create_process): Use PROCESS_READABLE_P.
8244 (read_process_output, set_process_filter): Likewise.
8246 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8247 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8249 This code is #if 0'd, this is not the time to add new functions:
8251 * process.c (Fprocess_readable_p): Report readability status.
8252 * process.c (Qprocess_readable_p): New, associated symbol...
8253 * process.c (syms_of_process): ... initialize it.
8255 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8257 * XEmacs 21.4.7 "Economic Science" is released.
8259 2002-04-17 Nix <nix@esperi.demon.co.uk>
8261 * process.h (PROCESS_LIVE_P): Use the process status as
8262 evidence of health, not the state of the input stream.
8264 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8266 * sysdep.c (sys_siglist): change "signum" to "signal"
8268 2001-04-21 Martin Buchholz <martin@xemacs.org>
8270 * s/darwin.h: New file.
8271 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8273 2002-04-23 Andreas Jaeger <aj@suse.de>
8275 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8276 which use lib64 for 64-bit libs.
8277 (START_FILES): Likewise.
8279 2002-02-11 Mike Sperber <mike@xemacs.org>
8282 (x_IO_error_handler):
8283 (x_init_device): Temporarily keep device in static variable
8284 `device_being_initialized' so we can recover gracefully from
8285 internal XOpenDevice failure. (XOpenDevice is documented to
8286 return NULL on failure, but sometimes calls the IO error handler
8289 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8291 * dired.c (Ffile_name_all_completions): Change documentation --
8292 remove reference to completion-ignored-extensions.
8293 * dired.c (vars_of_dired): Change documentation for
8294 completion-ignored-extensions -- remove reference to
8295 file-name-all-completions.
8297 2002-03-06 Jerry James <james@xemacs.org>
8299 * emodules.c (emodules_load): Fix multiple loading of same module.
8301 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8302 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8303 RTLD_LAZY to avoid incorrect symbol binding when using nested
8304 shared libraries on Solaris.
8306 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8308 * fileio.c (Ffind_file_name_handler): Improve docstring.
8310 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8312 * fns.c (Fmapconcat): Improve docstring.
8314 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8316 * device-gtk.c: Add prototype for
8317 emacs_gtk_selection_clear_event_handle.
8318 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8319 selection. Setup signal handler for "selection_clear_event"
8320 (emacs_gtk_selection_clear_event_handle).
8322 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8323 other applications owning the clipboard (based on
8324 x_handle_selection_clear).
8326 2001-12-23 William M. Perry <wmperry@gnu.org>
8328 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8330 2002-01-04 Martin Buchholz <martin@xemacs.org>
8332 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8334 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8336 * XEmacs 21.4.6 "Common Lisp" is released.
8338 2001-12-16 Torsten Duwe <duwe@caldera.de>
8340 * search.c (Freplace_match): Add missing sub-expression functionality.
8342 * buffer.c (decode_buffer): Add a check for pointer type to
8343 decode_buffer, before gcc's CSE optimization reorders a
8344 dereference in front of the allow_string test.
8346 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8348 * window.c (window_loop): Fix bug that sometimes prevented
8349 window_loop() from iterating across multiple devices. Also, at
8350 Ben's request, changed infloop-detecting code to abort() instead
8351 of silently terminating window_loop().
8353 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8355 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8356 * editfns.c (make_time): New function.
8357 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8358 * lisp.h (make_time): Prototype and comment it.
8359 * dired.c (wasteful_word_to_lisp): Deprecate.
8360 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8362 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8364 * fileio.c (auto_save_1): Use current coding system, not
8367 2001-11-13 Ben Wing <ben@xemacs.org>
8370 * window.c (window_truncation_on):
8371 * window.c (syms_of_window):
8372 truncate-partial-width-windows should respect the buffer being
8373 displayed, like other redisplay vars.
8375 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8377 * event-stream.c (Fread_key_sequence): save current buffer.
8379 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8381 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8383 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8385 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8387 2001-10-26 Mike Alexander <mta@arbortext.com>
8389 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8391 2001-10-25 Andy Piper <andy@xemacs.org>
8394 * dialog-msw.c (handle_directory_proc): new function.
8395 (handle_directory_dialog_box): new fucntion.
8396 (handle_file_dialog_box): use new directory dialog support.
8397 (mswindows_make_dialog_box_internal): ditto.
8398 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8400 (mswindows_find_frame): make global.
8401 * fileio.c (Fexpand_file_name): build fix.
8402 * general-slots.h: add Qdirectory.
8403 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8405 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8406 cygwin not leaving win32 paths unchanged.
8407 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8408 cygwin runtime to do path conversion.
8409 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8410 (syms_of_win32): add new function.
8411 * window.c (window_loop): build fix.
8413 2001-10-15 Andy Piper <andy@xemacs.org>
8415 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8417 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8419 * XEmacs 21.4.5 "Civil Service" is released.
8421 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8423 * glyphs-x.c: Force buffer-tab highlight update when moving the
8424 buffer, avoiding an ugly black border, used for keyboard focus
8425 indication, on a widget that can never have keyboard focus, the
8428 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8430 * process-unix.c (unix_open_multicast_group): Remove too much
8431 conversion between host and network byte order.
8433 2001-09-10 Nix <nix@esperi.demon.co.uk>
8435 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8436 before replacing them.
8438 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8441 * src/window.c (undedicate_windows): Use it.
8442 * src/window.h: Add prototype.
8444 2001-09-17 Ben Wing <ben@xemacs.org>
8446 * fileio.c (normalize_filename):
8447 * fileio.c (Fexpand_file_name):
8448 Fix various C++ compile errors in Andy's recent code.
8450 * callint.c (Fcall_interactively):
8451 * editfns.c (Ftemp_directory):
8452 * editfns.c (Fuser_full_name):
8453 * emacs.c (argmatch):
8454 * lread.c (locate_file_map_suffixes):
8455 * redisplay-x.c (x_ring_bell):
8456 Fix sign-compare warnings.
8458 2001-09-08 Andy Piper <andy@xemacs.org>
8460 * fileio.c (normalize_filename): copied from nt.c
8461 * (Ffile_name_directory): enable win32 paths under cygwin.
8462 * (Ffile_name_nondirectory): ditto.
8463 * (directory_file_name): ditto.
8464 * (Fexpand_file_name): ditto.
8465 * (Ffile_truename): ditto.
8466 * (Fsubstitute_in_file_name): ditto.
8467 * (Ffile_name_absolute_p): ditto.
8468 * (Ffile_readable_p): ditto.
8470 2001-09-08 Andy Piper <andy@xemacs.org>
8472 * device-msw.c (mswindows_finish_init_device): remove dde
8474 * device-msw.c (mswindows_init_dde): factor out from
8475 mswindows_finish_init_device()
8476 * device-msw.c (init_mswindows_very_early): new function
8477 initialize but don't enable dde.
8478 * emacs.c (main_1): call init_mswindows_very_early.
8480 * event-msw.c (mswindows_dde_callback): only execute when we are
8482 * symsinit.h: declare init_mswindows_very_early.
8484 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8486 [sjt: This has been in 21.5 for months with no complaints.]
8488 * console.h (struct console_methods): Added flags member.
8489 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8490 (CONMETH_IMPL_FLAG):
8491 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8492 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8494 * device.c (window_system_pixelated_geometry): Use the above macros.
8496 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8497 implememntation flag.
8498 * device.h (DEVICE_DISPLAY_P): Use it.
8500 * frame.c (delete_frame_internal): Use the above macro.
8502 * redisplay.c (redisplay_device): Use it.
8503 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8504 (redisplay_frame): Ditto.
8506 * device-msw.c (mswindows_device_implementation_flags): Removed.
8507 (msprinter_device_implementation_flags): Removed.
8508 (console_type_create_device_mswindows): Removed references to
8509 implementation_flags methods, set implementation flags here.
8510 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8512 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8513 (console_type_create_device_gtk): Removed method declaration.
8514 Added commented out statement which semantically matches the
8515 commented out statement in the above removed method.
8517 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8519 The attached patch fixes a few warnings.
8521 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8522 * src/frame-gtk.c: guard against GNOME calls in GTK only
8523 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8524 * src/select-gtk.c: prototype lisp_to_time
8526 2001-06-08 Ben Wing <ben@xemacs.org>
8528 ------ gc-in-window-procedure fixes ------
8531 * alloc.c (struct post_gc_action):
8532 * alloc.c (register_post_gc_action):
8533 * alloc.c (run_post_gc_actions):
8534 * alloc.c (garbage_collect_1):
8535 Create "post-gc actions", to avoid those dreaded "GC during window
8536 procedure" problems.
8539 Abort, clean and simple, when GC in window procedure. We want
8540 to flush these puppies out.
8543 * glyphs-msw.c (finalize_destroy_window):
8544 * glyphs-msw.c (mswindows_finalize_image_instance):
8545 Use a post-gc action when destroying subwindows.
8548 Declare register_post_gc_action().
8551 * scrollbar-msw.c (unshow_that_mofo):
8552 Use a post-gc action when unshowing scrollbar windows, if in gc.
8554 * redisplay.c (mark_redisplay):
8555 Add comment about the utter evilness of what's going down here.
8557 ------ cygwin setitimer fixes ------
8559 * Makefile.in.in (sheap_objs):
8560 * Makefile.in.in (profile_objs):
8561 * Makefile.in.in (objs):
8562 Compile profile.c only when HAVE_SETITIMER.
8564 * nt.c (mswindows_sigset):
8565 * nt.c (mswindows_sighold):
8566 * nt.c (mswindows_sigrelse):
8567 * nt.c (mswindows_sigpause):
8568 * nt.c (mswindows_raise):
8569 * nt.c (close_file_data):
8573 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8576 * profile.c (Fstart_profiling):
8577 * profile.c (Fstop_profiling):
8578 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8579 instead of just plain setitimer().
8582 * signal.c (set_one_shot_timer):
8584 Define qxe_setitimer() as an encapsulation around setitimer() --
8585 call setitimer() directly unless Cygwin or MS Win, in which case
8586 we use our simulated version in win32.c.
8589 * systime.h (struct itimerval):
8590 * systime.h (ITIMER_REAL):
8591 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8592 comment about "qxe" and the policy regarding encapsulation.
8595 * win32.c (setitimer_helper_proc):
8596 * win32.c (setitimer_helper_period):
8597 * win32.c (setitimer_helper):
8598 * win32.c (mswindows_setitimer):
8599 Move setitimer() emulation here, so Cygwin can use it.
8600 Rename a couple of functions and variables to be longer and more
8601 descriptive. In setitimer_helper_proc(), send the signal
8602 using either mswindows_raise() or (on Cygwin) kill(). If for
8603 some reason we are still getting lockups, we'll change the kill()
8604 to directly invoke the signal handlers.
8606 ------ windows shell fixes ------
8610 Comments about how these two files must die.
8612 * callproc.c (init_callproc):
8613 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8614 not just COMSPEC. (more correct and closer to FSF.) Don't
8615 force a value for SHELL into the environment. (Comments added
8616 to explain why not.)
8618 * nt.c (init_user_info):
8619 Don't shove a fabricated SHELL into the environment. See above.
8621 2001-06-01 Ben Wing <ben@xemacs.org>
8623 * Makefile.in.in (ldflags):
8624 eliminate that pesky "defaulting to 00401000" warning.
8628 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8630 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8631 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8633 2001-04-24 Jerry James <james@xemacs.org>
8635 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8638 2001-06-01 Ben Wing <ben@xemacs.org>
8640 * event-msw.c (debug_mswin_messages):
8641 conditionalize the messages that were causing compile errors.
8642 (if only macros could generate #ifdef statements ...)
8644 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8646 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8648 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8650 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8652 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8654 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8655 * process-unix.c (unix_canonicalize_host_name):
8656 sysdep.c (init_system_name):
8657 Use it to conditionally support IPv6 canonicalization.
8659 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8662 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8664 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8666 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8667 attempt is made to scroll when no scroll bar is available.
8669 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8671 * input-method-motif.c (XIM_delete_frame): New callback.
8672 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8673 got deleted from 21.4.3.)
8675 2001-06-01 Ben Wing <ben@xemacs.org>
8677 * nt.c (mswindows_utime):
8678 * nt.c (close_file_data):
8679 fix off-by-one-indirection error.
8681 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8683 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8684 because set_file_times() now takes Lisp_Object path, instead of
8686 * nt.c: Include buffer.h.
8687 * nt.c (convert_from_time_t): New.
8688 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8689 not set mtime correctly.
8690 * nt.h: Declare mswindows_utime().
8691 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8692 path, instead of char*.
8693 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8695 2001-05-30 Ben Wing <ben@xemacs.org>
8699 (Stephen, just take all event-msw.c patches. This includes
8700 the "iconify" fix below.)
8703 * event-msw.c (mswindows_dequeue_dispatch_event):
8704 * event-msw.c (assert):
8705 * event-msw.c (emacs_mswindows_quit_p):
8706 * event-msw.c (debug_mswin_messages):
8707 * event-msw.c (debug_output_mswin_message):
8708 * event-msw.c (vars_of_event_mswindows):
8709 Fix yet more problems with C-g handling.
8710 Implement debug-mswindows-events.
8712 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8714 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8716 2001-05-23 Ben Wing <ben@xemacs.org>
8718 * event-msw.c (winsock_writer):
8719 * event-msw.c (winsock_closer):
8720 prior kludgy code was clobbering the buffer, thinking it was
8721 "unused" space to store an unneeded return value; instead, use
8722 the variable we've already got staring us in the face.
8724 2001-05-17 Andy Piper <andy@xemacs.org>
8726 * sysfile.h: don't assume that file attributes are boolean
8728 2001-05-23 Ben Wing <ben@xemacs.org>
8730 * device-msw.c (msprinter_init_device):
8731 signal an error rather than crash with an unavailable network
8732 printer (from Mike Alexander).
8735 * event-msw.c (struct winsock_stream):
8736 * event-msw.c (winsock_writer):
8737 * event-msw.c (winsock_closer):
8738 * event-msw.c (make_winsock_stream_1):
8739 cleanup headers. fix (hopefully) an error with data corruption
8740 when sending to a network connection.
8742 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8743 to handle the ~user prefix by (a) always assuming we're referencing
8744 ourselves and not even verifying the user -- hence any file with
8745 a tilde as its first char is invalid! (b) if there wasn't a slash
8746 following the filename, the pointer was set *past* the end of
8747 file and we started reading from uninitialized memory. Now we
8748 simply treat these as files, always.
8750 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8752 2001-05-19 Ben Wing <ben@xemacs.org>
8754 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8757 * process-nt.c (vars_of_process_nt):
8758 remove unused mswindows-quote-process-args. rec for 21.4.
8760 2001-05-12 Ben Wing <ben@xemacs.org>
8762 * event-msw.c (mswindows_dde_callback):
8763 * event-msw.c (mswindows_wnd_proc):
8764 eliminate cygwin warnings.
8766 2001-05-06 Ben Wing <ben@xemacs.org>
8770 * device-msw.c (print_dialog_worker):
8771 * device-msw.c (mswindows_handle_print_dialog_box):
8772 * device-msw.c (syms_of_device_mswindows):
8773 * dialog-msw.c (mswindows_make_dialog_box_internal):
8775 implement printing the selection when it's selected.
8777 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8779 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8781 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8783 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8784 EMACS_INT is signed.
8786 2001-04-15 Michael Lausch <mla@1012surf.net>
8788 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8789 gtk_widget_request_size() to give scrollbar >0 width for
8792 2001-05-30 William M. Perry <wmperry@gnu.org>
8794 * event-gtk.c: Check for buttons as modifier keys.
8796 2001-05-25 Craig Lanning <CraigL@Knology.net>
8799 Properly find MinGW's <process.h> inside Cygwin's restructured
8800 include directories. Don't try to include <cygwin/version.h>
8801 since we are dropping support for MinGW in versions of Cygwin
8804 Drop support for MinGW in versions of Cygwin before b21.
8806 Properly find MinGW's <process.h> inside Cygwin's restructured
8807 include directories.
8809 Drop support for MinGW in versions of Cygwin before b21.
8811 Even though a.out.h is no longer detected by configure, allow
8812 MinGW to use it until we figure out how to do the job with Win32.
8814 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8816 * syntax.c (find_start_of_comment):
8817 Fix `unbalanced parentheses' bug when dealing with mixed comment
8818 styles in c++/java/etc. mode
8820 2001-05-29 Mike Alexander <mta@arbortext.com>
8822 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8823 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8825 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8827 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8829 2001-03-31 Mike Sperber <mike@xemacs.org>
8831 * search.c (Freplace_match): Support FSF-style specification of
8832 match subexpression when applied to a buffer.
8834 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8836 * event-stream.c (is_scrollbar_event): add missing semicolon
8838 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8840 * Makefile.in.in: Use TAR macro instead of hardcoding
8841 tar. Allows use of GNU tar instead of system tar
8843 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8845 * event-stream.c (is_scrollbar_event): add missing semicolon
8847 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8849 * XEmacs 21.4.3 "Academic Rigor" is released.
8851 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8853 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8855 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8857 * buffer.c (Vcase_fold_search): Remove obsolete
8858 comment about non ASCII case-fold-search. This
8859 bug has been fixed by case-table changes.
8861 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8863 * event-msw.c: Restore include of events-mod.h.
8865 2001-04-22 zhaoway <zw@debian.org>
8867 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8870 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8872 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8874 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8876 * mule-charset.c (Fmake_charset): Add missing else.
8878 2001-04-23 Ben Wing <ben@xemacs.org>
8880 * event-msw.c (FAKE_MOD_QUIT):
8881 * event-msw.c (mswindows_dequeue_dispatch_event):
8882 * event-msw.c (mswindows_wnd_proc):
8883 * event-msw.c (emacs_mswindows_quit_p):
8884 Get critical quit working.
8886 2001-05-05 Ben Wing <ben@xemacs.org>
8890 * device-msw.c (mswindows_get_default_margin):
8891 * frame-msw.c (mswindows_size_frame_internal):
8892 * frame-msw.c (msprinter_init_frame_1):
8893 * frame-msw.c (vars_of_frame_mswindows):
8894 Change top/bottom margin defaults to 0.5 inches.
8896 2001-05-01 Martin Buchholz <martin@xemacs.org>
8898 Fix link error with gcc 3.0 on Linux.
8899 * terminfo.c (UP): Remove.
8900 * terminfo.c (BC): Remove.
8901 * terminfo.c (PC): Remove.
8902 They weren't used, and in any case, these symbols should be
8903 defined in the *library*.
8905 2001-05-03 Martin Buchholz <martin@xemacs.org>
8907 * s/aix4.h: Fix crash with xlc -O3.
8908 Improve comment explaining how -O3 works.
8910 2001-04-15 Ben Wing <ben@xemacs.org>
8913 * event-stream.c (Fnext_event):
8914 * event-stream.c (is_scrollbar_event):
8915 * event-stream.c (execute_command_event):
8916 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8917 crash' problem. His fix introduces other problems. We filter
8918 out scrollbar events specifically, making them somewhat invisible
8919 to command-building, and not appearing in `this-command-keys'.
8920 More work is still needed (see comments in event-stream.c), but
8921 this fixes all the major problems.
8923 2001-04-20 Ben Wing <ben@xemacs.org>
8925 * .cvsignore: Added stuff for Windows.
8927 2001-04-28 Ben Wing <ben@xemacs.org>
8929 * buffer.c (Ferase_buffer):
8930 * editfns.c (buffer_insert1):
8931 * editfns.c (Finsert_before_markers):
8932 * editfns.c (Finsert_string):
8933 * editfns.c (Finsert_char):
8934 * editfns.c (Fdelete_region):
8935 * editfns.c (Fwiden):
8936 * editfns.c (Fnarrow_to_region):
8937 remove bogus lines setting zmacs_region_stays to 0.
8939 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8941 * process-unix.c (unix_open_network_stream): If connect() fails
8942 invalidate file descriptor after closing it.
8944 2001-03-08 Mike Alexander <mta@arbortext.com>
8946 * event-msw.c (mswindows_need_event_in_modal_loop):
8947 Don't dispatch a message if we didn't get one.
8948 (mswindows_need_event):
8949 Terminate the correct process when one exits instead of the first
8950 one on Vprocess_list and look for process termination when in
8951 mswindows_protect_modal_loop.
8953 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8955 * XEmacs 21.4.1 "Copyleft" is released.
8957 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8959 * input-method-motif.c (XIM_delete_frame): New callback.
8960 (XIM_init_frame): Register it.
8962 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8964 * XEmacs 21.4.0 "Solid Vapor" is released.
8966 2001-04-15 Ben Wing <ben@xemacs.org>
8968 * cmdloop.c (call_command_loop):
8969 Fix braino in bit-rotting code.
8971 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8973 * extents.c (Fset_extent_endpoints): Force creation of extent info
8974 in buffer_or_string.
8976 * extents.c (process_extents_for_insertion_mapper): Correctly
8977 check for open-open zero-length extents.
8979 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8981 * lisp.h: New typedefs Memory_count, Element_count.
8984 Sign-compare warning elimination: several unsigned -> signed.
8985 Based on work by Ben Wing <ben@xemacs.org>.
8987 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8989 * XEmacs 21.2.47 "Zephir" is released.
8991 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8993 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8995 2001-04-03 Mike Sperber <mike@xemacs.org>
8997 * search.c: Revert previous patch due because of release.
8999 2001-03-30 Ben Wing <ben@xemacs.org>
9002 Add missing killpg prototype.
9005 Add a comment about fixing problems when a new entry is added
9008 * frame-msw.c (mswindows_init_frame_1):
9009 Fix compile warnings.
9011 * menubar.c (vars_of_menubar):
9012 Provide `menu-accelerator-support' to indicate that we properly
9013 support %_ in menu specifications, so that package code can
9014 conditionalize on this (and remove %_ from menu specifications
9019 * scrollbar-msw.c (can_scroll):
9021 Fix handling of mouse wheel under Windows to follow standards --
9022 now scrolls window under pointer, not selected window.
9024 2001-03-31 Mike Sperber <mike@xemacs.org>
9026 * search.c (Freplace_match): Support FSF-style specification of
9027 match subexpression when applied to a buffer.
9029 2001-03-15 Martin Buchholz <martin@xemacs.org>
9031 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
9032 function to modify KEYMAP, so map over a copy of the hash table.
9034 2001-03-21 Martin Buchholz <martin@xemacs.org>
9036 * XEmacs 21.2.46 "Urania" is released.
9038 2001-03-20 Dan Holmsand <dan@eyebee.com>
9040 * realpath.c (xrealpath): Make file-truename work with symlinks to
9041 /cygdrive paths on cygwin. Always lowercase drive-letters on
9043 (cygwin_readlink): Don't try to find canonical filename unless
9046 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
9048 * ChangeLog: Log GTK merge.
9054 Revert gratuitous whitespace changes from GTK merge.
9056 * emacs.c: Document end of complex #ifdef @ l. 1495.
9059 2001-03-12 Andy Piper <andy@xemacs.org>
9061 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
9062 have to do likewise.
9064 2001-03-12 Andy Piper <andy@xemacs.org>
9066 * sysdep.c: we only support mingw now.
9068 2001-03-09 Andy Piper <andy@xemacs.org>
9070 * unexcw.c (copy_executable_and_dump_data_section): making approx
9071 overrun a warning only.
9073 2001-03-10 William M. Perry <wmperry@aventail.com>
9075 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
9076 satisfy Stephen's identical-after-cpp plea.
9078 2001-03-02 Ben Wing <ben@xemacs.org>
9081 * cmds.c (Fforward_char):
9085 Augment documentation of the most common motion commands to make
9086 note of the shifted-motion support.
9088 2001-03-02 Ben Wing <ben@xemacs.org>
9090 * nt.c (mswindows_fstat):
9091 * nt.c (mswindows_stat):
9092 * search.c (boyer_moore):
9093 Fix compile warnings under Windows.
9095 * sysdep.c (sys_readdir):
9096 Fix buggy filename-conversion code under Mule.
9098 2001-03-09 William M. Perry <wmperry@aventail.com>
9120 * redisplay-output.c:
9126 The Great GTK Merge.
9133 * emacs-widget-accessors.c:
9147 * native-gtk-toolbar.c:
9158 The Great GTK Merge: new files.
9160 2001-02-26 Ben Wing <ben@xemacs.org>
9162 Reapplied Lstream change.
9164 2001-02-26 Ben Wing <ben@xemacs.org>
9166 Undid the last change, since it is more controversial than I
9167 thought. It should be back in at some point soon.
9169 2001-02-25 Ben Wing <ben@xemacs.org>
9172 * callproc.c (Fold_call_process_internal):
9173 * event-msw.c (ntpipe_slurp_reader):
9174 * event-msw.c (ntpipe_shove_writer):
9175 * event-msw.c (winsock_reader):
9176 * event-msw.c (winsock_writer):
9178 * file-coding.c (detect_eol_type):
9179 * file-coding.c (detect_coding_type):
9180 * file-coding.c (determine_real_coding_system):
9181 * file-coding.c (Fdetect_coding_region):
9182 * file-coding.c (decoding_reader):
9183 * file-coding.c (decoding_writer):
9184 * file-coding.c (mule_decode):
9185 * file-coding.c (Fdecode_coding_region):
9186 * file-coding.c (encoding_reader):
9187 * file-coding.c (encoding_writer):
9188 * file-coding.c (mule_encode):
9189 * file-coding.c (Fencode_coding_region):
9190 * file-coding.c (detect_coding_sjis):
9191 * file-coding.c (decode_coding_sjis):
9192 * file-coding.c (encode_coding_sjis):
9193 * file-coding.c (detect_coding_big5):
9194 * file-coding.c (decode_coding_big5):
9195 * file-coding.c (encode_coding_big5):
9196 * file-coding.c (detect_coding_ucs4):
9197 * file-coding.c (decode_coding_ucs4):
9198 * file-coding.c (encode_coding_ucs4):
9199 * file-coding.c (detect_coding_utf8):
9200 * file-coding.c (decode_coding_utf8):
9201 * file-coding.c (encode_coding_utf8):
9202 * file-coding.c (detect_coding_iso2022):
9203 * file-coding.c (decode_coding_iso2022):
9204 * file-coding.c (encode_coding_iso2022):
9205 * file-coding.c (decode_coding_no_conversion):
9206 * file-coding.c (encode_coding_no_conversion):
9207 * glyphs-x.c (write_lisp_string_to_temp_file):
9208 * gpmevent.c (tty_get_foreign_selection):
9211 * lstream.c (Lstream_flush_out):
9212 * lstream.c (Lstream_adding):
9213 * lstream.c (Lstream_write_1):
9214 * lstream.c (Lstream_write):
9215 * lstream.c (Lstream_raw_read):
9216 * lstream.c (Lstream_read_more):
9217 * lstream.c (Lstream_read):
9218 * lstream.c (Lstream_unread):
9219 * lstream.c (Lstream_fputc):
9220 * lstream.c (stdio_reader):
9221 * lstream.c (stdio_writer):
9222 * lstream.c (filedesc_reader):
9223 * lstream.c (filedesc_writer):
9224 * lstream.c (lisp_string_reader):
9225 * lstream.c (struct fixed_buffer_stream):
9226 * lstream.c (make_fixed_buffer_input_stream):
9227 * lstream.c (make_fixed_buffer_output_stream):
9228 * lstream.c (fixed_buffer_reader):
9229 * lstream.c (fixed_buffer_writer):
9230 * lstream.c (struct resizing_buffer_stream):
9231 * lstream.c (resizing_buffer_writer):
9232 * lstream.c (dynarr_writer):
9233 * lstream.c (lisp_buffer_reader):
9234 * lstream.c (lisp_buffer_writer):
9236 * lstream.h (lstream_implementation):
9237 * lstream.h (struct lstream):
9239 * process-nt.c (nt_send_process):
9240 * process-unix.c (unix_send_process):
9242 Correct Lstream lossage due to mixing of signed and unsigned
9243 quantities. All Lstream uses of size_t and ssize_t are now a
9244 single signed data type Lstream_data_count. This fixes problems
9245 under Windows with sending large quantities of data to a process,
9246 and may well fix other subtle bugs.
9248 2001-02-23 Martin Buchholz <martin@xemacs.org>
9250 * XEmacs 21.2.45 "Thelxepeia" is released.
9252 2001-02-21 Martin Buchholz <martin@xemacs.org>
9254 * lisp-union.h (XSETINT):
9257 Reverse previous change of 2001-02-06.
9259 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9261 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9263 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9264 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9265 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9266 * regex.c (POS_AS_IN_BUFFER): removed
9267 * regex.c (re_search_2):
9268 * regex.c (re_match_2):
9269 Don't use an offset of 1 when calculating buffer positions, since
9270 `BI_BUF_BEGV' does it already.
9272 2001-02-18 Wim Dumon <wim@easics.be>
9274 * insdel.c (prepare_to_modify_buffer): Also check for
9275 supersession when clash-detection is enabled.
9277 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9279 * regex.c (re_match_2_internal):
9280 Convert temp characters from 'const unsigned char' to 're_char'.
9281 Fix crashing bug with extended characters under mule.
9282 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9283 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9284 font-lock, pdump, and new syntax-table code.
9285 * syntax.c (find_start_of_comment):
9286 (find_end_of_comment):
9288 Fix crashing bugs involving moving beyond end of buffer.
9289 * syntax.c (find_start_of_comment):
9290 Fixed logic to allow proper detection of cases where the same
9291 character is used to end both a two-char comment start and a
9292 two-char comment end sequence. Fixes `(forward-comment -1)'.
9293 * syntax.c (find_start_of_comment):
9294 Return position just past last comment-end character for all cases
9295 (previously was only done for two-char comment-end sequences).
9296 * syntax.c (forward-comment):
9297 Take value returned from `find_end_of_comment', rather than
9299 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9300 Properly deal with BUFFERP (syntax_cache.object)
9302 2001-02-17 Martin Buchholz <martin@xemacs.org>
9304 * alloc.c (Fgarbage_collect):
9305 * alloc.c (make_bit_vector_from_byte_vector):
9306 -Wsign-compare-correctness.
9308 2001-02-16 Martin Buchholz <martin@xemacs.org>
9310 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9311 (XSETCHAR): Likewise.
9312 (XSETOBJ): Likewise.
9314 2001-02-15 Martin Buchholz <martin@xemacs.org>
9316 * mule-canna.c (canna-func-delete_previous):
9317 Rename to canna-func-delete-previous.
9319 2001-02-14 Martin Buchholz <martin@xemacs.org>
9321 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9323 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9325 * font-lock.c (find_context): Fix C++ compile errors introduced by
9328 2001-02-13 Martin Buchholz <martin@xemacs.org>
9330 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9331 pragma, but earlier ones barf on the same pragma.
9333 2001-02-06 Mike Sperber <mike@xemacs.org>
9335 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9336 `configure-mule-lisp-directory'.
9338 2001-02-12 Martin Buchholz <martin@xemacs.org>
9340 Make sure dump-id.c is compiled in the same way as other .c's.
9341 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9342 * dump-id.h: Remove.
9343 * emacs.c: Move dump-id.h into dumper.h.
9344 * dumper.h: Move dump-id.h into dumper.h.
9346 Use standard .c.o rule for building dump-id.o.
9347 Remove preprocessor flags from link command.
9348 Add dump-id.o to ${otherobjs} if PDUMP.
9350 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9352 Port FSF 20.7 syntax table improvements.
9356 Fixups for new syntax table stuff.
9357 * dired.c: Include syntax.c.
9358 (Fdirectory_files): Initialize regex_match_object and
9360 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9361 and Fget_char_property.
9363 Use ported FSF 20.7 syntax table improvements.
9368 2001-02-09 Martin Buchholz <martin@xemacs.org>
9370 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9371 Unixware's enum boolean from sys/types.h.
9373 2001-02-10 Martin Buchholz <martin@xemacs.org>
9375 Fix support for building with latest Purify.
9376 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9377 (PURIFY_FLAGS): Likewise.
9379 2001-02-09 Martin Buchholz <martin@xemacs.org>
9381 * fileio.c (lisp_string_set_file_times): New.
9382 * fileio.c (Fcopy_file): Use it.
9384 (copy-file filename non-ascii-filename t t)
9385 ==> No such file or directory, non-ascii-filename
9387 2001-02-10 Martin Buchholz <martin@xemacs.org>
9389 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9390 USHRT_MAX seems clearer than ~0 anyways.
9392 2001-02-09 Martin Buchholz <martin@xemacs.org>
9394 dumper improvements. Inspired by Olivier.
9395 * dumper.c (pdump_max_align): New.
9396 * dumper.c (pdump_add_entry): Use pdump_max_align.
9397 * dumper.c (pdump_get_entry_list): Likewise.
9398 * dumper.c (pdump_scan_by_alignment): Likewise.
9399 Don't iterate through unnecessary alignments.
9400 * dumper.c (pdump_file_get): No need to align result of malloc().
9401 * dumper.c (pdump_mallocadr): Remove.
9402 The result of malloc() is guaranteed to be maximally aligned.
9403 * dumper.c: s/elmt/elt/g;
9404 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9405 * dumper.c (pdump_alert_undump_object): Likewise.
9406 * dumper.c (pdump_align_table):
9407 Don't support alignments > 64.
9408 Store ALIGNOF's, not shift counts, in table.
9410 2001-02-09 Martin Buchholz <martin@xemacs.org>
9412 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9413 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9414 * systime.h: Use HAVE_UTIME.
9415 * sysdep.c (struct utimbuf): Remove.
9416 * sysdep.c (set_file_times): Prefer utime() to utimes().
9417 * config.h.in (HAVE_UTIME): New.
9418 * config.h.in (HAVE_UTIME_H): Remove.
9419 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9421 2001-02-09 Martin Buchholz <martin@xemacs.org>
9423 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9425 2001-02-08 Martin Buchholz <martin@xemacs.org>
9427 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9429 2001-02-08 Martin Buchholz <martin@xemacs.org>
9431 * XEmacs 21.2.44 "Thalia" is released.
9433 2001-02-06 Martin Buchholz <martin@xemacs.org>
9435 Fixes crashes in kill-emacs on some systems.
9436 * process-unix.c (unix_kill_child_process):
9437 It's OK for kill() to fail with ESRCH.
9439 2001-02-07 Martin Buchholz <martin@xemacs.org>
9441 Contortions to make .gdbinit tricks work on most systems.
9442 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9443 * alloc.c (dbg_valmask): Make non-const.
9444 * alloc.c (dbg_typemask): Make non-const.
9445 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9446 * alloc.c (dbg_valbits): Make non-const.
9447 * alloc.c (dbg_gctypebits): Make non-const.
9448 * .gdbinit (decode_object): Make it work with AIX cc.
9450 2001-02-06 Martin Buchholz <martin@xemacs.org>
9452 * elhash.c (make_general_lisp_hash_table):
9453 Use simpler and more efficient calloc to clear entries.
9455 2001-02-07 Martin Buchholz <martin@xemacs.org>
9457 * window.c (window_scroll): Work around an AIX C compiler bug.
9458 Fixes 'scroll-up' does nothing problem with xlC.
9460 2001-02-05 Martin Buchholz <martin@xemacs.org>
9462 * .gdbinit: Remove obsolete comment.
9464 2001-01-31 Mike Alexander <mta@arbortext.com>
9466 * select.c (Fown_selection_internal): Set owned_p for device
9469 2001-02-01 Martin Buchholz <martin@xemacs.org>
9472 "not" cannot be used as a macro name as it is an operator in C++
9473 * config.h.in: Stop #defining `not'.
9474 * chartab.c (check_category_char): not ==> not_p
9475 * chartab.h: Likewise.
9476 * regex.c (re_match_2_internal): Likewise.
9478 2001-02-02 Martin Buchholz <martin@xemacs.org>
9480 * lisp-disunion.h: Fix up comments.
9482 2001-01-31 Martin Buchholz <martin@xemacs.org>
9484 * keymap.c (define_key_check_and_coerce_keysym):
9486 Support mouse-6 and mouse-7 bindings in the obvious way.
9488 2001-02-01 Martin Buchholz <martin@xemacs.org>
9490 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9492 2001-01-30 Martin Buchholz <martin@xemacs.org>
9494 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9495 Previous patch missed DEFVAR_INT_MAGIC.
9496 Make sure future DEFVAR_foo use correct types.
9497 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9498 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9499 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9500 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9501 * (DEFVAR_INT): Likewise.
9502 * redisplay.c (vertical_clip): Should be of type Fixnum.
9503 * redisplay.c (horizontal_clip): Likewise.
9504 * lisp.h (dump_add_opaque_int): New.
9505 (dump_add_opaque_fixnum): New.
9507 2001-01-29 Andy Piper <andy@xemacs.org>
9509 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9510 since they can be eval'ed
9512 2001-01-29 Martin Buchholz <martin@xemacs.org>
9514 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9515 Oops, XEmacs redefines `class'. Use `typename' instead.
9517 2001-01-28 Martin Buchholz <martin@xemacs.org>
9519 * dumper.c: Fix C++ compile errors.
9521 2001-01-29 Martin Buchholz <martin@xemacs.org>
9523 * tparam.c: Use correct prototypes.
9525 2001-01-28 Martin Buchholz <martin@xemacs.org>
9527 * sysproc.h: #include util.h for NetBSD's openpty.
9529 2001-01-27 Martin Buchholz <martin@xemacs.org>
9531 More 64-bit correctness.
9532 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9533 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9535 This finally finishes the 64-bit SGI port.
9536 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9537 * symbols.c: Fix up comments and type casts.
9538 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9539 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9540 * symeval.h (Fixnum): New type.
9541 * symeval.h (symbol_value_type): Fix up comment.
9557 * mule-canna.c: A million DEFVAR_INTs here...
9558 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9571 s/int/Fixnum/g in DEFVAR_INT declarations.
9573 2001-01-26 Martin Buchholz <martin@xemacs.org>
9575 Port pdump to SGI alignment-sensitive environment.
9576 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9577 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9579 Define and use aligned reading and writing macros.
9580 Use buffered stdio instead of posix i/o for faster dumping.
9581 Eliminate kludgy 256 byte space for header.
9582 Read and write from dump file using structs for alignment safety.
9583 * dumper.c (pdump_align_stream): New.
9584 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9585 * dumper.c (PDUMP_READ_ALIGNED): New.
9586 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9587 * dumper.c (pdump_static_Lisp_Object): New struct.
9588 * dumper.c (pdump_static_pointer): New struct.
9589 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9590 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9591 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9592 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9594 * dumper.c (pdump_backtrace):
9595 * dumper.c (pdump_get_indirect_count):
9596 * dumper.c (pdump_register_object):
9597 * dumper.c (pdump_register_struct):
9598 * dumper.c (pdump_reloc_one):
9599 * dumper.c (pdump_scan_by_alignment):
9600 * dumper.c (pdump_dump_from_root_struct_ptrs):
9601 * dumper.c (pdump_dump_opaques):
9602 * dumper.c (pdump_dump_rtables):
9603 * dumper.c (pdump_dump_from_root_objects):
9605 * dumper.c (pdump_load_finish):
9606 Use aligned reading and writing.
9608 * dumper.c (pdump_free): Make static.
9609 * dumper.c (pdump_hFile): Likewise.
9610 * dumper.c (pdump_hMap): Likewise.
9612 2001-01-26 Martin Buchholz <martin@xemacs.org>
9614 * XEmacs 21.2.43 "Terspichore" is released.
9616 2001-01-25 Martin Buchholz <martin@xemacs.org>
9618 Type fiddling for window_config.saved_windows_count
9619 * window.c (struct window_config):
9620 Make saved_windows_count member unsigned.
9621 * window.c (sizeof_window_config_for_n_windows):
9622 Make parameter unsigned.
9623 * window.c (mark_window_config):
9624 * window.c (window_config_equal):
9625 * window.c (free_window_configuration):
9626 * window.c (Fset_window_configuration):
9627 * window.c (count_windows):
9628 * window.c (Fcurrent_window_configuration):
9629 * window.c (reinit_vars_of_window):
9630 Update all callers and users.
9632 2001-01-25 Martin Buchholz <martin@xemacs.org>
9634 Alignment correctness for flexible arrays.
9635 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9636 Make alignment-correct. Add interesting comments.
9637 * alloc.c (size_vector):
9638 * alloc.c (make_vector_internal):
9639 * alloc.c (make_bit_vector_internal):
9640 * alloc.c (sweep_bit_vectors_1):
9641 * fns.c (size_bit_vector):
9642 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9643 * window.c (sizeof_window_config_for_n_windows):
9644 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9646 2001-01-24 Martin Buchholz <martin@xemacs.org>
9648 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9650 2001-01-23 Andy Piper <andy@xemacs.org>
9652 * select.c (Fown_selection_internal): pass owned_p
9654 * select-msw.c (mswindows_own_selection): New Signature.
9656 * console.h (struct console_methods): add owned_p to
9659 * select-x.c (x_own_selection): pass owned_p
9660 (hack_motif_clipboard_selection): use owned_p
9661 (vars_of_select_x): new variable -
9662 x_selection_strict_motif_ownership.
9664 2001-01-23 Martin Buchholz <martin@xemacs.org>
9666 * specifier.h (specifier_data_offset): Remove pointless parens.
9667 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9669 2001-01-24 Martin Buchholz <martin@xemacs.org>
9671 Make Lisp_Object sizeof methods be alignment-correct.
9672 pdump must restore objects to the same alignment as the C compiler
9673 assumes. It really matters on SGIs.
9674 * lstream.c (aligned_sizeof_lstream): New.
9675 (sizeof_lstream): Use aligned_sizeof_lstream.
9676 (Lstream_new): Likewise.
9677 * opaque.c (aligned_sizeof_opaque): New.
9678 (sizeof_opaque): Use aligned_sizeof_opaque.
9679 (make_opaque): Likewise.
9680 * specifier.c (aligned_sizeof_specifier): New.
9681 (sizeof_specifier): Use aligned_sizeof_specifier.
9682 (make_specifier_internal): Likewise.
9684 2001-01-23 Martin Buchholz <martin@xemacs.org>
9686 * lstream.h (struct lstream): Use max_align_t for trailing data.
9687 * specifier.h (struct Lisp_Specifier): Likewise.
9689 2001-01-22 Martin Buchholz <martin@xemacs.org>
9691 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9692 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9693 (CCL_SUSPEND): Likewise.
9694 (CCL_INVALID_CMD): Likewise.
9695 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9696 (ccl_driver): Likewise.
9697 (CCL_WRITE_CHAR): Macro hygiene.
9698 (CCL_WRITE_STRING): Macro hygiene.
9700 2001-01-22 Martin Buchholz <martin@xemacs.org>
9702 Port "portable" dumper to SunOS 4 and HP-UX.
9703 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9704 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9705 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9707 2001-01-22 Martin Buchholz <martin@xemacs.org>
9709 * lisp.h (ALIGNOF): A better definition for C++.
9711 2001-01-20 Martin Buchholz <martin@xemacs.org>
9714 Fix printf warnings: int format, long int arg.
9715 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9716 (PUSH_FAILURE_POINT): Use correct printf formats.
9717 (POP_FAILURE_POINT): Use correct printf formats.
9718 Use do {...} while (0)
9720 2001-01-20 Martin Buchholz <martin@xemacs.org>
9722 * XEmacs 21.2.42 "Poseidon" is released.
9724 2001-01-20 Martin Buchholz <martin@xemacs.org>
9726 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9728 2001-01-19 Martin Buchholz <martin@xemacs.org>
9730 De-kludgify FIXED_TYPE free list frobbing.
9731 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9732 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9733 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9734 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9735 * alloc.c (LRECORD_FREE_P): New.
9736 * alloc.c (MARK_LRECORD_AS_FREE): New.
9737 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9738 * alloc.c (STRUCT_FREE_P): Deleted.
9739 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9740 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9741 * alloc.c (STRING_CHARS_FREE_P): New.
9742 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9743 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9744 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9745 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9746 * alloc.c (resize_string): Use new definitions.
9747 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9748 * alloc.c (verify_string_chars_integrity): Use new definitions.
9749 * alloc.c (compact_string_chars): Use new definitions.
9750 * alloc.c: Update monster comments.
9751 * lrecord.h (lrecord_type): Add some new lrecord types for
9754 2001-01-18 Martin Buchholz <martin@xemacs.org>
9756 Improve alignment hackery.
9757 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9758 (max_align_t): Moved from opaque.h - general purpose.
9759 (ALIGN_PTR): Use size_t, not long.
9760 * opaque.h (max_align_t): Move to lisp.h.
9762 2001-01-18 Norbert Koch <nk@LF.net>
9764 * gui.h: Fix and add prototypes to fix build problems.
9766 2001-01-18 Martin Buchholz <martin@xemacs.org>
9768 temacs is going away, so `dump-temacs' is now a bad name.
9769 * .dbxrc (dump-temacs): Rename to `dmp'.
9770 * .gdbinit (dump-temacs): Rename to `dmp'.
9772 2001-01-17 Andy Piper <andy@xemacs.org>
9774 * glyphs.c (print_image_instance): comment to make martin happy.
9776 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9779 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9781 (mswindows_tab_control_redisplay): warning suppression.
9783 * glyphs-widget.c (widget_update): re-write to cope with updated
9785 (widget_instantiate): use new gui_item functions.
9786 (tab_control_update): deleted.
9787 (progress_gauge_update): deleted.
9788 (image_instantiator_progress_guage): take out update reference.
9789 (image_instantiator_tree_view): ditto.
9790 (image_instantiator_tab_control): ditto.
9792 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9794 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9795 return whether anything was changed.
9796 (update_gui_item_keywords): as it sounds.
9798 * gui.h: declare widget_gui_parse_item_keywords.
9800 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9801 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9803 2001-01-17 Martin Buchholz <martin@xemacs.org>
9805 * XEmacs 21.2.41 "Polyhymnia" is released.
9807 2001-01-16 Didier Verna <didier@xemacs.org>
9809 * glyphs.c (image_instantiate): don't use fallbacks when
9810 instantiating a face's background pixmap by inheritance.
9812 2001-01-14 Mike Sperber <mike@xemacs.org>
9814 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9815 Conditionalize accordingly.
9817 2001-01-16 Martin Buchholz <martin@xemacs.org>
9819 * dumper.c (pdump_file_get): Fix a compiler warning.
9821 2001-01-15 Martin Buchholz <martin@xemacs.org>
9823 Make Purify happy when pdumping.
9824 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9825 iniitalizing all bits of new lisp object memory.
9826 * symbols.c (Fmake_local_variable): Likewise.
9827 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9828 * symbols.c (Fdefvaralias): Likewise.
9829 * mule-charset.c (vars_of_mule_charset): Likewise.
9831 2001-01-15 Martin Buchholz <martin@xemacs.org>
9832 Add the `-nd' flag when running pre-dump operations under the debugger.
9833 * .dbxrc (run-temacs): Add `-nd'.
9834 * .dbxrc (update-elc): Likewise.
9835 * .dbxrc (dump-temacs): Likewise.
9836 * .gdbinit (run-temacs): Likewise.
9837 * .gdbinit (check-temacs): Likewise.
9838 * .gdbinit (update-elc): Likewise.
9839 * .gdbinit (dump-temacs): Likewise.
9841 2001-01-14 Martin Buchholz <martin@xemacs.org>
9843 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9844 export OBJECT_MODE=64
9845 configure --pdump --use-union-type=no
9846 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9847 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9849 * miscplay.c (sndcnv8U_2mono):
9850 Avoid two uses of `++' in the same expression.
9851 Suppresses a GCC warning.
9853 2001-01-13 Martin Buchholz <martin@xemacs.org>
9855 Make sure future compilers don't miscompile alloc.c.
9857 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9858 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9860 2001-01-12 Martin Buchholz <martin@xemacs.org>
9862 * dumper.c: A little post-pdump-rename comment fixup.
9864 2001-01-09 Jerry James <james@eecs.ku.edu>
9866 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9868 2001-01-13 Martin Buchholz <martin@xemacs.org>
9870 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9874 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9877 replace_symbol pdump_wire_lists pdump_weak_object_chains
9878 replace_symbol pdump_wire_list dump_add_weak_object_chain
9880 replace_symbol pdump_wires pdump_root_objects
9881 replace_symbol pdump_wire dump_add_root_object
9883 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9884 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9886 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9887 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9888 replace_symbol dumpstructinfo pdump_root_struct_ptr
9889 replace_symbol dumpstruct dump_add_root_struct_ptr
9891 replace_symbol dumpopaque dump_add_opaque
9892 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9893 replace_symbol dumpopaqueinfos pdump_opaques
9894 replace_symbol dumpopaqueinfo pdump_opaque
9896 replace_symbol nb_structdump nb_root_struct_ptrs
9897 replace_symbol nb_opaquedump nb_opaques
9899 replace_symbol align_table pdump_align_table
9900 replace_symbol dump_header pdump_header
9902 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9903 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9906 2001-01-12 Martin Buchholz <martin@xemacs.org>
9908 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9909 optimizing bytecount_to_charcount().
9911 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9914 (HAVE_DLFCN_H): Removed.
9915 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9917 2001-01-06 Martin Buchholz <martin@xemacs.org>
9919 Portable dumper maintainability improvements.
9920 * alloc.c (staticpro):
9921 * alloc.c (staticpro_nodump):
9922 * alloc.c (garbage_collect_1):
9923 * alloc.c (reinit_alloc_once_early):
9924 * alloc.c (init_alloc_once_early):
9925 * alloc.c: Move dumper functions to alloc.c.
9926 * dumper.c (pdump_backtrace):
9927 * dumper.c (pdump_dump_structs):
9928 * dumper.c (pdump_dump_opaques):
9929 * dumper.c (pdump_dump_rtables):
9930 * dumper.c (pdump_dump_wired):
9932 * dumper.c (pdump_load_check):
9933 * dumper.c (pdump_load_finish):
9934 * dumper.c (pdump_file_unmap):
9935 * dumper.c (pdump_file_get):
9936 * dumper.c (pdump_resource_free):
9937 * dumper.c (pdump_resource_get):
9938 * dumper.c (pdump_file_free):
9939 * dumper.c (pdump_file_try):
9940 * dumper.c (pdump_load):
9941 Remove fixed size limits on staticpro(), staticpro_nodump(),
9942 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9943 Remove custom code for dumping lrecord_implementations_table - use
9945 Remove (most of the) custom code for dumping staticpros - dump it
9946 like any other dynarr.
9948 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9949 * dumper.c: Moved functions from alloc.c.
9950 * alloc.c (dumpstruct): Moved to dumper.c.
9951 * alloc.c (dumpopaque): Likewise.
9952 * alloc.c (pdump_wire): Likewise.
9953 * alloc.c (pdump_wire_list): Likewise.
9955 * lisp.h (Dynarr_sizeof): New.
9956 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9957 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9958 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9960 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9961 * lisp.h (dumpopaque): ditto.
9962 * lisp.h (pdump_wire): ditto.
9963 * lisp.h (pdump_wire_list): ditto.
9965 2001-01-09 Martin Buchholz <martin@xemacs.org>
9967 * make-src-depend (PrintPatternDeps):
9968 Use `sort' to make output independent of perl version.
9970 2001-01-08 Martin Buchholz <martin@xemacs.org>
9973 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9974 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9976 2001-01-03 Didier Verna <didier@xemacs.org>
9978 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9979 that `focus_frame' is alive before thinking of calling
9980 `redisplay_redraw_cursor' on it.
9982 2001-01-08 Martin Buchholz <martin@xemacs.org>
9984 * XEmacs 21.2.40 is released.
9986 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9988 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9990 2001-01-06 Martin Buchholz <martin@xemacs.org>
9992 * alloc.c (dbg_valmask): Make const.
9993 * alloc.c (dbg_typemask): Make const.
9994 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9995 * alloc.c (dbg_valbits): Make const.
9996 * alloc.c (dbg_gctypebits): Make const.
9998 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
10000 * redisplay-x.c (x_bevel_area):
10001 redisplay.h (struct rune):
10002 Typo fixes in comments.
10004 2001-01-05 Andy Piper <andy@xemacs.org>
10006 * glyphs-x.c (x_redisplay_widget): use size changed for offset
10009 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
10011 2001-01-05 Martin Buchholz <martin@xemacs.org>
10013 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
10015 * mule-ccl.c (stack_idx_of_map_multiple):
10016 Non const global data must not be initialized!
10017 Found by MIYASHITA Hisashi.
10019 2001-01-02 Andy Piper <andy@xemacs.org>
10021 * frame.c (change_frame_size): make sure frame size is always
10024 * glyphs.c (image_instance_layout): minor code reuse.
10026 * window.c (Fcurrent_window_configuration): revert previous
10029 2001-01-02 Martin Buchholz <martin@xemacs.org>
10032 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
10034 2000-12-31 Andy Piper <andy@xemacs.org>
10036 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
10037 when widget gets unmapped.
10039 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
10040 function. Make sure widgets losing focus don't just drop it.
10041 (handle_focus_event_1): record the widget with focus.
10043 2000-12-31 Andy Piper <andy@xemacs.org>
10045 * window.c (allocate_window): use
10046 make_image_instance_cache_hash_table.
10047 (make_dummy_parent): ditto.
10048 (Fset_window_configuration): ditto.
10050 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
10052 * glyphs.c (process_image_string_instantiator): use
10054 (get_image_instantiator_governing_domain): ditto.
10055 (normalize_image_instantiator): ditto.
10056 (instantiate_image_instantiator): ditto.
10057 (make_image_instance_1): ditto.
10058 (image_instantiate): ditto. Key on glyph *and* instantiator type.
10059 (instantiator_eq_equal): new function for use with instance hash
10061 (instantiator_eq_hash): ditto.
10062 (make_image_instance_cache_hash_table): create a suitable hash
10063 table for storing image instances.
10065 * elhash.h (hash_table_weakness): new internal weakness type
10066 HASH_TABLE_KEY_CAR_VALUE_WEAK.
10067 declare new functions.
10069 * elhash.c (finish_marking_weak_hash_tables): introduce yet
10070 another weakness type for glyphs.
10071 (make_standard_lisp_hash_table): new function split out from
10072 make_general_lisp_hash_table.
10073 (make_lisp_hash_table): call make_standard_lisp_hash_table.
10074 (hash_table_instantiate): ditto.
10075 (Fmake_hash_table): ditto.
10077 2000-12-31 Martin Buchholz <martin@xemacs.org>
10079 * XEmacs 21.2.39 is released.
10081 2000-12-29 Andy Piper <andy@xemacs.org>
10083 * menubar.c (menubar_visible_p_changed): signal the frame changed.
10085 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
10086 the frame has changed so that we pick up geometry changes such as
10087 menubar visibility.
10089 2000-12-28 Andy Piper <andy@xemacs.org>
10091 * lastfile.c (my_ebss): make a char array so we can pad the
10092 bss. Fixes cygwin unexec.
10094 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
10096 2000-12-26 Andy Piper <andy@xemacs.org>
10098 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
10099 comments and try and be more precise about a non-/SIGIO world.
10100 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
10103 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
10104 we don't normalize to zero width or height.
10106 2000-12-24 Andy Piper <andy@xemacs.org>
10108 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10110 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10112 * s/sco5.h: SCO 5 has pty support.
10114 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10116 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10117 input-method-xlib.c contains whole contents of input-method-xfs.c,
10118 so we can use input-method-xlib.c's code for USE_XFONTSET
10120 * input-method-xfs.c: removed.
10122 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10124 * file-coding.h (enum coding_category_type): reorder enumerators to
10125 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10126 (now one greater than largest real coding_category_type enumerator).
10127 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10128 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10129 Fcoding_category_list, Fset_coding_priority_list,
10130 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10131 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10133 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10135 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10136 * redisplay-output.c (redisplay_output_window): Clear top of window
10137 when face is changed.
10138 * redisplay-x.c (x_redraw_exposed_window): Call
10139 redisplay_clear_top_of_window.
10140 * redisplay.h: Publish redisplay_clear_top_of_window.
10142 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10144 * buffer.c (Fkill_buffer): Map over all devices.
10145 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10146 (list_windows): New function.
10147 (list_all_windows): Ditto.
10148 (Freplace_buffer_in_windows): Use them.
10150 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10152 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10153 (Fopen_database): Use `db_create' instead of `db_open'.
10154 (syms_of_database): Initialize Qqueue.
10156 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10158 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10159 buffer_local_face_property.
10160 * buffer.h (struct buffer): New member buffer_local_face_property.
10161 * window.c (Fset_window_buffer): Mark window's face as changed
10162 when buffer has buffer local face.
10163 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10164 * objects.c (color_after_change): Set buffer_local_face_property
10165 when locale of face specifier is buffer.
10166 * objects.c (font_after_change): Ditto.
10167 * objects.c (face_boolean_after_change): Ditto.
10168 * glyphs.c (image_after_change): Ditto.
10170 2000-12-09 Dan Holmsand <dan@eyebee.com>
10172 * nt.c (mswindows_fstat): Report file permissions, volume serial
10173 number, etc. Code adapted from FSF Emacs 20.7.
10175 2000-12-09 Dan Holmsand <dan@eyebee.com>
10177 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10178 of stat when we don't have symbolic links, to make sure
10179 mswindows_stat is called on mswindows.
10181 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10183 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10185 2000-12-12 Martin Buchholz <martin@xemacs.org>
10187 * doprnt.c (emacs_doprnt_1): More printing fixes.
10188 Make printing of numbers compatible with libc and FSF Emacs.
10189 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10190 Use the system printf to do most of the hard work of formatting,
10191 instead of doprnt_1().
10192 Calculate memory to allocate for format string.
10193 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10194 (doprnt_1): Cleaner code and documentation.
10196 2000-12-01 Jerry James <james@eecs.ukans.edu>
10198 * Makefile.in.in: Use the loop variable to install headers.
10200 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10202 * window.c (Fsplit_window): Don't invalidate face cache.
10204 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10206 * minibuf.c (Fall_completions): Undo the previous change
10207 which removed checking elements start with space.
10209 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10211 * mule-canna.c: Didier suppression.
10213 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10215 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10216 (warning suppression). Add English comment translations.
10218 2000-12-05 Martin Buchholz <martin@xemacs.org>
10220 * unexelfsgi.c (unexec): Better test for mmap failure.
10222 2000-12-05 Martin Buchholz <martin@xemacs.org>
10224 * XEmacs 21.2.38 is released.
10226 2000-12-05 Martin Buchholz <martin@xemacs.org>
10228 * redisplay.c (bar-cursor): Make a user variable.
10230 * symsinit.h: Add init_postgresql_from_environment.
10232 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10234 * regex.c: Convert to clean C.
10236 2000-12-05 Dan Holmsand <dan@eyebee.com>
10239 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10241 (sys_readlink): renamed to system_readlink to avoid conflict with
10242 the other sys_readlink.
10244 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10246 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10248 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10250 * postgresql.c (init_postgresql_from_environment): new function.
10251 (vars_of_postgresql): Move code initializing Lisp variables out and
10252 into init_postgresql_from_environment.
10253 emacs.c (main_1): Call init_postgresql_from_environment if and only
10254 if running a dumped XEmacs.
10256 2000-08-31 Dan Holmsand <dan@eyebee.com>
10258 * buffer.c: Make find-file-compare-truenames default to true on
10261 * realpath.c (win32_abs_start):
10263 (win32_readlink): New functions.
10264 (xrealpath): Return really real filenames on windows.
10266 * fileio.c (Ffile_truename): Make file-truename work on windows.
10268 2000-11-29 Didier Verna <didier@xemacs.org>
10270 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10271 * faces.c (update_face_cachel_data): use it.
10272 * faces.c (add_face_cachel): use it. Complete background pixmap
10273 frobbing in face cache if `update_face_cachel_data' has not done so.
10275 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10277 * search.c (string_match_1): Don't set last_thing_searched
10278 when search failed.
10280 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10282 * buffer.c: Include casetab.h
10283 (common_init_complex_vars_of_buffer): Use new case-table object.
10284 * buffer.h: Include casetab.h
10285 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10286 (DOWNCASE_TABLE_OF): Ditto.
10287 * bufslots.h: Remove char-tables and add case-table.
10288 * casetab.c: Include casetab.h
10289 (CASE_TABLE_P): Removed.
10290 (mark_case_table): New function.
10291 (allocate_case_table): New function.
10292 (Fcase_table_p): Use new case-table.
10293 (case_table_char): New function.
10294 (Fget_case_table): Ditto.
10295 (Fput_case_table): Ditto.
10296 (Fput_case_table_pair): Ditto.
10297 (Fcopy_case_table): Ditto.
10298 (Fcurrent_case_table): Return case-table.
10299 (Fstandard_case_table): Return case-table.
10300 (Fset_case_table): Fix doc-string.
10301 (set_case_table): Use case-table
10302 (syms_of_casetab): DEFSUBR new functions.
10303 (complex_vars_of_casetab): Set up standard case-table.
10304 * casetab.h: New file.
10305 * editfns.c: Include casetab.h
10306 (Fcompare_buffer_substrings): Use case-table.
10307 * inline.c: Include casetab.h
10308 * lisp.h: Remove bogus extern.
10309 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10310 * search.c: Include casetab.h
10311 (TRANSLATE_ASCII): Removed.
10312 (TRANSLATE): Unconditionally translate character.
10313 (looking_at_1): Use case-table.
10314 (string_match_1): Ditto.
10315 (fast_string_match): Ditto.
10316 (search_command): Ditto.
10317 (search_buffer): Separate boyer_moore. Check whether
10318 boyer_moore is possible.
10319 (simple_search): New function.
10320 (boyer_moore): Separated from search_buffer. Translate char.
10322 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10324 * regex.c (RE_TR_ASCII): Removed.
10325 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10326 (PATFETCH): Call PATFETCH_RAW.
10327 (PATFETCH_RAW): Fetch Emchar.
10328 (PATUNFETCH): Decrement charptr.
10329 (GET_BUFFER_SPACE): Rename b to buf_end.
10331 (BUF_PUSH_2): Ditto.
10332 (BUF_PUSH_3): Ditto.
10333 (EXTEND_BUFFER): Ditto.
10334 (SET_LIST_BIT): Ditto.
10335 (regex_compile): Ditto. Translate non ASCII char.
10336 (compile_range): Ditto.
10337 (re_search_2): Ditto.
10338 (re_match_2_internal): Compare Emchar.
10339 (bcmp_translate): Ditto.
10341 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10343 * lisp.h (basic char/int typedefs): comment improvement.
10345 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10347 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10348 unstomp inhibit_site_lisp. Improve comments.
10350 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10352 * mule-charset.c (Fcharset_property): improve type checking, comments.
10354 2000-11-28 Andy Piper <andy@xemacs.org>
10356 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10357 clipped display for windows in the gutter also.
10358 (redisplay_display_boxes_in_window_p): change semantics of return
10359 codes to be more intuitive.
10361 * gutter.h: declare display_boxes_in_gutter_p.
10363 * gutter.c (display_boxes_in_gutter_p): new function for
10366 2000-11-22 Andy Piper <andy@xemacs.org>
10368 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10371 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10373 * callproc.c (Fold_call_process_internal):
10374 * gpm.c (Freceive_gpm_event):
10375 (tty_get_foreign_selection): Might be just warning supression.
10376 * fileio.c (Fwrite_region_internal):
10377 (Fset_visited_file_modtime):
10378 * keymap.c (event_matches_key_specifier_p):
10379 Initialize GCPROed variable.
10381 * menubar-x.c (command_builder_find_menu_accelerator):
10382 Initialize before use.
10384 2000-11-23 Andy Piper <andy@xemacs.org>
10386 * unexcw.c (unexec): make the resulting executable executable.
10388 2000-11-21 Martin Buchholz <martin@xemacs.org>
10390 * doc.c (get_doc_string):
10391 Use size_t, not int, for result of XSTRING_LENGTH.
10393 * cmds.c (Fdelete_char):
10394 * cmds.c (Fpoint_at_eol):
10395 * cmds.c (Fself_insert_command):
10396 Use EMACS_INT, not int, for result of XINT.
10397 Someday, someone will want to insert more than 2**31 identical characters.
10399 * cmds.c (Fdelete_char):
10400 * cmds.c (Fdelete_backward_char):
10401 * syntax.c (Fforward_word):
10402 * syntax.c (Fforward_comment):
10403 Make COUNT argument optional, for consistency with forward-char et al.
10405 2000-11-22 Martin Buchholz <martin@xemacs.org>
10408 * print.c (long_to_string):
10409 Return a useful value: the pointer at end of data written.
10412 Use `static const char * const' for constant strings.
10413 (union printf_arg): Delete `i', `ui' members.
10416 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10417 Do all printf-ing via the `l' specifier.
10418 Use EMACS_INT instead of int.
10421 2000-11-20 Didier Verna <didier@xemacs.org>
10423 * faces.c (update_face_cachel_data): don't frob the background
10424 pixmap when the window is being created. The face is needed but
10425 does not exist yet.
10427 2000-11-20 Andy Piper <andy@xemacs.org>
10429 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10430 messing with a debug environment.
10432 2000-11-20 Martin Buchholz <martin@xemacs.org>
10434 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10436 2000-11-20 Martin Buchholz <martin@xemacs.org>
10438 * casetab.c (Fcase_table_p): Fix compile error and crash.
10440 2000-11-18 Philip Aston <philipa@mail.com>
10442 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10444 2000-11-18 Martin Buchholz <martin@xemacs.org>
10446 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10447 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10449 2000-11-17 Martin Buchholz <martin@xemacs.org>
10451 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10452 * unexelf.c: Use HAVE_ELF_H.
10453 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10454 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10455 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10456 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10458 So this is an unexelfsgi.c from a different line of development.
10460 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10462 * regex.c (RE_TR_ASCII): New function.
10463 (RE_TRANSLATE): Call it.
10465 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10467 * buffer.h (TRT_TABLE_OF): Remove assert.
10468 (IN_TRT_TABLE_DOMAIN): Removed.
10470 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10472 * free-hook.c (log_gcpro):
10473 (show_gcprohist): Add support for GCPRO5.
10475 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10477 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10479 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10481 * symeval.h: Declare flush_all_buffer_local_cache.
10483 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10484 (flush_buffer_local_cache): Added.
10485 (flush_all_buffer_local_cache): Added.
10487 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10489 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10490 (pdump_dump_data): Ditto.
10491 (pdump_reloc_one): Ditto.
10492 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10496 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10498 * buffer.c: Remove if 0'ed entry.
10499 * buffer.h: Rewrite TRT to use char-table.
10500 * bufslots.h: Remove mirror tables.
10501 * casetab.c: Remove mirror tables.
10502 (CASE_TABLE_P): New macro.
10503 (Fcase_table_p): Element of a case table is string or char-table.
10504 (make_mirror_trt_table): Removed.
10505 (set_case_table): Setup char-table from strings for backward
10507 * dired.c (Fdirectory_files):
10508 * dired-msw.c: (mswindows_get_files):
10509 * lisp.h: Change prototype of re_pattern_buffer.
10510 * regex.c: (RE_TRANSLATE): New macro.
10511 (TRANSLATE_P): Ditto.
10512 Change translate to type RE_TRANSLATE_TYPE.
10513 * regex.h: Define RE_TRANSLATE_TYPE
10514 * search.c (TRANSLATE): New macro.
10515 (TRANSLATE_ASCII): New macro.
10516 Translate table is changed to Lisp_Object.
10517 (signal_failure): Inhibit return.
10519 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10526 Do UNGCPRO before return.
10528 2000-11-14 Martin Buchholz <martin@xemacs.org>
10530 * XEmacs 21.2.37 is released.
10532 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10534 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10535 Add comments about discarded return value.
10537 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10540 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10542 2000-10-27 Andy Piper <andy@xemacs.org>
10544 * gutter.c (Fset_default_gutter_position): default left and right
10545 gutters to visible.
10546 (calculate_gutter_size): calculate resonable heuristic for left
10547 and right gutter sizes.
10548 (specifier_vars_of_gutter): change left and right gutter sizes to
10550 (calculate_gutter_size_from_display_lines): new function.
10551 (output_gutter): check for resizing on left and right gutters.
10552 (clear_gutter): don't special case top and left gutters.
10553 (specifier_vars_of_gutter): use new signature for
10554 set_specifier_caching.
10556 * glyphs-x.c (x_redisplay_widget): spelling fix.
10557 * glyphs.c (specifier_vars_of_glyphs):
10558 * menubar.c (specifier_vars_of_menubar):
10559 * redisplay.c (specifier_vars_of_redisplay):
10560 * toolbar.c (specifier_vars_of_toolbar):
10561 * window.c (specifier_vars_of_window):
10562 * scrollbar.c (specifier_vars_of_scrollbar):
10563 (complex_vars_of_scrollbar): use new signature for
10564 set_specifier_caching.
10566 * specifier.c (set_specifier_caching): include recompute flag.
10567 (recompute_one_cached_specifier_in_window): always recompute if
10569 (recompute_one_cached_specifier_in_frame): ditto.
10571 * specifier.h (struct specifier_caching): add recompute flag.
10573 2000-10-24 Andy Piper <andy@xemacs.org>
10575 * unexcw.c (copy_executable_and_dump_data_section): add new
10576 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10579 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10581 * console-x.h (x_device): New member modifier_release_time.
10582 * event-Xt.c (x_handle_sticky_modifiers):
10583 Bound interval modifier keys are sticky.
10584 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10585 * events.h: extern it.
10587 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10589 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10591 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10593 * event-stream.c (execute_command_event): Preserve current_events
10594 and the like when event is misc-user-event.
10595 Inhibit quit during the call to maybe_echo_keys.
10597 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10599 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10600 symlink when buffer is killed.
10601 (inhibit_clash_detection): New variable.
10603 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10605 * console.c (Fset_input_method): Trigger redisplay on tty.
10607 2000-11-07 Martin Buchholz <martin@xemacs.org>
10609 * process.c (Fprocess_status): Revert to previous behavior:
10610 (process-status "nosuchprocess") ==> nil
10612 2000-11-06 Martin Buchholz <martin@xemacs.org>
10614 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10615 Work around another GCC 2.95.2 optimizer bug.
10617 2000-11-02 Martin Buchholz <martin@xemacs.org>
10619 * process.c (Fget_process): Use LIST_LOOP_2.
10620 (kill_buffer_processes): Use LIST_LOOP_2.
10622 * minibuf.c (Fall_completions):
10623 Delete old non-functional code for FSF fourth argument.
10625 * frame.c (frame_matches_frame_spec):
10626 Renamed from `frame_matches_frametype'. Update all callers.
10627 (device_matches_device_spec):
10628 Renamed from 'device_matches_console_spec'. Update all callers.
10630 * doc.c (Fsubstitute_command_keys):
10631 Remove buffer overflow crash. Small code cleanups.
10633 * casetab.c (check_case_table): Simpler code.
10635 * window.c (Freplace_buffer_in_windows):
10636 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10637 (and similar implementation) as Fdelete_windows_on.
10638 Update all callers.
10640 * alloc.c (Fmake_list):
10641 * alloc.c (make_vector):
10642 * alloc.c (Fmake_vector):
10643 * alloc.c (make_bit_vector):
10644 * alloc.c (Fmake_bit_vector):
10645 * alloc.c (Fbit_vector):
10646 * alloc.c (Fmake_string):
10647 * alloc.c (Fpurecopy):
10648 * alloc.c (Fmemory_limit):
10650 * buffer.c (Fget_buffer):
10651 * buffer.c (Fkill_buffer):
10652 * buffer.c (complex_vars_of_buffer):
10653 * bytecode.c (Fcompiled_function_stack_depth):
10654 * callint.c (Fprefix_numeric_value):
10656 * event-stream.c (Fread_key_sequence):
10658 * casetab.c (Fcase_table_p):
10659 * casetab.c (check_case_table):
10660 * casetab.c (Fset_case_table):
10661 * casetab.c (Fset_standard_case_table):
10663 * chartab.c (Fchar_table_type):
10664 * chartab.c (Freset_char_table):
10665 * chartab.c (Fget_char_table):
10666 * chartab.c (Fget_range_char_table):
10667 * chartab.c (Fput_char_table):
10668 * chartab.c (Fmap_char_table):
10669 * chartab.c (Fcategory_table_p):
10670 * chartab.c (Fcheck_category_at):
10671 * chartab.c (Fchar_in_category_p):
10672 * chartab.c (Fcategory_table):
10673 * chartab.c (Fcopy_category_table):
10674 * chartab.c (Fset_category_table):
10675 * chartab.c (Fcategory_designator_p):
10676 * chartab.c (Fcategory_table_value_p):
10677 * cmds.c (Fdelete_char):
10678 * cmds.c (Fdelete_backward_char):
10679 * cmds.c (Fself_insert_command):
10680 * cmds.c (Fself_insert_internal):
10681 * console.c (Fvalid_console_type_p):
10682 * console.c (Fcdfw_console):
10683 * console.c (Fconsole_type):
10684 * console.c (Fconsole_name):
10685 * console.c (Fconsole_device_list):
10686 * console.c (Fconsole_on_window_system_p):
10689 * data.c (Fold_eq):
10690 * data.c (Fsubr_interactive):
10691 * data.c (Fchar_to_int):
10692 * data.c (Fint_to_char):
10693 * data.c (Fsetcar):
10694 * data.c (Fsetcdr):
10695 * data.c (Fnumber_to_string):
10696 * data.c (Fstring_to_number):
10698 * database.c (mark_database):
10699 * database.c (finalize_database):
10700 * database.c (Fdatabase_live_p):
10701 * database.c (Fdatabasep):
10702 * device-x.c (Fx_get_resource):
10703 * device.c (Fdfw_device):
10705 * dired.c (Ffile_name_completion):
10706 * dired.c (Ffile_name_all_completions):
10707 * dired.c (Fuser_name_completion):
10708 * dired.c (Fuser_name_completion_1):
10709 * dired.c (Fuser_name_all_completions):
10710 * doc.c (Fdocumentation):
10711 * doc.c (Fdocumentation_property):
10712 * doc.c (Fsubstitute_command_keys):
10714 * editfns.c (Fchar_to_string):
10715 * editfns.c (Fstring_to_char):
10716 * editfns.c (Ftemp_directory):
10717 * editfns.c (Finsert_char):
10718 * editfns.c (Fbuffer_substring_no_properties):
10719 * editfns.c (Fnarrow_to_region):
10720 * editfns.c (Fchar_equal):
10721 * editfns.c (Fchar_Equal):
10722 * editfns.c (Ftranspose_regions):
10723 * emacs.c (Fdump_emacs):
10725 * eval.c (Fcommand_execute):
10726 * eval.c (Fautoload):
10727 * eval.c (Fbacktrace):
10728 * eval.c (Fbacktrace_frame):
10730 * events.c (Fcopy_event):
10731 * events.c (Fcharacter_to_event):
10732 * events.c (Fevent_button):
10733 * events.c (Fevent_process):
10735 * extents.c (Fnext_extent_change):
10736 * extents.c (Fextent_property):
10737 * faces.c (Ffacep):
10738 * faces.c (Fmake_face):
10740 * file-coding.c (Fencode_shift_jis_char):
10741 * file-coding.c (Fencode_big5_char):
10742 * fileio.c (Ffile_name_directory):
10743 * fileio.c (Ffile_name_nondirectory):
10744 * fileio.c (Ffile_name_as_directory):
10745 * fileio.c (Fdirectory_file_name):
10746 * fileio.c (Ffile_truename):
10747 * fileio.c (Fsubstitute_in_file_name):
10748 * fileio.c (Ffile_modes):
10749 * fileio.c (Fset_file_modes):
10750 * fileio.c (Fset_default_file_modes):
10751 * fileio.c (Fverify_visited_file_modtime):
10752 * floatfns.c (Facos):
10753 * floatfns.c (Fasin):
10754 * floatfns.c (Fatan):
10755 * floatfns.c (Fcos):
10756 * floatfns.c (Fsin):
10757 * floatfns.c (Ftan):
10758 * floatfns.c (Fbessel_j0):
10759 * floatfns.c (Fbessel_j1):
10760 * floatfns.c (Fbessel_jn):
10761 * floatfns.c (Fbessel_y0):
10762 * floatfns.c (Fbessel_y1):
10763 * floatfns.c (Fbessel_yn):
10764 * floatfns.c (Ferf):
10765 * floatfns.c (Ferfc):
10766 * floatfns.c (Flog_gamma):
10767 * floatfns.c (Fexp):
10768 * floatfns.c (Fexpt):
10769 * floatfns.c (Flog):
10770 * floatfns.c (Flog10):
10771 * floatfns.c (Fsqrt):
10772 * floatfns.c (Fcube_root):
10773 * floatfns.c (Facosh):
10774 * floatfns.c (Fasinh):
10775 * floatfns.c (Fatanh):
10776 * floatfns.c (Fcosh):
10777 * floatfns.c (Fsinh):
10778 * floatfns.c (Ftanh):
10779 * floatfns.c (Fabs):
10780 * floatfns.c (Ffloat):
10781 * floatfns.c (Flogb):
10782 * floatfns.c (Fceiling):
10783 * floatfns.c (Ffloor):
10784 * floatfns.c (Fround):
10785 * floatfns.c (Ftruncate):
10786 * floatfns.c (Ffceiling):
10787 * floatfns.c (Fffloor):
10788 * floatfns.c (Ffround):
10789 * floatfns.c (Fftruncate):
10790 * fns.c (Fstring_equal):
10791 * fns.c (Fstring_lessp):
10794 * fns.c (vconcat2):
10795 * fns.c (vconcat3):
10796 * fns.c (Fsubstring):
10798 * fns.c (Fold_assoc):
10799 * fns.c (assoc_no_quit):
10801 * fns.c (Fold_assq):
10802 * fns.c (assq_no_quit):
10804 * fns.c (Fold_rassoc):
10806 * fns.c (Fold_rassq):
10807 * fns.c (rassq_no_quit):
10808 * fns.c (Fremassoc):
10809 * fns.c (remassoc_no_quit):
10810 * fns.c (Fremassq):
10811 * fns.c (remassq_no_quit):
10812 * fns.c (Fremrassoc):
10813 * fns.c (Fremrassq):
10814 * fns.c (remrassq_no_quit):
10816 * fns.c (Fplist_get):
10817 * fns.c (Fplist_put):
10818 * fns.c (Fplist_remprop):
10819 * fns.c (Fplist_member):
10820 * fns.c (Flax_plist_get):
10821 * fns.c (Flax_plist_put):
10822 * fns.c (Flax_plist_remprop):
10823 * fns.c (Flax_plist_member):
10825 * fns.c (Fold_equal):
10826 * fns.c (Frequire):
10827 * fns.c (Fbase64_encode_region):
10828 * fns.c (Fbase64_encode_string):
10829 * fns.c (Fbase64_decode_region):
10831 * frame.c (frame_matches_frame_spec):
10832 * frame.c (device_matches_device_spec):
10833 * frame.c (next_frame):
10834 * frame.c (previous_frame):
10835 * frame.c (Fnext_frame):
10836 * frame.c (Fprevious_frame):
10837 * frame.c (Fframe_property):
10838 * frame.c (Fset_frame_height):
10839 * frame.c (Fset_frame_size):
10843 * glyphs.c (decode_error_behavior_flag):
10844 * glyphs.c (Fmake_image_instance):
10845 * indent.c (Findent_to):
10846 * intl.c (Fignore_defer_gettext):
10847 * keymap.c (Fkeymapp):
10848 * keymap.c (Flookup_key):
10850 * lread.c (Fload_internal):
10851 * lread.c (Feval_buffer):
10852 * lread.c (Feval_region):
10853 * macros.c (Fexecute_kbd_macro):
10854 * marker.c (set_marker_internal):
10855 * marker.c (Fset_marker):
10856 * marker.c (set_marker_restricted):
10857 * marker.c (Fcopy_marker):
10858 * marker.c (noseeum_copy_marker):
10860 * menubar.c (Fpopup_menu):
10862 * mule-charset.c (Fcharset_name):
10863 * mule-charset.c (Fchar_charset):
10864 * mule-charset.c (Fchar_octet):
10865 * mule-charset.c (Fsplit_char):
10866 * mule-wnnfns.c (Fwnn_open):
10867 * mule-wnnfns.c (Fwnn_dict_comment):
10868 * mule-wnnfns.c (Fwnn_quit_henkan):
10869 * mule-wnnfns.c (Fwnn_word_toroku):
10870 * mule-wnnfns.c (Fwnn_word_sakujo):
10871 * mule-wnnfns.c (Fwnn_word_use):
10872 * mule-wnnfns.c (Fwnn_hindo_set):
10874 * objects.c (Fmake_color_instance):
10875 * objects.c (Fmake_font_instance):
10876 * print.c (Fwrite_char):
10878 * process.c (mark_process):
10879 * process.c (print_process):
10880 * process.c (get_process_from_usid):
10881 * process.c (Fprocessp):
10882 * process.c (Fprocess_live_p):
10883 * process.c (Fget_process):
10884 * process.c (Fget_buffer_process):
10885 * process.c (get_process):
10886 * process.c (Fprocess_id):
10887 * process.c (Fprocess_name):
10888 * process.c (Fprocess_command):
10889 * process.c (init_process_io_handles):
10890 * process.c (start_process_unwind):
10891 * process.c (Fstart_process_internal):
10892 * process.c (Fopen_multicast_group_internal):
10893 * process.c (Fset_process_window_size):
10894 * process.c (read_process_output):
10895 * process.c (send_process):
10896 * process.c (Fprocess_tty_name):
10897 * process.c (Fset_process_buffer):
10898 * process.c (Fprocess_buffer):
10899 * process.c (Fprocess_mark):
10900 * process.c (set_process_filter):
10901 * process.c (Fset_process_filter):
10902 * process.c (Fprocess_filter):
10903 * process.c (Fprocess_send_region):
10904 * process.c (Fprocess_send_string):
10905 * process.c (exec_sentinel):
10906 * process.c (Fset_process_sentinel):
10907 * process.c (Fprocess_sentinel):
10908 * process.c (status_notify):
10909 * process.c (Fprocess_status):
10910 * process.c (Fprocess_exit_status):
10911 * process.c (process_send_signal):
10912 * process.c (Fprocess_send_eof):
10913 * process.c (deactivate_process):
10914 * process.c (remove_process):
10915 * process.c (Fdelete_process):
10916 * process.c (kill_buffer_processes):
10917 * process.c (Fprocess_kill_without_query):
10918 * process.c (Fprocess_kill_without_query_p):
10920 * rangetab.c (Fget_range_table):
10921 * rangetab.c (Fput_range_table):
10922 * rangetab.c (Fremove_range_table):
10923 * rangetab.c (Fclear_range_table):
10925 * search.c (Fskip_chars_forward):
10926 * search.c (Fskip_chars_backward):
10927 * search.c (Fskip_syntax_forward):
10928 * search.c (Fskip_syntax_backward):
10929 * search.c (search_command):
10930 * search.c (Freplace_match):
10931 * search.c (Fregexp_quote):
10932 * select.c (Fown_selection_internal):
10933 * select.c (Fselection_owner_p):
10934 * select.c (Fselection_exists_p):
10935 * select.c (Fget_selection_internal):
10938 * symbols.c (Fintern):
10939 * symbols.c (Fintern_soft):
10940 * symbols.c (Funintern):
10941 * symbols.c (Fapropos_internal):
10942 * symbols.c (Fset_default):
10944 * syntax.c (Fsyntax_table_p):
10945 * syntax.c (Fcopy_syntax_table):
10946 * syntax.c (Fset_syntax_table):
10947 * syntax.c (Fchar_syntax):
10948 * syntax.c (syntax_match):
10949 * syntax.c (Fmatching_paren):
10950 * syntax.c (Fforward_word):
10951 * syntax.c (scan_lists):
10952 * syntax.c (Fscan_lists):
10953 * syntax.c (Fscan_sexps):
10954 * syntax.c (Fparse_partial_sexp):
10955 * toolbar.c (Fcheck_toolbar_button_syntax):
10958 * window.c (Fwindowp):
10959 * window.c (Fwindow_live_p):
10960 * window.c (Fwindow_point):
10961 * window.c (Fdelete_window):
10962 * window.c (Fnext_window):
10963 * window.c (Fprevious_window):
10964 * window.c (Fother_window):
10965 * window.c (window_loop):
10966 * window.c (Fget_lru_window):
10967 * window.c (Fsplit_window):
10968 * window.c (Fenlarge_window):
10969 * window.c (Fenlarge_window_pixels):
10970 * window.c (Fshrink_window):
10971 * window.c (Fshrink_window_pixels):
10972 * window.c (change_window_height):
10973 * window.c (Fwindow_configuration_p):
10974 * window.c (Fcurrent_window_configuration):
10976 * casefiddle.c (casify_object):
10977 * casefiddle.c (Fupcase):
10978 * casefiddle.c (Fdowncase):
10979 * casefiddle.c (Fcapitalize):
10980 * casefiddle.c (Fupcase_initials):
10981 * casefiddle.c (casify_region_internal):
10982 * casefiddle.c (casify_region):
10983 * casefiddle.c (Fupcase_region):
10984 * casefiddle.c (Fdowncase_region):
10985 * casefiddle.c (Fcapitalize_region):
10986 * casefiddle.c (Fupcase_initials_region):
10987 * casefiddle.c (Fupcase_word):
10988 * casefiddle.c (Fdowncase_word):
10989 * casefiddle.c (Fcapitalize_word):
10990 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10991 Replace 0 with '\0' when working with bytes.
10992 Replace initial "(" with "\(" in docstrings.
10994 2000-11-01 Martin Buchholz <martin@xemacs.org>
10996 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10998 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
11000 2000-10-31 Martin Buchholz <martin@xemacs.org>
11002 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
11004 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11006 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
11009 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11011 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
11012 (inhibit_auto_save_session): New variable.
11013 (vars_of_fileio): Declare and initialize them.
11014 * fileio.c (Fdo_auto_save): Don't create session file if
11015 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
11017 2000-10-31 Martin Buchholz <martin@xemacs.org>
11019 * sgiplay.c (play_internal): C++ compilability.
11020 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
11021 * callproc.c (Fold_call_process_internal):
11022 Remove unused vars `env', `first'.
11023 * scrollbar.c (update_scrollbar_instance):
11024 #### unused var `current_window'.
11025 * redisplay-tty.c: Put currently unused vars insert_mode_on,
11026 etc. within #ifdef NOT_YET.
11027 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
11028 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
11029 * specifier.c (specifier_instance):
11030 #### unused var `tag'.
11031 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
11033 2000-10-27 Martin Buchholz <martin@xemacs.org>
11035 * fns.c (Fbutlast):
11036 * fns.c (list_sort):
11037 * fns.c (Ffillarray):
11038 * fns.c (bytecode_nconc2):
11041 * fns.c (Fmapconcat):
11042 Be pedantically 64-bit correct. For the time when someone will
11043 want to have a list with length > 2**32.
11045 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11046 Work around MIPSpro compiler bug.
11048 * process-unix.c (unix_kill_child_process): Add snarky comment.
11049 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
11051 * config.h.in: Oops, _getpt ==> _getpty
11053 2000-10-26 Martin Buchholz <martin@xemacs.org>
11057 Use void*, not char*, as return type of alloca().
11059 * alloc.c (free_marker): Side effect inside assert expression!
11061 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
11063 * mule-charset.c (Fset_charset_ccl_program): To check
11064 if the given ccl program is valid, use setup_ccl_program()
11065 instead of CHECK_VECTOR().
11066 (Fmake_charset): Likewise.
11068 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
11070 * faces.c (get_extent_fragment_face_cache_index):
11071 Fix cachel.merged_faces memory leak.
11073 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
11075 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
11076 Reset MSB of octets obtained by DECODE_SJIS
11077 because of the incompatibility with Emacs.
11078 (ccl_driver)<CCL_ENCODE_SJIS>:
11079 Set MSB of octets before passing them to
11080 ENCODE_SJIS because of the incompatibility
11083 2000-10-18 Daiki Ueno <ueno@unixuser.org>
11085 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
11086 (DECLARE_LRECORD): Undo the last change.
11087 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
11089 2000-10-17 Daiki Ueno <ueno@unixuser.org>
11091 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
11092 the implementation to lrecord_implementations_table.
11094 2000-10-14 Daiki Ueno <ueno@unixuser.org>
11096 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
11097 initial value of `lrecord_type_##c_name' and
11098 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
11099 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
11100 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
11101 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
11102 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
11104 2000-10-17 Martin Buchholz <martin@xemacs.org>
11106 * miscplay.c (sndcnv8S_2mono):
11107 (sndcnv2monounsigned):
11108 (sndcnvULaw_2linear):
11110 Remove implementation-defined behavior.
11112 2000-10-12 Martin Buchholz <martin@xemacs.org>
11114 * input-method-xlib.c: Warning suppression.
11116 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11118 * mule-ccl.c: Sync up with Emacs 21.0.90.
11119 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11121 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11123 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11124 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11125 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11126 leading char belongs to official 2-dimensional charset.
11127 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11128 write the given character as is. Otherwise,
11129 if it is a multibyte char, convert it by
11130 non_ascii_set_charptr_emchar, then write it.
11131 (CCL_WRITE_STRING): Likewise.
11132 (ccl_get_compiled_code): New function.
11133 (setup_ccl_program): When ccl_prog is invalid,
11135 (Fregister_code_conversion_map): New function.
11136 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11138 * mule-ccl.h: Sync up with Emacs 21.0.90.
11139 (Fregister_ccl_program): export it.
11141 * redisplay-msw.c (separate_textual_runs):
11142 If ccl program is not valid, don't do ccl conversion.
11144 * redisplay-x.c (separate_textual_runs): Ditto.
11146 * file-coding.c (Fmake_coding_system):
11147 When type is ccl and value is vector, register it
11148 with a proper symbol. And checks whether the
11149 given ccl program is valid.
11150 (mule_decode): When calling ccl_driver, if src indicates
11151 NULL pointer, set an empty string instead.
11152 (mule_encode): Likewise.
11154 2000-10-11 Martin Buchholz <martin@xemacs.org>
11156 The following large batch of changes gets us back to a state of
11157 C++ compilability. Extbyte is now a char, which means that
11158 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11160 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11162 * sound.c (Fplay_sound): Type correctness.
11164 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11165 (x_get_window_property): Type correctness.
11166 (receive_incremental_selection): unsigned char ==> Extbyte
11167 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11168 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11169 (Fx_store_cutbuffer_internal): Type correctness.
11171 * process-unix.c (try_to_initialize_subtty): Type correctness.
11173 * objects-x.c (x_print_color_instance): Type correctness.
11174 (x_print_font_instance): Type correctness.
11175 (x_list_fonts): SExtbyte ==> Extbyte.
11176 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11177 (x_find_charset_font): SExtbyte ==> Extbyte.
11178 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11179 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11180 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11181 Use bufbyte_strcmp.
11183 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11184 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11185 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11186 (BYTE_C0_P): Use bit ops for char-signedness safety.
11187 (BYTE_C1_P): Use bit ops for char-signedness safety.
11188 (CHARSET_BY_LEADING_BYTE):
11189 (CHARSET_BY_ATTRIBUTES):
11190 Always use inline function.
11191 Use type_checking_assert.
11194 * mule-charset.c (non_ascii_charptr_copy_char):
11195 Modify to work with both ASCII and non-ASCII characters.
11196 Improve docs and variable names.
11197 Replace over-clever fall-through switch with a simple loop.
11198 (Lstream_get_emchar_1):
11199 Replace over-clever fall-through switch with a simple loop.
11201 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11202 Warning suppression.
11204 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11205 the return value of Lstream_getc, which could be EOF as well.
11207 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11209 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11210 APIs can be used on Extbytes without casts. Risky!
11211 (SExtbyte): Remove.
11212 (UExtbyte): Remove.
11214 * input-method-xlib.c (XIM_init_device):
11215 Use Xlib.h instead of IntrinsicP.h.
11216 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11217 which will break in X11R7.
11218 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11219 to call XRegisterIMInstantiateCallback with correct types.
11221 * gui-x.c (button_item_to_widget_value): Type correctness.
11223 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11225 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11226 (xbm_instantiate_1): Type correctness.
11227 (BUILD_GLYPH_INST): Type correctness.
11229 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11232 (decode_coding_sjis):
11233 (decode_coding_big5):
11234 (decode_coding_ucs4):
11235 (decode_coding_utf8):
11236 (decode_coding_iso2022):
11237 (decode_coding_no_conversion):
11238 Make all decoding functions take an Extbyte * arg.
11239 (encode_coding_sjis):
11240 (encode_coding_big5):
11241 (encode_coding_ucs4):
11242 (encode_coding_utf8):
11243 (encode_coding_iso2022):
11244 (encode_coding_no_conversion):
11245 Make all encoding functions take a Bufbyte * arg.
11246 Use size_t instead of unsigned int for memory sizes.
11247 Only cast to unsigned char whenever dereferencing Extbyte *.
11249 * doc.c (unparesseuxify_doc_string): Type correctness.
11251 * console-x.c (split_up_display_spec):
11252 Rewrite without using details of internal string representation.
11253 (x_semi_canonicalize_device_connection): Type correctness.
11256 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11257 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11258 (HAVE_XFREE386): Removed.
11260 * buffer.h (DEC_CHARPTR): `const' correctness.
11261 (bufbyte_strcmp): New.
11262 (bufbyte_memcmp): New.
11264 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11266 * buffer.h (XCHAR_OR_CHAR_INT):
11267 Always use inline function.
11268 Remove redundant type checking assert() - XINT will abort quite nicely.
11270 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11272 * search.c (Freplace_match): Set newtext to an empty string.
11274 2000-10-10 Martin Buchholz <martin@xemacs.org>
11276 * s/decosf1-3.h: Remove #include of stropts.h
11277 * s/ptx.h: Remove #include of stropts.h
11278 * s/usg5-4.h: Remove #include of stropts.h
11281 Use stropts.h, not sys/stropts.h.
11282 Use strtio.h, not sys/strtio.h.
11284 2000-10-04 Martin Buchholz <martin@xemacs.org>
11286 * XEmacs 21.2.36 is released.
11288 2000-09-21 Andy Piper <andy@xemacs.org>
11290 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11291 changes still involve copying the widget tree.
11292 (update_widget_face): make sure a change is register in the widget
11293 tree. Call update_tab_widget_face appropriately.
11294 (update_tab_widget_face): ditto.
11295 (x_tab_control_redisplay): make sure non-structural changes still
11296 involve copying the widget tree.
11298 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11300 * lread.c (locate_file): Check the path element is non-nil.
11302 2000-10-02 Martin Buchholz <martin@xemacs.org>
11304 * lisp.h: Warning suppression for SCO compilers.
11306 * redisplay-tty.c (reset_tty_modes): Fix crash.
11307 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11309 2000-09-27 Martin Buchholz <martin@xemacs.org>
11311 Big signal/process handling overhaul. Bugs fixed:
11312 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11313 M-x comint-kill-subjob should work for both values nil and t of
11314 process-connection-type. It was broken on most platforms.
11315 Testing on Irix and Cygwin still needed. Other plaforms tested.
11316 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11317 * process-unix.c: Signal/Process handling overhaul.
11318 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11319 (allocate_pty): Use all available modern methods of allocating
11320 ptys, falling back to old style BSD allocation as a last resort.
11321 Use allegedly more secure Unix98 pty allocation by default.
11322 (allocate_pty_the_old_fashioned_way): New. the last resort.
11323 (unix_create_process): Push ptem, ldterm, ttcompat where
11324 available. Autoconfiscate.
11325 (try_to_initialize_subtty): New.
11326 (unix_kill_child_process): Proper signal handling for ptys on most
11327 platforms, using special knowledge of AIX, BSD, etc...
11328 (unix_create_process): Always disconnect_controlling_terminal() for
11329 subprocesses, whether using ptys or not.
11330 * process.h: Remove old getpt-dependent PTY code.
11331 * process.c (Fprocess_send_signal): New, obvious generic function.
11332 (decode_signal): New.
11333 (Finterrupt_process):
11337 (Fcontinue_process):
11338 (Fsignal_process): Use decode_signal.
11339 (process_send_signal):
11340 Many docstring corrections.
11341 Allow any signal to be sent to a process object.
11342 * config.h.in: Add symbols for big signal/process overhaul.
11343 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11344 * sysproc.h: Include process-related headers, where available:
11345 sys/stropts.h sys/strtio.h pty.h libutil.h
11353 Remove old S&M pty stuff.
11354 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11355 * systty.h: Simplify cpp hackery, improve comments.
11356 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11358 * editfns.c (Fformat_time_string):
11359 Be a little more paranoid with the return value of ctime.
11361 * fileio.c (check_executable):
11363 Use symbolic constants X_OK, W_OK.
11365 * console-x.c (split_up_display_spec): Fix a warning.
11367 2000-10-02 Martin Buchholz <martin@xemacs.org>
11369 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11370 * ntproc.c (sys_spawnve): make_string ==> build_string
11371 Small clarity improvements.
11373 2000-09-30 Martin Buchholz <martin@xemacs.org>
11375 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11377 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11379 * config.h.in (HAVE_STRCASECMP): Remove.
11381 2000-09-29 Martin Buchholz <martin@xemacs.org>
11383 * redisplay-output.c (redisplay_output_pixmap):
11384 Cleaner and possibly more 64-bit correct code.
11386 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11388 * dumper.c (pdump_load_finish): move restoration of
11389 `noninteractive1' to emacs.c (main_1).
11390 * emacs.c (main_1): protect LISP-visible command-line flags
11393 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11395 * Makefile.in.in (versionclean): Use EXE_TARGET and
11396 DUMP_TARGET instead of literal program names.
11398 2000-09-20 Martin Buchholz <martin@xemacs.org>
11400 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11402 2000-09-19 Martin Buchholz <martin@xemacs.org>
11404 * *: Spelling mega-patch
11406 2000-09-19 Martin Buchholz <martin@xemacs.org>
11408 * fns.c (bad_bad_turtle):
11409 Delete "Eek!" comment, since we fixed the bug to which it refers.
11411 2000-09-16 Martin Buchholz <martin@xemacs.org>
11413 * alloca.c: Replace REGISTER with register.
11415 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11417 * file-coding.c (ucs_to_char): Use countof.
11419 2000-09-16 Martin Buchholz <martin@xemacs.org>
11421 * file-coding.c: (ucs_to_char):
11422 (complex_vars_of_file_coding):
11423 Use countof instead of sizeof.
11424 Use CHECK_NATNUM instead of CHECK_INT.
11426 * sysdep.c (strcasecmp): Remove.
11427 * device-x.c (ascii_strcasecmp): New.
11428 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11429 Avoid using non-standard non-portable strcasecmp.
11431 2000-09-16 Martin Buchholz <martin@xemacs.org>
11433 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11434 * font-lock.c: remove reference to emacsfns.h.
11435 * search.c: small doc improvement.
11436 * event-Xt.c: correct file names in comments.
11437 * console-x.h Correct file names in comments.
11438 * frame.c: Correct file names in comments.
11439 * event-stream.c: remove Energize from comments.
11441 2000-09-15 Martin Buchholz <martin@xemacs.org>
11443 * symeval.h (DEFERROR_STANDARD):
11446 (DEFSYMBOL_NO_DUMP):
11447 (DEFSYMBOL_MULTIWORD_PREDICATE):
11448 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11450 The construct &##name is not sensible C.
11451 Fixes compilation errors with Unixware native compiler.
11453 2000-09-14 Martin Buchholz <martin@xemacs.org>
11455 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11456 (next_frame_internal): Removed. We now just have next_frame.
11458 Write a simpler and cleaner one-pass algorithm.
11459 Remove called_from_delete_device arg and #ifdefed-out code.
11461 Renamed from prev_frame. Update callers.
11462 Cleaned up to have an analogous implementation to next_frame.
11463 (other_visible_frames_internal): Remove the
11464 called_from_delete_device bogus arg, and hence, remove this
11465 function. Just use other_visible_frames().
11467 * window.c (Fnext_window):
11468 Prettify docstring.
11469 Since next_frame() is guaranteed to return a frame, remove check
11470 for nil inserted in previous patch.
11471 (Fprevious_window):
11472 Prettify docstring.
11473 Make code look more like Fnext_window.
11475 Respect the `console' arg when iterating through windows.
11476 Fixes bug: (get-buffer-window buffer t device) not respecting
11478 This function needs more work, as others have pointed out.
11480 * frame.h: Rename prev_frame to previous_frame.
11481 device_matches_console_spec no longer takes a `frame' arg.
11486 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11487 From "Golubev I. N." <gin@mo.msk.ru>.
11489 * make-src-depend: Fix typo.
11491 2000-09-13 Martin Buchholz <martin@xemacs.org>
11493 * window.c (Fnext_window):
11494 next_frame() might return nil, not a frame.
11496 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11498 * frame.c (next_frame_internal):
11499 We've passed a frame if we've passed its device.
11501 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11502 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11504 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11506 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11507 Allow option to suppress accelerators in menu/dialog items.
11508 (populate_or_checksum_helper): Pass dialog title through above.
11510 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11512 * event-msw.c (mswindows_key_to_emacs_keysym):
11513 Add "pause" key, fix "menu" key.
11515 2000-09-09 Martin Buchholz <martin@xemacs.org>
11517 * eval.c (reinit_vars_of_eval):
11518 Increase max_lisp_eval_depth to 1000,
11519 required for thai-xtis.el to byte-compile under some circumstances.
11521 2000-09-04 Martin Buchholz <martin@xemacs.org>
11523 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11524 From Kenichi Handa.
11526 2000-09-01 Martin Buchholz <martin@xemacs.org>
11528 * make-src-depend: Make the generated Makefiles smaller.
11530 * s/hpux.h (SETUP_SLAVE_PTY):
11531 Provide a %d in the format string for the errno argument.
11533 * editfns.c (Ftemp_directory):
11535 Avoid buffer overrun on very long file name.
11537 * input-method-xlib.c (XIM_init_device):
11538 6th parameter of XRegisterIMInstantiateCallback has different
11539 pointer types on different OSes, so simply cast to (void *).
11541 * unexhp9k800.c: Warning fixes. Fiddly changes.
11543 * sysdll.c (dll_open):
11544 shl_load will hang hard if passed a NULL filename.
11545 Simply return NULL for compatibility with dlopen.
11546 * sysdll.c: Conform to XEmacs coding standards.
11548 * sysdep.c (get_pty_max_bytes):
11549 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11551 2000-08-31 Martin Buchholz <martin@xemacs.org>
11553 * tooltalk.c: Add #include <syssignal.h>
11555 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11557 * s/hpux.h: Don't use undefined function sigunblock().
11559 2000-08-31 Martin Buchholz <martin@xemacs.org>
11561 * config.h.in: Add HAVE_BALLOON_HELP.
11562 * emacs.c: Use HAVE_BALLOON_HELP.
11563 * Makefile.in.in (x_objs):
11564 Make Balloon Help conditional on finding shape.h.
11566 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11568 * syntax.c (regex_emacs_buffer_p): New variable.
11569 * syntax.h (regex_emacs_buffer_p): extern.
11570 * search.c (looking_at_1):
11572 (fast_string_match):
11573 (search_buffer): Set regex_emacs_buffer_p.
11574 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11575 when before_dot, at_dot, after_dot.
11577 2000-08-23 Andy Piper <andy@xemacs.org>
11579 * gui-x.c (popup_selection_callback): Only set action_occurred
11580 when we really have an image instance.
11581 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11583 2000-08-23 Andy Piper <andy@xemacs.org>
11585 * gui-msw.c (mswindows_handle_gui_wm_command): set
11587 * gui-x.c (popup_selection_callback): ditto.
11589 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11590 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11591 (struct Lisp_Image_Instance): add action_occurred flag.
11593 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11594 (image_instance_changed): ditto.
11595 (reset_frame_subwindow_instance_cache): only unmap windows - do
11596 not remove them from the cache also.
11598 * glyphs-widget.c (tab_control_update): better debug.
11599 (progress_gauge_update): ditto.
11600 (layout_update): ditto.
11601 (layout_instantiate): ditto.
11602 (tab_control_order_only_changed): cope with null pending items.
11604 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11605 debug. Force selection of an item when an action occurred. Cope
11606 with null pending_items.
11607 (mswindows_progress_gauge_redisplay): better debug.
11608 * glyphs-x.c (x_tab_control_redisplay): ditto.
11610 * redisplay.c (redisplay_frame): reset the frame cache if the
11613 * window.c (Fset_window_configuration): potentially re-enable
11615 (window_unmap_subwindows): need to finalize instances here since
11616 it is only used in mark_window_as_deleted.
11618 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11620 * nas.c (SndOpenDataForReading):
11621 nas.c (WaveOpenDataForReading):
11622 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11623 Somehow escaped from the 2000-08-14 patch.
11625 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11627 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11628 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11630 2000-08-21 Andy Piper <andy@xemacs.org>
11632 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11633 window if it is not already displayed.
11635 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11636 it is not already displayed.
11638 * window.c (Fset_window_configuration): don't reset the frame
11641 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11642 instances from the frame cache if we are actually finalizing them.
11643 (reset_frame_subwindow_instance_cache): reset frame cache only
11644 after unmapping everything.
11645 (map_subwindow): set displayed flag after mapping.
11647 2000-08-21 Martin Buchholz <martin@xemacs.org>
11649 * data.c (indirect_function):
11650 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11652 * eval.c (function_argcount):
11653 Use original function when signaling errors.
11655 2000-08-18 Andy Piper <andy@xemacs.org>
11657 * frame.c (delete_frame_internal): use new
11658 free_frame_subwindow_instances name.
11660 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11661 (add_tab_item): make return type correct.
11662 (mswindows_tab_control_instantiate): assert index of tab.
11663 (mswindows_tab_control_redisplay): Re-code to use
11664 gui_item_equal_sans_selected and gui_item_list_find_selected.
11666 * glyphs-widget.c (tab_control_update): Correct comment.
11668 * window.c (window_unmap_subwindows): use new
11669 unmap_subwindow_instance_cache_mapper.
11670 (window_unmap_subwindows_cache_mapper): deleted.
11671 (Fset_window_configuration): comparisons should now be with
11672 EQ. Preserve the subwindow instance cache across configuration
11674 (allocate_window): ditto.
11675 (make_dummy_parent): ditto.
11677 * glyphs.c (free_frame_subwindow_instances): rename from
11678 free_frame_subwindow_instance_cache. finalize all instances rather
11679 than just those in the display cache.
11680 (finalize_all_subwindow_instances): walk windows unmapping and
11681 finalizing subwindows.
11682 (unmap_subwindow_instance_cache_mapper): moved from
11683 window.c. Allow finalization as well as unmapping.
11685 * gui.c (gui_item_list_find_selected): new function.
11687 * gui.h (gui_item_list_find_selected): declare.
11689 * glyphs-x.c (x_tab_control_redisplay): pick tab
11690 explicitly. Re-code to use gui_item_equal_sans_selected and
11691 gui_item_list_find_selected.
11693 * glyphs-x.h: add lwlib-utils.h
11695 * buffer.c (Frecord_buffer): undo previous change.
11697 2000-08-09 Vin Shelton <acs@xemacs.org>
11699 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11700 possible. Create temporary files more securely. The patch was
11701 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11702 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11703 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11706 2000-08-07 Ben Wing <ben@xemacs.org>
11708 * getloadavg.c: remove duplicate (and windows-breaking)
11709 includes of fcntl.h and sys/file.h.
11711 * nt.c: remove duplicate getloadavg() definition.
11713 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11716 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11718 * eval.c (function_argcount): If function needs to be autoloaded
11719 actually use the loaded definition.
11722 2000-08-05 Ben Wing <ben@xemacs.org>
11724 * getloadavg.c: add prototype for getloadavg(). remove
11725 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11726 of the code). remove duplicate header includes.
11728 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11730 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11731 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11732 useful load average.
11734 * alloc.c (reinit_alloc_once_early): removed references to
11735 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11736 the lisp vars are the only things referencing the malloc_sbrk_*
11737 vars, and they were already if 0'd out. these vars only exist
11738 in the older malloc.c, which is basically unused, and they're
11739 only for informational purposes.
11741 * m\*.h: removed useless VIRT_ADDR_VARIES.
11743 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11745 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11747 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11748 color if the image is a mono pixmap.
11750 2000-07-30 Ben Wing <ben@xemacs.org>
11752 * Makefile.in.in (release):
11755 * buffer.c (directory_is_current_directory):
11756 * dired-msw.c (mswindows_get_files):
11758 * dired.c (Fdirectory_files):
11759 * dired.c (file_name_completion_stat):
11760 * dired.c (Ffile_attributes):
11761 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11762 preprocessor tricks, to avoid problems on some machines
11765 * callproc.c (egetenv): GC docs.
11768 * console-msw.h (struct mswindows_dialog_id):
11769 * lrecord.h (lrecord_type):
11770 New object for use with MSW dialogs.
11772 * console.h (struct console_methods):
11773 New enable/disable frame methods, for proper modal dialogs.
11775 * device-msw.c (msprinter_default_printer): Fix to follow
11776 proper Mule conventions.
11779 * device-msw.c (signal_open_printer_error):
11780 * device-msw.c (msprinter_init_device):
11781 * device-msw.c (ensure_not_printing):
11782 * device-msw.c (plist_get_margin):
11783 * device-msw.c (Fmsprinter_select_settings):
11784 * device-msw.c (finalize_devmode):
11785 * device-msw.c (Fmsprinter_settings_despecialize):
11786 * device-msw.c (signal_enum_priner_error):
11787 * extents.c (decode_extent):
11788 * extents.c (decode_map_extents_flags):
11789 * extents.c (decode_extent_at_flag):
11790 * extents.c (Fextent_at):
11791 * extents.c (Fextents_at):
11792 * extents.c (symbol_to_glyph_layout):
11793 [[[[2]]]] Use structured errors.
11796 * dialog-msw.c (mswindows_is_dialog_msg):
11797 * dialog-msw.c (mark_mswindows_dialog_id):
11798 * dialog-msw.c (dialog_proc):
11799 * dialog-msw.c (handle_question_dialog_box):
11800 * dialog-msw.c (syms_of_dialog_mswindows):
11801 Define new object to clean up marking; use it as a dialog identifier.
11802 Call new delete-dialog-box-hook.
11804 * dialog-x.c (dbox_selection_callback):
11805 * dialog-x.c (dbox_descriptor_to_widget_value):
11806 * dialog-x.c (x_make_dialog_box_internal):
11807 Call new delete-dialog-box-hook.
11811 * dialog.c (syms_of_dialog):
11812 * dialog.c (vars_of_dialog):
11813 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11816 * eval.c (signal_call_debugger):
11817 when noninteractive, output stack traces on the console instead
11818 of in a (never-seen) buffer.
11820 * eval.c (signal_type_error):
11821 * eval.c (invalid_argument_2):
11823 new funs for use w/structured errors.
11826 * event-Xt.c (x_to_emacs_keysym):
11827 * event-Xt.c (describe_event):
11828 * event-Xt.c (emacs_Xt_event_handler):
11829 * event-Xt.c (vars_of_event_Xt):
11831 * event-msw.c (mswindows_wnd_proc):
11832 * event-msw.c (vars_of_event_mswindows):
11833 rename {x,mswindows}-debug-events to debug-{}-events for
11834 consistency with other debug-foo variables.
11837 document next-event more clearly.
11839 * fileio.c (Ffile_name_directory):
11840 * fileio.c (Ffile_name_nondirectory):
11841 * fileio.c (Funhandled_file_name_directory):
11842 * fileio.c (file_name_as_directory):
11843 * fileio.c (Ffile_name_as_directory):
11844 * fileio.c (directory_file_name):
11845 * fileio.c (Fdirectory_file_name):
11846 * fileio.c (Fmake_temp_name):
11847 * fileio.c (Ffile_truename):
11848 * fileio.c (Fsubstitute_in_file_name):
11849 * fileio.c (expand_and_dir_to_file):
11850 * fileio.c (barf_or_query_if_file_exists):
11851 * fileio.c (check_executable):
11852 * fileio.c (Ffile_exists_p):
11853 * fileio.c (Ffile_writable_p):
11854 * fileio.c (Ffile_directory_p):
11855 * fileio.c (Ffile_regular_p):
11856 * fileio.c (Ffile_modes):
11857 * fileio.c (Ffile_newer_than_file_p):
11858 * fileio.c (Fverify_visited_file_modtime):
11859 * fileio.c (Fset_visited_file_modtime):
11860 * fileio.c (auto_save_1):
11865 * frame-msw.c (mswindows_init_frame_1):
11866 * frame-msw.c (mswindows_enable_frame):
11867 * frame-msw.c (error_frame_unsizable):
11868 * frame-msw.c (msprinter_init_frame_1):
11869 * frame-msw.c (msprinter_init_frame_3):
11870 * frame-msw.c (console_type_create_frame_mswindows):
11872 implement new enable/disable frame methods.
11875 * frame-x.c (x_enable_frame):
11876 * frame-x.c (console_type_create_frame_x):
11877 implement new enable/disable frame methods.
11880 * frame.c (Fdisable_frame):
11881 * frame.c (syms_of_frame):
11882 * frame.h (struct frame):
11883 implement new enable/disable frame methods/functions.
11888 * glyphs-msw.c (mswindows_widget_instantiate):
11889 comment that initial-focus should be implemented.
11892 * glyphs-widget.c (check_valid_instantiator):
11893 * glyphs-widget.c (check_valid_orientation):
11894 * glyphs-widget.c (check_valid_tab_orientation):
11895 * glyphs-widget.c (check_valid_justification):
11896 * glyphs-widget.c (check_valid_border):
11897 * glyphs-widget.c (check_valid_callback):
11898 * glyphs-widget.c (check_valid_int_or_function):
11899 * glyphs-widget.c (check_valid_string_or_vector):
11900 * glyphs-widget.c (check_valid_item_list_1):
11901 * glyphs-widget.c (widget_validate):
11902 * glyphs-widget.c (combo_box_validate):
11903 * glyphs-widget.c (widget_instantiate):
11904 * glyphs-widget.c (syms_of_glyphs_widget):
11905 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11906 * glyphs-widget.c (image_instantiator_combo_box):
11907 * glyphs-widget.c (image_instantiator_scrollbar):
11908 * glyphs-widget.c (image_instantiator_tab_control):
11909 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11911 support (unimplemented) keyword initial-focus.
11912 reindent long macros.
11914 * glyphs-x.c (x_redisplay_widget):
11915 * glyphs-x.c (x_button_instantiate):
11916 * glyphs-x.c (x_button_redisplay):
11917 * glyphs-x.c (x_progress_gauge_instantiate):
11918 * glyphs-x.c (x_edit_field_instantiate):
11919 * glyphs-x.c (x_combo_box_instantiate):
11920 * glyphs-x.c (x_tab_control_instantiate):
11921 * glyphs-x.c (x_label_instantiate):
11923 * gui-x.c (button_item_to_widget_value):
11924 * gui-x.c (gui_items_to_widget_values_1):
11925 * gui-x.c (gui_item_children_to_widget_values):
11926 * gui-x.c (gui_items_to_widget_values):
11928 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11929 add new flag to gui-parsing routines to indicate whether
11930 accelerator specs should be supported.
11932 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11934 * glyphs.h (struct Lisp_Image_Instance):
11935 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11936 add initial-focus flag.
11939 * gui.c (syms_of_gui):
11940 * gui.c (vars_of_gui):
11941 clean up menu-no-selection-hook.
11944 support delete-dialog-box-hook.
11946 * lread.c (Fload_internal):
11947 * lread.c (locate_file_in_directory_mapper):
11951 * lrecord.h (struct toolbar_button):
11952 * lrecord.h (syms_of_toolbar):
11953 document how to create a new object.
11955 * menubar-msw.c (mswindows_char_is_accelerator):
11956 may be called on frames w/o menus.
11958 * menubar.c (vars_of_menubar):
11959 clean up :filter docs.
11966 * process-nt.c (validate_signal_number):
11967 * process-nt.c (signal_cannot_launch):
11968 * process-nt.c (nt_create_process):
11969 * process-nt.c (nt_send_process):
11970 * process-nt.c (nt_kill_child_process):
11971 * process-nt.c (nt_open_network_stream):
11972 * process-nt.c (syms_of_process_nt):
11974 delete quote-handling. call new lisp code that does it better.
11976 * process-unix.c (connect_to_file_descriptor):
11977 * process-unix.c (allocate_pty):
11978 * process-unix.c (unix_send_process):
11979 * process-unix.c (unix_kill_child_process):
11980 * process-unix.c (unix_open_network_stream):
11981 * process-unix.c (unix_open_multicast_group):
11985 * process.c (Fstart_process_internal):
11986 (2). need to canonicalize process path even if absolute.
11988 * select-msw.c (symbol_to_ms_cf):
11989 * select-msw.c (ms_cf_to_symbol):
11990 * select-msw.c (cf_is_autofreed):
11991 * select-msw.c (mswindows_destroy_selection):
11993 * select.c (syms_of_select):
11995 support dibv5, fix bugs. (from Mike Alexander)
11997 * select.c (Fget_selection_internal):
11998 * select.c (select_convert_out):
12001 * sysdep.c (xemacs_stat):
12004 * sysdep.c (mkdir):
12005 * sysdep.c (rmdir):
12006 but keep original stat() here because we provide encapsulation
12010 * sysfile.h (fstat):
12011 remove stat garbage.
12014 fix X/MSW conflict.
12015 don't include tchar.h. it's inappropriate because it makes
12016 compile-time distinctions when we want runtime distinctions.
12017 (we provide our own tchar replacements)
12020 use default object printer for toolbar-button.
12023 make sure we don't encapsulate.
12025 * window.c (vars_of_window):
12026 emphasize that temp-buffer-show-hook is obsolete.
12028 2000-08-05 Martin Buchholz <martin@xemacs.org>
12030 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
12031 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
12033 * events.c (Fevent_timestamp_lessp):
12034 Not 64-bit clean. Use EMACS_INT, not int.
12036 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
12038 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
12039 unsigned int and changed the last enum to
12040 lrecord_type_last_built_in_type.
12041 (lrecord_implementations_table): changed prototype to know how
12042 long the array is supposed to be.
12043 (lrecord_type_count): new unsigned int to keep track of the
12044 current number of lisp lrecord types.
12045 (DEFINE_EXTERNAL_LRECORD):
12046 (DECLARE_EXTERNAL_LRECORD): Added these two for external
12047 dynamic-modules to declare new lisp types. They are the same
12048 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
12049 int for each new type, and increment lrecord_type_count by 1.
12051 * alloc.c (lrecord_implementations_table): Changed to reference
12052 lrecord_type_last_built_in_type for the size of the array.
12053 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
12055 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12057 * glyphs.h (check_valid_item_list): Renamed from
12058 check_valid_item_list_1.
12060 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
12062 * select.c (Qselect_coerce): New.
12063 * select.c (Vselection_coercion_alist): New.
12064 * select.c (syms_of_select): Declare.
12065 * select.c (get-selection-internal): Use it.
12066 Use the new select-coerce functionality.
12068 * select.c (select_coerce): New.
12069 * select.h (select_coerce): Declare.
12070 New function to coerce one type of data into another.
12072 2000-08-03 Martin Buchholz <martin@xemacs.org>
12074 * callproc.c (Fcall_process_internal):
12075 (Fcall_process_internal):
12076 * process-unix.c (unix_create_process):
12077 Save and restore the value of errno, so that error messages are accurate.
12079 2000-08-01 Martin Buchholz <martin@xemacs.org>
12081 * elhash.c (print_hash_table):
12082 Fix printing of hash tables to also use `key-and-value' instead of `t'.
12083 Prettify docstrings and indentation.
12085 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
12087 * window.c (Fwindow_pixel_edges): Subtract frame border and
12090 2000-07-31 Andy Piper <andy@xemacs.org>
12092 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
12093 will acknowledge the change.
12095 * glyphs.h: declare tab_control_order_only_changed.
12097 * glyphs-x.c (x_tab_control_redisplay): use
12098 tab_control_order_only_changed.
12100 * glyphs-widget.c (tab_control_order_only_changed): new function.
12102 * glyphs-msw.c (mswindows_tab_control_redisplay): use
12103 tab_control_order_only_changed.
12105 * gui.c (gui_item_equal_sans_selected): new function.
12106 (gui_item_equal): use it.
12108 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12109 :properties in favor of :items..
12111 * glyphs-widget.c (check_valid_item_list): rename from
12112 check_valid_item_list_1.
12113 (check_valid_item_list_1): renamed.
12114 (combo_box_validate): deprecate :properties in favor of :items.
12115 (widget_instantiate): ditto.
12116 (tab_control_update): ditto.
12117 (image_instantiator_combo_box): ditto.
12118 (image_instantiator_tree_view): ditto.
12119 (image_instantiator_tab_control): ditto.
12120 (layout_post_instantiate): remove dead code.
12122 * print.c (debug_print_no_newline): only write to debugger if in
12125 * elhash.c (Fmake_hash_table): update doc string.
12127 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12128 messages whilst in GC. This at least stops XEmacs crashing but has
12129 the potential for wierd behaviour.
12131 2000-07-31 Martin Buchholz <martin@xemacs.org>
12134 Make existence of s&m files optional.
12136 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12137 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12138 * s/gnu.h: Remove HAVE_GETLOADAVG.
12139 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12140 * s/sol2.h: Remove HAVE_GETLOADAVG.
12141 * lisp.h: Remove getloadavg() declaration.
12143 Include <sys/loadavg.h> if available.
12144 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12145 * config.h.in: Group together getloadavg()-related macros.
12146 Use only configure-time tests to detect getloadavg().
12148 2000-07-30 Martin Buchholz <martin@xemacs.org>
12150 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12152 2000-07-25 Andy Piper <andy@xemacs.org>
12154 * syswindows.h: add tchar.h for native builds.
12156 * frame.c (syms_of_frame): remove set-glyph-image.
12158 * general-slots.h: add Qset_glyph_image.
12160 * glyphs-widget.c (layout_update): add domain arg to
12162 (syms_of_glyphs_widget): remove set-glyph-image.
12164 2000-07-23 Ben Wing <ben@xemacs.org>
12166 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12169 2000-07-22 Andy Piper <andy@xemacs.org>
12171 * symsinit.h: add syms_of_win32().
12173 * gui-msw.c (syms_of_gui_mswindows): remove
12174 Fmswindows_shell_execute.
12175 (Fmswindows_shell_execute): moved to win32.c.
12177 * emacs.c (main_1): add syms_of_win32 ().
12179 * win32.c (init_potentially_nonexistent_functions): rewrite in
12180 compiler-friendly terms.
12181 (Fmswindows_shell_execute): move here from gui-msw.c.
12182 (syms_of_win32): new.
12184 * device-msw.c (Fmswindows_printer_list): clean up args to
12186 Don't include tchar under cygwin or mingw.
12187 (msprinter_default_printer): make cygwin-friendly.
12189 2000-07-21 Andy Piper <andy@xemacs.org>
12191 * glyphs-widget.c (image_instantiator_tree_view): use tab
12192 control's update function.
12193 (layout_property): new function. Retrieve items.
12195 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12196 function. Re-populate the tree view from the pending items.
12198 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12199 is designated the parent if the domain is an image instance. This
12200 is needed so that dirtiness can be cascade up the hierarchy and
12201 thus for layout children to be redisplayed correctly.
12202 (allocate_image_instance): rename glyph -> parent.
12204 * redisplay.h: change redisplay_output_layout signature.
12206 * redisplay-msw.c (mswindows_output_display_block): use domain
12209 * redisplay-x.c (x_output_display_block): use domain arg.
12211 2000-07-10 Andy Piper <andy@xemacs.org>
12213 * window.c (Fset_window_configuration): add comment.
12215 * redisplay-output.c (compare_runes):
12216 (redisplay_output_subwindow): redisplay rather than update subwindow.
12217 (redisplay_output_layout): ditto.
12219 * redisplay-msw.c (mswindows_frame_output_end):
12220 (mswindows_frame_output_end): make defer window pos optional.
12222 * lisp.h: add Flast.
12224 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12225 normalize method. Change update method to be for changed
12226 instantiators. Add redisplay method. Change signature of layout
12228 (struct Lisp_Image_Instance): add instantiator.
12229 (IMAGE_INSTANCE_INSTANTIATOR): new.
12230 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12231 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12232 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12235 (find_instantiator_differences): new function.
12236 (Fset_instantiator_property): new convenience function.
12237 (check_image_instance_structure): strictly check for vector
12239 (normalize_image_instantiator): make non-static.
12240 (instantiate_image_instantiator): pass on dest_mask and use new
12241 signatures for image_instance_layout and friends.
12242 (mark_image_instance): mark the instantiator. Mark the subwindow
12243 face not the widget face.
12244 (image_instance_equal): add instantiator.
12245 (image_instance_hash): ditto.
12246 (allocate_image_instance): ditto.
12247 (Fset_image_instance_property): removed.
12248 (Fimage_instance_file_name): ditto.
12249 (Fcolorize_image_instance): ditto.
12250 (image_instance_layout): add offsets to be set.
12251 (update_image_instance): new function. update an image instance
12252 from its changed instantiator.
12253 (inherit_normalize): add dest_mask.
12254 (xbm_normalize): ditto.
12255 (xface_normalize): ditto.
12256 (xpm_normalize): ditto.
12257 (text_update): set_property -> update.
12258 (image_instantiate): use the glyph identity as a hash key, not the
12260 (glyph_width): use new image_instance_layout signature.
12261 (glyph_ascent): ditto.
12262 (glyph_descent): ditto.
12263 (glyph_height): ditto.
12264 (glyph_query_geometry): ressurrect.
12265 (glyph_layout): ditto.
12266 (redisplay_subwindow): update -> redisplay.
12267 (syms_of_glyphs): add Fset_instantiator_property.
12268 (image_instantiator_format_create): set_property -> update.
12271 (autodetect_normalize): add dest_maks to signature.
12272 (x_redisplay_subwindow): update -> redisplay.
12273 (x_redisplay_widget): ditto.
12274 (x_button_redisplay): ditto.
12275 (x_progress_gauge_redisplay): ditto.
12276 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12278 (console_type_create_glyphs_x): update -> redisplay.
12279 (image_instantiator_format_create_glyphs_x): ditto.
12282 (check_valid_instantiator): disallow glyphs in the instantiator,
12283 they must now be vectors.
12284 (check_valid_instantiator_list): ditto.
12285 (glyph_instantiator_to_glyph): use internal symbol rather than
12287 (widget_update): renamed from widget_set_property. Call cascaded
12289 (redisplay_widget): renamed from update_widget.
12290 (widget_layout): image_instance_layout now takes position as well
12292 (widget_normalize): ditto.
12293 (widget_instantiate): ditto.
12294 (tab_control_query_geometry) ditto.:
12295 (tab_control_update): renamed from tab_control_set_property.
12296 (progress_gauge_update): set_property -> update.
12297 (layout_normalize): rewrite so that child instantiators are
12299 (layout_update): new function. Create glyphs from the normalized
12300 children and cope with any other layout keywords. We do not
12301 instantiate children here that will be take care of by
12302 redisplay_output_layout.
12303 (layout_instantiate): call layout_update and not much else.
12304 (layout_post_instantiate): not sure whether this is needed
12306 (layout_query_geometry): query glyph geometry rather than
12307 image_instance geometry.
12308 (layout_layout): set offsets from pass in parameters. Use glyph
12309 geometry and layout functions rather than image instance ones.
12310 (native_layout_layout): ditto.
12311 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12312 (image_instantiator_widget): set_property -> update.
12313 (image_instantiator_buttons): ditto.
12314 (image_instantiator_progress_guage): ditto.
12315 (image_instantiator_tab_control): ditto.
12316 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12317 (image_instantiator_layout): add update method.
12319 * glyphs-msw.c (bmp_normalize):
12320 (mswindows_resource_normalize): add dest_mask so that it can be
12321 proprogated by layout_normalize.
12322 (begin_defer_window_pos): make optional because it may not be the
12323 right thing to do and it introduces differences with X.
12324 (mswindows_unmap_subwindow): ditto.
12325 (mswindows_map_subwindow): ditto.
12326 (mswindows_redisplay_subwindow): renamed from
12327 mswindows_update_subwindow.
12328 (mswindows_redisplay_widget): ditto.
12329 (mswindows_button_redisplay): renamed from
12330 mswindows_button_update. Update is now what the instantiation
12331 function does for a changed instantiator.
12332 (mswindows_progress_gauge_instantiate): set the progress value
12333 here if appropriate.
12334 (mswindows_tab_control_redisplay): cope with re-ordering of the
12335 members of the tab widget by simply selecting the new top
12336 widget. This makes things appear ok if you click on a tab.
12337 (mswindows_combo_box_instantiate): image_instance_layout now takes
12338 position as well as size.
12339 (mswindows_progress_gauge_redisplay): renamed from
12340 mswindows_progress_gauge_update.
12341 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12342 (image_instantiator_format_create_glyphs_mswindows): ditto.
12344 * glyphs-eimage.c (jpeg_normalize):
12347 (tiff_normalize): add dest_mask so that it can be proprogated by
12351 (print_hash_table):
12352 (hash_table_weakness_validate):
12353 (decode_hash_table_weakness):
12354 (Fhash_table_weakness):
12355 (Fhash_table_type):
12356 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12358 * console.h (struct console_methods): move update_* to
12361 2000-07-20 Ben Wing <ben@xemacs.org>
12363 * *.[ch] (XSETOBJ): remove unused middle argument.
12364 lisp-disunion.h: correct wrap_object() to one argument.
12366 2000-07-15 Ben Wing <ben@xemacs.org>
12369 * s/cygwin32.h (CYGWIN_CONV_PATH):
12370 Add missing logb prototype for v1.1.
12371 Use post-b20 names and alias to pre-b20 names when pre-b20.
12373 * s/windowsnt.h: [5].
12375 2000-07-15 Ben Wing <ben@xemacs.org>
12377 * Makefile.in.in (x_objs):
12378 * Makefile.in.in (sheap_objs):
12379 * Makefile.in.in (objs):
12380 added win32.o, cosmetic cleanups.
12382 * alloc.c (Fmake_byte_code):
12383 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12384 etc. macros which declare their own args now.
12386 * alloc.c (syms_of_alloc):
12387 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12390 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12392 * buffer.c (Fget_file_buffer):
12393 Fixed GCPRO problem.
12395 * buffer.c (get_truename_buffer):
12396 Fixed comment about GC checking.
12398 * buffer.c (syms_of_buffer):
12399 Undeclared those dedicated frame funs.
12403 Define convenience macros for internal/external conversions.
12404 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12405 and Qenvironment_variable_encoding for cleaner code.
12408 Remove dedicated-frame; in lisp.
12410 * bytecode.c (funcall_compiled_function):
12413 * bytecode.c (syms_of_bytecode):
12417 * console-msw.c (mswindows_show_console): Rewrote.
12419 * console-msw.c (Fmswindows_debugging_output): New.
12420 Sends to OutputDebugString (special MSWin debugger interface).
12422 * console-msw.c (Fmswindows_message_box):
12423 Fixed stupid bugs so it works when called from kill-emacs.
12425 * console-msw.c (syms_of_console_mswindows):
12426 Declare Fmswindows_debugging_output.
12429 New MSWin prototypes.
12431 * console-msw.h (struct mswindows_frame):
12432 New entry last-click-mods for improved button-modifier support.
12434 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12435 New struct entry `popup' with corresponding accessor.
12438 * console-x.c (split_up_display_spec):
12439 * console-x.c (get_display_arg_connection):
12440 * console-x.c (x_semi_canonicalize_console_connection):
12441 * console-x.c (x_canonicalize_device_connection):
12442 [[[6]]]: Change char to more specific type.
12443 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12445 * console-x.c (x_semi_canonicalize_console_connection):
12446 * console-x.c (x_canonicalize_device_connection):
12447 [[[9]]]: Fix up error signalling to use new structured error system.
12450 [[[4]]]: Define codesys aliases:
12451 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12452 Qx_color_name_encoding, Qx_display_name_encoding.
12454 * console.h (struct console_methods):
12455 New method make_dialog_box_internal supersedes older
12456 popup_dialog_box method.
12459 Define many new errors, part of new structured errors.
12461 * data.c (init_errors_once_early):
12462 * data.c (syms_of_data):
12465 * device-msw.c (mswindows_init_device):
12466 [[[5]]]: Cleanup to support NT 3.51.
12468 * device-msw.c (decode_devmode): Cleanup.
12470 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12471 * device-msw.c (mswindows_handle_print_dialog_box):
12472 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12473 * device-msw.c (syms_of_device_mswindows):
12474 Delete the dialog box primitives recently introduced by Kirill and
12475 instead interface to general dialog box interface.
12478 * device-x.c (compute_x_app_name):
12479 * device-x.c (x_init_device):
12480 * device-x.c (Fx_valid_keysym_name_p):
12481 * device-x.c (Fx_set_font_path):
12485 * device.h (wrap_device): New.
12486 First of its kind; meant to replace XSETDEVICE.
12488 * dialog-msw.c: Many file-dialog symbols.
12490 * dialog-msw.c (mswindows_register_popup_frame): New.
12491 * dialog-msw.c (mswindows_is_dialog_msg): New.
12492 For supporting kbd traversal in dialog boxes.
12494 * dialog-msw.c (dialog_proc):
12495 Support hitting ESC in dialogs.
12497 * dialog-msw.c (struct):
12498 Common dialog box errors.
12500 * dialog-msw.c (handle_file_dialog_box): New.
12501 Add file dialog code.
12503 * dialog-msw.c (handle_question_dialog_box):
12504 Redo existing code to support new question dialog syntax.
12506 * dialog-msw.c (console_type_create_dialog_mswindows):
12507 We support new dialog console method.
12509 * dialog-msw.c (syms_of_dialog_mswindows):
12510 * dialog-msw.c (vars_of_dialog_mswindows):
12511 New file dialog symbols, vars.
12514 * dialog-x.c (maybe_run_dbox_text_callback):
12515 * dialog-x.c (dbox_descriptor_to_widget_value):
12516 * dialog-x.c (x_make_dialog_box_internal):
12517 * dialog-x.c (console_type_create_dialog_x):
12518 Mule-ize entire file.
12519 Redo to support question dialog syntax.
12523 * dialog.c (Fmake_dialog_box_internal):
12524 * dialog.c (syms_of_dialog):
12525 Kill old popup-dialog-box, replace with new primitive.
12526 Just call device method or signal error.
12528 * eldap.c (Fldap_open):
12529 * eldap.c (Fldap_search_basic):
12530 * eldap.c (Fldap_add):
12531 * eldap.c (Fldap_modify):
12536 * emacs.c (make_arg_list_1):
12537 * emacs.c (make_arg_list):
12538 Mule-ize call to dll_init().
12542 * emacs.c (make_argc_argv):
12543 * emacs.c (free_argc_argv):
12544 * emacs.c (init_cmdargs):
12545 * emacs.c (main_1):
12546 * emacs.c (Fkill_emacs):
12547 * emacs.c (Fdump_emacs):
12548 Update comments about what can be used in syms_* etc.
12549 Call init_win32() when necessary.
12550 Fix up MS Win dialog box in kill-buffer to actually work right.
12561 * eval.c (condition_case_3):
12563 * eval.c (function_argcount):
12564 * eval.c (funcall_lambda):
12567 * eval.c (type_error): New.
12568 * eval.c (maybe_type_error): New.
12569 * eval.c (continuable_type_error): New.
12570 * eval.c (maybe_continuable_type_error): New.
12571 * eval.c (type_error_with_frob): New.
12572 * eval.c (maybe_type_error_with_frob): New.
12573 * eval.c (continuable_type_error_with_frob): New.
12574 * eval.c (maybe_continuable_type_error_with_frob): New.
12575 New functions for use with structured errors.
12578 * event-Xt.c (x_event_to_emacs_event):
12579 Buttons are now modifiers too.
12581 * event-Xt.c (emacs_Xt_current_event_timestamp):
12582 Implement new event method.
12583 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12586 * event-msw.c (ntpipe_shove_writer): [5].
12587 * event-msw.c (mswindows_enqueue_mouse_button_event):
12588 * event-msw.c (mswindows_drain_windows_queue):
12589 * event-msw.c (mswindows_wnd_proc): [7].
12590 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12591 * event-msw.c (mswindows_modifier_state):
12592 Throughout: support new button modifiers.
12594 * event-msw.c (emacs_mswindows_current_event_timestamp):
12595 Implement new event method.
12596 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12599 * event-stream.c (event_stream_current_event_timestamp): New.
12600 * event-stream.c (maybe_kbd_translate): New functionality.
12601 * event-stream.c (vars_of_event_stream):
12602 Document new kbd-translate-table functionality.
12604 * event-stream.c (Fcurrent_event_timestamp): New.
12605 New primitive for use in fabricated events.
12606 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12608 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12611 * events.c (Fmake_event):
12612 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12616 * events.c (format_event_object): fix gcc warnings.
12618 * events.c (Fevent_timestamp): Document new primitives.
12620 * events.c (TIMESTAMP_HALFSPACE): New.
12622 * events.c (Fevent_timestamp_lessp): New. New primitive for
12623 comparing timestamps correctly (half-space algorithm).
12625 * events.c (Fevent_modifier_bits): Doc fix.
12627 * events.c (Fevent_modifiers): Major doc addition.
12628 * events.c (event_x_y_pixel_internal): Typo fix.
12629 * events.c (syms_of_events): Declare new primitives.
12632 Update long comment for button modifiers, timestamps.
12634 * events.h (struct event_stream):
12635 New current_event_timestamp method.
12638 * extents.c (extent_in_region_p):
12639 * extents.c (decode_extent):
12640 * extents.c (Fset_extent_parent):
12641 * extents.c (decode_map_extents_flags):
12645 * extents.c (struct extent_at_arg):
12646 * extents.c (decode_extent_at_flag):
12647 * extents.c (extent_at_mapper):
12648 * extents.c (extent_at_bytind):
12649 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12650 * extents.c (Fextents_at): New primitive. [9].
12651 * extents.c (symbol_to_glyph_layout): [9].
12652 Support new primitive `extents-at'.
12655 * extents.c (get_text_property_bytind):
12656 extent_at_bytind has another arg.
12659 * extents.c (syms_of_extents): New primitive.
12661 * file-coding.c (Fmake_coding_system): [1].
12662 * file-coding.c (subsidiary_coding_system): fix gcc warning
12663 * file-coding.c (syms_of_file_coding): [2].
12665 * fileio.c (Fexpand_file_name):
12666 * fileio.c (Fsysnetunam):
12667 * fileio.c (Ffile_exists_p):
12668 * fileio.c (Ffile_executable_p):
12669 * fileio.c (Fverify_visited_file_modtime):
12672 * fileio.c (syms_of_fileio): [2].
12674 * filelock.c (lock_file_1):
12675 * filelock.c (current_lock_owner):
12676 * filelock.c (lock_if_free):
12677 * filelock.c (lock_file):
12678 * filelock.c (unlock_file):
12681 * fns.c (concat): Fix gcc warning.
12684 * fns.c (Fold_member):
12686 * fns.c (Fold_memq):
12687 * fns.c (memq_no_quit):
12689 * fns.c (Fold_assoc):
12691 * fns.c (Fold_assq):
12692 * fns.c (assq_no_quit):
12694 * fns.c (Fold_rassoc):
12696 * fns.c (Fold_rassq):
12697 * fns.c (rassq_no_quit):
12699 * fns.c (Fold_delete):
12701 * fns.c (Fold_delq):
12702 * fns.c (delq_no_quit):
12703 * fns.c (Fremassoc):
12704 * fns.c (Fremassq):
12705 * fns.c (remassq_no_quit):
12706 * fns.c (Fremrassoc):
12707 * fns.c (Fremrassq):
12708 * fns.c (remrassq_no_quit):
12709 * fns.c (Freverse):
12713 * frame-msw.c (mswindows_init_frame_1):
12714 * frame-msw.c (mswindows_delete_frame):
12715 Register popups with dialog code so keyboard traversing works.
12717 * frame-tty.c (tty_raise_frame_no_select): [1].
12720 * frame-x.c (x_set_frame_text_value):
12721 * frame-x.c (x_set_frame_properties):
12722 * frame-x.c (x_create_widgets):
12726 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12728 * frame.h (wrap_frame): New.
12729 Macro like wrap_device.
12732 * general.c (SYMBOL):
12733 * general.c (syms_of_general):
12734 Major reorg. This is now just a wrapper and symbols themselves
12735 are listed in general-slots.h.
12737 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12738 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12740 * glyphs-msw.c (mswindows_native_layout_instantiate):
12741 Add DS_CONTROL so keyboard traversal will work.
12744 * glyphs-widget.c (syms_of_glyphs_widget):
12745 Move some symbols to general-slots.h.
12748 * glyphs-x.c (xbm_instantiate_1):
12749 * glyphs-x.c (x_xbm_instantiate):
12750 * glyphs-x.c (x_xface_instantiate):
12751 * glyphs-x.c (autodetect_instantiate):
12752 * glyphs-x.c (cursor_font_instantiate):
12753 * glyphs-x.c (x_update_widget):
12754 * glyphs-x.c (x_widget_instantiate):
12755 * glyphs.c (bitmap_to_lisp_data):
12756 * glyphs.c (pixmap_to_lisp_data):
12759 * glyphs.c (syms_of_glyphs):
12763 * gui-x.c (print_widget_value):
12764 * gui-x.c (menu_separator_style_and_to_external):
12765 * gui-x.c (add_accel_and_to_external):
12766 * gui-x.c (button_item_to_widget_value):
12767 * gui-x.c (gui_items_to_widget_values_1):
12768 * gui-x.c (gui_items_to_widget_values):
12769 * gui-x.c (syms_of_gui_x):
12770 * gui-x.c (vars_of_gui_x):
12771 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12775 Muleize, prototype changes matching gui-x.c.
12778 * gui.c (separator_string_p):
12779 * gui.c (gui_item_add_keyval_pair):
12780 * gui.c (make_gui_item_from_keywords_internal):
12781 * gui.c (signal_too_long_error):
12782 * gui.c (parse_gui_item_tree_item):
12783 * gui.c (syms_of_gui):
12784 * gui.c (vars_of_gui):
12786 menu-no-selection-hook moved here (used by MSWin).
12787 Move some symbols to general-slots.h.
12791 * insdel.c (get_buffer_pos_char):
12792 * insdel.c (get_buffer_range_char):
12795 * keymap.c (keymap_lookup_directly):
12796 * keymap.c (keymap_store):
12797 * keymap.c (ensure_meta_prefix_char_keymapp):
12798 * keymap.c (describe_map):
12800 Support new button modifiers.
12802 * lisp-disunion.h (wrap_object):
12803 * lisp-disunion.h (XSETOBJ):
12804 Rename make_obj to wrap_object.
12807 * lisp-union.h (make_int):
12808 * lisp-union.h (make_char):
12809 Support wrap_object.
12812 * lisp.h (LIST_LOOP):
12813 * lisp.h (EXTERNAL_LIST_LOOP):
12814 * lisp.h (LIST_LOOP_2):
12815 * lisp.h (EXTERNAL_LIST_LOOP_1):
12816 * lisp.h (EXTERNAL_LIST_LOOP_2):
12817 * lisp.h (EXTERNAL_LIST_LOOP_3):
12818 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12819 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12820 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12821 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12822 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12823 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12824 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12825 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12826 * lisp.h (struct Lisp_Symbol):
12827 * lisp.h (maybe_continuable_error_with_frob):
12828 Fix up section comments.
12829 Add new types for char to indicate usage.
12830 Delete symbols auto-generated from general-slots.h.
12831 Add prototypes for structured error functions.
12832 Add long comments describing looping macros and change interface
12833 so that lvalues are automatically declared.
12834 Add NO_DECLARE macro in case callers want to declare lvalues
12837 * lread.c (read_syntax_error):
12838 * lread.c (continuable_read_syntax_error):
12839 * lread.c (read_structure):
12840 * lread.c (sequence_reader):
12841 * lread.c (read_list_conser):
12842 * lread.c (read_compiled_function):
12843 Rename syntax_error and continuable_syntax_error to avoid clash
12844 with same-named structured error functions.
12846 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12847 * menubar-msw.c (populate_menu_add_item):
12848 * menubar-msw.c (populate_or_checksum_helper):
12853 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12854 Mule-ize whole file.
12856 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12858 * mule-charset.c (Fmake_charset):
12859 * mule-wnnfns.c (Fwnn_set_param):
12862 * ntproc.c (create_child):
12863 * ntproc.c (Fwin32_set_current_locale):
12864 Add comments portending doom.
12867 * objects-msw.c (old_font_enum_callback_2):
12868 * objects-msw.c (font_enum_callback_1):
12869 * objects-msw.c (mswindows_enumerate_fonts):
12873 * objects-x.c (allocate_nearest_color):
12874 * objects-x.c (x_parse_nearest_color):
12875 * objects-x.c (x_initialize_color_instance):
12876 * objects-x.c (x_print_color_instance):
12877 * objects-x.c (x_finalize_color_instance):
12878 * objects-x.c (x_valid_color_name_p):
12879 * objects-x.c (x_initialize_font_instance):
12880 * objects-x.c (x_print_font_instance):
12881 * objects-x.c (valid_x_font_name_p):
12882 * objects-x.c (truename_via_FONT_prop):
12883 * objects-x.c (truename_via_random_props):
12884 * objects-x.c (truename_via_XListFonts):
12885 * objects-x.c (x_font_truename):
12886 * objects-x.c (x_font_instance_truename):
12887 * objects-x.c (x_font_instance_properties):
12888 * objects-x.c (x_list_fonts):
12889 * objects-x.c (x_find_charset_font):
12890 Mule-ize entire file.
12897 * print.c (std_handle_out_external):
12898 * print.c (debug_print_no_newline):
12899 * print.c (syms_of_print):
12900 Output to all debugger kinds in debug-print.
12901 Fix console-output code under MSWin to actually work.
12903 * process-nt.c (send_signal):
12904 * process-nt.c (nt_create_process):
12905 Use newer Unicode macros.
12907 * process-unix.c (unix_create_process):
12908 * process-unix.c (unix_canonicalize_host_name):
12909 * process-unix.c (unix_open_network_stream):
12915 * search.c (syms_of_search):
12918 * select-msw.c (mswindows_destroy_selection):
12921 * select-x.c (symbol_to_x_atom):
12924 * select.c (syms_of_select):
12927 * sound.c (Fplay_sound_file):
12931 * specifier.c (decode_specifier_type):
12932 * specifier.c (Fvalid_specifier_locale_type_p):
12933 * specifier.c (check_valid_locale_or_locale_type):
12934 * specifier.c (decode_locale):
12935 * specifier.c (decode_locale_type):
12936 * specifier.c (decode_locale_list):
12937 * specifier.c (check_valid_domain):
12938 * specifier.c (decode_specifier_tag_set):
12939 * specifier.c (Fcanonicalize_tag_set):
12940 * specifier.c (Fdefine_specifier_tag):
12941 * specifier.c (Fspecifier_tag_predicate):
12942 * specifier.c (check_valid_inst_list):
12943 * specifier.c (check_valid_spec_list):
12944 * specifier.c (decode_how_to_add_specification):
12945 * specifier.c (check_modifiable_specifier):
12946 * specifier.c (specifier_add_spec):
12947 * specifier.c (boolean_validate):
12948 * specifier.c (display_table_validate):
12951 * specifier.c (syms_of_specifier):
12952 Move some symbols to general-slots.h.
12956 * symbols.c (Fmapatoms):
12957 * symbols.c (Fapropos_internal):
12960 * symbols.c (set_default_buffer_slot_variable):
12961 * symbols.c (set_default_console_slot_variable):
12964 * symbols.c (defsymbol_massage_name_1):
12965 * symbols.c (defkeyword_massage_name):
12966 * symbols.c (deferror_1):
12967 * symbols.c (deferror):
12968 * symbols.c (deferror_massage_name_and_message):
12970 * symeval.h (DEFSYMBOL):
12971 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12973 * symbols.c (syms_of_symbols):
12977 * symsinit.h (init_win32): New.
12978 Also new is syms_of_dialog_mswindows.
12981 Add new Unicode macros, missing Cygwin wide-char functions,
12982 convenience conversion macros for Qmswindows_tstr, macros for
12983 encapsulating required MSWin <-> Cygwin filename conversions,
12984 prototype for dynamically-extracted (not in NT 3.51) functions.
12989 * tooltalk.c (Fadd_tooltalk_message_arg):
12990 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12991 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12994 * tooltalk.c (syms_of_tooltalk):
12998 * unexnt.c (unexec):
12999 Fix up headers, declaration of unexec() to be more standard.
13001 2000-07-20 Martin Buchholz <martin@xemacs.org>
13003 * offix.h: Revert change to guard macros - they're used in offix.c!
13005 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13007 * lisp.h: Defsubred Fdelete.
13009 * console-msw.h: (msprinter_default_printer): Added.
13011 * console-msw.c (msprinter_canonicalize_console_connection):
13012 (msprinter_canonicalize_device_connection): Added.
13014 * device-msw.c (msprinter_default_printer):
13015 (Fmswingows_get_default_printer):
13016 (signal_enum_priner_error):
13017 (Fmswingows_printer_list): Added.
13019 2000-07-19 Martin Buchholz <martin@xemacs.org>
13021 * XEmacs 21.2.35 is released.
13023 2000-07-19 Martin Buchholz <martin@xemacs.org>
13025 * select-x.c (x_handle_selection_request):
13026 Text selected in xemacs and pasted into xterm failed to appear.
13027 Spelling fixes and cosmetic changes.
13029 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13031 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
13032 XEmacs frame (fix for doubling chars in dialog boxes).
13034 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13036 * select.c (select_convert_in, select_convert_out):
13037 Don't call intern() every time.
13039 * select.c (Qselect_convert_in, Qselect_convert_out): New.
13040 * select.c (vars_of_select): Initialise them.
13042 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13044 * select.c (selection-coercible-types): New.
13046 * select.c (own-selection-internal):
13047 * select.c (get-selection-internal):
13048 MULE bug fix - these should default to COMPOUND_TEXT and not
13049 STRING for MULE. I think.
13051 * select.c (select_convert_out): Use selection-coercible-types
13052 to find types that we can attempt to perform coercions on.
13054 2000-07-18 Martin Buchholz <martin@xemacs.org>
13058 Add coding: cookie to identify encoding.
13060 * mule-canna.c (CANNA_mode_keys): make static.
13061 Use proper prototypes, even for functions of no arguments.
13062 Remove external prototype for Fding().
13064 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
13066 * select.c (syms_of_select): Add missing DEFSUBR.
13068 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13070 * select.c (get_selection_internal, own_selection_internal):
13071 Make the type default to STRING, rather than placing a nil type
13072 into Vselection_alist.
13074 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13076 * gpmevent.c (tty_selection_exists_p):
13077 * gpmevent.c (tty_own_selection):
13078 Updated parameter lists.
13080 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
13082 * select.h (selection-alist): Removed declaration.
13084 * select.h (get_local_selection):
13085 * select.c (get_local_selection):
13088 * select.h (convert_selection): Removed declaration.
13089 * select.c (convert_selection): Removed.
13090 This function belongs in Lisp.
13092 * select.h (select_convert_in): Declare.
13093 * select.h (select_convert_out): Declare.
13094 * select.c (select_convert_in): New.
13095 * select.c (select_convert_out): New.
13096 New conversion functions for other files to call.
13098 * select.h (select_notify_buffer_kill): Declare.
13099 * select.c (select_notify_buffer_kill): New.
13100 New functions that get called from kill-buffer.
13102 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
13103 X-specific lisp code.
13105 * select.h: Declare some of the lisp-visible functions for
13108 * select.c (clean_local_selection_data): Removed. This was
13109 a disgusting function, and previously should have been in
13110 select-x.c in any case. The functionality is now provided
13111 in select-convert-from-integer (select.el).
13113 * select.c (available-selection-types): Fixed stupidity where
13114 INTEGER and ATOM got added twice. Also add STRING when we see an
13117 * select.c (get-selection-internal): Removed symbol stripping. No
13118 longer causes conversion when data comes from the internal cache.
13120 * select.c (syms_of_select): Added new functions.
13122 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13123 error checking - previously this called abort!
13125 * select-x.c (x_own_selection): Changed comment.
13127 * select-x.c (x_handle_selection_request): Use select_convert_out.
13128 Don't mess with selection-alist; it's an internal variable of select.c.
13130 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13132 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13133 rather than messing with selection-alist.
13135 * select-msw.c (mswindows_get_foreign_selection):
13136 Use TO_INTERNAL_FORMAT rather than hacking.
13138 2000-07-14 Martin Buchholz <martin@xemacs.org>
13140 * process-unix.c (unix_open_multicast_group):
13141 (unix_open_multicast_group): Remove useless casts.
13143 2000-07-13 Martin Buchholz <martin@xemacs.org>
13145 * sound.c (Fplay_sound): Fix `unused variable' warning.
13147 * emacs.c (main): Use correct type for _environ on SCO5.
13149 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13151 * console.h (own_selection_method):
13152 * console.h (selection_exists_p_method):
13153 * console.h (available_selection_types_method): New.
13154 * console.h (register_selection_data_type_method): New.
13155 * console.h (selection_data_type_name): New.
13157 * console-msw.h (mswindows_destroy_selection): Declare it. New
13158 function & alist to track GlobalAlloc()'d handles that need
13159 releasing when the clipboard data gets replaced or emptied.
13161 * event-msw.c (mswindows_wnd_proc): Call it.
13163 * lisp.h, general.c (Qappend): New symbol representing a
13166 * select.c (own-selection-internal):
13167 * select.c (selection-exists-p):
13168 * select.c (available-selection-types): New.
13169 * select.c (register-selection-data-type): New.
13170 * select.c (selection-data-type-name): New. New functions to deal
13171 with device-specific selection data formats.
13172 * select.c (selection-converter-out-alist): Renamed.
13173 * select.c (selection-converter-in-alist): New.
13174 * select.c (selection-appender-alist): New. Added new alists.
13175 * select.c (syms_of_select, vars_of_select): Added new symbols &
13177 * select.c (get_local_selection): Split.
13178 * select.c: Removed spurious type checking - selections may now be
13179 of any type, not just strings.
13180 * select.c (own-selection-internal):
13182 * select.h, select.c (convert_selection): New. Created
13183 convert_selection() function based on get_local_selection().
13184 * select.h, select.c (QCF_*): New symbols representing mswindows
13186 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13187 symbols representing `how-to-add' modes.
13189 * select-msw.c (x_sym_p): New.
13190 * select-msw.c (symbol_to_ms_cf): New.
13191 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13192 symbols & clipboard formats. Can also handle string names.
13193 * select-msw.c (mswindows_own_selection):
13194 * select-msw.c (mswindows_selection_exists_p):
13195 Added `data-type' parameter. Use it.
13196 * select-msw.c (mswindows_available_selection_types): New.
13197 * select-msw.c (mswindows_register_selection_data_type): New.
13198 * select-msw.c (mswindows_selection_data_type_name): New.
13199 * select-msw.c (mswindows_own_selection):
13200 * select-msw.c (mswindows_get_foreign_selection):
13201 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13202 * select-msw.c (console_create_select_mswindows): Added new methods.
13203 * select-msw.c (mswindows_destroy_selection): New.
13204 * select-msw.c (Vhandle_alist): New list.
13205 * select-msw.c (mswindows_own_selection):
13207 * select-x.c (x_own_selection):
13208 * select-x.c (x_selection_exists_p):
13209 * select-x.c: Added some comments about maybe using new
13211 * select-x.c (x_own_selection):
13213 * specifier.c: Remove definition of Qappend (now in general.c)
13214 * specifier.c (syms_of_specifier): Remove Qappend.
13216 2000-07-12 Martin Buchholz <martin@xemacs.org>
13218 * config.h.in: Add socklen_t.
13220 * s/decosf4-0.h: No special compiler flags needed or desired.
13221 In particular, undefine _BSD for DEC OSF 4.0.
13223 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13225 * redisplay-msw.c (msprinter_frame_output_end): Added.
13226 (console_type_create_redisplay_mswindows): Referred the above.
13228 * frame.c (setup_frame_without_minibuffer): Do not create a
13229 default minibuffer frame on a printer device.
13231 * frame-msw.c (apply_dc_geometry): Added.
13232 (msprinter_start_page):
13233 (msprinter_init_frame_3):
13234 (msprinter_eject_page): Use it.
13236 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13237 and removed residual duplex and orientation properties.
13239 2000-07-11 Martin Buchholz <martin@xemacs.org>
13241 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13243 * unexalpha.c: Remove system prototypes from C sources!
13245 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13247 * eval.c: Remove references to M-x edit-options in DEFUNs for
13248 `defvar' and `defconst'.
13250 2000-07-09 Martin Buchholz <martin@xemacs.org>
13252 * config.h.in: Remove SMART_INCLUDE hackery.
13254 PostgreSQL hacking:
13255 * config.h.in: Don't use SMART_INCLUDE.
13257 * postgresql.h: Include libpq-fe.h here. Fix typo.
13258 * inline.c: Simply #include "postgresql.h"
13260 - Don't use SMART_INCLUDE
13261 - Use simply "const".
13262 - Use standard doc string conventions.
13263 - Use correct type for result of PQstatus.
13265 2000-07-09 Martin Buchholz <martin@xemacs.org>
13267 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13269 C++ compilation changes.
13270 * config.h.in (EXTERN_C): Define.
13271 * config.h.in (not): This is also a C++ keyword.
13272 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13273 * cm.c: Use EXTERN_C.
13274 * redisplay-tty.c: Use EXTERN_C.
13275 * sysdep.c: Use EXTERN_C. Remove Gould support.
13277 2000-07-09 Martin Buchholz <martin@xemacs.org>
13279 * general.c: Remove duplicate definition for Qfunction.
13281 2000-07-08 Ben Wing <ben@xemacs.org>
13283 * device-msw.c (msprinter_init_device):
13284 * device-msw.c (sync_printer_with_devmode):
13285 * device-msw.c (handle_devmode_changes):
13286 * device-msw.c (print_dialog_worker):
13287 * device-msw.c (Fmsprinter_apply_settings):
13288 * device-msw.c (hash_devmode):
13289 * device-msw.c (Fmsprinter_settings_despecialize):
13290 use Qmswindows_tstr, not Qctext.
13292 * vm-limit.c (check_memory_limits):
13293 avoid infinite loop printing warning messages.
13295 2000-07-05 Craig Lanning <lanning@scra.org>
13297 * Makefile.in.in: Add support for including the Windows resources
13298 when building with the cygwin and mingw targets.
13300 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13301 not set or not correct.
13302 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13303 (init_initial_directory): Don't try to use $PWD on the
13304 WIN32_NATIVE target.
13307 [[Add -mwindows to eliminate console window.]] not required --ben
13308 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13309 (MAIL_USE_POP): removed; now handled by configure.
13311 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13312 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13313 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13314 (MAIL_USE_POP): removed; now handled by configure.
13315 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13316 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13317 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13319 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13320 up from <winsock.h> via systime.h.
13321 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13322 (getpagesize): from Dan Holmsand, added.
13323 Added #endif which was left dangling by Ben's mega patch; added
13324 comment to help prevent this in the future.
13326 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13328 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13330 * console-msw.h (struct mswindows_device): Removed unnecessary
13331 cached device geometry values.
13332 Added update_tick and an accessor macro.
13333 (Lisp_Devmode): Added lrecord declaration.
13334 (struct msprinter_device): Contain devmode as a Lisp object.
13335 Added mswindows_get_selected_frame_hwnd();
13337 * console.h (struct console_methods): Indentation nitpicking.
13339 * device-msw.c (mswindows_init_device): Do not initialize geometry
13340 cache. Initialize update tick.
13341 (mswindows_device_system_metrics): Ask the device for its geometry.
13342 (global_free_2_maybe):
13343 (devmode_to_hglobal):
13344 (handle_printer_changes):
13345 (ensure_not_printing):
13346 (print_dialog_worker):
13347 (Fmsprinter_print_setup_dialog):
13348 (Fmsprinter_print_dialog):
13349 (plist_get_margin):
13350 (plist_set_margin):
13351 (Fmsprinter_page_setup_dialog): Added functions.
13352 (sync_printer_with_devmode):
13353 (handle_devmode_changes):
13354 (Fmsprinter_get_settings):
13355 (Fmsprinter_select_settings):
13356 (Fmsprinter_apply_settings):
13357 (allocate_devmode):
13358 (Fmsprinter_settings_copy):
13359 (Fmsprinter_settings_despecialize):
13361 (finalize_devmode):
13363 (hash_devmode): Added functions
13364 (syms_of_device_mswindows): Init devmode lrecord class.
13366 * device.h: Added an exfun for find-device.
13368 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13369 geometry; although, recreate the device compatible DC.
13371 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13372 (msprinter_init_frame_3):
13373 (msprinter_frame_property):
13374 (msprinter_internal_frame_property_p):
13375 (msprinter_frame_properties):
13376 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13377 print job properties (will move to device settings).
13379 * lisp.h: Added symbols.
13381 * general.c (syms_of_general): Declared them.
13383 * hash.c (string_hash): Added.
13385 * lrecord.h (lrecord_type): Added devmode lrecord type.
13387 2000-07-02 Mike Sperber <mike@xemacs.org>
13389 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13392 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13394 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13397 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13399 * data.c (Fstring_to_number): Don't recognize floating point if
13402 2000-06-22 Martin Buchholz <martin@xemacs.org>
13404 * glyphs-widget.c (tab_control_query_geometry):
13405 (widget_query_geometry):
13406 (button_query_geometry):
13407 * glyphs.c (text_query_geometry):
13408 Enforce type correctness.
13410 2000-06-18 Martin Buchholz <martin@xemacs.org>
13412 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13413 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13415 2000-06-17 Martin Buchholz <martin@xemacs.org>
13417 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13418 conflicts with gcc's fixincluded version of FOO.h.
13420 * glyphs.h (image_instance_geometry): Remove trailing `,'
13422 2000-06-08 Mike Alexander <mta@arbortext.com>
13424 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13425 (shove_thread): Don't write the same output twice
13426 (make_ntpipe_output_stream): Increase priority of shove thread
13427 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13429 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13432 2000-06-12 Ben Wing <ben@xemacs.org>
13434 * s\mingw32.h (sigset):
13435 * s\windowsnt.h (sigset):
13436 rename msw_ to mswindows_ for consistency with general convention.
13438 2000-06-12 Ben Wing <ben@xemacs.org>
13441 * console-msw.c (mswindows_get_console_hwnd):
13442 * console-msw.c (mswindows_ensure_console_allocated):
13443 * console-msw.c (mswindows_hide_console):
13444 * console-msw.c (mswindows_show_console):
13445 * console-msw.c (mswindows_ensure_console_buffered):
13446 * console-msw.c (mswindows_output_console_string):
13447 * console-msw.c (mswindows_windows9x_p):
13449 * device-msw.c (mswindows_get_workspace_coords):
13450 * device-msw.c (mswindows_device_system_metrics):
13451 * dialog-msw.c (mswindows_popup_dialog_box):
13452 * event-msw.c (mswindows_wnd_proc):
13453 * frame-msw.c (mswindows_size_frame_internal):
13454 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13455 * menubar-msw.c (displayable_menu_item):
13456 * menubar-msw.c (mswindows_char_is_accelerator):
13458 * nt.c (mswindows_sigset):
13459 * nt.c (mswindows_sigrelse):
13460 * nt.c (mswindows_sigpause):
13461 * nt.c (mswindows_raise):
13462 * nt.c (timer_proc):
13464 * ntproc.c (find_child_console):
13465 * ntproc.c (sys_kill):
13467 * print.c (std_handle_out_external):
13468 * process-nt.c (find_child_console):
13469 * process-nt.c (send_signal_the_95_way):
13470 * process-nt.c (ensure_console_window_exists):
13471 * process-nt.c (nt_create_process):
13473 rename msw_ to mswindows_ for consistency with general convention.
13477 include nt.h, not syswindows.h.
13479 * nt.c (mswindows_fstat):
13480 * nt.c (mswindows_stat):
13481 prefix mswindows_ instead of attempting to directly override the
13482 library functions. fix declarations.
13485 include syswindows.h. move some sysdep.h stuff here.
13488 include syswindows.h, not <windows.h>.
13496 * sysdep.c (sys_fstat):
13497 * sysdep.c (sys_stat):
13498 call mswindows versions when appropriate.
13501 move mswin decls to nt.h.
13504 add long comment describing appropriate use of the various windows
13507 2000-06-11 Ben Wing <ben@xemacs.org>
13509 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13511 2000-06-10 Ben Wing <ben@xemacs.org>
13513 * Makefile.in.in (release):
13514 Correction to make sure xemacs.exe always dumped when correct.
13518 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13520 * buffer.c (set_buffer_internal):
13521 [[[[2]]]]: Remove HAVE_FEP code.
13523 * buffer.c (init_initial_directory):
13527 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13531 * callproc.c (call_process_cleanup):
13532 * callproc.c (Fold_call_process_internal):
13533 * callproc.c (child_setup):
13534 * callproc.c (getenv_internal):
13535 * callproc.c (init_callproc):
13536 * callproc.c (vars_of_callproc):
13537 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13538 __CYGWIN32__ -> CYGWIN.
13539 DOS_NT -> WIN32_NATIVE.
13540 Remove MSDOS support/references, converting to WIN32_NATIVE
13542 __MINGW32__ -> MINGW.
13543 Fix windows.h includes.
13544 Remove bogus HAVE_NTGUI.
13550 mswindows_message_outputted added for use in allowing startup
13551 errors on the console to be seen.
13553 * console-msw.c (msw_ensure_console_allocated):
13554 * console-msw.c (msw_output_console_string):
13555 * console-msw.c (DHEADER):
13556 * console-msw.c (DOPAQUE_DATA):
13557 * console-msw.c (DEVENT):
13558 * console-msw.c (DCONS):
13559 * console-msw.c (DCONSCDR):
13560 * console-msw.c (DSTRING):
13561 * console-msw.c (DVECTOR):
13562 * console-msw.c (DSYMBOL):
13563 * console-msw.c (DSYMNAME):
13566 * console-stream.c (stream_init_console):
13567 Fix text/binary problems.
13570 * device-msw.c (mswindows_finish_init_device):
13571 * device-msw.c (mswindows_delete_device):
13574 * device.c (handle_asynch_device_change):
13578 * dgif_lib.c (DGifOpenFileName):
13579 * dgif_lib.c (DGifOpenFileHandle):
13580 * dgif_lib.c (DGifGetLine):
13581 * dgif_lib.c (DGifGetPixel):
13582 Added config.h/lisp.h, fix up includes.
13589 * dired.c (file_name_completion):
13590 * dired.c (Ffile_attributes):
13591 * dired.c (syms_of_dired):
13595 * dumper.c (pdump_file_unmap):
13596 * dumper.c (pdump_load):
13600 * editfns.c (Ftemp_directory):
13601 * editfns.c (user_login_name):
13602 * editfns.c (Fuser_real_login_name):
13603 * editfns.c (get_home_directory):
13606 * elhash.c (finish_marking_weak_hash_tables):
13607 [[[[5]]]]: Fix GCC warnings.
13610 * emacs.c (mswindows_handle_hardware_exceptions):
13611 * emacs.c (make_arg_list_1):
13612 * emacs.c (main_1):
13613 * emacs.c (Fkill_emacs):
13614 * emacs.c (Fdump_emacs):
13616 Fix problems with nested crashes, add long comment.
13618 * event-Xt.c (init_event_Xt_late):
13622 * event-msw.c (mswindows_dde_callback):
13623 * event-msw.c (mswindows_handle_sticky_modifiers):
13624 * event-msw.c (mswindows_wnd_proc):
13628 * events.c (character_to_event):
13632 * fileio.c (Ffile_name_directory):
13633 * fileio.c (Ffile_name_nondirectory):
13634 * fileio.c (directory_file_name):
13635 * fileio.c (Fexpand_file_name):
13636 * fileio.c (Fsubstitute_in_file_name):
13637 * fileio.c (Ffile_name_absolute_p):
13638 * fileio.c (check_executable):
13639 * fileio.c (Ffile_readable_p):
13640 * fileio.c (Ffile_accessible_directory_p):
13641 * fileio.c (Ffile_modes):
13642 * fileio.c (Funix_sync):
13643 * fileio.c (vars_of_fileio):
13646 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13648 Expand getdefdir defn.
13649 Fix bogus rename() comment.
13651 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13652 to use standard XEmacs include files, e.g. sysfile.h, rather
13653 than system-specific includes.
13659 * frame.c (vars_of_frame):
13663 * getloadavg.c (getloadavg):
13665 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13666 (We don't use it elsewhere in the code; just add a comment.)
13673 * glyphs-msw.c (mswindows_resource_instantiate):
13676 * glyphs-x.c (x_native_layout_instantiate):
13679 * gui-msw.c (Fmswindows_shell_execute):
13688 * lread.c (locate_file_in_directory_mapper):
13695 * mem-limits.h (get_lim_data):
13707 * nt.c (rva_to_section):
13708 * nt.c (mswindows_executable_type):
13710 Fix closedir() defn.
13713 [[[[8]]]]: *_OK defs moved to sysfile.h.
13722 * print.c (std_handle_out_external):
13726 * process-nt.c (nt_create_process):
13728 try to fix process quoting somewhat.
13730 * process-unix.c (unix_create_process):
13734 * process.c (vars_of_process):
13741 * realpath.c (xrealpath):
13744 * redisplay-tty.c (init_tty_for_redisplay):
13754 * sheap.c (more_static_core):
13755 * sheap.c (report_sheap_usage):
13759 * signal.c (alarm_signal):
13766 * strftime.c (zone_name):
13769 * symsinit.h (init_sunpro):
13773 commctrl.h not in Cygwin b20.1.
13776 * sysdep.c (endif):
13777 * sysdep.c (sys_subshell):
13778 * sysdep.c (init_baud_rate):
13779 * sysdep.c (emacs_get_tty):
13780 * sysdep.c (emacs_set_tty):
13781 * sysdep.c (tty_init_sys_modes_on_device):
13782 * sysdep.c (init_system_name):
13783 * sysdep.c (sys_open):
13784 * sysdep.c (interruptible_open):
13785 * sysdep.c (sys_fopen):
13786 * sysdep.c (sys_mkdir):
13787 * sysdep.c (sys_rename):
13788 * sysdep.c (get_process_times_1):
13795 * sysdir.h (DIRENTRY_NONEMPTY):
13798 * sysdll.c (dll_init):
13804 added text/binary defs.
13810 * sysproc.h (EDESTADDRREQ):
13811 * sysproc.h (poll_fds_for_input):
13828 Always define WIN32_LEAN_AND_MEAN.
13830 * unexcw.c (unexec):
13834 * unexec.c (copy_text_and_data):
13835 * unexec.c (adjust_lnnoptrs):
13839 * unexnt.c (_start):
13842 2000-06-07 Ben Wing <ben@xemacs.org>
13844 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13845 was used only as a model. We've long since extracted any useful
13846 logic or code out of this. (I just did an exhaustive search.)
13848 * s\msdos.h: Removed.
13850 * s\windows95.h: Removed.
13852 2000-06-10 Ben Wing <ben@xemacs.org>
13856 Don't use extern with fun defs.
13860 Remove nt\inc include.
13861 Remove getdisk, getdefdir. (The former is unused, the latter
13862 expanded in fileio.h.)
13865 * s\windowsnt.h (WIN32_NATIVE):
13866 * s\windowsnt.h (HAVE_STRCASECMP):
13868 Add long comment about preprocessor changes.
13869 Remove getdisk, getdefdir. (The former is unused, the latter
13870 expanded in fileio.h.)
13872 2000-06-10 Ben Wing <ben@xemacs.org>
13881 Remove bogus/unused NO_SOCK_SIGIO.
13883 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13885 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13888 2000-06-04 Mike Sperber <mike@xemacs.org>
13890 * casetab.c (set_case_table): For `set-standard-case-table',
13891 actually deposit the new case tables where the rest of XEmacs can
13894 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13896 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13898 2000-06-05 Ben Wing <ben@xemacs.org>
13900 * callproc.c (child_setup): Don't do close_load_descs() under
13901 MS Windows. Put in a comment explaining why.
13903 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13905 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13906 Toolkit shell" which breaks `kill-compilation' on Windows NT
13907 native, retaining STDERR handling improvements.
13909 2000-06-01 Andreas Jaeger <aj@suse.de>
13911 * s/s390.h: Support for S390, based on a patch by Martin
13912 Schwidefsky <schwidefsky@de.ibm.com>.
13914 2000-05-30 Andy Piper <andy@xemacs.org>
13916 * window.c (allocate_window):
13917 (make_dummy_parent):
13918 (Fset_window_configuration): use new hashtable type.
13920 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13921 (struct image_instantiator_methods):
13922 (struct Lisp_Image_Instance): make instance geometry signed.
13924 * glyphs.c (instantiate_image_instantiator):
13925 (image_instance_query_geometry):
13926 (image_instance_layout):
13927 (image_instance_layout):
13928 (query_string_geometry):
13929 (text_query_geometry):
13930 (image_instantiate):
13931 (image_instantiate):
13932 (cache_subwindow_instance_in_frame_maybe):
13933 (subwindow_query_geometry): make instance geometry signed.
13935 * glyphs-widget.c (widget_query_geometry):
13937 (button_query_geometry):
13938 (tree_view_query_geometry):
13939 (tab_control_query_geometry):
13940 (layout_query_geometry):
13942 (native_layout_layout): make instance geometry signed.
13944 2000-05-29 Olivier Galibert <galibert@pobox.com>
13946 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13949 * general.c (syms_of_general): Add Qfull_assoc symbol.
13951 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13953 (decode_weak_list_type): Decode full-assoc type.
13954 (encode_weak_list_type): Encode full-assoc type.
13955 (Fmake_weak_list): Update doc string.
13957 2000-05-30 Andy Piper <andy@xemacs.org>
13959 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13961 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13962 (decode_hash_table_weakness): ditto.
13963 (Fhash_table_weakness): ditto.
13964 (Fhash_table_type): ditto.
13965 (finish_marking_weak_hash_tables): ditto.
13966 (hash_table_weakness_validate): ditto.
13967 (syms_of_elhash): ditto.
13969 2000-05-28 Martin Buchholz <martin@xemacs.org>
13971 * XEmacs 21.2.34 is released.
13973 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13975 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13977 (updating_line_start_cache): Gone.
13978 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13979 generic code to force a minimum of 1 line laid out in the
13982 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13984 * glyphs.c (instantiate_image_instantiator): Check for initialized
13985 height & width no longer special cases IMAGE_NOTHING.
13986 (nothing_instantiate): Set height and width of instance.
13988 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13990 * unexelf.c (unexec): Search for ".data" section.
13991 Initialize new_data2_offset from old_data_index.
13992 Remove redundant check for ElfW.
13994 2000-05-23 Andy Piper <andy@xemacs.org>
13996 * glyphs.c (get_image_instantiator_governing_domain): allow more
13997 specific domains as the governing domain rather than expecting an
13998 exact match. This fixes problems with layouts.
14000 2000-05-22 Andy Piper <andy@xemacs.org>
14002 * redisplay-output.c (compare_runes): check for non-images
14004 * glyphs.c (set_glyph_dirty_p): ditto.
14005 (update_glyph_cachel_data): ditto.
14007 * glyphs-widget.c (layout_post_instantiate): ditto.
14008 (layout_post_instantiate): ditto.
14010 * event-msw.c (mswindows_wnd_proc): warning removal.
14012 2000-05-12 Craig Lanning <CraigL@DyCon.com>
14014 * s\mingw32.h: Added #undef for CLASH_DETECTION.
14016 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
14018 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
14020 * nt.c (rva_to_section): mingw32 needs rva_to_section.
14021 (mswindows_executable_type): mingw32 now has enough headers for
14024 2000-05-20 Andy Piper <andy@xemacs.org>
14026 * console-msw.c (mswindows_output_last_error): ; -> ,
14028 2000-05-12 Andy Piper <andy@xemacs.org>
14030 * console-msw.c (FROB): compare ints with ints.
14032 2000-05-11 Andy Piper <andy@xemacs.org>
14034 * glyphs-x.c (x_finalize_image_instance): make minimal build
14037 2000-05-20 Ben Wing <ben@xemacs.org>
14040 * event-Xt.c (vars_of_event_Xt):
14041 move modifier-keys-are-sticky to event-stream.c.
14044 * event-msw.c (mswindows_enqueue_mouse_button_event):
14045 * event-msw.c (key_needs_default_processing_p):
14046 * event-msw.c (XEMSW_LCONTROL):
14047 * event-msw.c (mswindows_handle_sticky_modifiers):
14048 * event-msw.c (FROB):
14049 * event-msw.c (clear_sticky_modifiers):
14050 * event-msw.c (output_modifier_keyboard_state):
14051 * event-msw.c (output_alt_keyboard_state):
14052 * event-msw.c (mswindows_wnd_proc):
14053 * event-msw.c (mswindows_modifier_state):
14054 * event-msw.c (emacs_mswindows_handle_magic_event):
14055 implement sticky modifiers.
14058 * event-stream.c (vars_of_event_stream):
14059 move modifier-keys-are-sticky here.
14062 add CHECK_FUNCTION.
14065 implement map-range-table.
14068 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
14070 * redisplay-tty.c (reset_tty_modes):
14071 (tty_redisplay_shutdown): Adjust argument type to
14072 tty_frame_output_end.
14074 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14076 * eval.c (Fbacktrace): Don't output a line with only right
14079 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
14081 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
14082 (Fpq_reset_poll): Ditto.
14084 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
14086 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
14088 2000-05-16 Ben Wing <ben@xemacs.org>
14091 * buffer.c (dfc_convert_to/from_internal_format):
14092 * buffer.c (reinit_vars_of_buffer):
14093 Fix conversion functions to allow reentrancy.
14096 * console-msw.c (mswindows_output_last_error):
14097 New fun, generally useful -- output a human-readable
14098 version of GetLastError() on the console.
14101 * console-msw.h (struct mswindows_frame):
14102 Changes for DeferWindowPos. Declare mswindows_output_last_error().
14104 * console-stream.c (stream_output_begin):
14105 * console-stream.c (stream_output_end):
14106 * console-stream.c (stream_output_vertical_divider):
14107 * console-stream.c (stream_clear_region):
14108 * console-stream.c (stream_flash):
14109 * console-stream.c (console_type_create_stream):
14110 Delete blank stream methods, not needed.
14112 * console.h (struct console_methods):
14113 Split begin/end methods into window and frame.
14116 * event-msw.c (mswindows_handle_paint):
14117 * event-msw.c (output_alt_keyboard_state):
14118 * event-msw.c (mswindows_wnd_proc):
14119 * event-msw.c (vars_of_event_mswindows):
14120 Comment about problems with ignored-expose.
14121 Define mswindows-debug-events; not really implemented.
14123 * frame-msw.c (mswindows_init_frame_1):
14127 * glyphs-msw.c (begin_defer_window_pos):
14128 * glyphs-msw.c (mswindows_unmap_subwindow):
14129 * glyphs-msw.c (mswindows_map_subwindow):
14130 * glyphs-msw.c (mswindows_resize_subwindow):
14131 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14133 * glyphs.c (make_image_instance_1):
14136 * gutter.c (Fredisplay_gutter_area):
14137 Use new begin/end methods.
14139 * lisp.h (Dynarr_new2):
14143 * redisplay-msw.c (mswindows_frame_output_begin):
14144 * redisplay-msw.c (mswindows_frame_output_end):
14145 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14146 New begin/end methods -- handle DeferWindowPos.
14148 * redisplay-output.c (redisplay_move_cursor):
14149 * redisplay-output.c (redraw_cursor_in_window):
14150 * redisplay-output.c (redisplay_update_line):
14151 * redisplay-output.c (redisplay_output_window):
14152 New begin/end methods.
14155 * redisplay-tty.c (tty_frame_output_begin):
14156 * redisplay-tty.c (tty_frame_output_end):
14157 * redisplay-tty.c (console_type_create_redisplay_tty):
14158 New begin/end methods.
14161 * redisplay-x.c (x_window_output_begin):
14162 * redisplay-x.c (x_window_output_end):
14163 * redisplay-x.c (console_type_create_redisplay_x):
14164 New begin/end methods.
14166 * redisplay.c (redisplay_frame):
14167 * redisplay.c (Fredisplay_echo_area):
14168 New begin/end methods.
14169 use MAYBE_DEVMETH for clear_frame; it may not exist.
14171 * window.h (WINDOW_XFRAME):
14172 WINDOW_XFOO macros -- get locale and decode struct pointer.
14175 2000-05-12 Ben Wing <ben@xemacs.org>
14178 * emacs.c (ensure_no_quitting_from_now_on):
14179 * emacs.c (fatal_error_signal):
14180 * emacs.c (mswindows_handle_hardware_exceptions):
14182 * emacs.c (Fkill_emacs):
14183 * emacs.c (shut_down_emacs):
14184 * emacs.c (assert_failed):
14185 various improvements in fatal error handling.
14188 move preparing_for_armageddon to emacs.c.
14191 declare fatal_error_in_progress.
14194 * print.c (std_handle_out_external):
14195 * print.c (std_handle_out_va):
14196 * print.c (stderr_out):
14197 * print.c (stdout_out):
14198 use console under mswin when no standard output.
14199 don't do code conversion during fatal error.
14201 * scrollbar.c (Fscrollbar_page_up):
14202 * scrollbar.c (Fscrollbar_page_down):
14203 fix missing else. reindent.
14205 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14209 * glyphs.h (GLYPH_CACHEL_DESCENT):
14210 (GLYPH_CACHEL_DESCENT):
14211 (GLYPH_CACHEL_DESCENT):
14212 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14213 used in case these are inline functions.
14214 Use more absurd values to error check.
14216 include window.h for error check functions.
14218 2000-05-11 Ben Wing <ben@xemacs.org>
14220 * cmdloop.c (Freally_early_error_handler):
14221 Display message box under windows; otherwise, message will disappear
14222 before it can be viewed.
14225 * console-msw.c (Fmswindows_message_box):
14226 * console-msw.c (FROB):
14227 * console-msw.c (syms_of_console_mswindows):
14228 Define new fun `mswindows-message-box'.
14229 #### I will merge this into `popup-dialog-box'; just give me
14233 * general.c (syms_of_general):
14234 Some new symbols used in `mswindows-message-box'.
14237 * glyphs.c (Fset_image_instance_property):
14238 put warning in this fun.
14241 * glyphs.h (GLYPH_CACHEL_WIDTH):
14242 * glyphs.h (GLYPH_CACHEL_ASCENT):
14243 * glyphs.h (GLYPH_CACHEL):
14244 * glyphs.h (GLYPH_CACHEL_GLYPH):
14245 define error-checking versions to try to catch a bug i've seen --
14246 redisplay gets in an infinite loop because the glyph width of the
14247 continuation glyph is 65535.
14250 Extern message-box stuff.
14252 * window.c (allocate_window):
14253 * window.c (make_dummy_parent):
14254 * window.c (Fset_window_configuration):
14255 Use EQUAL not EQ for subwindow caches to make them work a bit
14256 better. (Something is still very broken.)
14259 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14261 * glyphs.c (image_instantiate): Suppress gcc warnings.
14262 (Fmake_image_instance): Fix doc string.
14263 * specifier.c (Fmake_specifier): Ditto.
14265 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14267 * paths.h.in (PATH_LOCK): Removed.
14268 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14269 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14271 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14273 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14274 Document (featurep '(and xemacs 21.02)).
14276 2000-05-09 Ben Wing <ben@xemacs.org>
14278 * buffer.c (complex_vars_of_buffer):
14279 update modeline-format doc.
14282 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14285 timeline of all released versions of Emacs, for use in creating
14286 authorship comments and in synching up.
14288 * glyphs-widget.c (image_instantiator_buttons):
14289 * glyphs-widget.c (image_instantiator_edit_fields):
14290 * glyphs-widget.c (image_instantiator_combo_box):
14291 * glyphs-widget.c (image_instantiator_scrollbar):
14292 * glyphs-widget.c (image_instantiator_progress_guage):
14293 * glyphs-widget.c (image_instantiator_tree_view):
14294 * glyphs-widget.c (image_instantiator_tab_control):
14295 * glyphs-widget.c (image_instantiator_labels):
14296 * glyphs-widget.c (image_instantiator_layout):
14297 * glyphs-widget.c (image_instantiator_native_layout):
14298 rename decode_domain method to governing_domain.
14301 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14302 * glyphs.c (add_entry_to_device_ii_format_list):
14303 make sure we don't put an entry more than once into the list.
14304 * glyphs.c (check_instance_cache_mapper):
14305 *************************************************************
14306 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14308 *************************************************************
14309 * glyphs.c (get_image_instantiator_governing_domain):
14310 clean up, expand on new concept of governing domain.
14311 * glyphs.c (instantiate_image_instantiator):
14312 * glyphs.c (allocate_image_instance):
14313 use governing_domain instead of cache_domain in naming.
14314 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14315 * glyphs.c (make_image_instance_1):
14316 * glyphs.c (Fmake_image_instance):
14317 allow for any domain (not just device), and process the
14318 governing domain correctly. very big doc fix.
14319 * glyphs.c (Fimage_instance_domain):
14320 new primitive, to retrieve the governing domain of an image instance.
14321 * glyphs.c (image_instantiate):
14322 use new governing_domain stuff. this fixes a crash you could get
14323 by instantiating certain widget glyphs in frame locales. (should
14324 signal an error instead of crashing.)
14325 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14326 * glyphs.c (Fglyphp): clean up doc.
14327 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14328 * glyphs.c (syms_of_glyphs):
14329 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14330 * glyphs.c (image_instantiator_format_create): add some comments about
14332 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14333 for current-display-table. (Apparently Hrjove implemented in 1998 a
14334 design I wrote up in 1996, but didn't update the doc string.)
14336 * glyphs.h: clean up a doc string.
14337 * glyphs.h (governing_domain):
14338 * glyphs.h (struct image_instantiator_methods):
14339 changes for governing_domain stuff.
14342 * gutter.c (Fgutter_specifier_p):
14343 * gutter.c (Fgutter_size_specifier_p):
14344 * gutter.c (Fgutter_visible_specifier_p):
14346 * objects.c (Fcolor_specifier_p):
14347 * objects.c (Ffont_specifier_p):
14348 * objects.c (Fface_boolean_specifier_p):
14349 doc strings moved to make-*-specifier.
14351 * redisplay.c (add_disp_table_entry_runes_1):
14352 * redisplay.c (generate_fstring_runes):
14353 * redisplay.c (screen):
14354 add random comments and doc strings.
14357 * specifier.c (Fmake_specifier):
14358 major overhaul of this doc string.
14360 * specifier.c (Fvalid_specifier_domain_p):
14361 comment about the bogosity of image instances being domains.
14362 * specifier.c (decode_domain):
14363 now non-static, used in glyphs.c.
14364 * specifier.c (specifier_instance):
14365 comment about the bogosity of image instances being domains.
14366 * specifier.c (Fgeneric_specifier_p):
14367 move doc string to make-generic-specifier.
14368 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14372 * specifier.h (DOMAIN_FRAME):
14373 * specifier.h (DOMAIN_LIVE_P):
14374 * specifier.h (DOMAIN_XDEVICE):
14376 add comments about problems with these macros.
14377 prototype for decode_domain.
14380 * toolbar.c (Ftoolbar_specifier_p):
14381 move doc string to `make-toolbar-specifier'.
14383 * window.c (window_unmap_subwindows_cache_mapper):
14384 *************************************************************
14385 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14387 *************************************************************
14389 2000-05-09 Andy Piper <andy@xemacs.org>
14391 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14393 * window.c (Fset_window_configuration): reset the frame subwindow
14394 cache and re-initialize the window subwindow caches.
14396 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14398 2000-05-09 Ben Wing <ben@xemacs.org>
14400 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14403 2000-04-26 Mike Woolley <mike@bulsara.com>
14405 * ntheap.c: Changed recreate_heap to limit the amount reserved
14406 for the heap to that which is actually available. Also now
14407 displays a message box (with some dignostics) in the event that
14408 it still can't start.
14410 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14412 * callproc.c (Fold_call_process_internal): GCPRO path
14414 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14416 Patch by Bill Perry.
14418 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14419 back data instead of #ifdef.
14420 (Fscrollbar_page_down): ditto.
14422 2000-05-07 Ben Wing <ben@xemacs.org>
14425 Kludge for defining Qmswindows_tstr.
14428 * nt.c (open_input_file):
14429 * nt.c (open_output_file):
14430 * nt.c (rva_to_section):
14431 * nt.c (mswindows_executable_type):
14432 Move all memory-mapped-file routines here (some were in unexnt.c,
14433 which is bad because they are used by process-nt.c, and unexnt
14434 won't be around when portable dumping). Synched the above routines
14438 Removed ifdef'd out bogus code.
14439 Fixed some prototypes.
14441 * nt.h (file_data):
14442 * nt.h (OFFSET_TO_RVA):
14443 * nt.h (RVA_TO_OFFSET):
14444 * nt.h (RVA_TO_PTR):
14445 Moved the memory-mapped-file structures, macros and prototypes
14446 here, to parallel nt.c. ntheap.h should really be removed
14447 entirely, and it's a non-portable-dumper specific file.
14449 * ntheap.h (round_to_next):
14450 Moved the memory-mapped-file structures, macros and prototypes
14453 * ntproc.c (compare_env):
14454 Moved rva_to_section and mswindows_executable_type to nt.c.
14455 Moved compare_env to process-nt.c.
14456 ntproc.c will die, one day.
14458 * ntproc.c (sys_spawnve):
14459 Account for win32_ -> mswindows_.
14462 * process-nt.c (struct nt_process_data):
14463 * process-nt.c (ensure_console_window_exists):
14464 * process-nt.c (compare_env):
14465 * process-nt.c (nt_create_process):
14466 * process-nt.c (nt_kill_process_by_pid):
14467 * process-nt.c (syms_of_process_nt):
14468 * process-nt.c (vars_of_process_nt):
14469 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14470 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14471 changes). Eliminate our old `nt-quote-process-args' mechanism.
14472 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14473 Move compare_env here from ntproc.c.
14475 * process.c (Fprocess_send_region):
14476 Takes an optional fourth argument, BUFFER, which should fix some
14477 problems with call-process.
14480 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14483 Move ICC_BAR_CLASSES to syscommctrl.h.
14484 Add preliminary macros for MSWindows/Mule. More to come.
14487 * unexnt.c (unexec):
14488 open_output_file moved to nt.c.
14491 2000-05-05 Andy Piper <andy@xemacs.org>
14493 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14494 instance from the frame cache also since GC may catch up too late
14495 to make frame deletion sane.
14497 2000-05-04 Andy Piper <andy@xemacs.org>
14499 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14500 (x_finalize_image_instance): ungcpro on deletion.
14502 * glyphs.c (image_instantiator_format_create): give pointers a
14503 query geometry method so that the geometry is at least set.
14505 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14506 initialize layouts if using widgets.
14508 2000-05-03 Andy Piper <andy@xemacs.org>
14510 * nt.c: remove bogus reference to sysmmsystem.h
14512 * gui-x.c (popup_selection_callback): fix no selection abort.
14514 2000-05-02 Andy Piper <andy@xemacs.org>
14516 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14517 (mswindows_widget_instantiate): ditto.
14519 * glyphs-widget.c (initialize_widget_image_instance): initialize
14520 children correctly.
14521 (widget_instantiate): cope with children and items in the same
14524 * glyphs.c (mark_image_instance): cope with children as a first
14526 (image_instance_equal): ditto.
14527 (image_instance_hash): ditto.
14528 (image_instance_changed): ditto.
14530 2000-04-30 Andy Piper <andy@xemacs.org>
14532 * glyphs.c (subwindow_query_geometry): new function. Return some
14534 (subwindow_instantiate): don't assign dimensions if none have been
14536 (image_instantiator_format_create): add subwindow_query_geometry.
14537 (print_image_instance): cope with layouts as widgets.
14539 2000-04-29 Andy Piper <andy@xemacs.org>
14541 * frame.c (delete_frame_internal): call
14542 free_frame_subwindow_instance_cache so that all subwindows are
14543 finalized before their parent.
14544 (mark_frame): remove subwindow_cachels.
14545 (Fmake_frame): remove subwindow_cachel manipulation.
14546 (allocate_frame_core): subwindow_instance_cache is a weak list.
14547 (delete_frame_internal): set subwindow_instance_cache to nil.
14549 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14551 (mswindows_finalize_image_instance): use the device
14552 not the domain as the domain may have died already.
14554 * glyphs-x.c (x_finalize_image_instance): ditto.
14555 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14558 * redisplay-output.c (redisplay_unmap_subwindows): update for
14559 subwindow instance cache as a weak list.
14560 (redisplay_unmap_subwindows_maybe): ditto.
14561 (redisplay_unmap_subwindows_except_us): ditto.
14563 * glyphs.c (unmap_subwindow): error checking will check the domain
14564 so don't deal with it here. Don't use cachels anymore.
14565 (map_subwindow): ditto.
14566 (update_subwindow_cachel_data): remove old accessor names.
14567 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14568 (Fresize_subwindow): don't update cachel.
14569 (mark_subwindow_cachels):
14570 (update_subwindow_cachel_data):
14571 (add_subwindow_cachel):
14572 (get_subwindow_cachel_index):
14573 (update_subwindow_cachel):
14574 (reset_subwindow_cachels):
14575 (mark_subwindow_cachels_as_not_updated): deleted.
14576 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14577 subwindow instance to the frame cache.
14578 (find_matching_subwindow): update for subwindow instance cache as
14580 (update_widget_instances): ditto.
14581 (image_instance_type_to_mask):inlined.
14582 (free_frame_subwindow_instance_cache): new function. finalize all
14583 subwindows that are instantiated.
14585 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14586 of cachel information.
14587 (IMAGE_INSTANCE_DISPLAY_X):
14588 (IMAGE_INSTANCE_DISPLAY_Y):
14589 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14590 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14591 (XIMAGE_INSTANCE_DISPLAY_X):
14592 (XIMAGE_INSTANCE_DISPLAY_Y):
14593 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14594 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14595 remove subwindow_cachel structure and function references.
14596 (image_instance_type_to_mask): inline from glyphs.c
14598 * redisplay.c (redisplay_frame): remove subwindow_cachel
14601 * frame.h (struct frame): remove subwindow_cachels.
14602 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14604 * frameslots.h: add subwindow_instance_cache.
14606 * window.c (replace_window): check subwindow cache of replacement.
14607 (window_unmap_subwindows_cache_mapper):
14608 (window_unmap_subwindows): new functions. Unmap all subwindows
14609 cached on this window.
14610 (mark_window_as_deleted): unmap all subwindows.
14612 2000-04-27 Andy Piper <andy@xemacs.org>
14614 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14616 * glyphs-widget.c (widget_layout): return something.
14617 (layout_layout): return something. Fail if not initialized.
14618 (layout_query_geometry): ditto.
14619 (image_instantiator_native_layout): new function. Initialized the
14620 native layout type.
14621 (widget_instantiate): don't do layout stuff here.
14623 * glyphs.c (instantiate_image_instantiator): reorded calling or
14624 instantiate and post_instantiate with layout in between.
14625 (image_instance_layout): be more selective about deciding whether
14626 the layout has been done or not.
14628 * glyphs.h (struct image_instantiator_methods): return a value
14629 from layout_method.
14631 2000-04-26 Andy Piper <andy@xemacs.org>
14633 * glyphs.c (allocate_image_instance): make initial width and
14634 height unspecified. Set initialized to 0.
14636 * syscommctrl.h new file. Encapsulates commctrl.h.
14638 * syswindows.h new file. Encapsulates windows.h.
14640 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14642 * console-msw.h: ditto.
14644 * redisplay-tty.c (tty_output_display_block): remove layout references.
14646 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14647 window handle rather than just the frame.
14649 * glyphs.c (mark_image_instance): remove layout references.
14650 (print_image_instance): ditto.
14651 (image_instance_equal): ditto.
14652 (image_instance_hash): ditto.
14653 (decode_image_instance_type): ditto.
14654 (encode_image_instance_type): ditto.
14655 (image_instantiate): ditto.
14656 (allocate_glyph): ditto.
14657 (Fimage_instance_height): ditto.
14658 (Fimage_instance_width): ditto.
14659 (update_subwindow): ditto.
14661 * redisplay-x.c (x_output_display_block): recode for layouts as
14664 * redisplay-output.c (redisplay_output_layout): recode for layouts
14666 (compare_runes): remove layout references.
14668 * redisplay-msw.c (mswindows_output_display_block): recode for
14669 layouts as widgets.
14671 * glyphs-widget.c (image_instantiator_layout): remove
14672 layout_possible_dest_types.
14673 (layout_possible_dest_types): deleted.
14675 * glyphs.h (image_instance_type): remove layout references.
14676 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14677 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14678 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14680 2000-04-25 Andy Piper <andy@xemacs.org>
14682 * glyphs-widget.c (image_instantiator_buttons):
14683 (image_instantiator_edit_fields):
14684 (image_instantiator_combo_box):
14685 (image_instantiator_scrollbar):
14686 (image_instantiator_progress_guage):
14687 (image_instantiator_tree_view):
14688 (image_instantiator_tab_control):
14689 (image_instantiator_labels):
14690 (image_instantiator_layout): call default post_instantiate method.
14691 (widget_post_instantiate): new function. Simply lays out the
14694 * glyphs.h (struct image_instantiator_methods): add
14695 post_instantiate method.
14697 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14700 2000-04-23 Andy Piper <andy@xemacs.org>
14702 * glyphs.h (struct image_instantiator_methods): add
14703 decode_domain_method.
14704 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14705 derived from the domain.
14706 (IMAGE_INSTANCE_FRAME): new accessor.
14707 (XIMAGE_INSTANCE_FRAME): ditto.
14709 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14710 instead of _SUBWINDOW_FRAME.
14711 (finalize_image_instance): ditto.
14712 (Fimage_instance_foreground): ditto.
14713 (Fimage_instance_background): ditto.
14714 (image_instantiate): ditto.
14715 (update_subwindow_cachel): ditto.
14716 (update_subwindow): ditto.
14717 (unmap_subwindow): ditto.
14718 (map_subwindow): ditto
14719 (subwindow_instantiate): ditto.
14720 * glyphs-msw.c (mswindows_update_widget): ditto.
14721 (mswindows_progress_gauge_instantiate): ditto.
14722 (mswindows_tab_control_update): ditto.
14723 * glyphs-x.c (x_update_widget): ditto.
14724 (x_widget_instantiate): ditto.
14725 (x_tab_control_instantiate): ditto.
14726 (x_tab_control_update): ditto.
14727 * event-msw.c (mswindows_wnd_proc): ditto
14729 * glyphs-widget.c (image_instantiator_layout): use
14730 subwindow_decode_domain.
14731 (image_instantiator_buttons): ditto.
14732 (image_instantiator_edit_fields): ditto.
14733 (image_instantiator_combo_box): ditto.
14734 (image_instantiator_scrollbar): ditto.
14735 (image_instantiator_progress_guage): ditto.
14736 (image_instantiator_tree_view): ditto.
14737 (image_instantiator_tab_control): ditto.
14738 (image_instantiator_labels): ditto.
14739 (image_instantiator_layout): ditto.
14741 * glyphs.c: add instance error checking to many functions.
14742 (instantiate_image_instantiator): decode device from cache_domain.
14743 (image_instantiate): partially rewrite by using
14744 decode_image_instantiator_domain to determine what domain the
14745 instance needs to be cached in.
14746 (decode_image_instantiator_domain): new function. Determine what
14747 domain the image needs to be cached in.
14748 (check_window_subwindow_cache): new error checking function.
14749 (check_instance_cache_mapper): ditto.
14750 (check_image_instance_structure): ditto.
14751 (subwindow_decode_domain): new function. Encodes a window as a
14752 subwindow's cache domain.
14753 (image_instantiator_format_create): use it for text and
14756 2000-04-21 Andy Piper <andy@xemacs.org>
14758 * glyphs.c (image_instance_device): new function.
14759 (image_instance_frame): new function.
14760 (image_instance_window): new function.
14761 (image_instance_live_p): new function.
14763 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14766 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14767 (IMAGE_INSTANCE_DOMAIN): new accessor.
14768 (XIMAGE_INSTANCE_DOMAIN): ditto.
14770 * glyphs-x.c (x_finalize_image_instance): device->domain.
14772 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14773 (mswindows_finalize_image_instance): ditto.
14775 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14776 (gif_instantiate): ditto.
14777 (png_instantiate): ditto.
14778 (tiff_instantiate): ditto.
14780 * glyphs.c (instantiate_image_instantiator): use domain rather
14782 (mark_image_instance): device -> domain.
14783 (print_image_instance): ditto.
14784 (finalize_image_instance): ditto.
14785 (image_instance_equal): ditto.
14786 (allocate_image_instance): ditto.
14787 (Fcolorize_image_instance): ditto.
14788 (query_string_geometry): ditto.
14789 (image_instantiate): ditto
14790 (query_string_font): ditto.
14791 (image_instantiate): ditto.
14792 (update_subwindow): ditto.
14793 (unmap_subwindow): ditto.
14794 (map_subwindow): ditto.
14795 (subwindow_instantiate): ditto.
14797 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14798 (DOMAIN_FRAME): ditto.
14799 (DOMAIN_WINDOW): ditto.
14800 (DOMAIN_LIVE_P): ditto.
14801 (XDOMAIN_DEVICE): ditto.
14802 (XDOMAIN_FRAME): ditto.
14803 (XDOMAIN_WINDOW): ditto.
14805 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14806 a valid specifier domain.
14808 2000-04-19 Andy Piper <andy@xemacs.org>
14810 * glyphs-widget.c (syms_of_glyphs_widget): remove
14811 widget-callback-current-channel.
14812 (vars_of_glyphs_widget): ditto.
14815 * gui.c (get_gui_callback): revert to previous behaviour.
14817 2000-04-18 Andy Piper <andy@xemacs.org>
14819 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14820 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14821 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14823 * glyphs.c (image_instance_equal): add margin_width.
14824 (image_instance_hash): ditto.
14826 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14827 (layout_query_geometry): ditto.
14828 (layout_layout): ditto.
14829 (syms_of_glyphs_widget): add margin-width.
14830 (image_instantiator_layout): allow margin-width.
14832 * glyphs.c (update_widget_instances): make a normal function.
14833 (syms_of_glyphs): remove Qupdate_widget_instances.
14836 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14837 so that we don't corrupt ideas about the last event or
14838 command. Remove widget-callback-current-channel fiddling.
14839 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14841 2000-05-01 Martin Buchholz <martin@xemacs.org>
14843 * XEmacs 21.2.33 is released.
14845 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14847 * make-src-depend: Allow dots in header file name.
14849 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14851 * mule-charset.h (struct charset_lookup): Add
14852 next_allocated_1_byte_leading_byte and
14853 next_allocated_2_byte_leading_byte.
14854 * mule-charset.c: Move above two variables so that those values
14857 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14859 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14860 when string length is zero.
14861 (find_charsets_in_emchar_string): Ditto.
14863 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14865 * lisp.h: extern Qdialog and Qmenubar.
14867 * gui-x.c: added events.h.
14868 also fixed typo which made the file uncompilable.
14870 * general.c: Added Qmenubar and Qdialog
14872 2000-04-28 Ben Wing <ben@xemacs.org>
14874 * frame-msw.c (mswindows_init_frame_1):
14875 * frame-msw.c (mswindows_mark_frame):
14876 * event-msw.c (mswindows_enqueue_dispatch_event):
14878 * console-msw.h (struct mswindows_frame):
14879 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14880 there are now three hash tables for callbacks.
14881 mswindows_enqueue_dispatch_event is no longer static.
14883 * dialog-x.c (maybe_run_dbox_text_callback):
14884 * dialog-x.c (dbox_descriptor_to_widget_value):
14885 switch to new cons3 form for callbacks.
14887 * glyphs-msw.c (mswindows_register_gui_item):
14888 * glyphs-msw.c (mswindows_widget_instantiate):
14889 * glyphs-msw.c (add_tree_item):
14890 * glyphs-msw.c (add_tab_item):
14891 new image instance parameter, so it can be passed to callback-ex.
14892 respect :callback-ex as well as :callback.
14894 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14897 * glyphs.c (print_image_instance):
14898 prettify, e.g. now prints widget type.
14901 certain funs have new image instance parameter.
14904 * gui.c (get_gui_callback):
14905 * gui.c (gui_item_add_keyval_pair):
14906 * gui.c (gui_item_init):
14907 * gui.c (gui_add_item_keywords_to_plist):
14908 * gui.c (mark_gui_item):
14909 * gui.c (gui_item_hash):
14910 * gui.c (gui_item_equal):
14911 * gui.c (copy_gui_item):
14912 * gui.c (syms_of_gui):
14913 recognize callback-ex in a number of places.
14914 also, fix the annoying "can't get out of yes-no dialog" bug.
14917 * gui.h (struct Lisp_Gui_Item):
14918 recognize callback-ex in a number of places.
14920 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14921 new parameter in button_item_to_widget_value.
14923 * glyphs-x.c (x_update_widget):
14924 * glyphs-x.c (x_button_instantiate):
14925 * glyphs-x.c (x_button_update):
14926 * glyphs-x.c (x_progress_gauge_instantiate):
14927 * glyphs-x.c (x_edit_field_instantiate):
14928 * glyphs-x.c (x_combo_box_instantiate):
14929 * glyphs-x.c (x_tab_control_instantiate):
14930 * glyphs-x.c (x_label_instantiate):
14931 new image instance parameter in various places.
14934 * event-Xt.c (enqueue_Xt_dispatch_event):
14935 this fun gets exported.
14938 * gui-msw.c (mswindows_handle_gui_wm_command):
14939 handle both :callback and :callback-ex, and generate our own
14940 event because it's one of the callback-ex arguments.
14943 * gui-x.c (popup_selection_callback):
14944 handle both :callback and :callback-ex, and generate our own
14945 event because it's one of the callback-ex arguments.
14946 * gui-x.c (button_item_to_widget_value):
14947 * gui-x.c (gui_items_to_widget_values_1):
14948 * gui-x.c (gui_item_children_to_widget_values):
14949 * gui-x.c (gui_items_to_widget_values):
14950 new image instance parameter in various places.
14952 * fns.c (Freplace_list):
14953 fix small typo in doc string.
14956 declare enqueue_Xt_dispatch_event.
14958 2000-04-28 Ben Wing <ben@xemacs.org>
14961 * buffer.c (Frecord_buffer):
14962 * buffer.c (syms_of_buffer):
14963 delete record-buffer-hook.
14966 * fns.c (Freplace_list):
14967 * fns.c (syms_of_fns):
14968 new primitive replace-list.
14971 slot for old buffer-alist.
14974 exfun replace-list.
14977 * redisplay.c (redisplay_frame):
14978 * redisplay.c (syms_of_redisplay):
14979 * redisplay.c (vars_of_redisplay):
14980 new hook buffer-list-changed-hook.
14983 2000-04-27 Ben Wing <ben@xemacs.org>
14985 * extents.h: extern in_modeline_generation.
14987 * redisplay.c (generate_formatted_string_db): set
14988 in_modeline_generation.
14990 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14991 flags if in modeline generation. otherwise frame-modified-tick
14992 is ticked far too often.
14993 Declare in_modeline_generation.
14995 2000-04-26 Ben Wing <ben@xemacs.org>
14997 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14999 (vars_of_emacs): add quick-build as an error-checking option.
15000 A bit kludgy, but there doesn't seem much point in creating
15001 a real var for this.
15003 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
15005 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
15007 * redisplay.h (struct display_line): Add a new variable,
15010 * redisplay.c (create_text_block): Set dl->line_continuation if
15011 the line continues.
15012 (create_string_text_block): Ditto.
15013 (regenerate_window_incrementally): Use line_continuation instead
15014 of searching continuation glyph.
15015 (add_margin_runes): Call add_glyph_rune.
15016 (add_glyph_rune): Handle margin glyph.
15018 2000-04-20 Martin Buchholz <martin@xemacs.org>
15020 * filelock.c (fill_in_lock_file_name):
15022 Check for IS_ANY_SEP instead of '/'.
15024 Avoid generating gratuitous garbage. Call user_login_name() directly.
15025 Never check errno without first seeing that system call failed.
15026 (unlock_file): Add GCPRO.
15027 (Flock_buffer): Fix docstring.
15028 (Ffile_locked_p): Fix docstring. Add GCPRO.
15030 2000-04-19 Martin Buchholz <martin@xemacs.org>
15032 * sysdep.c (get_pty_max_bytes):
15033 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
15034 strings longer than 252 bytes.
15036 * md5.c: Unconditionally include ANSI header <limits.h>
15038 * glyphs-x.c (convert_EImage_to_XImage):
15039 * lisp-union.h (union Lisp_Object):
15040 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
15042 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
15044 * filelock.c (current_lock_owner): Remove unused variable o, p.
15046 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
15048 * callint.c: Remove multiply defined symbol Qlet
15049 (syms_of_callint): ditto.
15051 2000-04-14 Andy Piper <andy@xemacs.org>
15053 * general.c (syms_of_general): add last-command, this-command, let
15056 * lisp.h: declare various symbols.
15058 * glyphs.h: declare Qwidget_callback_current_channel;
15060 * glyphs-widget.c (syms_of_glyphs_widget): add
15061 Qgui_callback_current_channel.
15062 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
15064 * gui-msw.c (mswindows_handle_gui_wm_command): bind
15065 widget-callback-current-channel when invoking the interactive
15066 arg. Also bind last-command and next-command when invoking the
15068 * gui-x.c (popup_selection_callback): ditto.
15070 * gui.c (get_gui_callback): massage args so that we are always
15071 calling eval. This allows us to add our own variable bindings
15074 * glyphs-x.c (x_button_instantiate): use
15075 gui_items_to_widget_values since this is GC safe.
15076 (x_progress_gauge_instantiate): ditto.
15077 (x_edit_field_instantiate): ditto.
15078 (x_label_instantiate): ditto.
15080 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
15081 (emacs_Xt_event_widget_focus_out): new function
15082 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
15084 (emacs_Xt_event_add_widget_actions): new function. add focus
15085 functions as actions.
15086 (init_event_Xt_late): use it.
15088 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
15090 * event-stream.c (Fdispatch_event): Doc fix.
15092 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
15094 * postgresql.c: Remove all references to PQsetenv*.
15096 * postgresql.h: Remove references to PGsetenvHandler object.
15097 * lrecord.h (lrecord_type): Ditto.
15099 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15101 * glyphs-msw.h (struct mswindows_image_instance_data): Added
15102 real_heigh and real_width members, and accessor macros for these.
15104 * glyphs-msw.c (init_image_instance_geometry): New function.
15105 (init_image_instance_from_dibitmap): Use it.
15106 (mswindows_resource_instantiate): Use it.
15107 (init_image_instance_from_xbm_inline): Use it.
15108 (mswindows_initialize_image_instance_mask): Use real bitmap
15110 (mswindows_create_resized_bitmap): Ditto.
15111 (mswindows_create_resized_mask): Ditto.
15113 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15114 and bitmap to their surface size.
15116 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15118 * process-unix.c (unix_send_process): Guard against process MIA
15119 after Faccept_process_output.
15121 2000-04-11 Ben Wing <ben@xemacs.org>
15123 * eval.c (unbind_to_hairy): fix brokenness introduced by
15124 nanosecond speed improvements.
15126 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15128 * sunplay.c (init_device): To play sounds correctly, the device
15129 apparently needs to be initialized at least once by XEmacs. Make
15132 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15134 * redisplay.c (add_margin_runes): Add text image glyph
15137 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15139 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15140 gcc is newer than 2.5.
15142 2000-04-06 Colin Rafferty <colin@xemacs.org>
15144 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15146 * fns.c (size_bit_vector):
15147 * alloc.c (size_vector):
15148 (make_vector_internal):
15149 (make_bit_vector_internal):
15150 (sweep_bit_vectors_1):
15151 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15153 2000-04-06 Andy Piper <andy@xemacs.org>
15155 * gmalloc.c (malloc): undo previous change.
15160 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15162 * line-number.c (buffer_line_number): Revert to former version.
15164 2000-04-06 Andy Piper <andy@xemacs.org>
15166 * gmalloc.c (malloc): add error checking.
15171 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15172 button_item_to_widget_value arg.
15174 * glyphs-x.c (x_button_instantiate): add extra
15175 button_item_to_widget_value arg.
15176 (x_progress_gauge_instantiate): ditto.
15177 (x_edit_field_instantiate): ditto.
15178 (x_label_instantiate): ditto.
15180 * gui-x.c (gui_items_to_widget_values_1): add extra
15181 button_item_to_widget_value arg.
15182 (button_item_to_widget_value): add extra menu_item_p arg.
15184 * gui-x.h: change signature of button_item_to_widget_value.
15186 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15187 button_item_to_widget_value arg.
15189 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15191 * buffer.h (struct buffer): auto_save_modified should be long.
15193 2000-04-05 Andy Piper <andy@xemacs.org>
15195 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15197 (button_query_geometry): give a little more room so that athena
15200 2000-04-05 Andy Piper <andy@xemacs.org>
15202 * faces.c (complex_vars_of_faces): The widget face should inherit
15203 the font of the gui-element face.
15205 2000-04-04 Andy Piper <andy@xemacs.org>
15207 * glyphs-x.c (x_button_update): new function. unconditionally
15208 update a button's state when the instance is dirty.
15209 (image_instantiator_format_create_glyphs_x): add x_button_update.
15210 (x_widget_instantiate): remove old resize cruft.
15212 2000-04-02 Andy Piper <andy@xemacs.org>
15214 * frame.c (change_frame_size_1): The introduction of gutters means
15215 that we need to allow 0 as a potential frame dimension.
15217 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15219 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15220 image glyph if allow_cursor.
15221 (add_hscroll_rune): Don't allow cursor to border glyph.
15222 (create_text_block): Ditto.
15224 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15225 text not in buffer.
15226 (redisplay_output_layout): Call ensure_face_cachel_complete for
15230 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15232 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15234 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15237 * redisplay-tty.c (tty_output_display_block): Delete the routine
15238 for text image glyph
15239 * redisplay-x.c (x_output_display_block): ditto
15240 * redisplay-msw.c (mswindows_output_display_block): ditto
15242 2000-02-02 Mike Alexander <mta@arbortext.com>
15244 Note: Some of these were committed by accident as part of other
15247 * regex.c (regex_compile): Avoid compiler warnings.
15249 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15251 * nt.h: Declare term_ntproc correctly.
15253 * nt.c: Remove incorrect declaration of get_home_directory which
15254 is declared correctly in lisp.h.
15256 * keymap.c (get_keyelt): Avoid compiler warnings.
15257 (raw_lookup_key_mapper): Avoid compiler warnings.
15259 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15261 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15263 * filemode.c (mode_string): Avoid compiler warnings.
15265 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15268 * events-mod.h: Undef some things that winuser.h defines differently.
15270 * data.c (Faset): Avoid compiler warnings.
15272 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15274 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15276 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15277 Fall through to simple beep on error.
15278 Replace "extern" by real header file.
15280 * linuxplay.c: Use nativesound.h
15281 (play_sound_data): Return error code. Be less verbose on error.
15283 * sunplay.c: Use nativesound.h
15284 (play_sound_data): Return error code. Be less verbose on error.
15286 * ntplay.c: Use nativesound.h
15287 (play_sound_data): Return fake error code
15289 * sgiplay.c: Use nativesound.h
15290 (play_sound_data): Return error code
15292 * hpplay.c: Use nativesound.h, partially implement
15293 new error code. Break compilation until finished.
15294 (play_sound_data): error code.
15296 * nativesound.h (play_sound_file):
15297 (play_sound_data): Prototype in new header.
15299 2000-03-31 Andy Piper <andy@xemacs.org>
15301 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15302 for toggle and radio buttons.
15303 (image_instantiator_buttons): use it.
15305 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15307 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15308 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15309 found. Scrollbar event probably belonged to some old config.
15311 2000-03-31 Andy Piper <andy@xemacs.org>
15313 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15315 (initialize_widget_image_instance): default layout to
15316 LAYOUT_HORIZONTAL rather than 0.
15317 (widget_instantiate): reverse the item list at the end rather than
15319 (layout_layout): re-code for the border text at the front of the
15320 item list rather than at the end.
15321 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15322 provided by the user.
15323 (widget_query_geometry): comment.
15325 2000-03-30 Andy Piper <andy@xemacs.org>
15327 * glyphs-widget.c (image_instantiator_layout): allow standard
15328 widget keywords in layouts.
15330 * gutter.c (output_gutter): cope with nil gutter contents.
15332 * frame.c (Fset_frame_properties): add gutter docs.
15334 2000-03-29 Andy Piper <andy@xemacs.org>
15336 * toolbar-msw.c (TBSTYLE_FLAT): add.
15337 (mswindows_output_toolbar): minor fiddling.
15339 2000-03-29 Andy Piper <andy@xemacs.org>
15341 * gutter.c (output_gutter): force gutter size recalculation if
15342 what we are trying to display won't fit.
15343 (update_gutter_geometry): new function. A per-gutter version of
15344 update_frame_gutter_geometry.
15345 (update_frame_gutter_geometry): use it.
15346 (redraw_exposed_gutter): add extra debugging output.
15348 2000-03-28 Mike Alexander <mta@arbortext.com>
15350 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15351 (pdump_file_unmap): Implement it on Windows
15352 (pdump_file_get): Save alocated handles for pdump_file_unmap
15354 2000-03-28 Andy Piper <andy@xemacs.org>
15356 * gui.c (get_gui_callback): treat Quit specially.
15358 2000-03-27 Andy Piper <andy@xemacs.org>
15360 * glyphs.c (image_instantiate): be careful to check in the same
15363 2000-03-27 Didier Verna <didier@xemacs.org>
15365 * config.h.in: define the proper SMART_INCLUDE macro.
15366 handle renaming of `foo_h_path' to `foo_h_file'.
15368 * database.c: ditto.
15372 * linuxplay.c: ditto.
15374 * terminfo.c: ditto.
15376 * tooltalk.h: ditto.
15378 2000-03-27 Andy Piper <andy@xemacs.org>
15380 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15381 gets updated whenever the face might have changed.
15383 2000-03-26 Mike Alexander <mta@arbortext.com>
15385 * dumper.c (pdump_resource_free): Fix the comment.
15387 2000-03-21 Olivier Galibert <galibert@pobox.com>
15389 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15391 2000-03-22 Mike Alexander <mta@arbortext.com>
15393 * dumper.c: Include Windows headers on Windows
15394 (pdump_resource_free): Add a body to the function
15395 (pdump_load): exe_name -> exe_path and add some comments.
15397 2000-03-25 Mike Alexander <mta@arbortext.com>
15399 * gui.c (copy_gui_item_tree): Return a value in all cases
15401 2000-03-21 Didier Verna <didier@xemacs.org>
15403 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15405 (SMART_INCLUDE): new macro.
15406 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15407 the proper location.
15409 * postgresql.c: use it.
15413 2000-03-24 Andy Piper <andy@xemacs.org>
15415 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15418 2000-03-24 Andy Piper <andy@xemacs.org>
15420 * redisplay-output.c (compare_runes): use image_instance_changed
15421 to detect changes. Do not depend on glyphs_changed, only depend on
15423 (redisplay_output_layout): add debug messages.
15424 (compare_runes): ditto.
15426 * glyphs.h: declare new functions.
15427 (struct Lisp_Image_Instance): remove percent and associated
15430 * gui.h: declare new copying functions.
15432 * gui.c (copy_gui_item_tree): new function.
15433 (copy_gui_item): new function.
15434 (gui_item_id_hash): revert to standard hash.
15435 (gui_item_hash): ditto.
15436 (gui_item_hash_internal): deleted.
15437 (mark_gui_item): mark value.
15438 (gui_item_add_keyval_pair): add value.
15439 (gui_item_init): ditto.
15440 (gui_add_item_keywords_to_plist): ditto.
15441 (gui_item_equal): ditto.
15442 (syms_of_gui): add Q_value.
15444 * glyphs-x.c (x_progress_gauge_update): use pending items and
15445 value for setting the state.
15446 (x_update_widget): don't set items from pending here.
15448 * glyphs-widget.c (update_widget): update items here.
15449 (progress_gauge_set_property): use items for storing value. Put
15450 new value in pending items.
15452 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15453 items for new value. Convert percent -> value.
15454 (mswindows_tab_control_update): don't update items here.
15456 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15457 (update_subwindow): ditto.
15458 (image_instance_changed): new function. Compare hash values and
15459 past and present widget items.
15460 (image_instantiate): We more careful about where we instantiate
15462 (image_instantiate): add error checking.
15464 * gutter.c (syms_of_gutter): use -hook.
15466 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15468 * console-tty.c (Fset_console_tty_input_coding_system): Use
15470 (Fset_console_tty_output_coding_system): Use Qterminal.
15471 (tty_init_console): Use Qkeyboard and Qterminal.
15473 2000-03-21 Ben Wing <ben@xemacs.org>
15475 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15476 From Mike Alexander <mta@arbortext.com>.
15478 2000-03-21 Ben Wing <ben@xemacs.org>
15480 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15481 process brokenness. Proper implementation to come.
15483 Rename call-process-internal to old-call-process-internal.
15484 New impl. in process.el.
15486 2000-03-21 Martin Buchholz <martin@xemacs.org>
15488 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15490 2000-03-20 Andy Piper <andy@xemacs.org>
15492 * glyphs.c (full_list_hash): make hashes of the same elements in
15493 different orders return different values.
15495 2000-03-20 Martin Buchholz <martin@xemacs.org>
15497 * XEmacs 21.2.32 is released.
15499 2000-03-20 Martin Buchholz <martin@xemacs.org>
15501 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15502 (DFC_MALLOC_USE_CONVERTED_DATA):
15503 Add aliasing-safe casts to allow use with char* or unsigned char*
15506 * eldap.c (Fldap_open):
15507 (Fldap_search_basic):
15510 Make C++-compilable.
15511 Make sure GCPRO'ed variables are initialized.
15512 Use temp variables to avoid repeated calls to Flength.
15514 2000-03-16 Martin Buchholz <martin@xemacs.org>
15517 Make sure PATH_MAX is always defined.
15518 Include limits.h for PATH_MAX.
15519 Deprecate use of MAXPATHLEN.
15521 2000-03-10 Martin Buchholz <martin@xemacs.org>
15523 * emacs.c: Add reinit_vars_of_fileio.
15524 * symsinit.h: Add reinit_vars_of_fileio.
15525 * fileio.c (reinit_vars_of_fileio): New.
15526 * fileio.c (Fmake_temp_name):
15527 Initialize temp_name random number from microseconds to make
15528 collisions even less likely. Initialize always at process startup
15529 time. (make-temp-name) used to return the same file name twice in
15531 Random stylistic fiddling.
15534 2000-03-20 Andy Piper <andy@xemacs.org>
15536 * glyphs.c (image_instantiate): allow text glyphs to be
15537 instantiated in the minibuffer window.
15539 2000-03-19 Andy Piper <andy@xemacs.org>
15541 * glyphs.c (image_instance_hash): be careful about which items we
15544 * glyphs-widget.c (tab_control_set_property): record into pending
15545 items rather than the actual items.
15547 * glyphs-x.c (x_update_widget): use pending items to update with.
15549 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15552 * glyphs.c (mark_image_instance): mark pending items.
15554 * window.c (Fset_window_configuration): record the buffer.
15555 (Fselect_window): totally revert previous change which breaks many
15558 2000-03-18 Andy Piper <andy@xemacs.org>
15560 * glyphs-msw.c (mswindows_tab_control_update): force selected
15563 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15564 window domain cache, otherwise we get inconsistencies at
15565 startup. There is something fishy at startup which can lead to the
15566 minibuffer being the selected window when the gutter content is
15569 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15571 (parse_gui_item_tree_children): ditto.
15572 (parse_gui_item_tree_item): ditto.
15574 * glyphs.c (Fupdate_widget_instances): return something.
15576 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15578 * window.c (Fselect_window): Undo 2000-03-17 change.
15580 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15582 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15583 against v7.0 libraries. Insta-coredump city until the postgres
15586 2000-03-17 Andy Piper <andy@xemacs.org>
15588 * faces.c (complex_vars_of_faces): don't give the widget face an
15589 inherited background pixmap.
15591 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15594 * event-stream.c (Fdispatch_non_command_events): return something.
15596 * gutter.c (output_gutter): use widget face.
15597 (clear_gutter): ditto.
15599 * NEWS: adjust again.
15601 * window.c (Fselect_window): make sure this runs to completion to
15602 avoid oddities with Fset_window_configuration.
15603 (Fcurrent_window_configuration): in general do not save the
15604 minibuffer as the selected window.
15606 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15608 2000-03-16 Olivier Galibert <galibert@pobox.com>
15610 * emacs.c (Frunning_temacs_p): Revert previous patch.
15611 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15613 2000-03-16 Andy Piper <andy@xemacs.org>
15615 * glyphs-x.c (x_tab_control_update): if no widget values then
15618 * NEWS: update for new features.
15620 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15621 synthetic event to the native system.
15622 (reinit_vars_of_event_Xt): set force_event_pending to
15623 emacs_Xt_force_event_pending.
15625 * events.h (struct event_stream): add force_event_pending.
15627 * specifier.c (recompute_one_cached_specifier_in_window): add
15630 * redisplay.c (redisplay_frame): don't call
15631 update_frame_subwindows. Reset subwindow cachels when
15632 subwindows_changed, removing this was an optimization too far.
15634 * redisplay-output.c (compare_runes): reorganize so that we catch
15635 glyph changes when we want them. Set optimize_output when this
15636 would help layouts.
15637 (redisplay_output_layout): remove frame_really_changed, use
15638 optimize_output instead.
15640 * redisplay-msw.c (mswindows_output_display_block): reset
15641 optimize_output after outputting a glyph.
15642 * redisplay-x.c (x_output_display_block): ditto.
15643 * redisplay-tty.c (tty_output_display_block): ditto.
15645 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15647 (gutter_specs_changed): do specific gutter positions.
15648 (top_gutter_specs_changed): new function. Only update the
15649 specified gutter specs.
15650 (bottom_gutter_specs_changed): ditto.
15651 (left_gutter_specs_changed): ditto.
15652 (right_gutter_specs_changed): ditto.
15654 * gui.c (gui_item_hash_internal): new function, does a real hash.
15655 (gui_item_id_hash): use it.
15656 (gui_item_hash): hash the eval'ed gui_item.
15658 * gui-x.c (popup_selection_callback): send an eval event to call
15659 Fupdate_widget_instances.
15661 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15662 to call Fupdate_widget_instances.
15664 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15665 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15667 * glyphs.c: (update_frame_subwindows): deleted.
15668 (Fupdate_widget_instances): new function for updating the dirty
15669 state of widgets that might have changed.
15670 (syms_of_glyphs): add Qupdate_widget_instances.
15671 (full_list_hash): hash a list completely.
15672 (image_instance_hash): use it for items and properties.
15674 * frame-msw.c (mswindows_size_frame_internal): remove unused
15677 * faces.h (struct face_cachel): fix comment.
15679 * event-stream.c (Fdispatch_non_command_events): new
15680 function. Process non-command events, forcing an event cycle
15682 (syms_of_event_stream): declare.
15683 (event_stream_force_event_pending): new function. Force an event
15684 on the native event queue so that an event cycle will occur next
15688 (struct ntpipe_shove_stream):
15689 (mswindows_enqueue_dispatch_event):
15690 (mswindows_dequeue_dispatch_event):
15691 (mswindows_cancel_dispatch_event):
15692 (mswindows_pump_outstanding_events):
15693 (mswindows_drain_windows_queue):
15694 (mswindows_handle_paint):
15695 (mswindows_wnd_proc):
15696 (mswindows_key_to_emacs_keysym):
15697 (get_process_input_waitable):
15698 (emacs_mswindows_delete_stream_pair): re-indent file.
15699 (mswindows_need_event): do not process further fds if the windows
15700 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15701 fixes the 100% cpu problem.
15702 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15704 2000-03-15 Olivier Galibert <galibert@pobox.com>
15710 * emacs.c: Moved dump file searching to dumper.c.
15711 (Frunning_temacs_p): Fixed.
15713 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15714 last_lrecord_type_index_assigned.
15716 2000-02-20 Olivier Galibert <galibert@pobox.com>
15718 * symsinit.h: Added reinit parameter to init_console_stream
15721 * lisp.h: Added file parameter to pdump_load declaration.
15723 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15724 support. Added dump file searching.
15726 * config.h.in: Added EMACS_PROGNAME.
15728 * console-stream.c (init_console_stream): Fix reinitialisation
15729 when running from temacs.
15731 * alloc.c (pdump): Add id support.
15732 (pdump_load): Add file parameter and signature/id support.
15734 * Makefile.in.in: Add full pdump support.
15736 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15738 * postgresql.c: Update documentation to reflect latest code
15740 (print_result): Show tuple counts in printed representation when
15742 (Fpq_put_nbytes): MULE-ize.
15743 (Fpq_get_line_async): Ditto.
15745 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15747 * postgresql.c (Fpq_lo_import): Fix return value.
15748 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15750 2000-03-13 Ben Wing <ben@xemacs.org>
15752 * alloc.c (pdump_load):
15753 Fix compile warning under mswin.
15755 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15757 * postgresql.c: Mule-ization, bug fixes.
15758 Use PG_CODING to encapsulate coding system name changes.
15759 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15760 (pg-coding-system): Create.
15762 (Fpq_conn_defaults): Mule-ize.
15763 (Fpq_connectdb): Mule-ize & bug fix.
15764 (Fpq_connect_start): Mule-ize.
15765 (Fpq_set_client_encoding): Mule-ize.
15766 (Fpq_finish): Document `DEAD' connection status.
15767 (Fpq_clear): Ditto.
15768 (Fpq_pgconn): Mule-ize.
15769 (Fpq_exec): Mule-ize & bug fix.
15770 (Fpq_send_query): Ditto.
15771 (Fpq_get_result): Ditto.
15772 (Fpq_res_status): Mule-ize.
15773 (Fpq_result_error_message): Mule-ize.
15774 (Fpq_ntuples): fix comments.
15775 (Fpq_fname): Mule-ize.
15776 (Fpq_fnumber): Mule-ize.
15777 (Fpq_ftype): fix comments.
15778 (Fpq_get_value): Mule-ize.
15779 (Fpq_cmd_status): Ditto.
15780 (Fpq_cmd_tuples): Ditto.
15781 (Fpq_oid_value): Ditto.
15782 (Fpq_notifies): Ditto.
15783 (Fpq_lo_import): Ditto.
15784 (Fpq_lo_export): Ditto.
15785 (Fpq_get_line): Ditto.
15786 (Fpq_put_line): Mule-ize and bug fix.
15787 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15789 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15791 * postgresql.c (vars_of_postgresql): Mule-ize.
15792 (Fpq_conn_defaults): Ditto.
15794 2000-03-12 Ben Wing <ben@xemacs.org>
15796 * alloc.c (Fmake_byte_code):
15797 * alloc.c (debug_string_purity_print):
15798 * alloc.c (pdump_backtrace):
15799 * alloc.c (pdump_get_indirect_count):
15800 * alloc.c (pdump_register_sub):
15801 * alloc.c (pdump_register_object):
15802 * alloc.c (pdump_register_struct):
15803 * alloc.c (pdump_dump_data):
15804 * alloc.c (pdump_reloc_one):
15808 * console-msw.c (GetConsoleHwnd):
15809 * console-msw.c (msw_hide_console):
15810 * console-msw.c (msw_show_console):
15811 * console-msw.c (msw_ensure_console_buffered):
15812 * console-msw.c (msw_output_console_string):
15813 * console-msw.c (console_type_create_mswindows):
15815 a) Added functions to manipulate the console window for use with
15818 b) Added support for writing text to the console, which is now
15819 used under Windows when xemacs is not being run non-interactively,
15820 to write text that would otherwise be destined for stdout because
15821 under these circumstances, text written to stdout tends to
15822 disappear and not be seen.
15826 * event-Xt.c (x_event_to_emacs_event):
15827 * event-Xt.c (describe_event_window):
15828 * events-mod.h (XEMACS_MOD_CONTROL):
15830 * events.c (Fmake_event):
15831 * events.c (character_to_event):
15832 * events.c (event_to_character):
15833 * events.c (format_event_object):
15834 * events.c (Fevent_modifiers):
15836 * events.h (struct key_data):
15837 * events.h (struct button_data):
15838 * events.h (struct misc_user_data):
15839 * frame-x.c (Fcde_start_drag_internal):
15840 * frame-x.c (Foffix_start_drag_internal):
15841 * gpmevent.c (Freceive_gpm_event):
15843 * keymap.c (bucky_sym_to_bucky_bit):
15844 * keymap.c (control_meta_superify):
15845 * keymap.c (make_key_description):
15846 * keymap.c (keymap_lookup_directly):
15847 * keymap.c (create_bucky_submap):
15848 * keymap.c (keymap_store):
15849 * keymap.c (define_key_check_and_coerce_keysym):
15850 * keymap.c (define_key_parser):
15851 * keymap.c (define_key_alternate_name):
15852 * keymap.c (Fdefine_key):
15853 * keymap.c (raw_lookup_key_mapper):
15854 * keymap.c (struct map_keymap_unsorted_closure):
15855 * keymap.c (map_keymap_unsorted_mapper):
15856 * keymap.c (map_keymap_sort_predicate):
15857 * keymap.c (map_keymap_sorted):
15858 * keymap.c (accessible_keymaps_mapper_1):
15859 * keymap.c (where_is_recursive_mapper):
15860 * keymap.c (describe_map_mapper):
15861 * keymap.c (describe_map_sort_predicate):
15862 * keymap.c (describe_map):
15863 * keymap.c (complex_vars_of_keymap):
15864 And a number of other files, the key modifier preprocessor
15865 constants that xemacs uses have names that conflict with constants
15866 defined under MS Windows for other purposes, so they were renamed
15867 to begin with the prefix XEMACS_. The variables that hold such
15868 modifiers were changed to consistently be of type int to fix
15869 various compile warnings.
15871 * console.c (complex_vars_of_console):
15874 * device-msw.c (mswindows_finish_init_device):
15875 * device-msw.c (msw_get_workspace_coords):
15876 * device-msw.c (mswindows_device_system_metrics):
15877 and various other files, added support for a new
15878 device property called offset-workspace which returns the position
15879 of the upper left corner of the workspace area and goes along with
15880 the existing size-workspace property.
15883 * dialog-msw.c (push_bufbyte_string_as_unicode):
15884 * dialog-msw.c (mswindows_popup_dialog_box):
15885 Added support for XEmacs-style accelerator specifications in
15886 button text. Note: I didn't add support for this under X Windows,
15887 and somebody needs to do this.
15890 * dialog.c (Fpopup_dialog_box):
15891 Documented the support for accelerators that was just mentioned.
15893 editfns.c (get_home_directory): Changed behavior under Windows
15894 when HOME not defined; former behavior was irretrievably broken.
15897 * emacs.c (main_1):
15899 * minibuf.c (clear_echo_area_internal):
15900 * minibuf.c (echo_area_append):
15902 * print.c (std_handle_out_external):
15903 * print.c (std_handle_out_va):
15905 * print.c (write_string_to_stdio_stream):
15906 * print.c (output_string):
15907 * print.c (debug_print):
15908 * print.c (debug_backtrace):
15909 * print.c (debug_short_backtrace):
15910 Cleaned up the code that prints text to stdout so that this can be
15911 changed to output into a console window instead under MS Windows,
15912 as described above.
15915 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15916 * eval.c (internal_catch):
15917 * eval.c (unwind_to_catch):
15918 * eval.c (throw_or_bomb_out):
15919 * eval.c (condition_case_1):
15920 * eval.c (signal_1):
15921 * eval.c (check_error_state_sanity):
15922 * eval.c (call_with_suspended_errors_1):
15923 * eval.c (call_with_suspended_errors):
15924 * eval.c (reinit_vars_of_eval):
15925 Added code to catch throw loops and check for a pesky bug that may
15929 * event-msw.c (key_needs_default_processing_p):
15930 * event-msw.c (mswindows_wnd_proc):
15931 * event-msw.c (mswindows_modifier_state):
15932 * event-msw.c (emacs_mswindows_quit_p):
15933 * event-msw.c (vars_of_event_mswindows):
15934 a) Added support for using the alt key to select menu items as is
15935 standard under MS Windows. This is controlled using the variable
15936 menu-accelerator-enabled, just like under X Windows. There is an
15937 option on the options menu to turn this support on. I really
15938 think that it should be on by default under Windows, but I'm not
15939 going to make this change yet.
15941 b) Added support for dynamic display size changes under Windows.
15944 * event-stream.c (maybe_echo_keys):
15945 * event-stream.c (Fnext_event):
15946 * event-stream.c (command_builder_find_leaf):
15947 * event-stream.c (lookup_command_event):
15948 * event-stream.c (execute_command_event):
15949 * event-stream.c (pre_command_hook):
15950 * event-stream.c (post_command_hook):
15951 * event-stream.c (syms_of_event_stream):
15952 * event-stream.c (vars_of_event_stream):
15953 * event-stream.c (complex_vars_of_event_stream):
15954 * events.h (struct command_builder):
15956 a) Tried to clean up a little bit the horribly written x-specific
15957 accelerator code that crept into this file. I moved this code
15958 into menubar-x.c where it belongs. I also needed to move the
15959 command builder structure into the file events.h because it is
15960 accessed directly by this accelerator code. What I didn't do, but
15961 which should be done at some point, is to properly abstract this
15962 code using device methods instead of the kludgy way that it
15963 currently hooks into the event code.
15965 b) Added the lisp variables this-command-properties and
15966 last-command- properties, which should be used to synchronize two
15967 adjacent commands in preference to playing games with the variable
15968 this-command, which is typically what happens.
15970 c) Added some slightly nasty code to hook into the lisp support
15971 for shifted- motion-key selection. This is actually necessary for
15972 somewhat complicated reasons, which are described in
15973 simple.el. (NB: I think the proper thing would be to have the code
15974 that calls the pre and post command hooks also call out to generic
15975 lisp functions in simple.el, where all built-in stuff could be
15976 added. I will think about this more.)
15978 * event-unixoid.c (poll_fds_for_input):
15979 * lread.c (readchar):
15980 * redisplay-tty.c (tty_clear_frame):
15981 * redisplay-x.c (x_get_gc):
15982 * signal.c (interrupt_signal):
15983 And a whole bunch of other files: fixed up places that printed
15984 directly to stderr to instead call the function stderr_out so that
15985 the changes I made under Windows work correctly.
15987 * filemode.c (mode_string):
15991 * frame-msw.c (mswindows_size_frame_internal):
15992 Fixed the computation of frame size and position to keep the frame
15993 within the workspace area, rather than within the physical
15994 dimensions of the screen, so that the frame doesn't overlap window
15995 manager decorations, such as the start menu and toolbar, typically
15996 at the bottom of the screen.
15998 * frame.c (vars_of_frame):
15999 Changed the default frame title format under MS Windows to consist
16000 of buffername-XEmacs, which is standard under MS Windows. I think
16001 it might be a good idea to change this everywhere because I think
16002 it is superior to the current frame title format, but this is the
16003 kind of change that is likely to cause some people to get annoyed,
16004 so I'm not making it.
16006 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
16008 * gui-msw.c (mswindows_handle_gui_wm_command):
16009 Fixed compile warnings.
16012 * gui-x.c (strdup_and_add_accel):
16013 * gui-x.c (button_item_to_widget_value):
16015 Added code to automatically put an accelerator onto the beginning
16016 of menu items that don't have one as is now the standard, and is
16017 described more later. Also fixed things so that the menu item
16018 name can be an evaluated expression, again a new standard.
16021 * gui.c (gui_item_add_keyval_pair):
16022 * gui.c (make_gui_item_from_keywords_internal):
16023 * gui.c (gui_add_item_keywords_to_plist):
16024 * gui.c (gui_item_accelerator):
16025 * gui.c (gui_name_accelerator):
16026 * gui.c (gui_item_included_p):
16027 * gui.c (gui_item_display_flush_left):
16028 * gui.c (gui_item_display_flush_right):
16029 * gui.c (parse_gui_item_tree_item):
16030 * gui.c (parse_gui_item_tree_children):
16031 * gui.c (parse_gui_item_tree_list):
16032 Mule-ized. Cleanup. GCPRO addition.
16034 * line-number.c (buffer_line_number):
16036 * lisp.h (EMACS_INT_MAX):
16037 Added the manifest constant EMACS_INT_MIN corresponding to the
16038 existing constant EMACS_INT_MAX. This is partially to fix compile
16039 warnings under Windows, and partly for cleanliness.
16042 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
16043 * menubar-msw.c (msw_translate_menu_or_dialog_item):
16044 * menubar-msw.c (displayable_menu_item):
16045 * menubar-msw.c (populate_menu_add_item):
16046 * menubar-msw.c (populate_or_checksum_helper):
16047 * menubar-msw.c (populate_menu):
16048 * menubar-msw.c (update_frame_menubar_maybe):
16049 * menubar-msw.c (prune_menubar):
16050 * menubar-msw.c (msw_char_is_accelerator):
16051 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
16052 * menubar-msw.c (mswindows_handle_wm_command):
16053 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
16054 * menubar-msw.c (mswindows_handle_wm_initmenu):
16055 * menubar-msw.c (mswindows_update_frame_menubars):
16056 * menubar-msw.c (mswindows_free_frame_menubars):
16057 * menubar-msw.c (mswindows_popup_menu):
16058 Fixed a bug in handling accelerators where an extra character
16059 would be displayed in the menu item. Also generalized the
16060 function displayable_menu_item because it is now used by the
16061 dialog box code as well. And finally, added code in the functions
16062 that create the menubar to extract a list of accelerators for the
16063 top level menubar, which is used in the event code to determine
16064 whether a particular alt-key combination should be used to invoke
16065 a menu item, or should be passed through to access the standard
16066 XEmacs keymap binding for this key combination.
16068 Much needed GCPROing.
16071 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
16072 * menubar-x.c (menu_item_descriptor_to_widget_value):
16073 * menubar-x.c (restore_in_menu_callback):
16074 * menubar-x.c (x_popup_menu):
16075 * menubar-x.c (menu_move_up):
16076 * menubar-x.c (menu_move_down):
16077 * menubar-x.c (menu_move_left):
16078 * menubar-x.c (menu_move_right):
16079 * menubar-x.c (menu_select_item):
16080 * menubar-x.c (command_builder_operate_menu_accelerator):
16081 * menubar-x.c (menu_accelerator_junk_on_error):
16082 * menubar-x.c (command_builder_find_menu_accelerator):
16083 * menubar-x.c (Faccelerate_menu):
16085 Moved a whole bunch of code here that was previously in
16086 event-stream.c as described above. There is also code connected
16087 to the new standard of adding an accelerator to the beginning of
16088 menu items that don't have one as described above and below.
16091 * menubar.c (menu_parse_submenu_keywords):
16092 * menubar.c (Fmenu_find_real_submenu):
16093 * menubar.c (Fnormalize_menu_item_name):
16094 * menubar.c (syms_of_menubar):
16095 * menubar.c (vars_of_menubar):
16096 * menubar.c (complex_vars_of_menubar):
16098 a) Cleaned up a bunch of documentation and improved it.
16100 b) XEmacs now automatically adds an accelerator onto the beginning
16101 of any menu items that don't have one. I did this because there
16102 will inevitably be some menu items on the main menubar that don't
16103 have accelerators on them because the package that adds that
16104 particular menu item hasn't yet been fixed up to have accelerators
16105 in them and it looked rather strange to have some items with and
16106 some items without accelerators, especially since even in items
16107 without accelerators, you can, at least under windows, still
16108 access the item through an accelerator corresponding to the first
16109 character in the item's name. If people don't like this behavior,
16110 I can add a variable to turn it off optionally, but I'm not sure
16111 this is a good idea because we really do need to have accelerators
16112 on all of the menu items, and if a package doesn't like the
16113 accelerators being put on the first character, then it should put
16114 the accelerators where they belong.
16116 c) I made a behavior change, which is that the descriptor that
16117 specifies the text of the menu item, which formerly was just a
16118 string, can now also be an evaluated expression. This makes this
16119 descriptor parallel with all of the others, which could also be
16120 evaluated expressions. This also obviates the need for the
16121 keyword :label, which was previously listed in the documentation
16122 as unimplemented, and which was for the same purpose.
16127 * ntproc.c (new_child):
16128 * ntproc.c (sys_spawnve):
16129 * ntproc.c (find_child_console):
16130 * ntproc.c (sys_kill):
16131 Fixed compile warnings. By the way, this file should really go
16132 away entirely, and this will happen as soon as Kirill makes his
16133 final round of process cleanups, which affect the function
16137 * process-nt.c (struct nt_process_data):
16138 * process-nt.c (find_process_from_pid):
16139 * process-nt.c (send_signal_the_nt_way):
16140 * process-nt.c (enable_child_signals):
16141 * process-nt.c (find_child_console):
16142 * process-nt.c (send_signal_the_95_way):
16143 * process-nt.c (nt_finalize_process_data):
16144 * process-nt.c (ensure_console_window_exists):
16145 * process-nt.c (nt_create_process):
16146 * process-nt.c (nt_kill_child_process):
16147 * process-nt.c (nt_kill_process_by_pid):
16148 * process-nt.c (nt_open_network_stream):
16149 * process-nt.c (vars_of_process_nt):
16150 Copied over code from Emacs 20.5 to correctly send signals to sub-
16151 processes under Windows 95. Also added code to automatically
16152 create and hide console window when a sub-process is created under
16153 Windows 95, which obviates the need for the separate runemacs.exe
16154 executable, and finally implemented some variables that were
16155 implemented in Emacs 20.5, but previously not in XEmacs. These
16156 include mswindows- start-process-share-console and
16157 mswindows-start-process-inherit-error-mode. (Both of these only
16158 apply to Windows 95.)
16160 * regex.c (regex_compile): Fixed a compile warning.
16163 * select-msw.c (mswindows_own_selection):
16164 * select-msw.c (mswindows_get_foreign_selection):
16165 * select-msw.c (mswindows_disown_selection):
16166 * select-msw.c (console_type_create_select_mswindows):
16167 * select-msw.c (syms_of_select_mswindows):
16168 Cleaned up the file and implemented the device method
16169 selection_exists_p, which had accidentally been left out. Also
16170 removed four lisp functions that were remnants from before the
16171 time when the selection code was properly device abstracted.
16172 These functions are no longer needed because there are generic
16173 equivalents, and because they were added recently and don't exist
16174 in FSF Emacs, I don't think there's any problem with just deleting
16178 * sysdep.c (sys_subshell):
16179 Fixed a compile warning, although in this case there's probably
16180 something wrong with this code, and it ought to be looked into
16181 more thoroughly by somebody who understands it.
16184 * window.c (Fwindow_text_area_height):
16185 * window.c (Fwindow_width):
16186 * window.c (Fwindow_full_width):
16187 * window.c (Fwindow_pixel_width):
16188 * window.c (debug_print_window):
16189 * window.c (syms_of_window):
16190 Added functions window-text-area-height and window-full-width,
16191 which are functions for returning various width and height
16192 characteristics of a window. (One of these functions is necessary
16193 for making the file dialog box work correctly, and the other one
16194 was added for completeness.) Also added a table to the
16195 documentation for window-height which describes the entire scheme
16196 for accessing width and height characteristics of a window.
16198 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16200 * nt.c (fstat): Added a comment for another problem with
16201 non-encapsulated [f]stat(), reported by Adrian Aichner
16202 <aichner@ecf.teradyne.com>.
16204 2000-03-11 Andy Piper <andy@xemacs.org>
16206 * window.c (make_dummy_parent): initialize subwindow instance
16208 (Fset_window_configuration): zero extent_modiff.
16210 2000-03-10 Andy Piper <andy@xemacs.org>
16212 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16213 more changes can be triggered.
16214 (Fredisplay_frame): ditto.
16215 (Fredraw_device): ditto.
16216 (Fredisplay_device): ditto.
16217 (redisplay_frame): make non-static.
16218 (redisplay_frame): call update_frame_gutter_geometry outside of
16221 * gutter.h: declare update_frame_gutter_geometry.
16223 * redisplay.h: declare redisplay_frame.
16225 * gutter.c (update_frame_gutter_geometry): move geometry changes
16226 in update_frame_gutters here. Geometry changes can only occur
16227 outside of redisplay.
16228 (update_frame_gutters): remove geometry change code.
16229 (Fredisplay_gutter_area): make sure that we are in display when we
16230 update and that we have flushed any size changes.
16232 2000-03-11 Andy Piper <andy@xemacs.org>
16234 * alloc.c (pdump_dump_data): remove i & count shadows.
16236 2000-02-27 Mike Alexander <mta@arbortext.com>
16238 * sysdep.h: Declare pdump_read_file
16240 * sysdep.c (pdump_read_file): New function
16242 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16245 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16247 * lrecord.h: add `lrecord_type_pgsetenv'.
16249 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16251 * symsinit.h: declare (vars|syms)_of* functions.
16252 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16254 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16256 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16258 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16261 * emacs.c (main_1): Call postgres initialization code.
16263 * postgresql.h: New file. PostgreSQL RDBMS support.
16264 * postgresql.c: New file.
16266 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16268 * redisplay-output.c (redisplay_output_display_block): Disable
16271 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16273 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16274 (Fcanna_henkan_next): Ditto.
16275 (Fcanna_bunsetu_henkou): Ditto.
16276 (Fcanna_henkan_kakutei): Ditto.
16277 (Fcanna_henkan_end): Ditto.
16278 (Fcanna_henkan_quit): Ditto.
16279 (Fcanna_henkan_next): Set retun value correctly.
16280 (c2mu): Use unsigned char instead of signed char.
16282 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16284 * emacs.c (main_1): Always call syms_of_gui.
16285 * inline.c: include gui.h
16287 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16289 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16290 converted to Lisp_Object.
16291 (Qtop_bottom): New variable.
16292 (syms_of_redisplay): Initialize it.
16293 * redisplay.h (Vvisible_bell): Ditto.
16294 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16295 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16296 only flash top and bottom.
16298 2000-03-08 Andy Piper <andy@xemacs.org>
16300 * buffer.c (Frename_buffer): record new buffer name the right way.
16302 2000-03-08 Andy Piper <andy@xemacs.org>
16304 * glyphs.c (update_subwindow): increase hash depth so that widget
16305 items get picked up properly.
16307 * redisplay-output.c (compare_runes): increase hash depth so that
16308 widget items get picked up properly.
16310 2000-03-08 Andy Piper <andy@xemacs.org>
16312 * gutter.c (output_gutter): add some debug.
16314 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16315 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16316 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16318 * redisplay-output.c (compare_runes): use display_hash to
16319 determine if glyphs really are not the same.
16321 * glyphs.c (update_subwindow): check display_hash to see if
16322 anything really needs to be updated. If not then do
16323 nothing. Record the display_hash after updating.
16324 (image_instance_equal): compare the image_instance face also.
16326 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16328 * redisplay.h: Fix comment style.
16330 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16332 * consle-msw.h (struct mswindows_frame):
16333 Added new member paint_pending to indicate whether a WM_PAINT
16334 magic event has been queued for this frame.
16336 * event-msw.c (mswindows_drain_windows_queue):
16337 Don't queue a WM_PAINT magic event if one is already queued.
16338 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16340 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16342 2000-03-07 Didier Verna <didier@xemacs.org>
16344 * dired.c: #include `regex.h' after `sysfile.h'.
16346 2000-03-06 Martin Buchholz <martin@xemacs.org>
16348 * sound.c (init_nas_sound): Fix compiler warning.
16350 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16352 (MARK_STRUCT_AS_FREE):
16353 (MARK_STRUCT_AS_NOT_FREE):
16354 Make `gcc -fstrict-aliasing' work properly.
16356 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16358 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16359 (mswindows_delete_device): Call CoUnnitialize().
16361 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16363 2000-02-25 <CraigL@DyCon.com>
16365 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16368 * sysdep.c: This extern declaration for environ prevents MinGW
16369 from finding the variable in CRTDLL.DLL.
16371 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16373 (SHGFI_EXETYPE): ..
16374 (WM_MOUSEWHEEL): ..
16375 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16377 (MMRESULT): Removed, now defined in cygwin's windows headers.
16379 (uid_t,gid_t,pid_t,ssize_t): ..
16380 (_timeb): Removed, MinGW defines both _timeb and timeb.
16381 (HAVE_H_ERRNO): Added.
16382 (HAVE_TZNAME): Added, configure is not detecting this.
16384 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16386 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16387 * syntax.c (syntax_match): Use it.
16389 * cmds.c: Import auto-fill-chars from FSF Emacs.
16390 (Vauto_fill_chars): New variables.
16391 (internal_self_insert): Check Vauto_fill_chars.
16393 Declare auto-fill-chars as a Lisp variable and initialize it.
16395 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16397 * fileio.c (Fmake_symbolic_link):
16399 Run handlers even if local machine doesn't have symlinks.
16401 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16403 * event-msw.c (mswindows_drain_windows_queue):
16404 Don't generate paint magic events for non-XEmacs frames.
16406 2000-03-05 Andy Piper <andy@xemacs.org>
16408 * redisplay.c (redisplay_frame): generate_displayable_area and
16409 friends assumes that we are not in GC, we therefore have to make
16410 sure that this doesn't happen.
16412 * gutter.c (calculate_gutter_size): generate_displayable_area
16413 assumes that we are not in GC, we therefore have to make sure that
16414 this doesn't happen.
16416 2000-03-05 Martin Buchholz <martin@xemacs.org>
16418 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16420 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16422 * redisplay.c (regenerate_window): Make sure we set a sane value
16423 for end_pos even if we jump out of the loop.
16424 (regenerate_window): Answer Ben's question :-).
16425 (start_end_of_last_line): Add may_error argument.
16426 (start_of_last_line):
16427 (end_of_last_line): Pass may_error = 0.
16428 (end_of_last_line_may_error): New function.
16429 (pixel_to_glyph_translation): Use it, so we don't crash in
16432 2000-03-04 Andy Piper <andy@xemacs.org>
16434 * window.h (struct window): add gutter_extent_modiff.
16436 * window.c (allocate_window): zero out gutter_extent_modiff.
16438 * redisplay.h: declare sync_display_line_structs.
16440 * redisplay.c (add_glyph_rune): add a better comment.
16442 * redisplay-output.c (sync_display_line_structs): made non-static.
16443 (compare_runes): remove unneccesary glyph cachel access.
16445 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16447 * gutter.c (output_gutter): don't output the gutter if extent
16448 changes only involve extents in buffers. use 4 sets of display
16450 (gutter_extent_signal_changed_region_maybe): new function. Mark
16451 extents in gutters as changed.
16452 (update_frame_gutters): use 4 sets of display lines.
16453 (reset_gutter_display_lines): ditto.
16454 (free_frame_gutters): ditto.
16455 (redraw_exposed_gutter): force output of gutters.
16457 * frame.h (struct frame): add 4 sets of gutter display lines.
16459 * extents.c: (extent_changed_for_redisplay): signal changes to
16460 extents in strings in the gutter as well as extents in buffers.
16462 2000-03-02 Andy Piper <andy@xemacs.org>
16464 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16466 * frame.c (Fmake_frame): make sure the gutters get initialized
16467 after the frame is visible.
16468 (set_frame_selected_window): re-arrange compilation macros a
16470 (change_frame_size_1): mark gutters changed.
16472 * device.c (Fset_device_class): mark gutters changed.
16474 2000-03-01 Andy Piper <andy@xemacs.org>
16476 * window.c (window_top_frame_gutter_height): deleted.
16477 (window_bottom_frame_gutter_height): ditto.
16478 (window_left_frame_gutter_height): ditto.
16479 (window_right_frame_gutter_height): ditto.
16480 (window_top_gutter_height): don't use them.
16481 (window_bottom_gutter_height): ditto.
16482 (window_left_gutter_width): ditto.
16483 (window_right_gutter_width): ditto.
16484 (Fsplit_window): ditto.
16485 (Fwindow_pixel_edges): don't use border dimensions here.
16487 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16488 (update_scrollbar_instance): ditto.
16490 * redisplay.c (generate_modeline): don't take gutters into account.
16491 (generate_modeline): ditto.
16492 (redisplay_frame): small gutter display optimization.
16494 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16496 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16497 gutters into account.
16499 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16500 for window position and type.
16502 * gutter.c (get_gutter_coords): fix for frame gutters.
16503 (update_frame_gutters): update frame geometry if the gutters have
16505 (init_frame_gutters): record current gutter geometries.
16507 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16509 (mswindows_widget_instantiate): ditto.
16511 * frame.h (struct frame): add current_gutter_bounds.
16513 * frame.c (change_frame_size_1): position window and minibuffer
16514 appropriately taking into account the frame gutters.
16516 * frame-x.c: (x_initialize_frame_size): take into account the
16519 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16521 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16523 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16525 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16527 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16529 * file-coding.c (reset_decoding_stream): Clear previous
16530 detection state when autodetect.
16532 2000-02-29 Didier Verna <didier@xemacs.org>
16534 * extents.c (set_extent_glyph_1): don't require extents to be
16537 2000-02-27 Andy Piper <andy@xemacs.org>
16539 * gutter.c (Fset_default_gutter_position): don't default left and
16540 right gutter visibility to t.
16541 (Fset_default_gutter_position): run
16542 default-gutter-position-changed-hook.
16543 (syms_of_gutter): add default-gutter-position-changed-hook.
16545 2000-02-26 Andy Piper <andy@xemacs.org>
16547 * specifier.c (Fmake_specifier): add gutter references.
16549 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16551 * lisp.h: declare Fvalid_plist_p.
16553 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16555 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16556 well as its visibility so that it gets reconstructed.
16557 (construct_window_gutter_spec): new function. Construct a string
16558 to be displayed in the gutter from a plist of strings. Take care
16559 to only use elements that are declared as visible.
16560 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16562 (gutter_validate): allow plists of strings in the specifier.
16563 (gutter_specs_changed): construct the real_gutter from the gutter
16564 specs using construct_window_gutter_spec.
16565 (gutter_visible_validate): gutter-visible is a new specifier type.
16566 (Fgutter_visible_specifier_p): new function for the new specifier.
16567 (syms_of_gutter): declare gutter-visible and
16568 Fgutter_visible_specifier_p.
16569 (specifier_type_create_gutter): intitalize new gutter-visible
16571 (reinit_specifier_type_create_gutter): ditto.
16572 (specifier_vars_of_gutter): use new specifier type for gutter
16574 (init_frame_gutters): construct real_gutter correctly.
16575 (Fgutter_specifier_p): beef up documentation.
16576 (Fgutter_size_specifier_p): ditto.
16578 * winslots.h: add real_gutter slots.
16580 2000-02-25 Andy Piper <andy@xemacs.org>
16582 * device-msw.c: Be kind to older cygwin versions. From Raymond
16583 Toy <toy@rtp.ericsson.se>.
16585 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16586 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16588 2000-02-25 Martin Buchholz <martin@xemacs.org>
16590 * elhash.c (MARK_OBJ): Practice macro hygiene.
16592 2000-02-24 Martin Buchholz <martin@xemacs.org>
16594 * miscplay.c: s/__inline__/inline/g;
16595 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16596 (get_device_compdc): INLINE ==> static inline
16597 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16598 find -name '*.h' | \
16599 xargs global-replace \
16600 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16602 2000-02-25 Andy Piper <andy@xemacs.org>
16604 * window.c (window_top_frame_gutter_height): new function.
16605 (window_top_window_gutter_height): ditto.
16606 (window_top_gutter_height): use them.
16607 (window_bottom_frame_gutter_height): new function.
16608 (window_bottom_window_gutter_height): ditto.
16609 (window_bottom_gutter_height): use them.
16610 (window_left_window_gutter_width): new function.
16611 (window_left_frame_gutter_width): ditto.
16612 (window_left_gutter_width): use them.
16613 (window_right_window_gutter_width): new function.
16614 (window_right_frame_gutter_width): ditto.
16615 (window_right_gutter_width): use them.
16616 (window_pixel_height): new function. calulate window pixel height
16617 with frame gutter involvement.
16618 (Fsplit_window): calculate new sizes taking frame gutters into
16620 (window_char_height_to_pixel_height): don't include frame gutters.
16621 (window_char_height): use window_pixel_height.
16622 (window_pixheight): rename from window_pixel_height.
16623 (change_window_height): use it.
16624 (window_pixel_height_to_char_height): don't include frame gutters.
16625 (window_char_width_to_pixel_width): ditto.
16627 2000-02-25 Andy Piper <andy@xemacs.org>
16629 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16632 2000-02-24 Martin Buchholz <martin@xemacs.org>
16634 * alloc.c (staticpro):
16635 (staticpro_nodump):
16640 (compact_string_chars):
16641 (pdump_dump_wired):
16642 Convert: if (foo) abort(); ==> assert (! foo);
16644 * eldap.c (Fldap_search_basic):
16648 Fix compiler warnings, and possible crashes if (random) return
16649 value were to be used.
16651 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16653 * device-msw.c: Workaround ResetDC failure.
16655 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16656 applying a devmode.
16658 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16659 (mswindows_text_width): Do not start printer page.
16661 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16663 * glyphs-msw.c: Added image methods to msprinter console and
16664 msprinter-specific image instantiation.
16666 2000-02-20 Mike Alexander <mta@arbortext.com>
16668 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16669 to avoid crashes when selection-sets-clipboard is on
16670 (mswindows_own_selection): ditto
16672 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16675 * redisplay-msw.c (get_frame_dc):
16676 (get_frame_compdc):
16678 * device-msw.c (mswindows_init_device):
16679 (mswindows_delete_device):
16680 (msprinter_init_device):
16681 (msprinter_delete_device):
16682 * frame-msw.c (mswindows_init_frame_1):
16683 (mswindows_delete_frame):
16684 (msprinter_init_frame_3):
16685 (msprinter_delete_frame): Move compatible DC to device object from
16686 frame object, for both mswindows and msprinter. Only one at a time
16687 is needed, it is a real waste to have one per frame!
16689 2000-02-23 Andy Piper <andy@xemacs.org>
16691 * glyphs.c: add dynamic width and height elements.
16692 (image_instance_equal): ditto.
16694 * glyphs-widget.c (widget_query_geometry): calculate width and
16695 height dynamically if required.
16696 (initialize_widget_image_instance): initialize dynamic dimensions.
16697 (widget_instantiate): pick-up dynamic dimensions.
16699 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16700 dynamic determination. Add appropriate macros.
16702 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16704 (WINDOW_GUTTER_SIZE): ditto.
16705 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16707 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16709 (get_frame_dc): ditto.
16711 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16714 2000-02-23 Martin Buchholz <martin@xemacs.org>
16716 * XEmacs 21.2.31 is released.
16718 2000-02-22 Ben Wing <ben@xemacs.org>
16720 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16722 2000-02-22 Andy Piper <andy@xemacs.org>
16724 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16726 2000-02-21 Mike Sperber <mike@xemacs.org>
16730 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16733 2000-02-21 Mike Sperber <mike@xemacs.org>
16735 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16737 2000-02-21 Martin Buchholz <martin@xemacs.org>
16739 * XEmacs 21.2.30 is released.
16741 2000-02-20 Martin Buchholz <martin@xemacs.org>
16743 Performance hacking.
16745 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16746 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16747 * emacs.c (main_1):
16749 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16750 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16751 * symeval.h (DEFVAR_SYMVAL_FWD):
16752 * symbols.c (guts_of_unbound_marker):
16753 Make all c_readonly objects also lisp_readonly and marked for life.
16754 * lrecord.h (struct lrecord_implementation):
16755 Document flags better.
16756 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16757 * lrecord.h (DECLARE_LRECORD):
16758 * lrecord.h (XSETRECORD):
16759 * lrecord.h (RECORDP):
16760 * lrecord.h (RECORD_TYPEP):
16761 * lrecord.h (RECORD_MARKER): New.
16762 * lrecord.h (error_check_*):
16763 * lrecord.h (CONCHECK_NONRECORD):
16764 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16765 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16766 * lrecord.h (set_lheader_implementation):
16767 * lrecord.h (enum lrecord_type): New.
16768 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16769 * alloc.c (disksave_object_finalization_1):
16770 * alloc.c (mark_object):
16771 * alloc.c (lrecord_type_index):
16772 * alloc.c (tick_lcrecord_stats):
16773 * alloc.c (Fgarbage_collect):
16774 * alloc.c (init_alloc_once_early):
16775 * alloc.c (pdump_load):
16776 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16777 * alloc.c (lrecord_type_index): Delete.
16778 Make lisp object type indexes be constant.
16779 Makes (byte-compile) 5% faster.
16780 Put all marker functions into their own array.
16781 Makes (garbage-collect) 5% faster.
16782 Optimize SYMBOL_VALUE_MAGIC_P.
16783 Makes (byte-compile) 2-3% faster.
16784 * config.h.in (gc_checking_assert): New.
16785 * alloc.c: Use gc_checking_assert().
16786 * .dbxrc: Make compatible with new object type implementation.
16787 * .gdbinit: Make compatible with new object type implementation.
16788 * alloc.c: Delete all symbols defined only for debugging, such as
16789 Lisp_Type_Vector and lrecord_charset.
16791 2000-02-21 Andy Piper <andy@xemacs.org>
16793 * gui-msw.c (Fmswindows_shell_execute): fix file location
16796 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16797 unshowing so that set_window_buffer doesn't undo
16798 kill_buffer_hook's hard work.
16800 * glyphs-widget.c (tab_control_query_geometry): don't count the
16801 first item when calculating geometry.
16803 * glyphs.c (map_subwindow): remove redundant code.
16804 (update_frame_subwindows): be more circumspect about when to
16807 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16808 when items haven't changed. Update faces if faces have changed as
16809 well as just the widget face.
16810 (x_tab_control_update): Update faces if faces have changed as well
16811 as just the widget face.
16813 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16815 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16817 (build_syscolor_string): Use mswindows_color_to_string to try to
16819 (mswindows_device_system_metrics): Reverse the foreground and
16820 background colors so that they match the documentation.
16822 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16823 they match the default Windows palette.
16824 (mswindows_color_to_string): New function.
16826 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16828 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16830 2000-02-18 Olivier Galibert <galibert@pobox.com>
16832 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16833 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16835 * symbols.c (init_symbols_once_early): Removed obsolete
16836 DATA_SEG_BITS related kludge.
16837 (defvar_magic): Ditto.
16839 * malloc.c: Removed obsolete DATA_SEG_BITS
16841 * mem-limits.h: Ditto.
16843 * Makefile.in.in: Removed obsolete HAVE_SHM
16846 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16848 * device-msw.c (mswindows_delete_device): Free DDE string
16851 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16853 * keymap.c (get_keyelt):
16854 * unexnt.c (unexec):
16855 * vm-limit.c (memory_warnings):
16856 * ntheap.c (recreate_heap):
16857 * ntheap.h (UNINIT_PTR):
16858 * select-msw.c (Fmswindows_get_clipboard):
16859 (Fmswindows_set_clipboard):
16860 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16862 * menubar-msw.c (displayable_menu_item):
16864 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16865 * sysdep.c (sys_subshell):
16866 * process-nt.c (nt_create_process):
16867 * nt.c (normalize_filename):
16868 (dostounix_filename):
16869 (unixtodos_filename):
16870 * ntproc.c (win32_executable_type):
16871 * ntplay.c (play_sound_data_1):
16873 * editfns.c (get_home_directory):
16874 * event-msw.c (struct winsock_stream):
16875 (mswindows_dde_callback):
16876 * device-msw.c (msprinter_init_device):
16877 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16879 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16880 mswindows_clear_toolbar were swapped!
16882 * objects-msw.c:(colormap_t):
16884 * emacs.c (struct standard_args): Fixed const jumble.
16886 * glyphs-widget.c (update_widget): Fixed comparison notation.
16888 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16890 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16891 __declspec(noreturn) syntax.
16893 2000-02-19 Martin Buchholz <martin@xemacs.org>
16895 * eldap.c (Fldap_open):
16896 (Fldap_search_basic):
16899 Use new coding system conversion macros.
16901 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16903 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16905 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16907 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16908 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16910 * eldap.c (Qadd, Qreplace): New constant symbols
16911 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16912 interruptions by XEmacs signals
16913 Remove unnecessary calls to slow_down_interrupts and
16914 speed_up_interrupts
16915 (Fldap_search_basic): Renamed from Fldap_search_internal
16916 Added new optional parameter VERBOSE that triggers the
16917 display of progress messages
16918 Remove unnecessary calls to slow_down_interrupts and
16919 speed_up_interrupts
16920 LDAP result code analysis rewritten
16921 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16922 (syms_of_eldap): Define the new symbols and functions
16925 2000-02-17 Martin Buchholz <martin@xemacs.org>
16927 * realpath.c: Determine PATH_MAX maximally portably.
16929 * insdel.c (bytecount_to_charcount): Optimize.
16930 The function used to be optimized for entirely ASCII sequences.
16931 Now it is optimized for successive characters from the same
16932 charset. This also wins big for _mostly_ ASCII sequences.
16934 * fileio.c (Ffile_truename): convert return from realpath() using
16935 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16936 - Rewrite GCPROing slightly.
16938 * sysdep.c (sys_open): Do filename conversion, like all other
16939 sys_* functions. Fixes bug:
16940 (let ((file-name-coding-system 'iso-8859-2))
16941 (write-region x y latin2-name))
16942 ==> writes filename using internal encoding.
16944 2000-02-18 Martin Buchholz <martin@xemacs.org>
16946 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16947 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16948 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16949 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16950 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16951 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16952 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16953 (CONST_IF_NOT_DEBUG): Delete.
16954 * alloc.c (this_one_is_unmarkable): Delete.
16955 (mark_object): Don't check for this_one_is_unmarkable. Use the
16956 c_readonly flag instead.
16957 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16959 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16961 * event-msw.c (mswindows_drain_windows_queue):
16962 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16963 away redundant repaint events.
16965 2000-02-17 Andy Piper <andy@xemacs.org>
16967 * redisplay.h: declare mark_redisplay_structs.
16969 * redisplay.c (redisplay_window):
16970 (redisplay_frame): don't check subwindows_state_changed.
16971 (mark_redisplay): mark gutters here.
16973 * glyphs.c: (instantiate_image_instantiator): always layout if we
16974 haven't done so already.
16975 (allocate_image_instance): don't mark as dirty.
16976 (update_subwindow): bind inhibit_quit.
16978 * gutter.c (mark_gutters): new function.
16980 * glyphs-x.c (x_update_widget): Always resize to get round a
16983 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16984 breaking absolutely everything.
16986 * gutter.h: declare mark_gutters.
16988 2000-02-16 Martin Buchholz <martin@xemacs.org>
16990 * XEmacs 21.2.29 is released.
16992 2000-02-15 Olivier Galibert <galibert@pobox.com>
16994 * fns.c (size_bit_vector): Fix computation of the size.
16996 2000-02-15 Martin Buchholz <martin@xemacs.org>
16998 * *.[ch]: Change CONST to const globally.
16999 find -name '*.[ch]' | \
17000 xargs global-replace \
17001 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
17002 - Remove vestigial references to CONST_IS_LOSING
17004 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17006 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
17007 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
17008 events instead of dispatching them directly.
17009 (mswindows_handle_paint): New function to do repainting.
17010 (mswindows_wnd_proc):
17011 (emacs_mswindows_handle_magic_event): Call above function.
17013 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17015 * objects-msw.c (mswindows_create_font_variant): Return the new
17017 (initialize_font_instance): Get font metrics from the underlined
17018 variant of the font to cope with the case where the underlined
17019 font has a bigger descent.
17021 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17023 * gui.c (gui_item_accelerator): Return the first underlined
17024 character in item name.
17026 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17028 * lisp.h: Added Qprinter.
17030 * general.c (syms_of_general): Initialized it.
17032 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
17034 (get_frame_compdc): Made inline.
17036 * console.h (struct console_methods): Added eject_page method.
17038 * frame.h: Added FRAME_DISPLAY_P and friends.
17039 Aligned backslahes in many macros in more readable fashion.
17040 Added page_number to struct frame, and an accessor macro
17043 * defice.h: Added DEVICE_DISPLAY_P and friends.
17045 * device.c (Fdevice_printer_p): Used these.
17047 * frame.c (allocate_frame_core): Initialize page number.
17048 (Fprint_job_page_number):
17049 (Fprint_job_eject_page): Implemented.
17051 * frame-msw.c (msprinter_eject_page): Added method.
17052 (msprinter_start_page): Added.
17054 * window.c (Fwindow_truncated_p): Fixed docstring.
17055 (Fwindow_last_line_visible_height): Implemented.
17057 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
17059 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
17061 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17063 * syntax.c (scan_words): Always advance at least one character.
17065 2000-02-13 Andy Piper <andy@xemacs.org>
17067 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
17068 to make sure the glyph is in the cachels.
17070 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
17071 global image instance flag.
17072 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
17073 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
17075 * glyphs.c (allocate_image_instance): set dirty bits correctly.
17076 (Fset_image_instance_property): mark layout as changed.
17077 (invalidate_glyph_geometry_maybe): mark layout as changed.
17078 (glyph_width): use new NEEDS_LAYOUT macro.
17079 (glyph_ascent): ditto.
17080 (glyph_descent): ditto.
17081 (glyph_height): ditto.
17082 (image_instance_layout): mark layout as clean after laying out.
17083 (update_subwindow): don't mark layout as clean here.
17085 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
17086 should no longer be needed.
17088 * glyphs-x.c (x_update_widget): sanitize asserts.
17089 (x_finalize_image_instance): sanitize assignment to widgets.
17091 * glyphs-widget.c (widget_instantiate): don't need to clear the
17094 2000-02-13 Martin Buchholz <martin@xemacs.org>
17096 * sysdep.c (getcwd): Use standard prototype.
17097 * sysdep.h (getcwd): Use standard prototype.
17099 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
17100 (sequence, start, end).
17101 Remove redundant type checking.
17102 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
17103 view of `caller-protects') to avoid a crash where the real fix was
17106 2000-02-12 Martin Buchholz <martin@xemacs.org>
17108 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17110 * s/sol2.h: Remove feature macro initialization.
17112 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17113 (vector_hash): New. Code from internal_hash.
17115 Fix up allocation subsystem comments.
17117 * config.h.in: Add __EXTENSIONS__ for Solaris.
17119 * systime.h (EMACS_GETTIMEOFDAY): New.
17120 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17121 Remove Solaris-specific code.
17122 Use void* for the (ignored) second arg for gettimeofday().
17124 * elhash.c (hash_table_hash): Implement it, finally.
17125 * elhash.c: Use hashcode_t.
17127 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17128 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17130 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17131 * fns.c (size_bit_vector):
17132 * alloc.c (size_vector):
17133 (make_vector_internal):
17134 (make_bit_vector_internal):
17135 (sweep_bit_vectors_1):
17136 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17138 2000-02-10 Martin Buchholz <martin@xemacs.org>
17140 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17141 Include strings.h to avoid warnings for bzero and strcasecmp.
17143 2000-02-10 Olivier Galibert <galibert@pobox.com>
17145 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17146 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17148 * fns.c (size_bit_vector): New. Declare bit vectors as a
17151 2000-02-10 Olivier Galibert <galibert@pobox.com>
17153 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17154 use a value field instead.
17155 (symbol_value_forward_forward): Use value field.
17156 (DEFVAR_SYMVAL_FWD): Use value field.
17157 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17158 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17159 (DEFVAR_CONST_INT): Ditto.
17160 (DEFVAR_BOOL): Ditto.
17161 (DEFVAR_CONST_BOOL): Ditto.
17162 (DEFVAR_INT_MAGIC): Ditto.
17163 (DEFVAR_BOOL_MAGIC): Ditto.
17165 * symbols.c (guts_of_unbound_marker): Use value field.
17166 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17167 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17169 * lisp.h: Declare dumpopaque and noninteractive1.
17171 * alloc.c (dumpopaque): Added.
17172 (pdump_dump_opaquevec): Added.
17173 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17174 (pdump_load): Reload opaque data. Sync noninteractive1 with
17177 2000-02-10 Andy Piper <andy@xemacs.org>
17179 * glyphs.c (image_instance_layout): if the size changes, mark it
17182 * redisplay-output.c (redisplay_output_layout): Update the
17184 (redisplay_output_subwindow): ditto.
17186 * glyphs.c (update_subwindow): make sure we reset flags for
17187 layouts as well as everything else.
17189 * glyphs-widget.c (layout_layout): don't need to set the instances
17192 2000-02-09 Martin Buchholz <martin@xemacs.org>
17194 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17195 not HAVE_DLOPEN, which is a lower-level thing.
17197 * .cvsignore: Ignore gmon.out
17199 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17201 * .cvsignore: Ignore portable dumper xemacs.dmp file
17203 2000-02-09 Andy Piper <andy@xemacs.org>
17205 * redisplay-output.c (redisplay_output_layout): be more clever
17206 about when we output based on the changed flags.
17208 * glyphs.h (struct image_instantiator_methods): add update_method.
17209 (struct Lisp_Image_Instance): add changed flags. Declare new
17210 macros for manipulating them.
17212 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17213 (image_instance_parent_glyph): find an image_instance's parent
17214 glyph or image_instance.
17215 (image_instance_layout): mark the size as changed.
17216 (set_image_instance_dirty_p): new function. mark an image
17217 instance, plus all of its parents, as dirty.
17218 (Fset_image_instance_property): use it.
17219 (Fglyph_animated_timeout_handler): use it.
17220 (update_subwindow): call update_widget and device methods for
17221 update_subwindow. Mark all changed flags as clean.
17222 (Fresize_subwindow): mark size as changed.
17224 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17226 (x_update_subwindow): only resize subwindows here.
17227 (x_update_widget): new function. Update all changed properties of
17229 (x_resize_subwindow): deleted.
17230 (x_widget_set_property): deleted.
17231 (x_progress_gauge_set_property): deleted.
17232 (x_progress_gauge_update): new function. Implement recorded
17234 (x_tab_control_update): ditto.
17235 (x_tab_control_set_property): deleted.
17236 (console_type_create_glyphs_x): declare new functions.
17237 (image_instantiator_format_create_glyphs_x): ditto.
17239 * glyphs-widget.c (widget_set_property): mark text changed.
17240 (update_widget): new function. Update properties of a widget.
17241 (widget_instantiate): for layouts make sure we set their
17242 children's parent correctly.
17243 (tab_control_set_property): new function. Record changes that will
17244 take place under redisplay's control.
17245 (progress_gauge_set_property): ditto.
17246 (image_instantiator_progress_guage): declare new functions.
17247 (image_instantiator_tab_control): ditto.
17249 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17251 (mswindows_update_widget): new function. Update all properties on
17252 a widget that have changed.
17253 (mswindows_button_update): new function. Update a button's set
17255 (mswindows_tab_control_update): new function. Update the items in
17257 (mswindows_tab_control_set_property): deleted.
17258 (mswindows_progress_gauge_update): new function. Update the
17259 progress gauge's progress.
17260 (mswindows_widget_set_property): deleted. This is all done
17261 asynchronously now.
17262 (mswindows_progress_gauge_set_property): ditto.
17263 (console_type_create_glyphs_mswindows): declare new methods.
17264 (image_instantiator_format_create_glyphs_mswindows): ditto.
17266 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17267 (msprinter_set_frame_properties): ditto.
17269 * console.h (struct console_methods): Add update_widget_method.
17271 2000-02-09 Andy Piper <andy@xemacs.org>
17273 * gui-msw.c (Fmswindows_shell_execute): Make
17274 mswindows-shell-execute industrial strength.
17276 2000-02-08 Martin Buchholz <martin@xemacs.org>
17278 * lrecord.h: Make macro argument `props' match member function `plist'.
17281 * fns.c (Fremprop):
17282 * fns.c (Fobject_plist):
17285 Object property list frobbing cleanup.
17286 - Allow any lisp object (compared with `eq'), not just symbols, as
17287 keys in object plists.
17288 - Move symbol plist frobbing into symbols.c, where it belongs.
17289 - Move string plist frobbing into alloc.c, where it belongs.
17290 - Everything's an lrecord now, so no need to test for symbolp, etc.
17291 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17293 * extents.c: Reorder code to remove declarations.
17295 * frame.h (store_in_alist): Remove useless declaration.
17297 2000-02-07 Martin Buchholz <martin@xemacs.org>
17299 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17300 * config.h.in: Add HAVE_XCONVERTCASE.
17302 2000-02-07 Andy Piper <andy@xemacs.org>
17304 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17305 it breaks many things.
17307 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17309 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17310 actually can start a common comment type.
17311 * src/syntax.h (SYNTAX_END_P): ditto for end.
17313 2000-02-07 Martin Buchholz <martin@xemacs.org>
17315 * XEmacs 21.2.28 is released.
17317 2000-02-06 Martin Buchholz <martin@xemacs.org>
17319 * event-Xt.c (x_keysym_to_character): New.
17320 (maybe_define_x_key_as_self_inserting_character): New.
17321 (x_has_keysym): New.
17322 Auto-define all keys on the keyboard as self-insert-key.
17324 2000-02-02 Martin Buchholz <martin@xemacs.org>
17326 * menubar.c (vars_of_menubar): A small code simplification.
17328 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17331 * ExternalClient.c:
17332 * EmacsShell-sub.c:
17335 Use consistent style for specifying X resources.
17337 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17338 This makes (dontusethis-set-symbol-value-handler) actually usable.
17340 * lrecord.h (lrecord_decription_type):
17341 * alloc.c (pdump_register_sub):
17344 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17345 Comply with XEmacs coding style.
17346 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17347 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17349 * keymap.c (Faccessible_keymaps):
17350 Make (accessible-keymaps map "\C-h") do the Right Thing.
17351 Make (accessible-keymaps map []) do the Right Thing.
17352 Make (accessible-keymaps map "") do the Right Thing.
17353 (check_keymap_definition_loop): New function.
17354 (keymap_store_internal): Keep luser from shooting self in foot,
17355 via (define-key ctl-x-4-map "p" global-map).
17356 Remove fullness slot from struct Lisp_Keymap, since hash tables
17358 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17360 2000-01-30 Martin Buchholz <martin@xemacs.org>
17362 * redisplay.c (init_redisplay): Fix small memory leak.
17364 * elhash.c (pdump_reorganize_hash_table):
17365 Rename from reorganize_hash_table. Change prototype.
17366 Reuse the original memory for hentries. Save 100k.
17367 * alloc.c (PDUMP_READ): new macro.
17368 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17369 * alloc.c: No need to #ifndef before #undef.
17371 * print.c: Allow debug_print() to print readably by modifying
17372 debug_print_readably. Use consistent variable names.
17374 * .dbxrc: Try to get things to work even if stopped in a function
17375 without source available by explicitly specifying source files.
17376 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17378 * unexnt.c (_start): Removed bogus code which caused loading heap
17379 from differrent executable file.
17380 Removed bogus assignment to _fmode, which caused inconsistencies.
17382 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17384 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17385 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17386 Do not preliminary `#define signal sigset'.
17388 * systime.h: Do not prototype environ on windows nt and cygwin,
17389 this conflicts with system header.
17391 * syssignal.h: Use correct define for WINDOWSNT
17393 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17394 with system header.
17396 * sysdep.c (near start of file): Fixed commentary and rearranged
17397 ifdefs in readable order.
17398 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17401 (end_of_data): Do not compile in if using PDUMP.
17403 * symsinit.h: Prototyped vars_of_nt().
17405 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17406 (find_child_console): Use it.
17407 (sys_kill): Use it.
17409 * ntheap.h: Do not extern os_subtype.
17411 * ntheap.c (cache_system_info): Do not cache unneeded:
17412 nt_major_version, nt_minor_version and os_subtype.
17413 (recreate_heap): Do not compile in when PDUMPing.
17415 * nt.c (geteuid and friends): Use the new varibale
17416 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17417 (init_user_info): Removed the above mentioned hackery.
17418 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17419 stat has been fixed in the C runtime.
17420 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17422 * file-coding.c (struct file_coding_dump): Do not define
17423 ucs_to_mule_table in the struct if not MULE.
17424 (struct struct lrecord_description fcd_description_1): Do not dump
17427 * emacs.c (main_1): Call vars_of_nt().
17428 (right before Fdump_emacs_data): Don't need lastfile if using both
17429 portabe dumper and system malloc.
17431 * alloc.c (Fmemory_limit): Conditionalized out.
17432 (pdump): Use OPEN_BINARY for the portable dump file.
17433 (pdump_load): Ditto.
17435 2000-02-02 Mike Alexander <mta@arbortext.com>
17437 * nt.c (convert_time): Set tm_isdst before calling mktime and
17438 avoid calling it at all if the compiler supports 64 bit integers.
17439 Also initialize utc_base_ft before using it.
17441 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17443 * frame.c (change_frame_size_1): Take f->internal_border_width
17444 into consideration when calculating the width of the frame.
17446 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17448 * window.c (frame_min_height):
17449 (frame_size_valid_p):
17450 (frame_pixsize_valid_p): Added.
17451 (check_frame_size): Generalized.
17453 * window.h: Prototyped the above.
17456 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17457 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17458 Deleted Vwin32_* and Vbinary_process_* unused variables.
17460 * device-msw.c (msprinter_init_device): Do not get printer font
17461 list; Added DEVMODE functions.
17463 * frame-msw.c: Added lots of printer code.
17465 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17468 * console-msw.h: Added more msprinter device private slots.
17470 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17472 * event-msw.c (key_needs_default_processing_p): Added.
17473 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17475 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17477 * glyphs.c (image_instance_layout): Mark image instance as clean
17479 (glyph_dirty_p): Removed redundant function.
17480 (invalidate_glyph_geometry_maybe): Added.
17481 (update_glyph_cachel_data): Call it.
17483 * glyphs.h: Prototyped it.
17485 * redisplay.c (add_glyph_rune): Call it.
17486 (redisplay_window): Reset glyphs cachels when frame faces have
17487 changed, thus forcing recomputation of built-in border glyphs.
17489 2000-01-30 Martin Buchholz <martin@xemacs.org>
17491 * Makefile.in.in: Make portable dumper and purify play well together.
17492 Add imperfect, but better than nothing, support for pdump.
17493 Remove xemacs.dmp when temacs is re-generated.
17494 Don't ignore errors when dumping xemacs.
17496 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17498 2000-01-28 Andy Piper <andy@xemacs.org>
17500 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17501 (setup_normal_frame): ditto.
17502 (setup_frame_without_minibuffer): ditto.
17503 (setup_minibuffer_frame): ditto.
17504 (delete_frame_internal): ditto.
17505 (Fmake_frame_invisible): ditto.
17506 (Ficonify_frame): ditto.
17508 * window.h: change Fset_window_buffer signature.
17510 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17511 (Fset_window_buffer): allow recording of buffer if the window is
17512 the selected window.
17513 (window_loop): Use new Fset_window signature.
17515 2000-01-23 Daniel Pittman <daniel@danann.net>
17517 * config.h.in: Added template for `HAVE_ATHENA_3D'
17519 2000-01-29 Andy Piper <andy@xemacs.org>
17521 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17523 * gutter.c (output_gutter): Don't output if the window isn't live.
17525 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17527 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17528 of 01/12/00: Moved SetFocus back here where it belongs.
17530 2000-01-23 Andy Piper <andy@xemacs.org>
17532 * s/cygwin32.h: declare printer things.
17534 2000-01-26 Andy Piper <andy@xemacs.org>
17536 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17539 2000-01-24 Andy Piper <andy@xemacs.org>
17541 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17542 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17544 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17546 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17548 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17550 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17551 (mswindows_output_display_block): Avoid local shadows.
17553 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17554 (mswindows_enqueue_mouse_button_event): ditto.
17555 (mswindows_handle_gui_wm_command): remove declaration.
17557 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17560 * console-msw.h: Avoid shadows.
17561 (mswindows_get_toolbar_button_text):
17562 (emacs_mswindows_create_stream_pair):
17563 (emacs_mswindows_delete_stream_pair):
17564 (mswindows_handle_toolbar_wm_command): declare.
17566 * device-msw.c (build_syscolor_string): Avoid shadows.
17568 2000-01-23 Andy Piper <andy@xemacs.org>
17570 * glyphs-widget.c (widget_instantiate): reverse the items for
17571 layouts so that children are in the expected order.
17573 2000-01-28 Martin Buchholz <martin@xemacs.org>
17575 * ralloc.c: safe_bcopy ==> memmove
17576 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17577 * s/msdos.h: Remove BCOPY macros.
17578 * insdel.c (gap_right): Remove BCOPY conditional code.
17579 * insdel.c (gap_left): Remove BCOPY conditional code.
17580 XEmacs demands a working ANSI C compiler - hence memmove.
17582 * regex.c (regex_compile): Remove accidental use of trigraphs.
17584 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17586 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17589 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17591 * event-msw.c (mswindows_drain_windows_queue): Added the
17593 (mswindows_need_event): Commented the call to
17594 mswindows_drain_windows_queue().
17595 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17598 * console-msw.h: Moved a few function prototypes here from
17601 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17602 parameter from unsigned short to unsigned long.
17603 (Fmswindows_shell_execute): Added return value.
17605 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17607 * sysdep.c (init_system_name):
17608 process-unix.c (unix_canonicalized_host_name):
17609 Don't call freeaddrinfo() if getaddrinfo() fails.
17611 * process-unix.c (unix_open_unix_network_stream):
17612 Moved the code to get a port # into address loop.
17614 2000-01-27 Martin Buchholz <martin@xemacs.org>
17616 * buffer.c (reinit_vars_of_buffer):
17617 The right place to initialize conversion_in_dynarr and
17618 conversion_out_dynarr.
17620 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17622 * process-unix.c (unix_canonicalize_host_name): Muleize.
17623 (unix_open_network_stream): Muleize.
17625 * buffer.h: Fix up prototypes for ralloc.c functions.
17627 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17628 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17629 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17630 instead of gethostbyname()
17631 * process-unix.c: In unix_canonicalize_host_name() and
17632 unix_open_network_stream(), add code to use getaddrinfo()
17633 instead of gethostbyname().
17635 2000-01-27 Daniel Pittman <daniel@danann.net>
17637 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17638 libs when built with flat Athena.
17640 2000-01-27 Martin Buchholz <martin@xemacs.org>
17642 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17643 Use coding standards for function prototypes.
17645 2000-01-25 Martin Buchholz <martin@xemacs.org>
17647 * dialog-msw.c (push_lisp_string_as_unicode):
17648 * doc.c (unparesseuxify_doc_string):
17649 * dired.c (Fuser_name_completion_1):
17650 * dired.c (Fuser_name_all_completions):
17651 * dired.c (free_user_cache):
17652 * dired.c (user_name_completion):
17653 * console-x.c (get_display_arg_connection):
17654 * minibuf.c (clear_echo_area_internal):
17655 * minibuf.c (echo_area_append):
17656 * eldap.c (Fldap_open):
17657 * eldap.c (Fldap_search_internal):
17658 * frame-x.c (x_set_frame_text_value):
17659 * frame-x.c (x_set_frame_properties):
17660 * frame-x.c (x_create_widgets):
17661 * redisplay-tty.c (term_get_fkeys_1):
17662 * objects-x.c (x_parse_nearest_color):
17663 * objects-x.c (x_valid_color_name_p):
17664 * objects-x.c (x_initialize_font_instance):
17665 * objects-x.c (x_list_fonts):
17666 * objects-x.c (x_find_charset_font):
17667 * tooltalk.c (Fadd_tooltalk_message_arg):
17668 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17669 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17670 * process-unix.c (unix_create_process):
17671 * ntproc.c (sys_spawnve):
17672 * sound.c (Fplay_sound_file):
17673 * sound.c (Fplay_sound):
17674 * buffer.c (init_initial_directory):
17675 * buffer.c (init_buffer):
17676 * editfns.c (init_editfns):
17677 * editfns.c (Ftemp_directory):
17678 * editfns.c (Fuser_full_name):
17679 * editfns.c (uncache_home_directory):
17680 * editfns.c (get_home_directory):
17681 * editfns.c (Fuser_home_directory):
17682 * editfns.c (Fformat_time_string):
17683 * editfns.c (Fcurrent_time_string):
17684 * gui-x.c (button_item_to_widget_value):
17685 * database.c (Fopen_database):
17686 * event-Xt.c (x_to_emacs_keysym):
17687 * event-Xt.c (x_event_to_emacs_event):
17688 * event-Xt.c (describe_event_window):
17689 * event-msw.c (mswindows_wnd_proc):
17690 * glyphs-eimage.c (jpeg_instantiate):
17691 * glyphs-eimage.c (gif_instantiate):
17692 * glyphs-eimage.c (png_instantiate):
17693 * glyphs-eimage.c (tiff_instantiate):
17694 * glyphs-x.c (xbm_instantiate_1):
17695 * glyphs-x.c (x_xbm_instantiate):
17696 * glyphs-x.c (x_xface_instantiate):
17697 * glyphs-x.c (autodetect_instantiate):
17698 * glyphs-x.c (cursor_font_instantiate):
17699 * glyphs-x.c (x_widget_instantiate):
17700 * glyphs-x.c (x_widget_set_property):
17701 * glyphs-x.c (x_widget_property):
17702 * glyphs-x.c (BUILD_GLYPH_INST):
17703 * print.c (write_string_to_stdio_stream):
17704 * print.c (output_string):
17705 * print.c (Falternate_debugging_output):
17706 * print.c (Fexternal_debugging_output):
17707 * glyphs-msw.c (extract_xpm_color_names):
17708 * glyphs-msw.c (mswindows_xpm_instantiate):
17709 * glyphs-msw.c (bmp_instantiate):
17710 * glyphs-msw.c (resource_name_to_resource):
17711 * glyphs-msw.c (mswindows_resource_instantiate):
17712 * glyphs-msw.c (xbm_instantiate_1):
17713 * glyphs-msw.c (mswindows_xbm_instantiate):
17714 * glyphs-msw.c (mswindows_xface_instantiate):
17715 * glyphs-msw.c (mswindows_widget_instantiate):
17716 * glyphs-msw.c (add_tree_item):
17717 * glyphs-msw.c (add_tab_item):
17718 * glyphs-msw.c (mswindows_combo_box_instantiate):
17719 * glyphs-msw.c (mswindows_widget_property):
17720 * glyphs-msw.c (mswindows_combo_box_property):
17721 * glyphs-msw.c (mswindows_widget_set_property):
17722 * console.c (stuff_buffered_input):
17723 * objects-msw.c (mswindows_initialize_color_instance):
17724 * objects-msw.c (mswindows_valid_color_name_p):
17725 * objects-msw.c (mswindows_list_fonts):
17726 * objects-msw.c (mswindows_font_instance_truename):
17727 * bytecode.c (optimize_compiled_function):
17728 * select-x.c (symbol_to_x_atom):
17729 * select-x.c (x_atom_to_symbol):
17730 * select-x.c (hack_motif_clipboard_selection):
17731 * select-x.c (selection_data_to_lisp_data):
17732 * select-x.c (lisp_data_to_selection_data):
17733 * select-x.c (Fx_get_cutbuffer_internal):
17734 * select-x.c (Fx_store_cutbuffer_internal):
17735 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17736 * buffer.h (TO_INTERNAL_FORMAT): New function.
17737 * emacs.c (make_arg_list_1):
17738 * emacs.c (make_argc_argv):
17739 * emacs.c (main_1):
17740 * emacs.c (Fdump_emacs):
17741 * emacs.c (split_string_by_emchar_1):
17746 * device-x.c (x_init_device):
17747 * device-x.c (Fx_valid_keysym_name_p):
17748 * device-x.c (Fx_get_font_path):
17749 * device-x.c (Fx_set_font_path):
17750 * glyphs.c (bitmap_to_lisp_data):
17751 * glyphs.c (pixmap_to_lisp_data):
17752 * alloc.c (make_ext_string): Use coding system arguments. Update
17754 * alloc.c (build_string):
17755 * callproc.c (child_setup):
17756 * callproc.c (init_callproc):
17757 * fileio.c (lisp_strerror):
17758 * fileio.c (directory_file_name):
17759 * fileio.c (Fexpand_file_name):
17760 * fileio.c (Ffile_truename):
17761 * fileio.c (Fsysnetunam):
17762 * fileio.c (Fdo_auto_save):
17763 * sysdep.c (sys_readdir):
17764 * tests.c: New file. Allow adding C tests.
17765 Replace GET_* macros with a more comprehensible and flexible
17766 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17768 Any coding system can be used to do format conversion.
17769 Eliminate enum external_data_format.
17770 Eliminate convert_to_external_format.
17771 Eliminate convert_to_internal_format.
17772 Make sure file-name, keyboard, terminal, and ctext are always
17773 defined as coding systems or aliases. Make
17774 file-name-coding-system, terminal-coding-system, and
17775 keyboard-coding-system magical variables that are equivalent to
17776 defining the corresponding coding system aliases.
17778 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17779 * file-coding.c (Fcoding_system_alias_p): New function.
17780 * file-coding.c (Fcoding_system_aliasee): New function.
17781 * file-coding.c (append_suffix_to_symbol): New function.
17782 * file-coding.c (dangling_coding_system_alias_p): New function.
17783 * file-coding.c (Ffind_coding_system):
17784 * file-coding.c (Fcopy_coding_system):
17785 * file-coding.c (encode_coding_no_conversion):
17786 * file-coding.c (syms_of_file_coding):
17787 * file-coding.c (vars_of_file_coding):
17788 Rewrite coding system alias code.
17789 Allow nested aliases, like symbolic links.
17790 Allow redefinition of coding system aliases.
17791 Prevent existence of dangling coding system aliases.
17793 * dired.c (Fuser_name_completion_1):
17794 * dired.c (Fuser_name_all_completions):
17795 A crash would happen if user did QUIT in the middle of building
17796 user_name_cache. Remove redundant code in mainline and unwind_protect.
17799 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17801 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17802 an unsigned char *. Update all callers.
17804 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17806 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17808 2000-01-25 Martin Buchholz <martin@xemacs.org>
17810 * elhash.c (hentry_description): Use more portable definition.
17811 (resize_hash_table): Initialize new hentries using
17812 xnew_array_and_zero, thereby simplifying the code.
17814 * mule-charset.c (make_charset): Make sure entire object is
17815 initialized, to avoid Purify warnings.
17817 * alloc.c (resize_string): Fix unlikely crash with big strings.
17819 2000-01-24 Martin Buchholz <martin@xemacs.org>
17821 * realpath.c (xrealpath):
17822 Don't call getwd().
17824 2000-01-25 Martin Buchholz <martin@xemacs.org>
17826 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17828 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17830 * unexelfsgi.c (unexec): Change the way we decide which segment
17831 should be extended.
17833 Assumption that .bss section should be outside the PT_LOADable
17834 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17835 it's present) is inside the 'data' segment. This would fail the
17836 test which was used to find a segment to grow and cover new
17837 heap. Instead of this assumption, I created another one - on IRIX
17838 the segment to grow should start below .bss and it's address
17839 should extent above the end of .bss. Once this segment is
17840 identified, it's grown to accommodate the new heap and new
17841 zero-length .bss section is added at the end of .data2.
17843 2000-01-25 Martin Buchholz <martin@xemacs.org>
17845 * eval.c (Feval): Wrong number of arguments should use original
17846 function, not the indirect_function version of it.
17848 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17850 * glyphs-x.c (x_button_instantiate): Don't add image if
17851 it is not a pixmap.
17852 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17855 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17857 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17859 (DEFVAR_INT_MAGIC): Ditto.
17860 (DEFVAR_BOOL_MAGIC): Ditto.
17861 * glyphs.h: Reindent backslash.
17863 2000-01-24 Martin Buchholz <martin@xemacs.org>
17865 * glyphs-widget.c (layout_query_geometry):
17866 (layout_layout): Use correct types for gheight, gwidth.
17868 2000-01-24 Martin Buchholz <martin@xemacs.org>
17870 * EmacsManager.c (QueryGeometry): Purified.
17872 2000-01-23 Martin Buchholz <martin@xemacs.org>
17874 * alloc.c (make_float): Make sure entire object is initialized, to
17875 avoid Purify warnings.
17876 (pdump_register_sub): Remove useless assignment.
17877 (pdump): Use xmalloc, not malloc.
17878 (pdump_load): Use xmalloc, not malloc.
17880 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17887 * sysdep.c: Removed redundant #include <windows.h>
17889 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17891 * frame.c (delete_frame_internal): Do not delete device when its
17892 implementation so declares.
17893 (delete_frame_internal): Set device selected frame to nil when
17894 last frame goes away.
17896 * device-msw.c (msprinter_device_system_metrics): Implemented.
17897 (mswindows_device_system_metrics): Added 'device-dpi property.
17899 * device.c: (Fdevice_printer_p): Added.
17900 Added 'offset-workspace device metric.
17902 * console.h (device_metrics): Declared DM_offset_workspace.
17904 2000-01-23 Martin Buchholz <martin@xemacs.org>
17906 * fileio.c (Ffile_truename): Remove pointless and confusing
17907 initialization of elen.
17909 * glyphs-widget.c: Compiler warning fixes.
17911 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17913 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17914 instead of a Lisp_Object as argument to make it consistent with
17915 the other LIVE_P macros.
17916 (CHECK_LIVE_PROCESS): New macro.
17918 * process.c: Declare Qprocess_live_p.
17919 (Fprocess_live_p): New function.
17920 (create_process): Use PROCESS_LIVE_P.
17921 (read_process_output): Ditto.
17922 (set_process_filter): Ditto.
17923 (Fdelete_process): Ditto.
17924 (kill_buffer_processes): Ditto
17925 (process_send_signal): Use CHECK_LIVE_PROCESS.
17926 (Fprocess_input_coding_system): Check whether process is still
17927 alive (fix PR#1061).
17928 (Fprocess_output_coding_system): Ditto.
17929 (Fprocess_coding_system): Ditto.
17930 (Fset_process_input_coding_system): Ditto.
17931 (Fset_process_output_coding_system): Ditto.
17933 2000-01-23 Andy Piper <andy@xemacs.org>
17935 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17938 * glyphs.c (mark_image_instance): take into account changed
17939 image_instance format.
17940 (image_instance_equal): ditto.
17941 (image_instance_hash): ditto.
17943 * glyphs-widget.c (widget_instantiate): Incorporate layout
17944 instantiation here. Delay layout of the layout until later.
17945 (layout_instantiate): deleted.
17946 (layout_query_geometry): new function. get the geometry of a
17948 (layout_layout): layout a layout dynamically.
17949 (image_instantiator_widget): New function - splitting up
17950 image_instantiator_format_create_glyphs_widget for netwinder
17952 (image_instantiator_buttons):
17953 (image_instantiator_edit_fields):
17954 (image_instantiator_combo_box):
17955 (image_instantiator_scrollbar):
17956 (image_instantiator_progress_guage):
17957 (image_instantiator_tree_view):
17958 (image_instantiator_tab_control):
17959 (image_instantiator_labels):
17960 (image_instantiator_layout): ditto.
17961 (image_instantiator_format_create_glyphs_widget): Call preceding
17964 2000-01-22 Martin Buchholz <martin@xemacs.org>
17966 * process.c (Fset_process_coding_system):
17967 * device-x.c (Fx_keysym_hash_table):
17970 * lstream.c (Lstream_write): Return documented value, not 0.
17972 * fileio.c (directory_file_name):
17973 (Fsubstitute_in_file_name):
17974 (Fsubstitute_insert_file_contents_internal):
17975 (Fwrite_region_internal):
17980 Remove vestigial APOLLO-conditional code.
17982 2000-01-21 Martin Buchholz <martin@xemacs.org>
17984 * getpagesize.h: Add guard macros.
17985 * libsst.h: Add guard macros.
17986 * libst.h: Add guard macros.
17987 * line-number.h: Add guard macros.
17988 * ndir.h: Add guard macros.
17989 * sysfloat.h: Add guard macros.
17990 * sysfile.h: Add guard macros.
17991 * sysproc.h: Add guard macros.
17992 * syswait.h: Add guard macros.
17993 * xintrinsic.h: Add guard macros.
17994 * xintrinsicp.h: Add guard macros.
17995 * xmmanager.h: Add guard macros.
17996 * xmmanagerp.h: Add guard macros.
17997 * xmprimitive.h: Add guard macros.
17998 * xmu.h: Add guard macros.
17999 * gpmevent.h: Add copyright statement. Add guard macros.
18000 * miscplay.h: Add guard macros.
18001 * *.h: Use consistent C-standards-approved guard macro names.
18003 * opaque.c (make_opaque): Switch parameter order.
18004 * opaque.h (make_opaque): Switch parameter order.
18005 Update all callers.
18006 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
18008 * config.h.in (type_checking_assert): Added.
18009 (bufpos_checking_assert): Added.
18011 2000-01-21 Martin Buchholz <martin@xemacs.org>
18013 * alloc.c: Harmless pdump changes.
18015 - spell alignment correctly.
18016 * sysdep.c: Use countof()
18018 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18020 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
18021 initially_selected_for_input() console method, default to 0.
18022 (semi_canonicalize_console_connection): Try to delegate to
18023 canonicalize_console_connection if no such console method.
18024 (canonicalize_console_connection): Vice versa.
18025 (print_console): Do not print nil connection.
18027 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
18028 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
18029 (XDEVIMPF_FRAMELESS_OK): Added.
18030 (CONSOLE_INHERITS_METHOD): Added.
18032 * console-msw.c (mswindows_canonicalize_console_connection):
18034 (mswindows_canonicalize_device_connection): Added.
18036 * console-msw.h (struct msprinter_device): Added this struct and
18038 (mswindows_device): Made fontlist a lisp object.
18040 * device.c (semi_canonicalize_device_connection): Try to delegate
18041 to canonicalize_device_connection if no such console method.
18042 (canonicalize_device_connection): Vice versa.
18043 (print_device): Do not print nil connection.
18045 * device-msw.c (mswindows_init_device): Call InitCommonControls
18047 (mswindows_delete_device): Removed fontlist deallocation.
18048 (mswindows_mark_device): Added.
18050 * events.c (event_equal): Added abort() at unreached code.
18051 (event_hash): Ditto.
18053 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
18054 fallback tags of Windows devices.
18056 * general.c (syms_of_general): Initialized Qmsprinter.
18058 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
18059 of fallback tags of Windows devices.
18061 * lisp.h: Declared Qmsprinter.
18063 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
18065 (mswindows_list_fonts): Ditto.
18066 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
18067 that it can be used by both mswindows and msprinter devices.
18068 (initialize_font_instance): Added.
18069 (mswindows_initialize_font_instance): Use it.
18070 (msprinter_initialize_font_instance): Added.
18072 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
18073 and implementation flags check.
18074 (redisplay_without_hooks): Changed the call to the above.
18075 (Fredraw_device): Ditto.
18076 (Fredisplay_device): Ditto.
18078 * redisplay-msw.c (get_frame_dc): Implemented.
18079 (get_frame_compdc): Implemented.
18080 (many functions): Use the two functions above to get device
18081 contexts, ether for a window or a printer.
18083 2000-01-21 Olivier Galibert <galibert@pobox.com>
18085 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
18086 initialization here.
18087 (init_symbols_once_early): Call it.
18088 * emacs.c (main_1): Call it.
18089 * symsinit.h: Declare it.
18091 2000-01-19 Olivier Galibert <galibert@pobox.com>
18093 * alloc.c: Use a lrecord_header * in the backtrace instead of a
18095 (pdump_backtrace): Ditto.
18096 (pdump_register_object): Ditto. Cleanup use of the pointers.
18097 (pdump_get_entry): Abort if trying to register a null pointer.
18098 (pdump_dump_data): Cleanup types when relocating.
18099 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
18100 (pdump_dump_rtables): Remove bad casts.
18101 (pdump_load): Cleanup relocation w.r.t union type. Use a
18102 Lisp_Object instead of a EMACS_INT for the hashtable
18105 2000-01-20 Martin Buchholz <martin@xemacs.org>
18107 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18109 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18111 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18113 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18115 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18117 * faces.h (FACE_STRIKETHRU_P): Added.
18119 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18122 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18123 (mswindows_set_dc_font): New function, aware of font variants,
18124 separated from mswindows_update_dc.
18126 * objects-msw.h (struct mswindows_font_instance_data): Added
18129 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18130 cached fonts and the data structure.
18131 (mswindows_initialize_font_instance): Added creation of font data
18133 (mswindows_print_font_instance): Print at least something.
18134 (mswindows_create_font_variant): Implemented.
18135 (mswindows_get_hfont): Implemented.
18137 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18139 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18140 prototyping problem with msvc.
18142 * emacs.c (main_1): added syms_of_gui_mswindows() call
18144 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18145 syms_of_gui_mswindows() function
18147 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18149 2000-01-18 Martin Buchholz <martin@xemacs.org>
18151 * XEmacs 21.2.27 is released.
18153 2000-01-18 Martin Buchholz <martin@xemacs.org>
18155 * glyphs-eimage.c (struct tiff_error_struct):
18157 (tiff_warning_func):
18158 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18163 * unexec.c: Remove vestigial Lucid C code.
18167 * libsst.c: Ansify.
18168 Remove declarations of errno and strerror().
18170 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18172 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18174 2000-01-16 Martin Buchholz <martin@xemacs.org>
18176 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18179 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18184 Change enum eol_type to eol_type_t.
18186 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18188 * gui.c (get_gui_callback): Check cons before accessing car.
18190 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18192 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18193 (XSETSPECIFIER_TYPE): Ditto.
18195 2000-01-17 Didier Verna <didier@xemacs.org>
18197 * redisplay.c (generate_fstring_runes): compute string size in
18198 characters, not bytes.
18200 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18202 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18204 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18206 * print.c (print_error_message): Call print_prepare().
18208 2000-01-14 Martin Buchholz <martin@xemacs.org>
18210 * .dbxrc: Renamed from dbxrc.
18212 * events.c (event_to_character):
18213 Use `assert (foo)' instead of `if (!foo) abort()'
18215 * .gdbinit (xtype): Add documentation.
18216 * .gdbinit (check-temacs): New function.
18217 * .gdbinit (check-xemacs): New function.
18218 * dbxrc (check-xemacs): New function.
18219 * dbxrc (check-xemacs): New function.
18221 2000-01-14 Andy Piper <andy@xemacs.org>
18223 * glyphs-widget.c (widget_query_geometry): Make sure that we
18224 calculate default dimensions correctly.
18226 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18228 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18230 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18231 pdump_wire'd variable.
18233 * emacs.c: (main_1): Conditionalized calls to
18234 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18236 2000-01-13 Martin Buchholz <martin@xemacs.org>
18238 * window.c (Fset_window_configuration):
18239 * sysdep.c (_start):
18240 * input-method-motif.c (res):
18241 * event-Xt.c (Xt_process_to_emacs_event):
18242 Simple compiler warning fixes.
18244 * bytecode.c (funcall_compiled_function): Use the original
18245 function symbol on the backtrace list in preference to the
18246 compiled_function object in error messages.
18248 2000-01-13 Andy Piper <andy@xemacs.org>
18250 * glyphs-x.c (update_widget_face): Make sure we update the widget
18251 background as well as foreground.
18253 2000-01-13 Andy Piper <andy@xemacs.org>
18255 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18256 fields to subwindow.
18257 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18258 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18259 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18260 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18262 * glyphs-widget.c (check_valid_tab_orientation): new function.
18263 (initialize_widget_image_instance): zero orientation and
18265 (widget_instantiate): pick up orientation.
18266 (tab_control_query_geometry): return appropriate values for
18269 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18270 appropriate creation flags for left, right and bottom tabs.
18272 * s/cygwin32.h: add tab definitions.
18274 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18276 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18277 frame upon hiding a subwindow.
18278 (mswindows_button_instantiate): Changed the push button style to
18280 (mswindows_button_instantiate): Removed button BS_NOTIFY
18282 (mswindows_button_instantiate): Removed redundant check for
18283 a disabled gui item.
18284 (mswindows_button_instantiate): Made use of WS_TABSTOP
18285 consistent: "operable" controls (edit, button, tree, scroll) have
18286 this style, "display-only" ones (static, progress gauge) do
18287 not. This style is currently ignored by XEmacs though. Also,
18288 removed the WS_EX_CONTROLPARENT style - it is not for children,
18289 it is for their parents!
18290 (mswindows_edit_field_instantiate): Ditto.
18291 (mswindows_progress_gauge_instantiate): Ditto.
18292 (mswindows_tree_view_instantiate): Ditto.
18293 (mswindows_tab_control_instantiate): Ditto.
18294 (mswindows_scrollbar_instantiate): Ditto.
18295 (mswindows_combo_box_instantiate): Ditto.
18296 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18297 style to the "clip" window.
18298 (mswindows_button_instantiate): Removed compilation warning by
18299 equally typing terms of the ?: operator.
18301 2000-01-12 Didier Verna <didier@xemacs.org>
18303 * redisplay.c (generate_fstring_runes): new parameter holding the
18304 last modeline-format extent.
18305 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18306 extent, fill the glyph block with it.
18307 (generate_fstring_runes): handle these parameters.
18308 (generate_formatted_string_db): ditto.
18310 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18311 glyphs'extents in the modeline.
18313 1999-01-11 Mike Woolley <mike@bulsara.com>
18315 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18316 256Mb, as a workaround for the non-starting problem many people
18319 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18321 * console-tty.c (Fset_console_tty_output_coding_system):
18322 Force redrawing tty frame.
18324 2000-01-10 Didier Verna <didier@xemacs.org>
18326 * redisplay.c (generate_fstring_runes): fix size computation bug.
18328 2000-01-09 William M. Perry <wmperry@aventail.com>
18330 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18332 2000-01-09 Andy Piper <andy@xemacs.org>
18334 * glyphs-msw.c: index -> i to avoid shadows.
18335 (xbm_create_bitmap_from_data): make static.
18336 (check_valid_string_or_int): deleted.
18337 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18339 * glyphs-x.c (x_update_subwindow): remove unused args.
18341 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18342 back pointer - this is done in allocate_image_instance.
18343 (query_string_font): return Qnil to make the compiler happy.
18344 (unmap_subwindow): set to ~0 to make the compiler happy.
18345 (glyph_query_geometry): comment out until used.
18346 (glyph_layout): ditto.
18348 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18350 * insdel.c (signal_after_change): Remove extraneous unbind_to().