1 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
3 * chartab.h (load_char_attribute_maybe_cos): New prototype when
4 HAVE_LIBCHISE is defined.
5 (get_char_id_table_ce): New inline function when HAVE_LIBCHISE is
8 * mule-charset.c (charset_code_point): Use `get_char_id_table_ce'
9 instead of `get_char_id_table' when HAVE_LIBCHISE is defined.
10 (load_char_decoding_entry_maybe): Don't use
11 `decoding_table_put_char' to avoid GC.
13 * text-coding.c (concord_setup_env_maybe): Abolished.
14 (COMPOSE_ADD_CHAR): Use `open_chise_data_source_maybe' instead of
15 `concord_setup_env_maybe'.
17 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
19 * chartab.c (open_chise_data_source_maybe): New implementation;
20 don't use `build_string' and `Fexpand_file_name' to avoid GC.
21 (char_table_get_db_cos): New function when HAVE_LIBCHISE is
23 (load_char_attribute_maybe_cos): Likewise.
25 2013-04-23 MORIOKA Tomohiko <tomo.git@chise.org>
27 * text-coding.c (struct decoding_stream): Use COS_object instead
28 of Lisp_Object for `combining_table' if HAVE_LIBCHISE is defined.
29 (reset_decoding_stream): Likewise.
30 (COMPOSE_FLUSH_CHARS): Likewise.
31 (concord_setup_env_maybe): New function.
32 (COMPOSE_ADD_CHAR): Use COS API for `str->combining_table' if
33 HAVE_LIBCHISE is defined.
35 2013-02-16 MORIOKA Tomohiko <tomo.git@chise.org>
37 * chartab.c (find_char_feature_in_family): New implementation;
38 don't support multiple parents; support non-list mother.
40 2012-06-11 MORIOKA Tomohiko <tomo.git@chise.org>
42 * text-coding.c (Qenable_decomposition): New variable in XEmacs
44 (Fmake_coding_system): Add new property `enable-decomposition' in
46 (char_encode_utf8): Don't decompose character if
47 CODING_SYSTEM_ENABLE_DECOMPOSITION (str->codesys) is false.
48 (syms_of_file_coding): Add new symbol `enable-decomposition' in
50 (complex_vars_of_file_coding): Define new coding-system-property
51 `enable-decomposition' in XEmacs CHISE.
53 * file-coding.h (struct Lisp_Coding_System): Add
54 `enable_decomposition' in XEmacs CHISE.
55 (CODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
56 (XCODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
58 2012-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
60 * text-coding.c (DECODE_ADD_UCS_CHAR): Add `static'.
62 2012-02-11 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
64 * text-coding.c (DECODE_ADD_UCS_CHAR): Don't use `INLINE_HEADER'.
66 * chartab.c (UINT8_DECODE): Don't use `INLINE_HEADER'.
67 (UINT16_DECODE): Ditto.
69 * glyphs-eimage.c (png_instantiate):
70 - Use `png_get_image_height (png_ptr, info_ptr)' instead of
72 - Use `png_get_image_width (png_ptr, info_ptr)' instead of
74 - Use `png_get_color_type(png_ptr, info_ptr)' instead of
75 `info_ptr->color_type'.
76 - Use `png_get_bit_depth(png_ptr, info_ptr)' instead of
77 `info_ptr->bit_depth'.
79 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
81 * mule-charset.c (charset_code_point): If nil is specified as a
82 feature-value, don't find in mother and return -1.
84 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
86 * chartab.c (Fput_char_attribute): Accept nil as a value of
87 CCS-feature [it means that specified object does not have
88 code-point of the CCS-feature].
90 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
93 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
95 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * text-coding.c (char_encode_as_entity_reference): Don't use
98 `DECODE_CHAR' to detect isolated characters.
100 * mule-charset.c (charset_code_point): Change the third argument
101 `defined_only' to `accepted_mode'; `accepted_mode' can be
102 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
104 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
105 (CHAR_ALL): New macro.
106 (CHAR_DEFINED_ONLY): New macro.
108 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
110 * chartab.c (Fchar_feature_base_name_eq): New function when
112 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
113 (syms_of_chartab): Add new builtin function
114 `char-feature-base-name=' when UTF2000 is enabled.
116 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
118 * text-coding.c (Vdecomposition_feature_list): New variable when
120 (char_encode_utf8): Refer variable `decomposition-feature-list'
121 instead of `=decomposition' feature.
122 (vars_of_file_coding): Add new variable
123 `decomposition-feature-list' when UTF2000 is defined.
125 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
127 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
128 `=decomposition' feature.
130 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
132 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
133 coded-charsets with builtin characters.
135 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
137 * text-coding.c (Qrep_decomposition): New extern.
138 (char_encode_utf8): Try to encode as combing sequence (or IVS).
140 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
143 "#endif" for code to refer Vchise_system_db_directory.
145 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
148 (Fconcord_object_adjoin): New function.
149 (Fconcord_object_adjoinX): New function.
150 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
151 `Fconcord_object_adjoinX'.
153 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 - Include "elconcord.h".
157 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
158 and `Fconcord_object_get' to elconcord.h.
159 (Lisp_CONCORD_DS): Moved to elconcord.h.
160 (struct Lisp_CONCORD_DS): Ditto.
161 (XCONCORD_DS): Ditto.
162 (XSET_CONCORD_DS): Ditto.
163 (CONCORD_DS_P): Ditto.
164 (CHECK_CONCORD_DS): Ditto.
165 (CONCHECK_CONCORD_DS): Ditto.
166 (Lisp_CONCORD_Object): Ditto.
167 (struct Lisp_CONCORD_Object): Ditto.
168 (XCONCORD_OBJECT): Ditto.
169 (XSET_CONCORD_OBJECT): Ditto.
170 (CONCORD_OBJECT_P): Ditto.
171 (CHECK_CONCORD_OBJECT): Ditto.
172 (CONCHECK_CONCORD_OBJECT): Ditto.
173 (CONCORD_OBJECT_GENRE): Ditto.
174 (CONCORD_OBJECT_ID): Ditto.
175 (XCONCORD_OBJECT_ID): Ditto.
176 (XCONCORD_OBJECT_GENRE): Ditto.
177 (concord_object_equal): New function.
178 (LRECORD_IMPLEMENTATION of "concord_object"): Use
179 `concord_object_equal'.
181 * elconcord.h: New file.
183 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * concord.c (print_concord_object): Use readable form even if
186 `print-readably' is nil.
188 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * concord.c (print_concord_object): Don't display location of
191 data-source when `print-readably' is nil.
193 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
196 the default location of data-source.
197 (complex_vars_of_concord): Use Vchise_system_db_directory to
198 assign genre `character' and `feature'.
200 * chartab.h (Vchise_system_db_directory): New extern when
201 HAVE_CONCORD is defined.
203 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
206 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
208 (Fconcord_object_genre): New function.
210 - Add new builtin symbols `character' and `feature' when
211 HAVE_LIBCHISE is defined.
212 - Add Add new builtin function `concord-object-genre'.
213 (complex_vars_of_concord): New function; assign genres `character'
214 and `feature' when HAVE_LIBCHISE is defined.
216 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * emacs.c (main_1): Call `complex_vars_of_concord' when
219 HAVE_CONCORD is defined.
221 * symsinit.h (complex_vars_of_concord): New prototype.
223 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * chartab.c (allocate_character): Add `static'.
227 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * chartab.c (allocate_character): New function.
230 (Fdefine_char): Use allocate_character().
232 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
237 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
239 * chartab.c (save_uint8_byte_table): Fixed problem when a property
241 (save_uint16_byte_table): Likewise.
243 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * chartab.c (Fchar_feature_property): New function when LIBCHISE
247 (Fput_char_feature_property): Likewise.
248 (syms_of_chartab): Add new builtin functions
249 `char-feature-property' and `put-char-feature-property' when
252 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
256 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
258 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
261 (make_charset): Add new argument `iso_ir'.
262 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
263 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
265 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
266 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
268 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
269 function `make_charset'.
271 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
272 (struct Lisp_Charset): Add new member `iso_ir'.
273 (CHARSET_ISO_IR): New macro.
275 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
278 code-point by GL charset.
280 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * concord.c (concord_id_validate): New function.
283 (structure_type_create_concord): Use `concord_id_validate' instead
284 of `concord_name_validate' to accept integer and character as =id.
286 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * concord.c (func_for_each_object): Fix bug about GC-protection.
290 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * concord.c (Fconcord_object_put): Check argument FEATURE is a
295 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * text-coding.c (struct decoding_stream): Add new member
298 `bom_flag' in XEmacs CHISE.
299 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
302 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * mule-charset.c: Move definition of `=jis-x0208@1978' to
305 lisp/mule/mule-conf.el.
307 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
309 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
310 (make_charset): Add new argument `partial'.
311 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
312 (Fmake_reverse_direction_charset): Modify for `make_charset'.
313 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
315 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
316 `=jis-x0208' as a partial coded-charset.
318 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * text-coding.c (decode_add_er_char): Fix problem when a character
321 represented by an entity-reference is not defined.
323 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
328 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
333 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
336 is a relation feature.
338 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * chartab.c (syms_of_chartab): Define
341 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
343 * chartab.h (Q_denotational): New extern when UTF2000 or
344 HAVE_CONCORD is defined.
345 (Q_denotational_from): Likewise.
346 (Q_subsumptive): Likewise.
347 (Q_subsumptive_from): Likewise.
349 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * concord.c (concord_object_put): New function.
352 (Fconcord_object_put): Use `concord_object_put'.
354 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * concord.c (Fconcord_define_object): New function.
357 (syms_of_concord): Add new builtin function
358 `concord-define-object'.
360 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
365 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * concord.c: Add EXFUN for Fconcord_object_get.
368 (Vconcord_genre_object_hash_table): New variable.
369 (concord_genre_cache_get_object): New function.
370 (concord_genre_cache_put_object): New function.
371 (Fconcord_make_object): Use object cache; put object-ID into `=id'
373 (Fconcord_object_put): Call `concord_index_sync' after
374 `concord_index_strid_put_obj'.
375 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
377 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * concord.c (Fconcord_decode_object): Do GCPRO for
380 Fconcord_make_object.
381 (func_for_each_object): Likewise; do GCPRO for
382 for_each_object_closure->function.
383 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
384 for_each_object_closure->function, for_each_object_closure->genre,
385 for_each_object_closure->ds and for_each_object_closure->ret.
386 (concord_object_validate): Do GCPRO for Fconcord_make_object.
388 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * concord.c: Add EXFUNs for Fconcord_decode_object and
392 (Fconcord_make_object): Change order of arguments.
393 (Fconcord_decode_object): Modify for Fconcord_make_object.
394 (func_for_each_object): Likewise.
395 (concord_object_validate): Likewise.
396 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
398 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
402 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * concord.c (Fconcord_decode_object): Try to use readable print
405 form as a key of Concord-index.
406 (Fconcord_object_get): Try to use readable print form as an ID of
408 (Fconcord_object_put): Try to use readable print form as an ID of
409 Concord-object and a feature value.
410 (Fconcord_object_spec): Try to use readable print form as an ID of
413 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * concord.c (print_concord_object): Support readable form.
417 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * emacs.c (main_1): Call `structure_type_create_concord' when
420 HAVE_CONCORD is defined.
422 * symsinit.h (structure_type_create_concord): New prototype.
424 * concord.c (Qconcord_object): New variable.
427 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
429 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
430 char*> for genre-name.
431 (Fconcord_feature_list): Likewise.
432 (Fconcord_make_object): Likewise.
433 (Fconcord_decode_object): Likewise; use <char*> instead of
434 <unsigned char*> for feature_name and strid.
435 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
436 c_obj and feature_name.
437 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
439 (struct closure_for_object_spec): Use <char*> instead of <unsigned
440 char*> for member `object_id'.
441 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
442 char*> for feature-name.
443 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
445 (func_for_each_object): Cast to avoid warnings.
446 (Fconcord_foreach_object_in_feature): Use <char*> instead of
447 <unsigned char*> for genre_name and feature_name.
448 (concord_name_validate): New function.
449 (concord_object_validate): Likewise.
450 (concord_object_instantiate): Likewise.
451 (syms_of_concord): Add new builtin symbols `concord-object',
453 (structure_type_create_concord): New function.
455 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * concord.c (Vconcord_ds_hash_table): New variable.
458 (Vconcord_genre_hash_table): New variable.
459 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
460 (Fconcord_ds_directory): New function.
461 (Fconcord_assign_genre): New function.
462 (Fconcord_genre_directory): New function.
463 (Fconcord_genre_ds): New function.
464 (Fconcord_feature_list): Allow to omit `ds'.
465 (Fconcord_make_object): Likewise.
466 (Fconcord_decode_object): Likewise.
467 (Fconcord_foreach_object_in_feature): Likewise.
468 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
469 Fconcord_assign_genre, Fconcord_genre_directory and
471 (vars_of_concord): Setup Vconcord_ds_hash_table and
472 Vconcord_genre_hash_table.
474 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * concord.c (struct closure_for_each_object): Add new member
478 (func_for_each_object): Setup the return value to
479 `for_each_object_closure->ret'.
480 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
481 returns the value instead of Qt.
483 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * concord.c: New file.
487 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
490 `lrecord_type_concord_object'.
492 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * symsinit.h (syms_of_concord): New prototype.
495 (vars_of_concord): New prototype.
497 * emacs.c (main_1): Setup symbols and variable about concord if
498 HAVE_CONCORD is defined.
500 * config.h.in (HAVE_CONCORD): New macro.
502 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * chartab.c (Fput_char_attribute): For each character relation
505 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
507 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * chartab.c (Fput_char_attribute): Use
510 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
511 calling `put_char_composition'.
513 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * chartab.c (Q_halfwidth_of): New variable.
516 (put_char_composition): Return `<-halfwidth' instead of
517 `=decomposition' for compatibility mapping to single character
519 (Fput_char_attribute): Convert char-specs in value of
520 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
521 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
523 (syms_of_chartab): Add new symbol `<-halfwidth'.
525 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
527 * chartab.c (put_char_composition): Return
528 `<-formed@{isolated|initial|medial|final}' for compatibility
529 mapping to single character tagged
530 `{isolated|initial|medial|final}'.
532 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * chartab.c (Q_compat_of): Deleted.
535 (put_char_composition): Return `<-FOO' for compatibility mapping
536 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
537 of `symbol_name (XSYMBOL(...))'.
538 (Fput_char_attribute): Convert char-specs in value of
539 `{<-|->}font[^*]*' to characters and put reverse links.
540 (Fsave_char_attribute_table): Don't refer Q_compat_of.
541 (syms_of_chartab): Delete builtin symbol `<-compat'.
543 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * chartab.c (Q_circled_of): New variable.
546 (put_char_composition): Return `<-circled' instead of
547 `=decomposition' for compatibility mapping to single character
549 (Fput_char_attribute): Convert char-specs in value of
550 `{<-|->}circled[^*]*' to characters and put reverse links.
551 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
553 (syms_of_chartab): Add new symbol `<-circled'.
555 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * chartab.c (Qto_decomposition_at_circled): New variable.
558 (put_char_composition): Return `=>decomposition@circled' instead
559 of `=decomposition' for compatibility decomposition mapping tagged
561 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
563 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * chartab.c (Q_subscript_of): New variable.
566 (put_char_composition): Return `<-subscript' instead of
567 `=decomposition' for compatibility mapping to single character
569 (Fput_char_attribute): Convert char-specs in value of
570 `{<-|->}subscript[^*]*' to characters and put reverse links.
571 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
573 (syms_of_chartab): Add new symbol `<-subscript'.
575 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * chartab.c (Q_superscript_of): New variable.
578 (put_char_composition): Return `<-superscript' instead of
579 `=decomposition' for compatibility mapping to single character
581 (Fput_char_attribute): Convert char-specs in value of
582 `{<-|->}superscript[^*]*' to characters and put reverse links.
583 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
585 (syms_of_chartab): Add new symbol `<-superscript'.
587 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * chartab.c (Qto_decomposition_at_compat): Deleted.
590 (Qto_decomposition_at_superscript): New variable.
591 (put_char_composition): Use `=>decomposition@superscript' instead
592 of `=decomposition' for compatibility decomposition mapping tagged
594 (Fput_char_attribute): Fix condition about `put_char_composition'.
595 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
596 add news symbol `=>decomposition@superscript'.
598 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
600 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
601 for compatibility decomposition mapping tagged FOO.
602 (Fput_char_attribute): Modify for `put_char_composition'.
604 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * chartab.c (Qto_decomposition_at_compat): New variable.
607 (Q_compat_of): Renamed from `Q_compatibility_of'.
608 (put_char_composition): Rename `Q_compatibility_of' to
609 `Q_compat_of'; return `=>decomposition@compat' for compatibility
610 decomposition mapping.
611 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
613 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
614 `<-compatibility' to `<-compat'.
616 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * chartab.c (Q_compatibility_of): New variable.
619 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
620 object is proved to be a cons cell; return `<-compatibility' if
621 the first element of argument `value' is `compat'.
622 (Fput_char_attribute): Eliminate the first value if
623 `put_char_composition' returns `<-compatibility'.
624 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
625 for `<-compatibility'.
626 (syms_of_chartab): Add new symbol `<-compatibility'.
628 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * chartab.c (Q_canonical): New variable.
631 (put_char_composition): Return a feature name: return
632 `->canonical' if argument `value' specifies single character.
633 (Fput_char_attribute): Use `put_char_composition' to determine
634 feature name for `=decomposition' or `->denotational'.
635 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
637 (syms_of_chartab): Add new symbol `->canonical'.
639 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
641 * chartab.c (Qmap_decomposition): New variable.
642 (Fput_char_attribute): Convert `->decomposition' to
644 (syms_of_chartab): Add new symbol `=decomposition'.
646 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
648 * chartab.c (Fget_range_char_table): Fix serious problem when
651 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * chartab.c (char_table_get_db): Use `read_from_c_string'.
655 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
657 * lread.c (read_from_c_string): New function.
659 * lisp.h (read_from_c_string): New prototype.
661 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * chartab.c (Fput_char_attribute): Convert char-specs in value of
664 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
665 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
666 for `{<-|->}Oracle-Bones[^*]*'.
668 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
670 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
673 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * text-coding.c (Qccs_priority_list): New variable in XEmacs
677 (Fmake_coding_system): Support new property `ccs-priority-list' in
679 (Fcoding_system_property): Likewise.
680 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
681 Vdefault_coded_charset_priority_list in XEmacs CHISE.
682 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
684 (complex_vars_of_file_coding): Define new coding-system-property
685 `ccs-priority-list' in XEmacs CHISE.
687 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
689 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
692 changed to normal function.
693 (encode_char_2): Likewise.
695 * mule-charset.c (decoding_table_put_char): Copied from
696 char-ucs.h; changed to normal function.
697 (encode_char_2): Likewise.
699 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
703 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
704 (encode_char_2_search_children): New inline function.
705 (encode_char_2): Refer
706 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
707 and use `encode_char_2_search_children'.
709 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
713 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
714 (vars_of_mule_charset): Add new variable
715 `display-coded-charset-priority-use-inheritance' and
716 `display-coded-charset-priority-use-hierarchy-order'.
718 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * char-ucs.h (Q_subsumptive): New extern.
721 (Q_denotational): Likewise.
722 (encode_char_2): Search children specified by `->subsumptive' and
725 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * mule-charset.c (complex_vars_of_mule_charset): Modify the
728 X-registry of `ucs-bmp'.
730 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * chartab.c (char-variants): Refer `->subsumptive',
733 `->denotational' and `->identical' as same as `->ucs-unified'.
735 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * chartab.c (Fput_char_attribute): Convert char-specs in value of
738 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
741 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * text-coding.c: Add EXFUN for `Fregexp_quote'.
744 (decode_add_er_char): Fix problem about infinite loop when a CCS
745 specified in `coded-charset-entity-reference-alist' is not
748 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * mule-charset.c (syms_of_mule_charset): Rename
751 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
753 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
755 * fns.c (simplify_char_spec): Don't allocate new character-object
756 if specified char_spec does not have any CCS-features.
758 * chartab.h: Add EXFUN for Fdefine_char.
760 * chartab.c: Delete EXFUN for Fdefine_char.
762 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
764 * fns.c (simplify_char_spec): Use Fdefine_char instead of
765 Ffind_char for char-spec.
767 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * lisp-disunion.h (XCHARVAL): Fix condition about
772 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
776 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
777 point; use <Emchar> instead of <int> for character-id.
779 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
781 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
782 (make_char): Likewise.
783 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
785 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
786 instead of <int> as the type of return value; use <Lisp_Object>
787 instead of <Emchar> as the type of argument.
788 (XCHARVAL[macro version]): Cast the result into <Emchar>.
790 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
791 syntaxcode> instead of <int>.
793 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * chartab.c (put_char_composition): Use DECODE_CHAR to get
796 character corresponding with UCS code point.
797 (Fput_char_attribute): Likewise.
799 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
800 character in the UCS decoding-table if the char-id is not equal to
803 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
806 for aliases; write `description'; write
807 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
810 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * chartab.c (Fsave_char_attribute_table): Don't use
813 `save_charset_properties'.
815 * mule-charset.c (Fsave_charset_properties): Renamed from
816 `save_charset_properties' and changed to Lisp function again;
817 write property `type' as `CCS'; write properties `final-byte' and
818 `mother' if they exists.
819 (syms_of_mule_charset): Revive builtin function
820 `save-charset-properties' when HAVE_LIBCHISE is defined.
822 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
825 instead of Vexec_directory.
826 (char_attribute_system_db_file): Likewise.
828 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * chartab.c (Fsave_char_attribute_table): Use
831 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
834 * mule-charset.c (save_charset_properties): Renamed from
835 `Fsave_charset_properties'; changed to non-Lisp function.
836 (syms_of_mule_charset): Abolish builtin function
837 `save-charset-properties'.
839 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
841 * mule-charset.c (Fsave_charset_properties): New function when
842 HAVE_LIBCHISE is defined.
843 (syms_of_mule_charset): Add new builtin function
844 `save-charset-properties' when HAVE_LIBCHISE is defined.
846 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * chartab.c (Fput_char_attribute): Convert char-specs in value of
849 `{<-|->}ancient[^*]*' to characters and put reverse links.
850 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
851 for `{<-|->}ancient[^*]*'.
853 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * chartab.c (Fput_char_attribute): Convert char-specs in value of
856 `{<-|->}original[^*]*' to characters and put reverse links.
857 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
858 for `{<-|->}original[^*]*'.
860 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
864 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * mule-charset.c (Qsystem_char_id): New variable.
868 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
869 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
871 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * chartab.c (Fput_char_attribute): When processing a reference of
874 a character, put into the end of the reversed reference of each
877 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
879 * chartab.c (Q_same): Deleted.
880 (Q_same_of): Deleted.
881 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
882 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
884 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
886 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * chartab.c (Q_vulgar): Deleted.
889 (Q_vulgar_of): Deleted.
890 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
891 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
893 (syms_of_chartab): Don't define `{<-|->}vulgar'.
895 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * chartab.c (Fput_char_attribute): Convert char-specs in value of
898 `{<-|->}wrong[^*]*' to characters and put reverse links.
899 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
900 for `{<-|->}wrong[^*]*'.
902 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * chartab.c (Q_vulgar): New variable.
905 (Q_vulgar_of): New variable.
906 (Fput_char_attribute): Convert char-specs in value of
907 `{->|<-}vulgar' to characters and put reverse links.
908 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
910 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
912 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * text-coding.c (decode_add_er_char): Must to quote prefix string
917 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * mule-charset.c (put_char_ccs_code_point): Store characters of
920 =ucs whose code_points >= 0xF0000.
922 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
926 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
928 (complex_vars_of_mule_charset): Add new coded-charset
929 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
930 builtin characters over 0xEFFFF.
932 * chartab.c (syms_of_chartab): Don't define symbol
933 `system-char-id' in every case.
935 * char-ucs.h (Qsystem_char_id): New extern variable.
936 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
938 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
940 * text-coding.c (char_encode_utf8): Try to use entity-references
941 for U-000F0000 ... U-0010FFFF.
943 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * text-coding.c (ER_BUF_SIZE): New macro.
946 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
948 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
949 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
951 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
953 * chartab.c (find_char_feature_in_family): New function.
954 (Fchar_feature): Use `find_char_feature_in_family' with
955 `->identical', `<-subsumptive' and `<-denotational'.
957 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
959 * text-coding.c (char_encode_as_entity_reference): Allow prefix
960 within 8 characters; fix infinite loop.
962 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
964 * chartab.c (Q_same): New variable.
965 (Q_same_of): New variable.
966 (Fput_char_attribute): Convert char-specs in value of
967 `{->|<-}same' to characters and put reverse links.
968 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
970 (syms_of_chartab): Add new symbols `{->|<-}same'.
972 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * chartab.c (Q_component): New variable.
975 (Q_component_of): Likewise.
976 (Fput_char_attribute): Convert char-specs in value of
977 `{->|<-}ideographic-component-forms' to characters and put reverse
979 (syms_of_chartab): Add new symbols
980 `{->|<-}ideographic-component-forms'.
982 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
984 * chartab.c (Q_identical): New variable.
985 (Q_identical_from): New variable.
986 (Fchar_feature): Regard `->identical' as a feature to find
988 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
989 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
990 for `{->|<-}identical'.
991 (syms_of_chartab): Add new symbols `{->|<-}identical'.
993 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * char-ucs.h (encode_char_2): New inline function.
996 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
998 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1000 * chartab.c (Fput_char_attribute): Convert char-specs to
1001 characters in value of `ideographic-structure'.
1002 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1003 for `{<-|->}simplified(@...)'.
1004 (Fdefine_char): Try to use predefined character's id.
1006 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008 * fns.c (simplify_char_spec): Try to convert builtin chars to
1011 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1013 * chartab.c (Fput_char_attribute): Convert char-specs in value of
1014 `<-simplified[^*]*' to characters and put reverse links.
1016 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1018 * chartab.c (Q_subsumptive): Renamed from Q_unified.
1019 (Q_subsumptive_from): Renamed from Q_unified_from.
1020 (Fchar_feature): Use `Q_subsumptive_from' instead of
1022 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
1024 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
1025 `<-unified' to `<-subsumptive'.
1027 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1029 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
1030 inheritance itself; fix typo; stop recursive search if cyclic
1031 inheritance is found.
1033 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1035 * chartab.c (Q_denotational): New variable.
1036 (Q_denotational_from): New variable.
1037 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
1038 (put_char_attribute): New function.
1039 (Fput_char_attribute): Use `put_char_attribute'; regard
1040 `->denotational' and `<-denotational' as same as `->unified' and
1042 (syms_of_chartab): Add new symbols `->denotational' and
1045 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1047 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
1048 `Fget_char_attribute'.
1049 (Fchar_variants): Likewise.
1050 (get_char_table): Likewise.
1051 (Fchar_feature): New function.
1052 (put_char_composition): Use `Fchar_feature' instead of
1053 `Fget_char_attribute'.
1054 (Fput_char_attribute): Likewise; don't put the target character
1055 into its `->unified' value.
1056 (syms_of_chartab): Add new builtin function `char-feature'.
1058 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
1061 `Fget_char_attribute'.
1062 (char_encode_utf8): Likewise.
1064 * chartab.h: Add an EXFUN for `Fchar_feature'.
1066 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * chartab.c (Vnext_defined_char_id): New variable.
1069 (Fput_char_attribute): Accept characters in `->unified'.
1070 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
1071 new characters which are not related with builtin char-id ranges.
1072 (vars_of_chartab): Add new variable `next-defined-char-id'.
1074 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1076 * chartab.c (Q_unified): New variable.
1077 (Q_unified_from): New variable.
1078 (Fput_char_attribute): Add code for `->unified'.
1079 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1082 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1084 * mule-charset.c (decode_ccs_conversion): New function.
1085 (decode_defined_char): Use `decode_ccs_conversion'.
1086 (decode_builtin_char): Likewise.
1088 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1090 * char-ucs.h: Change some charset-ids of private coded-charsets.
1092 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1094 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1095 (char_encode_as_entity_reference): Likewise.
1096 (decode_coding_big5): Modify for `decode_defined_char' and
1098 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1099 avoid compiler warning.
1100 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1102 * mule-charset.c (decode_defined_char): Add new argument
1103 `without_inheritance'.
1104 (Fdecode_char): Add new optional argument `without_inheritance'.
1105 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1107 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1108 (simplify_char_spec): Likewise.
1110 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1113 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1114 (map_char_table): Likewise.
1115 (Fdefine_char): Use `Fdecode_char' without inheritance.
1116 (Ffind_char): Modify for `Fdecode_char'.
1118 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1120 * char-ucs.h (decode_defined_char): Add new argument
1121 `without_inheritance'.
1122 (DECODE_CHAR): Likewise.
1123 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1125 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * chartab.c (Vchise_system_db_directory): New variable.
1128 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1130 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1132 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1133 (print_chartab_range): Don't define when `UTF2000' is defined.
1134 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1137 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1140 and optional argument `rehash' is specified, call
1141 `open_chise_data_source_maybe' before
1142 `chise_ds_foreach_char_feature_name' is called.
1144 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1146 * chartab.c (char_attribute_list_reset_map_func): New function
1147 when HAVE_LIBCHISE is defined.
1148 (Fchar_attribute_list): Add new optional argument `rehash' when
1149 HAVE_LIBCHISE is defined.
1150 (open_chise_data_source_maybe): Use "chise-db" instead of
1152 (char_attribute_system_db_file): Likewise.
1153 (Fload_char_attribute_table): Use
1154 `chise_feature_foreach_char_with_value' instead of
1155 `chise_char_feature_value_iterate'.
1157 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * chartab.c (Vchise_db_directory): New variable.
1160 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1162 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1164 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1165 instead of HAVE_CHISE to specify using with libchise.
1167 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1169 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1171 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1172 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1173 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1175 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1176 HAVE_CHISE to specify using with libchise.
1177 (syms_of_chartab): Don't define symbol `system-char-id' when
1178 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1180 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1183 specify CHISE DB support.
1184 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1185 of `char_attribute_system_db_file' to check feature DB file.
1187 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1188 HAVE_CHISE_CLIENT to specify CHISE DB support.
1190 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1191 specify CHISE DB support.
1192 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1194 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1195 instead of `char_attribute_system_db_file' to check feature DB
1198 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1200 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1201 `HAVE_CHISE_CLIENT'.
1203 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1205 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1206 (Fsave_charset_mapping_table): Don't use
1207 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1209 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1210 (HAVE_LIBCHISE): New macro.
1212 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1214 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1215 (Fsave_char_attribute_table): Don't use
1216 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1218 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1220 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1222 (save_uint16_byte_table): Likewise.
1223 (save_byte_table): Likewise.
1224 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1225 instead of `chise_char_load_feature_value'.
1226 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1228 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * chartab.h (struct Lisp_Char_Table): Delete member
1231 `feature_table' if CHISE is defined.
1233 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1234 (Fcopy_char_table): Likewise.
1235 (char_table_open_db_maybe): Likewise.
1236 (char_table_close_db_maybe): Likewise.
1237 (char_table_get_db): Likewise.
1238 (Fmount_char_attribute_table): Likewise.
1239 (Fload_char_attribute_table): Likewise.
1241 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1243 * mule-charset.c (load_char_decoding_entry_maybe): Use
1244 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1247 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1250 instead of `chise_open_data_source'.
1251 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1254 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1257 instead of `chise_ds_open_feature_table'.
1258 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1260 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1262 * mule-charset.c (Fsave_charset_mapping_table): Use
1263 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1264 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1265 `chise_ccs_sync' instead of `chise_ccst_close'.
1266 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1268 * chartab.c (open_chise_data_source_maybe): Modify for
1269 `chise_open_data_source'.
1270 (char_table_open_db_maybe): Modify for
1271 `chise_ds_open_feature_table'.
1273 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1275 * mule-charset.c (load_char_decoding_entry_maybe): Use
1276 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1279 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1281 * mule-charset.c (Fsave_charset_mapping_table): Use
1282 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1283 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1284 `chise_dt_put_char' and `chise_dt_close'.
1285 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1286 `chise_ccs_decode' and `chise_ccst_close' instead of
1287 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1290 * chartab.c (char_table_get_db): Use
1291 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1292 (load_char_attribute_table_map_func): Modify for
1293 `chise_char_feature_value_iterate'.
1294 (Fload_char_attribute_table): Use
1295 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1297 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1299 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1301 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1303 * chartab.c (put_char_table): Modify for inherited coded-charsets
1306 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1308 * chartab.c (Fput_char_table_map_function): Fixed.
1309 (word_boundary_p): Don't check charset in XEmacs CHISE.
1311 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1313 * mule-charset.c (Fsave_charset_mapping_table): Use
1314 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1315 instead of `chise_open_decoding_table'; refer
1316 `default_chise_data_source'; use `chise_dt_close' instead of
1317 `chise_close_decoding_table'.
1318 (load_char_decoding_entry_maybe): Likewise.
1320 * chartab.c (default_chise_data_source): New variable when `CHISE'
1322 (Fcopy_char_table): `ct->ds' is deleted.
1323 (open_chise_data_source_maybe): New function.
1324 (Fclose_char_data_source): New function.
1325 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1326 use `chise_ds_open_feature_table' instead of
1327 `chise_open_feature_table'.
1328 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1329 `chise_close_feature_table'; `cit->ds' is deleted.
1330 (syms_of_chartab): Add new builtin function
1331 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1333 * chartab.h (default_chise_data_source): New extern variable.
1334 (open_chise_data_source_maybe): New prototype.
1335 (struct Lisp_Char_Table): Delete `ds'.
1337 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1339 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1342 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1344 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1345 not defined; add code for non-libchise setting.
1346 (char_table_close_db_maybe): Likewise.
1347 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1349 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1350 even if `CHISE' is not defined.
1351 (Freset_char_attribute_table): Likewise.
1352 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1353 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1354 `char_table_get_db'.
1355 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1356 `char_table_close_db_maybe' even if `CHISE' is not defined.
1358 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1360 * chartab.c (char_table_open_db_maybe): New function.
1361 (char_table_close_db_maybe): New function.
1362 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1363 (Freset_char_attribute_table): Likewise.
1364 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1365 `char_table_close_db_maybe'.
1366 (Fload_char_attribute_table): Likewise.
1368 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1370 * chartab.c: Don't include <chise.h> because it is included in
1372 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1374 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1376 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1378 (Fclose_char_attribute_table): Close `ct->feature_table' and
1379 `ct->ds' when `CHISE' is defined.
1380 (Freset_char_attribute_table): Likewise.
1381 (load_char_attribute_maybe): Use `cit->ds' and
1382 `cit->feature_table' when `CHISE' is defined.
1383 (Fload_char_attribute_table): Likewise.
1385 * chartab.h: Include <chise.h> when `CHISE' is defined.
1386 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1387 when `CHISE' is defined.
1389 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1391 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1393 (char_table_description): Likewise.
1394 (Fmake_char_table): Likewise.
1395 (Fcopy_char_table): Likewise.
1396 (Fmount_char_attribute_table): Likewise.
1397 (Fclose_char_attribute_table): Likewise.
1398 (Freset_char_attribute_table): Likewise.
1399 (load_char_attribute_maybe): Likewise.
1400 (Fload_char_attribute_table): Likewise.
1402 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1405 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1407 * chartab.c (load_char_attribute_table_map_func): New function
1408 when CHISE is defined.
1409 (Qload_char_attribute_table_map_function): Don't define when CHISE
1411 (Fload_char_attribute_table_map_function): Likewise.
1412 (Fload_char_attribute_table): Use libchise when `CHISE' is
1414 (syms_of_chartab): Don't define
1415 `load-char-attribute-table-map-function' when CHISE is defined.
1417 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1419 * chartab.c: Include <chise.h> when `CHISE' is defined.
1420 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1422 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * mule-charset.c (charset_code_point): Fix problem when searching
1425 in mother CCS fails with `defined_only' mode.
1427 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1429 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1430 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1431 (put_char_composition): Likewise.
1432 (Fput_char_attribute): Likewise.
1433 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1435 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1437 * chartab.c (Q_ucs): Deleted.
1438 (Fput_char_attribute): Don't refer `->ucs'.
1439 (Fdefine_char): Likewise.
1440 (Ffind_char): Likewise.
1441 (syms_of_chartab): Delete `->ucs'.
1443 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1445 * mule-charset.c (Qmap_cns11643_2): Renamed from
1446 `Qchinese_cns11643_2'.
1447 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1448 `chinese-cns11643-2'.
1449 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1452 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1454 * mule-charset.c (Qmap_cns11643_1): Renamed from
1455 `Qchinese_cns11643_1'.
1456 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1457 `chinese-cns11643-1'.
1458 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1461 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1463 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1464 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1466 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1469 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1471 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1472 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1474 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1477 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1480 (syms_of_mule_charset): Add new symbol `=big5' instead of
1482 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1484 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1486 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1487 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1489 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1492 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1494 * mule-charset.c (Qmap_jis_x0212): Renamed from
1495 `Qjapanese_jisx0212'.
1496 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1497 `japanese-jisx0212'.
1498 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1501 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1503 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1504 `Qjapanese_jisx0208'.
1505 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1506 of `japanese-jisx0208'.
1507 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1510 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1512 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1513 `Qjapanese_jisx0208_1978'.
1514 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1515 of `japanese-jisx0208-1978'.
1516 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1519 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1521 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1522 only for XEmacs CHISE.
1524 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1526 * char-ucs.h: Compact non-ISO-IR charset-ids.
1527 (LEADING_BYTE_UCS): Changed to -177.
1528 (LEADING_BYTE_CONTROL_1): Changed to -77.
1529 (LEADING_BYTE_UCS_BMP): Changed to -176.
1530 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1532 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1534 * mule-charset.c (Qiso_ir): New variable.
1535 (Fmake_charset): Recognise new property `iso-ir'.
1536 (syms_of_mule_charset): Add new symbol `iso-ir'.
1538 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1540 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1541 n to -n; charset-id of non ISO-IR sets are changed to positive
1544 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1547 for &MCS-XXXXXXXX; values.
1549 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * mule.c (Vxemacs_chise_version): Renamed from
1552 `Vutf_2000_version'.
1553 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1554 `utf-2000-version' as an alias for `xemacs-chise-version'.
1556 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1558 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1559 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1562 * config.h.in (CHISE): New macro.
1564 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1566 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1568 (Qmap_ucs): New variable.
1569 (syms_of_mule_charset): Add new symbol `=ucs'.
1570 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1572 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1573 (simplify_char_spec): Likewise.
1575 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1577 * char-ucs.h (Qmap_ucs): New extern variable.
1579 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1581 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1582 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1583 don't define it when UTF2000 is not defined.
1584 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1585 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1586 when UTF2000 is not defined.
1587 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1588 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1590 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1592 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1594 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1596 (syms_of_mule_charset): Delete `ucs-gb'.
1597 (complex_vars_of_mule_charset): Likewise.
1599 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1603 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1604 (Qucs_cns): Deleted.
1605 (syms_of_mule_charset): Delete `ucs-cns'.
1606 (complex_vars_of_mule_charset): Likewise.
1608 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1610 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1612 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1613 (Qucs_jis): Deleted.
1614 (syms_of_mule_charset): Delete `ucs-jis'.
1615 (complex_vars_of_mule_charset): Likewise.
1617 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1619 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1621 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1623 (syms_of_mule_charset): Delete `ucs-ks'.
1624 (complex_vars_of_mule_charset): Likewise.
1626 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1628 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1629 (Qideograph_daikanwa_2): Deleted.
1630 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1631 (complex_vars_of_mule_charset): Likewise.
1633 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1634 (LEADING_BYTE_DAIKANWA_1): Deleted.
1635 (LEADING_BYTE_DAIKANWA_2): Deleted.
1636 (MIN_CHAR_DAIKANWA): Deleted.
1637 (MAX_CHAR_DAIKANWA): Deleted.
1639 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1641 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1642 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1643 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1645 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1646 (Vcharset_ideograph_daikanwa): Deleted.
1647 (Qideograph_hanziku_{1..12}): Deleted.
1648 (Qideograph_daikanwa): Deleted.
1649 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1650 Vcharset_ideograph_daikanwa.
1651 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1652 `ideograph-hanziku-{1..12}'.
1653 (complex_vars_of_mule_charset): Likewise.
1655 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1657 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1659 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1660 (Qideograph_gt_pj_{1..11}): Deleted.
1661 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1662 (complex_vars_of_mule_charset): Likewise.
1664 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1666 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1667 (Vcharset_ideograph_gt): Deleted.
1668 (Qucs_big5): Deleted.
1669 (Qideograph_gt): Deleted.
1670 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1672 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1675 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1676 (LEADING_BYTE_GT): Deleted.
1677 (MIN_CHAR_GT): Deleted.
1678 (MAX_CHAR_GT): Deleted.
1680 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1682 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1684 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1686 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1687 (save_uint16_byte_table): Likewise.
1688 (save_byte_table): Likewise; convert values by it.
1689 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1690 for `ideographic-structure'.
1691 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1692 as the filter for `ideographic-structure'.
1694 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1696 * chartab.c (put_char_composition): New function.
1697 (Fput_char_attribute): Use `put_char_composition'; use
1698 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1700 * fns.c (simplify_char_spec): New function.
1701 (char_ref_simplify_spec): New function.
1702 (Fchar_refs_simplify_char_specs): New function.
1703 (syms_of_fns): Add new builtin function
1704 `char-refs-simplify-char-specs'.
1706 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1708 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1709 (Qideograph_cbeta): Deleted.
1710 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1711 (complex_vars_of_mule_charset): Likewise.
1713 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1714 (MIN_CHAR_CBETA): Comment out.
1715 (MAX_CHAR_CBETA): Likewise.
1717 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1719 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1720 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1721 CHISE client feature.
1723 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1725 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1727 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1729 * mule-charset.c (charset_lookup_description_1): Use
1730 `NUM_LEADING_BYTES' in UTF-2000.
1732 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1734 * char-ucs.h (GC_CHARSETP): Deleted.
1736 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1738 * char-ucs.h (MAX_CHAR_GT): Updated.
1740 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1742 * text-coding.c: Sync with XEmacs 21.4.10.
1744 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1746 * mule-charset.c (Vcharset_china3_jef): Deleted.
1747 (Qchina3_jef): Deleted.
1748 (syms_of_mule_charset): Don't define `china3-jef'.
1749 (complex_vars_of_mule_charset): Likewise.
1751 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1752 (MIN_CHAR_CHINA3_JEF): Comment out.
1753 (MAX_CHAR_CHINA3_JEF): Comment out.
1755 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1757 * mule-charset.c (Vcharset_ucs_gb): New variable.
1758 (Qucs_gb): New variable.
1759 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1760 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1762 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1764 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1766 * mule-charset.c (charset_code_point): if a coded-charset has a
1767 final-byte, don't inherit the builtin range of the mother CCS.
1769 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1771 * mule-charset.c (charset_code_point): Fix problem about
1774 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1776 * mule-charset.c (decode_builtin_char): Reorganized.
1778 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1780 * text-coding.c (char_encode_as_entity_reference): Modify for
1781 `charset_code_point'.
1782 (char_encode_shift_jis): Likewise.
1783 (char_encode_big5): Likewise.
1784 (char_encode_utf8): Likewise.
1785 (char_encode_iso2022): Likewise.
1787 * mule-charset.c (charset_code_point): Add new argument
1789 (Fencode_char): Add new optional argument `defined_only'.
1791 * chartab.c (put_char_table): Modify for `charset_code_point'.
1793 * char-ucs.h (charset_code_point): Add new argument
1795 (encode_char_1): Modify for `charset_code_point'.
1797 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1800 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1802 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1804 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1805 (Qjis_x0208): Likewise.
1806 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1807 XCHARSET_FINAL(charset).
1808 (charset_code_point): Modify condition for final-byte based
1810 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1811 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1812 in UTF-2000; specify `=jis-x0208' as the mother of
1813 `japanese-jisx0208-1978', `japanese-jisx0208' and
1814 `japanese-jisx0208-1990' in UTF-2000.
1816 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1818 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1820 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1822 * text-coding.c (decode_coding_utf16): Support UTF-16.
1823 (char_encode_utf16): Fixed.
1825 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * text-coding.c (Qutf16): New variable in MULE.
1828 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1829 (Fcoding_system_type): Add `utf-16' in MULE.
1830 (struct detection_state): Add a structure for utf16 in MULE.
1831 (detect_coding_type): Setup st->utf16.mask in MULE.
1832 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1834 (reset_encoding_stream): Use `char_encode_utf16' and
1835 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1836 (detect_coding_utf16): New function [incomplete].
1837 (decode_coding_utf16): New function [support only UCS-2].
1838 (char_encode_utf16): New function.
1839 (char_finish_utf16): New function.
1840 (syms_of_file_coding): Add new symbol `utf-16'; setup
1841 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1843 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1845 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1846 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1848 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1850 * chartab.c (put_char_table): When a charset is specified as a
1851 range in UTF-2000, don't support builtin characters.
1853 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1855 * mule-charset.c (decode_defined_char): Don't refer external
1856 database if Qunbound or Qnil are found.
1857 (Fsave_charset_mapping_table): Don't define it if
1858 HAVE_CHISE_CLIENT is not defined.
1859 (Freset_charset_mapping_table): New function.
1860 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1861 found in external database.
1862 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1863 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1864 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1866 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1868 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1871 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1873 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1874 Q_lowercase, Q_uppercase in UTF-2000.
1876 * chartab.c (get_char_table): Add special code for the standard
1877 case table to use character attribute `->downcase' and
1878 `->uppercase' for case operations in UTF-2000.
1880 * casetab.c (Qflippedcase): New variable in UTF-2000.
1881 (Q_lowercase): Likewise.
1882 (Q_uppercase): Likewise.
1883 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1884 and `->uppercase' in UTF-2000.
1885 (complex_vars_of_casetab): Assign attribute name `downcase' to
1886 downcase and CANON table of Vstandard_case_table in UTF-2000;
1887 assign attribute name `flippedcase' to upcase and EQV table of
1888 Vstandard_case_table in UTF-2000.
1890 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1892 * text-coding.c (decode_add_er_char): Support isolated-chars.
1893 (char_encode_as_entity_reference): Likewise.
1895 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1897 * emacs.c (Vutf_2000_lisp_directory): New variable.
1898 (Vconfigure_utf_2000_lisp_directory): Likewise.
1899 (complex_vars_of_emacs): Add new variable
1900 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1902 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1904 * char-ucs.h (DECODE_CHAR): Delete special code for
1905 `chinese-big5-1' and `chinese-big5-2'.
1907 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1908 (Qbig5_2): Likewise.
1909 (decode_defined_char): Support CONVERSION_BIG5_1 and
1911 (decode_builtin_char): Likewise.
1912 (charset_code_point): Likewise.
1913 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1914 'conversion in UTF-2000.
1915 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1916 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1917 `chinese-big5-2' as children of `chinese-big5'.
1919 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1920 (CONVERSION_BIG5_2): New macro.
1922 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1924 * text-coding.c (char_encode_big5): Support entity-reference.
1926 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1928 * text-coding.c (char_encode_as_entity_reference): New function.
1929 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1931 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1933 * text-coding.c (decode_coding_big5): Support entity-reference
1936 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1938 * text-coding.c (allocate_coding_system): Initialize initial
1939 charsets for CODESYS_UTF8.
1940 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1941 charset-g2 for CODESYS_UTF8.
1942 (decode_coding_utf8): Use charset-g0.
1943 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1944 to force variants to map to UCS.
1946 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * text-coding.c (Qutf_8_mcs): New variable.
1949 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1950 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1951 instead of `utf-8' in UTF-2000.
1953 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1955 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1956 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1957 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1958 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1959 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1960 CONVERSION_96x96x96x96 are introduced.
1961 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1962 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1963 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1965 * char-ucs.h (CONVERSION_94): New macro.
1966 (CONVERSION_96): New macro.
1967 (CONVERSION_94x94): New macro.
1968 (CONVERSION_96x96): New macro.
1969 (CONVERSION_94x94x94): New macro.
1970 (CONVERSION_96x96x96): New macro.
1971 (CONVERSION_94x94x94x60): New macro.
1972 (CONVERSION_94x94x94x94): New macro.
1973 (CONVERSION_96x96x96x96): New macro.
1975 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1977 * chartab.c (Vcharacter_variant_table): Deleted.
1978 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1979 of `Vcharacter_variant_table'.
1980 (Fput_char_attribute): Likewise.
1981 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1982 (complex_vars_of_chartab): Likewise.
1984 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1986 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1988 * fns.c (Qideographic_structure): New variable.
1989 (Qkeyword_char): New variable.
1990 (ids_format_unit): New function.
1991 (Fideographic_structure_to_ids): New function.
1992 (syms_of_fns): Add new symbols `ideographic-structure' and
1993 `:char'; add new builtin function `ideographic-structure-to-ids'.
1995 * data.c (Fchar_ref_p): New function.
1996 (syms_of_data): Add new builtin function `char-ref-p'.
1998 * chartab.h: Add an EXFUN for `Ffind_char'.
2000 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2002 * text-coding.c (Vcharacter_composition_table): Deleted.
2003 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
2006 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
2008 (Vcharacter_composition_table): Deleted.
2009 (Fget_composite_char): Use the implementation for external-DB
2010 support in every UTF-2000.
2011 (Fput_char_attribute): Likewise.
2012 (char_attribute_system_db_file): Don't define if external-DB
2013 feature is not available.
2014 (Fsave_char_attribute_table): Likewise.
2015 (Fmount_char_attribute_table): Likewise.
2016 (Fclose_char_attribute_table): Likewise.
2017 (Freset_char_attribute_table): Likewise.
2018 (Fload_char_attribute_table): Likewise.
2019 (syms_of_chartab): Don't define `save-char-attribute-table',
2020 `mount-char-attribute-table', `reset-char-attribute-table',
2021 `close-char-attribute-table' and `load-char-attribute-table' if
2022 external-DB feature is not available.
2023 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
2025 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2027 * text-coding.c (Qcomposition): Add extern if external-DB feature
2029 (Vcharacter_composition_table): Don't add extern if external-DB
2030 feature is supported.
2031 (COMPOSE_ADD_CHAR): Modify for new data-representation of
2032 character composition rule if external-DB feature is supported.
2034 * chartab.c (Vcharacter_composition_table): Don't define if
2035 external-DB feature is supported.
2036 (Qcomposition): New variable.
2037 (Fget_composite_char): New implementation for external-DB support.
2038 (Fput_char_attribute): Use `composition' property of each
2039 character instead of `Vcharacter_composition_table' to store
2040 character-composition rules if external-DB feature is supported.
2041 (syms_of_chartab): Add new symbol `composition'.
2042 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
2043 external-DB feature is supported.
2045 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2047 * chartab.c (Vchar_db_stingy_mode): New variable.
2048 (load_char_attribute_maybe): Close database if
2049 Vchar_db_stingy_mode is not NIL.
2050 (Fload_char_attribute_table_map_function): Use
2051 `get_char_id_table_0' instead of `get_char_id_table'.
2052 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
2054 * chartab.h (get_char_id_table_0): New inline function.
2055 (get_char_id_table): Use `get_char_id_table_0'.
2057 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2059 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
2060 and `COMPOSE_ADD_CHAR'.
2061 (decode_coding_iso2022): Use `decode_flush_er_chars'.
2063 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2065 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
2066 instead of `DECODE_ADD_UCS_CHAR'.
2067 (COMPOSE_ADD_CHAR): Likewise.
2069 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2071 * text-coding.c (decode_flush_er_chars): New inline function.
2072 (decode_add_er_char): New function.
2073 (decode_coding_utf8): Use `decode_flush_er_chars' and
2074 `decode_add_er_char'.
2076 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2078 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2079 done before `decode_output_utf8_partial_char'.
2081 * mule-charset.c (complex_vars_of_mule_charset): Specify
2082 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2083 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2085 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * mule-charset.c (decode_defined_char): New function; search
2089 (decode_builtin_char): Don't search mother if
2090 XCHARSET_MAX_CODE(charset) == 0.
2091 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2092 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2093 (Fdecode_char): Use `decode_defined_char' instead of
2094 `DECODE_DEFINED_CHAR'.
2095 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2096 mother of `Vcharset_ucs_jis'.
2098 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2099 instead of `DECODE_DEFINED_CHAR'.
2101 * char-ucs.h (decode_defined_char): Renamed from
2102 `DECODE_DEFINED_CHAR'; changed to normal function.
2103 (DECODE_CHAR): Use `decode_defined_char' instead of
2104 `DECODE_DEFINED_CHAR'.
2106 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2108 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2110 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2112 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2114 (Quse_entity_reference): New variable.
2118 (coding_system_description): Add description for
2119 `ccs_priority_list'.
2120 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2121 (allocate_coding_system): Initialize `ccs_priority_list' in
2123 (Fmake_coding_system): Add description about
2124 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2126 (Fcoding_system_property): Accept `disable-composition' and
2127 `use-entity-reference' in UTF-2000.
2128 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2130 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2131 (decode_coding_utf8): Decode entity-reference if
2132 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2133 (char_encode_utf8): Encode non-Unicode characters as
2134 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2136 (syms_of_file_coding): Add new symbols `use-entity-reference',
2138 (vars_of_file_coding): Add new variable
2139 `coded-charset-entity-reference-alist'.
2140 (complex_vars_of_file_coding): Declare `disable-composition' and
2141 `use-entity-reference' to be coding-system-properties in UTF-2000.
2143 * file-coding.h (struct Lisp_Coding_System): Add new member
2144 `use_entity_reference' and `ccs_priority_list'.
2145 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2146 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2147 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2149 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2151 * chartab.c (save_uint8_byte_table): Don't clear the table.
2152 (save_uint16_byte_table): Likewise.
2153 (save_byte_table): Likewise.
2154 (Fmount_char_attribute_table): New function.
2155 (syms_of_chartab): Add new builtin function
2156 `mount-char-attribute-table'.
2158 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2160 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2162 (load_char_decoding_entry_maybe): Open database as read-only mode.
2164 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2165 open database as "w+" mode.
2166 (load_char_attribute_maybe): Open database as read-only mode.
2167 (Fload_char_attribute_table): Likewise.
2169 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2172 (char_table_description): Delete member `db_file'.
2173 (Fmake_char_table): Don't refer `ct->db_file'.
2174 (Fcopy_char_table): Likewise.
2175 (Fsave_char_attribute_table): Likewise.
2176 (Fclose_char_attribute_table): Likewise.
2177 (Freset_char_attribute_table): Likewise.
2178 (load_char_attribute_maybe): Likewise.
2179 (Fload_char_attribute_table): Likewise.
2181 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2183 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2185 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2186 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2188 (load_char_attribute_maybe): Likewise.
2189 (Fload_char_attribute_table): Likewise.
2191 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2193 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2194 `ct->db_file' unconditionally.
2196 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2198 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2200 (char_table_description): Add description for `db_file' and `db'
2202 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2204 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2205 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2206 (Fclose_char_attribute_table): New function.
2207 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2208 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2210 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2211 (syms_of_chartab): Add new builtin function
2212 `Fclose_char_attribute_table'.
2214 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2216 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2218 (load_char_attribute_maybe): Change interface.
2219 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2221 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2223 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2225 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2227 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2228 instead of `DECODE_CHAR' for mother; don't use special code for
2229 chinese-big5 to use code space of chinese-big5-1 and
2231 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2232 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2234 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2235 (MAX_CHAR_BIG5_CDP): Revival.
2237 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2239 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2240 the XLFD registry-encoding name of `chinese-big5'.
2242 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2244 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2245 (Qchinese_big5_cdp): Deleted.
2246 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2247 (complex_vars_of_mule_charset): Delete coded-charset
2250 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2251 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2252 `CHARSET_ID_OFFSET - n' for private CCS.
2253 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2254 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2255 of `MIN_LEADING_BYTE'.
2256 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2257 `(CHARSET_ID_OFFSET - 97)'.
2258 (MIN_CHAR_BIG5_CDP): Deleted.
2259 (MAX_CHAR_BIG5_CDP): Deleted.
2261 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2263 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2265 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2267 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2268 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2271 * chartab.c (Vutf_2000_version): Moved to mule.c.
2272 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2274 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2276 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2277 when HAVE_CHISE_CLIENT is not defined.
2279 * mule.c (vars_of_mule): Provide feature `chise' when
2280 HAVE_CHISE_CLIENT is defined.
2282 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2284 * config.h.in (UTF2000): Add comment.
2285 (HAVE_CHISE_CLIENT): New macro.
2287 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2289 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2291 (Fput_char_attribute): Likewise.
2292 (char_attribute_system_db_file): Encode file-name of attribute.
2293 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2296 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2298 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2299 (Fsave_charset_mapping_table): Use
2300 `char_attribute_system_db_file'.
2301 (load_char_decoding_entry_maybe): Likewise.
2303 * chartab.h (Qsystem_char_id): New external variable.
2304 (char_attribute_system_db_file): New prototype.
2306 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2307 (char_attribute_system_db_file): New function.
2308 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2309 (Freset_char_attribute_table): Likewise.
2310 (load_char_attribute_maybe): Likewise.
2311 (Fload_char_attribute_table): Likewise.
2312 (syms_of_chartab): Add new symbol `system-char-id'.
2314 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2316 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2317 `XCHARSET_GRAPHIC(ccs)'.
2319 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2321 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2323 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2325 * chartab.c (Q_ucs_variants): New variable.
2326 (syms_of_chartab): Add new symbol `->ucs-variants'.
2327 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2328 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2329 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2331 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2333 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2334 `HAVE_DATABASE' is defined.
2335 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2336 `HAVE_DATABASE' is defined.
2338 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2340 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2342 (Freset_char_attribute_table): New function.
2343 (syms_of_chartab): Add new builtin function
2344 `reset-char-attribute-table'.
2346 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2348 * chartab.c (load_char_attribute_maybe): Don't make directories.
2350 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2352 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2354 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2357 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2359 * mule-charset.c (Fsave_charset_mapping_table): Use
2360 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2362 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2363 instead of `XCHARSET_CHARS'.
2365 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2367 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2368 (XCHARSET_BYTE_SIZE): Likewise.
2370 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2372 (XCHARSET_BYTE_SIZE): Likewise.
2374 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2376 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2377 data-directory to store database.
2378 (Fsave_char_attribute_table): Likewise.
2379 (load_char_attribute_maybe): Likewise.
2380 (Fload_char_attribute_table): Likewise.
2382 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2384 * mule-charset.c (Fsave_charset_mapping_table): New function.
2385 (syms_of_mule_charset): Add new builtin function
2386 `save-charset-mapping-table'.
2388 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2390 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2391 (get_ccs_octet_table): New inline function.
2392 (put_ccs_octet_table): Likewise.
2393 (decoding_table_put_char): Use `get_ccs_octet_table' and
2394 `put_ccs_octet_table'.
2395 (decoding_table_remove_char): Use `decoding_table_put_char'.
2396 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2398 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2399 into encoding_table.
2400 (make_charset): Use Qunbound instead Qnil as initial value of
2403 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2405 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2406 element is Qunloaded.
2407 (map_over_uint16_byte_table): Likewise.
2408 (map_over_byte_table): Likewise.
2409 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2410 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2411 database support, load encoding-table of the specified
2412 coded-charset if it is not loaded yet.
2413 (save_uint8_byte_table): New function of UTF-2000 with external
2415 (save_uint16_byte_table): Likewise.
2416 (save_byte_table): Likewise.
2417 (Fput_char_attribute): Don't store value into external database
2418 even if the external database feature is supported in UTF-2000;
2419 set `attribute' as name of char-table if the external database
2420 feature is supported.
2421 (Fsave_char_attribute_table): New function in UTF-2000.
2422 (syms_of_chartab): Add new builtin function
2423 `save-char-attribute-table' in UTF-2000.
2425 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2427 * chartab.c (char_attribute_table_to_put): New variable in
2429 (Qput_char_table_map_function): Likewise.
2430 (value_to_put): Likewise.
2431 (Fput_char_table_map_function): New function in UTF-2000.
2432 (put_char_table): Use `Fmap_char_attribute' for
2433 CHARTAB_RANGE_CHARSET in UTF-2000.
2434 (Fput_char_attribute): Store symbol instead of string in
2435 `XCHAR_TABLE_NAME (table)'.
2436 (load_char_attribute_maybe): Likewise.
2437 (syms_of_chartab): Add new symbol/function
2438 `put-char-table-map-function'.
2440 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2442 * database.h: Add new EXFUN for `Fmap_database'.
2444 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2445 (syms_of_database): Likewise.
2447 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2449 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2450 (XCHAR_TABLE_UNLOADED): Likewise.
2452 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2453 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2454 HAVE_DATABASE is defined.
2455 (char_attribute_table_to_load): New variable of UTF-2000 with
2456 external database support.
2457 (Qload_char_attribute_table_map_function): Likewise.
2458 (Fload_char_attribute_table_map_function): New function of
2459 UTF-2000 with external database support.
2460 (Fload_char_attribute_table): New function of UTF-2000.
2461 (Fmap_char_attribute): Call Fload_char_attribute_table if
2462 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2463 (syms_of_chartab): Add new symbol and function
2464 `load-char-attribute-table-map-function' in UTF-2000 with external
2465 database support; add new function `load-char-attribute-table' in
2468 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2470 * chartab.h (load_char_attribute_maybe): New prototype for
2471 UTF-2000 with DATABASE support.
2472 (get_char_id_table): Use `load_char_attribute_maybe' if
2473 HAVE_DATABASE is defined.
2475 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2476 with DATABASE support.
2478 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * chartab.c (Fput_char_attribute): Use S-expression as key of
2483 * chartab.h (get_char_id_table): Use S-expression as key of
2486 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2488 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2489 if an element is not loaded, load the corresponding attributes
2490 from an external database.
2491 (map_over_uint16_byte_table): Likewise.
2492 (map_over_byte_table): Likewise.
2493 (map_char_table): Modify for `map_over_uint8_byte_table',
2494 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2495 element is not loaded, load the corresponding attributes from an
2497 (Fput_char_attribute): Change initial values to Qunloaded.
2499 * chartab.h (get_char_id_table): If a character attribute is not
2500 loaded and the attribute value is not found in an external
2501 database, store Qunbound as the attribute value.
2503 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2505 * chartab.c (BT_UINT8_unloaded): New macro.
2506 (UINT8_VALUE_P): Accept Qunloaded.
2507 (UINT8_ENCODE): Likewise.
2508 (UINT8_DECODE): Likewise.
2509 (BT_UINT16_unloaded): New macro.
2510 (UINT16_VALUE_P): Accept Qunloaded.
2511 (UINT16_ENCODE): Likewise.
2512 (UINT16_DECODE): Likewise.
2513 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2515 (mark_char_table): Mark `ct->name' in UTF-2000.
2516 (char_table_description): Add `name' in UTF-2000.
2517 (Fmake_char_table): Initialize `ct->name'.
2518 (Fcopy_char_table): Copy `ct->name'.
2519 (Fput_char_attribute): Store value into an external database if
2520 HAVE_DATABASE is defined.
2522 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2524 (CHAR_TABLE_NAME): New macro in UTF-2000.
2525 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2526 (get_char_id_table): Try to read an external database if Qunloaded
2527 is stored in a table.
2529 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2532 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2534 * database.h: Add EXFUN definitions for Fopen_database,
2535 Fput_database, Fget_database and Fclose_database.
2537 * data.c (Qunloaded): New variable in UTF-2000.
2539 * lisp.h (Qunloaded): New variable in UTF-2000.
2541 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2543 * mule-charset.c (put_char_ccs_code_point): Modify for
2544 `decoding_table_remove_char' and `decoding_table_put_char'.
2545 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2547 * char-ucs.h (decoding_table_remove_char): Change arguments to
2548 hide decoding_table vector.
2549 (decoding_table_put_char): Likewise.
2551 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * mule-charset.c (decoding_table_remove_char): Moved to
2555 (decoding_table_put_char): Likewise.
2557 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2558 from mule-charset.c].
2559 (decoding_table_remove_char): New inline function [moved from
2561 (decoding_table_put_char): Likewise.
2563 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2565 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2568 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2570 * mule-charset.c (decode_builtin_char): Support mother charsets.
2572 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2574 * mule-charset.c (Q94x94x60): New variable.
2575 (charset_code_point): Support conversion `94x94x60'.
2576 (Fmake_charset): Likewise.
2577 (syms_of_mule_charset): Add new symbol `94x94x60'.
2579 * char-ucs.h (CONVERSION_94x94x60): New macro.
2581 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2583 * mule-charset.c (charset_code_point): Unify code about
2586 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2588 * mule-charset.c (charset_code_point): Merge code about builtin
2589 characters into code about mother charsets; don't use
2590 `range_charset_code_point'.
2591 (range_charset_code_point): Deleted.
2593 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2595 * mule-charset.c (Qcode_offset): New variable.
2596 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2597 `max-code'; accept new property `code-offset'.
2598 (syms_of_mule_charset): Add new symbol `code-offset'.
2600 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2602 * mule-charset.c (range_charset_code_point): Fixed.
2604 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2606 * mule-charset.c (decode_builtin_char): Change semantics of
2607 code-offset of coded-charset.
2608 (charset_code_point): Likewise.
2609 (range_charset_code_point): Likewise.
2610 (complex_vars_of_mule_charset): Modify for the change.
2612 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2614 * mule-charset.c (Fencode_char): Reverse arguments.
2616 * mule-charset.c (charset_code_point): Fixed.
2618 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * mule-charset.c (Vcharset_mojikyo): Deleted.
2621 (Vcharset_mojikyo_2022_1): Deleted.
2622 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2623 (Qmin_code): New variable in UTF-2000.
2624 (Qmax_code): Likewise.
2625 (Qmother): Likewise.
2626 (Qconversion): Likewise.
2628 (Qmojikyo): Deleted.
2629 (Qmojikyo_2022_1): Deleted.
2630 (Qmojikyo_pj_{1..22}): Deleted.
2631 (mark_charset): Mark `cs->mother'.
2632 (charset_description): Add description for `mother'.
2633 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2634 new arguments `mother' and `conversion'; use
2635 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2636 (charset_code_point): Moved from char-ucs.h; support `mother'
2638 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2639 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2640 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2641 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2642 allow 2 as the value of `graphic' in UTF-2000; add new properties
2643 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2644 require `final' in UTF-2000; modify for `make_charset'.
2645 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2646 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2647 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2648 (Fencode_char): New function.
2649 (syms_of_mule_charset): Add new builtin function `encode-char' in
2650 UTF-2000; add new symbols `min-code', `max-code', `mother',
2651 `conversion' and `94x60'; delete symbols `mojikyo',
2652 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2653 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2654 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2655 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2657 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2658 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2660 * char-ucs.h (Vcharset_mojikyo): Deleted.
2661 (Vcharset_mojikyo_2022_1): Deleted.
2662 (LEADING_BYTE_MOJIKYO): Deleted.
2663 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2664 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2665 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2666 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2667 add new member `mother'; add new member `conversion'.
2668 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2669 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2670 (CHARSET_MOTHER): New macro.
2671 (CHARSET_CONVERSION): New macro.
2672 (CONVERSION_IDENTICAL): New macro.
2673 (CONVERSION_94x60): New macro.
2674 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2675 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2676 (XCHARSET_MOTHER): New macro.
2677 (XCHARSET_CONVERSION): New macro.
2678 (MIN_CHAR_MOJIKYO): Deleted.
2679 (MAX_CHAR_MOJIKYO): Deleted.
2680 (DECODE_MOJIKYO_2022): Deleted.
2681 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2682 (charset_code_point): Changed to non-inline function.
2683 (encode_char_1): Use `charset_code_point'.
2684 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2686 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2688 * lread.c (read_compiled_function): Fix prototype.
2689 (read_vector): Likewise.
2691 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2693 * lrecord.h (struct lrecord_header): Delete `older'.
2694 (set_lheader_implementation): Delete code for `older'.
2695 (set_lheader_older_implementation): Deleted.
2696 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2697 (OLDER_RECORD_P): Deleted.
2698 (OLDER_RECORD_HEADER_P): Deleted.
2699 (alloc_older_lcrecord): Deleted.
2700 (alloc_older_lcrecord_type): Deleted.
2702 * alloc.c (all_older_lcrecords): Deleted.
2703 (alloc_older_lcrecord): Deleted.
2704 (disksave_object_finalization_1): Delete code for older objects.
2705 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2706 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2708 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2710 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2711 instead of `make_older_vector'.
2712 (put_char_ccs_code_point): Likewise.
2713 (mark_charset): Mark `cs->decoding_table'.
2714 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2716 * lisp.h (make_older_vector): Deleted.
2717 (make_vector_newer): Deleted.
2719 * config.h.in (HAVE_GGC): Deleted.
2721 * alloc.c (make_older_vector): Deleted.
2722 (make_vector_newer_1): Deleted.
2723 (make_vector_newer): Deleted.
2725 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2728 (Qideograph_daikanwa_2): New variable.
2729 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2730 (complex_vars_of_mule_charset): Add new coded-charset
2731 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2732 `LEADING_BYTE_DAIKANWA'.
2734 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2735 (LEADING_BYTE_DAIKANWA_1): New macro.
2736 (LEADING_BYTE_DAIKANWA_2): New macro.
2737 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2739 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * mule-charset.c (complex_vars_of_mule_charset): Change
2742 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2743 the second revised version.
2745 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * mule-charset.c (Vcharset_ucs_smp): New variable.
2748 (Vcharset_ucs_sip): New variable.
2749 (Qucs_smp): New variable.
2750 (Qucs_sip): New variable.
2751 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2752 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2753 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2754 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2755 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2756 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2758 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2759 (LEADING_BYTE_UCS_SIP): New macro.
2760 (MIN_CHAR_SMP): New macro.
2761 (MAX_CHAR_SMP): New macro.
2762 (MIN_CHAR_SIP): New macro.
2763 (MAX_CHAR_SIP): New macro.
2765 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2767 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2770 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2773 value; don't store value into `encoding_table' of `Lisp_Charset'.
2774 (mark_charset): `encoding_table' was deleted.
2775 (charset_description): Likewise.
2776 (make_charset): Likewise.
2777 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2778 `put_char_ccs_code_point'.
2780 * chartab.h (Fput_char_attribute): New EXFUN.
2782 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2783 is unified with normal symbol space.
2784 (Fget_char_attribute): Likewise.
2785 (Fput_char_attribute): Likewise; behavior of
2786 `put_char_ccs_code_point' is changed.
2788 * char-ucs.h: Include "elhash.h".
2789 (Vchar_attribute_hash_table): New external variable.
2790 (struct Lisp_Charset): Delete `encoding_table'.
2791 (CHARSET_ENCODING_TABLE): New implementation; refer
2792 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2795 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2800 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2802 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2805 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2807 * chartab.c (uint8_byte_table_description): New constant.
2808 (uint8-byte-table): Use `uint8_byte_table_description'.
2809 (uint16_byte_table_description): New constant.
2810 (uint16-byte-table): Use `uint16_byte_table_description'.
2812 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2814 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2815 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2817 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2819 * mule-charset.c (Vcharset_ucs_ks): New variable.
2820 (Qucs_ks): New variable.
2821 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2822 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2824 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2826 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2828 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2829 (Fdecode_char): Likewise.
2831 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2833 (Fdefine_char): Modify for Fdecode_char.
2834 (Ffind_char): Likewise.
2836 * mule-charset.c (Fdecode_char): Add new optional argument
2838 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2840 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2842 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2843 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2844 (allocate_coding_system): Initialize initial-charsets of
2845 CODESYS_BIG5 in XEmacs UTF-2000.
2846 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2847 CODESYS_BIG5 in XEmacs UTF-2000.
2848 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2849 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2851 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2853 (Qideograph_hanziku_{1 .. 12}): Likewise.
2854 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2856 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2857 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2858 `ideograph-hanziku-{1 .. 12}'.
2860 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2861 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2862 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2863 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2864 (DECODE_DEFINED_CHAR): New inline function.
2865 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2867 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2869 * mule-charset.c (Vcharset_china3_jef): Renamed from
2870 `Vcharset_japanese_jef_china3'.
2871 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2872 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2873 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2874 (syms_of_mule_charset): Rename `china3-jef' from
2875 `japanese-jef-china3'.
2876 (complex_vars_of_mule_charset): Likewise; rename
2877 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2879 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2880 `LEADING_BYTE_JEF_CHINA3'.
2881 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2882 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2884 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2886 * mule-charset.c (encode_builtin_char_1): Comment out special code
2887 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2889 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2890 (MAX_CHAR_MOJIKYO_0): Comment out.
2891 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2892 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2893 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2894 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2896 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2898 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2899 (Qideograph_cbeta): New variable.
2900 (encode_builtin_char_1): Comment out special code for
2901 coded-charset `mojikyo' and `japanese-jef-china3'.
2902 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2903 (complex_vars_of_mule_charset): Add new coded-charset
2906 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2907 (MIN_CHAR_CBETA): New macro.
2908 (MAX_CHAR_CBETA): New macro.
2910 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2913 (LEADING_BYTE_JEF_CHINA3): New macro.
2914 (MIN_CHAR_JEF_CHINA3): New macro.
2915 (MAX_CHAR_JEF_CHINA3): Likewise.
2916 (DECODE_CHAR): Fixed.
2918 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2920 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2921 (Qjapanese_jef_china3): New variable.
2922 (encode_builtin_char_1): Support `japanese-jef-china3'.
2923 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2924 (complex_vars_of_mule_charset): Add new coded-charset
2925 `japanese-jef-china3'.
2927 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2930 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2931 94^4, 96^3, 96^4, 128^n and 256^n set.
2932 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2933 (map_char_table): Likewise.
2935 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2937 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2940 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2942 * chartab.h (get_char_id_table): New inline function.
2944 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2947 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2949 * chartab.h (decode_char_table_range): New prototype in XEmacs
2951 (put_char_id_table): New inline function in XEmacs UTF-2000.
2953 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2955 (decode_char_table_range): Delete static declaration in XEmacs
2958 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2960 * chartab.c (put_char_id_table): Use `put_char_table'.
2962 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2964 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2965 (map_over_uint16_byte_table): Likewise.
2966 (map_over_byte_table): Likewise.
2967 (map_char_table): Modify for `map_over_uint8_byte_table',
2968 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2971 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * chartab.c (struct map_char_table_for_charset_arg): New
2975 (map_char_table_for_charset_fun): New function.
2976 (map_char_table): Use `map_char_table' for encoding_table of
2979 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2981 * chartab.c (map_char_table): Check a character is found in
2982 range->charset instead of non default value is defined in
2983 char-table when range is CHARTAB_RANGE_ROW.
2985 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2987 * chartab.c (map_char_id_table): Deleted.
2988 (Fmap_char_attribute): Use `map_char_table' instead of
2989 `map_char_id_table'.
2991 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2993 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2995 (update_syntax_table): Deleted in XEmacs UTF-2000.
2997 * syntax.c (find_defun_start): Use `syntax_table' instead of
2998 `mirror_syntax_table' in XEmacs UTF-2000.
2999 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
3001 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
3003 (Fmatching_paren): Likewise.
3004 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
3006 (find_start_of_comment): Likewise.
3007 (find_end_of_comment): Likewise.
3008 (Fforward_comment): Likewise.
3009 (scan_lists): Likewise.
3010 (char_quoted): Likewise.
3011 (Fbackward_prefix_chars): Likewise.
3012 (scan_sexps_forward): Likewise.
3013 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
3014 (update_syntax_table): Likewise.
3016 * search.c (skip_chars): Use `syntax_table' instead of
3017 `mirror_syntax_table' in XEmacs UTF-2000.
3018 (wordify): Likewise.
3019 (Freplace_match): Likewise.
3021 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
3022 `mirror_syntax_table' in XEmacs UTF-2000.
3023 (WORDCHAR_P_UNSAFE): Likewise.
3024 (re_match_2_internal): Likewise.
3026 * font-lock.c (find_context): Use `buf->syntax_table' instead of
3027 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3029 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
3030 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
3032 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
3035 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
3037 (print_char_table): Print `default_value' in XEmacs UTF-2000.
3038 (char_table_description): Delete `mirror_table' in XEmacs
3040 (fill_char_table): Don't call `update_syntax_table' in XEmacs
3042 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
3043 (Fcopy_char_table): Likewise.
3044 (put_char_table): Don't call `update_syntax_table' in XEmacs
3047 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
3048 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3049 (casify_region_internal): Likewise.
3051 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
3053 * buffer.c (common_init_complex_vars_of_buffer): Don't use
3054 `mirror_syntax_table' in XEmacs UTF-2000.
3056 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
3057 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3058 (Fexpand_abbrev): Likewise.
3060 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
3064 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
3067 (map_over_uint16_byte_table): Likewise.
3068 (map_over_byte_table): Likewise.
3069 (get_char_id_table): Refer `cit->default_value'.
3070 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3071 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
3072 of character-id ranges.
3073 (mark_char_table): Mark `ct->default_value'.
3074 (char_table_description): Add `default_value'.
3075 (fill_char_table): Use `default_value'.
3076 (decode_char_table_range): Decode `nil' as
3077 `CHARTAB_RANGE_DEFAULT'.
3078 (get_char_id_table): Refer `cit->default_value'.
3079 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3080 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3081 temporary hack; check value of char-table is bound or not.
3082 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3084 * chartab.h (struct Lisp_Char_Table): Add new member
3085 `default_value' in XEmacs UTF-2000.
3086 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3087 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3090 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3092 * chartab.h (Lisp_Char_ID_Table): Deleted.
3094 * chartab.c (char_table_description): Fix typo.
3095 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3096 `Lisp_Char_ID_Table'.
3098 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3100 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3103 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3106 * chartab.h (XCHAR_ID_TABLE): Deleted.
3107 (XSETCHAR_ID_TABLE): Deleted.
3108 (CHAR_ID_TABLE_P): Deleted.
3110 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3112 (Fget_composite_char): Likewise.
3113 (put_char_table): Likewise.
3114 (add_char_attribute_alist_mapper): Fixed.
3115 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3117 (Fget_char_attribute): Likewise.
3118 (Fget_char_attribute): Likewise.
3119 (Fmap_char_attribute): Likewise.
3121 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3123 (encode_char_1): Likewise.
3125 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3127 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3130 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3131 instead of `XCHAR_ID_TABLE'.
3132 (remove_char_ccs): Likewise.
3134 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3136 (Fget_composite_char): Likewise.
3137 (Fchar_variants): Likewise.
3138 (put_char_table): Likewise.
3139 (add_char_attribute_alist_mapper): Likewise.
3140 (Fchar_attribute_alist): Likewise.
3141 (Fget_char_attribute): Likewise.
3142 (Fput_char_attribute): Likewise.
3143 (Fmap_char_attribute): Likewise.
3144 (Fmap_char_attribute): Likewise.
3146 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3148 (encode_char_1): Likewise.
3150 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3152 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3153 `Lisp_Char_ID_Table'.
3154 (mark_char_id_table): Deleted.
3155 (print_char_id_table): Likewise.
3156 (char_id_table_equal): Likewise.
3157 (char_id_table_hash): Likewise.
3158 (char_id_table_description): Likewise.
3159 (char_id_table): Likewise.
3160 (make_char_id_table): Use `Fmake_char_table' and
3162 (get_char_id_table): Use `Lisp_Char_Table' instead of
3163 `Lisp_Char_ID_Table'.
3164 (put_char_id_table): Likewise.
3165 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3167 (Fremove_char_attribute): Likewise.
3168 (syms_of_chartab): Don't define type `char-id-table'.
3170 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3171 (char_id_table): Likewise.
3172 (GC_CHAR_ID_TABLE_P): Likewise.
3173 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3174 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3175 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3176 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3177 (get_char_id_table): Use `Lisp_Char_Table' instead of
3178 `Lisp_Char_ID_Table'.
3179 (put_char_id_table_0): Likewise.
3180 (put_char_id_table): Likewise.
3182 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3184 * chartab.h: Lisp_Byte_Table related codes are moved from
3187 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3189 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3191 * chartab.h: Don't include "chartab.h".
3192 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3193 (Lisp_Char_ID_Table): Likewise.
3194 (char_id_table): Likewise.
3195 (XCHAR_ID_TABLE): Likewise.
3196 (XSETCHAR_ID_TABLE): Likewise.
3197 (CHAR_ID_TABLE_P): Likewise.
3198 (GC_CHAR_ID_TABLE_P): Likewise.
3199 (get_char_id_table): Likewise.
3201 * char-ucs.h: Include "chartab.h".
3202 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3203 (Lisp_Char_ID_Table): Likewise.
3204 (char_id_table): Likewise.
3205 (XCHAR_ID_TABLE): Likewise.
3206 (XSETCHAR_ID_TABLE): Likewise.
3207 (CHAR_ID_TABLE_P): Likewise.
3208 (GC_CHAR_ID_TABLE_P): Likewise.
3209 (get_char_id_table): Likewise.
3211 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3213 * chartab.c (copy_uint8_byte_table): New function.
3214 (copy_uint16_byte_table): New function.
3215 (copy_byte_table): New function.
3216 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3218 (map_over_uint16_byte_table): Likewise.
3219 (map_over_byte_table): Likewise.
3220 (get_byte_table): Move prototype to chartab.h.
3221 (put_byte_table): Likewise.
3222 (put_char_id_table_0): Moved to chartab.h.
3223 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3224 (char_table_entry_equal): Likewise.
3225 (char_table_entry_hash): Likewise.
3226 (char_table_entry_description): Likewise.
3227 (char_table_entry): Likewise.
3228 (make_char_table_entry): Likewise.
3229 (copy_char_table_entry): Likewise.
3230 (get_non_ascii_char_table_value): Likewise.
3231 (map_over_charset_ascii): Likewise.
3232 (map_over_charset_control_1): Likewise.
3233 (map_over_charset_row): Likewise.
3234 (map_over_other_charset): Likewise.
3235 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3236 (print_char_table): Likewise.
3237 (char_table_equal): Likewise.
3238 (char_table_hash): Likewise.
3239 (char_table_description): Likewise.
3240 (fill_char_table): Likewise.
3241 (Fcopy_char_table): Likewise.
3242 (get_char_table): Likewise.
3243 (Fget_range_char_table): Likewise.
3244 (put_char_table): Likewise.
3245 (map_char_table): Likewise.
3246 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3249 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3251 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3252 `Vauto_fill_chars' in XEmacs UTF-2000.
3254 * chartab.h (get_byte_table): New prototype [moved from
3256 (put_byte_table): Likewise [moved from chartab.c].
3257 (put_char_id_table_0): New inline function [moved from chartab.c].
3258 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3259 (Lisp_Char_Table_Entry): Likewise.
3260 (char_table_entry): Likewise.
3261 (XCHAR_TABLE_ENTRY): Likewise.
3262 (XSETCHAR_TABLE_ENTRY): Likewise.
3263 (CHAR_TABLE_ENTRYP): Likewise.
3264 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3265 (NUM_ASCII_CHARS): Likewise.
3266 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3267 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3269 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3271 * chartab.c (get_char_id_table): Change interface.
3272 (put_char_id_table_0): New function.
3273 (put_char_id_table): Change interface; new implementation.
3274 (Fget_composite_char): Modify for interface change of
3275 `get_char_id_table'.
3276 (Fchar_variants): Likewise.
3277 (add_char_attribute_alist_mapper): Likewise.
3278 (Fchar_attribute_alist): Likewise.
3279 (Fget_char_attribute): Likewise.
3280 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3281 as same as character as the first argument like `put-char-table';
3282 modify for interface change of `put_char_id_table'.
3283 (Fremove_char_attribute): Modify for interface change of
3284 `put_char_id_table'.
3286 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3288 * text-coding.c: Sync up with XEmacs 21.2.41.
3289 (COMPOSE_ADD_CHAR): Modify for interface change of
3290 `get_char_id_table'.
3292 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3293 change of `put_char_id_table'.
3294 (remove_char_ccs): Likewise.
3296 * chartab.h (put_char_id_table): Change interface.
3298 * char-ucs.h (get_char_id_table): Change interface.
3299 (charset_code_point): Modify for interface change of
3300 `get_char_id_table'.
3301 (encode_char_1): Likewise.
3303 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3305 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3307 (map_over_uint16_byte_table): Likewise.
3308 (map_over_byte_table): Likewise.
3309 (map_char_id_table): Add new argument `range' like
3311 (Fmap_char_attribute): Add new argument `range' like
3314 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3316 * chartab.c (map_over_uint8_byte_table): Change interface of
3317 mapping function to use struct chartab_range instead of Emchar.
3318 (map_over_uint16_byte_table): Likewise.
3319 (map_over_byte_table): Likewise.
3320 (map_char_id_table): Likewise.
3321 (struct slow_map_char_id_table_arg): Deleted.
3322 (slow_map_char_id_table_fun): Deleted.
3323 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3324 function `slow_map_char_table_fun' instead of struct
3325 `slow_map_char_id_table_arg' and function
3326 `slow_map_char_id_table_fun'.
3328 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3330 * mule-charset.c: Move char-it-table related codes to chartab.c.
3331 (Vutf_2000_version): Moved to chartab.c.
3332 (Fdefine_char): Likewise.
3333 (Ffind_char): Likewise.
3334 (syms_of_mule_charset): Move types `uint8-byte-table',
3335 `uint16-byte-table', `byte-table' and `char-id-table' to
3336 chartab.c; move functions `char_attribute_list,
3337 `find_char_attribute_table, `char_attribute_alist,
3338 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3339 `map_char_attribute, `define_char, `find_char, `char_variants and
3340 `get_composite_char to chartab.c; move symbols `=>ucs',
3341 `->decomposition', `compat', `isolated', `initial', `medial',
3342 `final', `vertical', `noBreak', `fraction', `super', `sub',
3343 `circle', `square', `wide', `narrow', `small' and `font' to
3345 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3346 setting codes for `Vcharacter_composition_table' and
3347 `Vcharacter_variant_table' to chartab.c.
3348 (complex_vars_of_mule_charset): Move setting code for
3349 `Vchar_attribute_hash_table' to chartab.c.
3351 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3352 (make_char_id_table): New prototype.
3353 (put_char_id_table): Likewise.
3354 (Fget_char_attribute): Likewise.
3356 * chartab.c: Move char-id-table related code from mule-charset.c.
3357 (Vutf_2000_version): Moved from mule-charset.c.
3359 * char-ucs.h (Qucs): New external variable.
3360 (put_char_ccs_code_point): New prototype.
3361 (remove_char_ccs): Likewise.
3363 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3365 * mule-charset.c (Vcharset_ucs_jis): New variable.
3366 (Qucs_jis): Likewise.
3367 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3368 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3370 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3372 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3374 * mule-charset.c (map_over_uint8_byte_table): New function.
3375 (map_over_uint16_byte_table): Likewise.
3376 (map_over_byte_table): Likewise.
3377 (map_char_id_table): Likewise.
3378 (slow_map_char_id_table_fun): Likewise.
3379 (Fmap_char_attribute): Likewise.
3380 (syms_of_mule_charset): Add new function `map-char-attribute'.
3382 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3384 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3385 (syms_of_mule_charset): Add new function `find-char'.
3387 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3389 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3391 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3392 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3394 (complex_vars_of_mule_charset): Add new coded-charset
3395 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3396 `ideograph-gt-pj-*'.
3398 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3400 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3402 * mule-charset.c (encode_builtin_char_1): Purge codes about
3403 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3404 {MIN|MAX}_CHAR_HEBREW.
3405 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3406 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3408 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3409 (MAX_CHAR_GREEK): Purged.
3410 (MIN_CHAR_CYRILLIC): Purged.
3411 (MAX_CHAR_CYRILLIC): Purged.
3412 (MIN_CHAR_HEBREW): Commented out.
3413 (MAX_CHAR_HEBREW): Likewise.
3415 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3417 * mule-charset.c (Qto_ucs): New variable.
3418 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3419 (Fdefine_char): Likewise.
3420 (syms_of_mule_charset): Add new symbol `=>ucs'.
3422 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3424 * mule-charset.c (Fdecode_char): Fixed.
3426 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3428 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3429 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3432 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3434 * mule-charset.c (Vcharset_ucs_big5): New variable.
3435 (Qucs_big5): Likewise.
3436 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3437 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3439 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3441 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3443 * mule-charset.c (decode_builtin_char): Check Big5 code range
3444 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3446 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3448 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3449 (Qchinese_gb12345): Likewise.
3450 (Fdecode_builtin_char): Fixed.
3451 (syms_of_mule_charset): Add `chinese-gb12345'.
3452 (complex_vars_of_mule_charset): Add coded-charset
3455 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3456 (LEADING_BYTE_CHINESE_GB12345): New macro.
3458 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3460 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3461 and `latin-viscii-upper' for `latin-viscii'.
3463 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3465 * mule-charset.c (Fdecode_builtin_char): Comment out
3466 regularization code for ISO-IR GR representation.
3468 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3470 * mule-charset.c (decode_builtin_char): New function; renamed from
3471 `make_builtin_char'; return -1 instead of signal.
3472 (Fdecode_builtin_char): Use `decode_builtin_char'.
3474 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3475 `make_builtin_char'.
3476 (DECODE_CHAR): Use `decode_builtin_char' instead of
3477 `make_builtin_char'; use mapping table of `chinese-big5' for
3478 `chinese-big5-{1,2}'.
3480 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3482 * text-coding.c (char_encode_big5): New function.
3483 (char_finish_big5): Likewise.
3484 (reset_encoding_stream): Use `char_encode_big5' and
3485 `char_finish_big5' for CODESYS_BIG5.
3486 (mule_encode): Don't use `encode_coding_big5'.
3487 (encode_coding_big5): Deleted.
3489 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3491 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3492 0x81- in XEmacs UTF-2000.
3493 (detect_coding_big5): Likewise.
3495 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3497 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3498 generate character-id if the CCS property does not have
3499 corresponding predefined character.
3500 (make_builtin_char): Return -1 if corresponding predefined
3501 character is not found.
3502 (Fdecode_char): Return nil if corresponding character is not
3504 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3505 don't map to builtin ucs space.
3507 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3509 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3510 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3512 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3514 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3515 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3516 (Qideograph_gt): Likewise.
3517 (Qideograph_gt_pj_{1..11}): Likewise.
3518 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3519 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3520 `ideograph-gt-pj-11'.
3521 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3522 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3523 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3525 * char-ucs.h (LEADING_BYTE_GT): New macro.
3526 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3527 (MIN_CHAR_GT): Likewise.
3528 (MAX_CHAR_GT): Likewise.
3530 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3532 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3533 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3535 * doprnt.c (unsigned_int_converters): Add `c'.
3536 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3538 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3539 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3541 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3542 (MAX_CHAR_MOJIKYO_0): New macro.
3543 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3545 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3547 * mule-charset.c (Fdefine_char): Delete cemented out code.
3548 (encode_builtin_char_1): Modify for new allocation of builtin
3551 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3553 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3555 * mule-charset.c (Vcharset_ucs_cns): New variable.
3556 (Qucs_cns): New variable.
3557 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3558 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3560 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3562 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3564 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3566 * search.c (search_buffer): Make `charset_base_code' as
3567 character-id >> 6 to eliminate the corresponding last byte in
3568 UTF-8 representation [I'm not sure it is right thing].
3569 (boyer_moore): Likewise.
3571 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3573 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3574 representation in MULE.
3576 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3578 * text-coding.c (Fmake_coding_system): Use
3579 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3580 `EXTERNAL_PROPERTY_LIST_LOOP'.
3582 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3584 * text-coding.c (decode_output_utf8_partial_char): New function.
3585 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3587 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3589 * text-coding.c (decode_coding_utf8): Output original byte
3590 sequence if it is broken; change order of conditions.
3592 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3595 * mb-multibyte.h (BYTE_ASCII_P):
3596 Use bit ops for char-signedness safety.
3597 (BYTE_C0_P): Use bit ops for char-signedness safety.
3598 (BYTE_C1_P): Use bit ops for char-signedness safety.
3600 * character.h: (XCHAR_OR_CHAR_INT):
3601 Always use inline function.
3602 Remove redundant type checking assert() - XINT will abort quite
3605 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3607 * text-coding.c: (Fencode_shift_jis_char):
3608 (Fencode_big5_char):
3609 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3610 Replace 0 with '\0' when working with bytes.
3611 Replace initial "(" with "\(" in docstrings.
3613 (Fmake_coding_system):
3614 When type is ccl and value is vector, register it with a proper
3615 symbol. And checks whether the given ccl program is valid.
3616 (mule_decode): When calling ccl_driver, if src indicates
3617 NULL pointer, set an empty string instead.
3618 (mule_encode): Likewise.
3621 (detect_coding_sjis):
3622 (decode_coding_sjis):
3623 (detect_coding_big5):
3624 (decode_coding_big5):
3625 (detect_coding_ucs4):
3626 (decode_coding_ucs4):
3627 (detect_coding_utf8):
3628 (decode_coding_utf8):
3629 (detect_coding_iso2022):
3630 (decode_coding_iso2022):
3631 (decode_coding_no_conversion):
3633 Make all detecting and decoding functions take an Extbyte * arg.
3634 (text_encode_generic):
3635 (encode_coding_big5):
3636 (encode_coding_no_conversion):
3638 Make all encoding functions take a Bufbyte * arg.
3639 Use size_t instead of unsigned int for memory sizes.
3640 Only cast to unsigned char whenever dereferencing Extbyte *.
3642 (struct lrecord_description fcd_description_1): Use countof.
3643 (complex_vars_of_file_coding):
3644 Use countof instead of sizeof.
3645 Use CHECK_NATNUM instead of CHECK_INT.
3647 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3649 * mule-charset.c (Fget_char_attribute): Add new optional argument
3651 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3652 (remove_char_ccs): Likewise.
3654 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3656 * text-coding.c (char_encode_shift_jis): New implementation in
3658 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3661 * mule-charset.c (Vcharset_chinese_big5): New variable in
3663 (Qchinese_big5): New variable in UTF-2000.
3664 (BIG5_SAME_ROW): New macro in UTF-2000.
3665 (make_builtin_char): Use builtin characters of
3666 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3667 characters of `Vcharset_chinese_big5'.
3668 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3669 (complex_vars_of_mule_charset): Add new coded-charset
3670 `chinese-big5' in UTF-2000.
3672 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3673 (Vcharset_chinese_big5): New external variable declaration.
3674 (Vcharset_japanese_jisx0208_1990): Likewise.
3676 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3678 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3680 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3682 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3684 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3685 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3686 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3689 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3691 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3693 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3695 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3698 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3700 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3701 for `CHARSET_BY_ATTRIBUTES'.
3702 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3703 `CHARSET_BY_ATTRIBUTES'.
3705 * text-coding.c (struct decoding_stream): Rename member `CH' to
3707 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3708 (decode_coding_sjis): Likewise.
3709 (decode_coding_big5): Likewise.
3710 (decode_coding_ucs4): Likewise.
3711 (decode_coding_utf8): Likewise.
3712 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3713 `CHARSET_BY_ATTRIBUTES'.
3714 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3715 `str->counter'; decode 3, 4 bytes sets.
3716 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3718 (decode_coding_no_conversion): Use `str->cpos' instead of
3721 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3722 (Qmojikyo_2022_1): New variable.
3723 (make_charset): Don't use `CHARSET_TYPE_*'.
3724 (range_charset_code_point): Support coded-charset
3726 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3727 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3728 `CHARSET_BY_ATTRIBUTES'.
3729 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3730 `CHARSET_BY_ATTRIBUTES'.
3731 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3732 (complex_vars_of_mule_charset): Add new coded-charset
3735 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3736 interface; changed to inline function.
3738 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3739 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3740 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3741 (CHARSET_TYPE_94): Deleted.
3742 (CHARSET_TYPE_94X94): Deleted.
3743 (CHARSET_TYPE_96): Deleted.
3744 (CHARSET_TYPE_96X96): Deleted.
3745 (CHARSET_TYPE_128): Deleted.
3746 (CHARSET_TYPE_128X128): Deleted.
3747 (CHARSET_TYPE_256): Deleted.
3748 (CHARSET_TYPE_256X256): Deleted.
3749 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3751 (DECODE_MOJIKYO_2022): New inline function.
3752 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3753 `Vcharset_mojikyo_2022_1'.
3755 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3757 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3759 (put_byte_table): Likewise.
3760 (char_id_table_equal): Use `get_byte_table' [new implementation].
3762 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3764 * mule-charset.c: Include <limits.h> in UTF-2000.
3765 (BT_UINT8_MIN): New macro in UTF-2000.
3766 (BT_UINT8_MAX): New macro in UTF-2000.
3767 (BT_UINT8_t): New macro in UTF-2000.
3768 (BT_UINT8_nil): New macro in UTF-2000.
3769 (BT_UINT8_unbound): New macro in UTF-2000.
3770 (INT_UINT8_P): New inline function in UTF-2000.
3771 (UINT8_VALUE_P): New inline function in UTF-2000.
3772 (UINT8_ENCODE): New inline function in UTF-2000.
3773 (UINT8_DECODE): New inline function in UTF-2000.
3774 (mark_uint8_byte_table): New function in UTF-2000.
3775 (print_uint8_byte_table): New function in UTF-2000.
3776 (uint8_byte_table_equal): New function in UTF-2000.
3777 (uint8_byte_table_hash): New function in UTF-2000.
3778 (make_uint8_byte_table): New function in UTF-2000.
3779 (uint8_byte_table_same_value_p): New function in UTF-2000.
3780 (BT_UINT16_MIN): New macro in UTF-2000.
3781 (BT_UINT16_MAX): New macro in UTF-2000.
3782 (BT_UINT16_t): New macro in UTF-2000.
3783 (BT_UINT16_nil): New macro in UTF-2000.
3784 (BT_UINT16_unbound): New macro in UTF-2000.
3785 (INT_UINT16_P): New inline function in UTF-2000.
3786 (UINT16_VALUE_P): New inline function in UTF-2000.
3787 (UINT16_ENCODE): New inline function in UTF-2000.
3788 (UINT16_DECODE): New inline function in UTF-2000.
3789 (UINT8_TO_UINT16): New inline function in UTF-2000.
3790 (mark_uint16_byte_table): New function in UTF-2000.
3791 (print_uint16_byte_table): New function in UTF-2000.
3792 (uint16_byte_table_equal): New function in UTF-2000.
3793 (uint16_byte_table_hash): New function in UTF-2000.
3794 (make_uint16_byte_table): New function in UTF-2000.
3795 (uint16_byte_table_same_value_p): New function in UTF-2000.
3796 (print_byte_table): New function in UTF-2000.
3797 (byte-table): Use `print_byte_table' as printer.
3798 (make_byte_table): Delete second argument `older'.
3799 (byte_table_same_value_p): New function in UTF-2000.
3800 (copy_byte_table): Deleted.
3801 (get_byte_table): New function in UTF-2000.
3802 (put_byte_table): New function in UTF-2000.
3803 (print_char_id_table): New function in UTF-2000.
3804 (char-id-table): Use `print_char_id_table' as printer.
3805 (make_char_id_table): Delete second argument `older'.
3806 (get_char_id_table): Use `get_byte_table [new implementation].
3807 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3809 (Ffind_char_attribute_table): New function in UTF-2000.
3810 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3811 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3812 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3813 (syms_of_mule_charset): Add new function
3814 `find-char-attribute-table' in UTF-2000.
3816 * lrecord.h (enum lrecord_type): Add
3817 `lrecord_type_uint16_byte_table' and
3818 `lrecord_type_uint8_byte_table'.
3820 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3821 (Lisp_Uint8_Byte_Table): New type.
3822 (XUINT8_BYTE_TABLE): New macro.
3823 (XSETUINT8_BYTE_TABLE): New macro.
3824 (UINT8_BYTE_TABLE_P): New macro.
3825 (GC_UINT8_BYTE_TABLE_P): New macro.
3826 (struct Lisp_Uint16_Byte_Table): New structure.
3827 (Lisp_Uint16_Byte_Table): New type.
3828 (XUINT16_BYTE_TABLE): New macro.
3829 (XSETUINT16_BYTE_TABLE): New macro.
3830 (UINT16_BYTE_TABLE_P): New macro.
3831 (GC_UINT16_BYTE_TABLE_P): New macro.
3833 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3835 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3836 (Vcharacter_ideographic_strokes_table): Deleted.
3837 (Vcharacter_total_strokes_table): Deleted.
3838 (Vcharacter_morohashi_daikanwa_table): Deleted.
3839 (Vcharacter_decomposition_table): Deleted.
3840 (Qname): Deleted because it is duplicated.
3841 (Qideographic_radical): Deleted.
3842 (Qideographic_strokes): Deleted.
3843 (Qtotal_strokes): Deleted.
3844 (Qmorohashi_daikanwa): Deleted.
3845 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3846 `ideographic-radical', `ideographic-strokes', `total-strokes',
3847 `morohashi-daikanwa' and `->decomposition'.
3848 (Fget_char_attribute): Likewise.
3849 (Fput_char_attribute): Likewise; use `make-vector' instead of
3850 `make_older_vector' for `->decomposition' value.
3851 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3852 `ideograph-daikanwa'.
3853 (syms_of_mule_charset): Delete builtin symbols `name',
3854 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3855 `morohashi-daikanwa'.
3856 (vars_of_mule_charset): Don't setup
3857 `Vcharacter_ideographic_radical_table',
3858 `Vcharacter_ideographic_strokes_table',
3859 `Vcharacter_total_strokes_table',
3860 `Vcharacter_morohashi_daikanwa_table' and
3861 `Vcharacter_decomposition_table'.
3863 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3865 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3866 `make_older_vector', `make_vector_newer_1' and
3867 `make_vector_newer'.
3869 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3870 `make_older_vector' and `make_vector_newer'.
3872 * config.h.in (HAVE_GGC): New macro.
3874 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3876 * mule-charset.c (struct char_attribute_list_closure): New
3877 structure in UTF-2000.
3878 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3879 (Fchar_attribute_list): Likewise.
3880 (Fset_charset_mapping_table): Use `make_vector_newer'.
3881 (Fdecode_builtin_char): New function in UTF-2000.
3882 (syms_of_mule_charset): Add new function `char-attribute-list' and
3883 `decode-builtin-char' in UTF-2000.
3885 * lisp.h (make_vector_newer): New prototype.
3887 * alloc.c (make_vector_newer_1): New function.
3888 (make_vector_newer): New function.
3890 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3892 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3895 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3897 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3898 (Vcharacter_attribute_table): Deleted.
3899 (Vcharacter_name_table): Deleted.
3900 (put_char_attribute): Deleted.
3901 (remove_char_attribute): Deleted.
3902 (struct char_attribute_alist_closure): New structure.
3903 (add_char_attribute_alist_mapper): New function.
3904 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3905 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3906 (Fget_char_attribute): Likewise.
3907 (Fput_char_attribute): Likewise.
3908 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3909 of `remove_char_attribute'.
3910 (Fdefine_char): Return character.
3911 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3912 and `Vcharacter_name_table'.
3913 (complex_vars_of_mule_charset): Likewise
3914 `Vchar_attribute_hash_table'.
3916 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3918 * character.h (CHARC_CHARSET): New macro.
3919 (CHARC_CHARSET_ID): New macro.
3920 (CHARC_CODE_POINT): New macro.
3921 (CHARC_COLUMNS): New macro.
3922 (CHARC_TO_CHAR): New inline function.
3923 (CHARC_EQ): New inline function.
3924 (CHARC_ASCII_EQ): New inline function.
3925 (CHARC_IS_SPACE): New inline function.
3926 (ASCII_TO_CHARC): New inline function.
3928 * char-ucs.h (encode_char_2): Deleted.
3929 (ENCODE_CHAR): Use `encode_char_1' again.
3930 (breakup_char_1): Likewise.
3931 (CHAR_TO_CHARC): New inline function.
3933 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3935 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3937 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3938 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3939 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3940 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3941 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3943 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3945 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3947 (x_output_display_block): Use `CHARC_CHARSET' and
3950 * redisplay-tty.c (tty_output_display_block): Use
3952 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3954 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3956 * insdel.c (find_charsets_in_charc_string): Use
3958 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3959 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3960 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3961 (convert_charc_string_into_malloced_string): Likewise.
3963 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3965 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3966 instead of <Emchar_dynarr *> for buf; use
3967 `convert_bufbyte_string_into_charc_dynarr' instead of
3968 `convert_bufbyte_string_into_emchar_dynarr'; use
3969 `find_charsets_in_charc_string' instead of
3970 `find_charsets_in_emchar_string'.
3973 - Include "character.h".
3974 (struct rune): New member `cglyph'; delete member `chr'.
3976 * redisplay.c (redisplay_text_width_charc_string): New function;
3977 delete `redisplay_text_width_emchar_string'.
3978 (rtw_charc_dynarr): New variable; renamed from
3979 `rtw_emchar_dynarr'.
3980 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3981 `rtw_emchar_dynarr'; use
3982 `convert_bufbyte_string_into_charc_dynarr' instead of
3983 `convert_bufbyte_string_into_emchar_dynarr'; use
3984 `redisplay_text_width_charc_string' instead of
3985 `redisplay_text_width_emchar_string'.
3986 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3987 instead of `rtw_emchar_dynarr'; use
3988 `convert_bufbyte_string_into_charc_dynarr' instead of
3989 `convert_bufbyte_string_into_emchar_dynarr'.
3990 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3991 `redisplay_text_width_charc_string' instead of
3992 `redisplay_text_width_emchar_string'.
3993 (create_text_block): Modify for <struct rune> change.
3994 (generate_formatted_string_db): Likewise.
3995 (create_string_text_block): Likewise.
3996 (pixel_to_glyph_translation): Likewise.
3998 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3999 instead of <const Emchar *>.
4000 (x_text_width): Likewise.
4001 (x_output_display_block): Use <Charc_dynarr *> instead
4002 <Emchar_dynarr *>; modify for <structure rune> change.
4003 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
4006 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
4007 <const Emchar *>; use `charc_string_displayed_columns' instead of
4008 `emchar_string_displayed_columns'.
4009 (tty_output_display_block): Use <Charc_dynarr *> instead of
4010 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
4011 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
4012 (tty_output_charc_dynarr_dynarr): New variable; renamed from
4013 `tty_output_emchar_dynarr_dynarr'.
4014 (tty_output_charc_dynarr): New function; delete
4015 `tty_output_charc_dynarr'.
4017 * redisplay-output.c (compare_runes): Modify for `struct rune'.
4018 (redisplay_output_layout): Use <Charc_dynarr *> instead of
4019 <Emchar_dynarr *> for buf; use
4020 `convert_bufbyte_string_into_charc_dynarr' instead of
4021 `convert_bufbyte_string_into_emchar_dynarr'.
4023 * frame.c (title_string_charc_dynarr): New variable; renamed from
4024 `title_string_emchar_dynarr'.
4025 (generate_title_string): Use `title_string_charc_dynarr' instead
4026 of `title_string_emchar_dynarr'; use
4027 `convert_charc_string_into_malloced_string' instead of
4028 `convert_emchar_string_into_malloced_string'.
4029 (init_frame): Use `title_string_charc_dynarr' instead of
4030 `title_string_emchar_dynarr'.
4033 - Include "character.h".
4034 (struct console_methods): Use <const Charc *> instead of <const
4035 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
4036 <Emchar_dynarr *> in output_string_method.
4038 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
4041 * console-stream.c (stream_text_width): Use <const Charc *>
4042 instead of <const Emchar *>.
4044 * character.h (Charc_dynarr): New type.
4046 * char-ucs.h (structure Charc): New structure; define new type
4049 * char-lb.h (DECODE_CHAR): New inline function.
4050 (encode_char_1): New inline function.
4051 (ENCODE_CHAR): New macro.
4052 (structure Charc): New structure; define new type `Charc'.
4054 * char-1byte.h (Vcharset_control_1): New macro.
4055 (Vcharset_latin_iso8859_1): New macro.
4056 (DECODE_CHAR): New inline function.
4057 (encode_char_1): New inline function.
4058 (ENCODE_CHAR): New macro.
4059 (structure Charc): New structure; define new type `Charc'.
4061 * insdel.c (find_charsets_in_charc_string): New function; delete
4062 `find_charsets_in_emchar_string'.
4063 (charc_string_displayed_columns): New function; delete
4064 `emchar_string_displayed_columns'.
4065 (convert_bufbyte_string_into_charc_dynarr): New function; delete
4066 `convert_bufbyte_string_into_emchar_dynarr'.
4067 (convert_charc_string_into_bufbyte_dynarr): New function; delete
4068 `convert_charc_string_into_bufbyte_dynarr'.
4069 (convert_charc_string_into_malloced_string): New function; delete
4070 `convert_charc_string_into_malloced_string'.
4072 * buffer.h (find_charsets_in_charc_string): New prototype; delete
4073 `find_charsets_in_emchar_string'.
4074 (charc_string_displayed_columns): New prototype; delete
4075 `emchar_string_displayed_columns'.
4076 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
4077 `convert_charc_string_into_bufbyte_dynarr'.
4078 (convert_charc_string_into_malloced_string): New prototype; delete
4079 `convert_charc_string_into_malloced_string'.
4081 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4083 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4085 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4087 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4089 * char-ucs.h: Use <short> for <Charset_ID>.
4091 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4094 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4096 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4099 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4101 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4103 (Qmorohashi_daikanwa): New variable.
4104 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4105 for `morohashi-daikanwa' attribute.
4106 (Fget_char_attribute): Likewise.
4107 (Fput_char_attribute): Likewise.
4108 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4109 has the same value of `ideograph-daikanwa'.
4110 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4111 (vars_of_mule_charset): Setup
4112 `Vcharacter_morohashi_daikanwa_table'.
4114 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4116 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4118 (add_charset_to_list_mapper): Add `key' instead of
4119 `XCHARSET_NAME (value)' to return aliases.
4121 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4123 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4125 (Vcharacter_ideographic_strokes_table): New variable.
4126 (Qideographic_radical): New variable.
4127 (Qideographic_strokes): New variable.
4128 (Fchar_attribute_alist): Use
4129 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4130 attribute; use `Vcharacter_ideographic_strokes_table' for
4131 `ideographic-strokes' attribute.
4132 (Fget_char_attribute): Likewise.
4133 (Fput_char_attribute): Likewise.
4134 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4135 `ideographic-strokes'.
4136 (vars_of_mule_charset): Setup
4137 `Vcharacter_ideographic_radical_table' and
4138 `Vcharacter_ideographic_strokes_table'.
4140 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4142 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4143 (Qtotal_strokes): New variable.
4144 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4145 `total-strokes' attribute.
4146 (Fget_char_attribute): Likewise.
4147 (Fput_char_attribute): Likewise.
4148 (syms_of_mule_charset): Add new symbol `total-strokes'.
4149 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4151 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4153 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4154 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4156 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4157 `->decomposition' attribute.
4158 (Fput_char_attribute): Likewise.
4159 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4161 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4163 * mule-charset.c (decoding_table_check_elements): New function.
4164 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4166 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4168 * mule-charset.c (Fset_charset_mapping_table): Use
4169 `put_char_ccs_code_point'.
4171 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4173 * mule-charset.c (decoding_table_put_char): New inline function.
4174 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4176 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4178 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4179 (XCHARSET_BYTE_SIZE): New macro.
4180 (decoding_table_remove_char): New inline function.
4181 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4182 `decoding_table_remove_char'.
4183 (remove_char_ccs): Use `decoding_table_remove_char'.
4184 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4186 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4188 * mule-charset.c (Vcharacter_name_table): New variable.
4189 (Qname): New variable.
4190 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4192 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4193 `Vcharacter_name_table' for `name' attribute.
4194 (Fremove_char_attribute): Use function `remove_char_ccs'.
4195 (put_char_ccs_code_point): New function.
4196 (remove_char_ccs): New function.
4197 (syms_of_mule_charset): Add new symbol `name'.
4198 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4200 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4202 * mule-charset.c (make_byte_table): Add new argument `older'.
4203 (make_char_id_table): Likewise.
4204 (copy_char_id_table): Comment out because it is not used.
4205 (put_char_id_table): Modify for `make_byte_table'.
4206 (Fput_char_attribute): Make encoding_table as older object;
4207 inherit older bit of `Vcharacter_composition_table'.
4208 (mark_charset): Don't mark `cs->encoding_table'.
4209 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4210 normal object; make `Vcharacter_composition_table' as an older
4211 object; delete staticpro for `Vcharacter_composition_table'; make
4212 `Vcharacter_variant_table' as a normal object.
4214 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4215 (mark_object): Don't check older object in UTF-2000.
4217 * lrecord.h (struct lrecord_header): Add new member `older' in
4219 (set_lheader_implementation): Setup `SLI_header->older' in
4221 (set_lheader_older_implementation): New macro in UTF-2000.
4222 (OLDER_RECORD_P): New macro in UTF-2000.
4223 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4224 (alloc_older_lcrecord): New prototype in UTF-2000.
4225 (alloc_older_lcrecord_type): New macro in UTF-2000.
4227 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4229 * mule-charset.c (byte_table_description): Use
4230 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4231 (char_id_table_description): Delete bogus `, 1'.
4232 (Fget_char_attribute): Refer encoding_table of each coded-charset
4233 to get value of coded-charset attribute of a character.
4234 (Fput_char_attribute): Use `make_older_vector' instead of
4235 `make_vector'; use encoding_table of each coded-charset to store
4236 value of coded-charset attribute of a character.
4237 (Fremove_char_attribute): Use encoding_table of each coded-charset
4238 to store value of coded-charset attribute of a character.
4239 (mark_charset): Mark `cs->encoding_table'; don't mark
4240 `cs->decoding_table'.
4241 (charset_description): Add description of new member
4243 (make_charset): Initialize `encoding_table'.
4245 * char-ucs.h (struct Lisp_Charset): Add new member
4247 (CHARSET_ENCODING_TABLE): New macro.
4248 (XCHARSET_ENCODING_TABLE): New macro.
4249 (charset_code_point): New implementation.
4250 (encode_char_1): Likewise.
4252 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4253 (disksave_object_finalization_1): Call finalizers of
4254 `all_older_lcrecords' in UTF-2000.
4255 (make_older_vector): New function in UTF-2000.
4256 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4259 * lisp.h (make_older_vector): New prototype in UTF-2000.
4261 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4263 * lrecord.h (enum lrecord_type): Rename
4264 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4266 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4267 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4268 `get_char_code_table'.
4270 * mule-charset.c (mark_char_id_table): Renamed from
4271 `mark_char_code_table'.
4272 (char_id_table_equal): Renamed from `char_code_table_equal'.
4273 (char_id_table_hash): Renamed from `char_code_table_hash'.
4274 (make_char_id_table): Renamed from `make_char_code_table'.
4275 (copy_char_id_table): Renamed from `copy_char_code_table'.
4276 (get_char_id_table): Renamed from `get_char_code_table'.
4277 (put_char_id_table): Renamed from `put_char_code_table'.
4278 (to_char_id): Renamed from `to_char_code'.
4280 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4281 `Lisp_Char_Code_Table'.
4282 (char_id_table): Renamed from `char_code_table'.
4283 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4284 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4285 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4286 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4287 (get_char_id_table): Renamed from `get_char_code_table'.
4289 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4291 * lrecord.h (enum lrecord_type): Rename
4292 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4294 * mule-charset.c (mark_byte_table): Renamed from
4295 `mark_char_byte_table'.
4296 (byte_table_equal): Renamed from `char_byte_table_equal'.
4297 (byte_table_hash): Renamed from `byte_table_hash'.
4298 (make_byte_table): Renamed from `make_byte_table'.
4299 (copy_byte_table): Renamed from `copy_char_byte_table'.
4301 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4302 `Lisp_Char_Byte_Table'.
4303 (byte_table): Renamed from `char_byte_table'.
4304 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4305 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4306 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4307 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4309 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4311 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4312 (dfc_convert_to_internal_format): Likewise.
4314 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4315 * text-coding.c (Fcoding_system_alias_p): New function.
4316 * text-coding.c (Fcoding_system_aliasee): New function.
4317 * text-coding.c (append_suffix_to_symbol): New function.
4318 * text-coding.c (dangling_coding_system_alias_p): New function.
4319 * text-coding.c (Ffind_coding_system):
4320 * text-coding.c (Fcopy_coding_system):
4321 * text-coding.c (encode_coding_no_conversion):
4322 * text-coding.c (syms_of_file_coding):
4323 * text-coding.c (vars_of_file_coding):
4324 Rewrite coding system alias code.
4325 Allow nested aliases, like symbolic links.
4326 Allow redefinition of coding system aliases.
4327 Prevent existence of dangling coding system aliases.
4328 Eliminate convert_to_external_format.
4329 Eliminate convert_to_internal_format.
4331 * text-coding.c: Change enum eol_type to eol_type_t.
4333 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4335 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4336 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4338 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4339 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4341 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4343 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4344 `ideograph-daikanwa'.
4346 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4347 (Vcharset_ucs_bmp): Likewise.
4348 (Vcharset_mojikyo): Add new extern variable definition.
4349 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4350 (Vcharset_latin_iso8859_3): Likewise.
4351 (Vcharset_latin_iso8859_4): Likewise.
4352 (Vcharset_latin_iso8859_9): Likewise.
4353 (Vcharset_latin_viscii_lower): Likewise.
4354 (Vcharset_latin_viscii_upper): Likewise.
4355 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4356 `mojikyo' code-point is used to decode.
4357 (encode_char_2): New function [to convert `mojikyo' code-point to
4358 Mojikyo font encoding].
4359 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4360 (breakup_char_1): Likewise.
4361 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4363 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4365 * text-coding.c (Fmake_coding_system): Add document about
4366 `disable-composition' property.
4368 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4370 * text-coding.c (Qdisable_composition): New variable; delete
4372 (Fmake_coding_system): Add new property `disable-composite';
4373 delete property `composite'.
4374 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4375 instead of `!CODING_SYSTEM_COMPOSITE'.
4376 (syms_of_file_coding): Add new symbol `disable-composition';
4377 delete symbol `composite'.
4379 * file-coding.h (struct Lisp_Coding_System): Add
4380 `disable_composition'; delete `enable_composition'.
4381 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4382 `CODING_SYSTEM_COMPOSITE'.
4383 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4384 `XCODING_SYSTEM_COMPOSITE'.
4386 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4388 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4391 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4393 * text-coding.c (Qcomposite): New variable.
4394 (Fmake_coding_system): Add new property `composite'.
4395 (struct decoding_stream): Add `combined_char_count',
4396 `combined_chars' and `combining_table' in UTF-2000.
4397 (COMPOSE_FLUSH_CHARS): New macro.
4398 (COMPOSE_ADD_CHAR): New macro.
4399 (reset_decoding_stream): Reset `str->combined_char_count' and
4400 `str->combining_table' in UTF-2000.
4401 (decode_coding_iso2022): Modify for character-decomposition.
4402 (syms_of_file_coding): Add new symbol `composite'.
4404 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4406 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4407 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4408 of `Vcharacter_composition_table' if `->decomposition' property
4410 (Qlatin_tcvn5712): New variable.
4411 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4412 (complex_vars_of_mule_charset): Add new coded-charset
4415 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4417 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4419 * file-coding.h (struct Lisp_Coding_System): Add
4420 `enable_composition'.
4421 (CODING_SYSTEM_COMPOSITE): New macro.
4422 (XCODING_SYSTEM_COMPOSITE): New macro.
4424 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4426 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4428 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4430 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4431 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4433 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4435 * mule-charset.c (Vcharset_mojikyo): New variable.
4436 (Fdefine_char): Don't use coded-charset which does not have
4437 non-builtin character range to allocate character-id.
4438 (Qmojikyo): New variable.
4439 (syms_of_mule_charset): Add new symbol `mojikyo'.
4440 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4442 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4443 (LEADING_BYTE_MOJIKYO): New macro.
4444 (MIN_CHAR_MOJIKYO): New macro.
4445 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4446 (MAX_CHAR_MOJIKYO): New macro.
4448 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4450 * mule-charset.c (remove_char_attribute): Fixed.
4452 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4454 * mule-charset.c (remove_char_attribute): New function.
4455 (Fremove_char_attribute): New function.
4456 (encode_builtin_char_1): Comment out builtin-support for
4457 greek-iso8859-7 and cyrillic-iso8859-5.
4458 (Fdecode_char): Check `code' is an integer.
4459 (syms_of_mule_charset): Add `remove-char-attribute'.
4460 (MIN_CHAR_GREEK): Deleted.
4461 (MAX_CHAR_GREEK): Likewise.
4462 (MIN_CHAR_CYRILLIC): Likewise.
4463 (MAX_CHAR_CYRILLIC): Likewise.
4464 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4465 MAX_CHAR_GREEK for `greek-iso8859-7'.
4467 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4468 (MAX_CHAR_GREEK): Likewise.
4469 (MIN_CHAR_CYRILLIC): Likewise.
4470 (MAX_CHAR_CYRILLIC): Likewise.
4472 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4474 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4475 format is used without `ucs' property.
4476 (Fdecode_char): Fix problem with GR representation.
4477 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4478 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4480 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4482 * mule-charset.c (make_builtin_char): New function.
4483 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4484 (Fset_charset_mapping_table): Modify for new representation of
4486 (Fdecode_char): New function.
4487 (syms_of_mule_charset): Add new builtin function `decode-char' in
4490 * char-ucs.h (make_builtin_char): New prototype.
4491 (DECODE_CHAR): New inline function.
4492 (MAKE_CHAR): Use `DECODE_CHAR'.
4494 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4496 * text-coding.c (parse_charset_conversion_specs): Use
4497 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4499 (iso2022_designate): Likewise.
4501 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4502 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4504 * mule-charset.c (Vcharset_ucs): New variable.
4505 (print_charset): Change design; use `CHARSET_CHARS' and
4506 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4507 (make_charset): Change signature to specify `chars' and
4508 `dimension' instead of `type'.
4509 (range_charset_code_point): Modify for 256^n-set.
4510 (encode_builtin_char_1): Encode as `ucs' in default.
4511 (Fmake_charset): Modify for `make_charset'.
4512 (Fmake_reverse_direction_charset): Likewise.
4513 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4515 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4518 * char-ucs.h (Vcharset_ucs): New variable.
4519 (LEADING_BYTE_UCS): New macro.
4520 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4521 and `chars' to `unsigned short' from `unsigned int'.
4522 (CHARSET_TYPE): Deleted.
4523 (XCHARSET_TYPE): Deleted.
4525 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4527 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4529 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4530 (ENCODE_CHAR): New macro.
4532 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4534 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4535 to 0.14 (Kawachi-Katakami).
4537 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * text-coding.c (char_encode_shift_jis): Modify for
4540 `charset_code_point'.
4541 (char_encode_iso2022): Likewise.
4543 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4544 (integer) instead of list of <Lisp_Object>s (integers) as the
4545 format of code-point of a coded-charset.
4546 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4547 (encode_builtin_char_1): New function; delete
4548 `split_builtin_char'.
4549 (charset_code_point): Return <int> instead of <Lisp_Object>.
4550 (Fsplit_char): Don't use `SPLIT_CHAR'.
4552 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4553 prototype for `split_builtin_char'.
4554 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4555 (charset_code_point): Likewise.
4556 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4557 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4559 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4561 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4562 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4564 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4566 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4568 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4569 (MAX_CHAR_OBS_94x94): Deleted.
4571 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4573 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4575 * char-ucs.h (MAX_CHAR_BMP): New macro.
4577 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4579 * text-coding.c: Sync with r21-2-24.
4581 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4583 * file-coding.c: Modify for UTF-2000.
4585 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4587 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4590 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4592 * mule-charset.c (split_builtin_char): Delete builtin support for
4593 `katakana-jisx0201'.
4594 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4595 BMP area in builtin representation.
4597 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4598 `Vcharset_katakana_jisx0201'.
4600 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4602 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4603 (Qisolated): New variable.
4604 (Qinitial): New variable.
4605 (Qmedial): New variable.
4606 (Qfinal): New variable.
4607 (Qvertical): New variable.
4608 (Qsmall): New variable.
4609 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4610 `Qvertical' and `Qsmall'.
4611 (Qmojikyo_pj_[1 .. 21]): New variable.
4612 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4613 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4614 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4617 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4619 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4620 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4621 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4623 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4625 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4626 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4628 (Qjapanese_jisx0208_1990): New variable.
4629 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4630 (complex_vars_of_mule_charset): Add new coded-charset
4631 `japanese-jisx0208-1990'.
4633 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4634 (MIN_CHAR_JIS_X0208_1990): New macro.
4635 (MAX_CHAR_JIS_X0208_1990): New macro.
4637 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4639 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4640 coded-charset is not found.
4642 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4644 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4645 (Fdefine_char): Use `Fmake_char'.
4647 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4649 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4650 (Vcharset_hiragana_jisx0208): Deleted.
4651 (Vcharset_katakana_jisx0208): Deleted.
4652 (Qideograph_daikanwa): New variable.
4653 (Qhiragana_jisx0208): Deleted.
4654 (Qkatakana_jisx0208): Deleted.
4655 (split_builtin_char): Split `ideograph-daikanwa'.
4656 (Fsplit_char): New implementation for UTF-2000.
4657 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4658 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4659 (complex_vars_of_mule_charset): Add new coded-charset
4660 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4661 `katakana-jisx0208'.
4663 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4664 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4665 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4666 (MIN_CHAR_DAIKANWA): New macro.
4667 (MAX_CHAR_DAIKANWA): New macro.
4669 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4671 * data.c (Fstring_to_number): Don't recognize floating point if
4674 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4676 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4678 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4680 * mule-charset.c (Qsquare): New variable.
4681 (to_char_code): Add `Qsquare'.
4682 (syms_of_mule_charset): Add new symbol `square'.
4684 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4686 * mule-charset.c (Qcircle): New variable.
4687 (to_char_code): Add `Qcircle'.
4688 (syms_of_mule_charset): Add new symbol `circle'.
4690 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4692 * mule-charset.c (Qfont): New variable.
4693 (to_char_code): Add `Qfont'.
4694 (syms_of_mule_charset): Add new symbol `font'.
4696 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4698 * mule-charset.c (Qsub): New variable.
4699 (to_char_code): Add `Qsub'.
4700 (syms_of_mule_charset): Add new symbol `sub'.
4702 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4704 * mule-charset.c (Fput_char_attribute): Convert each element of
4705 VALUE to GL position if ATTRIBUTE is a GR-set,
4707 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4709 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4710 coded-charset is a GR-set.
4712 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4714 * mule-charset.c (Fput_char_attribute): Check each element of
4715 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4717 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4719 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4721 (Qethiopic_ucs): New variable in UTF-2000.
4722 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4723 (complex_vars_of_mule_charset): Add new coded-charset
4724 `ethiopic-ucs' in UTF-2000.
4726 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4727 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4729 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4731 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4733 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4735 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4738 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4740 * mule-charset.c (Vcharacter_variant_table): New variable.
4741 (Q_ucs): New variable.
4742 (Fchar_variants): New function.
4743 (Fput_char_attribute): Register `->ucs' value to
4744 `Vcharacter_variant_table'.
4745 (syms_of_mule_charset): Add new function `char-variants' and new
4747 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4749 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4751 * mule-charset.c (get_char_code_table): Allow negative character
4753 (put_char_code_table): Likewise.
4754 (Vcharacter_composition_table): New variable.
4755 (Q_decomposition): New variable.
4756 (Qwide): New variable.
4757 (Qnarrow): New variable.
4758 (Qcompat): New variable.
4759 (QnoBreak): New variable.
4760 (Qsuper): New variable.
4761 (Qfraction): New variable.
4762 (to_char_code): New function.
4763 (Fget_composite_char): New function.
4764 (Fput_char_attribute): Register `->decomposition' value to
4765 `Vcharacter_composition_table'.
4766 (syms_of_mule_charset): Add new function `get-composite-char', new
4767 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4768 `super' and `fraction'.
4769 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4771 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4773 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4774 character; copy the return value.
4776 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4778 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4780 * mule-charset.c (range_charset_code_point): Must use make_int.
4781 (split_builtin_char): New function.
4783 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * mule-charset.c (char_byte_table): Change name from
4786 "char-code-table" to "char-byte-table".
4787 (mark_char_code_table): New function.
4788 (char_code_table_equal): New function.
4789 (char_code_table_hash): New function.
4790 (char_code_table_description): New constant.
4791 (char_code_table): New type.
4792 (make_char_code_table): New function.
4793 (copy_char_code_table): New function.
4794 (get_char_code_table): Modify for `char_code_table' type.
4795 (put_char_code_table): Likewise.
4796 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4799 * char-ucs.h (char_code_table): New type.
4800 (XCHAR_CODE_TABLE): New macro.
4801 (XSETCHAR_CODE_TABLE): New macro.
4802 (CHAR_CODE_TABLE_P): New macro.
4803 (GC_CHAR_CODE_TABLE_P): New macro.
4804 (struct Lisp_Char_Code_Table): New structure.
4806 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4808 * mule-charset.c (Fmake_charset): Setup byte_offset for
4811 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4813 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4816 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4818 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4821 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4823 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4824 charset, it is regarded as a charset.
4825 (put_char_attribute): New function in UTF-2000.
4826 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4827 charset, mapping-table of the charset is modified.
4828 (Fdefine_char): New function in UTF-2000.
4829 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4830 `Fput_char_attribute'.
4831 (syms_of_mule_charset): Add new function `define-char' and new
4832 symbol `ucs' in UTF-2000.
4833 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4835 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4837 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4838 non-UTF-2000 configuration.
4840 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4842 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4843 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4845 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4847 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4848 (Fset_charset_mapping_table): Likewise.
4850 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4851 (CHARSET_ENCODING_TABLE): Delete.
4852 (XCHARSET_ENCODING_TABLE): Delete.
4853 (charset_code_point): New interface.
4855 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4857 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4858 instead of `charset_get_byte1' and `charset_get_byte2'.
4860 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4861 (charset_get_byte2): Deleted.
4863 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4865 * char-ucs.h (SPLIT_CHAR): New inline function.
4866 (breakup_char_1): Use `SPLIT_CHAR'.
4868 * mule-charset.c (range_charset_code_point): New function.
4869 (charset_code_point): New function.
4871 * char-ucs.h (range_charset_code_point): New interface.
4872 (breakup_char_1): Use `range_charset_code_point'.
4874 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4876 * mule-charset.c (Fmake_charset): Delete unused local variable
4879 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4880 (breakup_char_1): Find a charset and code-point in
4881 `Vcharacter_attribute_table'.
4883 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4885 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4888 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4890 * mule-charset.c (Vcharacter_attribute_table): New variable.
4891 (Fchar_attribute_alist): New function.
4892 (Fget_char_attribute): New function.
4893 (Fput_char_attribute): New function.
4894 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4896 (syms_of_mule_charset): Add new function `char-attribute-alist',
4897 `get-char-attribute' and `put-char-attribute'.
4898 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4900 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4902 * mule-charset.c (Fmake_charset): Just use
4903 `get_unallocated_leading_byte'.
4905 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4906 sets; don't use final-byte based number for private sets.
4908 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4910 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4913 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4915 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4918 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4920 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4921 of `CHAR_LEADING_BYTE' in UTF-2000.
4923 * insdel.c (find_charsets_in_bufbyte_string): Use
4924 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4925 (find_charsets_in_emchar_string): Likewise.
4927 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4928 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4930 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4931 (CHAR_CHARSET_ID): New macro.
4933 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4935 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4936 charset-id - MIN_LEADING_BYTE.
4937 (put_char_table): Likewise.
4939 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4941 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4942 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4943 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4944 (CHARSET_ID_OFFSET): New macro.
4945 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4946 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4947 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4948 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4950 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4952 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4953 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4954 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4955 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4956 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4958 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4960 * mule-charset.c (next_allocated_leading_byte): New variable in
4962 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4963 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4964 (get_unallocated_leading_byte): Simply use
4965 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4966 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4969 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4970 (MAX_LEADING_BYTE_PRIVATE): New macro.
4971 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4972 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4974 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4976 * mule-charset.c (Fmake_charset): Allocate final-byte based
4977 charset-id for 94-set, 96-set and 94x94-set.
4979 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4981 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4983 (Fmake_charset): Likewise.
4984 (complex_vars_of_mule_charset): Modify the font registry of
4985 `ucs-bmp' not to match `Ethiopic-Unicode'.
4987 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4989 * mule-charset.c (complex_vars_of_mule_charset): Add font
4990 registory of `ucs-bmp'.
4992 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4994 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4995 coded-charsets in `default-coded-charset-priority-list' when
4996 breaking up a character.
4998 * mule-charset.c (Vcharset_latin_viscii): New variable.
4999 (Qlatin_viscii): New variable.
5000 (make_charset): Don't use `decoding_table'.
5001 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
5003 (Fset_charset_mapping_table): New implementation.
5004 (syms_of_mule_charset): Add new symbol `latin-viscii'.
5005 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
5006 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
5007 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
5008 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
5009 charset `latin_viscii'.
5011 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
5012 (CHARSET_TYPE_94X94): Change to 1 from 2.
5013 (CHARSET_TYPE_96): Change to 2 from 1.
5014 (CHARSET_TYPE_128): New macro.
5015 (CHARSET_TYPE_128X128): Change to 5 from 4.
5016 (CHARSET_TYPE_256): New macro.
5017 (CHARSET_TYPE_256X256): Change to 7 from 5.
5018 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
5020 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5022 * text-coding.c (char_encode_shift_jis): Refer
5023 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
5024 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
5026 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
5027 (char_byte_table_equal): New function in UTF-2000.
5028 (char_byte_table_hash): New function in UTF-2000.
5029 (char_byte_table_description): New constant in UTF-2000.
5030 (char_byte_table): New type in UTF-2000.
5031 (make_char_byte_table): New function in UTF-2000.
5032 (copy_char_byte_table): New function in UTF-2000.
5033 (make_char_code_table): New macro in UTF-2000.
5034 (get_char_code_table): New function in UTF-2000.
5035 (put_char_code_table): New function in UTF-2000.
5036 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
5037 (charset_description): Add setting in UTF-2000.
5038 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
5039 `CHARSET_TO_BYTE1_TABLE(cs)'.
5040 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
5041 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
5042 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
5043 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
5044 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
5045 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
5046 `CHARSET_TO_BYTE2_TABLE(cs)'.
5048 * char-ucs.h (char_byte_table): New type.
5049 (XCHAR_BYTE_TABLE): New macro.
5050 (XSETCHAR_BYTE_TABLE): New macro.
5051 (CHAR_BYTE_TABLE_P): New macro.
5052 (GC_CHAR_BYTE_TABLE_P): New macro.
5053 (struct Lisp_Char_Byte_Table): New structure.
5054 (get_char_code_table): New interface.
5055 (Emchar_to_byte_table): Deleted.
5056 (get_byte_from_character_table): Deleted.
5057 (struct Lisp_Charset): Add `encoding_table'; delete
5058 `to_byte1_table' and `to_byte2_table'.
5059 (CHARSET_ENCODING_TABLE): New macro.
5060 (CHARSET_TO_BYTE1_TABLE): Deleted.
5061 (CHARSET_TO_BYTE2_TABLE): Deleted.
5062 (XCHARSET_ENCODING_TABLE): New macro.
5063 (XCHARSET_TO_BYTE1_TABLE): Deleted.
5064 (XCHARSET_TO_BYTE2_TABLE): Deleted.
5066 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5068 * mule-charset.c (syms_of_mule_charset): Delete charset alias
5069 `vietnamese-viscii-*'.
5071 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5073 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
5074 (Qvietnamese_viscii_upper): New variable.
5075 (Fdefine_charset_alias): New function.
5076 (syms_of_mule_charset): Add new function `define-charset-alias'.
5077 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5078 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5081 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5083 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5084 (MAX_CHAR_OBS_94x94): New macro.
5085 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5088 * mule-charset.c (put_byte_from_character_table): Change unit size
5090 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5092 (Fmake_reverse_direction_charset): Modify dummy argument of
5093 `make_charset' for non-UTF-2000 environment.
5095 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5097 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5099 * mule-charset.c (destroy_byte_from_character_table): New macro.
5100 (latin_jisx0201_to_ucs): Deleted.
5101 (latin_iso8859_2_to_ucs): Deleted.
5102 (latin_iso8859_3_to_ucs): Deleted.
5103 (latin_iso8859_4_to_ucs): Deleted.
5104 (latin_iso8859_9_to_ucs): Deleted.
5105 (latin_viscii_lower_to_ucs): Deleted.
5106 (latin_viscii_upper_to_ucs): Deleted.
5107 (mark_charset): Mark `cs->decoding_table'.
5108 (Fcharset_mapping_table): Fix DOC-string.
5109 (Fset_charset_mapping_table): New function.
5110 (syms_of_mule_charset): Add nwe function
5111 `set-charset-mapping-table'.
5112 (complex_vars_of_mule_charset): Don't setup and use
5115 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5117 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5120 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5122 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5123 (Vcharset_katakana_jisx0208): New variable.
5124 (Qhiragana_jisx0208): New variable.
5125 (Qkatakana_jisx0208): New variable.
5126 (make_charset): Add new argument `byte_offset'.
5127 (charset_get_byte1): Modify for new coded-charset definition; use
5128 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5129 `XCHARSET_BYTE_OFFSET'.
5130 (Fmake_charset): Modify for `make_charset'.
5131 (Fmake_reverse_direction_charset): Likewise.
5132 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5133 `katakana-jisx0208'.
5134 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5135 `.' in font registry of charset `katakana-jisx0201',
5136 `latin-jisx0201', `vietnamese-viscii-lower' and
5137 `vietnamese-viscii-upper'; modify DOC-string of charset
5138 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5139 registry of charset `japanese-jisx0208' not to use font for JIS
5140 X0208:1990; add new charset `hiragana-jisx0208' and
5141 `katakana-jisx0208'.
5143 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5144 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5145 (struct Lisp_Charset): Add `byte_offset'.
5146 (CHARSET_BYTE_OFFSET): New macro.
5147 (XCHARSET_UCS_MIN): New macro.
5148 (XCHARSET_UCS_MAX): New macro.
5149 (XCHARSET_CODE_OFFSET): New macro.
5150 (XCHARSET_BYTE_OFFSET): New macro.
5151 (MIN_CHAR_HIRAGANA): New macro.
5152 (MAX_CHAR_HIRAGANA): New macro.
5153 (MIN_CHAR_KATAKANA): New macro.
5154 (MAX_CHAR_KATAKANA): New macro.
5155 (MAKE_CHAR): Modify for new coded-charset definition; use
5156 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5157 `XCHARSET_BYTE_OFFSET'.
5159 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5161 * mule-charset.c (CHAR96): Deleted.
5162 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5164 (latin_iso8859_2_to_ucs): Likewise.
5165 (latin_iso8859_3_to_ucs): Likewise.
5166 (latin_iso8859_4_to_ucs): Likewise.
5167 (latin_iso8859_9_to_ucs): Likewise.
5168 (latin_viscii_lower_to_ucs): Likewise.
5169 (latin_viscii_upper_to_ucs): Likewise.
5170 (latin_tcvn5712_to_ucs): Commented out.
5171 (make_charset): Change type of argument `decoding_table' from
5172 <Emchar*> to <Lisp_Object> [vector of characters].
5173 (Fmake_charset): Modify for `make_charset'.
5174 (Fmake_reverse_direction_charset): Likewise.
5175 (Fcharset_mapping_table): New function in UTF-2000.
5176 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5178 (complex_vars_of_mule_charset): Modify for type change of
5179 `*_to_ucs'; modify for `make_charset'.
5181 * char-ucs.h (struct Lisp_Charset): Change type of
5182 `decoding_table' from <Emchar*> to <Lisp_Object>.
5183 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5185 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5187 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5188 error with non-UTF-2000-Mule.
5190 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5192 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5194 (Vcharset_chinese_cns11643_4): Likewise.
5195 (Vcharset_chinese_cns11643_5): Likewise.
5196 (Vcharset_chinese_cns11643_6): Likewise.
5197 (Vcharset_chinese_cns11643_7): Likewise.
5198 (Qchinese_cns11643_3): Likewise.
5199 (Qchinese_cns11643_4): Likewise.
5200 (Qchinese_cns11643_5): Likewise.
5201 (Qchinese_cns11643_6): Likewise.
5202 (Qchinese_cns11643_7): Likewise.
5203 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5204 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5205 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5206 (complex_vars_of_mule_charset): Likewise.
5208 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5210 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5212 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5213 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5215 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5217 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5219 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5220 (breakup_char_1): Likewise.
5222 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5223 one of them includes the specified character.
5225 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5227 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5229 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5231 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5233 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5235 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5236 definition for non-UTF-2000 Mule.
5237 (latin_iso8859_3_to_ucs): Likewise.
5238 (latin_iso8859_4_to_ucs): Likewise.
5239 (latin_iso8859_9_to_ucs): Likewise.
5240 (latin_jisx0201_to_ucs): Likewise.
5241 (MIN_CHAR_THAI): Likewise.
5242 (MAX_CHAR_THAI): Likewise.
5243 (MIN_CHAR_GREEK): Likewise.
5244 (MAX_CHAR_GREEK): Likewise.
5245 (MIN_CHAR_HEBREW): Likewise.
5246 (MAX_CHAR_HEBREW): Likewise.
5247 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5248 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5249 (MIN_CHAR_CYRILLIC): Likewise.
5250 (MAX_CHAR_CYRILLIC): Likewise.
5252 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5254 * char-ucs.h (breakup_char_1): Use
5255 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5256 thai-tis620 and katakana-jisx0201 area.
5258 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5260 * char-ucs.h (breakup_char_1): Use
5261 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5264 * text-coding.c (reset_encoding_stream): Fixed.
5265 (char_encode_ucs4): Delete `& 255'.
5267 * char-ucs.h (breakup_char_1): Use
5268 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5270 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5272 * file-coding.c (Fmake_coding_system): Don't set up
5273 `codesys->fixed.size'.
5274 (encode_coding_no_conversion): Don't refer
5275 `str->codesys->fixed.size'.
5277 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5279 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5280 (latin_a_char_to_byte1): Deleted.
5281 (latin_a_char_to_byte2): Deleted.
5283 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5285 * mule-charset.c (make_charset): Add new argument `ucs_min',
5286 `ucs_max' and `code_offset'.
5287 (charset_get_byte1): New implementation [delete specific charset
5288 depended implementations].
5289 (Fmake_charset): Modify for `make_charset'.
5290 (Fmake_reverse_direction_charset): Likewise.
5291 (complex_vars_of_mule_charset): Likewise.
5293 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5295 (CHARSET_UCS_MIN): New macro.
5296 (CHARSET_UCS_MAX): New macro.
5297 (CHARSET_CODE_OFFSET): New macro.
5298 (MAKE_CHAR): Delete charset depended definitions [except
5301 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5303 * char-ucs.h (breakup_char_1): Use
5304 `Vdefault_coded_charset_priority_list' for C0-Controls,
5305 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5307 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5309 * char-ucs.h (charset_get_byte1): New function.
5310 (XCHARSET_GET_BYTE1): Deleted.
5311 (charset_get_byte2): New function.
5312 (XCHARSET_GET_BYTE2): Deleted.
5313 (Vdefault_coded_charset_priority_list): New external variable.
5314 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5315 `Vdefault_preferred_coded_charset_list'.
5317 * mule-charset.c (charset_get_byte1): New function.
5318 (charset_get_byte2): New function.
5319 (Vdefault_coded_charset_priority_list): New variable.
5320 (vars_of_mule_charset): Add new variable
5321 `default-coded-charset-priority-list'.
5323 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5325 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5326 (XCHARSET_GET_BYTE2): New inline function.
5327 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5328 `XCHARSET_GET_BYTE2'.
5330 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5332 * mule-charset.c (make_charset): Initialize
5333 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5334 NULL if table is not defined.
5336 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5338 * text-coding.c (char_encode_shift_jis): Use
5339 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5340 `ucs_to_latin_jisx0201'.
5342 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5343 (ucs_to_latin_iso8859_2): Deleted.
5344 (ucs_to_latin_iso8859_3): Deleted.
5345 (ucs_to_latin_iso8859_4): Deleted.
5346 (ucs_to_latin_iso8859_9): Deleted.
5347 (ucs_to_latin_viscii_lower): Deleted.
5348 (ucs_to_latin_viscii_upper): Deleted.
5349 (ucs_to_latin_tcvn5712): Deleted.
5350 (make_charset): Add new argument `decoding_table'; set up
5351 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5352 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5353 `decoding_table' is defined in UTF-2000.
5354 (Fmake_charset): Modify for `make_charset'.
5355 (Fmake_reverse_direction_charset): Likewise.
5356 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5357 and `GENERATE_96_SET'.
5359 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5360 (ucs_to_latin_jisx0201): Deleted.
5361 (latin_iso8859_2_to_ucs): Deleted.
5362 (ucs_to_latin_iso8859_2): Deleted.
5363 (latin_iso8859_3_to_ucs): Deleted.
5364 (ucs_to_latin_iso8859_3): Deleted.
5365 (latin_iso8859_4_to_ucs): Deleted.
5366 (ucs_to_latin_iso8859_4): Deleted.
5367 (latin_iso8859_9_to_ucs): Deleted.
5368 (ucs_to_latin_iso8859_9): Deleted.
5369 (latin_viscii_lower_to_ucs): Deleted.
5370 (ucs_to_latin_viscii_lower): Deleted.
5371 (latin_viscii_upper_to_ucs): Deleted.
5372 (ucs_to_latin_viscii_upper): Deleted.
5373 (struct Lisp_Charset): Renamed `encoding_table' to
5374 `to_byte1_table'; add `to_byte2_table'.
5375 (CHARSET_DECODING_TABLE): New macro.
5376 (CHARSET_TO_BYTE1_TABLE): New macro.
5377 (CHARSET_TO_BYTE2_TABLE): New macro.
5378 (XCHARSET_DECODING_TABLE): New macro.
5379 (XCHARSET_TO_BYTE1_TABLE): New macro.
5380 (XCHARSET_TO_BYTE2_TABLE): New macro.
5381 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5383 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5384 don't use `ucs_to_*' tables.
5386 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5388 * text-coding.c (Fmake_coding_system): Don't set up
5389 `codesys->fixed.size'.
5390 (encode_coding_no_conversion): Use `if' instead of `switch'.
5392 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5394 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5396 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5397 (Fmake_charset): Modify for `make_charset'.
5398 (Fmake_reverse_direction_charset): Likewise.
5399 (complex_vars_of_mule_charset): Likewise.
5401 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5403 * text-coding.c (char_encode_shift_jis): Use table
5404 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5406 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5408 * text-coding.c (text_encode_generic): Use `if' instead of
5410 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5413 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5415 * text-coding.c (encode_coding_sjis): Deleted.
5416 (char_encode_shift_jis): New function.
5417 (char_finish_shift_jis): New function.
5418 (reset_encoding_stream): Set up `encode_char' and `finish' for
5419 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5420 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5421 (char_encode_utf8): Treat `eol_type'.
5423 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5425 * file-coding.c (decode_coding_iso2022): Use
5426 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5428 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5430 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5433 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5435 * char-lb.h (CHAR_COLUMNS): New macro.
5437 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5439 * text-coding.c (char_encode_ucs4): New function.
5440 (char_finish_ucs4): New function.
5441 (encode_coding_ucs4): Deleted.
5442 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5443 (text_encode_generic): Delete local variable `charset' and `half'.
5444 (ucs_to_mule_table): Deleted.
5445 (mule_to_ucs_table): Deleted.
5446 (Fset_ucs_char): Deleted.
5447 (ucs_to_char): Deleted.
5448 (Fucs_char): Deleted.
5449 (Fset_char_ucs): Deleted.
5450 (Fchar_ucs): Deleted.
5451 (decode_ucs4): Deleted.
5452 (mule_char_to_ucs4): Deleted.
5453 (encode_ucs4): Deleted.
5454 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5455 (decode_coding_utf8): Likewise.
5456 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5457 (char_encode_iso2022): Fixed.
5458 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5459 `Fset_char_ucs' and `Fchar_ucs'.
5460 (complex_vars_of_file_coding): Don't initialize
5461 `ucs_to_mule_table'.
5463 * objects-tty.c (tty_initialize_font_instance): Don't use
5466 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5469 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5470 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5472 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5473 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5474 (emchar_string_displayed_columns): Likewise.
5476 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5477 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5478 (string_column_at_point): Likewise.
5479 (Fmove_to_column): Likewise.
5481 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5482 `encoding_table' and `decoding_table'.
5483 (CHARSET_REP_BYTES): Deleted.
5484 (XCHARSET_REP_BYTES): Deleted.
5485 (XCHARSET_COLUMNS): Deleted.
5486 (CHAR_COLUMNS): New macro.
5487 (lookup_composite_char): Deleted unconditionally.
5488 (composite_char_string): Likewise.
5490 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5492 * char-ucs.h (Emchar_to_byte_table): New type.
5493 (get_byte_from_character_table): New function interface.
5494 (Vcharset_latin_jisx0201): New variable.
5495 (latin_jisx0201_to_ucs): New variable.
5496 (ucs_to_latin_jisx0201): New variable.
5497 (Vcharset_latin_iso8859_2): New variable.
5498 (latin_iso8859_2_to_ucs): New variable.
5499 (ucs_to_latin_iso8859_2): New variable.
5500 (Vcharset_latin_iso8859_3): New variable.
5501 (latin_iso8859_3_to_ucs): New variable.
5502 (ucs_to_latin_iso8859_3): New variable.
5503 (Vcharset_latin_iso8859_4): New variable.
5504 (latin_iso8859_4_to_ucs): New variable.
5505 (ucs_to_latin_iso8859_4): New variable.
5506 (Vcharset_latin_iso8859_9): New variable.
5507 (latin_iso8859_9_to_ucs): New variable.
5508 (ucs_to_latin_iso8859_9): New variable.
5509 (Vcharset_latin_viscii_lower): New variable.
5510 (latin_viscii_lower_to_ucs): New variable.
5511 (ucs_to_latin_viscii_lower): New variable.
5512 (Vcharset_latin_viscii_upper): New variable.
5513 (latin_viscii_upper_to_ucs): New variable.
5514 (ucs_to_latin_viscii_upper): New variable.
5515 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5516 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5517 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5518 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5519 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5520 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5521 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5522 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5523 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5524 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5526 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5527 (Vcharset_latin_viscii_upper): New variable.
5528 (make_byte_from_character_table): New function.
5529 (put_byte_from_character_table): New function.
5530 (get_byte_from_character_table): New function.
5531 (CHAR96): New macro.
5532 (ucs_to_latin_jisx0201): New variable.
5533 (latin_jisx0201_to_ucs): New variable.
5534 (ucs_to_latin_iso8859_2): New variable.
5535 (latin_iso8859_2_to_ucs): New variable.
5536 (ucs_to_latin_iso8859_3): New variable.
5537 (latin_iso8859_3_to_ucs): New variable.
5538 (ucs_to_latin_iso8859_4): New variable.
5539 (latin_iso8859_4_to_ucs): New variable.
5540 (ucs_to_latin_iso8859_9): New variable.
5541 (latin_iso8859_9_to_ucs): New variable.
5542 (ucs_to_latin_viscii_lower): New variable.
5543 (latin_viscii_lower_to_ucs): New variable.
5544 (ucs_to_latin_viscii_upper): New variable.
5545 (latin_viscii_upper_to_ucs): New variable.
5546 (ucs_to_latin_tcvn5712): New variable.
5547 (latin_tcvn5712_to_ucs): New variable.
5548 (Qlatin_viscii_lower): New variable.
5549 (Qlatin_viscii_upper): New variable.
5550 (syms_of_mule_charset): Set up new symbol
5551 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5552 (complex_vars_of_mule_charset): Set up new charset
5553 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5554 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5555 `ucs_to_<CHARSET>' tables.
5557 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5559 * text-coding.c: New file.
5561 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5563 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5565 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5566 (MAKE_CHAR): Modify for `ucs-bmp'.
5567 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5568 non-MULE characters of BMP.
5570 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5572 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5575 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5578 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5579 - Include character.h for `CHAR_ASCII_P'.
5581 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5583 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5584 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5586 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5587 (BYTE_C0_P): Likewise.
5588 (BYTE_C1_P): Likewise.
5589 (Lstream_get_emchar_1): Likewise.
5590 (Lstream_fput_emchar): Likewise.
5591 (Lstream_funget_emchar): Likewise.
5592 (copy_internal_to_external): Likewise.
5593 (copy_external_to_internal): Likewise.
5595 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5596 (BYTE_C0_P): Likewise.
5597 (BYTE_C1_P): Likewise.
5598 (Lstream_get_emchar_1): Likewise.
5599 (Lstream_fput_emchar): Likewise.
5600 (Lstream_funget_emchar): Likewise.
5601 (copy_internal_to_external): Likewise.
5602 (copy_external_to_internal): Likewise.
5604 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5605 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5607 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5608 (BYTE_ASCII_P): Moved to mb-1byte.h.
5610 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5612 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5614 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5615 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5616 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5617 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5618 (VALIDATE_CHARPTR_FORWARD): Likewise.
5619 (simple_charptr_emchar): Moved to mb-multibyte.h.
5620 (simple_set_charptr_emchar): Likewise.
5621 (simple_charptr_copy_char): Likewise.
5622 (non_ascii_charptr_emchar): Likewise.
5623 (non_ascii_set_charptr_emchar): Likewise.
5624 (non_ascii_charptr_copy_char): Likewise.
5625 (charptr_emchar): Moved to mb-*byte.h.
5626 (set_charptr_emchar): Likewise.
5627 (charptr_copy_char): Likewise.
5629 * mb-1byte.h, mb-multibyte.h: New files.
5631 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5633 * mb-utf-8.h (MULTIBYTE): New macro.
5634 (MAX_EMCHAR_LEN): Moved from buffer.h.
5635 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5637 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5639 * mb-lb.h, multibyte.h: New files.
5641 * char-1byte.h (Charset_ID): Moved from buffer.h.
5642 (MIN_LEADING_BYTE): Likewise.
5643 (LEADING_BYTE_ASCII): Likewise.
5644 (NUM_LEADING_BYTES): Likewise.
5645 (CHARSETP): Likewise.
5646 (CHARSET_BY_LEADING_BYTE): Likewise.
5647 (XCHARSET_LEADING_BYTE): Likewise.
5648 (XCHARSET_GRAPHIC): Likewise.
5649 (XCHARSET_COLUMNS): Likewise.
5650 (XCHARSET_DIMENSION): Likewise.
5651 (CHAR_CHARSET): Likewise.
5652 (CHAR_LEADING_BYTE): Likewise.
5653 (BREAKUP_CHAR): Likewise.
5654 (Vcharset_ascii): Likewise.
5656 * buffer.h: Include multibyte.h unconditionally.
5657 (VALID_CHARPTR_P): Moved to multibyte.h.
5658 (ASSERT_VALID_CHARPTR): Likewise.
5659 (REAL_INC_CHARPTR): Likewise.
5660 (REAL_INC_CHARBYTIND): Likewise.
5661 (REAL_DEC_CHARPTR): Likewise.
5662 (INC_CHARPTR): Likewise.
5663 (INC_CHARBYTIND): Likewise.
5664 (DEC_CHARPTR): Likewise.
5665 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5666 (VALIDATE_CHARPTR_FORWARD): Likewise.
5667 (charptr_n_addr): Likewise.
5668 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5669 (simple_charptr_emchar): Moved to multibyte.h.
5670 (simple_set_charptr_emchar): Likewise.
5671 (simple_charptr_copy_char): Likewise.
5672 (non_ascii_charptr_emchar): Likewise.
5673 (non_ascii_set_charptr_emchar): Likewise.
5674 (non_ascii_charptr_copy_char): Likewise.
5675 (charptr_emchar): Likewise.
5676 (set_charptr_emchar): Likewise.
5677 (charptr_copy_char): Likewise.
5678 (charptr_emchar_n): Likewise.
5679 (Charset_ID): Moved to char-1byte.h.
5680 (Vcharset_ascii): Likewise.
5681 (CHAR_CHARSET): Likewise.
5682 (CHAR_LEADING_BYTE): Likewise.
5683 (LEADING_BYTE_ASCII): Likewise.
5684 (NUM_LEADING_BYTES): Likewise.
5685 (MIN_LEADING_BYTE): Likewise.
5686 (CHARSETP): Likewise.
5687 (CHARSET_BY_LEADING_BYTE): Likewise.
5688 (XCHARSET_LEADING_BYTE): Likewise.
5689 (XCHARSET_GRAPHIC): Likewise.
5690 (XCHARSET_COLUMNS): Likewise.
5691 (XCHARSET_DIMENSION): Likewise.
5692 (BREAKUP_CHAR): Likewise.
5694 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5696 * character.h: Add document about interface for characters.
5698 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5699 (MAKE_CHAR): Delete comment about
5700 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5701 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5702 (BREAKUP_CHAR): Modify name of arguments.
5703 (CHAR_CHARSET): Modify name of argument.
5705 * buffer.h: Delete document about Emchar accessors.
5707 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5709 * character.h (CHAR_INTP): Moved from buffer.h
5710 (CHAR_OR_CHAR_INTP): Likewise.
5711 (XCHAR_OR_CHAR_INT): Likewise.
5712 (CHECK_CHAR_COERCE_INT): Likewise.
5714 * buffer.h (CHAR_INTP): Moved to character.h
5715 (CHAR_OR_CHAR_INTP): Likewise.
5716 (XCHAR_OR_CHAR_INT): Likewise.
5717 (CHECK_CHAR_COERCE_INT): Likewise.
5719 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5722 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5723 - Include char-1byte.h, char-lb.h or char-ucs.h.
5725 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5727 * buffer.h: Include character unconditionally.
5728 (valid_char_p): Moved to char-*.h.
5729 (non_ascii_valid_char_p): Moved to char-lb.h.
5731 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5733 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5735 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5736 in UTF-2000 because it is not ported yet and not to use
5737 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5738 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5739 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5741 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5742 (CHAR_ASCII_P): Moved from character.h.
5744 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5745 (CHAR_ASCII_P): Likewise.
5746 (CHAR_FIELD1_MASK): Deleted.
5747 (CHAR_FIELD2_MASK): Deleted.
5748 (CHAR_FIELD3_MASK): Deleted.
5749 (MAX_CHAR_BASIC_LATIN): New macro.
5750 (CHAR_FIELD1): Deleted.
5751 (CHAR_FIELD2_INTERNAL): Deleted.
5752 (CHAR_FIELD3_INTERNAL): Deleted.
5753 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5754 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5755 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5756 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5757 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5758 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5759 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5760 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5761 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5762 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5763 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5764 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5765 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5766 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5767 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5768 (MIN_CHAR_COMPOSITION): Deleted.
5769 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5770 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5772 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5774 * buffer.h: Include mb-utf-8.h in UTF-2000.
5776 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5778 * mb-utf-8.h: New file.
5780 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5782 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5785 * mule-charset.h, buffer.h (Charset_ID): New type.
5787 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5789 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5790 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5791 instead of `MULE_CHAR_PRIVATE_OFFSET',
5792 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5793 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5794 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5796 * character.h (Vcharset_japanese_jisx0212): New variable
5799 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5801 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5802 (charset_by_attributes): Delete array about direction.
5803 (latin_a_char_to_charset): New variable in UTF-2000.
5804 (latin_a_char_to_byte1): New variable in UTF-2000.
5805 (latin_a_char_to_byte2): New variable in UTF-2000.
5806 (Qucs_bmp): New variable.
5807 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5809 (next_allocated_2_byte_leading_byte): Likewise.
5810 (non_ascii_set_charptr_emchar): Likewise.
5811 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5812 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5813 `charset_by_attributes'.
5814 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5815 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5816 and `CHARSET_BY_LEADING_BYTE'.
5817 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5818 `utf-2000-version' to `vars_of_mule_charset'.
5819 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5820 define `leading-code-private-11' in UTF-2000; move setting of
5821 `utf-2000-version' from `syms_of_mule_charset'.
5822 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5825 * character.h (Charset_ID): New type.
5826 (LEADING_BYTE_UCS_BMP): New macro.
5827 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5828 (CHARSET_ID_OFFSET_94): New macro.
5829 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5830 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5831 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5833 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5834 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5835 (CHARSET_ID_OFFSET_96): New macro.
5836 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5837 CHARSET_ID_OFFSET_96 and final-byte.
5838 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5839 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5840 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5841 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5842 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5843 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5844 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5845 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5846 (LEADING_BYTE_THAI_TIS620): Likewise.
5847 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5848 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5849 (CHARSET_ID_OFFSET_94x94): New macro.
5850 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5851 CHARSET_ID_OFFSET_94x94 and final-byte.
5852 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5853 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5854 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5855 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5856 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5857 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5858 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5859 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5860 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5861 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5862 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5863 (CHARSET_TYPE_128X128): New macro.
5864 (CHARSET_TYPE_256X256): New macro.
5865 (XCHARSET_PRIVATE_P): Delete unconditionally.
5866 (charset_by_attributes): Delete array about direction.
5867 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5868 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5869 (MIN_CHAR_94): New macro.
5870 (MAX_CHAR_94): New macro.
5871 (MIN_CHAR_96): New macro.
5872 (MAX_CHAR_96): New macro.
5873 (MIN_CHAR_94x94): New macro.
5874 (MAX_CHAR_94x94): New macro.
5875 (MIN_CHAR_96x96): New macro.
5876 (MAX_CHAR_96x96): New macro.
5877 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5878 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5879 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5881 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5882 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5883 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5884 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5885 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5886 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5887 `XCHARSET_LEADING_BYTE' to make code-point.
5888 (latin_a_char_to_charset): New variable.
5889 (latin_a_char_to_byte1): New variable.
5890 (latin_a_char_to_byte2): New variable.
5891 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5892 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5893 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5895 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5896 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5897 (find_charsets_in_emchar_string): Likewise.
5898 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5900 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5902 (decode_coding_iso2022): Likewise.
5904 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5907 * redisplay.c (redisplay_text_width_emchar_string): Use
5908 `Charset_ID' instead of `unsigned char'.
5909 (redisplay_frame_text_width_string): Likewise.
5911 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5914 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5915 instead of `unsigned char'.
5916 (face_cachel_charset_font_metric_info): Likewise.
5918 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5919 (get_non_ascii_char_table_value): Likewise.
5920 (get_char_table): Likewise.
5921 (put_char_table): Likewise.
5922 (map_over_other_charset): Likewise.
5923 (map_char_table): Likewise.
5925 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5926 instead of `unsigned char'.
5928 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5930 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5931 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5933 * mule-charset.c (leading_code_private_11): Don't define in
5936 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5937 in UTF-2000 because it is not ported yet and not to use
5938 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5940 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5942 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5944 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5946 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5949 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5950 of unsigned char to store leading-byte.
5952 * chartab.c (get_non_ascii_char_table_value): Don't use
5953 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5955 * file-coding.c (encode_coding_big5): Delete bogus implementation
5958 * character.h (LEADING_BYTE_*): Delete definition for
5960 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5961 (LEADING_BYTE_PREFIX_P): Deleted.
5962 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5963 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5964 (BUFBYTE_LEADING_BYTE_P): Deleted.
5965 (CHARSET_PRIVATE_P): Deleted unconditionally.
5966 (rep_bytes_by_first_byte): Deleted unconditionally.
5967 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5968 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5969 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5970 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5971 (CHAR_FIELD2): Deleted.
5972 (CHAR_FIELD3): Deleted.
5973 (MAKE_CHAR): Delete definition for non-UTF-2000.
5974 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5975 (breakup_char_1): New implementation.
5976 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5977 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5979 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5981 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5984 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5986 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5987 (CHARSET_PRIVATE_P): Likewise.
5988 (XCHARSET_PRIVATE_P): Likewise.
5989 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5991 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5993 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5995 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5997 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5998 (NUM_LEADING_BYTES): Changed from 128 to 256.
5999 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6000 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
6002 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6004 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
6006 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
6007 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
6008 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
6009 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
6010 (Qchinese_cns11643_3): New variable in UTF2000.
6011 (Qchinese_cns11643_4): New variable in UTF2000.
6012 (Qchinese_cns11643_5): New variable in UTF2000.
6013 (Qchinese_cns11643_6): New variable in UTF2000.
6014 (Qchinese_cns11643_7): New variable in UTF2000.
6015 (syms_of_mule_charset): Define `chinese-cns11643-3',
6016 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
6017 and `chinese-cns11643-7' in UTF2000.
6018 (vars_of_mule_charset): Initialize
6019 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
6021 (complex_vars_of_mule_charset): Setup charset
6022 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
6023 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
6025 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6027 * mule-charset.c: Move setting for `leading-code-private-11' from
6028 `syms_of_mule_charset' to `vars_of_mule_charset'.
6030 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6032 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
6033 and `NUM_LEADING_BYTES' in assert.
6035 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6037 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
6039 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
6040 `NUM_LEADING_BYTES' instead of 128.
6042 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
6044 * mule-charset.h (charset_by_leading_byte): Use
6045 `NUM_LEADING_BYTES' instead of 128.
6046 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
6048 * mule-charset.c (charset_by_leading_byte): Use
6049 `NUM_LEADING_BYTES' instead of 128.
6050 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
6052 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
6055 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
6057 * mule-charset.c (syms_of_mule_charset): Update to
6060 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
6062 * file-coding.c (encode_coding_sjis): New implementation for
6063 UTF2000. (decode_coding_sjis): Ditto.
6065 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6067 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
6068 Don't define in UTF2000.
6070 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
6073 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6074 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
6077 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6079 * config.h.in (CHAR_IS_UCS4): New macro.
6081 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6082 conventional MULE representation.
6083 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6085 * mule-charset.h: Reverted to original.
6087 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6088 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6089 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6091 * character.h: New file.
6093 * file-coding.c (Fmake_coding_system): Set 1 to
6094 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6096 (encode_coding_no_conversion): New implementation for UTF2000.
6098 * file-coding.h (struct Lisp_Coding_System): Add new member
6101 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6103 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6104 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6105 (encode_coding_iso2022): New implementation for UTF2000.
6107 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6109 * mule-canna.c (c2mu): New implementation for UTF2000.
6112 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6114 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6116 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6118 * file-coding.c (reset_encoding_stream): Set 0 to
6119 `str->iso2022.current_char_boundary' in UTF2000.
6120 (encode_utf8): Don't define in UTF2000.
6121 (encode_coding_utf8): New implementation for UTF-8 representation
6123 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6125 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6127 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6129 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6131 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6133 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6135 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6136 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6137 as UTF-8 in UTF2000.
6138 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6139 (non_ascii_valid_char_p): Don't define in UTF2000.
6140 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6141 (Lstream_get_emchar_1): Likewise.
6142 (utf-2000-version): New variable in UTF2000.
6144 * lread.c (read_escape): Add new reader `u'.
6146 * insdel.c (three_to_one_table): Don't define in UTF2000.
6147 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6148 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6150 (bytind_to_bufpos_func): Likewise.
6151 (buffer_mule_signal_inserted_region): Likewise.
6152 (vars_of_insdel): Don't initialize `three_to_one_table'.
6153 (init_buffer_text): Use `buf->text->mule_size' instead of
6154 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6157 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6158 UTF-8 representation in UTF2000.
6159 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6160 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6161 (decode_coding_iso2022): Don't define local variable `lb' in
6162 UTF2000; don't use LEADING_BYTE in UTF2000; use
6163 `DECODE_ADD_UCS_CHAR' in UTF2000.
6164 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6166 * config.h.in (UTF2000): New macro.
6168 * buffer.h (struct buffer_text): Add new member `mule_size' and
6169 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6170 (valid_char_p): Return always 1 in UTF2000.
6171 (MAX_EMCHAR_LEN): 6 in UTF2000.
6172 (three_to_one_table): Don't define in UTF2000.
6173 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6175 (real_bytind_to_bufpos): Likewise.
6177 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6179 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6181 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6182 representation change.
6183 (Vutf_2000_version): New variable.
6184 (leading_code_private_11): New variable.
6185 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6186 `leading-code-private-11'.
6188 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6189 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6190 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6191 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6192 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6193 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6194 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6195 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6196 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6197 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6198 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6199 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6200 (MIN_CHAR_GREEK): New macro.
6201 (MAX_CHAR_GREEK): New macro.
6202 (MIN_CHAR_CYRILLIC): New macro.
6203 (MAX_CHAR_CYRILLIC): New macro.
6204 (MIN_CHAR_HEBREW): New macro.
6205 (MAX_CHAR_HEBREW): New macro.
6206 (MIN_CHAR_THAI): New macro.
6207 (MAX_CHAR_THAI): New macro.
6208 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6209 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6210 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6211 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6212 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6213 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6214 (CHAR_FIELD2): New inline function.
6215 (CHAR_FIELD3): New inline function.
6216 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6217 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6218 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6219 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6220 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6221 (MIN_CHAR_COMPOSITION): Likewise.
6222 (CHAR_LEADING_BYTE): Modified for character representation change.
6223 (MAKE_CHAR): Likewise.
6225 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6226 (Vcharset_greek_iso8859_7): Likewise.
6227 (Vcharset_cyrillic_iso8859_5): Likewise.
6228 (Vcharset_hebrew_iso8859_8): Likewise.
6229 (Vcharset_thai_tis620): Likewise.
6230 (Vcharset_katakana_jisx0201): Likewise.
6232 2008-12-28 Vin Shelton <acs@xemacs.org>
6234 * XEmacs 21.4.22 is released
6236 2008-12-27 Vin Shelton <acs@xemacs.org>
6238 * syswindows.h: Don't define wide character interfaces for Cygwin
6241 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6243 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6245 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6247 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6248 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6250 2008-12-25 Vin Shelton <acs@xemacs.org>
6252 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6253 By Julian Bradfield in
6254 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6256 * mule-ccl.c (ccl_driver):
6258 2007-10-07 Vin Shelton <acs@xemacs.org>
6260 * XEmacs 21.4.21 is released
6262 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6264 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6266 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6268 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6269 (png_instantiate): Initialize setjmp_buffer early, and avoid
6270 recursive entry to error handler.
6272 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6274 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6277 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6279 * event-Xt.c (x_reset_modifier_mapping):
6280 * event-gtk.c (gtk_reset_modifier_mapping):
6281 Zero out the device's modifier map once we've freed it, to prevent
6282 a double free on a re-entrant call.
6284 2007-05-17 Vin Shelton <acs@xemacs.org>
6286 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6287 64-bit linux. Patch from Hans de Graaff.
6289 2007-05-02 Vin Shelton <acs@xemacs.org>
6291 * dumper.c (pdump): Don't close pdump_fd (already closed by
6292 fclose() call. Patch from Steve Higham.
6293 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6294 already closed. Patch inspired by Steve Higham.
6296 2007-05-01 Vin Shelton <acs@xemacs.org>
6298 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6299 (mswindows_fstat): Ditto.
6300 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6302 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6304 * postgresql.c: Update Steve Baur's email address by his request.
6305 * postgresql.h: Ditto.
6307 2007-01-04 Vin Shelton <acs@xemacs.org>
6309 * fileio.c (check_writable): Check old-style readonly bit only for
6312 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6314 * src/fileio.c (check_writable):
6315 Cope with the fact that the read-only attribute trumps Windows NTFS
6319 2006-12-09 Vin Shelton <acs@xemacs.org>
6321 * XEmacs 21.4.20 is released
6323 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6325 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6326 relocated the definitions to be used sooner in file.
6327 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6328 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6331 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6333 * sound.c (init_native_sound):
6334 Only X11 and GTK devices can possibly not be on the console of the
6335 associated machine. Fixes a crash when init_native_sound is called
6336 on a msprinter device.
6338 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6340 * buffer.c (buffer-file-name): Document invariant.
6341 (buffer-file-truename): Sync wording to buffer-file-name.
6342 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6345 2006-11-19 Benson Margulies <benson@dchbk.us>
6347 * fileio.c: Add code to use full Win32 API to check for write
6348 access. Win32 has the general design policy that you aren't
6349 supposed to ask this question, since security checks change
6350 depending on asynchronous processes. Nonetheless, there is a way,
6351 by acting as if we are a server doing interpretive access
6354 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6356 * bytecode.c: Use xnew_array instead of alloca.
6358 2006-07-04 Vin Shelton <acs@xemacs.org>
6360 * redisplay-msw.c: Fix tiny, but crucial typo.
6362 2006-06-22 Jerry James <james@xemacs.org>
6364 * EmacsShell-sub.c (ChangeManaged):
6365 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6367 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6368 checking if it is NULL. Also fix a memory leak.
6369 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6370 dereference it, not the other way around.
6371 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6373 * dumper.c (pdump_register_struct): Ditto.
6374 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6375 to (short) warnpath overflow warnpath.
6376 * extents.c (detach_all_extents): Call extent_list_delete_all with
6377 a non-NULL parameter only.
6378 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6379 NULL width and height.
6380 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6381 xic before checking if they are NULL.
6382 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6384 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6385 * nas.c (Err): Fix a memory leak.
6386 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6387 Don't create the buffer if there is nothing to do.
6388 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6389 * redisplay-output.c (redisplay_output_layout): Ditto.
6390 * redisplay-tty.c (tty_output_display_block): Ditto.
6391 * redisplay-x.c (x_output_display_block): Ditto.
6392 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6393 dereference instance->scrollbar_data if it is NULL.
6394 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6395 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6396 for sb->scrollbar_data.
6397 * sound.c (init_native_sound): Avoid a buffer overflow by
6398 allocating a buffer with the appropriate size.
6400 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6402 * EmacsShell-sub.c (RootGeometryManager):
6403 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6404 Based on a suggestion by Francois L'Archeveque.
6406 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6408 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6409 current values found in GNU Emacs.
6411 2006-03-17 Vin Shelton <acs@xemacs.org>
6413 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6414 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6416 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6417 'hex_initialized' because it conflicts with 'initialized' in
6420 2006-01-28 Vin Shelton <acs@xemacs.org>
6422 * XEmacs 21.4.19 is released
6424 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6426 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6428 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6430 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6433 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6435 * database.c: Suppress compiler warning under Cygwin.
6436 * database.c: Removed __FreeBSD__ check, should be handled by
6437 HAVE_U_xxx_T defines.
6439 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6441 * console.c (stuff_buffered_input): Compile body only if
6444 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6446 * callproc.c: #include sysdir.h, so that any appropriate Mule
6447 magic happens with the chdir() call when calling a subprocess.
6449 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6451 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6452 * mule-ccl.c: Check that a character set exists before using it
6453 to create a character.
6455 2005-12-06 Vin Shelton <acs@xemacs.org>
6457 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6460 2005-12-03 Vin Shelton <acs@xemacs.org>
6462 * XEmacs 21.4.18 is released
6464 2005-11-27 Kean Johnston <kean@armory.com>
6466 * redisplay-tty.c (set_tty_modes):
6467 (reset_tty_modes): disable auto-margins if the terminal supports
6469 (init_tty_for_redisplay): fix cursor shape.
6471 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6473 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6474 for control-1 characters properly, both when reading multibyte
6475 characters and writing them.
6477 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6479 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6480 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6481 were seeing with incremental selection transfer failing.
6483 2005-11-26 Vin Shelton <acs@xemacs.org>
6485 * callproc.c (Fold_call_process_internal): Create the buffer if it
6486 does not already exist. The original patch came from Ben Wing in
6487 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6489 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6491 * callproc.c: Process-related docstring improvements spurred by
6494 2005-11-25 Vin Shelton <acs@xemacs.org>
6496 * depend: Regenerated.
6498 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6500 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6501 says it clashes with a global with the same name.
6503 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6505 * sysdll.c (dll_open): Under MacOS X return NULL under the
6506 filename is NULL. Fixes problems finding local symbols under 10.4
6509 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6511 * config.h.in: New HAVE_U_INT*_T defines.
6513 * database.c: Only use u_int*_t typedefs if not already
6516 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6518 * src/process-unix.c (unix_open_network_stream): moved
6519 'portbuf' buffer out of an inner block as it is used in the
6520 entire function. With gcc4, the stack may get corrupted
6521 after leaving this block. This patches adjusts the size of
6522 the used buffer also; static '128' bytes are far too much
6523 currently and might not suffice for future architectures
6524 (e.g. for 512 bit ones ;)). Instead of, use only the really
6525 required space (max octets * ln(256)/ln(10) chars + space
6526 for '\0' and the sign)
6528 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6530 * callproc.c: Include sysdir.h, so any necessary Mule processing
6531 is done on the current directory name before starting a new
6534 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6536 * chartab.c (Fchar_table_p):
6537 (Fget_range_char_table):
6540 Describe range representation and fix typo.
6542 2005-02-12 Vin Shelton <acs@xemacs.org>
6544 * emacs.c (shut_down_emacs): Advise users to send email to the
6545 xemacs-beta list instead of crashes@xemacs.org.
6547 2005-02-03 David Evers <extsw@appliedgenerics.com>
6549 * process-unix.c (unix_send_process): Flush the last chunk, even
6550 when the pipe is blocked.
6552 2005-02-06 Vin Shelton <acs@xemacs.org>
6554 * XEmacs 21.4.17 is released
6556 2005-01-31 Ben Wing <ben@xemacs.org>
6559 Define assert_failed() always.
6561 Always define ABORT().
6563 2005-01-25 Ben Wing <ben@xemacs.org>
6566 * Makefile.in.in (%.o):
6567 Don't compile executable as Windows (-mwindows) under Cygwin.
6568 Semi-recent changes to Cygwin's executable-startup handling make
6569 it impossible to access the TTY this way.
6571 Don't use special linker file under Cygwin (cygwin.sc) except
6572 when non-PDUMP (even in this case it is highly questionable); you
6575 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6576 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6578 2005-01-29 Ben Wing <ben@xemacs.org>
6580 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6582 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6584 2005-01-29 Ben Wing <ben@xemacs.org>
6586 * bytecode.c (optimize_compiled_function):
6588 * print.c (long_to_string):
6589 Add casts to avoid warning.
6592 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6593 #### The better solution is to move the TIFF and JPEG code to
6596 * glyphs-msw.c (mswindows_xbm_instantiate):
6597 Define __STDC__ to avoid problems with compface.h.
6599 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6601 * EmacsShell-sub.c (ABORT):
6602 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6603 * EmacsShell-sub.c (RootGeometryManager):
6605 * EmacsShell.c (ABORT):
6606 * EmacsShell.c (EmacsShellUpdateSizeHints):
6607 * alloc.c (free_lcrecord):
6608 * alloca.c (i00afunc):
6609 * buffer.c (delete_from_buffer_alist):
6610 * buffer.c (MARKED_SLOT):
6611 * bytecode.c (execute_rare_opcode):
6612 * bytecode.c (optimize_byte_code):
6613 * bytecode.c (Ffetch_bytecode):
6614 * chartab.c (char_table_type_to_symbol):
6615 * chartab.c (Freset_char_table):
6616 * chartab.c (decode_char_table_range):
6617 * chartab.c (Fget_range_char_table):
6618 * chartab.c (check_valid_char_table_value):
6619 * chartab.c (map_char_table):
6620 * chartab.c (slow_map_char_table_fun):
6621 * chartab.c (chartab_instantiate):
6622 * cm.c (cmcheckmagic):
6623 * console-msw.c (DHEADER):
6624 * console.c (MARKED_SLOT):
6625 * data.c (finish_marking_weak_lists):
6626 * data.c (encode_weak_list_type):
6627 * debug.h (DASSERT):
6628 * device-gtk.c (gtk_init_device):
6629 * device-msw.c (mswindows_get_default_margin):
6630 * device-tty.c (tty_init_device):
6631 * device-x.c (get_device_from_display):
6632 * device-x.c (x_get_visual_depth):
6633 * doprnt.c (parse_doprnt_spec):
6634 * doprnt.c (get_doprnt_args):
6635 * dumper.c (pdump_get_indirect_count):
6636 * dumper.c (pdump_register_sub):
6637 * dumper.c (pdump_register_object):
6638 * dumper.c (pdump_register_struct):
6639 * dumper.c (pdump_dump_data):
6640 * dumper.c (pdump_reloc_one):
6641 * elhash.c (print_hash_table):
6642 * elhash.c (make_standard_lisp_hash_table):
6643 * elhash.c (hash_table_instantiate):
6645 * emacs.c (Fforce_debugging_signal):
6646 * emacs.c (sort_args):
6648 * emacs.c (assert_failed):
6649 * eval.c (throw_or_bomb_out):
6650 * eval.c (signal_1):
6653 * event-Xt.c (emacs_Xt_mapping_action):
6654 * event-Xt.c (Xt_process_to_emacs_event):
6656 * event-stream.c (check_event_stream_ok):
6657 * event-stream.c (Fadd_timeout):
6658 * event-stream.c (Fadd_async_timeout):
6659 * event-stream.c (Fdiscard_input):
6660 * event-stream.c (execute_internal_event):
6661 * event-stream.c (Frecent_keys):
6662 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6663 * event-stream.c (lookup_command_event):
6664 * event-unixoid.c (poll_fds_for_input):
6666 * events.c (mark_event):
6667 * events.c (event_equal):
6668 * events.c (event_hash):
6669 * events.c (Fmake_event):
6670 * events.c (Fdeallocate_event):
6671 * events.c (event_chain_find_previous):
6672 * events.c (event_to_character):
6673 * events.c (format_event_object):
6674 * events.c (Fevent_type):
6675 * events.c (event_pixel_translation):
6676 * events.c (Fevent_properties):
6677 * extents.c (extent_in_region_p):
6678 * extents.c (print_extent):
6679 * extents.c (process_extents_for_insertion_mapper):
6680 * extents.c (report_extent_modification_mapper):
6681 * extents.c (glyph_layout_to_symbol):
6682 * faces.c (face_validate):
6683 * file-coding.c (eol_type_to_symbol):
6684 * file-coding.c (subsidiary_coding_system):
6685 * file-coding.c (Fcoding_system_type):
6686 * file-coding.c (Fcoding_system_property):
6687 * file-coding.c (mule_decode):
6688 * file-coding.c (mule_encode):
6689 * file-coding.c (encode_coding_ucs4):
6690 * file-coding.c (encode_coding_utf8):
6691 * file-coding.c (parse_iso2022_esc):
6692 * file-coding.c (encode_coding_iso2022):
6697 * fns.c (Fbase64_encode_region):
6698 * fns.c (Fbase64_encode_string):
6699 * fns.c (Fbase64_decode_region):
6700 * fns.c (Fbase64_decode_string):
6701 * font-lock.c (find_context):
6702 * font-lock.c (context_to_symbol):
6703 * frame-gtk.c (gtk_set_frame_pointer):
6704 * frame-gtk.c (gtk_update_frame_external_traits):
6705 * frame-x.c (x_wm_mark_shell_size_user_specified):
6706 * frame-x.c (x_wm_mark_shell_position_user_specified):
6707 * frame-x.c (x_wm_set_shell_iconic_p):
6708 * frame-x.c (x_wm_set_cell_size):
6709 * frame-x.c (x_wm_set_variable_size):
6710 * frame-x.c (x_wm_store_class_hints):
6711 * frame-x.c (x_wm_maybe_store_wm_command):
6712 * frame-x.c (x_initialize_frame_size):
6713 * frame-x.c (x_update_frame_external_traits):
6715 * frame.c (delete_frame_internal):
6716 * frame.c (mouse_pixel_position_1):
6717 * frame.c (change_frame_size_1):
6718 * free-hook.c (check_free):
6719 * free-hook.c (check_realloc):
6720 * free-hook.c (note_block_input):
6721 * free-hook.c (log_gcpro):
6722 * gccache-gtk.c (gc_cache_lookup):
6723 * glyphs-eimage.c (tiff_memory_write):
6724 * glyphs-gtk.c (gtk_finalize_image_instance):
6725 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6726 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6727 * glyphs-gtk.c (gtk_xpm_instantiate):
6728 * glyphs-gtk.c (gtk_unmap_subwindow):
6729 * glyphs-gtk.c (gtk_map_subwindow):
6730 * glyphs-gtk.c (gtk_button_redisplay):
6732 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6733 * glyphs-x.c (init_image_instance_from_xbm_inline):
6734 * glyphs-x.c (extract_xpm_color_names):
6735 * glyphs-x.c (x_xpm_instantiate):
6736 * glyphs.c (get_image_instantiator_governing_domain):
6737 * glyphs.c (print_image_instance):
6738 * glyphs.c (image_instance_equal):
6739 * glyphs.c (image_instance_hash):
6740 * glyphs.c (encode_image_instance_type):
6741 * glyphs.c (make_image_instance_1):
6742 * glyphs.c (inherit_instantiate):
6743 * glyphs.c (image_instantiate):
6744 * glyphs.c (allocate_glyph):
6745 * glyphs.c (Fglyph_type):
6746 * glyphs.c (redisplay_subwindow):
6747 * glyphs.c (display_table_entry):
6748 * gtk-glue.c (xemacs_list_to_gtklist):
6749 * gtk-glue.c (xemacs_gtklist_to_list):
6750 * gtk-glue.c (xemacs_list_to_array):
6751 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6752 * gutter.c (gutter_was_visible):
6753 * gutter.c (get_gutter_coords):
6754 * input-method-xlib.c (get_XIM_input):
6755 * insdel.c (bufpos_to_bytind_func):
6756 * insdel.c (bytind_to_bufpos_func):
6757 * insdel.c (move_gap):
6758 * intl.c (x_get_composed_input):
6759 * keymap.c (keymap_lookup_directly):
6760 * keymap.c (keymap_delete_inverse_internal):
6761 * keymap.c (ensure_meta_prefix_char_keymapp):
6762 * keymap.c (accessible_keymaps_mapper_1):
6763 * keymap.c (where_is_recursive_mapper):
6766 * lread.c (read_atom):
6767 * lstream.c (Lstream_delete):
6768 * lstream.c (make_lisp_buffer_stream_1):
6769 * macros.c (pop_kbd_macro_event):
6770 * malloc.c (malloc):
6772 * marker.c (bi_marker_position):
6773 * marker.c (set_bi_marker_position):
6774 * menubar-gtk.c (menu_descriptor_to_widget_1):
6775 * menubar-msw.c (prune_menubar):
6776 * menubar-x.c (set_frame_menubar):
6777 * mule-charset.c (get_unallocated_leading_byte):
6778 * mule-charset.h (CHAR_LEADING_BYTE):
6779 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6780 * nt.c (init_environment):
6781 * nt.c (generate_inode_val):
6782 * ntproc.c (delete_child):
6783 * ntproc.c (_sys_read_ahead):
6784 * ntproc.c (create_child):
6785 * objects.c (color_instantiate):
6786 * objects.c (font_instantiate):
6787 * objects.c (face_boolean_instantiate):
6788 * print.c (printing_major_badness):
6789 * process-nt.c (nt_send_process):
6790 * process-unix.c (unix_send_process):
6791 * process.c (get_process):
6792 * ralloc.c (obtain):
6793 * ralloc.c (relinquish):
6794 * ralloc.c (relocate_blocs):
6795 * ralloc.c (resize_bloc):
6796 * ralloc.c (r_alloc_free):
6797 * ralloc.c (r_re_alloc):
6798 * ralloc.c (r_alloc_thaw):
6799 * ralloc.c (init_ralloc):
6800 * ralloc.c (Free_Addr_Block):
6801 * ralloc.c (r_alloc):
6802 * redisplay-gtk.c (gtk_output_display_block):
6803 * redisplay-msw.c (mswindows_output_display_block):
6804 * redisplay-output.c (get_next_display_block):
6805 * redisplay-output.c (get_cursor_size_and_location):
6806 * redisplay-output.c (redisplay_output_layout):
6807 * redisplay-output.c (redisplay_clear_region):
6808 * redisplay-tty.c (tty_output_display_block):
6809 * redisplay-x.c (x_output_display_block):
6810 * redisplay.c (add_propagation_runes):
6811 * redisplay.c (add_glyph_rune):
6812 * redisplay.c (create_text_block):
6813 * redisplay.c (add_margin_runes):
6814 * redisplay.c (create_left_glyph_block):
6815 * redisplay.c (create_right_glyph_block):
6816 * redisplay.c (create_string_text_block):
6817 * redisplay.c (regenerate_window):
6818 * redisplay.c (REGEN_INC_FIND_START_END):
6819 * redisplay.c (redisplay_frame):
6820 * redisplay.c (point_in_line_start_cache):
6823 * regex.c (re_compile_fastmap):
6824 * regex.c (re_match_2_internal):
6825 * regex.c (regerror):
6826 * scrollbar-gtk.c (gtk_scrollbar_loop):
6827 * scrollbar-gtk.c (scrollbar_cb):
6828 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6829 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6830 * scrollbar-x.c (x_update_scrollbar_instance_status):
6831 * scrollbar-x.c (x_scrollbar_loop):
6832 * scrollbar-x.c (x_update_frame_scrollbars):
6833 * search.c (search_command):
6834 * search.c (Fmatch_data):
6835 * select-x.c (motif_clipboard_cb):
6836 * signal.c (interrupt_signal):
6837 * specifier.c (specifier_add_spec):
6838 * specifier.c (specifier_instance_from_inst_list):
6839 * specifier.c (specifier_instance):
6841 * specifier.h (struct specifier_methods):
6842 * strftime.c (add_num_time_t):
6843 * sunplay.c (init_device):
6844 * symbols.c (Fsetplist):
6845 * symbols.c (do_symval_forwarding):
6846 * symbols.c (store_symval_forwarding):
6848 * symbols.c (Fbuilt_in_variable_type):
6849 * symbols.c (decode_magic_handler_type):
6850 * symbols.c (handler_type_from_function_symbol):
6851 * syntax.c (update_syntax_cache):
6852 * sysdep.c (init_baud_rate):
6853 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6854 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6855 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6856 * toolbar.c (get_toolbar_coords):
6857 * ui-gtk.c (build_gtk_boxed):
6858 * ui-gtk.c (describe_gtk_arg):
6859 * ui-gtk.c (gtk_type_to_lisp):
6860 * ui-gtk.c (lisp_to_gtk_type):
6861 * ui-gtk.c (lisp_to_gtk_ret_type):
6862 * ui-gtk.c (lisp_to_flag):
6863 * unexnt.c (read_in_bss):
6864 * unexnt.c (map_in_heap):
6865 * window.c (real_window):
6866 * window.c (window_display_lines):
6867 * window.c (window_display_buffer):
6868 * window.c (set_window_display_buffer):
6869 * window.c (window_modeline_height):
6870 * window.c (unshow_buffer):
6871 * window.c (window_loop):
6872 * window.c (Fget_lru_window):
6873 * window.c (Fsplit_window):
6874 * window.c (Fset_window_configuration):
6875 * window.c (saved_window_index):
6876 * xgccache.c (gc_cache_lookup):
6877 abort() -> ABORT(). Eliminate preprocessor games with abort()
6878 since it creates huge problems in VC7, solvable only by including
6879 massive amounts of files in every compile (and not worth it).
6883 Inclusion of process.h does not need to be before lisp.h any more.
6884 Move later and remove comment about abort().
6886 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6888 * regex.c (re_match_2_internal):
6889 Correctly initialize loop which clears uninitialized registers.
6891 2005-01-28 Vin Shelton <acs@xemacs.org>
6893 * sheap.c (more_static_core): Applied Ben's version of the long
6896 2005-01-24 Vin Shelton <acs@xemacs.org>
6898 * sheap.c (more_static_core): Reformatted printf string so
6899 gcc-3.3.3 will compile this on Cygwin.
6901 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6903 * console.c (function_key_map): Reference `key-binding'.
6905 * keymap.c (Vkey_translation_map): Improve docstring.
6907 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6909 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6910 * window.c (window_loop): [fix] Take into account
6911 `allow-deletion-of-last-visible-frame' variable.
6912 * window.c (replace-buffer-in-windows): Ditto.
6914 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6916 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6918 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6920 * event-gtk.c: Recognise AltGr as a valid modifier.
6922 2005-01-12 Ville Skyttä <scop@xemacs.org>
6924 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6926 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6928 Fix backreference bug caught by test suite.
6930 * regex.c (regex_compile):
6931 Make backref duplicate internal register.
6933 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6935 Documentation, code clarification, and warning suppression.
6937 * regex.c (regex_compile):
6939 (re_match_2_internal):
6940 Improve comments and avoid redundant braces. [Most of the big hunk
6941 at l. 4710 is indentation; use diff -w to see the real changes.]
6942 (alt_match_null_string_p):
6943 (common_op_match_null_string_p):
6944 Avoid shadowing global on Mac OS X 10.4, at least.
6946 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6948 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6949 introduced with shy groups fix). [Already applied, probably
6950 with the second "fix shy groups" patch of 2004-10-07.]
6952 2005-01-10 Steve Youngs <steve@sxemacs.org>
6954 From Andrey Slusar <anrays@gmail.com>:
6956 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6958 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6960 * Makefile (RECURSIVE_MAKE): Removed.
6961 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6962 handling parallel builds.
6964 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6966 * Makefile.in.in: Enable support for parallel builds.
6968 2005-01-09 Steve Youngs <steve@sxemacs.org>
6970 From Andrey Slusar <anrays@gmail.com>:
6972 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6973 FreeBSD version is >= 199701 _and_ < 600006.
6975 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6977 * scrollbar.c (compute_scrollbar_instance_usage):
6978 Only call device method compute_scrollbar_instance_usage() if it
6981 2004-12-05 Vin Shelton <acs@xemacs.org>
6983 * XEmacs 21.4.16 is released
6985 2004-12-04 Vin Shelton <acs@xemacs.org>
6987 * depend: Regenerated.
6989 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6991 * regex.c (re_match_2_internal): Map internal to external
6992 registers. Fixes bug identified by Steve Youngs 2004-09-30
6993 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6995 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6997 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6998 to fix a crash. Also, check the buffer is live and it
6999 really exists in buffer_list. If the buffer is not in the list,
7002 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
7004 Fix shy groups by implementing recording of all groups for
7005 repetition and backtracking. Backport from 21.5.
7007 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
7008 external_to_internal_register, external_to_internal_register_size,
7009 and update comments for re_nsub.
7011 * regex.c (re_opcode_t): Update comments.
7012 (print_compiled_pattern): Ouput external_to_internal_register,
7013 external_to_internal_register_size, and re_ngroups for debugging.
7014 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
7015 (regex_compile): Update header comment.
7016 Ensure that all groups are recorded so that repeat matches and
7017 backtracking work correctly. Comment related warning for groups >
7019 (re_search_2): Construct map of API indexes (which count only
7020 nonshy groups) to internal register numbers, and keep it updated.
7022 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
7024 * frame-gtk.c (gtk_make_frame_visible):
7025 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
7026 show/hide. This is what X uses and is prevents previously hidden
7027 widgets from suddenly reappearing.
7028 * gtk-xemacs.c (gtk_xemacs_paint):
7029 * gtk-xemacs.c (gtk_xemacs_draw):
7030 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
7032 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
7033 size and location changes so that they can be seen before the next
7034 idle event. Without this rapid changes to scrollbar properties
7037 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
7040 * console-gtk.h (struct gtk_frame):
7041 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
7042 Add hash tables track tab_control callback data.
7043 Added #defines for GTK object data names.
7044 Declaration of gtk_widget_to_frame().
7045 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
7046 * frame-gtk.c (gtk_widget_to_frame): New.
7047 * frame-gtk.c (gtk_create_widgets):
7048 * frame-gtk.c (allocate_gtk_frame_struct):
7049 * frame-gtk.c (gtk_mark_frame):
7050 Manage frame callbakc hash tables.
7051 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
7052 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
7053 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
7055 * glyphs-gtk.c (gtk_widget_query_geometry): New
7056 * glyphs-gtk.c (gtk_register_gui_item): New
7057 * glyphs-gtk.c (gtk_add_tab_item): New
7058 * glyphs-gtk.c (gtk_tab_control_callback): New
7059 * glyphs-gtk.c (gtk_tab_control_instantiate): New
7060 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
7061 Use correct list when loading item.
7062 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
7063 Register new methods.
7064 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
7065 default size, for widgets.
7066 * gui-x.c: Improved comment.
7067 * menubar-gtk.c (__generic_button_callback): Use
7068 gtk_widget_to_frame instead of __get_channel.
7070 * ui-gtk.c: Use symbolic names for GTK object data.
7072 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
7074 * s/usg5-4.h (NSIG): Define only inside emacs binary.
7076 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7078 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7080 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7082 * malloc.c (morecore): siz is a long because in some architectures
7083 (eg ia-64) an int cannot hold the address range. Additional patch
7084 from the SuSe distribution.
7086 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7089 * malloc.c: lim_data is a long because in some architectures
7090 (eg ia-64) an int cannot hold the address range.
7091 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7092 instead of ulimit() because ulimit() always returns -1.
7094 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7096 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7098 2004-06-11 David Kastrup <dak@gnu.org>
7100 * search.c (match_limit): Don't flag an error if match-data
7101 exceeding the allocated search_regs.num_regs gets requested, just
7104 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7106 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7107 replace symbolic color entries with the real colors specified in
7108 xpm-color-symbols, before passing the XPM to gtk.
7109 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7110 instead of a GTK specific field, so that it is used in by generic
7113 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7115 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7116 coredump from deref of NULL ptr (ExtData)
7118 2004-04-19 Jerry James <james@xemacs.org>
7120 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7121 VALBITS to compute the location of the sign bit.
7122 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7123 of VALBITS with EMACS_INT_MAX.
7124 * events.c (Fevent_timestamp): Ditto.
7125 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7126 compute the halfway point to timestamp wraparound.
7127 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7128 EMACS_INT_MIN instead of using VALBITS.
7129 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7130 incorrect number with VALBITS.
7131 * fns.c (Frandom): Correct number of integer bits in docstring.
7132 Use INT_VALBITS instead of VALBITS to compute the denominator.
7133 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7134 build random numbers.
7136 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7138 * event-gtk.c (gtk_event_to_emacs_event):
7140 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7141 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7142 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7143 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7144 * menubar-gtk.c (__activate_menu):
7145 * menubar-gtk.c (convert_underscores):
7146 * menubar-gtk.c (remove_underscores):
7147 * menubar-gtk.c (menu_convert):
7148 * menubar-gtk.c (menu_descriptor_to_widget_1):
7149 * menubar-gtk.c (menu_descriptor_to_widget):
7150 * menubar-gtk.c (menu_can_reuse_widget):
7151 * menubar-gtk.c (menu_create_menubar):
7152 * menubar-gtk.c (gtk_popup_menu):
7153 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7154 Added support for Gtk menu bar and menu item mnemonics.
7156 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7158 * sysdll.c: (dll_function): Added support for finding symbols in
7159 Darwin shared libraries as well in Darwin bundles.
7160 * sysdll.c (image_for_address): New
7161 * sysdll.c (my_find_image): New
7162 * sysdll.c (search_linked_libs): New
7164 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7166 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7167 return to GTK requires a different API to marshalling data to use
7169 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7171 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7173 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7175 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7177 * glyphs.c (process_image_string_instantiator):
7178 (Fset_console_type_image_conversion_list):
7179 Stop GCC from warning about shadowing of `exp'.
7181 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7183 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7185 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7187 2004-02-03 Vin Shelton <acs@xemacs.org>
7189 * glyphs.c (image_instance_layout): Remove pointless assertion.
7190 * regex.c (regex_grow_registers): Return type is void.
7192 2004-02-02 Vin Shelton <acs@xemacs.org>
7194 * XEmacs 21.4.15 is released
7196 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7198 * device-x.c (x_error_handler): Don't call stderr_out
7200 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7202 * buffer.c (other-buffer): Clarify documentation of order of
7203 arguments for FSF Emacs.
7205 2003-10-11 Olivier Galibert <galibert@pobox.com>
7207 * window.c (Fdelete_window): Dirty the mirror structure _before_
7208 marking the window deleted.
7210 2003-09-15 Jerry James <james@xemacs.org>
7212 * event-msw.c (debug_mswin_messages): Conditionally compile
7213 messages missing from the Cygwin headers.
7215 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7217 * data.c (eq_with_ebola_notice): Fix typo in comment.
7218 (Ftrue_list_p): Improve docstring.
7220 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7222 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7224 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7226 * search.c (trivial_regexp_p): Regexps containing "\{" are
7227 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7228 Stefan Monnier for suggesting a diagnosis.
7230 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7232 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7234 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7236 * search.c (Fsearch_forward):
7238 Document negative count.
7240 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7242 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7244 2003-09-13 Martin Buchholz <martin@xemacs.org>
7246 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7248 2003-09-15 Vin Shelton <acs@xemacs.org>
7250 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7253 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7255 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7256 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7257 (re_match_2_internal): Use TRANSLATE instead of
7258 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7259 non-ASCII char case conversion.
7261 2003-09-08 Mike Sperber <mike@xemacs.org>
7263 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7264 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7266 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7268 * .gdbinit (pobj): fix printing of symbol name.
7270 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7272 * frame-x.c (x_layout_widgets): When resizing is about to cause
7273 frame size slip, mark it for redisplay.
7275 2003-08-18 Jerry James <james@xemacs.org>
7277 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7279 2003-09-03 Vin Shelton <acs@xemacs.org>
7281 * XEmacs 21.4.14 is released
7283 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7285 * config.h.in (REGEX_MALLOC): Make it configure'able.
7287 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7289 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7291 * sysdll.c (dll_init):
7292 * sysdll.c (dll_open):
7293 * sysdll.c (dll_close):
7294 * sysdll.c (dll_function):
7295 * sysdll.c (dll_variable):
7296 * sysdll.c (dll_error):
7297 Add support for loading bundles using Darwin/MacOSX
7300 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7302 * process.c (start-process-internal): Document coding systems.
7304 2003-07-30 Jerry James <james@xemacs.org>
7306 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7308 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7310 * event-msw.c (mswindows_enqueue_mouse_button_event):
7311 * event-msw.c (mswindows_wnd_proc):
7312 enqueue button event when scrollwheel event isn't handled by
7313 mswindows_handle_mousewheel_event, such as when the scrollbars
7316 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7318 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7320 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7322 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7324 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7326 * regex.c (re_match_2_internal): Fix matching degenerate word
7329 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7331 * XEmacs 21.4.13 is released
7333 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7335 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7336 * lisp.h (<inttypes.h>):
7337 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7340 2003-03-15 Martin Buchholz <martin@xemacs.org>
7342 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7343 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7344 Result: "temacs can only be run in -batch mode."
7345 Fix: Check xemacs executable candidate for directory-ness.
7347 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7349 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7350 they conflict with <sys/types.h>.
7352 2003-02-14 Martin Buchholz <martin@xemacs.org>
7354 * database.c: Berkeley DB wants __STDC__ to be defined.
7356 2003-02-13 Martin Buchholz <martin@xemacs.org>
7358 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7360 2003-02-01 Martin Buchholz <martin@xemacs.org>
7362 * process-unix.c (unix_send_process): Fix C++ compile error.
7364 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7366 * Added .dylib as an acceptable shared library file extension
7367 * to support MacOSX.
7369 2003-02-01 Martin Buchholz <martin@xemacs.org>
7371 * EmacsFrameP.h (EmacsFramePart):
7372 Kludge to allow compiling with Motif1, but linking with Motif2.
7374 2003-01-28 Martin Buchholz <martin@xemacs.org>
7376 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7379 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7381 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7383 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7385 * sysdll.c: Included lisp.h to define needed alloca_array.
7387 2003-02-13 Martin Buchholz <martin@xemacs.org>
7389 Make XEmacs redisplay 10 times faster.
7390 If, that is, you're using a slow X connection and MoveOpaque.
7391 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7392 Use compress_motion = TRUE.
7393 * EmacsFrame.c (emacsFrameClassRec):
7394 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7395 * EmacsManager.c (emacsManagerClassRec):
7396 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7398 2003-01-30 Vin Shelton <acs@xemacs.org>
7400 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7402 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7404 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7405 Patch by Martin Buchholz.
7407 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7409 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7410 Thanks to icc for warning and Martin Buchholz for reporting.
7412 2003-01-29 Vin Shelton <acs@xemacs.org>
7414 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7416 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7417 remember to multiply by the element size.
7419 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7421 * XEmacs 21.4.12 "Portable Code" is released.
7423 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7425 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7426 * s/cygwin.sc: new linker file.
7428 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7430 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7432 * redisplay-x.c (x_output_string): Use X11-specified types.
7433 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7434 * emacs.c (__free_hook): Use typeof with Intel compiler.
7435 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7437 2003-01-08 Andy Piper <andy@xemacs.org>
7439 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7440 reserve size during unexec().
7442 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7444 * process-unix.c (unix_create_process): Don't let outchannel block.
7446 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7448 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7449 Needed for IsBadReadPtr().
7451 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7453 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7455 2002-12-14 Ben Wing <ben@xemacs.org>
7457 * callint.c: Declaration error.
7459 * dumper.c (pdump_load): Warning fix.
7460 * process.c: GCPRO error.
7461 * glyphs.c (unmap_subwindow):
7462 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7463 * event-stream.c (maybe_kbd_translate): Wrong argument to
7464 character_to_event().
7466 * alloc.c (garbage_collect_1):
7468 * emacs.c (debug_can_access_memory):
7469 * emacs.c (fatal_error_signal):
7470 * emacs.c (mswindows_handle_hardware_exceptions):
7473 * emacs.c (assert_failed):
7474 * emacs.c (syms_of_emacs):
7477 * print.c (std_handle_out_va):
7478 * print.c (write_string_to_stdio_stream):
7479 * print.c (write_fmt_string):
7480 * print.c (printing_badness):
7481 * print.c (printing_major_badness):
7482 * print.c (print_internal):
7483 * print.c (debug_print_no_newline):
7484 * print.c (debug_backtrace):
7485 Be more defensive in handling bad values when printing. Add code
7486 from trunk involving inhibit_non_essential_printing_operations.
7487 When going down or in debug_print(), don't do external conversion
7488 and such and try really, really hard when printing to avoid core
7489 dumping. Add force-debugging-signal, debug_break().
7491 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7493 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7494 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7496 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7498 * database.c: Fix open_database. Berkeley DB API has changed in
7499 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7501 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7503 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7505 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7507 * event-Xt.c (Xt_timeout):
7508 (Xt_timeout_callback):
7509 (emacs_Xt_add_timeout):
7510 (emacs_Xt_remove_timeout):
7511 (Xt_timeout_to_emacs_event):
7512 Turn completed_timeouts from a stack into a queue. Fixes
7513 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7515 2002-11-07 Wolfram Gloger <wg@malloc.de>
7517 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7518 * emacs.c (main): Assert that mmap'd allocation is disabled.
7520 2002-10-14 Andy Piper <andy@xemacs.org>
7522 * glyphs-widget.c (layout_query_geometry): add in fiddle
7523 factor. Include border text in width layout calculation.
7524 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7526 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7528 * XEmacs 21.4.10 "Military Intelligence" is released.
7530 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7532 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7533 using the NAS private array SoundFileInfo that no longer exists in
7534 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7535 and earlier. This is broken for some versions between 1.5a and
7538 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7540 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7542 * emacs.c (shut_down_emacs): Improve crash message.
7544 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7546 * file-coding.c (determine_real_coding_system): Check for coding
7547 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7548 shebangs and Python PEP 263.
7550 2002-10-08 Andy Piper <andy@xemacs.org>
7552 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7553 if static sizes haven't been set.
7555 2002-08-30 Mike Alexander <mta@arbortext.com>
7557 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7560 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7562 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7564 2002-09-20 Mike Sperber <mike@xemacs.org>
7566 (This partially gets back my patch from 2002-07-20 without the
7568 * callproc.c (child_setup): Remove Ben's comment noting confusion
7569 over the file descriptors >= 3: close_process_descs() doesn't
7570 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7571 * process-unix.c (unix_create_process): Call
7572 begin_dont_check_for_quit to inhibit unwanted interaction (and
7573 thus breaking of X event synchronicity) in the child.
7575 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7577 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7580 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7582 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7583 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7584 the xemacs process did not exit, but looped infinitely here. This
7587 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7589 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7590 (find_context): Improve comments.
7592 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7593 (re_match_2): An XCHAR_TABLE operation was missing.
7595 Many of the following changes were inspired by Andy Piper's (now
7596 obsolete) patch to make syntax-table text property lookup optional.
7600 * syntax.h (top level): Document semantics of syntax flags.
7601 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7602 * syntax.c, syntax.h (top level): Document syntax cache better in
7605 [Instrument syntax caching (temporary change)]
7607 * syntax.h (enum syntax_cache_statistics_functions, struct
7608 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7609 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7610 * syntax.c (scan_words, Fforward_comment, scan_lists,
7611 Fbackward_prefix_characters):
7612 * font-lock.c (find_context):
7613 Use them to instrument syntax caching.
7614 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7615 syntax_cache_statistics_function_names): New type and variables.
7616 * syntax.c (update_syntax_cache): Update and report statistics.
7618 [Major syntax cache optimizations]
7620 syntax.c (lookup_syntax_properties): Default off.
7622 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7623 * syntax.c (update_syntax_cache):
7624 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7626 [Minor syntax cache optimizations and code clarifications]
7628 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7629 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7630 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7631 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7632 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7633 (Code clarification.)
7635 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7636 scan_lists): Compute code from syncode, use Boolean macros instead
7637 of redundant masking operations. (Code clarification; any decent
7638 compiler can do this optimization.)
7640 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7643 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7644 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7645 use F*_single_property_change instead of F*_extent_change.
7646 Currently F*_single_property_change is _much_ less efficient.
7648 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7649 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7650 syntax_cache.object properly, don't leave Qt or Qnil.
7651 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7652 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7653 tests for Qt or Qnil.
7655 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7657 * redisplay.c (point_in_line_start_cache):
7658 * extents.c (print_extent_1):
7661 * extents.c (Fset_extent_property): Document `syntax-table' property.
7663 * extents.h (Fnext_single_property_change): EXFUN it.
7665 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7667 * search.c (clear_unused_search_regs): New static function.
7671 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7672 Minor clarifications in comments.
7674 * regex.c (re_match_2_internal): Ensure no stale submatches.
7676 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7678 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7680 2002-08-29 Jerry James <james@xemacs.org>
7682 * lisp.h: structrures -> structures.
7684 2002-06-03 Andy Piper <andy@xemacs.org>
7686 * frame.c (frame_conversion_internal): add conversion appropriate
7687 for setting frame dimensions in pixels.
7689 * console.h (struct console_methods): add device-specific widget
7692 * emacs.c (main_1): initialize glyph vars.
7694 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7695 (handle_focus_event_2): new function. Allow focus to
7696 be set to a particular window and widget.
7697 (enqueue_focus_event): new function. Create a
7698 synthetic focus event.
7699 (emacs_Xt_handle_magic_event): call
7700 handle_focus_event_2.
7702 * frame.c (Fset_frame_pixel_height): new function. Allow
7703 pixel-based sizing. Does the right thing on character-oriented
7705 (Fset_frame_pixel_width): ditto.
7706 (Fset_frame_pixel_size): ditto.
7707 (syms_of_frame): declare.
7709 * general-slots.h: add :vertically-justify and
7710 :horizontally-justify.
7712 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7713 (mswindows_widget_border_width): new function.
7714 (mswindows_combo_box_instantiate): set border widths.
7715 (console_type_create_glyphs_mswindows): declare.
7718 (check_valid_justification): allow vertical and horizontal
7720 (widget_border_width): new function. Call device methods.
7721 (widget_instance_border_width): ditto.
7722 (logical_unit_height): new function. Determine the height of a
7723 logical-unit. Logical units are intended to provide grid-like
7724 layout for subcontrols in a layout. If the layout is
7725 :vertically-justify top then subcontrols will be positioned on
7726 logical-unit boundaries, thus allowing adjacent subcontrols to
7728 (widget_logical_unit_height): ditto for widgets.
7729 (redisplay_widget): misc cleanup.
7730 (widget_spacing): new function. Call device specific
7731 methods. Intended to be the default gap between adjacent widgets.
7732 (widget_query_geometry): use new spacing functions to determine
7733 appropriate geometry.
7734 (initialize_widget_image_instance): initialize horizontal and
7735 vertical justification.
7736 (widget_instantiate): use logica-units where appropriate for
7737 sizing large widgets.
7738 (button_query_geometry): use widget_instance_border_width.
7739 (tree_view_query_geometry): ditto.
7740 (tab_control_query_geometry): ditto.
7741 (edit_field_query_geometry): new function.
7742 (layout_update): pick up :justify, :horizontally-justify and
7743 :vertically-justify none of which worked previously. :justify is
7744 used as a fallback for both horizontal and vertical justification.
7745 (layout_query_geometry): use logical units to size appropriately.
7746 (layout_layout): ditto.
7747 (Fwidget_logical_to_character_width): new function. Allow users to
7748 convert from logical units to characters so that frame sizes can
7749 be set appropriately.
7750 (Fwidget_logical_to_character_height): ditto.
7751 (syms_of_glyphs_widget): declare.
7752 (image_instantiator_edit_fields): add edit_field_query_geometry.
7753 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7754 :horizontally-justify.
7755 (specifier_vars_of_glyphs_widget): new function. Declare
7756 Vwidget_border_width which is not yet used.
7758 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7759 (x_widget_border_width): new function.
7760 (x_widget_instantiate): create a sensible name for widgets.
7761 (console_type_create_glyphs_x): declare x_widget_border_width.
7763 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7764 (struct Lisp_Image_Instance): add :vertically-justify and
7765 :horizontally-justify.
7766 (LAYOUT_JUSTIFY_TOP): new.
7767 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7768 (ROUND_UP): new macro. Round argument up to next integral
7771 * redisplay-output.c (redisplay_output_layout): misc formatting.
7773 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7775 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7777 * XEmacs 21.4.9 "Informed Management" is released.
7779 2002-08-19 Andy Piper <andy@xemacs.org>
7781 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7784 * realpath.c (xrealpath): normalize drive spec also so that dir
7785 sep chars are not mixed on cygwin.
7787 2002-08-06 Jerry James <james@xemacs.org>
7789 * window.c (Fsplit_window): Count only half of the divider width
7790 against the left window when splitting horizontally.
7792 2002-06-24 Andy Piper <andy@xemacs.org>
7794 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7795 toolbar was cleared.
7797 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7798 function. Split out from mswindows_output_frame_toolbars.
7799 (mswindows_output_frame_toolbars): move clear pieces to
7800 mswindows_output_frame_toolbars.
7802 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7803 out from gtk_output_frame_toolbars.
7804 (gtk_output_frame_toolbars): move clear pieces to
7805 gtk_clear_frame_toolbars.
7807 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7808 the frame is cleared. How this ever worked before is a mystery.
7809 (x_output_frame_toolbars): Only output toolbars.
7810 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7812 * gutter.c (update_gutter_geometry):
7813 Mark frame layout changed.
7814 (update_frame_gutter_geometry, update_frame_gutters):
7815 Respect frame_layout_changed.
7817 * console.h (struct console_methods): add
7818 clear_frame_toolbars_method.
7820 * redisplay.c (redisplay_frame): call
7821 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7823 * toolbar.h: declare update_frame_toolbars_geometry.
7825 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7826 out from update_frame_toolbars. Call clear_frame_toolbars.
7827 (update_frame_toolbars): only output, do not change geometry.
7829 * redisplay.c: add frame_layout_changed.
7831 * redisplay.h: add frame_layout_changed.
7832 (CLASS_RESET_CHANGED_FLAGS): set it.
7833 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7834 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7835 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7837 * device.h (struct device): add frame_layout_changed.
7838 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7840 * frame.h (struct frame): add frame_layout_changed.
7841 (MARK_FRAME_LAYOUT_CHANGED): new.
7843 2002-06-30 Mike Alexander <mta@arbortext.com>
7845 * event-msw.c (mswindows_need_event): Don't wait for a new message
7846 if the queue is not empty. Suggested by Paul Moore.
7848 2002-06-12 Andy Piper <andy@xemacs.org>
7850 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7851 for printing on accurately.
7853 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7855 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7856 WM_ACTIVATE message. Make sure that the frame is visible if the
7857 window is visible. This seemss to fix the problem where XEmacs
7858 appears to freeze after switching desktops with certain virtual
7860 (debug_output_mswin_message): Added code to output message
7861 parameters for WM_WINDOWPOSCHANGED,
7862 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7864 2002-05-25 Andy Piper <andy@xemacs.org>
7866 * select-x.c (vars_of_select_x): Fix docstring of
7867 x-selection-strict-motif-ownership
7869 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7871 * keymap.c (get_keymap):
7872 Add comment about do_autoload GCPROs own args.
7874 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7876 * bytecode.c (execute_optimized_program): check_opcode ifdef
7877 ERROR_CHECK_BYTE_CODE.
7879 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7881 Thanks to Ben Wing and Michael Sperber.
7883 * eval.c (Fcommand_execute):
7886 (Fmacroexpand_internal):
7887 (function_argcount):
7888 callint.c (Fcall_interactively):
7889 Add comment about do_autoload GCPROs own args.
7891 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7893 * eval.c (Ffuncall): Extra braces to placate GCC.
7895 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7897 * backtrace.h (grow_specpdl):
7899 * EmacsFrame.c (EmacsFrameSetValues):
7900 * eval.c (grow_specpdl):
7901 * ExternalShell.c (hack_event_masks_1):
7902 * glyphs-x.c (convert_EImage_to_XImage):
7903 (x_finalize_image_instance):
7904 * ralloc.c (page_size):
7906 * xgccache.c (gc_cache_hash):
7907 Fix unsigned comparison warnings.
7909 2002-07-29 Jerry James <james@xemacs.org>
7911 * lread.c (locate_file): Any nonnegative return value indicates
7912 success if MODE is nonnegative.
7914 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7916 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7919 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7921 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7923 * dumper.c (pdump_get_indirect_count):
7924 (pdump_scan_by_alignment):
7925 (pdump_dump_root_struct_ptrs):
7926 (pdump_dump_rtables):
7927 (pdump_dump_root_objects):
7929 * nas.c (WaveOpenDataForReading):
7930 * fns.c (print_bit_vector):
7931 * font-lock.c (SINGLE_SYNTAX_STYLE):
7932 * glyphs.c (check_for_ignored_expose):
7933 (find_matching_subwindow):
7935 * imgproc.c (get_histogram):
7936 * redisplay.c (point_in_line_start_cache):
7937 * redisplay-output.c (redisplay_unmap_subwindows):
7938 * symbols.c (defsymbol_massage_name_1):
7939 (defkeyword_massage_name):
7940 (deferror_massage_name_and_message):
7941 * redisplay-x.c (x_output_string):
7942 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7943 * frame.h (struct frame):
7944 * filelock.c (current_lock_owner):
7945 * doprnt.c (emacs_doprnt_1):
7946 * lisp.h (struct Lisp_Bit_Vector):
7950 2002-02-13 Ben Wing <ben@xemacs.org>
7952 * event-stream.c (reset_key_echo):
7953 * event-stream.c (reset_this_command_keys):
7954 * event-stream.c (execute_command_event):
7955 If console is dead as a result of C-x 5 0, then post-command stuff
7956 needs to be careful and do only non-console-specific stuff.
7958 2002-07-01 Mike Sperber <mike@xemacs.org>
7960 * process-unix.c (unix_send_process): Mark coding_outstream as
7961 non-open upon SIGPIPE.
7963 * event-stream.c (Fnext_event): Reorder switch cases to something
7966 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7968 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7969 Don't bogusly reinitialize ascii_character property.
7971 2002-07-08 Mike Sperber <mike@xemacs.org>
7973 * process.c (Fstart_process_internal): Do error checking before we
7974 fork off the child, so the child can't muck with the state of the
7977 2002-07-08 Mike Sperber <mike@xemacs.org>
7979 * ralloc.c (init_ralloc): Allocate properly for pdump.
7981 2002-06-12 Andy Piper <andy@xemacs.org>
7983 * glyphs.c (query_string_geometry): check the string.
7985 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7988 2002-06-17 Jerry James <james@xemacs.org>
7990 * sysdll.c: Remove RTLD_GLOBAL initialization.
7991 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7993 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7995 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7997 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7999 * sysdep.c (sys_rename): Make sys_rename work for the case where
8000 Windows rename sets errno to EACCES if target file exists.
8002 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
8004 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8005 Fix detection of metric units to work on Win95
8007 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
8009 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
8011 2002-04-25 Andy Piper <andy@xemacs.org>
8013 * redisplay.c (create_text_block): Remove extra comment trailer.
8015 2002-04-24 Andy Piper <andy@xemacs.org>
8017 * redisplay.c (create_text_block): Don't actually add propagation
8018 data if the line ends after we have added a glyph.
8020 2002-04-22 Andy Piper <andy@xemacs.org>
8022 * extents.c (extent_fragment_update): check for glyphs we have
8023 previously displayed.
8024 * extents.c (print_extent_1): warning removal.
8025 * extents.h: change prototype.
8026 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
8027 widths correctly for wide glyphs.
8028 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
8029 * redisplay.c (prop_type): add PROP_GLYPH.
8030 * redisplay.c (struct prop_block): add glyph type
8031 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
8032 to the propagation data.
8033 * redisplay.c (create_text_block): if there is a glyph in the
8034 propagation data use it to salt extent_fragment_update.
8035 * redisplay.c (create_string_text_block): ditto.
8037 2002-04-13 Nix <nix@esperi.demon.co.uk>
8039 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
8040 * redisplay-output.c (compare_runes): Compare them.
8041 * redisplay.c: Update copyright date.
8042 * redisplay.c (pos_data): Add need_baseline_computation field.
8043 * redisplay.c (add_glyph_rune): Update ascent, descent, and
8044 need_baseline_computation; zero yoffset. Set max_pixmap_height
8045 for all pixmaps, not just automatically positioned ones.
8046 * redisplay.c (calculate_yoffset): New, compute yoffset values.
8047 * redisplay.c (calculate_baseline): New, compute textual baseline.
8048 * redisplay.c (add_glyph_rune): Call them.
8049 * redisplay.c (create_text_block): Likewise.
8050 * redisplay.c (create_overlay_glyph_block): Likewise.
8051 * redisplay.c (add_margin_runes): Likewise.
8052 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
8054 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
8055 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
8056 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
8057 * redisplay-msw.c (mswindows_output_string): Likewise.
8058 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
8059 * redisplay-gtk.c (gtk_output_display_block): Likewise.
8060 * redisplay-x.c (x_output_display_block): Likewise.
8062 2002-03-28 Ben Wing <ben@xemacs.org>
8064 * redisplay.c: Fixed bug in redisplay
8065 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
8066 and down of the lines, since they're bigger than the line
8067 size. (It was seen most obviously when there's a horizontal scroll
8068 bar, e.g. do C-h a glyph or something like that.) The problem was
8069 that the glyph-contrib-p setting on glyphs was ignored even if it
8070 was set properly, which it wasn't until now.
8072 2002-04-24 Andy Piper <andy@xemacs.org>
8074 * lisp.h (Dynarr_end): Fix definition.
8076 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8078 * redisplay.c (mark_redisplay): Remove call to
8079 update_frame_window_mirror.
8081 2001-11-15 Andy Piper <andy@xemacs.org>
8083 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8086 2002-02-13 Andy Piper <andy@xemacs.org>
8088 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8089 we did in fact enqueue the XM_MAPFRAME event.
8091 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8093 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8094 to fix problem switching between virtual desktops under virtuawin
8095 virtual window manager.
8097 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8099 * event-msw.c: Typo fix.
8100 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8101 magic XM_MAPFRAME event has been sent.
8103 2001-11-23 Andy Piper <andy@xemacs.org>
8105 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8107 2001-11-21 Andy Piper <andy@xemacs.org>
8109 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8110 mouse events outside the frame.
8112 2002-03-20 Andy Piper <andy@xemacs.org>
8114 * menubar-msw.c (mswindows_popup_menu): warning removal.
8115 * dialog-msw.c (dialog_popped_down): ditto.
8117 2001-12-11 Andy Piper <andy@xemacs.org>
8119 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8120 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8122 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8123 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8124 * menubar-msw.c (mswindows_popup_menu): ditto.
8126 2001-10-29 Andy Piper <andy@xemacs.org>
8128 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8131 2002-01-03 Andy Piper <andy@xemacs.org>
8133 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8137 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8139 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8140 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8141 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8142 Detect and handle case where machine is set up for metric units
8144 2002-04-02 Andy Piper <andy@xemacs.org>
8146 * dired-msw.c (mswindows_get_files):
8147 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8148 completely handled by XEmacs. Suggested by Thomas Vogler
8149 <mail@thomas-vogler.de>.
8151 2001-11-14 Andy Piper <andy@xemacs.org>
8153 * nt.c (REG_ROOT): change registry key to XEmacs.
8155 2002-04-27 Andy Piper <andy@xemacs.org>
8157 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8159 2002-04-26 Andy Piper <andy@xemacs.org>
8161 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8164 2002-03-14 Mike Alexander <mta@arbortext.com>
8166 * event-msw.c (mswindows_unwait_process): New, remove process from
8168 * process-nt.c (nt_finalize_process_data): Call
8169 mswindows_unwait_process
8170 * console-msw.h: Declare mswindows_unwait_process
8172 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8174 * editfns.c (Fdecode_time):
8175 (Fformat_time_string):
8176 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8177 (make_time): Warning elimination (change arg name).
8179 2001-11-24 Andy Piper <andy@xemacs.org>
8181 * window.c (Fsplit_window): Doc return type.
8183 2002-04-01 Andy Piper <andy@xemacs.org>
8185 * emacs.c (Fkill_emacs): Only output message box in interactive
8188 2002-04-26 Andy Piper <andy@xemacs.org>
8190 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8193 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8195 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8198 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8200 * XEmacs 21.4.8 "Honest Recruiter" is released.
8202 2002-05-07 Nix <nix@esperi.demon.co.uk>
8204 Supersedes 2002-04-17 patch.
8206 * process.h (PROCESS_LIVE_P): Use the process status as
8207 evidence of health, not the state of the input stream.
8208 (PROCESS_READABLE_P): Say if the process is readable
8209 from. (It may be dead nonetheless.)
8210 (CHECK_READABLE_PROCESS): Test for that condition.
8212 * process.c (create_process): Use PROCESS_READABLE_P.
8213 (read_process_output, set_process_filter): Likewise.
8215 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8216 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8218 This code is #if 0'd, this is not the time to add new functions:
8220 * process.c (Fprocess_readable_p): Report readability status.
8221 * process.c (Qprocess_readable_p): New, associated symbol...
8222 * process.c (syms_of_process): ... initialize it.
8224 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8226 * XEmacs 21.4.7 "Economic Science" is released.
8228 2002-04-17 Nix <nix@esperi.demon.co.uk>
8230 * process.h (PROCESS_LIVE_P): Use the process status as
8231 evidence of health, not the state of the input stream.
8233 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8235 * sysdep.c (sys_siglist): change "signum" to "signal"
8237 2001-04-21 Martin Buchholz <martin@xemacs.org>
8239 * s/darwin.h: New file.
8240 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8242 2002-04-23 Andreas Jaeger <aj@suse.de>
8244 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8245 which use lib64 for 64-bit libs.
8246 (START_FILES): Likewise.
8248 2002-02-11 Mike Sperber <mike@xemacs.org>
8251 (x_IO_error_handler):
8252 (x_init_device): Temporarily keep device in static variable
8253 `device_being_initialized' so we can recover gracefully from
8254 internal XOpenDevice failure. (XOpenDevice is documented to
8255 return NULL on failure, but sometimes calls the IO error handler
8258 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8260 * dired.c (Ffile_name_all_completions): Change documentation --
8261 remove reference to completion-ignored-extensions.
8262 * dired.c (vars_of_dired): Change documentation for
8263 completion-ignored-extensions -- remove reference to
8264 file-name-all-completions.
8266 2002-03-06 Jerry James <james@xemacs.org>
8268 * emodules.c (emodules_load): Fix multiple loading of same module.
8270 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8271 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8272 RTLD_LAZY to avoid incorrect symbol binding when using nested
8273 shared libraries on Solaris.
8275 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8277 * fileio.c (Ffind_file_name_handler): Improve docstring.
8279 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8281 * fns.c (Fmapconcat): Improve docstring.
8283 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8285 * device-gtk.c: Add prototype for
8286 emacs_gtk_selection_clear_event_handle.
8287 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8288 selection. Setup signal handler for "selection_clear_event"
8289 (emacs_gtk_selection_clear_event_handle).
8291 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8292 other applications owning the clipboard (based on
8293 x_handle_selection_clear).
8295 2001-12-23 William M. Perry <wmperry@gnu.org>
8297 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8299 2002-01-04 Martin Buchholz <martin@xemacs.org>
8301 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8303 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8305 * XEmacs 21.4.6 "Common Lisp" is released.
8307 2001-12-16 Torsten Duwe <duwe@caldera.de>
8309 * search.c (Freplace_match): Add missing sub-expression functionality.
8311 * buffer.c (decode_buffer): Add a check for pointer type to
8312 decode_buffer, before gcc's CSE optimization reorders a
8313 dereference in front of the allow_string test.
8315 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8317 * window.c (window_loop): Fix bug that sometimes prevented
8318 window_loop() from iterating across multiple devices. Also, at
8319 Ben's request, changed infloop-detecting code to abort() instead
8320 of silently terminating window_loop().
8322 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8324 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8325 * editfns.c (make_time): New function.
8326 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8327 * lisp.h (make_time): Prototype and comment it.
8328 * dired.c (wasteful_word_to_lisp): Deprecate.
8329 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8331 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8333 * fileio.c (auto_save_1): Use current coding system, not
8336 2001-11-13 Ben Wing <ben@xemacs.org>
8339 * window.c (window_truncation_on):
8340 * window.c (syms_of_window):
8341 truncate-partial-width-windows should respect the buffer being
8342 displayed, like other redisplay vars.
8344 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8346 * event-stream.c (Fread_key_sequence): save current buffer.
8348 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8350 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8352 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8354 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8356 2001-10-26 Mike Alexander <mta@arbortext.com>
8358 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8360 2001-10-25 Andy Piper <andy@xemacs.org>
8363 * dialog-msw.c (handle_directory_proc): new function.
8364 (handle_directory_dialog_box): new fucntion.
8365 (handle_file_dialog_box): use new directory dialog support.
8366 (mswindows_make_dialog_box_internal): ditto.
8367 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8369 (mswindows_find_frame): make global.
8370 * fileio.c (Fexpand_file_name): build fix.
8371 * general-slots.h: add Qdirectory.
8372 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8374 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8375 cygwin not leaving win32 paths unchanged.
8376 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8377 cygwin runtime to do path conversion.
8378 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8379 (syms_of_win32): add new function.
8380 * window.c (window_loop): build fix.
8382 2001-10-15 Andy Piper <andy@xemacs.org>
8384 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8386 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8388 * XEmacs 21.4.5 "Civil Service" is released.
8390 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8392 * glyphs-x.c: Force buffer-tab highlight update when moving the
8393 buffer, avoiding an ugly black border, used for keyboard focus
8394 indication, on a widget that can never have keyboard focus, the
8397 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8399 * process-unix.c (unix_open_multicast_group): Remove too much
8400 conversion between host and network byte order.
8402 2001-09-10 Nix <nix@esperi.demon.co.uk>
8404 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8405 before replacing them.
8407 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8410 * src/window.c (undedicate_windows): Use it.
8411 * src/window.h: Add prototype.
8413 2001-09-17 Ben Wing <ben@xemacs.org>
8415 * fileio.c (normalize_filename):
8416 * fileio.c (Fexpand_file_name):
8417 Fix various C++ compile errors in Andy's recent code.
8419 * callint.c (Fcall_interactively):
8420 * editfns.c (Ftemp_directory):
8421 * editfns.c (Fuser_full_name):
8422 * emacs.c (argmatch):
8423 * lread.c (locate_file_map_suffixes):
8424 * redisplay-x.c (x_ring_bell):
8425 Fix sign-compare warnings.
8427 2001-09-08 Andy Piper <andy@xemacs.org>
8429 * fileio.c (normalize_filename): copied from nt.c
8430 * (Ffile_name_directory): enable win32 paths under cygwin.
8431 * (Ffile_name_nondirectory): ditto.
8432 * (directory_file_name): ditto.
8433 * (Fexpand_file_name): ditto.
8434 * (Ffile_truename): ditto.
8435 * (Fsubstitute_in_file_name): ditto.
8436 * (Ffile_name_absolute_p): ditto.
8437 * (Ffile_readable_p): ditto.
8439 2001-09-08 Andy Piper <andy@xemacs.org>
8441 * device-msw.c (mswindows_finish_init_device): remove dde
8443 * device-msw.c (mswindows_init_dde): factor out from
8444 mswindows_finish_init_device()
8445 * device-msw.c (init_mswindows_very_early): new function
8446 initialize but don't enable dde.
8447 * emacs.c (main_1): call init_mswindows_very_early.
8449 * event-msw.c (mswindows_dde_callback): only execute when we are
8451 * symsinit.h: declare init_mswindows_very_early.
8453 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8455 [sjt: This has been in 21.5 for months with no complaints.]
8457 * console.h (struct console_methods): Added flags member.
8458 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8459 (CONMETH_IMPL_FLAG):
8460 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8461 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8463 * device.c (window_system_pixelated_geometry): Use the above macros.
8465 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8466 implememntation flag.
8467 * device.h (DEVICE_DISPLAY_P): Use it.
8469 * frame.c (delete_frame_internal): Use the above macro.
8471 * redisplay.c (redisplay_device): Use it.
8472 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8473 (redisplay_frame): Ditto.
8475 * device-msw.c (mswindows_device_implementation_flags): Removed.
8476 (msprinter_device_implementation_flags): Removed.
8477 (console_type_create_device_mswindows): Removed references to
8478 implementation_flags methods, set implementation flags here.
8479 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8481 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8482 (console_type_create_device_gtk): Removed method declaration.
8483 Added commented out statement which semantically matches the
8484 commented out statement in the above removed method.
8486 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8488 The attached patch fixes a few warnings.
8490 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8491 * src/frame-gtk.c: guard against GNOME calls in GTK only
8492 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8493 * src/select-gtk.c: prototype lisp_to_time
8495 2001-06-08 Ben Wing <ben@xemacs.org>
8497 ------ gc-in-window-procedure fixes ------
8500 * alloc.c (struct post_gc_action):
8501 * alloc.c (register_post_gc_action):
8502 * alloc.c (run_post_gc_actions):
8503 * alloc.c (garbage_collect_1):
8504 Create "post-gc actions", to avoid those dreaded "GC during window
8505 procedure" problems.
8508 Abort, clean and simple, when GC in window procedure. We want
8509 to flush these puppies out.
8512 * glyphs-msw.c (finalize_destroy_window):
8513 * glyphs-msw.c (mswindows_finalize_image_instance):
8514 Use a post-gc action when destroying subwindows.
8517 Declare register_post_gc_action().
8520 * scrollbar-msw.c (unshow_that_mofo):
8521 Use a post-gc action when unshowing scrollbar windows, if in gc.
8523 * redisplay.c (mark_redisplay):
8524 Add comment about the utter evilness of what's going down here.
8526 ------ cygwin setitimer fixes ------
8528 * Makefile.in.in (sheap_objs):
8529 * Makefile.in.in (profile_objs):
8530 * Makefile.in.in (objs):
8531 Compile profile.c only when HAVE_SETITIMER.
8533 * nt.c (mswindows_sigset):
8534 * nt.c (mswindows_sighold):
8535 * nt.c (mswindows_sigrelse):
8536 * nt.c (mswindows_sigpause):
8537 * nt.c (mswindows_raise):
8538 * nt.c (close_file_data):
8542 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8545 * profile.c (Fstart_profiling):
8546 * profile.c (Fstop_profiling):
8547 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8548 instead of just plain setitimer().
8551 * signal.c (set_one_shot_timer):
8553 Define qxe_setitimer() as an encapsulation around setitimer() --
8554 call setitimer() directly unless Cygwin or MS Win, in which case
8555 we use our simulated version in win32.c.
8558 * systime.h (struct itimerval):
8559 * systime.h (ITIMER_REAL):
8560 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8561 comment about "qxe" and the policy regarding encapsulation.
8564 * win32.c (setitimer_helper_proc):
8565 * win32.c (setitimer_helper_period):
8566 * win32.c (setitimer_helper):
8567 * win32.c (mswindows_setitimer):
8568 Move setitimer() emulation here, so Cygwin can use it.
8569 Rename a couple of functions and variables to be longer and more
8570 descriptive. In setitimer_helper_proc(), send the signal
8571 using either mswindows_raise() or (on Cygwin) kill(). If for
8572 some reason we are still getting lockups, we'll change the kill()
8573 to directly invoke the signal handlers.
8575 ------ windows shell fixes ------
8579 Comments about how these two files must die.
8581 * callproc.c (init_callproc):
8582 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8583 not just COMSPEC. (more correct and closer to FSF.) Don't
8584 force a value for SHELL into the environment. (Comments added
8585 to explain why not.)
8587 * nt.c (init_user_info):
8588 Don't shove a fabricated SHELL into the environment. See above.
8590 2001-06-01 Ben Wing <ben@xemacs.org>
8592 * Makefile.in.in (ldflags):
8593 eliminate that pesky "defaulting to 00401000" warning.
8597 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8599 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8600 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8602 2001-04-24 Jerry James <james@xemacs.org>
8604 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8607 2001-06-01 Ben Wing <ben@xemacs.org>
8609 * event-msw.c (debug_mswin_messages):
8610 conditionalize the messages that were causing compile errors.
8611 (if only macros could generate #ifdef statements ...)
8613 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8615 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8617 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8619 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8621 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8623 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8624 * process-unix.c (unix_canonicalize_host_name):
8625 sysdep.c (init_system_name):
8626 Use it to conditionally support IPv6 canonicalization.
8628 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8631 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8633 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8635 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8636 attempt is made to scroll when no scroll bar is available.
8638 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8640 * input-method-motif.c (XIM_delete_frame): New callback.
8641 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8642 got deleted from 21.4.3.)
8644 2001-06-01 Ben Wing <ben@xemacs.org>
8646 * nt.c (mswindows_utime):
8647 * nt.c (close_file_data):
8648 fix off-by-one-indirection error.
8650 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8652 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8653 because set_file_times() now takes Lisp_Object path, instead of
8655 * nt.c: Include buffer.h.
8656 * nt.c (convert_from_time_t): New.
8657 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8658 not set mtime correctly.
8659 * nt.h: Declare mswindows_utime().
8660 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8661 path, instead of char*.
8662 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8664 2001-05-30 Ben Wing <ben@xemacs.org>
8668 (Stephen, just take all event-msw.c patches. This includes
8669 the "iconify" fix below.)
8672 * event-msw.c (mswindows_dequeue_dispatch_event):
8673 * event-msw.c (assert):
8674 * event-msw.c (emacs_mswindows_quit_p):
8675 * event-msw.c (debug_mswin_messages):
8676 * event-msw.c (debug_output_mswin_message):
8677 * event-msw.c (vars_of_event_mswindows):
8678 Fix yet more problems with C-g handling.
8679 Implement debug-mswindows-events.
8681 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8683 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8685 2001-05-23 Ben Wing <ben@xemacs.org>
8687 * event-msw.c (winsock_writer):
8688 * event-msw.c (winsock_closer):
8689 prior kludgy code was clobbering the buffer, thinking it was
8690 "unused" space to store an unneeded return value; instead, use
8691 the variable we've already got staring us in the face.
8693 2001-05-17 Andy Piper <andy@xemacs.org>
8695 * sysfile.h: don't assume that file attributes are boolean
8697 2001-05-23 Ben Wing <ben@xemacs.org>
8699 * device-msw.c (msprinter_init_device):
8700 signal an error rather than crash with an unavailable network
8701 printer (from Mike Alexander).
8704 * event-msw.c (struct winsock_stream):
8705 * event-msw.c (winsock_writer):
8706 * event-msw.c (winsock_closer):
8707 * event-msw.c (make_winsock_stream_1):
8708 cleanup headers. fix (hopefully) an error with data corruption
8709 when sending to a network connection.
8711 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8712 to handle the ~user prefix by (a) always assuming we're referencing
8713 ourselves and not even verifying the user -- hence any file with
8714 a tilde as its first char is invalid! (b) if there wasn't a slash
8715 following the filename, the pointer was set *past* the end of
8716 file and we started reading from uninitialized memory. Now we
8717 simply treat these as files, always.
8719 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8721 2001-05-19 Ben Wing <ben@xemacs.org>
8723 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8726 * process-nt.c (vars_of_process_nt):
8727 remove unused mswindows-quote-process-args. rec for 21.4.
8729 2001-05-12 Ben Wing <ben@xemacs.org>
8731 * event-msw.c (mswindows_dde_callback):
8732 * event-msw.c (mswindows_wnd_proc):
8733 eliminate cygwin warnings.
8735 2001-05-06 Ben Wing <ben@xemacs.org>
8739 * device-msw.c (print_dialog_worker):
8740 * device-msw.c (mswindows_handle_print_dialog_box):
8741 * device-msw.c (syms_of_device_mswindows):
8742 * dialog-msw.c (mswindows_make_dialog_box_internal):
8744 implement printing the selection when it's selected.
8746 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8748 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8750 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8752 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8753 EMACS_INT is signed.
8755 2001-04-15 Michael Lausch <mla@1012surf.net>
8757 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8758 gtk_widget_request_size() to give scrollbar >0 width for
8761 2001-05-30 William M. Perry <wmperry@gnu.org>
8763 * event-gtk.c: Check for buttons as modifier keys.
8765 2001-05-25 Craig Lanning <CraigL@Knology.net>
8768 Properly find MinGW's <process.h> inside Cygwin's restructured
8769 include directories. Don't try to include <cygwin/version.h>
8770 since we are dropping support for MinGW in versions of Cygwin
8773 Drop support for MinGW in versions of Cygwin before b21.
8775 Properly find MinGW's <process.h> inside Cygwin's restructured
8776 include directories.
8778 Drop support for MinGW in versions of Cygwin before b21.
8780 Even though a.out.h is no longer detected by configure, allow
8781 MinGW to use it until we figure out how to do the job with Win32.
8783 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8785 * syntax.c (find_start_of_comment):
8786 Fix `unbalanced parentheses' bug when dealing with mixed comment
8787 styles in c++/java/etc. mode
8789 2001-05-29 Mike Alexander <mta@arbortext.com>
8791 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8792 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8794 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8796 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8798 2001-03-31 Mike Sperber <mike@xemacs.org>
8800 * search.c (Freplace_match): Support FSF-style specification of
8801 match subexpression when applied to a buffer.
8803 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8805 * event-stream.c (is_scrollbar_event): add missing semicolon
8807 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8809 * Makefile.in.in: Use TAR macro instead of hardcoding
8810 tar. Allows use of GNU tar instead of system tar
8812 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8814 * event-stream.c (is_scrollbar_event): add missing semicolon
8816 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8818 * XEmacs 21.4.3 "Academic Rigor" is released.
8820 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8822 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8824 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8826 * buffer.c (Vcase_fold_search): Remove obsolete
8827 comment about non ASCII case-fold-search. This
8828 bug has been fixed by case-table changes.
8830 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8832 * event-msw.c: Restore include of events-mod.h.
8834 2001-04-22 zhaoway <zw@debian.org>
8836 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8839 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8841 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8843 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8845 * mule-charset.c (Fmake_charset): Add missing else.
8847 2001-04-23 Ben Wing <ben@xemacs.org>
8849 * event-msw.c (FAKE_MOD_QUIT):
8850 * event-msw.c (mswindows_dequeue_dispatch_event):
8851 * event-msw.c (mswindows_wnd_proc):
8852 * event-msw.c (emacs_mswindows_quit_p):
8853 Get critical quit working.
8855 2001-05-05 Ben Wing <ben@xemacs.org>
8859 * device-msw.c (mswindows_get_default_margin):
8860 * frame-msw.c (mswindows_size_frame_internal):
8861 * frame-msw.c (msprinter_init_frame_1):
8862 * frame-msw.c (vars_of_frame_mswindows):
8863 Change top/bottom margin defaults to 0.5 inches.
8865 2001-05-01 Martin Buchholz <martin@xemacs.org>
8867 Fix link error with gcc 3.0 on Linux.
8868 * terminfo.c (UP): Remove.
8869 * terminfo.c (BC): Remove.
8870 * terminfo.c (PC): Remove.
8871 They weren't used, and in any case, these symbols should be
8872 defined in the *library*.
8874 2001-05-03 Martin Buchholz <martin@xemacs.org>
8876 * s/aix4.h: Fix crash with xlc -O3.
8877 Improve comment explaining how -O3 works.
8879 2001-04-15 Ben Wing <ben@xemacs.org>
8882 * event-stream.c (Fnext_event):
8883 * event-stream.c (is_scrollbar_event):
8884 * event-stream.c (execute_command_event):
8885 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8886 crash' problem. His fix introduces other problems. We filter
8887 out scrollbar events specifically, making them somewhat invisible
8888 to command-building, and not appearing in `this-command-keys'.
8889 More work is still needed (see comments in event-stream.c), but
8890 this fixes all the major problems.
8892 2001-04-20 Ben Wing <ben@xemacs.org>
8894 * .cvsignore: Added stuff for Windows.
8896 2001-04-28 Ben Wing <ben@xemacs.org>
8898 * buffer.c (Ferase_buffer):
8899 * editfns.c (buffer_insert1):
8900 * editfns.c (Finsert_before_markers):
8901 * editfns.c (Finsert_string):
8902 * editfns.c (Finsert_char):
8903 * editfns.c (Fdelete_region):
8904 * editfns.c (Fwiden):
8905 * editfns.c (Fnarrow_to_region):
8906 remove bogus lines setting zmacs_region_stays to 0.
8908 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8910 * process-unix.c (unix_open_network_stream): If connect() fails
8911 invalidate file descriptor after closing it.
8913 2001-03-08 Mike Alexander <mta@arbortext.com>
8915 * event-msw.c (mswindows_need_event_in_modal_loop):
8916 Don't dispatch a message if we didn't get one.
8917 (mswindows_need_event):
8918 Terminate the correct process when one exits instead of the first
8919 one on Vprocess_list and look for process termination when in
8920 mswindows_protect_modal_loop.
8922 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8924 * XEmacs 21.4.1 "Copyleft" is released.
8926 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8928 * input-method-motif.c (XIM_delete_frame): New callback.
8929 (XIM_init_frame): Register it.
8931 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8933 * XEmacs 21.4.0 "Solid Vapor" is released.
8935 2001-04-15 Ben Wing <ben@xemacs.org>
8937 * cmdloop.c (call_command_loop):
8938 Fix braino in bit-rotting code.
8940 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8942 * extents.c (Fset_extent_endpoints): Force creation of extent info
8943 in buffer_or_string.
8945 * extents.c (process_extents_for_insertion_mapper): Correctly
8946 check for open-open zero-length extents.
8948 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8950 * lisp.h: New typedefs Memory_count, Element_count.
8953 Sign-compare warning elimination: several unsigned -> signed.
8954 Based on work by Ben Wing <ben@xemacs.org>.
8956 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8958 * XEmacs 21.2.47 "Zephir" is released.
8960 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8962 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8964 2001-04-03 Mike Sperber <mike@xemacs.org>
8966 * search.c: Revert previous patch due because of release.
8968 2001-03-30 Ben Wing <ben@xemacs.org>
8971 Add missing killpg prototype.
8974 Add a comment about fixing problems when a new entry is added
8977 * frame-msw.c (mswindows_init_frame_1):
8978 Fix compile warnings.
8980 * menubar.c (vars_of_menubar):
8981 Provide `menu-accelerator-support' to indicate that we properly
8982 support %_ in menu specifications, so that package code can
8983 conditionalize on this (and remove %_ from menu specifications
8988 * scrollbar-msw.c (can_scroll):
8990 Fix handling of mouse wheel under Windows to follow standards --
8991 now scrolls window under pointer, not selected window.
8993 2001-03-31 Mike Sperber <mike@xemacs.org>
8995 * search.c (Freplace_match): Support FSF-style specification of
8996 match subexpression when applied to a buffer.
8998 2001-03-15 Martin Buchholz <martin@xemacs.org>
9000 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
9001 function to modify KEYMAP, so map over a copy of the hash table.
9003 2001-03-21 Martin Buchholz <martin@xemacs.org>
9005 * XEmacs 21.2.46 "Urania" is released.
9007 2001-03-20 Dan Holmsand <dan@eyebee.com>
9009 * realpath.c (xrealpath): Make file-truename work with symlinks to
9010 /cygdrive paths on cygwin. Always lowercase drive-letters on
9012 (cygwin_readlink): Don't try to find canonical filename unless
9015 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
9017 * ChangeLog: Log GTK merge.
9023 Revert gratuitous whitespace changes from GTK merge.
9025 * emacs.c: Document end of complex #ifdef @ l. 1495.
9028 2001-03-12 Andy Piper <andy@xemacs.org>
9030 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
9031 have to do likewise.
9033 2001-03-12 Andy Piper <andy@xemacs.org>
9035 * sysdep.c: we only support mingw now.
9037 2001-03-09 Andy Piper <andy@xemacs.org>
9039 * unexcw.c (copy_executable_and_dump_data_section): making approx
9040 overrun a warning only.
9042 2001-03-10 William M. Perry <wmperry@aventail.com>
9044 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
9045 satisfy Stephen's identical-after-cpp plea.
9047 2001-03-02 Ben Wing <ben@xemacs.org>
9050 * cmds.c (Fforward_char):
9054 Augment documentation of the most common motion commands to make
9055 note of the shifted-motion support.
9057 2001-03-02 Ben Wing <ben@xemacs.org>
9059 * nt.c (mswindows_fstat):
9060 * nt.c (mswindows_stat):
9061 * search.c (boyer_moore):
9062 Fix compile warnings under Windows.
9064 * sysdep.c (sys_readdir):
9065 Fix buggy filename-conversion code under Mule.
9067 2001-03-09 William M. Perry <wmperry@aventail.com>
9089 * redisplay-output.c:
9095 The Great GTK Merge.
9102 * emacs-widget-accessors.c:
9116 * native-gtk-toolbar.c:
9127 The Great GTK Merge: new files.
9129 2001-02-26 Ben Wing <ben@xemacs.org>
9131 Reapplied Lstream change.
9133 2001-02-26 Ben Wing <ben@xemacs.org>
9135 Undid the last change, since it is more controversial than I
9136 thought. It should be back in at some point soon.
9138 2001-02-25 Ben Wing <ben@xemacs.org>
9141 * callproc.c (Fold_call_process_internal):
9142 * event-msw.c (ntpipe_slurp_reader):
9143 * event-msw.c (ntpipe_shove_writer):
9144 * event-msw.c (winsock_reader):
9145 * event-msw.c (winsock_writer):
9147 * file-coding.c (detect_eol_type):
9148 * file-coding.c (detect_coding_type):
9149 * file-coding.c (determine_real_coding_system):
9150 * file-coding.c (Fdetect_coding_region):
9151 * file-coding.c (decoding_reader):
9152 * file-coding.c (decoding_writer):
9153 * file-coding.c (mule_decode):
9154 * file-coding.c (Fdecode_coding_region):
9155 * file-coding.c (encoding_reader):
9156 * file-coding.c (encoding_writer):
9157 * file-coding.c (mule_encode):
9158 * file-coding.c (Fencode_coding_region):
9159 * file-coding.c (detect_coding_sjis):
9160 * file-coding.c (decode_coding_sjis):
9161 * file-coding.c (encode_coding_sjis):
9162 * file-coding.c (detect_coding_big5):
9163 * file-coding.c (decode_coding_big5):
9164 * file-coding.c (encode_coding_big5):
9165 * file-coding.c (detect_coding_ucs4):
9166 * file-coding.c (decode_coding_ucs4):
9167 * file-coding.c (encode_coding_ucs4):
9168 * file-coding.c (detect_coding_utf8):
9169 * file-coding.c (decode_coding_utf8):
9170 * file-coding.c (encode_coding_utf8):
9171 * file-coding.c (detect_coding_iso2022):
9172 * file-coding.c (decode_coding_iso2022):
9173 * file-coding.c (encode_coding_iso2022):
9174 * file-coding.c (decode_coding_no_conversion):
9175 * file-coding.c (encode_coding_no_conversion):
9176 * glyphs-x.c (write_lisp_string_to_temp_file):
9177 * gpmevent.c (tty_get_foreign_selection):
9180 * lstream.c (Lstream_flush_out):
9181 * lstream.c (Lstream_adding):
9182 * lstream.c (Lstream_write_1):
9183 * lstream.c (Lstream_write):
9184 * lstream.c (Lstream_raw_read):
9185 * lstream.c (Lstream_read_more):
9186 * lstream.c (Lstream_read):
9187 * lstream.c (Lstream_unread):
9188 * lstream.c (Lstream_fputc):
9189 * lstream.c (stdio_reader):
9190 * lstream.c (stdio_writer):
9191 * lstream.c (filedesc_reader):
9192 * lstream.c (filedesc_writer):
9193 * lstream.c (lisp_string_reader):
9194 * lstream.c (struct fixed_buffer_stream):
9195 * lstream.c (make_fixed_buffer_input_stream):
9196 * lstream.c (make_fixed_buffer_output_stream):
9197 * lstream.c (fixed_buffer_reader):
9198 * lstream.c (fixed_buffer_writer):
9199 * lstream.c (struct resizing_buffer_stream):
9200 * lstream.c (resizing_buffer_writer):
9201 * lstream.c (dynarr_writer):
9202 * lstream.c (lisp_buffer_reader):
9203 * lstream.c (lisp_buffer_writer):
9205 * lstream.h (lstream_implementation):
9206 * lstream.h (struct lstream):
9208 * process-nt.c (nt_send_process):
9209 * process-unix.c (unix_send_process):
9211 Correct Lstream lossage due to mixing of signed and unsigned
9212 quantities. All Lstream uses of size_t and ssize_t are now a
9213 single signed data type Lstream_data_count. This fixes problems
9214 under Windows with sending large quantities of data to a process,
9215 and may well fix other subtle bugs.
9217 2001-02-23 Martin Buchholz <martin@xemacs.org>
9219 * XEmacs 21.2.45 "Thelxepeia" is released.
9221 2001-02-21 Martin Buchholz <martin@xemacs.org>
9223 * lisp-union.h (XSETINT):
9226 Reverse previous change of 2001-02-06.
9228 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9230 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9232 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9233 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9234 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9235 * regex.c (POS_AS_IN_BUFFER): removed
9236 * regex.c (re_search_2):
9237 * regex.c (re_match_2):
9238 Don't use an offset of 1 when calculating buffer positions, since
9239 `BI_BUF_BEGV' does it already.
9241 2001-02-18 Wim Dumon <wim@easics.be>
9243 * insdel.c (prepare_to_modify_buffer): Also check for
9244 supersession when clash-detection is enabled.
9246 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9248 * regex.c (re_match_2_internal):
9249 Convert temp characters from 'const unsigned char' to 're_char'.
9250 Fix crashing bug with extended characters under mule.
9251 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9252 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9253 font-lock, pdump, and new syntax-table code.
9254 * syntax.c (find_start_of_comment):
9255 (find_end_of_comment):
9257 Fix crashing bugs involving moving beyond end of buffer.
9258 * syntax.c (find_start_of_comment):
9259 Fixed logic to allow proper detection of cases where the same
9260 character is used to end both a two-char comment start and a
9261 two-char comment end sequence. Fixes `(forward-comment -1)'.
9262 * syntax.c (find_start_of_comment):
9263 Return position just past last comment-end character for all cases
9264 (previously was only done for two-char comment-end sequences).
9265 * syntax.c (forward-comment):
9266 Take value returned from `find_end_of_comment', rather than
9268 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9269 Properly deal with BUFFERP (syntax_cache.object)
9271 2001-02-17 Martin Buchholz <martin@xemacs.org>
9273 * alloc.c (Fgarbage_collect):
9274 * alloc.c (make_bit_vector_from_byte_vector):
9275 -Wsign-compare-correctness.
9277 2001-02-16 Martin Buchholz <martin@xemacs.org>
9279 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9280 (XSETCHAR): Likewise.
9281 (XSETOBJ): Likewise.
9283 2001-02-15 Martin Buchholz <martin@xemacs.org>
9285 * mule-canna.c (canna-func-delete_previous):
9286 Rename to canna-func-delete-previous.
9288 2001-02-14 Martin Buchholz <martin@xemacs.org>
9290 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9292 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9294 * font-lock.c (find_context): Fix C++ compile errors introduced by
9297 2001-02-13 Martin Buchholz <martin@xemacs.org>
9299 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9300 pragma, but earlier ones barf on the same pragma.
9302 2001-02-06 Mike Sperber <mike@xemacs.org>
9304 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9305 `configure-mule-lisp-directory'.
9307 2001-02-12 Martin Buchholz <martin@xemacs.org>
9309 Make sure dump-id.c is compiled in the same way as other .c's.
9310 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9311 * dump-id.h: Remove.
9312 * emacs.c: Move dump-id.h into dumper.h.
9313 * dumper.h: Move dump-id.h into dumper.h.
9315 Use standard .c.o rule for building dump-id.o.
9316 Remove preprocessor flags from link command.
9317 Add dump-id.o to ${otherobjs} if PDUMP.
9319 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9321 Port FSF 20.7 syntax table improvements.
9325 Fixups for new syntax table stuff.
9326 * dired.c: Include syntax.c.
9327 (Fdirectory_files): Initialize regex_match_object and
9329 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9330 and Fget_char_property.
9332 Use ported FSF 20.7 syntax table improvements.
9337 2001-02-09 Martin Buchholz <martin@xemacs.org>
9339 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9340 Unixware's enum boolean from sys/types.h.
9342 2001-02-10 Martin Buchholz <martin@xemacs.org>
9344 Fix support for building with latest Purify.
9345 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9346 (PURIFY_FLAGS): Likewise.
9348 2001-02-09 Martin Buchholz <martin@xemacs.org>
9350 * fileio.c (lisp_string_set_file_times): New.
9351 * fileio.c (Fcopy_file): Use it.
9353 (copy-file filename non-ascii-filename t t)
9354 ==> No such file or directory, non-ascii-filename
9356 2001-02-10 Martin Buchholz <martin@xemacs.org>
9358 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9359 USHRT_MAX seems clearer than ~0 anyways.
9361 2001-02-09 Martin Buchholz <martin@xemacs.org>
9363 dumper improvements. Inspired by Olivier.
9364 * dumper.c (pdump_max_align): New.
9365 * dumper.c (pdump_add_entry): Use pdump_max_align.
9366 * dumper.c (pdump_get_entry_list): Likewise.
9367 * dumper.c (pdump_scan_by_alignment): Likewise.
9368 Don't iterate through unnecessary alignments.
9369 * dumper.c (pdump_file_get): No need to align result of malloc().
9370 * dumper.c (pdump_mallocadr): Remove.
9371 The result of malloc() is guaranteed to be maximally aligned.
9372 * dumper.c: s/elmt/elt/g;
9373 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9374 * dumper.c (pdump_alert_undump_object): Likewise.
9375 * dumper.c (pdump_align_table):
9376 Don't support alignments > 64.
9377 Store ALIGNOF's, not shift counts, in table.
9379 2001-02-09 Martin Buchholz <martin@xemacs.org>
9381 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9382 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9383 * systime.h: Use HAVE_UTIME.
9384 * sysdep.c (struct utimbuf): Remove.
9385 * sysdep.c (set_file_times): Prefer utime() to utimes().
9386 * config.h.in (HAVE_UTIME): New.
9387 * config.h.in (HAVE_UTIME_H): Remove.
9388 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9390 2001-02-09 Martin Buchholz <martin@xemacs.org>
9392 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9394 2001-02-08 Martin Buchholz <martin@xemacs.org>
9396 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9398 2001-02-08 Martin Buchholz <martin@xemacs.org>
9400 * XEmacs 21.2.44 "Thalia" is released.
9402 2001-02-06 Martin Buchholz <martin@xemacs.org>
9404 Fixes crashes in kill-emacs on some systems.
9405 * process-unix.c (unix_kill_child_process):
9406 It's OK for kill() to fail with ESRCH.
9408 2001-02-07 Martin Buchholz <martin@xemacs.org>
9410 Contortions to make .gdbinit tricks work on most systems.
9411 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9412 * alloc.c (dbg_valmask): Make non-const.
9413 * alloc.c (dbg_typemask): Make non-const.
9414 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9415 * alloc.c (dbg_valbits): Make non-const.
9416 * alloc.c (dbg_gctypebits): Make non-const.
9417 * .gdbinit (decode_object): Make it work with AIX cc.
9419 2001-02-06 Martin Buchholz <martin@xemacs.org>
9421 * elhash.c (make_general_lisp_hash_table):
9422 Use simpler and more efficient calloc to clear entries.
9424 2001-02-07 Martin Buchholz <martin@xemacs.org>
9426 * window.c (window_scroll): Work around an AIX C compiler bug.
9427 Fixes 'scroll-up' does nothing problem with xlC.
9429 2001-02-05 Martin Buchholz <martin@xemacs.org>
9431 * .gdbinit: Remove obsolete comment.
9433 2001-01-31 Mike Alexander <mta@arbortext.com>
9435 * select.c (Fown_selection_internal): Set owned_p for device
9438 2001-02-01 Martin Buchholz <martin@xemacs.org>
9441 "not" cannot be used as a macro name as it is an operator in C++
9442 * config.h.in: Stop #defining `not'.
9443 * chartab.c (check_category_char): not ==> not_p
9444 * chartab.h: Likewise.
9445 * regex.c (re_match_2_internal): Likewise.
9447 2001-02-02 Martin Buchholz <martin@xemacs.org>
9449 * lisp-disunion.h: Fix up comments.
9451 2001-01-31 Martin Buchholz <martin@xemacs.org>
9453 * keymap.c (define_key_check_and_coerce_keysym):
9455 Support mouse-6 and mouse-7 bindings in the obvious way.
9457 2001-02-01 Martin Buchholz <martin@xemacs.org>
9459 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9461 2001-01-30 Martin Buchholz <martin@xemacs.org>
9463 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9464 Previous patch missed DEFVAR_INT_MAGIC.
9465 Make sure future DEFVAR_foo use correct types.
9466 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9467 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9468 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9469 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9470 * (DEFVAR_INT): Likewise.
9471 * redisplay.c (vertical_clip): Should be of type Fixnum.
9472 * redisplay.c (horizontal_clip): Likewise.
9473 * lisp.h (dump_add_opaque_int): New.
9474 (dump_add_opaque_fixnum): New.
9476 2001-01-29 Andy Piper <andy@xemacs.org>
9478 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9479 since they can be eval'ed
9481 2001-01-29 Martin Buchholz <martin@xemacs.org>
9483 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9484 Oops, XEmacs redefines `class'. Use `typename' instead.
9486 2001-01-28 Martin Buchholz <martin@xemacs.org>
9488 * dumper.c: Fix C++ compile errors.
9490 2001-01-29 Martin Buchholz <martin@xemacs.org>
9492 * tparam.c: Use correct prototypes.
9494 2001-01-28 Martin Buchholz <martin@xemacs.org>
9496 * sysproc.h: #include util.h for NetBSD's openpty.
9498 2001-01-27 Martin Buchholz <martin@xemacs.org>
9500 More 64-bit correctness.
9501 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9502 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9504 This finally finishes the 64-bit SGI port.
9505 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9506 * symbols.c: Fix up comments and type casts.
9507 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9508 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9509 * symeval.h (Fixnum): New type.
9510 * symeval.h (symbol_value_type): Fix up comment.
9526 * mule-canna.c: A million DEFVAR_INTs here...
9527 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9540 s/int/Fixnum/g in DEFVAR_INT declarations.
9542 2001-01-26 Martin Buchholz <martin@xemacs.org>
9544 Port pdump to SGI alignment-sensitive environment.
9545 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9546 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9548 Define and use aligned reading and writing macros.
9549 Use buffered stdio instead of posix i/o for faster dumping.
9550 Eliminate kludgy 256 byte space for header.
9551 Read and write from dump file using structs for alignment safety.
9552 * dumper.c (pdump_align_stream): New.
9553 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9554 * dumper.c (PDUMP_READ_ALIGNED): New.
9555 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9556 * dumper.c (pdump_static_Lisp_Object): New struct.
9557 * dumper.c (pdump_static_pointer): New struct.
9558 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9559 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9560 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9561 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9563 * dumper.c (pdump_backtrace):
9564 * dumper.c (pdump_get_indirect_count):
9565 * dumper.c (pdump_register_object):
9566 * dumper.c (pdump_register_struct):
9567 * dumper.c (pdump_reloc_one):
9568 * dumper.c (pdump_scan_by_alignment):
9569 * dumper.c (pdump_dump_from_root_struct_ptrs):
9570 * dumper.c (pdump_dump_opaques):
9571 * dumper.c (pdump_dump_rtables):
9572 * dumper.c (pdump_dump_from_root_objects):
9574 * dumper.c (pdump_load_finish):
9575 Use aligned reading and writing.
9577 * dumper.c (pdump_free): Make static.
9578 * dumper.c (pdump_hFile): Likewise.
9579 * dumper.c (pdump_hMap): Likewise.
9581 2001-01-26 Martin Buchholz <martin@xemacs.org>
9583 * XEmacs 21.2.43 "Terspichore" is released.
9585 2001-01-25 Martin Buchholz <martin@xemacs.org>
9587 Type fiddling for window_config.saved_windows_count
9588 * window.c (struct window_config):
9589 Make saved_windows_count member unsigned.
9590 * window.c (sizeof_window_config_for_n_windows):
9591 Make parameter unsigned.
9592 * window.c (mark_window_config):
9593 * window.c (window_config_equal):
9594 * window.c (free_window_configuration):
9595 * window.c (Fset_window_configuration):
9596 * window.c (count_windows):
9597 * window.c (Fcurrent_window_configuration):
9598 * window.c (reinit_vars_of_window):
9599 Update all callers and users.
9601 2001-01-25 Martin Buchholz <martin@xemacs.org>
9603 Alignment correctness for flexible arrays.
9604 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9605 Make alignment-correct. Add interesting comments.
9606 * alloc.c (size_vector):
9607 * alloc.c (make_vector_internal):
9608 * alloc.c (make_bit_vector_internal):
9609 * alloc.c (sweep_bit_vectors_1):
9610 * fns.c (size_bit_vector):
9611 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9612 * window.c (sizeof_window_config_for_n_windows):
9613 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9615 2001-01-24 Martin Buchholz <martin@xemacs.org>
9617 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9619 2001-01-23 Andy Piper <andy@xemacs.org>
9621 * select.c (Fown_selection_internal): pass owned_p
9623 * select-msw.c (mswindows_own_selection): New Signature.
9625 * console.h (struct console_methods): add owned_p to
9628 * select-x.c (x_own_selection): pass owned_p
9629 (hack_motif_clipboard_selection): use owned_p
9630 (vars_of_select_x): new variable -
9631 x_selection_strict_motif_ownership.
9633 2001-01-23 Martin Buchholz <martin@xemacs.org>
9635 * specifier.h (specifier_data_offset): Remove pointless parens.
9636 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9638 2001-01-24 Martin Buchholz <martin@xemacs.org>
9640 Make Lisp_Object sizeof methods be alignment-correct.
9641 pdump must restore objects to the same alignment as the C compiler
9642 assumes. It really matters on SGIs.
9643 * lstream.c (aligned_sizeof_lstream): New.
9644 (sizeof_lstream): Use aligned_sizeof_lstream.
9645 (Lstream_new): Likewise.
9646 * opaque.c (aligned_sizeof_opaque): New.
9647 (sizeof_opaque): Use aligned_sizeof_opaque.
9648 (make_opaque): Likewise.
9649 * specifier.c (aligned_sizeof_specifier): New.
9650 (sizeof_specifier): Use aligned_sizeof_specifier.
9651 (make_specifier_internal): Likewise.
9653 2001-01-23 Martin Buchholz <martin@xemacs.org>
9655 * lstream.h (struct lstream): Use max_align_t for trailing data.
9656 * specifier.h (struct Lisp_Specifier): Likewise.
9658 2001-01-22 Martin Buchholz <martin@xemacs.org>
9660 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9661 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9662 (CCL_SUSPEND): Likewise.
9663 (CCL_INVALID_CMD): Likewise.
9664 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9665 (ccl_driver): Likewise.
9666 (CCL_WRITE_CHAR): Macro hygiene.
9667 (CCL_WRITE_STRING): Macro hygiene.
9669 2001-01-22 Martin Buchholz <martin@xemacs.org>
9671 Port "portable" dumper to SunOS 4 and HP-UX.
9672 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9673 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9674 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9676 2001-01-22 Martin Buchholz <martin@xemacs.org>
9678 * lisp.h (ALIGNOF): A better definition for C++.
9680 2001-01-20 Martin Buchholz <martin@xemacs.org>
9683 Fix printf warnings: int format, long int arg.
9684 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9685 (PUSH_FAILURE_POINT): Use correct printf formats.
9686 (POP_FAILURE_POINT): Use correct printf formats.
9687 Use do {...} while (0)
9689 2001-01-20 Martin Buchholz <martin@xemacs.org>
9691 * XEmacs 21.2.42 "Poseidon" is released.
9693 2001-01-20 Martin Buchholz <martin@xemacs.org>
9695 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9697 2001-01-19 Martin Buchholz <martin@xemacs.org>
9699 De-kludgify FIXED_TYPE free list frobbing.
9700 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9701 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9702 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9703 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9704 * alloc.c (LRECORD_FREE_P): New.
9705 * alloc.c (MARK_LRECORD_AS_FREE): New.
9706 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9707 * alloc.c (STRUCT_FREE_P): Deleted.
9708 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9709 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9710 * alloc.c (STRING_CHARS_FREE_P): New.
9711 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9712 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9713 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9714 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9715 * alloc.c (resize_string): Use new definitions.
9716 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9717 * alloc.c (verify_string_chars_integrity): Use new definitions.
9718 * alloc.c (compact_string_chars): Use new definitions.
9719 * alloc.c: Update monster comments.
9720 * lrecord.h (lrecord_type): Add some new lrecord types for
9723 2001-01-18 Martin Buchholz <martin@xemacs.org>
9725 Improve alignment hackery.
9726 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9727 (max_align_t): Moved from opaque.h - general purpose.
9728 (ALIGN_PTR): Use size_t, not long.
9729 * opaque.h (max_align_t): Move to lisp.h.
9731 2001-01-18 Norbert Koch <nk@LF.net>
9733 * gui.h: Fix and add prototypes to fix build problems.
9735 2001-01-18 Martin Buchholz <martin@xemacs.org>
9737 temacs is going away, so `dump-temacs' is now a bad name.
9738 * .dbxrc (dump-temacs): Rename to `dmp'.
9739 * .gdbinit (dump-temacs): Rename to `dmp'.
9741 2001-01-17 Andy Piper <andy@xemacs.org>
9743 * glyphs.c (print_image_instance): comment to make martin happy.
9745 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9748 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9750 (mswindows_tab_control_redisplay): warning suppression.
9752 * glyphs-widget.c (widget_update): re-write to cope with updated
9754 (widget_instantiate): use new gui_item functions.
9755 (tab_control_update): deleted.
9756 (progress_gauge_update): deleted.
9757 (image_instantiator_progress_guage): take out update reference.
9758 (image_instantiator_tree_view): ditto.
9759 (image_instantiator_tab_control): ditto.
9761 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9763 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9764 return whether anything was changed.
9765 (update_gui_item_keywords): as it sounds.
9767 * gui.h: declare widget_gui_parse_item_keywords.
9769 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9770 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9772 2001-01-17 Martin Buchholz <martin@xemacs.org>
9774 * XEmacs 21.2.41 "Polyhymnia" is released.
9776 2001-01-16 Didier Verna <didier@xemacs.org>
9778 * glyphs.c (image_instantiate): don't use fallbacks when
9779 instantiating a face's background pixmap by inheritance.
9781 2001-01-14 Mike Sperber <mike@xemacs.org>
9783 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9784 Conditionalize accordingly.
9786 2001-01-16 Martin Buchholz <martin@xemacs.org>
9788 * dumper.c (pdump_file_get): Fix a compiler warning.
9790 2001-01-15 Martin Buchholz <martin@xemacs.org>
9792 Make Purify happy when pdumping.
9793 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9794 iniitalizing all bits of new lisp object memory.
9795 * symbols.c (Fmake_local_variable): Likewise.
9796 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9797 * symbols.c (Fdefvaralias): Likewise.
9798 * mule-charset.c (vars_of_mule_charset): Likewise.
9800 2001-01-15 Martin Buchholz <martin@xemacs.org>
9801 Add the `-nd' flag when running pre-dump operations under the debugger.
9802 * .dbxrc (run-temacs): Add `-nd'.
9803 * .dbxrc (update-elc): Likewise.
9804 * .dbxrc (dump-temacs): Likewise.
9805 * .gdbinit (run-temacs): Likewise.
9806 * .gdbinit (check-temacs): Likewise.
9807 * .gdbinit (update-elc): Likewise.
9808 * .gdbinit (dump-temacs): Likewise.
9810 2001-01-14 Martin Buchholz <martin@xemacs.org>
9812 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9813 export OBJECT_MODE=64
9814 configure --pdump --use-union-type=no
9815 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9816 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9818 * miscplay.c (sndcnv8U_2mono):
9819 Avoid two uses of `++' in the same expression.
9820 Suppresses a GCC warning.
9822 2001-01-13 Martin Buchholz <martin@xemacs.org>
9824 Make sure future compilers don't miscompile alloc.c.
9826 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9827 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9829 2001-01-12 Martin Buchholz <martin@xemacs.org>
9831 * dumper.c: A little post-pdump-rename comment fixup.
9833 2001-01-09 Jerry James <james@eecs.ku.edu>
9835 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9837 2001-01-13 Martin Buchholz <martin@xemacs.org>
9839 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9843 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9846 replace_symbol pdump_wire_lists pdump_weak_object_chains
9847 replace_symbol pdump_wire_list dump_add_weak_object_chain
9849 replace_symbol pdump_wires pdump_root_objects
9850 replace_symbol pdump_wire dump_add_root_object
9852 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9853 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9855 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9856 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9857 replace_symbol dumpstructinfo pdump_root_struct_ptr
9858 replace_symbol dumpstruct dump_add_root_struct_ptr
9860 replace_symbol dumpopaque dump_add_opaque
9861 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9862 replace_symbol dumpopaqueinfos pdump_opaques
9863 replace_symbol dumpopaqueinfo pdump_opaque
9865 replace_symbol nb_structdump nb_root_struct_ptrs
9866 replace_symbol nb_opaquedump nb_opaques
9868 replace_symbol align_table pdump_align_table
9869 replace_symbol dump_header pdump_header
9871 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9872 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9875 2001-01-12 Martin Buchholz <martin@xemacs.org>
9877 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9878 optimizing bytecount_to_charcount().
9880 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9883 (HAVE_DLFCN_H): Removed.
9884 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9886 2001-01-06 Martin Buchholz <martin@xemacs.org>
9888 Portable dumper maintainability improvements.
9889 * alloc.c (staticpro):
9890 * alloc.c (staticpro_nodump):
9891 * alloc.c (garbage_collect_1):
9892 * alloc.c (reinit_alloc_once_early):
9893 * alloc.c (init_alloc_once_early):
9894 * alloc.c: Move dumper functions to alloc.c.
9895 * dumper.c (pdump_backtrace):
9896 * dumper.c (pdump_dump_structs):
9897 * dumper.c (pdump_dump_opaques):
9898 * dumper.c (pdump_dump_rtables):
9899 * dumper.c (pdump_dump_wired):
9901 * dumper.c (pdump_load_check):
9902 * dumper.c (pdump_load_finish):
9903 * dumper.c (pdump_file_unmap):
9904 * dumper.c (pdump_file_get):
9905 * dumper.c (pdump_resource_free):
9906 * dumper.c (pdump_resource_get):
9907 * dumper.c (pdump_file_free):
9908 * dumper.c (pdump_file_try):
9909 * dumper.c (pdump_load):
9910 Remove fixed size limits on staticpro(), staticpro_nodump(),
9911 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9912 Remove custom code for dumping lrecord_implementations_table - use
9914 Remove (most of the) custom code for dumping staticpros - dump it
9915 like any other dynarr.
9917 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9918 * dumper.c: Moved functions from alloc.c.
9919 * alloc.c (dumpstruct): Moved to dumper.c.
9920 * alloc.c (dumpopaque): Likewise.
9921 * alloc.c (pdump_wire): Likewise.
9922 * alloc.c (pdump_wire_list): Likewise.
9924 * lisp.h (Dynarr_sizeof): New.
9925 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9926 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9927 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9929 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9930 * lisp.h (dumpopaque): ditto.
9931 * lisp.h (pdump_wire): ditto.
9932 * lisp.h (pdump_wire_list): ditto.
9934 2001-01-09 Martin Buchholz <martin@xemacs.org>
9936 * make-src-depend (PrintPatternDeps):
9937 Use `sort' to make output independent of perl version.
9939 2001-01-08 Martin Buchholz <martin@xemacs.org>
9942 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9943 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9945 2001-01-03 Didier Verna <didier@xemacs.org>
9947 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9948 that `focus_frame' is alive before thinking of calling
9949 `redisplay_redraw_cursor' on it.
9951 2001-01-08 Martin Buchholz <martin@xemacs.org>
9953 * XEmacs 21.2.40 is released.
9955 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9957 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9959 2001-01-06 Martin Buchholz <martin@xemacs.org>
9961 * alloc.c (dbg_valmask): Make const.
9962 * alloc.c (dbg_typemask): Make const.
9963 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9964 * alloc.c (dbg_valbits): Make const.
9965 * alloc.c (dbg_gctypebits): Make const.
9967 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9969 * redisplay-x.c (x_bevel_area):
9970 redisplay.h (struct rune):
9971 Typo fixes in comments.
9973 2001-01-05 Andy Piper <andy@xemacs.org>
9975 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9978 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9980 2001-01-05 Martin Buchholz <martin@xemacs.org>
9982 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9984 * mule-ccl.c (stack_idx_of_map_multiple):
9985 Non const global data must not be initialized!
9986 Found by MIYASHITA Hisashi.
9988 2001-01-02 Andy Piper <andy@xemacs.org>
9990 * frame.c (change_frame_size): make sure frame size is always
9993 * glyphs.c (image_instance_layout): minor code reuse.
9995 * window.c (Fcurrent_window_configuration): revert previous
9998 2001-01-02 Martin Buchholz <martin@xemacs.org>
10001 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
10003 2000-12-31 Andy Piper <andy@xemacs.org>
10005 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
10006 when widget gets unmapped.
10008 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
10009 function. Make sure widgets losing focus don't just drop it.
10010 (handle_focus_event_1): record the widget with focus.
10012 2000-12-31 Andy Piper <andy@xemacs.org>
10014 * window.c (allocate_window): use
10015 make_image_instance_cache_hash_table.
10016 (make_dummy_parent): ditto.
10017 (Fset_window_configuration): ditto.
10019 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
10021 * glyphs.c (process_image_string_instantiator): use
10023 (get_image_instantiator_governing_domain): ditto.
10024 (normalize_image_instantiator): ditto.
10025 (instantiate_image_instantiator): ditto.
10026 (make_image_instance_1): ditto.
10027 (image_instantiate): ditto. Key on glyph *and* instantiator type.
10028 (instantiator_eq_equal): new function for use with instance hash
10030 (instantiator_eq_hash): ditto.
10031 (make_image_instance_cache_hash_table): create a suitable hash
10032 table for storing image instances.
10034 * elhash.h (hash_table_weakness): new internal weakness type
10035 HASH_TABLE_KEY_CAR_VALUE_WEAK.
10036 declare new functions.
10038 * elhash.c (finish_marking_weak_hash_tables): introduce yet
10039 another weakness type for glyphs.
10040 (make_standard_lisp_hash_table): new function split out from
10041 make_general_lisp_hash_table.
10042 (make_lisp_hash_table): call make_standard_lisp_hash_table.
10043 (hash_table_instantiate): ditto.
10044 (Fmake_hash_table): ditto.
10046 2000-12-31 Martin Buchholz <martin@xemacs.org>
10048 * XEmacs 21.2.39 is released.
10050 2000-12-29 Andy Piper <andy@xemacs.org>
10052 * menubar.c (menubar_visible_p_changed): signal the frame changed.
10054 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
10055 the frame has changed so that we pick up geometry changes such as
10056 menubar visibility.
10058 2000-12-28 Andy Piper <andy@xemacs.org>
10060 * lastfile.c (my_ebss): make a char array so we can pad the
10061 bss. Fixes cygwin unexec.
10063 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
10065 2000-12-26 Andy Piper <andy@xemacs.org>
10067 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
10068 comments and try and be more precise about a non-/SIGIO world.
10069 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
10072 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
10073 we don't normalize to zero width or height.
10075 2000-12-24 Andy Piper <andy@xemacs.org>
10077 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10079 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10081 * s/sco5.h: SCO 5 has pty support.
10083 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10085 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10086 input-method-xlib.c contains whole contents of input-method-xfs.c,
10087 so we can use input-method-xlib.c's code for USE_XFONTSET
10089 * input-method-xfs.c: removed.
10091 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10093 * file-coding.h (enum coding_category_type): reorder enumerators to
10094 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10095 (now one greater than largest real coding_category_type enumerator).
10096 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10097 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10098 Fcoding_category_list, Fset_coding_priority_list,
10099 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10100 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10102 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10104 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10105 * redisplay-output.c (redisplay_output_window): Clear top of window
10106 when face is changed.
10107 * redisplay-x.c (x_redraw_exposed_window): Call
10108 redisplay_clear_top_of_window.
10109 * redisplay.h: Publish redisplay_clear_top_of_window.
10111 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10113 * buffer.c (Fkill_buffer): Map over all devices.
10114 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10115 (list_windows): New function.
10116 (list_all_windows): Ditto.
10117 (Freplace_buffer_in_windows): Use them.
10119 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10121 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10122 (Fopen_database): Use `db_create' instead of `db_open'.
10123 (syms_of_database): Initialize Qqueue.
10125 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10127 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10128 buffer_local_face_property.
10129 * buffer.h (struct buffer): New member buffer_local_face_property.
10130 * window.c (Fset_window_buffer): Mark window's face as changed
10131 when buffer has buffer local face.
10132 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10133 * objects.c (color_after_change): Set buffer_local_face_property
10134 when locale of face specifier is buffer.
10135 * objects.c (font_after_change): Ditto.
10136 * objects.c (face_boolean_after_change): Ditto.
10137 * glyphs.c (image_after_change): Ditto.
10139 2000-12-09 Dan Holmsand <dan@eyebee.com>
10141 * nt.c (mswindows_fstat): Report file permissions, volume serial
10142 number, etc. Code adapted from FSF Emacs 20.7.
10144 2000-12-09 Dan Holmsand <dan@eyebee.com>
10146 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10147 of stat when we don't have symbolic links, to make sure
10148 mswindows_stat is called on mswindows.
10150 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10152 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10154 2000-12-12 Martin Buchholz <martin@xemacs.org>
10156 * doprnt.c (emacs_doprnt_1): More printing fixes.
10157 Make printing of numbers compatible with libc and FSF Emacs.
10158 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10159 Use the system printf to do most of the hard work of formatting,
10160 instead of doprnt_1().
10161 Calculate memory to allocate for format string.
10162 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10163 (doprnt_1): Cleaner code and documentation.
10165 2000-12-01 Jerry James <james@eecs.ukans.edu>
10167 * Makefile.in.in: Use the loop variable to install headers.
10169 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10171 * window.c (Fsplit_window): Don't invalidate face cache.
10173 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10175 * minibuf.c (Fall_completions): Undo the previous change
10176 which removed checking elements start with space.
10178 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10180 * mule-canna.c: Didier suppression.
10182 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10184 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10185 (warning suppression). Add English comment translations.
10187 2000-12-05 Martin Buchholz <martin@xemacs.org>
10189 * unexelfsgi.c (unexec): Better test for mmap failure.
10191 2000-12-05 Martin Buchholz <martin@xemacs.org>
10193 * XEmacs 21.2.38 is released.
10195 2000-12-05 Martin Buchholz <martin@xemacs.org>
10197 * redisplay.c (bar-cursor): Make a user variable.
10199 * symsinit.h: Add init_postgresql_from_environment.
10201 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10203 * regex.c: Convert to clean C.
10205 2000-12-05 Dan Holmsand <dan@eyebee.com>
10208 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10210 (sys_readlink): renamed to system_readlink to avoid conflict with
10211 the other sys_readlink.
10213 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10215 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10217 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10219 * postgresql.c (init_postgresql_from_environment): new function.
10220 (vars_of_postgresql): Move code initializing Lisp variables out and
10221 into init_postgresql_from_environment.
10222 emacs.c (main_1): Call init_postgresql_from_environment if and only
10223 if running a dumped XEmacs.
10225 2000-08-31 Dan Holmsand <dan@eyebee.com>
10227 * buffer.c: Make find-file-compare-truenames default to true on
10230 * realpath.c (win32_abs_start):
10232 (win32_readlink): New functions.
10233 (xrealpath): Return really real filenames on windows.
10235 * fileio.c (Ffile_truename): Make file-truename work on windows.
10237 2000-11-29 Didier Verna <didier@xemacs.org>
10239 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10240 * faces.c (update_face_cachel_data): use it.
10241 * faces.c (add_face_cachel): use it. Complete background pixmap
10242 frobbing in face cache if `update_face_cachel_data' has not done so.
10244 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10246 * search.c (string_match_1): Don't set last_thing_searched
10247 when search failed.
10249 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10251 * buffer.c: Include casetab.h
10252 (common_init_complex_vars_of_buffer): Use new case-table object.
10253 * buffer.h: Include casetab.h
10254 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10255 (DOWNCASE_TABLE_OF): Ditto.
10256 * bufslots.h: Remove char-tables and add case-table.
10257 * casetab.c: Include casetab.h
10258 (CASE_TABLE_P): Removed.
10259 (mark_case_table): New function.
10260 (allocate_case_table): New function.
10261 (Fcase_table_p): Use new case-table.
10262 (case_table_char): New function.
10263 (Fget_case_table): Ditto.
10264 (Fput_case_table): Ditto.
10265 (Fput_case_table_pair): Ditto.
10266 (Fcopy_case_table): Ditto.
10267 (Fcurrent_case_table): Return case-table.
10268 (Fstandard_case_table): Return case-table.
10269 (Fset_case_table): Fix doc-string.
10270 (set_case_table): Use case-table
10271 (syms_of_casetab): DEFSUBR new functions.
10272 (complex_vars_of_casetab): Set up standard case-table.
10273 * casetab.h: New file.
10274 * editfns.c: Include casetab.h
10275 (Fcompare_buffer_substrings): Use case-table.
10276 * inline.c: Include casetab.h
10277 * lisp.h: Remove bogus extern.
10278 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10279 * search.c: Include casetab.h
10280 (TRANSLATE_ASCII): Removed.
10281 (TRANSLATE): Unconditionally translate character.
10282 (looking_at_1): Use case-table.
10283 (string_match_1): Ditto.
10284 (fast_string_match): Ditto.
10285 (search_command): Ditto.
10286 (search_buffer): Separate boyer_moore. Check whether
10287 boyer_moore is possible.
10288 (simple_search): New function.
10289 (boyer_moore): Separated from search_buffer. Translate char.
10291 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10293 * regex.c (RE_TR_ASCII): Removed.
10294 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10295 (PATFETCH): Call PATFETCH_RAW.
10296 (PATFETCH_RAW): Fetch Emchar.
10297 (PATUNFETCH): Decrement charptr.
10298 (GET_BUFFER_SPACE): Rename b to buf_end.
10300 (BUF_PUSH_2): Ditto.
10301 (BUF_PUSH_3): Ditto.
10302 (EXTEND_BUFFER): Ditto.
10303 (SET_LIST_BIT): Ditto.
10304 (regex_compile): Ditto. Translate non ASCII char.
10305 (compile_range): Ditto.
10306 (re_search_2): Ditto.
10307 (re_match_2_internal): Compare Emchar.
10308 (bcmp_translate): Ditto.
10310 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10312 * lisp.h (basic char/int typedefs): comment improvement.
10314 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10316 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10317 unstomp inhibit_site_lisp. Improve comments.
10319 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10321 * mule-charset.c (Fcharset_property): improve type checking, comments.
10323 2000-11-28 Andy Piper <andy@xemacs.org>
10325 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10326 clipped display for windows in the gutter also.
10327 (redisplay_display_boxes_in_window_p): change semantics of return
10328 codes to be more intuitive.
10330 * gutter.h: declare display_boxes_in_gutter_p.
10332 * gutter.c (display_boxes_in_gutter_p): new function for
10335 2000-11-22 Andy Piper <andy@xemacs.org>
10337 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10340 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10342 * callproc.c (Fold_call_process_internal):
10343 * gpm.c (Freceive_gpm_event):
10344 (tty_get_foreign_selection): Might be just warning supression.
10345 * fileio.c (Fwrite_region_internal):
10346 (Fset_visited_file_modtime):
10347 * keymap.c (event_matches_key_specifier_p):
10348 Initialize GCPROed variable.
10350 * menubar-x.c (command_builder_find_menu_accelerator):
10351 Initialize before use.
10353 2000-11-23 Andy Piper <andy@xemacs.org>
10355 * unexcw.c (unexec): make the resulting executable executable.
10357 2000-11-21 Martin Buchholz <martin@xemacs.org>
10359 * doc.c (get_doc_string):
10360 Use size_t, not int, for result of XSTRING_LENGTH.
10362 * cmds.c (Fdelete_char):
10363 * cmds.c (Fpoint_at_eol):
10364 * cmds.c (Fself_insert_command):
10365 Use EMACS_INT, not int, for result of XINT.
10366 Someday, someone will want to insert more than 2**31 identical characters.
10368 * cmds.c (Fdelete_char):
10369 * cmds.c (Fdelete_backward_char):
10370 * syntax.c (Fforward_word):
10371 * syntax.c (Fforward_comment):
10372 Make COUNT argument optional, for consistency with forward-char et al.
10374 2000-11-22 Martin Buchholz <martin@xemacs.org>
10377 * print.c (long_to_string):
10378 Return a useful value: the pointer at end of data written.
10381 Use `static const char * const' for constant strings.
10382 (union printf_arg): Delete `i', `ui' members.
10385 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10386 Do all printf-ing via the `l' specifier.
10387 Use EMACS_INT instead of int.
10390 2000-11-20 Didier Verna <didier@xemacs.org>
10392 * faces.c (update_face_cachel_data): don't frob the background
10393 pixmap when the window is being created. The face is needed but
10394 does not exist yet.
10396 2000-11-20 Andy Piper <andy@xemacs.org>
10398 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10399 messing with a debug environment.
10401 2000-11-20 Martin Buchholz <martin@xemacs.org>
10403 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10405 2000-11-20 Martin Buchholz <martin@xemacs.org>
10407 * casetab.c (Fcase_table_p): Fix compile error and crash.
10409 2000-11-18 Philip Aston <philipa@mail.com>
10411 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10413 2000-11-18 Martin Buchholz <martin@xemacs.org>
10415 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10416 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10418 2000-11-17 Martin Buchholz <martin@xemacs.org>
10420 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10421 * unexelf.c: Use HAVE_ELF_H.
10422 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10423 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10424 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10425 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10427 So this is an unexelfsgi.c from a different line of development.
10429 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10431 * regex.c (RE_TR_ASCII): New function.
10432 (RE_TRANSLATE): Call it.
10434 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10436 * buffer.h (TRT_TABLE_OF): Remove assert.
10437 (IN_TRT_TABLE_DOMAIN): Removed.
10439 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10441 * free-hook.c (log_gcpro):
10442 (show_gcprohist): Add support for GCPRO5.
10444 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10446 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10448 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10450 * symeval.h: Declare flush_all_buffer_local_cache.
10452 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10453 (flush_buffer_local_cache): Added.
10454 (flush_all_buffer_local_cache): Added.
10456 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10458 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10459 (pdump_dump_data): Ditto.
10460 (pdump_reloc_one): Ditto.
10461 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10465 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10467 * buffer.c: Remove if 0'ed entry.
10468 * buffer.h: Rewrite TRT to use char-table.
10469 * bufslots.h: Remove mirror tables.
10470 * casetab.c: Remove mirror tables.
10471 (CASE_TABLE_P): New macro.
10472 (Fcase_table_p): Element of a case table is string or char-table.
10473 (make_mirror_trt_table): Removed.
10474 (set_case_table): Setup char-table from strings for backward
10476 * dired.c (Fdirectory_files):
10477 * dired-msw.c: (mswindows_get_files):
10478 * lisp.h: Change prototype of re_pattern_buffer.
10479 * regex.c: (RE_TRANSLATE): New macro.
10480 (TRANSLATE_P): Ditto.
10481 Change translate to type RE_TRANSLATE_TYPE.
10482 * regex.h: Define RE_TRANSLATE_TYPE
10483 * search.c (TRANSLATE): New macro.
10484 (TRANSLATE_ASCII): New macro.
10485 Translate table is changed to Lisp_Object.
10486 (signal_failure): Inhibit return.
10488 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10495 Do UNGCPRO before return.
10497 2000-11-14 Martin Buchholz <martin@xemacs.org>
10499 * XEmacs 21.2.37 is released.
10501 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10503 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10504 Add comments about discarded return value.
10506 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10509 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10511 2000-10-27 Andy Piper <andy@xemacs.org>
10513 * gutter.c (Fset_default_gutter_position): default left and right
10514 gutters to visible.
10515 (calculate_gutter_size): calculate resonable heuristic for left
10516 and right gutter sizes.
10517 (specifier_vars_of_gutter): change left and right gutter sizes to
10519 (calculate_gutter_size_from_display_lines): new function.
10520 (output_gutter): check for resizing on left and right gutters.
10521 (clear_gutter): don't special case top and left gutters.
10522 (specifier_vars_of_gutter): use new signature for
10523 set_specifier_caching.
10525 * glyphs-x.c (x_redisplay_widget): spelling fix.
10526 * glyphs.c (specifier_vars_of_glyphs):
10527 * menubar.c (specifier_vars_of_menubar):
10528 * redisplay.c (specifier_vars_of_redisplay):
10529 * toolbar.c (specifier_vars_of_toolbar):
10530 * window.c (specifier_vars_of_window):
10531 * scrollbar.c (specifier_vars_of_scrollbar):
10532 (complex_vars_of_scrollbar): use new signature for
10533 set_specifier_caching.
10535 * specifier.c (set_specifier_caching): include recompute flag.
10536 (recompute_one_cached_specifier_in_window): always recompute if
10538 (recompute_one_cached_specifier_in_frame): ditto.
10540 * specifier.h (struct specifier_caching): add recompute flag.
10542 2000-10-24 Andy Piper <andy@xemacs.org>
10544 * unexcw.c (copy_executable_and_dump_data_section): add new
10545 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10548 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10550 * console-x.h (x_device): New member modifier_release_time.
10551 * event-Xt.c (x_handle_sticky_modifiers):
10552 Bound interval modifier keys are sticky.
10553 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10554 * events.h: extern it.
10556 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10558 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10560 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10562 * event-stream.c (execute_command_event): Preserve current_events
10563 and the like when event is misc-user-event.
10564 Inhibit quit during the call to maybe_echo_keys.
10566 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10568 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10569 symlink when buffer is killed.
10570 (inhibit_clash_detection): New variable.
10572 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10574 * console.c (Fset_input_method): Trigger redisplay on tty.
10576 2000-11-07 Martin Buchholz <martin@xemacs.org>
10578 * process.c (Fprocess_status): Revert to previous behavior:
10579 (process-status "nosuchprocess") ==> nil
10581 2000-11-06 Martin Buchholz <martin@xemacs.org>
10583 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10584 Work around another GCC 2.95.2 optimizer bug.
10586 2000-11-02 Martin Buchholz <martin@xemacs.org>
10588 * process.c (Fget_process): Use LIST_LOOP_2.
10589 (kill_buffer_processes): Use LIST_LOOP_2.
10591 * minibuf.c (Fall_completions):
10592 Delete old non-functional code for FSF fourth argument.
10594 * frame.c (frame_matches_frame_spec):
10595 Renamed from `frame_matches_frametype'. Update all callers.
10596 (device_matches_device_spec):
10597 Renamed from 'device_matches_console_spec'. Update all callers.
10599 * doc.c (Fsubstitute_command_keys):
10600 Remove buffer overflow crash. Small code cleanups.
10602 * casetab.c (check_case_table): Simpler code.
10604 * window.c (Freplace_buffer_in_windows):
10605 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10606 (and similar implementation) as Fdelete_windows_on.
10607 Update all callers.
10609 * alloc.c (Fmake_list):
10610 * alloc.c (make_vector):
10611 * alloc.c (Fmake_vector):
10612 * alloc.c (make_bit_vector):
10613 * alloc.c (Fmake_bit_vector):
10614 * alloc.c (Fbit_vector):
10615 * alloc.c (Fmake_string):
10616 * alloc.c (Fpurecopy):
10617 * alloc.c (Fmemory_limit):
10619 * buffer.c (Fget_buffer):
10620 * buffer.c (Fkill_buffer):
10621 * buffer.c (complex_vars_of_buffer):
10622 * bytecode.c (Fcompiled_function_stack_depth):
10623 * callint.c (Fprefix_numeric_value):
10625 * event-stream.c (Fread_key_sequence):
10627 * casetab.c (Fcase_table_p):
10628 * casetab.c (check_case_table):
10629 * casetab.c (Fset_case_table):
10630 * casetab.c (Fset_standard_case_table):
10632 * chartab.c (Fchar_table_type):
10633 * chartab.c (Freset_char_table):
10634 * chartab.c (Fget_char_table):
10635 * chartab.c (Fget_range_char_table):
10636 * chartab.c (Fput_char_table):
10637 * chartab.c (Fmap_char_table):
10638 * chartab.c (Fcategory_table_p):
10639 * chartab.c (Fcheck_category_at):
10640 * chartab.c (Fchar_in_category_p):
10641 * chartab.c (Fcategory_table):
10642 * chartab.c (Fcopy_category_table):
10643 * chartab.c (Fset_category_table):
10644 * chartab.c (Fcategory_designator_p):
10645 * chartab.c (Fcategory_table_value_p):
10646 * cmds.c (Fdelete_char):
10647 * cmds.c (Fdelete_backward_char):
10648 * cmds.c (Fself_insert_command):
10649 * cmds.c (Fself_insert_internal):
10650 * console.c (Fvalid_console_type_p):
10651 * console.c (Fcdfw_console):
10652 * console.c (Fconsole_type):
10653 * console.c (Fconsole_name):
10654 * console.c (Fconsole_device_list):
10655 * console.c (Fconsole_on_window_system_p):
10658 * data.c (Fold_eq):
10659 * data.c (Fsubr_interactive):
10660 * data.c (Fchar_to_int):
10661 * data.c (Fint_to_char):
10662 * data.c (Fsetcar):
10663 * data.c (Fsetcdr):
10664 * data.c (Fnumber_to_string):
10665 * data.c (Fstring_to_number):
10667 * database.c (mark_database):
10668 * database.c (finalize_database):
10669 * database.c (Fdatabase_live_p):
10670 * database.c (Fdatabasep):
10671 * device-x.c (Fx_get_resource):
10672 * device.c (Fdfw_device):
10674 * dired.c (Ffile_name_completion):
10675 * dired.c (Ffile_name_all_completions):
10676 * dired.c (Fuser_name_completion):
10677 * dired.c (Fuser_name_completion_1):
10678 * dired.c (Fuser_name_all_completions):
10679 * doc.c (Fdocumentation):
10680 * doc.c (Fdocumentation_property):
10681 * doc.c (Fsubstitute_command_keys):
10683 * editfns.c (Fchar_to_string):
10684 * editfns.c (Fstring_to_char):
10685 * editfns.c (Ftemp_directory):
10686 * editfns.c (Finsert_char):
10687 * editfns.c (Fbuffer_substring_no_properties):
10688 * editfns.c (Fnarrow_to_region):
10689 * editfns.c (Fchar_equal):
10690 * editfns.c (Fchar_Equal):
10691 * editfns.c (Ftranspose_regions):
10692 * emacs.c (Fdump_emacs):
10694 * eval.c (Fcommand_execute):
10695 * eval.c (Fautoload):
10696 * eval.c (Fbacktrace):
10697 * eval.c (Fbacktrace_frame):
10699 * events.c (Fcopy_event):
10700 * events.c (Fcharacter_to_event):
10701 * events.c (Fevent_button):
10702 * events.c (Fevent_process):
10704 * extents.c (Fnext_extent_change):
10705 * extents.c (Fextent_property):
10706 * faces.c (Ffacep):
10707 * faces.c (Fmake_face):
10709 * file-coding.c (Fencode_shift_jis_char):
10710 * file-coding.c (Fencode_big5_char):
10711 * fileio.c (Ffile_name_directory):
10712 * fileio.c (Ffile_name_nondirectory):
10713 * fileio.c (Ffile_name_as_directory):
10714 * fileio.c (Fdirectory_file_name):
10715 * fileio.c (Ffile_truename):
10716 * fileio.c (Fsubstitute_in_file_name):
10717 * fileio.c (Ffile_modes):
10718 * fileio.c (Fset_file_modes):
10719 * fileio.c (Fset_default_file_modes):
10720 * fileio.c (Fverify_visited_file_modtime):
10721 * floatfns.c (Facos):
10722 * floatfns.c (Fasin):
10723 * floatfns.c (Fatan):
10724 * floatfns.c (Fcos):
10725 * floatfns.c (Fsin):
10726 * floatfns.c (Ftan):
10727 * floatfns.c (Fbessel_j0):
10728 * floatfns.c (Fbessel_j1):
10729 * floatfns.c (Fbessel_jn):
10730 * floatfns.c (Fbessel_y0):
10731 * floatfns.c (Fbessel_y1):
10732 * floatfns.c (Fbessel_yn):
10733 * floatfns.c (Ferf):
10734 * floatfns.c (Ferfc):
10735 * floatfns.c (Flog_gamma):
10736 * floatfns.c (Fexp):
10737 * floatfns.c (Fexpt):
10738 * floatfns.c (Flog):
10739 * floatfns.c (Flog10):
10740 * floatfns.c (Fsqrt):
10741 * floatfns.c (Fcube_root):
10742 * floatfns.c (Facosh):
10743 * floatfns.c (Fasinh):
10744 * floatfns.c (Fatanh):
10745 * floatfns.c (Fcosh):
10746 * floatfns.c (Fsinh):
10747 * floatfns.c (Ftanh):
10748 * floatfns.c (Fabs):
10749 * floatfns.c (Ffloat):
10750 * floatfns.c (Flogb):
10751 * floatfns.c (Fceiling):
10752 * floatfns.c (Ffloor):
10753 * floatfns.c (Fround):
10754 * floatfns.c (Ftruncate):
10755 * floatfns.c (Ffceiling):
10756 * floatfns.c (Fffloor):
10757 * floatfns.c (Ffround):
10758 * floatfns.c (Fftruncate):
10759 * fns.c (Fstring_equal):
10760 * fns.c (Fstring_lessp):
10763 * fns.c (vconcat2):
10764 * fns.c (vconcat3):
10765 * fns.c (Fsubstring):
10767 * fns.c (Fold_assoc):
10768 * fns.c (assoc_no_quit):
10770 * fns.c (Fold_assq):
10771 * fns.c (assq_no_quit):
10773 * fns.c (Fold_rassoc):
10775 * fns.c (Fold_rassq):
10776 * fns.c (rassq_no_quit):
10777 * fns.c (Fremassoc):
10778 * fns.c (remassoc_no_quit):
10779 * fns.c (Fremassq):
10780 * fns.c (remassq_no_quit):
10781 * fns.c (Fremrassoc):
10782 * fns.c (Fremrassq):
10783 * fns.c (remrassq_no_quit):
10785 * fns.c (Fplist_get):
10786 * fns.c (Fplist_put):
10787 * fns.c (Fplist_remprop):
10788 * fns.c (Fplist_member):
10789 * fns.c (Flax_plist_get):
10790 * fns.c (Flax_plist_put):
10791 * fns.c (Flax_plist_remprop):
10792 * fns.c (Flax_plist_member):
10794 * fns.c (Fold_equal):
10795 * fns.c (Frequire):
10796 * fns.c (Fbase64_encode_region):
10797 * fns.c (Fbase64_encode_string):
10798 * fns.c (Fbase64_decode_region):
10800 * frame.c (frame_matches_frame_spec):
10801 * frame.c (device_matches_device_spec):
10802 * frame.c (next_frame):
10803 * frame.c (previous_frame):
10804 * frame.c (Fnext_frame):
10805 * frame.c (Fprevious_frame):
10806 * frame.c (Fframe_property):
10807 * frame.c (Fset_frame_height):
10808 * frame.c (Fset_frame_size):
10812 * glyphs.c (decode_error_behavior_flag):
10813 * glyphs.c (Fmake_image_instance):
10814 * indent.c (Findent_to):
10815 * intl.c (Fignore_defer_gettext):
10816 * keymap.c (Fkeymapp):
10817 * keymap.c (Flookup_key):
10819 * lread.c (Fload_internal):
10820 * lread.c (Feval_buffer):
10821 * lread.c (Feval_region):
10822 * macros.c (Fexecute_kbd_macro):
10823 * marker.c (set_marker_internal):
10824 * marker.c (Fset_marker):
10825 * marker.c (set_marker_restricted):
10826 * marker.c (Fcopy_marker):
10827 * marker.c (noseeum_copy_marker):
10829 * menubar.c (Fpopup_menu):
10831 * mule-charset.c (Fcharset_name):
10832 * mule-charset.c (Fchar_charset):
10833 * mule-charset.c (Fchar_octet):
10834 * mule-charset.c (Fsplit_char):
10835 * mule-wnnfns.c (Fwnn_open):
10836 * mule-wnnfns.c (Fwnn_dict_comment):
10837 * mule-wnnfns.c (Fwnn_quit_henkan):
10838 * mule-wnnfns.c (Fwnn_word_toroku):
10839 * mule-wnnfns.c (Fwnn_word_sakujo):
10840 * mule-wnnfns.c (Fwnn_word_use):
10841 * mule-wnnfns.c (Fwnn_hindo_set):
10843 * objects.c (Fmake_color_instance):
10844 * objects.c (Fmake_font_instance):
10845 * print.c (Fwrite_char):
10847 * process.c (mark_process):
10848 * process.c (print_process):
10849 * process.c (get_process_from_usid):
10850 * process.c (Fprocessp):
10851 * process.c (Fprocess_live_p):
10852 * process.c (Fget_process):
10853 * process.c (Fget_buffer_process):
10854 * process.c (get_process):
10855 * process.c (Fprocess_id):
10856 * process.c (Fprocess_name):
10857 * process.c (Fprocess_command):
10858 * process.c (init_process_io_handles):
10859 * process.c (start_process_unwind):
10860 * process.c (Fstart_process_internal):
10861 * process.c (Fopen_multicast_group_internal):
10862 * process.c (Fset_process_window_size):
10863 * process.c (read_process_output):
10864 * process.c (send_process):
10865 * process.c (Fprocess_tty_name):
10866 * process.c (Fset_process_buffer):
10867 * process.c (Fprocess_buffer):
10868 * process.c (Fprocess_mark):
10869 * process.c (set_process_filter):
10870 * process.c (Fset_process_filter):
10871 * process.c (Fprocess_filter):
10872 * process.c (Fprocess_send_region):
10873 * process.c (Fprocess_send_string):
10874 * process.c (exec_sentinel):
10875 * process.c (Fset_process_sentinel):
10876 * process.c (Fprocess_sentinel):
10877 * process.c (status_notify):
10878 * process.c (Fprocess_status):
10879 * process.c (Fprocess_exit_status):
10880 * process.c (process_send_signal):
10881 * process.c (Fprocess_send_eof):
10882 * process.c (deactivate_process):
10883 * process.c (remove_process):
10884 * process.c (Fdelete_process):
10885 * process.c (kill_buffer_processes):
10886 * process.c (Fprocess_kill_without_query):
10887 * process.c (Fprocess_kill_without_query_p):
10889 * rangetab.c (Fget_range_table):
10890 * rangetab.c (Fput_range_table):
10891 * rangetab.c (Fremove_range_table):
10892 * rangetab.c (Fclear_range_table):
10894 * search.c (Fskip_chars_forward):
10895 * search.c (Fskip_chars_backward):
10896 * search.c (Fskip_syntax_forward):
10897 * search.c (Fskip_syntax_backward):
10898 * search.c (search_command):
10899 * search.c (Freplace_match):
10900 * search.c (Fregexp_quote):
10901 * select.c (Fown_selection_internal):
10902 * select.c (Fselection_owner_p):
10903 * select.c (Fselection_exists_p):
10904 * select.c (Fget_selection_internal):
10907 * symbols.c (Fintern):
10908 * symbols.c (Fintern_soft):
10909 * symbols.c (Funintern):
10910 * symbols.c (Fapropos_internal):
10911 * symbols.c (Fset_default):
10913 * syntax.c (Fsyntax_table_p):
10914 * syntax.c (Fcopy_syntax_table):
10915 * syntax.c (Fset_syntax_table):
10916 * syntax.c (Fchar_syntax):
10917 * syntax.c (syntax_match):
10918 * syntax.c (Fmatching_paren):
10919 * syntax.c (Fforward_word):
10920 * syntax.c (scan_lists):
10921 * syntax.c (Fscan_lists):
10922 * syntax.c (Fscan_sexps):
10923 * syntax.c (Fparse_partial_sexp):
10924 * toolbar.c (Fcheck_toolbar_button_syntax):
10927 * window.c (Fwindowp):
10928 * window.c (Fwindow_live_p):
10929 * window.c (Fwindow_point):
10930 * window.c (Fdelete_window):
10931 * window.c (Fnext_window):
10932 * window.c (Fprevious_window):
10933 * window.c (Fother_window):
10934 * window.c (window_loop):
10935 * window.c (Fget_lru_window):
10936 * window.c (Fsplit_window):
10937 * window.c (Fenlarge_window):
10938 * window.c (Fenlarge_window_pixels):
10939 * window.c (Fshrink_window):
10940 * window.c (Fshrink_window_pixels):
10941 * window.c (change_window_height):
10942 * window.c (Fwindow_configuration_p):
10943 * window.c (Fcurrent_window_configuration):
10945 * casefiddle.c (casify_object):
10946 * casefiddle.c (Fupcase):
10947 * casefiddle.c (Fdowncase):
10948 * casefiddle.c (Fcapitalize):
10949 * casefiddle.c (Fupcase_initials):
10950 * casefiddle.c (casify_region_internal):
10951 * casefiddle.c (casify_region):
10952 * casefiddle.c (Fupcase_region):
10953 * casefiddle.c (Fdowncase_region):
10954 * casefiddle.c (Fcapitalize_region):
10955 * casefiddle.c (Fupcase_initials_region):
10956 * casefiddle.c (Fupcase_word):
10957 * casefiddle.c (Fdowncase_word):
10958 * casefiddle.c (Fcapitalize_word):
10959 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10960 Replace 0 with '\0' when working with bytes.
10961 Replace initial "(" with "\(" in docstrings.
10963 2000-11-01 Martin Buchholz <martin@xemacs.org>
10965 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10967 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10969 2000-10-31 Martin Buchholz <martin@xemacs.org>
10971 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10973 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10975 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10978 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10980 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10981 (inhibit_auto_save_session): New variable.
10982 (vars_of_fileio): Declare and initialize them.
10983 * fileio.c (Fdo_auto_save): Don't create session file if
10984 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10986 2000-10-31 Martin Buchholz <martin@xemacs.org>
10988 * sgiplay.c (play_internal): C++ compilability.
10989 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10990 * callproc.c (Fold_call_process_internal):
10991 Remove unused vars `env', `first'.
10992 * scrollbar.c (update_scrollbar_instance):
10993 #### unused var `current_window'.
10994 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10995 etc. within #ifdef NOT_YET.
10996 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10997 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10998 * specifier.c (specifier_instance):
10999 #### unused var `tag'.
11000 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
11002 2000-10-27 Martin Buchholz <martin@xemacs.org>
11004 * fns.c (Fbutlast):
11005 * fns.c (list_sort):
11006 * fns.c (Ffillarray):
11007 * fns.c (bytecode_nconc2):
11010 * fns.c (Fmapconcat):
11011 Be pedantically 64-bit correct. For the time when someone will
11012 want to have a list with length > 2**32.
11014 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11015 Work around MIPSpro compiler bug.
11017 * process-unix.c (unix_kill_child_process): Add snarky comment.
11018 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
11020 * config.h.in: Oops, _getpt ==> _getpty
11022 2000-10-26 Martin Buchholz <martin@xemacs.org>
11026 Use void*, not char*, as return type of alloca().
11028 * alloc.c (free_marker): Side effect inside assert expression!
11030 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
11032 * mule-charset.c (Fset_charset_ccl_program): To check
11033 if the given ccl program is valid, use setup_ccl_program()
11034 instead of CHECK_VECTOR().
11035 (Fmake_charset): Likewise.
11037 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
11039 * faces.c (get_extent_fragment_face_cache_index):
11040 Fix cachel.merged_faces memory leak.
11042 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
11044 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
11045 Reset MSB of octets obtained by DECODE_SJIS
11046 because of the incompatibility with Emacs.
11047 (ccl_driver)<CCL_ENCODE_SJIS>:
11048 Set MSB of octets before passing them to
11049 ENCODE_SJIS because of the incompatibility
11052 2000-10-18 Daiki Ueno <ueno@unixuser.org>
11054 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
11055 (DECLARE_LRECORD): Undo the last change.
11056 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
11058 2000-10-17 Daiki Ueno <ueno@unixuser.org>
11060 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
11061 the implementation to lrecord_implementations_table.
11063 2000-10-14 Daiki Ueno <ueno@unixuser.org>
11065 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
11066 initial value of `lrecord_type_##c_name' and
11067 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
11068 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
11069 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
11070 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
11071 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
11073 2000-10-17 Martin Buchholz <martin@xemacs.org>
11075 * miscplay.c (sndcnv8S_2mono):
11076 (sndcnv2monounsigned):
11077 (sndcnvULaw_2linear):
11079 Remove implementation-defined behavior.
11081 2000-10-12 Martin Buchholz <martin@xemacs.org>
11083 * input-method-xlib.c: Warning suppression.
11085 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11087 * mule-ccl.c: Sync up with Emacs 21.0.90.
11088 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11090 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11092 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11093 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11094 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11095 leading char belongs to official 2-dimensional charset.
11096 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11097 write the given character as is. Otherwise,
11098 if it is a multibyte char, convert it by
11099 non_ascii_set_charptr_emchar, then write it.
11100 (CCL_WRITE_STRING): Likewise.
11101 (ccl_get_compiled_code): New function.
11102 (setup_ccl_program): When ccl_prog is invalid,
11104 (Fregister_code_conversion_map): New function.
11105 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11107 * mule-ccl.h: Sync up with Emacs 21.0.90.
11108 (Fregister_ccl_program): export it.
11110 * redisplay-msw.c (separate_textual_runs):
11111 If ccl program is not valid, don't do ccl conversion.
11113 * redisplay-x.c (separate_textual_runs): Ditto.
11115 * file-coding.c (Fmake_coding_system):
11116 When type is ccl and value is vector, register it
11117 with a proper symbol. And checks whether the
11118 given ccl program is valid.
11119 (mule_decode): When calling ccl_driver, if src indicates
11120 NULL pointer, set an empty string instead.
11121 (mule_encode): Likewise.
11123 2000-10-11 Martin Buchholz <martin@xemacs.org>
11125 The following large batch of changes gets us back to a state of
11126 C++ compilability. Extbyte is now a char, which means that
11127 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11129 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11131 * sound.c (Fplay_sound): Type correctness.
11133 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11134 (x_get_window_property): Type correctness.
11135 (receive_incremental_selection): unsigned char ==> Extbyte
11136 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11137 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11138 (Fx_store_cutbuffer_internal): Type correctness.
11140 * process-unix.c (try_to_initialize_subtty): Type correctness.
11142 * objects-x.c (x_print_color_instance): Type correctness.
11143 (x_print_font_instance): Type correctness.
11144 (x_list_fonts): SExtbyte ==> Extbyte.
11145 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11146 (x_find_charset_font): SExtbyte ==> Extbyte.
11147 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11148 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11149 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11150 Use bufbyte_strcmp.
11152 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11153 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11154 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11155 (BYTE_C0_P): Use bit ops for char-signedness safety.
11156 (BYTE_C1_P): Use bit ops for char-signedness safety.
11157 (CHARSET_BY_LEADING_BYTE):
11158 (CHARSET_BY_ATTRIBUTES):
11159 Always use inline function.
11160 Use type_checking_assert.
11163 * mule-charset.c (non_ascii_charptr_copy_char):
11164 Modify to work with both ASCII and non-ASCII characters.
11165 Improve docs and variable names.
11166 Replace over-clever fall-through switch with a simple loop.
11167 (Lstream_get_emchar_1):
11168 Replace over-clever fall-through switch with a simple loop.
11170 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11171 Warning suppression.
11173 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11174 the return value of Lstream_getc, which could be EOF as well.
11176 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11178 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11179 APIs can be used on Extbytes without casts. Risky!
11180 (SExtbyte): Remove.
11181 (UExtbyte): Remove.
11183 * input-method-xlib.c (XIM_init_device):
11184 Use Xlib.h instead of IntrinsicP.h.
11185 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11186 which will break in X11R7.
11187 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11188 to call XRegisterIMInstantiateCallback with correct types.
11190 * gui-x.c (button_item_to_widget_value): Type correctness.
11192 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11194 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11195 (xbm_instantiate_1): Type correctness.
11196 (BUILD_GLYPH_INST): Type correctness.
11198 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11201 (decode_coding_sjis):
11202 (decode_coding_big5):
11203 (decode_coding_ucs4):
11204 (decode_coding_utf8):
11205 (decode_coding_iso2022):
11206 (decode_coding_no_conversion):
11207 Make all decoding functions take an Extbyte * arg.
11208 (encode_coding_sjis):
11209 (encode_coding_big5):
11210 (encode_coding_ucs4):
11211 (encode_coding_utf8):
11212 (encode_coding_iso2022):
11213 (encode_coding_no_conversion):
11214 Make all encoding functions take a Bufbyte * arg.
11215 Use size_t instead of unsigned int for memory sizes.
11216 Only cast to unsigned char whenever dereferencing Extbyte *.
11218 * doc.c (unparesseuxify_doc_string): Type correctness.
11220 * console-x.c (split_up_display_spec):
11221 Rewrite without using details of internal string representation.
11222 (x_semi_canonicalize_device_connection): Type correctness.
11225 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11226 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11227 (HAVE_XFREE386): Removed.
11229 * buffer.h (DEC_CHARPTR): `const' correctness.
11230 (bufbyte_strcmp): New.
11231 (bufbyte_memcmp): New.
11233 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11235 * buffer.h (XCHAR_OR_CHAR_INT):
11236 Always use inline function.
11237 Remove redundant type checking assert() - XINT will abort quite nicely.
11239 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11241 * search.c (Freplace_match): Set newtext to an empty string.
11243 2000-10-10 Martin Buchholz <martin@xemacs.org>
11245 * s/decosf1-3.h: Remove #include of stropts.h
11246 * s/ptx.h: Remove #include of stropts.h
11247 * s/usg5-4.h: Remove #include of stropts.h
11250 Use stropts.h, not sys/stropts.h.
11251 Use strtio.h, not sys/strtio.h.
11253 2000-10-04 Martin Buchholz <martin@xemacs.org>
11255 * XEmacs 21.2.36 is released.
11257 2000-09-21 Andy Piper <andy@xemacs.org>
11259 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11260 changes still involve copying the widget tree.
11261 (update_widget_face): make sure a change is register in the widget
11262 tree. Call update_tab_widget_face appropriately.
11263 (update_tab_widget_face): ditto.
11264 (x_tab_control_redisplay): make sure non-structural changes still
11265 involve copying the widget tree.
11267 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11269 * lread.c (locate_file): Check the path element is non-nil.
11271 2000-10-02 Martin Buchholz <martin@xemacs.org>
11273 * lisp.h: Warning suppression for SCO compilers.
11275 * redisplay-tty.c (reset_tty_modes): Fix crash.
11276 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11278 2000-09-27 Martin Buchholz <martin@xemacs.org>
11280 Big signal/process handling overhaul. Bugs fixed:
11281 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11282 M-x comint-kill-subjob should work for both values nil and t of
11283 process-connection-type. It was broken on most platforms.
11284 Testing on Irix and Cygwin still needed. Other plaforms tested.
11285 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11286 * process-unix.c: Signal/Process handling overhaul.
11287 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11288 (allocate_pty): Use all available modern methods of allocating
11289 ptys, falling back to old style BSD allocation as a last resort.
11290 Use allegedly more secure Unix98 pty allocation by default.
11291 (allocate_pty_the_old_fashioned_way): New. the last resort.
11292 (unix_create_process): Push ptem, ldterm, ttcompat where
11293 available. Autoconfiscate.
11294 (try_to_initialize_subtty): New.
11295 (unix_kill_child_process): Proper signal handling for ptys on most
11296 platforms, using special knowledge of AIX, BSD, etc...
11297 (unix_create_process): Always disconnect_controlling_terminal() for
11298 subprocesses, whether using ptys or not.
11299 * process.h: Remove old getpt-dependent PTY code.
11300 * process.c (Fprocess_send_signal): New, obvious generic function.
11301 (decode_signal): New.
11302 (Finterrupt_process):
11306 (Fcontinue_process):
11307 (Fsignal_process): Use decode_signal.
11308 (process_send_signal):
11309 Many docstring corrections.
11310 Allow any signal to be sent to a process object.
11311 * config.h.in: Add symbols for big signal/process overhaul.
11312 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11313 * sysproc.h: Include process-related headers, where available:
11314 sys/stropts.h sys/strtio.h pty.h libutil.h
11322 Remove old S&M pty stuff.
11323 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11324 * systty.h: Simplify cpp hackery, improve comments.
11325 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11327 * editfns.c (Fformat_time_string):
11328 Be a little more paranoid with the return value of ctime.
11330 * fileio.c (check_executable):
11332 Use symbolic constants X_OK, W_OK.
11334 * console-x.c (split_up_display_spec): Fix a warning.
11336 2000-10-02 Martin Buchholz <martin@xemacs.org>
11338 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11339 * ntproc.c (sys_spawnve): make_string ==> build_string
11340 Small clarity improvements.
11342 2000-09-30 Martin Buchholz <martin@xemacs.org>
11344 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11346 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11348 * config.h.in (HAVE_STRCASECMP): Remove.
11350 2000-09-29 Martin Buchholz <martin@xemacs.org>
11352 * redisplay-output.c (redisplay_output_pixmap):
11353 Cleaner and possibly more 64-bit correct code.
11355 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11357 * dumper.c (pdump_load_finish): move restoration of
11358 `noninteractive1' to emacs.c (main_1).
11359 * emacs.c (main_1): protect LISP-visible command-line flags
11362 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11364 * Makefile.in.in (versionclean): Use EXE_TARGET and
11365 DUMP_TARGET instead of literal program names.
11367 2000-09-20 Martin Buchholz <martin@xemacs.org>
11369 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11371 2000-09-19 Martin Buchholz <martin@xemacs.org>
11373 * *: Spelling mega-patch
11375 2000-09-19 Martin Buchholz <martin@xemacs.org>
11377 * fns.c (bad_bad_turtle):
11378 Delete "Eek!" comment, since we fixed the bug to which it refers.
11380 2000-09-16 Martin Buchholz <martin@xemacs.org>
11382 * alloca.c: Replace REGISTER with register.
11384 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11386 * file-coding.c (ucs_to_char): Use countof.
11388 2000-09-16 Martin Buchholz <martin@xemacs.org>
11390 * file-coding.c: (ucs_to_char):
11391 (complex_vars_of_file_coding):
11392 Use countof instead of sizeof.
11393 Use CHECK_NATNUM instead of CHECK_INT.
11395 * sysdep.c (strcasecmp): Remove.
11396 * device-x.c (ascii_strcasecmp): New.
11397 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11398 Avoid using non-standard non-portable strcasecmp.
11400 2000-09-16 Martin Buchholz <martin@xemacs.org>
11402 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11403 * font-lock.c: remove reference to emacsfns.h.
11404 * search.c: small doc improvement.
11405 * event-Xt.c: correct file names in comments.
11406 * console-x.h Correct file names in comments.
11407 * frame.c: Correct file names in comments.
11408 * event-stream.c: remove Energize from comments.
11410 2000-09-15 Martin Buchholz <martin@xemacs.org>
11412 * symeval.h (DEFERROR_STANDARD):
11415 (DEFSYMBOL_NO_DUMP):
11416 (DEFSYMBOL_MULTIWORD_PREDICATE):
11417 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11419 The construct &##name is not sensible C.
11420 Fixes compilation errors with Unixware native compiler.
11422 2000-09-14 Martin Buchholz <martin@xemacs.org>
11424 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11425 (next_frame_internal): Removed. We now just have next_frame.
11427 Write a simpler and cleaner one-pass algorithm.
11428 Remove called_from_delete_device arg and #ifdefed-out code.
11430 Renamed from prev_frame. Update callers.
11431 Cleaned up to have an analogous implementation to next_frame.
11432 (other_visible_frames_internal): Remove the
11433 called_from_delete_device bogus arg, and hence, remove this
11434 function. Just use other_visible_frames().
11436 * window.c (Fnext_window):
11437 Prettify docstring.
11438 Since next_frame() is guaranteed to return a frame, remove check
11439 for nil inserted in previous patch.
11440 (Fprevious_window):
11441 Prettify docstring.
11442 Make code look more like Fnext_window.
11444 Respect the `console' arg when iterating through windows.
11445 Fixes bug: (get-buffer-window buffer t device) not respecting
11447 This function needs more work, as others have pointed out.
11449 * frame.h: Rename prev_frame to previous_frame.
11450 device_matches_console_spec no longer takes a `frame' arg.
11455 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11456 From "Golubev I. N." <gin@mo.msk.ru>.
11458 * make-src-depend: Fix typo.
11460 2000-09-13 Martin Buchholz <martin@xemacs.org>
11462 * window.c (Fnext_window):
11463 next_frame() might return nil, not a frame.
11465 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11467 * frame.c (next_frame_internal):
11468 We've passed a frame if we've passed its device.
11470 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11471 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11473 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11475 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11476 Allow option to suppress accelerators in menu/dialog items.
11477 (populate_or_checksum_helper): Pass dialog title through above.
11479 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11481 * event-msw.c (mswindows_key_to_emacs_keysym):
11482 Add "pause" key, fix "menu" key.
11484 2000-09-09 Martin Buchholz <martin@xemacs.org>
11486 * eval.c (reinit_vars_of_eval):
11487 Increase max_lisp_eval_depth to 1000,
11488 required for thai-xtis.el to byte-compile under some circumstances.
11490 2000-09-04 Martin Buchholz <martin@xemacs.org>
11492 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11493 From Kenichi Handa.
11495 2000-09-01 Martin Buchholz <martin@xemacs.org>
11497 * make-src-depend: Make the generated Makefiles smaller.
11499 * s/hpux.h (SETUP_SLAVE_PTY):
11500 Provide a %d in the format string for the errno argument.
11502 * editfns.c (Ftemp_directory):
11504 Avoid buffer overrun on very long file name.
11506 * input-method-xlib.c (XIM_init_device):
11507 6th parameter of XRegisterIMInstantiateCallback has different
11508 pointer types on different OSes, so simply cast to (void *).
11510 * unexhp9k800.c: Warning fixes. Fiddly changes.
11512 * sysdll.c (dll_open):
11513 shl_load will hang hard if passed a NULL filename.
11514 Simply return NULL for compatibility with dlopen.
11515 * sysdll.c: Conform to XEmacs coding standards.
11517 * sysdep.c (get_pty_max_bytes):
11518 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11520 2000-08-31 Martin Buchholz <martin@xemacs.org>
11522 * tooltalk.c: Add #include <syssignal.h>
11524 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11526 * s/hpux.h: Don't use undefined function sigunblock().
11528 2000-08-31 Martin Buchholz <martin@xemacs.org>
11530 * config.h.in: Add HAVE_BALLOON_HELP.
11531 * emacs.c: Use HAVE_BALLOON_HELP.
11532 * Makefile.in.in (x_objs):
11533 Make Balloon Help conditional on finding shape.h.
11535 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11537 * syntax.c (regex_emacs_buffer_p): New variable.
11538 * syntax.h (regex_emacs_buffer_p): extern.
11539 * search.c (looking_at_1):
11541 (fast_string_match):
11542 (search_buffer): Set regex_emacs_buffer_p.
11543 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11544 when before_dot, at_dot, after_dot.
11546 2000-08-23 Andy Piper <andy@xemacs.org>
11548 * gui-x.c (popup_selection_callback): Only set action_occurred
11549 when we really have an image instance.
11550 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11552 2000-08-23 Andy Piper <andy@xemacs.org>
11554 * gui-msw.c (mswindows_handle_gui_wm_command): set
11556 * gui-x.c (popup_selection_callback): ditto.
11558 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11559 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11560 (struct Lisp_Image_Instance): add action_occurred flag.
11562 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11563 (image_instance_changed): ditto.
11564 (reset_frame_subwindow_instance_cache): only unmap windows - do
11565 not remove them from the cache also.
11567 * glyphs-widget.c (tab_control_update): better debug.
11568 (progress_gauge_update): ditto.
11569 (layout_update): ditto.
11570 (layout_instantiate): ditto.
11571 (tab_control_order_only_changed): cope with null pending items.
11573 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11574 debug. Force selection of an item when an action occurred. Cope
11575 with null pending_items.
11576 (mswindows_progress_gauge_redisplay): better debug.
11577 * glyphs-x.c (x_tab_control_redisplay): ditto.
11579 * redisplay.c (redisplay_frame): reset the frame cache if the
11582 * window.c (Fset_window_configuration): potentially re-enable
11584 (window_unmap_subwindows): need to finalize instances here since
11585 it is only used in mark_window_as_deleted.
11587 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11589 * nas.c (SndOpenDataForReading):
11590 nas.c (WaveOpenDataForReading):
11591 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11592 Somehow escaped from the 2000-08-14 patch.
11594 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11596 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11597 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11599 2000-08-21 Andy Piper <andy@xemacs.org>
11601 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11602 window if it is not already displayed.
11604 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11605 it is not already displayed.
11607 * window.c (Fset_window_configuration): don't reset the frame
11610 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11611 instances from the frame cache if we are actually finalizing them.
11612 (reset_frame_subwindow_instance_cache): reset frame cache only
11613 after unmapping everything.
11614 (map_subwindow): set displayed flag after mapping.
11616 2000-08-21 Martin Buchholz <martin@xemacs.org>
11618 * data.c (indirect_function):
11619 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11621 * eval.c (function_argcount):
11622 Use original function when signaling errors.
11624 2000-08-18 Andy Piper <andy@xemacs.org>
11626 * frame.c (delete_frame_internal): use new
11627 free_frame_subwindow_instances name.
11629 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11630 (add_tab_item): make return type correct.
11631 (mswindows_tab_control_instantiate): assert index of tab.
11632 (mswindows_tab_control_redisplay): Re-code to use
11633 gui_item_equal_sans_selected and gui_item_list_find_selected.
11635 * glyphs-widget.c (tab_control_update): Correct comment.
11637 * window.c (window_unmap_subwindows): use new
11638 unmap_subwindow_instance_cache_mapper.
11639 (window_unmap_subwindows_cache_mapper): deleted.
11640 (Fset_window_configuration): comparisons should now be with
11641 EQ. Preserve the subwindow instance cache across configuration
11643 (allocate_window): ditto.
11644 (make_dummy_parent): ditto.
11646 * glyphs.c (free_frame_subwindow_instances): rename from
11647 free_frame_subwindow_instance_cache. finalize all instances rather
11648 than just those in the display cache.
11649 (finalize_all_subwindow_instances): walk windows unmapping and
11650 finalizing subwindows.
11651 (unmap_subwindow_instance_cache_mapper): moved from
11652 window.c. Allow finalization as well as unmapping.
11654 * gui.c (gui_item_list_find_selected): new function.
11656 * gui.h (gui_item_list_find_selected): declare.
11658 * glyphs-x.c (x_tab_control_redisplay): pick tab
11659 explicitly. Re-code to use gui_item_equal_sans_selected and
11660 gui_item_list_find_selected.
11662 * glyphs-x.h: add lwlib-utils.h
11664 * buffer.c (Frecord_buffer): undo previous change.
11666 2000-08-09 Vin Shelton <acs@xemacs.org>
11668 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11669 possible. Create temporary files more securely. The patch was
11670 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11671 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11672 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11675 2000-08-07 Ben Wing <ben@xemacs.org>
11677 * getloadavg.c: remove duplicate (and windows-breaking)
11678 includes of fcntl.h and sys/file.h.
11680 * nt.c: remove duplicate getloadavg() definition.
11682 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11685 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11687 * eval.c (function_argcount): If function needs to be autoloaded
11688 actually use the loaded definition.
11691 2000-08-05 Ben Wing <ben@xemacs.org>
11693 * getloadavg.c: add prototype for getloadavg(). remove
11694 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11695 of the code). remove duplicate header includes.
11697 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11699 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11700 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11701 useful load average.
11703 * alloc.c (reinit_alloc_once_early): removed references to
11704 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11705 the lisp vars are the only things referencing the malloc_sbrk_*
11706 vars, and they were already if 0'd out. these vars only exist
11707 in the older malloc.c, which is basically unused, and they're
11708 only for informational purposes.
11710 * m\*.h: removed useless VIRT_ADDR_VARIES.
11712 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11714 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11716 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11717 color if the image is a mono pixmap.
11719 2000-07-30 Ben Wing <ben@xemacs.org>
11721 * Makefile.in.in (release):
11724 * buffer.c (directory_is_current_directory):
11725 * dired-msw.c (mswindows_get_files):
11727 * dired.c (Fdirectory_files):
11728 * dired.c (file_name_completion_stat):
11729 * dired.c (Ffile_attributes):
11730 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11731 preprocessor tricks, to avoid problems on some machines
11734 * callproc.c (egetenv): GC docs.
11737 * console-msw.h (struct mswindows_dialog_id):
11738 * lrecord.h (lrecord_type):
11739 New object for use with MSW dialogs.
11741 * console.h (struct console_methods):
11742 New enable/disable frame methods, for proper modal dialogs.
11744 * device-msw.c (msprinter_default_printer): Fix to follow
11745 proper Mule conventions.
11748 * device-msw.c (signal_open_printer_error):
11749 * device-msw.c (msprinter_init_device):
11750 * device-msw.c (ensure_not_printing):
11751 * device-msw.c (plist_get_margin):
11752 * device-msw.c (Fmsprinter_select_settings):
11753 * device-msw.c (finalize_devmode):
11754 * device-msw.c (Fmsprinter_settings_despecialize):
11755 * device-msw.c (signal_enum_priner_error):
11756 * extents.c (decode_extent):
11757 * extents.c (decode_map_extents_flags):
11758 * extents.c (decode_extent_at_flag):
11759 * extents.c (Fextent_at):
11760 * extents.c (Fextents_at):
11761 * extents.c (symbol_to_glyph_layout):
11762 [[[[2]]]] Use structured errors.
11765 * dialog-msw.c (mswindows_is_dialog_msg):
11766 * dialog-msw.c (mark_mswindows_dialog_id):
11767 * dialog-msw.c (dialog_proc):
11768 * dialog-msw.c (handle_question_dialog_box):
11769 * dialog-msw.c (syms_of_dialog_mswindows):
11770 Define new object to clean up marking; use it as a dialog identifier.
11771 Call new delete-dialog-box-hook.
11773 * dialog-x.c (dbox_selection_callback):
11774 * dialog-x.c (dbox_descriptor_to_widget_value):
11775 * dialog-x.c (x_make_dialog_box_internal):
11776 Call new delete-dialog-box-hook.
11780 * dialog.c (syms_of_dialog):
11781 * dialog.c (vars_of_dialog):
11782 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11785 * eval.c (signal_call_debugger):
11786 when noninteractive, output stack traces on the console instead
11787 of in a (never-seen) buffer.
11789 * eval.c (signal_type_error):
11790 * eval.c (invalid_argument_2):
11792 new funs for use w/structured errors.
11795 * event-Xt.c (x_to_emacs_keysym):
11796 * event-Xt.c (describe_event):
11797 * event-Xt.c (emacs_Xt_event_handler):
11798 * event-Xt.c (vars_of_event_Xt):
11800 * event-msw.c (mswindows_wnd_proc):
11801 * event-msw.c (vars_of_event_mswindows):
11802 rename {x,mswindows}-debug-events to debug-{}-events for
11803 consistency with other debug-foo variables.
11806 document next-event more clearly.
11808 * fileio.c (Ffile_name_directory):
11809 * fileio.c (Ffile_name_nondirectory):
11810 * fileio.c (Funhandled_file_name_directory):
11811 * fileio.c (file_name_as_directory):
11812 * fileio.c (Ffile_name_as_directory):
11813 * fileio.c (directory_file_name):
11814 * fileio.c (Fdirectory_file_name):
11815 * fileio.c (Fmake_temp_name):
11816 * fileio.c (Ffile_truename):
11817 * fileio.c (Fsubstitute_in_file_name):
11818 * fileio.c (expand_and_dir_to_file):
11819 * fileio.c (barf_or_query_if_file_exists):
11820 * fileio.c (check_executable):
11821 * fileio.c (Ffile_exists_p):
11822 * fileio.c (Ffile_writable_p):
11823 * fileio.c (Ffile_directory_p):
11824 * fileio.c (Ffile_regular_p):
11825 * fileio.c (Ffile_modes):
11826 * fileio.c (Ffile_newer_than_file_p):
11827 * fileio.c (Fverify_visited_file_modtime):
11828 * fileio.c (Fset_visited_file_modtime):
11829 * fileio.c (auto_save_1):
11834 * frame-msw.c (mswindows_init_frame_1):
11835 * frame-msw.c (mswindows_enable_frame):
11836 * frame-msw.c (error_frame_unsizable):
11837 * frame-msw.c (msprinter_init_frame_1):
11838 * frame-msw.c (msprinter_init_frame_3):
11839 * frame-msw.c (console_type_create_frame_mswindows):
11841 implement new enable/disable frame methods.
11844 * frame-x.c (x_enable_frame):
11845 * frame-x.c (console_type_create_frame_x):
11846 implement new enable/disable frame methods.
11849 * frame.c (Fdisable_frame):
11850 * frame.c (syms_of_frame):
11851 * frame.h (struct frame):
11852 implement new enable/disable frame methods/functions.
11857 * glyphs-msw.c (mswindows_widget_instantiate):
11858 comment that initial-focus should be implemented.
11861 * glyphs-widget.c (check_valid_instantiator):
11862 * glyphs-widget.c (check_valid_orientation):
11863 * glyphs-widget.c (check_valid_tab_orientation):
11864 * glyphs-widget.c (check_valid_justification):
11865 * glyphs-widget.c (check_valid_border):
11866 * glyphs-widget.c (check_valid_callback):
11867 * glyphs-widget.c (check_valid_int_or_function):
11868 * glyphs-widget.c (check_valid_string_or_vector):
11869 * glyphs-widget.c (check_valid_item_list_1):
11870 * glyphs-widget.c (widget_validate):
11871 * glyphs-widget.c (combo_box_validate):
11872 * glyphs-widget.c (widget_instantiate):
11873 * glyphs-widget.c (syms_of_glyphs_widget):
11874 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11875 * glyphs-widget.c (image_instantiator_combo_box):
11876 * glyphs-widget.c (image_instantiator_scrollbar):
11877 * glyphs-widget.c (image_instantiator_tab_control):
11878 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11880 support (unimplemented) keyword initial-focus.
11881 reindent long macros.
11883 * glyphs-x.c (x_redisplay_widget):
11884 * glyphs-x.c (x_button_instantiate):
11885 * glyphs-x.c (x_button_redisplay):
11886 * glyphs-x.c (x_progress_gauge_instantiate):
11887 * glyphs-x.c (x_edit_field_instantiate):
11888 * glyphs-x.c (x_combo_box_instantiate):
11889 * glyphs-x.c (x_tab_control_instantiate):
11890 * glyphs-x.c (x_label_instantiate):
11892 * gui-x.c (button_item_to_widget_value):
11893 * gui-x.c (gui_items_to_widget_values_1):
11894 * gui-x.c (gui_item_children_to_widget_values):
11895 * gui-x.c (gui_items_to_widget_values):
11897 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11898 add new flag to gui-parsing routines to indicate whether
11899 accelerator specs should be supported.
11901 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11903 * glyphs.h (struct Lisp_Image_Instance):
11904 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11905 add initial-focus flag.
11908 * gui.c (syms_of_gui):
11909 * gui.c (vars_of_gui):
11910 clean up menu-no-selection-hook.
11913 support delete-dialog-box-hook.
11915 * lread.c (Fload_internal):
11916 * lread.c (locate_file_in_directory_mapper):
11920 * lrecord.h (struct toolbar_button):
11921 * lrecord.h (syms_of_toolbar):
11922 document how to create a new object.
11924 * menubar-msw.c (mswindows_char_is_accelerator):
11925 may be called on frames w/o menus.
11927 * menubar.c (vars_of_menubar):
11928 clean up :filter docs.
11935 * process-nt.c (validate_signal_number):
11936 * process-nt.c (signal_cannot_launch):
11937 * process-nt.c (nt_create_process):
11938 * process-nt.c (nt_send_process):
11939 * process-nt.c (nt_kill_child_process):
11940 * process-nt.c (nt_open_network_stream):
11941 * process-nt.c (syms_of_process_nt):
11943 delete quote-handling. call new lisp code that does it better.
11945 * process-unix.c (connect_to_file_descriptor):
11946 * process-unix.c (allocate_pty):
11947 * process-unix.c (unix_send_process):
11948 * process-unix.c (unix_kill_child_process):
11949 * process-unix.c (unix_open_network_stream):
11950 * process-unix.c (unix_open_multicast_group):
11954 * process.c (Fstart_process_internal):
11955 (2). need to canonicalize process path even if absolute.
11957 * select-msw.c (symbol_to_ms_cf):
11958 * select-msw.c (ms_cf_to_symbol):
11959 * select-msw.c (cf_is_autofreed):
11960 * select-msw.c (mswindows_destroy_selection):
11962 * select.c (syms_of_select):
11964 support dibv5, fix bugs. (from Mike Alexander)
11966 * select.c (Fget_selection_internal):
11967 * select.c (select_convert_out):
11970 * sysdep.c (xemacs_stat):
11973 * sysdep.c (mkdir):
11974 * sysdep.c (rmdir):
11975 but keep original stat() here because we provide encapsulation
11979 * sysfile.h (fstat):
11980 remove stat garbage.
11983 fix X/MSW conflict.
11984 don't include tchar.h. it's inappropriate because it makes
11985 compile-time distinctions when we want runtime distinctions.
11986 (we provide our own tchar replacements)
11989 use default object printer for toolbar-button.
11992 make sure we don't encapsulate.
11994 * window.c (vars_of_window):
11995 emphasize that temp-buffer-show-hook is obsolete.
11997 2000-08-05 Martin Buchholz <martin@xemacs.org>
11999 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
12000 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
12002 * events.c (Fevent_timestamp_lessp):
12003 Not 64-bit clean. Use EMACS_INT, not int.
12005 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
12007 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
12008 unsigned int and changed the last enum to
12009 lrecord_type_last_built_in_type.
12010 (lrecord_implementations_table): changed prototype to know how
12011 long the array is supposed to be.
12012 (lrecord_type_count): new unsigned int to keep track of the
12013 current number of lisp lrecord types.
12014 (DEFINE_EXTERNAL_LRECORD):
12015 (DECLARE_EXTERNAL_LRECORD): Added these two for external
12016 dynamic-modules to declare new lisp types. They are the same
12017 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
12018 int for each new type, and increment lrecord_type_count by 1.
12020 * alloc.c (lrecord_implementations_table): Changed to reference
12021 lrecord_type_last_built_in_type for the size of the array.
12022 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
12024 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12026 * glyphs.h (check_valid_item_list): Renamed from
12027 check_valid_item_list_1.
12029 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
12031 * select.c (Qselect_coerce): New.
12032 * select.c (Vselection_coercion_alist): New.
12033 * select.c (syms_of_select): Declare.
12034 * select.c (get-selection-internal): Use it.
12035 Use the new select-coerce functionality.
12037 * select.c (select_coerce): New.
12038 * select.h (select_coerce): Declare.
12039 New function to coerce one type of data into another.
12041 2000-08-03 Martin Buchholz <martin@xemacs.org>
12043 * callproc.c (Fcall_process_internal):
12044 (Fcall_process_internal):
12045 * process-unix.c (unix_create_process):
12046 Save and restore the value of errno, so that error messages are accurate.
12048 2000-08-01 Martin Buchholz <martin@xemacs.org>
12050 * elhash.c (print_hash_table):
12051 Fix printing of hash tables to also use `key-and-value' instead of `t'.
12052 Prettify docstrings and indentation.
12054 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
12056 * window.c (Fwindow_pixel_edges): Subtract frame border and
12059 2000-07-31 Andy Piper <andy@xemacs.org>
12061 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
12062 will acknowledge the change.
12064 * glyphs.h: declare tab_control_order_only_changed.
12066 * glyphs-x.c (x_tab_control_redisplay): use
12067 tab_control_order_only_changed.
12069 * glyphs-widget.c (tab_control_order_only_changed): new function.
12071 * glyphs-msw.c (mswindows_tab_control_redisplay): use
12072 tab_control_order_only_changed.
12074 * gui.c (gui_item_equal_sans_selected): new function.
12075 (gui_item_equal): use it.
12077 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12078 :properties in favor of :items..
12080 * glyphs-widget.c (check_valid_item_list): rename from
12081 check_valid_item_list_1.
12082 (check_valid_item_list_1): renamed.
12083 (combo_box_validate): deprecate :properties in favor of :items.
12084 (widget_instantiate): ditto.
12085 (tab_control_update): ditto.
12086 (image_instantiator_combo_box): ditto.
12087 (image_instantiator_tree_view): ditto.
12088 (image_instantiator_tab_control): ditto.
12089 (layout_post_instantiate): remove dead code.
12091 * print.c (debug_print_no_newline): only write to debugger if in
12094 * elhash.c (Fmake_hash_table): update doc string.
12096 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12097 messages whilst in GC. This at least stops XEmacs crashing but has
12098 the potential for wierd behaviour.
12100 2000-07-31 Martin Buchholz <martin@xemacs.org>
12103 Make existence of s&m files optional.
12105 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12106 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12107 * s/gnu.h: Remove HAVE_GETLOADAVG.
12108 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12109 * s/sol2.h: Remove HAVE_GETLOADAVG.
12110 * lisp.h: Remove getloadavg() declaration.
12112 Include <sys/loadavg.h> if available.
12113 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12114 * config.h.in: Group together getloadavg()-related macros.
12115 Use only configure-time tests to detect getloadavg().
12117 2000-07-30 Martin Buchholz <martin@xemacs.org>
12119 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12121 2000-07-25 Andy Piper <andy@xemacs.org>
12123 * syswindows.h: add tchar.h for native builds.
12125 * frame.c (syms_of_frame): remove set-glyph-image.
12127 * general-slots.h: add Qset_glyph_image.
12129 * glyphs-widget.c (layout_update): add domain arg to
12131 (syms_of_glyphs_widget): remove set-glyph-image.
12133 2000-07-23 Ben Wing <ben@xemacs.org>
12135 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12138 2000-07-22 Andy Piper <andy@xemacs.org>
12140 * symsinit.h: add syms_of_win32().
12142 * gui-msw.c (syms_of_gui_mswindows): remove
12143 Fmswindows_shell_execute.
12144 (Fmswindows_shell_execute): moved to win32.c.
12146 * emacs.c (main_1): add syms_of_win32 ().
12148 * win32.c (init_potentially_nonexistent_functions): rewrite in
12149 compiler-friendly terms.
12150 (Fmswindows_shell_execute): move here from gui-msw.c.
12151 (syms_of_win32): new.
12153 * device-msw.c (Fmswindows_printer_list): clean up args to
12155 Don't include tchar under cygwin or mingw.
12156 (msprinter_default_printer): make cygwin-friendly.
12158 2000-07-21 Andy Piper <andy@xemacs.org>
12160 * glyphs-widget.c (image_instantiator_tree_view): use tab
12161 control's update function.
12162 (layout_property): new function. Retrieve items.
12164 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12165 function. Re-populate the tree view from the pending items.
12167 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12168 is designated the parent if the domain is an image instance. This
12169 is needed so that dirtiness can be cascade up the hierarchy and
12170 thus for layout children to be redisplayed correctly.
12171 (allocate_image_instance): rename glyph -> parent.
12173 * redisplay.h: change redisplay_output_layout signature.
12175 * redisplay-msw.c (mswindows_output_display_block): use domain
12178 * redisplay-x.c (x_output_display_block): use domain arg.
12180 2000-07-10 Andy Piper <andy@xemacs.org>
12182 * window.c (Fset_window_configuration): add comment.
12184 * redisplay-output.c (compare_runes):
12185 (redisplay_output_subwindow): redisplay rather than update subwindow.
12186 (redisplay_output_layout): ditto.
12188 * redisplay-msw.c (mswindows_frame_output_end):
12189 (mswindows_frame_output_end): make defer window pos optional.
12191 * lisp.h: add Flast.
12193 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12194 normalize method. Change update method to be for changed
12195 instantiators. Add redisplay method. Change signature of layout
12197 (struct Lisp_Image_Instance): add instantiator.
12198 (IMAGE_INSTANCE_INSTANTIATOR): new.
12199 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12200 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12201 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12204 (find_instantiator_differences): new function.
12205 (Fset_instantiator_property): new convenience function.
12206 (check_image_instance_structure): strictly check for vector
12208 (normalize_image_instantiator): make non-static.
12209 (instantiate_image_instantiator): pass on dest_mask and use new
12210 signatures for image_instance_layout and friends.
12211 (mark_image_instance): mark the instantiator. Mark the subwindow
12212 face not the widget face.
12213 (image_instance_equal): add instantiator.
12214 (image_instance_hash): ditto.
12215 (allocate_image_instance): ditto.
12216 (Fset_image_instance_property): removed.
12217 (Fimage_instance_file_name): ditto.
12218 (Fcolorize_image_instance): ditto.
12219 (image_instance_layout): add offsets to be set.
12220 (update_image_instance): new function. update an image instance
12221 from its changed instantiator.
12222 (inherit_normalize): add dest_mask.
12223 (xbm_normalize): ditto.
12224 (xface_normalize): ditto.
12225 (xpm_normalize): ditto.
12226 (text_update): set_property -> update.
12227 (image_instantiate): use the glyph identity as a hash key, not the
12229 (glyph_width): use new image_instance_layout signature.
12230 (glyph_ascent): ditto.
12231 (glyph_descent): ditto.
12232 (glyph_height): ditto.
12233 (glyph_query_geometry): ressurrect.
12234 (glyph_layout): ditto.
12235 (redisplay_subwindow): update -> redisplay.
12236 (syms_of_glyphs): add Fset_instantiator_property.
12237 (image_instantiator_format_create): set_property -> update.
12240 (autodetect_normalize): add dest_maks to signature.
12241 (x_redisplay_subwindow): update -> redisplay.
12242 (x_redisplay_widget): ditto.
12243 (x_button_redisplay): ditto.
12244 (x_progress_gauge_redisplay): ditto.
12245 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12247 (console_type_create_glyphs_x): update -> redisplay.
12248 (image_instantiator_format_create_glyphs_x): ditto.
12251 (check_valid_instantiator): disallow glyphs in the instantiator,
12252 they must now be vectors.
12253 (check_valid_instantiator_list): ditto.
12254 (glyph_instantiator_to_glyph): use internal symbol rather than
12256 (widget_update): renamed from widget_set_property. Call cascaded
12258 (redisplay_widget): renamed from update_widget.
12259 (widget_layout): image_instance_layout now takes position as well
12261 (widget_normalize): ditto.
12262 (widget_instantiate): ditto.
12263 (tab_control_query_geometry) ditto.:
12264 (tab_control_update): renamed from tab_control_set_property.
12265 (progress_gauge_update): set_property -> update.
12266 (layout_normalize): rewrite so that child instantiators are
12268 (layout_update): new function. Create glyphs from the normalized
12269 children and cope with any other layout keywords. We do not
12270 instantiate children here that will be take care of by
12271 redisplay_output_layout.
12272 (layout_instantiate): call layout_update and not much else.
12273 (layout_post_instantiate): not sure whether this is needed
12275 (layout_query_geometry): query glyph geometry rather than
12276 image_instance geometry.
12277 (layout_layout): set offsets from pass in parameters. Use glyph
12278 geometry and layout functions rather than image instance ones.
12279 (native_layout_layout): ditto.
12280 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12281 (image_instantiator_widget): set_property -> update.
12282 (image_instantiator_buttons): ditto.
12283 (image_instantiator_progress_guage): ditto.
12284 (image_instantiator_tab_control): ditto.
12285 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12286 (image_instantiator_layout): add update method.
12288 * glyphs-msw.c (bmp_normalize):
12289 (mswindows_resource_normalize): add dest_mask so that it can be
12290 proprogated by layout_normalize.
12291 (begin_defer_window_pos): make optional because it may not be the
12292 right thing to do and it introduces differences with X.
12293 (mswindows_unmap_subwindow): ditto.
12294 (mswindows_map_subwindow): ditto.
12295 (mswindows_redisplay_subwindow): renamed from
12296 mswindows_update_subwindow.
12297 (mswindows_redisplay_widget): ditto.
12298 (mswindows_button_redisplay): renamed from
12299 mswindows_button_update. Update is now what the instantiation
12300 function does for a changed instantiator.
12301 (mswindows_progress_gauge_instantiate): set the progress value
12302 here if appropriate.
12303 (mswindows_tab_control_redisplay): cope with re-ordering of the
12304 members of the tab widget by simply selecting the new top
12305 widget. This makes things appear ok if you click on a tab.
12306 (mswindows_combo_box_instantiate): image_instance_layout now takes
12307 position as well as size.
12308 (mswindows_progress_gauge_redisplay): renamed from
12309 mswindows_progress_gauge_update.
12310 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12311 (image_instantiator_format_create_glyphs_mswindows): ditto.
12313 * glyphs-eimage.c (jpeg_normalize):
12316 (tiff_normalize): add dest_mask so that it can be proprogated by
12320 (print_hash_table):
12321 (hash_table_weakness_validate):
12322 (decode_hash_table_weakness):
12323 (Fhash_table_weakness):
12324 (Fhash_table_type):
12325 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12327 * console.h (struct console_methods): move update_* to
12330 2000-07-20 Ben Wing <ben@xemacs.org>
12332 * *.[ch] (XSETOBJ): remove unused middle argument.
12333 lisp-disunion.h: correct wrap_object() to one argument.
12335 2000-07-15 Ben Wing <ben@xemacs.org>
12338 * s/cygwin32.h (CYGWIN_CONV_PATH):
12339 Add missing logb prototype for v1.1.
12340 Use post-b20 names and alias to pre-b20 names when pre-b20.
12342 * s/windowsnt.h: [5].
12344 2000-07-15 Ben Wing <ben@xemacs.org>
12346 * Makefile.in.in (x_objs):
12347 * Makefile.in.in (sheap_objs):
12348 * Makefile.in.in (objs):
12349 added win32.o, cosmetic cleanups.
12351 * alloc.c (Fmake_byte_code):
12352 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12353 etc. macros which declare their own args now.
12355 * alloc.c (syms_of_alloc):
12356 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12359 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12361 * buffer.c (Fget_file_buffer):
12362 Fixed GCPRO problem.
12364 * buffer.c (get_truename_buffer):
12365 Fixed comment about GC checking.
12367 * buffer.c (syms_of_buffer):
12368 Undeclared those dedicated frame funs.
12372 Define convenience macros for internal/external conversions.
12373 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12374 and Qenvironment_variable_encoding for cleaner code.
12377 Remove dedicated-frame; in lisp.
12379 * bytecode.c (funcall_compiled_function):
12382 * bytecode.c (syms_of_bytecode):
12386 * console-msw.c (mswindows_show_console): Rewrote.
12388 * console-msw.c (Fmswindows_debugging_output): New.
12389 Sends to OutputDebugString (special MSWin debugger interface).
12391 * console-msw.c (Fmswindows_message_box):
12392 Fixed stupid bugs so it works when called from kill-emacs.
12394 * console-msw.c (syms_of_console_mswindows):
12395 Declare Fmswindows_debugging_output.
12398 New MSWin prototypes.
12400 * console-msw.h (struct mswindows_frame):
12401 New entry last-click-mods for improved button-modifier support.
12403 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12404 New struct entry `popup' with corresponding accessor.
12407 * console-x.c (split_up_display_spec):
12408 * console-x.c (get_display_arg_connection):
12409 * console-x.c (x_semi_canonicalize_console_connection):
12410 * console-x.c (x_canonicalize_device_connection):
12411 [[[6]]]: Change char to more specific type.
12412 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12414 * console-x.c (x_semi_canonicalize_console_connection):
12415 * console-x.c (x_canonicalize_device_connection):
12416 [[[9]]]: Fix up error signalling to use new structured error system.
12419 [[[4]]]: Define codesys aliases:
12420 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12421 Qx_color_name_encoding, Qx_display_name_encoding.
12423 * console.h (struct console_methods):
12424 New method make_dialog_box_internal supersedes older
12425 popup_dialog_box method.
12428 Define many new errors, part of new structured errors.
12430 * data.c (init_errors_once_early):
12431 * data.c (syms_of_data):
12434 * device-msw.c (mswindows_init_device):
12435 [[[5]]]: Cleanup to support NT 3.51.
12437 * device-msw.c (decode_devmode): Cleanup.
12439 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12440 * device-msw.c (mswindows_handle_print_dialog_box):
12441 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12442 * device-msw.c (syms_of_device_mswindows):
12443 Delete the dialog box primitives recently introduced by Kirill and
12444 instead interface to general dialog box interface.
12447 * device-x.c (compute_x_app_name):
12448 * device-x.c (x_init_device):
12449 * device-x.c (Fx_valid_keysym_name_p):
12450 * device-x.c (Fx_set_font_path):
12454 * device.h (wrap_device): New.
12455 First of its kind; meant to replace XSETDEVICE.
12457 * dialog-msw.c: Many file-dialog symbols.
12459 * dialog-msw.c (mswindows_register_popup_frame): New.
12460 * dialog-msw.c (mswindows_is_dialog_msg): New.
12461 For supporting kbd traversal in dialog boxes.
12463 * dialog-msw.c (dialog_proc):
12464 Support hitting ESC in dialogs.
12466 * dialog-msw.c (struct):
12467 Common dialog box errors.
12469 * dialog-msw.c (handle_file_dialog_box): New.
12470 Add file dialog code.
12472 * dialog-msw.c (handle_question_dialog_box):
12473 Redo existing code to support new question dialog syntax.
12475 * dialog-msw.c (console_type_create_dialog_mswindows):
12476 We support new dialog console method.
12478 * dialog-msw.c (syms_of_dialog_mswindows):
12479 * dialog-msw.c (vars_of_dialog_mswindows):
12480 New file dialog symbols, vars.
12483 * dialog-x.c (maybe_run_dbox_text_callback):
12484 * dialog-x.c (dbox_descriptor_to_widget_value):
12485 * dialog-x.c (x_make_dialog_box_internal):
12486 * dialog-x.c (console_type_create_dialog_x):
12487 Mule-ize entire file.
12488 Redo to support question dialog syntax.
12492 * dialog.c (Fmake_dialog_box_internal):
12493 * dialog.c (syms_of_dialog):
12494 Kill old popup-dialog-box, replace with new primitive.
12495 Just call device method or signal error.
12497 * eldap.c (Fldap_open):
12498 * eldap.c (Fldap_search_basic):
12499 * eldap.c (Fldap_add):
12500 * eldap.c (Fldap_modify):
12505 * emacs.c (make_arg_list_1):
12506 * emacs.c (make_arg_list):
12507 Mule-ize call to dll_init().
12511 * emacs.c (make_argc_argv):
12512 * emacs.c (free_argc_argv):
12513 * emacs.c (init_cmdargs):
12514 * emacs.c (main_1):
12515 * emacs.c (Fkill_emacs):
12516 * emacs.c (Fdump_emacs):
12517 Update comments about what can be used in syms_* etc.
12518 Call init_win32() when necessary.
12519 Fix up MS Win dialog box in kill-buffer to actually work right.
12530 * eval.c (condition_case_3):
12532 * eval.c (function_argcount):
12533 * eval.c (funcall_lambda):
12536 * eval.c (type_error): New.
12537 * eval.c (maybe_type_error): New.
12538 * eval.c (continuable_type_error): New.
12539 * eval.c (maybe_continuable_type_error): New.
12540 * eval.c (type_error_with_frob): New.
12541 * eval.c (maybe_type_error_with_frob): New.
12542 * eval.c (continuable_type_error_with_frob): New.
12543 * eval.c (maybe_continuable_type_error_with_frob): New.
12544 New functions for use with structured errors.
12547 * event-Xt.c (x_event_to_emacs_event):
12548 Buttons are now modifiers too.
12550 * event-Xt.c (emacs_Xt_current_event_timestamp):
12551 Implement new event method.
12552 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12555 * event-msw.c (ntpipe_shove_writer): [5].
12556 * event-msw.c (mswindows_enqueue_mouse_button_event):
12557 * event-msw.c (mswindows_drain_windows_queue):
12558 * event-msw.c (mswindows_wnd_proc): [7].
12559 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12560 * event-msw.c (mswindows_modifier_state):
12561 Throughout: support new button modifiers.
12563 * event-msw.c (emacs_mswindows_current_event_timestamp):
12564 Implement new event method.
12565 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12568 * event-stream.c (event_stream_current_event_timestamp): New.
12569 * event-stream.c (maybe_kbd_translate): New functionality.
12570 * event-stream.c (vars_of_event_stream):
12571 Document new kbd-translate-table functionality.
12573 * event-stream.c (Fcurrent_event_timestamp): New.
12574 New primitive for use in fabricated events.
12575 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12577 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12580 * events.c (Fmake_event):
12581 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12585 * events.c (format_event_object): fix gcc warnings.
12587 * events.c (Fevent_timestamp): Document new primitives.
12589 * events.c (TIMESTAMP_HALFSPACE): New.
12591 * events.c (Fevent_timestamp_lessp): New. New primitive for
12592 comparing timestamps correctly (half-space algorithm).
12594 * events.c (Fevent_modifier_bits): Doc fix.
12596 * events.c (Fevent_modifiers): Major doc addition.
12597 * events.c (event_x_y_pixel_internal): Typo fix.
12598 * events.c (syms_of_events): Declare new primitives.
12601 Update long comment for button modifiers, timestamps.
12603 * events.h (struct event_stream):
12604 New current_event_timestamp method.
12607 * extents.c (extent_in_region_p):
12608 * extents.c (decode_extent):
12609 * extents.c (Fset_extent_parent):
12610 * extents.c (decode_map_extents_flags):
12614 * extents.c (struct extent_at_arg):
12615 * extents.c (decode_extent_at_flag):
12616 * extents.c (extent_at_mapper):
12617 * extents.c (extent_at_bytind):
12618 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12619 * extents.c (Fextents_at): New primitive. [9].
12620 * extents.c (symbol_to_glyph_layout): [9].
12621 Support new primitive `extents-at'.
12624 * extents.c (get_text_property_bytind):
12625 extent_at_bytind has another arg.
12628 * extents.c (syms_of_extents): New primitive.
12630 * file-coding.c (Fmake_coding_system): [1].
12631 * file-coding.c (subsidiary_coding_system): fix gcc warning
12632 * file-coding.c (syms_of_file_coding): [2].
12634 * fileio.c (Fexpand_file_name):
12635 * fileio.c (Fsysnetunam):
12636 * fileio.c (Ffile_exists_p):
12637 * fileio.c (Ffile_executable_p):
12638 * fileio.c (Fverify_visited_file_modtime):
12641 * fileio.c (syms_of_fileio): [2].
12643 * filelock.c (lock_file_1):
12644 * filelock.c (current_lock_owner):
12645 * filelock.c (lock_if_free):
12646 * filelock.c (lock_file):
12647 * filelock.c (unlock_file):
12650 * fns.c (concat): Fix gcc warning.
12653 * fns.c (Fold_member):
12655 * fns.c (Fold_memq):
12656 * fns.c (memq_no_quit):
12658 * fns.c (Fold_assoc):
12660 * fns.c (Fold_assq):
12661 * fns.c (assq_no_quit):
12663 * fns.c (Fold_rassoc):
12665 * fns.c (Fold_rassq):
12666 * fns.c (rassq_no_quit):
12668 * fns.c (Fold_delete):
12670 * fns.c (Fold_delq):
12671 * fns.c (delq_no_quit):
12672 * fns.c (Fremassoc):
12673 * fns.c (Fremassq):
12674 * fns.c (remassq_no_quit):
12675 * fns.c (Fremrassoc):
12676 * fns.c (Fremrassq):
12677 * fns.c (remrassq_no_quit):
12678 * fns.c (Freverse):
12682 * frame-msw.c (mswindows_init_frame_1):
12683 * frame-msw.c (mswindows_delete_frame):
12684 Register popups with dialog code so keyboard traversing works.
12686 * frame-tty.c (tty_raise_frame_no_select): [1].
12689 * frame-x.c (x_set_frame_text_value):
12690 * frame-x.c (x_set_frame_properties):
12691 * frame-x.c (x_create_widgets):
12695 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12697 * frame.h (wrap_frame): New.
12698 Macro like wrap_device.
12701 * general.c (SYMBOL):
12702 * general.c (syms_of_general):
12703 Major reorg. This is now just a wrapper and symbols themselves
12704 are listed in general-slots.h.
12706 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12707 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12709 * glyphs-msw.c (mswindows_native_layout_instantiate):
12710 Add DS_CONTROL so keyboard traversal will work.
12713 * glyphs-widget.c (syms_of_glyphs_widget):
12714 Move some symbols to general-slots.h.
12717 * glyphs-x.c (xbm_instantiate_1):
12718 * glyphs-x.c (x_xbm_instantiate):
12719 * glyphs-x.c (x_xface_instantiate):
12720 * glyphs-x.c (autodetect_instantiate):
12721 * glyphs-x.c (cursor_font_instantiate):
12722 * glyphs-x.c (x_update_widget):
12723 * glyphs-x.c (x_widget_instantiate):
12724 * glyphs.c (bitmap_to_lisp_data):
12725 * glyphs.c (pixmap_to_lisp_data):
12728 * glyphs.c (syms_of_glyphs):
12732 * gui-x.c (print_widget_value):
12733 * gui-x.c (menu_separator_style_and_to_external):
12734 * gui-x.c (add_accel_and_to_external):
12735 * gui-x.c (button_item_to_widget_value):
12736 * gui-x.c (gui_items_to_widget_values_1):
12737 * gui-x.c (gui_items_to_widget_values):
12738 * gui-x.c (syms_of_gui_x):
12739 * gui-x.c (vars_of_gui_x):
12740 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12744 Muleize, prototype changes matching gui-x.c.
12747 * gui.c (separator_string_p):
12748 * gui.c (gui_item_add_keyval_pair):
12749 * gui.c (make_gui_item_from_keywords_internal):
12750 * gui.c (signal_too_long_error):
12751 * gui.c (parse_gui_item_tree_item):
12752 * gui.c (syms_of_gui):
12753 * gui.c (vars_of_gui):
12755 menu-no-selection-hook moved here (used by MSWin).
12756 Move some symbols to general-slots.h.
12760 * insdel.c (get_buffer_pos_char):
12761 * insdel.c (get_buffer_range_char):
12764 * keymap.c (keymap_lookup_directly):
12765 * keymap.c (keymap_store):
12766 * keymap.c (ensure_meta_prefix_char_keymapp):
12767 * keymap.c (describe_map):
12769 Support new button modifiers.
12771 * lisp-disunion.h (wrap_object):
12772 * lisp-disunion.h (XSETOBJ):
12773 Rename make_obj to wrap_object.
12776 * lisp-union.h (make_int):
12777 * lisp-union.h (make_char):
12778 Support wrap_object.
12781 * lisp.h (LIST_LOOP):
12782 * lisp.h (EXTERNAL_LIST_LOOP):
12783 * lisp.h (LIST_LOOP_2):
12784 * lisp.h (EXTERNAL_LIST_LOOP_1):
12785 * lisp.h (EXTERNAL_LIST_LOOP_2):
12786 * lisp.h (EXTERNAL_LIST_LOOP_3):
12787 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12788 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12789 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12790 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12791 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12792 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12793 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12794 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12795 * lisp.h (struct Lisp_Symbol):
12796 * lisp.h (maybe_continuable_error_with_frob):
12797 Fix up section comments.
12798 Add new types for char to indicate usage.
12799 Delete symbols auto-generated from general-slots.h.
12800 Add prototypes for structured error functions.
12801 Add long comments describing looping macros and change interface
12802 so that lvalues are automatically declared.
12803 Add NO_DECLARE macro in case callers want to declare lvalues
12806 * lread.c (read_syntax_error):
12807 * lread.c (continuable_read_syntax_error):
12808 * lread.c (read_structure):
12809 * lread.c (sequence_reader):
12810 * lread.c (read_list_conser):
12811 * lread.c (read_compiled_function):
12812 Rename syntax_error and continuable_syntax_error to avoid clash
12813 with same-named structured error functions.
12815 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12816 * menubar-msw.c (populate_menu_add_item):
12817 * menubar-msw.c (populate_or_checksum_helper):
12822 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12823 Mule-ize whole file.
12825 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12827 * mule-charset.c (Fmake_charset):
12828 * mule-wnnfns.c (Fwnn_set_param):
12831 * ntproc.c (create_child):
12832 * ntproc.c (Fwin32_set_current_locale):
12833 Add comments portending doom.
12836 * objects-msw.c (old_font_enum_callback_2):
12837 * objects-msw.c (font_enum_callback_1):
12838 * objects-msw.c (mswindows_enumerate_fonts):
12842 * objects-x.c (allocate_nearest_color):
12843 * objects-x.c (x_parse_nearest_color):
12844 * objects-x.c (x_initialize_color_instance):
12845 * objects-x.c (x_print_color_instance):
12846 * objects-x.c (x_finalize_color_instance):
12847 * objects-x.c (x_valid_color_name_p):
12848 * objects-x.c (x_initialize_font_instance):
12849 * objects-x.c (x_print_font_instance):
12850 * objects-x.c (valid_x_font_name_p):
12851 * objects-x.c (truename_via_FONT_prop):
12852 * objects-x.c (truename_via_random_props):
12853 * objects-x.c (truename_via_XListFonts):
12854 * objects-x.c (x_font_truename):
12855 * objects-x.c (x_font_instance_truename):
12856 * objects-x.c (x_font_instance_properties):
12857 * objects-x.c (x_list_fonts):
12858 * objects-x.c (x_find_charset_font):
12859 Mule-ize entire file.
12866 * print.c (std_handle_out_external):
12867 * print.c (debug_print_no_newline):
12868 * print.c (syms_of_print):
12869 Output to all debugger kinds in debug-print.
12870 Fix console-output code under MSWin to actually work.
12872 * process-nt.c (send_signal):
12873 * process-nt.c (nt_create_process):
12874 Use newer Unicode macros.
12876 * process-unix.c (unix_create_process):
12877 * process-unix.c (unix_canonicalize_host_name):
12878 * process-unix.c (unix_open_network_stream):
12884 * search.c (syms_of_search):
12887 * select-msw.c (mswindows_destroy_selection):
12890 * select-x.c (symbol_to_x_atom):
12893 * select.c (syms_of_select):
12896 * sound.c (Fplay_sound_file):
12900 * specifier.c (decode_specifier_type):
12901 * specifier.c (Fvalid_specifier_locale_type_p):
12902 * specifier.c (check_valid_locale_or_locale_type):
12903 * specifier.c (decode_locale):
12904 * specifier.c (decode_locale_type):
12905 * specifier.c (decode_locale_list):
12906 * specifier.c (check_valid_domain):
12907 * specifier.c (decode_specifier_tag_set):
12908 * specifier.c (Fcanonicalize_tag_set):
12909 * specifier.c (Fdefine_specifier_tag):
12910 * specifier.c (Fspecifier_tag_predicate):
12911 * specifier.c (check_valid_inst_list):
12912 * specifier.c (check_valid_spec_list):
12913 * specifier.c (decode_how_to_add_specification):
12914 * specifier.c (check_modifiable_specifier):
12915 * specifier.c (specifier_add_spec):
12916 * specifier.c (boolean_validate):
12917 * specifier.c (display_table_validate):
12920 * specifier.c (syms_of_specifier):
12921 Move some symbols to general-slots.h.
12925 * symbols.c (Fmapatoms):
12926 * symbols.c (Fapropos_internal):
12929 * symbols.c (set_default_buffer_slot_variable):
12930 * symbols.c (set_default_console_slot_variable):
12933 * symbols.c (defsymbol_massage_name_1):
12934 * symbols.c (defkeyword_massage_name):
12935 * symbols.c (deferror_1):
12936 * symbols.c (deferror):
12937 * symbols.c (deferror_massage_name_and_message):
12939 * symeval.h (DEFSYMBOL):
12940 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12942 * symbols.c (syms_of_symbols):
12946 * symsinit.h (init_win32): New.
12947 Also new is syms_of_dialog_mswindows.
12950 Add new Unicode macros, missing Cygwin wide-char functions,
12951 convenience conversion macros for Qmswindows_tstr, macros for
12952 encapsulating required MSWin <-> Cygwin filename conversions,
12953 prototype for dynamically-extracted (not in NT 3.51) functions.
12958 * tooltalk.c (Fadd_tooltalk_message_arg):
12959 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12960 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12963 * tooltalk.c (syms_of_tooltalk):
12967 * unexnt.c (unexec):
12968 Fix up headers, declaration of unexec() to be more standard.
12970 2000-07-20 Martin Buchholz <martin@xemacs.org>
12972 * offix.h: Revert change to guard macros - they're used in offix.c!
12974 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12976 * lisp.h: Defsubred Fdelete.
12978 * console-msw.h: (msprinter_default_printer): Added.
12980 * console-msw.c (msprinter_canonicalize_console_connection):
12981 (msprinter_canonicalize_device_connection): Added.
12983 * device-msw.c (msprinter_default_printer):
12984 (Fmswingows_get_default_printer):
12985 (signal_enum_priner_error):
12986 (Fmswingows_printer_list): Added.
12988 2000-07-19 Martin Buchholz <martin@xemacs.org>
12990 * XEmacs 21.2.35 is released.
12992 2000-07-19 Martin Buchholz <martin@xemacs.org>
12994 * select-x.c (x_handle_selection_request):
12995 Text selected in xemacs and pasted into xterm failed to appear.
12996 Spelling fixes and cosmetic changes.
12998 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13000 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
13001 XEmacs frame (fix for doubling chars in dialog boxes).
13003 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13005 * select.c (select_convert_in, select_convert_out):
13006 Don't call intern() every time.
13008 * select.c (Qselect_convert_in, Qselect_convert_out): New.
13009 * select.c (vars_of_select): Initialise them.
13011 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13013 * select.c (selection-coercible-types): New.
13015 * select.c (own-selection-internal):
13016 * select.c (get-selection-internal):
13017 MULE bug fix - these should default to COMPOUND_TEXT and not
13018 STRING for MULE. I think.
13020 * select.c (select_convert_out): Use selection-coercible-types
13021 to find types that we can attempt to perform coercions on.
13023 2000-07-18 Martin Buchholz <martin@xemacs.org>
13027 Add coding: cookie to identify encoding.
13029 * mule-canna.c (CANNA_mode_keys): make static.
13030 Use proper prototypes, even for functions of no arguments.
13031 Remove external prototype for Fding().
13033 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
13035 * select.c (syms_of_select): Add missing DEFSUBR.
13037 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13039 * select.c (get_selection_internal, own_selection_internal):
13040 Make the type default to STRING, rather than placing a nil type
13041 into Vselection_alist.
13043 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13045 * gpmevent.c (tty_selection_exists_p):
13046 * gpmevent.c (tty_own_selection):
13047 Updated parameter lists.
13049 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
13051 * select.h (selection-alist): Removed declaration.
13053 * select.h (get_local_selection):
13054 * select.c (get_local_selection):
13057 * select.h (convert_selection): Removed declaration.
13058 * select.c (convert_selection): Removed.
13059 This function belongs in Lisp.
13061 * select.h (select_convert_in): Declare.
13062 * select.h (select_convert_out): Declare.
13063 * select.c (select_convert_in): New.
13064 * select.c (select_convert_out): New.
13065 New conversion functions for other files to call.
13067 * select.h (select_notify_buffer_kill): Declare.
13068 * select.c (select_notify_buffer_kill): New.
13069 New functions that get called from kill-buffer.
13071 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
13072 X-specific lisp code.
13074 * select.h: Declare some of the lisp-visible functions for
13077 * select.c (clean_local_selection_data): Removed. This was
13078 a disgusting function, and previously should have been in
13079 select-x.c in any case. The functionality is now provided
13080 in select-convert-from-integer (select.el).
13082 * select.c (available-selection-types): Fixed stupidity where
13083 INTEGER and ATOM got added twice. Also add STRING when we see an
13086 * select.c (get-selection-internal): Removed symbol stripping. No
13087 longer causes conversion when data comes from the internal cache.
13089 * select.c (syms_of_select): Added new functions.
13091 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13092 error checking - previously this called abort!
13094 * select-x.c (x_own_selection): Changed comment.
13096 * select-x.c (x_handle_selection_request): Use select_convert_out.
13097 Don't mess with selection-alist; it's an internal variable of select.c.
13099 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13101 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13102 rather than messing with selection-alist.
13104 * select-msw.c (mswindows_get_foreign_selection):
13105 Use TO_INTERNAL_FORMAT rather than hacking.
13107 2000-07-14 Martin Buchholz <martin@xemacs.org>
13109 * process-unix.c (unix_open_multicast_group):
13110 (unix_open_multicast_group): Remove useless casts.
13112 2000-07-13 Martin Buchholz <martin@xemacs.org>
13114 * sound.c (Fplay_sound): Fix `unused variable' warning.
13116 * emacs.c (main): Use correct type for _environ on SCO5.
13118 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13120 * console.h (own_selection_method):
13121 * console.h (selection_exists_p_method):
13122 * console.h (available_selection_types_method): New.
13123 * console.h (register_selection_data_type_method): New.
13124 * console.h (selection_data_type_name): New.
13126 * console-msw.h (mswindows_destroy_selection): Declare it. New
13127 function & alist to track GlobalAlloc()'d handles that need
13128 releasing when the clipboard data gets replaced or emptied.
13130 * event-msw.c (mswindows_wnd_proc): Call it.
13132 * lisp.h, general.c (Qappend): New symbol representing a
13135 * select.c (own-selection-internal):
13136 * select.c (selection-exists-p):
13137 * select.c (available-selection-types): New.
13138 * select.c (register-selection-data-type): New.
13139 * select.c (selection-data-type-name): New. New functions to deal
13140 with device-specific selection data formats.
13141 * select.c (selection-converter-out-alist): Renamed.
13142 * select.c (selection-converter-in-alist): New.
13143 * select.c (selection-appender-alist): New. Added new alists.
13144 * select.c (syms_of_select, vars_of_select): Added new symbols &
13146 * select.c (get_local_selection): Split.
13147 * select.c: Removed spurious type checking - selections may now be
13148 of any type, not just strings.
13149 * select.c (own-selection-internal):
13151 * select.h, select.c (convert_selection): New. Created
13152 convert_selection() function based on get_local_selection().
13153 * select.h, select.c (QCF_*): New symbols representing mswindows
13155 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13156 symbols representing `how-to-add' modes.
13158 * select-msw.c (x_sym_p): New.
13159 * select-msw.c (symbol_to_ms_cf): New.
13160 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13161 symbols & clipboard formats. Can also handle string names.
13162 * select-msw.c (mswindows_own_selection):
13163 * select-msw.c (mswindows_selection_exists_p):
13164 Added `data-type' parameter. Use it.
13165 * select-msw.c (mswindows_available_selection_types): New.
13166 * select-msw.c (mswindows_register_selection_data_type): New.
13167 * select-msw.c (mswindows_selection_data_type_name): New.
13168 * select-msw.c (mswindows_own_selection):
13169 * select-msw.c (mswindows_get_foreign_selection):
13170 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13171 * select-msw.c (console_create_select_mswindows): Added new methods.
13172 * select-msw.c (mswindows_destroy_selection): New.
13173 * select-msw.c (Vhandle_alist): New list.
13174 * select-msw.c (mswindows_own_selection):
13176 * select-x.c (x_own_selection):
13177 * select-x.c (x_selection_exists_p):
13178 * select-x.c: Added some comments about maybe using new
13180 * select-x.c (x_own_selection):
13182 * specifier.c: Remove definition of Qappend (now in general.c)
13183 * specifier.c (syms_of_specifier): Remove Qappend.
13185 2000-07-12 Martin Buchholz <martin@xemacs.org>
13187 * config.h.in: Add socklen_t.
13189 * s/decosf4-0.h: No special compiler flags needed or desired.
13190 In particular, undefine _BSD for DEC OSF 4.0.
13192 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13194 * redisplay-msw.c (msprinter_frame_output_end): Added.
13195 (console_type_create_redisplay_mswindows): Referred the above.
13197 * frame.c (setup_frame_without_minibuffer): Do not create a
13198 default minibuffer frame on a printer device.
13200 * frame-msw.c (apply_dc_geometry): Added.
13201 (msprinter_start_page):
13202 (msprinter_init_frame_3):
13203 (msprinter_eject_page): Use it.
13205 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13206 and removed residual duplex and orientation properties.
13208 2000-07-11 Martin Buchholz <martin@xemacs.org>
13210 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13212 * unexalpha.c: Remove system prototypes from C sources!
13214 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13216 * eval.c: Remove references to M-x edit-options in DEFUNs for
13217 `defvar' and `defconst'.
13219 2000-07-09 Martin Buchholz <martin@xemacs.org>
13221 * config.h.in: Remove SMART_INCLUDE hackery.
13223 PostgreSQL hacking:
13224 * config.h.in: Don't use SMART_INCLUDE.
13226 * postgresql.h: Include libpq-fe.h here. Fix typo.
13227 * inline.c: Simply #include "postgresql.h"
13229 - Don't use SMART_INCLUDE
13230 - Use simply "const".
13231 - Use standard doc string conventions.
13232 - Use correct type for result of PQstatus.
13234 2000-07-09 Martin Buchholz <martin@xemacs.org>
13236 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13238 C++ compilation changes.
13239 * config.h.in (EXTERN_C): Define.
13240 * config.h.in (not): This is also a C++ keyword.
13241 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13242 * cm.c: Use EXTERN_C.
13243 * redisplay-tty.c: Use EXTERN_C.
13244 * sysdep.c: Use EXTERN_C. Remove Gould support.
13246 2000-07-09 Martin Buchholz <martin@xemacs.org>
13248 * general.c: Remove duplicate definition for Qfunction.
13250 2000-07-08 Ben Wing <ben@xemacs.org>
13252 * device-msw.c (msprinter_init_device):
13253 * device-msw.c (sync_printer_with_devmode):
13254 * device-msw.c (handle_devmode_changes):
13255 * device-msw.c (print_dialog_worker):
13256 * device-msw.c (Fmsprinter_apply_settings):
13257 * device-msw.c (hash_devmode):
13258 * device-msw.c (Fmsprinter_settings_despecialize):
13259 use Qmswindows_tstr, not Qctext.
13261 * vm-limit.c (check_memory_limits):
13262 avoid infinite loop printing warning messages.
13264 2000-07-05 Craig Lanning <lanning@scra.org>
13266 * Makefile.in.in: Add support for including the Windows resources
13267 when building with the cygwin and mingw targets.
13269 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13270 not set or not correct.
13271 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13272 (init_initial_directory): Don't try to use $PWD on the
13273 WIN32_NATIVE target.
13276 [[Add -mwindows to eliminate console window.]] not required --ben
13277 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13278 (MAIL_USE_POP): removed; now handled by configure.
13280 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13281 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13282 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13283 (MAIL_USE_POP): removed; now handled by configure.
13284 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13285 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13286 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13288 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13289 up from <winsock.h> via systime.h.
13290 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13291 (getpagesize): from Dan Holmsand, added.
13292 Added #endif which was left dangling by Ben's mega patch; added
13293 comment to help prevent this in the future.
13295 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13297 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13299 * console-msw.h (struct mswindows_device): Removed unnecessary
13300 cached device geometry values.
13301 Added update_tick and an accessor macro.
13302 (Lisp_Devmode): Added lrecord declaration.
13303 (struct msprinter_device): Contain devmode as a Lisp object.
13304 Added mswindows_get_selected_frame_hwnd();
13306 * console.h (struct console_methods): Indentation nitpicking.
13308 * device-msw.c (mswindows_init_device): Do not initialize geometry
13309 cache. Initialize update tick.
13310 (mswindows_device_system_metrics): Ask the device for its geometry.
13311 (global_free_2_maybe):
13312 (devmode_to_hglobal):
13313 (handle_printer_changes):
13314 (ensure_not_printing):
13315 (print_dialog_worker):
13316 (Fmsprinter_print_setup_dialog):
13317 (Fmsprinter_print_dialog):
13318 (plist_get_margin):
13319 (plist_set_margin):
13320 (Fmsprinter_page_setup_dialog): Added functions.
13321 (sync_printer_with_devmode):
13322 (handle_devmode_changes):
13323 (Fmsprinter_get_settings):
13324 (Fmsprinter_select_settings):
13325 (Fmsprinter_apply_settings):
13326 (allocate_devmode):
13327 (Fmsprinter_settings_copy):
13328 (Fmsprinter_settings_despecialize):
13330 (finalize_devmode):
13332 (hash_devmode): Added functions
13333 (syms_of_device_mswindows): Init devmode lrecord class.
13335 * device.h: Added an exfun for find-device.
13337 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13338 geometry; although, recreate the device compatible DC.
13340 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13341 (msprinter_init_frame_3):
13342 (msprinter_frame_property):
13343 (msprinter_internal_frame_property_p):
13344 (msprinter_frame_properties):
13345 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13346 print job properties (will move to device settings).
13348 * lisp.h: Added symbols.
13350 * general.c (syms_of_general): Declared them.
13352 * hash.c (string_hash): Added.
13354 * lrecord.h (lrecord_type): Added devmode lrecord type.
13356 2000-07-02 Mike Sperber <mike@xemacs.org>
13358 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13361 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13363 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13366 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13368 * data.c (Fstring_to_number): Don't recognize floating point if
13371 2000-06-22 Martin Buchholz <martin@xemacs.org>
13373 * glyphs-widget.c (tab_control_query_geometry):
13374 (widget_query_geometry):
13375 (button_query_geometry):
13376 * glyphs.c (text_query_geometry):
13377 Enforce type correctness.
13379 2000-06-18 Martin Buchholz <martin@xemacs.org>
13381 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13382 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13384 2000-06-17 Martin Buchholz <martin@xemacs.org>
13386 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13387 conflicts with gcc's fixincluded version of FOO.h.
13389 * glyphs.h (image_instance_geometry): Remove trailing `,'
13391 2000-06-08 Mike Alexander <mta@arbortext.com>
13393 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13394 (shove_thread): Don't write the same output twice
13395 (make_ntpipe_output_stream): Increase priority of shove thread
13396 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13398 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13401 2000-06-12 Ben Wing <ben@xemacs.org>
13403 * s\mingw32.h (sigset):
13404 * s\windowsnt.h (sigset):
13405 rename msw_ to mswindows_ for consistency with general convention.
13407 2000-06-12 Ben Wing <ben@xemacs.org>
13410 * console-msw.c (mswindows_get_console_hwnd):
13411 * console-msw.c (mswindows_ensure_console_allocated):
13412 * console-msw.c (mswindows_hide_console):
13413 * console-msw.c (mswindows_show_console):
13414 * console-msw.c (mswindows_ensure_console_buffered):
13415 * console-msw.c (mswindows_output_console_string):
13416 * console-msw.c (mswindows_windows9x_p):
13418 * device-msw.c (mswindows_get_workspace_coords):
13419 * device-msw.c (mswindows_device_system_metrics):
13420 * dialog-msw.c (mswindows_popup_dialog_box):
13421 * event-msw.c (mswindows_wnd_proc):
13422 * frame-msw.c (mswindows_size_frame_internal):
13423 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13424 * menubar-msw.c (displayable_menu_item):
13425 * menubar-msw.c (mswindows_char_is_accelerator):
13427 * nt.c (mswindows_sigset):
13428 * nt.c (mswindows_sigrelse):
13429 * nt.c (mswindows_sigpause):
13430 * nt.c (mswindows_raise):
13431 * nt.c (timer_proc):
13433 * ntproc.c (find_child_console):
13434 * ntproc.c (sys_kill):
13436 * print.c (std_handle_out_external):
13437 * process-nt.c (find_child_console):
13438 * process-nt.c (send_signal_the_95_way):
13439 * process-nt.c (ensure_console_window_exists):
13440 * process-nt.c (nt_create_process):
13442 rename msw_ to mswindows_ for consistency with general convention.
13446 include nt.h, not syswindows.h.
13448 * nt.c (mswindows_fstat):
13449 * nt.c (mswindows_stat):
13450 prefix mswindows_ instead of attempting to directly override the
13451 library functions. fix declarations.
13454 include syswindows.h. move some sysdep.h stuff here.
13457 include syswindows.h, not <windows.h>.
13465 * sysdep.c (sys_fstat):
13466 * sysdep.c (sys_stat):
13467 call mswindows versions when appropriate.
13470 move mswin decls to nt.h.
13473 add long comment describing appropriate use of the various windows
13476 2000-06-11 Ben Wing <ben@xemacs.org>
13478 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13480 2000-06-10 Ben Wing <ben@xemacs.org>
13482 * Makefile.in.in (release):
13483 Correction to make sure xemacs.exe always dumped when correct.
13487 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13489 * buffer.c (set_buffer_internal):
13490 [[[[2]]]]: Remove HAVE_FEP code.
13492 * buffer.c (init_initial_directory):
13496 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13500 * callproc.c (call_process_cleanup):
13501 * callproc.c (Fold_call_process_internal):
13502 * callproc.c (child_setup):
13503 * callproc.c (getenv_internal):
13504 * callproc.c (init_callproc):
13505 * callproc.c (vars_of_callproc):
13506 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13507 __CYGWIN32__ -> CYGWIN.
13508 DOS_NT -> WIN32_NATIVE.
13509 Remove MSDOS support/references, converting to WIN32_NATIVE
13511 __MINGW32__ -> MINGW.
13512 Fix windows.h includes.
13513 Remove bogus HAVE_NTGUI.
13519 mswindows_message_outputted added for use in allowing startup
13520 errors on the console to be seen.
13522 * console-msw.c (msw_ensure_console_allocated):
13523 * console-msw.c (msw_output_console_string):
13524 * console-msw.c (DHEADER):
13525 * console-msw.c (DOPAQUE_DATA):
13526 * console-msw.c (DEVENT):
13527 * console-msw.c (DCONS):
13528 * console-msw.c (DCONSCDR):
13529 * console-msw.c (DSTRING):
13530 * console-msw.c (DVECTOR):
13531 * console-msw.c (DSYMBOL):
13532 * console-msw.c (DSYMNAME):
13535 * console-stream.c (stream_init_console):
13536 Fix text/binary problems.
13539 * device-msw.c (mswindows_finish_init_device):
13540 * device-msw.c (mswindows_delete_device):
13543 * device.c (handle_asynch_device_change):
13547 * dgif_lib.c (DGifOpenFileName):
13548 * dgif_lib.c (DGifOpenFileHandle):
13549 * dgif_lib.c (DGifGetLine):
13550 * dgif_lib.c (DGifGetPixel):
13551 Added config.h/lisp.h, fix up includes.
13558 * dired.c (file_name_completion):
13559 * dired.c (Ffile_attributes):
13560 * dired.c (syms_of_dired):
13564 * dumper.c (pdump_file_unmap):
13565 * dumper.c (pdump_load):
13569 * editfns.c (Ftemp_directory):
13570 * editfns.c (user_login_name):
13571 * editfns.c (Fuser_real_login_name):
13572 * editfns.c (get_home_directory):
13575 * elhash.c (finish_marking_weak_hash_tables):
13576 [[[[5]]]]: Fix GCC warnings.
13579 * emacs.c (mswindows_handle_hardware_exceptions):
13580 * emacs.c (make_arg_list_1):
13581 * emacs.c (main_1):
13582 * emacs.c (Fkill_emacs):
13583 * emacs.c (Fdump_emacs):
13585 Fix problems with nested crashes, add long comment.
13587 * event-Xt.c (init_event_Xt_late):
13591 * event-msw.c (mswindows_dde_callback):
13592 * event-msw.c (mswindows_handle_sticky_modifiers):
13593 * event-msw.c (mswindows_wnd_proc):
13597 * events.c (character_to_event):
13601 * fileio.c (Ffile_name_directory):
13602 * fileio.c (Ffile_name_nondirectory):
13603 * fileio.c (directory_file_name):
13604 * fileio.c (Fexpand_file_name):
13605 * fileio.c (Fsubstitute_in_file_name):
13606 * fileio.c (Ffile_name_absolute_p):
13607 * fileio.c (check_executable):
13608 * fileio.c (Ffile_readable_p):
13609 * fileio.c (Ffile_accessible_directory_p):
13610 * fileio.c (Ffile_modes):
13611 * fileio.c (Funix_sync):
13612 * fileio.c (vars_of_fileio):
13615 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13617 Expand getdefdir defn.
13618 Fix bogus rename() comment.
13620 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13621 to use standard XEmacs include files, e.g. sysfile.h, rather
13622 than system-specific includes.
13628 * frame.c (vars_of_frame):
13632 * getloadavg.c (getloadavg):
13634 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13635 (We don't use it elsewhere in the code; just add a comment.)
13642 * glyphs-msw.c (mswindows_resource_instantiate):
13645 * glyphs-x.c (x_native_layout_instantiate):
13648 * gui-msw.c (Fmswindows_shell_execute):
13657 * lread.c (locate_file_in_directory_mapper):
13664 * mem-limits.h (get_lim_data):
13676 * nt.c (rva_to_section):
13677 * nt.c (mswindows_executable_type):
13679 Fix closedir() defn.
13682 [[[[8]]]]: *_OK defs moved to sysfile.h.
13691 * print.c (std_handle_out_external):
13695 * process-nt.c (nt_create_process):
13697 try to fix process quoting somewhat.
13699 * process-unix.c (unix_create_process):
13703 * process.c (vars_of_process):
13710 * realpath.c (xrealpath):
13713 * redisplay-tty.c (init_tty_for_redisplay):
13723 * sheap.c (more_static_core):
13724 * sheap.c (report_sheap_usage):
13728 * signal.c (alarm_signal):
13735 * strftime.c (zone_name):
13738 * symsinit.h (init_sunpro):
13742 commctrl.h not in Cygwin b20.1.
13745 * sysdep.c (endif):
13746 * sysdep.c (sys_subshell):
13747 * sysdep.c (init_baud_rate):
13748 * sysdep.c (emacs_get_tty):
13749 * sysdep.c (emacs_set_tty):
13750 * sysdep.c (tty_init_sys_modes_on_device):
13751 * sysdep.c (init_system_name):
13752 * sysdep.c (sys_open):
13753 * sysdep.c (interruptible_open):
13754 * sysdep.c (sys_fopen):
13755 * sysdep.c (sys_mkdir):
13756 * sysdep.c (sys_rename):
13757 * sysdep.c (get_process_times_1):
13764 * sysdir.h (DIRENTRY_NONEMPTY):
13767 * sysdll.c (dll_init):
13773 added text/binary defs.
13779 * sysproc.h (EDESTADDRREQ):
13780 * sysproc.h (poll_fds_for_input):
13797 Always define WIN32_LEAN_AND_MEAN.
13799 * unexcw.c (unexec):
13803 * unexec.c (copy_text_and_data):
13804 * unexec.c (adjust_lnnoptrs):
13808 * unexnt.c (_start):
13811 2000-06-07 Ben Wing <ben@xemacs.org>
13813 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13814 was used only as a model. We've long since extracted any useful
13815 logic or code out of this. (I just did an exhaustive search.)
13817 * s\msdos.h: Removed.
13819 * s\windows95.h: Removed.
13821 2000-06-10 Ben Wing <ben@xemacs.org>
13825 Don't use extern with fun defs.
13829 Remove nt\inc include.
13830 Remove getdisk, getdefdir. (The former is unused, the latter
13831 expanded in fileio.h.)
13834 * s\windowsnt.h (WIN32_NATIVE):
13835 * s\windowsnt.h (HAVE_STRCASECMP):
13837 Add long comment about preprocessor changes.
13838 Remove getdisk, getdefdir. (The former is unused, the latter
13839 expanded in fileio.h.)
13841 2000-06-10 Ben Wing <ben@xemacs.org>
13850 Remove bogus/unused NO_SOCK_SIGIO.
13852 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13854 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13857 2000-06-04 Mike Sperber <mike@xemacs.org>
13859 * casetab.c (set_case_table): For `set-standard-case-table',
13860 actually deposit the new case tables where the rest of XEmacs can
13863 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13865 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13867 2000-06-05 Ben Wing <ben@xemacs.org>
13869 * callproc.c (child_setup): Don't do close_load_descs() under
13870 MS Windows. Put in a comment explaining why.
13872 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13874 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13875 Toolkit shell" which breaks `kill-compilation' on Windows NT
13876 native, retaining STDERR handling improvements.
13878 2000-06-01 Andreas Jaeger <aj@suse.de>
13880 * s/s390.h: Support for S390, based on a patch by Martin
13881 Schwidefsky <schwidefsky@de.ibm.com>.
13883 2000-05-30 Andy Piper <andy@xemacs.org>
13885 * window.c (allocate_window):
13886 (make_dummy_parent):
13887 (Fset_window_configuration): use new hashtable type.
13889 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13890 (struct image_instantiator_methods):
13891 (struct Lisp_Image_Instance): make instance geometry signed.
13893 * glyphs.c (instantiate_image_instantiator):
13894 (image_instance_query_geometry):
13895 (image_instance_layout):
13896 (image_instance_layout):
13897 (query_string_geometry):
13898 (text_query_geometry):
13899 (image_instantiate):
13900 (image_instantiate):
13901 (cache_subwindow_instance_in_frame_maybe):
13902 (subwindow_query_geometry): make instance geometry signed.
13904 * glyphs-widget.c (widget_query_geometry):
13906 (button_query_geometry):
13907 (tree_view_query_geometry):
13908 (tab_control_query_geometry):
13909 (layout_query_geometry):
13911 (native_layout_layout): make instance geometry signed.
13913 2000-05-29 Olivier Galibert <galibert@pobox.com>
13915 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13918 * general.c (syms_of_general): Add Qfull_assoc symbol.
13920 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13922 (decode_weak_list_type): Decode full-assoc type.
13923 (encode_weak_list_type): Encode full-assoc type.
13924 (Fmake_weak_list): Update doc string.
13926 2000-05-30 Andy Piper <andy@xemacs.org>
13928 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13930 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13931 (decode_hash_table_weakness): ditto.
13932 (Fhash_table_weakness): ditto.
13933 (Fhash_table_type): ditto.
13934 (finish_marking_weak_hash_tables): ditto.
13935 (hash_table_weakness_validate): ditto.
13936 (syms_of_elhash): ditto.
13938 2000-05-28 Martin Buchholz <martin@xemacs.org>
13940 * XEmacs 21.2.34 is released.
13942 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13944 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13946 (updating_line_start_cache): Gone.
13947 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13948 generic code to force a minimum of 1 line laid out in the
13951 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13953 * glyphs.c (instantiate_image_instantiator): Check for initialized
13954 height & width no longer special cases IMAGE_NOTHING.
13955 (nothing_instantiate): Set height and width of instance.
13957 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13959 * unexelf.c (unexec): Search for ".data" section.
13960 Initialize new_data2_offset from old_data_index.
13961 Remove redundant check for ElfW.
13963 2000-05-23 Andy Piper <andy@xemacs.org>
13965 * glyphs.c (get_image_instantiator_governing_domain): allow more
13966 specific domains as the governing domain rather than expecting an
13967 exact match. This fixes problems with layouts.
13969 2000-05-22 Andy Piper <andy@xemacs.org>
13971 * redisplay-output.c (compare_runes): check for non-images
13973 * glyphs.c (set_glyph_dirty_p): ditto.
13974 (update_glyph_cachel_data): ditto.
13976 * glyphs-widget.c (layout_post_instantiate): ditto.
13977 (layout_post_instantiate): ditto.
13979 * event-msw.c (mswindows_wnd_proc): warning removal.
13981 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13983 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13985 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13987 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13989 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13990 (mswindows_executable_type): mingw32 now has enough headers for
13993 2000-05-20 Andy Piper <andy@xemacs.org>
13995 * console-msw.c (mswindows_output_last_error): ; -> ,
13997 2000-05-12 Andy Piper <andy@xemacs.org>
13999 * console-msw.c (FROB): compare ints with ints.
14001 2000-05-11 Andy Piper <andy@xemacs.org>
14003 * glyphs-x.c (x_finalize_image_instance): make minimal build
14006 2000-05-20 Ben Wing <ben@xemacs.org>
14009 * event-Xt.c (vars_of_event_Xt):
14010 move modifier-keys-are-sticky to event-stream.c.
14013 * event-msw.c (mswindows_enqueue_mouse_button_event):
14014 * event-msw.c (key_needs_default_processing_p):
14015 * event-msw.c (XEMSW_LCONTROL):
14016 * event-msw.c (mswindows_handle_sticky_modifiers):
14017 * event-msw.c (FROB):
14018 * event-msw.c (clear_sticky_modifiers):
14019 * event-msw.c (output_modifier_keyboard_state):
14020 * event-msw.c (output_alt_keyboard_state):
14021 * event-msw.c (mswindows_wnd_proc):
14022 * event-msw.c (mswindows_modifier_state):
14023 * event-msw.c (emacs_mswindows_handle_magic_event):
14024 implement sticky modifiers.
14027 * event-stream.c (vars_of_event_stream):
14028 move modifier-keys-are-sticky here.
14031 add CHECK_FUNCTION.
14034 implement map-range-table.
14037 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
14039 * redisplay-tty.c (reset_tty_modes):
14040 (tty_redisplay_shutdown): Adjust argument type to
14041 tty_frame_output_end.
14043 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14045 * eval.c (Fbacktrace): Don't output a line with only right
14048 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
14050 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
14051 (Fpq_reset_poll): Ditto.
14053 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
14055 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
14057 2000-05-16 Ben Wing <ben@xemacs.org>
14060 * buffer.c (dfc_convert_to/from_internal_format):
14061 * buffer.c (reinit_vars_of_buffer):
14062 Fix conversion functions to allow reentrancy.
14065 * console-msw.c (mswindows_output_last_error):
14066 New fun, generally useful -- output a human-readable
14067 version of GetLastError() on the console.
14070 * console-msw.h (struct mswindows_frame):
14071 Changes for DeferWindowPos. Declare mswindows_output_last_error().
14073 * console-stream.c (stream_output_begin):
14074 * console-stream.c (stream_output_end):
14075 * console-stream.c (stream_output_vertical_divider):
14076 * console-stream.c (stream_clear_region):
14077 * console-stream.c (stream_flash):
14078 * console-stream.c (console_type_create_stream):
14079 Delete blank stream methods, not needed.
14081 * console.h (struct console_methods):
14082 Split begin/end methods into window and frame.
14085 * event-msw.c (mswindows_handle_paint):
14086 * event-msw.c (output_alt_keyboard_state):
14087 * event-msw.c (mswindows_wnd_proc):
14088 * event-msw.c (vars_of_event_mswindows):
14089 Comment about problems with ignored-expose.
14090 Define mswindows-debug-events; not really implemented.
14092 * frame-msw.c (mswindows_init_frame_1):
14096 * glyphs-msw.c (begin_defer_window_pos):
14097 * glyphs-msw.c (mswindows_unmap_subwindow):
14098 * glyphs-msw.c (mswindows_map_subwindow):
14099 * glyphs-msw.c (mswindows_resize_subwindow):
14100 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14102 * glyphs.c (make_image_instance_1):
14105 * gutter.c (Fredisplay_gutter_area):
14106 Use new begin/end methods.
14108 * lisp.h (Dynarr_new2):
14112 * redisplay-msw.c (mswindows_frame_output_begin):
14113 * redisplay-msw.c (mswindows_frame_output_end):
14114 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14115 New begin/end methods -- handle DeferWindowPos.
14117 * redisplay-output.c (redisplay_move_cursor):
14118 * redisplay-output.c (redraw_cursor_in_window):
14119 * redisplay-output.c (redisplay_update_line):
14120 * redisplay-output.c (redisplay_output_window):
14121 New begin/end methods.
14124 * redisplay-tty.c (tty_frame_output_begin):
14125 * redisplay-tty.c (tty_frame_output_end):
14126 * redisplay-tty.c (console_type_create_redisplay_tty):
14127 New begin/end methods.
14130 * redisplay-x.c (x_window_output_begin):
14131 * redisplay-x.c (x_window_output_end):
14132 * redisplay-x.c (console_type_create_redisplay_x):
14133 New begin/end methods.
14135 * redisplay.c (redisplay_frame):
14136 * redisplay.c (Fredisplay_echo_area):
14137 New begin/end methods.
14138 use MAYBE_DEVMETH for clear_frame; it may not exist.
14140 * window.h (WINDOW_XFRAME):
14141 WINDOW_XFOO macros -- get locale and decode struct pointer.
14144 2000-05-12 Ben Wing <ben@xemacs.org>
14147 * emacs.c (ensure_no_quitting_from_now_on):
14148 * emacs.c (fatal_error_signal):
14149 * emacs.c (mswindows_handle_hardware_exceptions):
14151 * emacs.c (Fkill_emacs):
14152 * emacs.c (shut_down_emacs):
14153 * emacs.c (assert_failed):
14154 various improvements in fatal error handling.
14157 move preparing_for_armageddon to emacs.c.
14160 declare fatal_error_in_progress.
14163 * print.c (std_handle_out_external):
14164 * print.c (std_handle_out_va):
14165 * print.c (stderr_out):
14166 * print.c (stdout_out):
14167 use console under mswin when no standard output.
14168 don't do code conversion during fatal error.
14170 * scrollbar.c (Fscrollbar_page_up):
14171 * scrollbar.c (Fscrollbar_page_down):
14172 fix missing else. reindent.
14174 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14178 * glyphs.h (GLYPH_CACHEL_DESCENT):
14179 (GLYPH_CACHEL_DESCENT):
14180 (GLYPH_CACHEL_DESCENT):
14181 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14182 used in case these are inline functions.
14183 Use more absurd values to error check.
14185 include window.h for error check functions.
14187 2000-05-11 Ben Wing <ben@xemacs.org>
14189 * cmdloop.c (Freally_early_error_handler):
14190 Display message box under windows; otherwise, message will disappear
14191 before it can be viewed.
14194 * console-msw.c (Fmswindows_message_box):
14195 * console-msw.c (FROB):
14196 * console-msw.c (syms_of_console_mswindows):
14197 Define new fun `mswindows-message-box'.
14198 #### I will merge this into `popup-dialog-box'; just give me
14202 * general.c (syms_of_general):
14203 Some new symbols used in `mswindows-message-box'.
14206 * glyphs.c (Fset_image_instance_property):
14207 put warning in this fun.
14210 * glyphs.h (GLYPH_CACHEL_WIDTH):
14211 * glyphs.h (GLYPH_CACHEL_ASCENT):
14212 * glyphs.h (GLYPH_CACHEL):
14213 * glyphs.h (GLYPH_CACHEL_GLYPH):
14214 define error-checking versions to try to catch a bug i've seen --
14215 redisplay gets in an infinite loop because the glyph width of the
14216 continuation glyph is 65535.
14219 Extern message-box stuff.
14221 * window.c (allocate_window):
14222 * window.c (make_dummy_parent):
14223 * window.c (Fset_window_configuration):
14224 Use EQUAL not EQ for subwindow caches to make them work a bit
14225 better. (Something is still very broken.)
14228 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14230 * glyphs.c (image_instantiate): Suppress gcc warnings.
14231 (Fmake_image_instance): Fix doc string.
14232 * specifier.c (Fmake_specifier): Ditto.
14234 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14236 * paths.h.in (PATH_LOCK): Removed.
14237 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14238 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14240 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14242 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14243 Document (featurep '(and xemacs 21.02)).
14245 2000-05-09 Ben Wing <ben@xemacs.org>
14247 * buffer.c (complex_vars_of_buffer):
14248 update modeline-format doc.
14251 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14254 timeline of all released versions of Emacs, for use in creating
14255 authorship comments and in synching up.
14257 * glyphs-widget.c (image_instantiator_buttons):
14258 * glyphs-widget.c (image_instantiator_edit_fields):
14259 * glyphs-widget.c (image_instantiator_combo_box):
14260 * glyphs-widget.c (image_instantiator_scrollbar):
14261 * glyphs-widget.c (image_instantiator_progress_guage):
14262 * glyphs-widget.c (image_instantiator_tree_view):
14263 * glyphs-widget.c (image_instantiator_tab_control):
14264 * glyphs-widget.c (image_instantiator_labels):
14265 * glyphs-widget.c (image_instantiator_layout):
14266 * glyphs-widget.c (image_instantiator_native_layout):
14267 rename decode_domain method to governing_domain.
14270 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14271 * glyphs.c (add_entry_to_device_ii_format_list):
14272 make sure we don't put an entry more than once into the list.
14273 * glyphs.c (check_instance_cache_mapper):
14274 *************************************************************
14275 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14277 *************************************************************
14278 * glyphs.c (get_image_instantiator_governing_domain):
14279 clean up, expand on new concept of governing domain.
14280 * glyphs.c (instantiate_image_instantiator):
14281 * glyphs.c (allocate_image_instance):
14282 use governing_domain instead of cache_domain in naming.
14283 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14284 * glyphs.c (make_image_instance_1):
14285 * glyphs.c (Fmake_image_instance):
14286 allow for any domain (not just device), and process the
14287 governing domain correctly. very big doc fix.
14288 * glyphs.c (Fimage_instance_domain):
14289 new primitive, to retrieve the governing domain of an image instance.
14290 * glyphs.c (image_instantiate):
14291 use new governing_domain stuff. this fixes a crash you could get
14292 by instantiating certain widget glyphs in frame locales. (should
14293 signal an error instead of crashing.)
14294 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14295 * glyphs.c (Fglyphp): clean up doc.
14296 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14297 * glyphs.c (syms_of_glyphs):
14298 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14299 * glyphs.c (image_instantiator_format_create): add some comments about
14301 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14302 for current-display-table. (Apparently Hrjove implemented in 1998 a
14303 design I wrote up in 1996, but didn't update the doc string.)
14305 * glyphs.h: clean up a doc string.
14306 * glyphs.h (governing_domain):
14307 * glyphs.h (struct image_instantiator_methods):
14308 changes for governing_domain stuff.
14311 * gutter.c (Fgutter_specifier_p):
14312 * gutter.c (Fgutter_size_specifier_p):
14313 * gutter.c (Fgutter_visible_specifier_p):
14315 * objects.c (Fcolor_specifier_p):
14316 * objects.c (Ffont_specifier_p):
14317 * objects.c (Fface_boolean_specifier_p):
14318 doc strings moved to make-*-specifier.
14320 * redisplay.c (add_disp_table_entry_runes_1):
14321 * redisplay.c (generate_fstring_runes):
14322 * redisplay.c (screen):
14323 add random comments and doc strings.
14326 * specifier.c (Fmake_specifier):
14327 major overhaul of this doc string.
14329 * specifier.c (Fvalid_specifier_domain_p):
14330 comment about the bogosity of image instances being domains.
14331 * specifier.c (decode_domain):
14332 now non-static, used in glyphs.c.
14333 * specifier.c (specifier_instance):
14334 comment about the bogosity of image instances being domains.
14335 * specifier.c (Fgeneric_specifier_p):
14336 move doc string to make-generic-specifier.
14337 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14341 * specifier.h (DOMAIN_FRAME):
14342 * specifier.h (DOMAIN_LIVE_P):
14343 * specifier.h (DOMAIN_XDEVICE):
14345 add comments about problems with these macros.
14346 prototype for decode_domain.
14349 * toolbar.c (Ftoolbar_specifier_p):
14350 move doc string to `make-toolbar-specifier'.
14352 * window.c (window_unmap_subwindows_cache_mapper):
14353 *************************************************************
14354 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14356 *************************************************************
14358 2000-05-09 Andy Piper <andy@xemacs.org>
14360 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14362 * window.c (Fset_window_configuration): reset the frame subwindow
14363 cache and re-initialize the window subwindow caches.
14365 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14367 2000-05-09 Ben Wing <ben@xemacs.org>
14369 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14372 2000-04-26 Mike Woolley <mike@bulsara.com>
14374 * ntheap.c: Changed recreate_heap to limit the amount reserved
14375 for the heap to that which is actually available. Also now
14376 displays a message box (with some dignostics) in the event that
14377 it still can't start.
14379 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14381 * callproc.c (Fold_call_process_internal): GCPRO path
14383 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14385 Patch by Bill Perry.
14387 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14388 back data instead of #ifdef.
14389 (Fscrollbar_page_down): ditto.
14391 2000-05-07 Ben Wing <ben@xemacs.org>
14394 Kludge for defining Qmswindows_tstr.
14397 * nt.c (open_input_file):
14398 * nt.c (open_output_file):
14399 * nt.c (rva_to_section):
14400 * nt.c (mswindows_executable_type):
14401 Move all memory-mapped-file routines here (some were in unexnt.c,
14402 which is bad because they are used by process-nt.c, and unexnt
14403 won't be around when portable dumping). Synched the above routines
14407 Removed ifdef'd out bogus code.
14408 Fixed some prototypes.
14410 * nt.h (file_data):
14411 * nt.h (OFFSET_TO_RVA):
14412 * nt.h (RVA_TO_OFFSET):
14413 * nt.h (RVA_TO_PTR):
14414 Moved the memory-mapped-file structures, macros and prototypes
14415 here, to parallel nt.c. ntheap.h should really be removed
14416 entirely, and it's a non-portable-dumper specific file.
14418 * ntheap.h (round_to_next):
14419 Moved the memory-mapped-file structures, macros and prototypes
14422 * ntproc.c (compare_env):
14423 Moved rva_to_section and mswindows_executable_type to nt.c.
14424 Moved compare_env to process-nt.c.
14425 ntproc.c will die, one day.
14427 * ntproc.c (sys_spawnve):
14428 Account for win32_ -> mswindows_.
14431 * process-nt.c (struct nt_process_data):
14432 * process-nt.c (ensure_console_window_exists):
14433 * process-nt.c (compare_env):
14434 * process-nt.c (nt_create_process):
14435 * process-nt.c (nt_kill_process_by_pid):
14436 * process-nt.c (syms_of_process_nt):
14437 * process-nt.c (vars_of_process_nt):
14438 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14439 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14440 changes). Eliminate our old `nt-quote-process-args' mechanism.
14441 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14442 Move compare_env here from ntproc.c.
14444 * process.c (Fprocess_send_region):
14445 Takes an optional fourth argument, BUFFER, which should fix some
14446 problems with call-process.
14449 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14452 Move ICC_BAR_CLASSES to syscommctrl.h.
14453 Add preliminary macros for MSWindows/Mule. More to come.
14456 * unexnt.c (unexec):
14457 open_output_file moved to nt.c.
14460 2000-05-05 Andy Piper <andy@xemacs.org>
14462 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14463 instance from the frame cache also since GC may catch up too late
14464 to make frame deletion sane.
14466 2000-05-04 Andy Piper <andy@xemacs.org>
14468 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14469 (x_finalize_image_instance): ungcpro on deletion.
14471 * glyphs.c (image_instantiator_format_create): give pointers a
14472 query geometry method so that the geometry is at least set.
14474 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14475 initialize layouts if using widgets.
14477 2000-05-03 Andy Piper <andy@xemacs.org>
14479 * nt.c: remove bogus reference to sysmmsystem.h
14481 * gui-x.c (popup_selection_callback): fix no selection abort.
14483 2000-05-02 Andy Piper <andy@xemacs.org>
14485 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14486 (mswindows_widget_instantiate): ditto.
14488 * glyphs-widget.c (initialize_widget_image_instance): initialize
14489 children correctly.
14490 (widget_instantiate): cope with children and items in the same
14493 * glyphs.c (mark_image_instance): cope with children as a first
14495 (image_instance_equal): ditto.
14496 (image_instance_hash): ditto.
14497 (image_instance_changed): ditto.
14499 2000-04-30 Andy Piper <andy@xemacs.org>
14501 * glyphs.c (subwindow_query_geometry): new function. Return some
14503 (subwindow_instantiate): don't assign dimensions if none have been
14505 (image_instantiator_format_create): add subwindow_query_geometry.
14506 (print_image_instance): cope with layouts as widgets.
14508 2000-04-29 Andy Piper <andy@xemacs.org>
14510 * frame.c (delete_frame_internal): call
14511 free_frame_subwindow_instance_cache so that all subwindows are
14512 finalized before their parent.
14513 (mark_frame): remove subwindow_cachels.
14514 (Fmake_frame): remove subwindow_cachel manipulation.
14515 (allocate_frame_core): subwindow_instance_cache is a weak list.
14516 (delete_frame_internal): set subwindow_instance_cache to nil.
14518 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14520 (mswindows_finalize_image_instance): use the device
14521 not the domain as the domain may have died already.
14523 * glyphs-x.c (x_finalize_image_instance): ditto.
14524 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14527 * redisplay-output.c (redisplay_unmap_subwindows): update for
14528 subwindow instance cache as a weak list.
14529 (redisplay_unmap_subwindows_maybe): ditto.
14530 (redisplay_unmap_subwindows_except_us): ditto.
14532 * glyphs.c (unmap_subwindow): error checking will check the domain
14533 so don't deal with it here. Don't use cachels anymore.
14534 (map_subwindow): ditto.
14535 (update_subwindow_cachel_data): remove old accessor names.
14536 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14537 (Fresize_subwindow): don't update cachel.
14538 (mark_subwindow_cachels):
14539 (update_subwindow_cachel_data):
14540 (add_subwindow_cachel):
14541 (get_subwindow_cachel_index):
14542 (update_subwindow_cachel):
14543 (reset_subwindow_cachels):
14544 (mark_subwindow_cachels_as_not_updated): deleted.
14545 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14546 subwindow instance to the frame cache.
14547 (find_matching_subwindow): update for subwindow instance cache as
14549 (update_widget_instances): ditto.
14550 (image_instance_type_to_mask):inlined.
14551 (free_frame_subwindow_instance_cache): new function. finalize all
14552 subwindows that are instantiated.
14554 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14555 of cachel information.
14556 (IMAGE_INSTANCE_DISPLAY_X):
14557 (IMAGE_INSTANCE_DISPLAY_Y):
14558 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14559 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14560 (XIMAGE_INSTANCE_DISPLAY_X):
14561 (XIMAGE_INSTANCE_DISPLAY_Y):
14562 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14563 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14564 remove subwindow_cachel structure and function references.
14565 (image_instance_type_to_mask): inline from glyphs.c
14567 * redisplay.c (redisplay_frame): remove subwindow_cachel
14570 * frame.h (struct frame): remove subwindow_cachels.
14571 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14573 * frameslots.h: add subwindow_instance_cache.
14575 * window.c (replace_window): check subwindow cache of replacement.
14576 (window_unmap_subwindows_cache_mapper):
14577 (window_unmap_subwindows): new functions. Unmap all subwindows
14578 cached on this window.
14579 (mark_window_as_deleted): unmap all subwindows.
14581 2000-04-27 Andy Piper <andy@xemacs.org>
14583 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14585 * glyphs-widget.c (widget_layout): return something.
14586 (layout_layout): return something. Fail if not initialized.
14587 (layout_query_geometry): ditto.
14588 (image_instantiator_native_layout): new function. Initialized the
14589 native layout type.
14590 (widget_instantiate): don't do layout stuff here.
14592 * glyphs.c (instantiate_image_instantiator): reorded calling or
14593 instantiate and post_instantiate with layout in between.
14594 (image_instance_layout): be more selective about deciding whether
14595 the layout has been done or not.
14597 * glyphs.h (struct image_instantiator_methods): return a value
14598 from layout_method.
14600 2000-04-26 Andy Piper <andy@xemacs.org>
14602 * glyphs.c (allocate_image_instance): make initial width and
14603 height unspecified. Set initialized to 0.
14605 * syscommctrl.h new file. Encapsulates commctrl.h.
14607 * syswindows.h new file. Encapsulates windows.h.
14609 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14611 * console-msw.h: ditto.
14613 * redisplay-tty.c (tty_output_display_block): remove layout references.
14615 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14616 window handle rather than just the frame.
14618 * glyphs.c (mark_image_instance): remove layout references.
14619 (print_image_instance): ditto.
14620 (image_instance_equal): ditto.
14621 (image_instance_hash): ditto.
14622 (decode_image_instance_type): ditto.
14623 (encode_image_instance_type): ditto.
14624 (image_instantiate): ditto.
14625 (allocate_glyph): ditto.
14626 (Fimage_instance_height): ditto.
14627 (Fimage_instance_width): ditto.
14628 (update_subwindow): ditto.
14630 * redisplay-x.c (x_output_display_block): recode for layouts as
14633 * redisplay-output.c (redisplay_output_layout): recode for layouts
14635 (compare_runes): remove layout references.
14637 * redisplay-msw.c (mswindows_output_display_block): recode for
14638 layouts as widgets.
14640 * glyphs-widget.c (image_instantiator_layout): remove
14641 layout_possible_dest_types.
14642 (layout_possible_dest_types): deleted.
14644 * glyphs.h (image_instance_type): remove layout references.
14645 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14646 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14647 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14649 2000-04-25 Andy Piper <andy@xemacs.org>
14651 * glyphs-widget.c (image_instantiator_buttons):
14652 (image_instantiator_edit_fields):
14653 (image_instantiator_combo_box):
14654 (image_instantiator_scrollbar):
14655 (image_instantiator_progress_guage):
14656 (image_instantiator_tree_view):
14657 (image_instantiator_tab_control):
14658 (image_instantiator_labels):
14659 (image_instantiator_layout): call default post_instantiate method.
14660 (widget_post_instantiate): new function. Simply lays out the
14663 * glyphs.h (struct image_instantiator_methods): add
14664 post_instantiate method.
14666 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14669 2000-04-23 Andy Piper <andy@xemacs.org>
14671 * glyphs.h (struct image_instantiator_methods): add
14672 decode_domain_method.
14673 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14674 derived from the domain.
14675 (IMAGE_INSTANCE_FRAME): new accessor.
14676 (XIMAGE_INSTANCE_FRAME): ditto.
14678 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14679 instead of _SUBWINDOW_FRAME.
14680 (finalize_image_instance): ditto.
14681 (Fimage_instance_foreground): ditto.
14682 (Fimage_instance_background): ditto.
14683 (image_instantiate): ditto.
14684 (update_subwindow_cachel): ditto.
14685 (update_subwindow): ditto.
14686 (unmap_subwindow): ditto.
14687 (map_subwindow): ditto
14688 (subwindow_instantiate): ditto.
14689 * glyphs-msw.c (mswindows_update_widget): ditto.
14690 (mswindows_progress_gauge_instantiate): ditto.
14691 (mswindows_tab_control_update): ditto.
14692 * glyphs-x.c (x_update_widget): ditto.
14693 (x_widget_instantiate): ditto.
14694 (x_tab_control_instantiate): ditto.
14695 (x_tab_control_update): ditto.
14696 * event-msw.c (mswindows_wnd_proc): ditto
14698 * glyphs-widget.c (image_instantiator_layout): use
14699 subwindow_decode_domain.
14700 (image_instantiator_buttons): ditto.
14701 (image_instantiator_edit_fields): ditto.
14702 (image_instantiator_combo_box): ditto.
14703 (image_instantiator_scrollbar): ditto.
14704 (image_instantiator_progress_guage): ditto.
14705 (image_instantiator_tree_view): ditto.
14706 (image_instantiator_tab_control): ditto.
14707 (image_instantiator_labels): ditto.
14708 (image_instantiator_layout): ditto.
14710 * glyphs.c: add instance error checking to many functions.
14711 (instantiate_image_instantiator): decode device from cache_domain.
14712 (image_instantiate): partially rewrite by using
14713 decode_image_instantiator_domain to determine what domain the
14714 instance needs to be cached in.
14715 (decode_image_instantiator_domain): new function. Determine what
14716 domain the image needs to be cached in.
14717 (check_window_subwindow_cache): new error checking function.
14718 (check_instance_cache_mapper): ditto.
14719 (check_image_instance_structure): ditto.
14720 (subwindow_decode_domain): new function. Encodes a window as a
14721 subwindow's cache domain.
14722 (image_instantiator_format_create): use it for text and
14725 2000-04-21 Andy Piper <andy@xemacs.org>
14727 * glyphs.c (image_instance_device): new function.
14728 (image_instance_frame): new function.
14729 (image_instance_window): new function.
14730 (image_instance_live_p): new function.
14732 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14735 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14736 (IMAGE_INSTANCE_DOMAIN): new accessor.
14737 (XIMAGE_INSTANCE_DOMAIN): ditto.
14739 * glyphs-x.c (x_finalize_image_instance): device->domain.
14741 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14742 (mswindows_finalize_image_instance): ditto.
14744 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14745 (gif_instantiate): ditto.
14746 (png_instantiate): ditto.
14747 (tiff_instantiate): ditto.
14749 * glyphs.c (instantiate_image_instantiator): use domain rather
14751 (mark_image_instance): device -> domain.
14752 (print_image_instance): ditto.
14753 (finalize_image_instance): ditto.
14754 (image_instance_equal): ditto.
14755 (allocate_image_instance): ditto.
14756 (Fcolorize_image_instance): ditto.
14757 (query_string_geometry): ditto.
14758 (image_instantiate): ditto
14759 (query_string_font): ditto.
14760 (image_instantiate): ditto.
14761 (update_subwindow): ditto.
14762 (unmap_subwindow): ditto.
14763 (map_subwindow): ditto.
14764 (subwindow_instantiate): ditto.
14766 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14767 (DOMAIN_FRAME): ditto.
14768 (DOMAIN_WINDOW): ditto.
14769 (DOMAIN_LIVE_P): ditto.
14770 (XDOMAIN_DEVICE): ditto.
14771 (XDOMAIN_FRAME): ditto.
14772 (XDOMAIN_WINDOW): ditto.
14774 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14775 a valid specifier domain.
14777 2000-04-19 Andy Piper <andy@xemacs.org>
14779 * glyphs-widget.c (syms_of_glyphs_widget): remove
14780 widget-callback-current-channel.
14781 (vars_of_glyphs_widget): ditto.
14784 * gui.c (get_gui_callback): revert to previous behaviour.
14786 2000-04-18 Andy Piper <andy@xemacs.org>
14788 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14789 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14790 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14792 * glyphs.c (image_instance_equal): add margin_width.
14793 (image_instance_hash): ditto.
14795 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14796 (layout_query_geometry): ditto.
14797 (layout_layout): ditto.
14798 (syms_of_glyphs_widget): add margin-width.
14799 (image_instantiator_layout): allow margin-width.
14801 * glyphs.c (update_widget_instances): make a normal function.
14802 (syms_of_glyphs): remove Qupdate_widget_instances.
14805 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14806 so that we don't corrupt ideas about the last event or
14807 command. Remove widget-callback-current-channel fiddling.
14808 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14810 2000-05-01 Martin Buchholz <martin@xemacs.org>
14812 * XEmacs 21.2.33 is released.
14814 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14816 * make-src-depend: Allow dots in header file name.
14818 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14820 * mule-charset.h (struct charset_lookup): Add
14821 next_allocated_1_byte_leading_byte and
14822 next_allocated_2_byte_leading_byte.
14823 * mule-charset.c: Move above two variables so that those values
14826 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14828 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14829 when string length is zero.
14830 (find_charsets_in_emchar_string): Ditto.
14832 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14834 * lisp.h: extern Qdialog and Qmenubar.
14836 * gui-x.c: added events.h.
14837 also fixed typo which made the file uncompilable.
14839 * general.c: Added Qmenubar and Qdialog
14841 2000-04-28 Ben Wing <ben@xemacs.org>
14843 * frame-msw.c (mswindows_init_frame_1):
14844 * frame-msw.c (mswindows_mark_frame):
14845 * event-msw.c (mswindows_enqueue_dispatch_event):
14847 * console-msw.h (struct mswindows_frame):
14848 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14849 there are now three hash tables for callbacks.
14850 mswindows_enqueue_dispatch_event is no longer static.
14852 * dialog-x.c (maybe_run_dbox_text_callback):
14853 * dialog-x.c (dbox_descriptor_to_widget_value):
14854 switch to new cons3 form for callbacks.
14856 * glyphs-msw.c (mswindows_register_gui_item):
14857 * glyphs-msw.c (mswindows_widget_instantiate):
14858 * glyphs-msw.c (add_tree_item):
14859 * glyphs-msw.c (add_tab_item):
14860 new image instance parameter, so it can be passed to callback-ex.
14861 respect :callback-ex as well as :callback.
14863 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14866 * glyphs.c (print_image_instance):
14867 prettify, e.g. now prints widget type.
14870 certain funs have new image instance parameter.
14873 * gui.c (get_gui_callback):
14874 * gui.c (gui_item_add_keyval_pair):
14875 * gui.c (gui_item_init):
14876 * gui.c (gui_add_item_keywords_to_plist):
14877 * gui.c (mark_gui_item):
14878 * gui.c (gui_item_hash):
14879 * gui.c (gui_item_equal):
14880 * gui.c (copy_gui_item):
14881 * gui.c (syms_of_gui):
14882 recognize callback-ex in a number of places.
14883 also, fix the annoying "can't get out of yes-no dialog" bug.
14886 * gui.h (struct Lisp_Gui_Item):
14887 recognize callback-ex in a number of places.
14889 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14890 new parameter in button_item_to_widget_value.
14892 * glyphs-x.c (x_update_widget):
14893 * glyphs-x.c (x_button_instantiate):
14894 * glyphs-x.c (x_button_update):
14895 * glyphs-x.c (x_progress_gauge_instantiate):
14896 * glyphs-x.c (x_edit_field_instantiate):
14897 * glyphs-x.c (x_combo_box_instantiate):
14898 * glyphs-x.c (x_tab_control_instantiate):
14899 * glyphs-x.c (x_label_instantiate):
14900 new image instance parameter in various places.
14903 * event-Xt.c (enqueue_Xt_dispatch_event):
14904 this fun gets exported.
14907 * gui-msw.c (mswindows_handle_gui_wm_command):
14908 handle both :callback and :callback-ex, and generate our own
14909 event because it's one of the callback-ex arguments.
14912 * gui-x.c (popup_selection_callback):
14913 handle both :callback and :callback-ex, and generate our own
14914 event because it's one of the callback-ex arguments.
14915 * gui-x.c (button_item_to_widget_value):
14916 * gui-x.c (gui_items_to_widget_values_1):
14917 * gui-x.c (gui_item_children_to_widget_values):
14918 * gui-x.c (gui_items_to_widget_values):
14919 new image instance parameter in various places.
14921 * fns.c (Freplace_list):
14922 fix small typo in doc string.
14925 declare enqueue_Xt_dispatch_event.
14927 2000-04-28 Ben Wing <ben@xemacs.org>
14930 * buffer.c (Frecord_buffer):
14931 * buffer.c (syms_of_buffer):
14932 delete record-buffer-hook.
14935 * fns.c (Freplace_list):
14936 * fns.c (syms_of_fns):
14937 new primitive replace-list.
14940 slot for old buffer-alist.
14943 exfun replace-list.
14946 * redisplay.c (redisplay_frame):
14947 * redisplay.c (syms_of_redisplay):
14948 * redisplay.c (vars_of_redisplay):
14949 new hook buffer-list-changed-hook.
14952 2000-04-27 Ben Wing <ben@xemacs.org>
14954 * extents.h: extern in_modeline_generation.
14956 * redisplay.c (generate_formatted_string_db): set
14957 in_modeline_generation.
14959 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14960 flags if in modeline generation. otherwise frame-modified-tick
14961 is ticked far too often.
14962 Declare in_modeline_generation.
14964 2000-04-26 Ben Wing <ben@xemacs.org>
14966 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14968 (vars_of_emacs): add quick-build as an error-checking option.
14969 A bit kludgy, but there doesn't seem much point in creating
14970 a real var for this.
14972 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14974 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14976 * redisplay.h (struct display_line): Add a new variable,
14979 * redisplay.c (create_text_block): Set dl->line_continuation if
14980 the line continues.
14981 (create_string_text_block): Ditto.
14982 (regenerate_window_incrementally): Use line_continuation instead
14983 of searching continuation glyph.
14984 (add_margin_runes): Call add_glyph_rune.
14985 (add_glyph_rune): Handle margin glyph.
14987 2000-04-20 Martin Buchholz <martin@xemacs.org>
14989 * filelock.c (fill_in_lock_file_name):
14991 Check for IS_ANY_SEP instead of '/'.
14993 Avoid generating gratuitous garbage. Call user_login_name() directly.
14994 Never check errno without first seeing that system call failed.
14995 (unlock_file): Add GCPRO.
14996 (Flock_buffer): Fix docstring.
14997 (Ffile_locked_p): Fix docstring. Add GCPRO.
14999 2000-04-19 Martin Buchholz <martin@xemacs.org>
15001 * sysdep.c (get_pty_max_bytes):
15002 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
15003 strings longer than 252 bytes.
15005 * md5.c: Unconditionally include ANSI header <limits.h>
15007 * glyphs-x.c (convert_EImage_to_XImage):
15008 * lisp-union.h (union Lisp_Object):
15009 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
15011 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
15013 * filelock.c (current_lock_owner): Remove unused variable o, p.
15015 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
15017 * callint.c: Remove multiply defined symbol Qlet
15018 (syms_of_callint): ditto.
15020 2000-04-14 Andy Piper <andy@xemacs.org>
15022 * general.c (syms_of_general): add last-command, this-command, let
15025 * lisp.h: declare various symbols.
15027 * glyphs.h: declare Qwidget_callback_current_channel;
15029 * glyphs-widget.c (syms_of_glyphs_widget): add
15030 Qgui_callback_current_channel.
15031 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
15033 * gui-msw.c (mswindows_handle_gui_wm_command): bind
15034 widget-callback-current-channel when invoking the interactive
15035 arg. Also bind last-command and next-command when invoking the
15037 * gui-x.c (popup_selection_callback): ditto.
15039 * gui.c (get_gui_callback): massage args so that we are always
15040 calling eval. This allows us to add our own variable bindings
15043 * glyphs-x.c (x_button_instantiate): use
15044 gui_items_to_widget_values since this is GC safe.
15045 (x_progress_gauge_instantiate): ditto.
15046 (x_edit_field_instantiate): ditto.
15047 (x_label_instantiate): ditto.
15049 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
15050 (emacs_Xt_event_widget_focus_out): new function
15051 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
15053 (emacs_Xt_event_add_widget_actions): new function. add focus
15054 functions as actions.
15055 (init_event_Xt_late): use it.
15057 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
15059 * event-stream.c (Fdispatch_event): Doc fix.
15061 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
15063 * postgresql.c: Remove all references to PQsetenv*.
15065 * postgresql.h: Remove references to PGsetenvHandler object.
15066 * lrecord.h (lrecord_type): Ditto.
15068 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15070 * glyphs-msw.h (struct mswindows_image_instance_data): Added
15071 real_heigh and real_width members, and accessor macros for these.
15073 * glyphs-msw.c (init_image_instance_geometry): New function.
15074 (init_image_instance_from_dibitmap): Use it.
15075 (mswindows_resource_instantiate): Use it.
15076 (init_image_instance_from_xbm_inline): Use it.
15077 (mswindows_initialize_image_instance_mask): Use real bitmap
15079 (mswindows_create_resized_bitmap): Ditto.
15080 (mswindows_create_resized_mask): Ditto.
15082 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15083 and bitmap to their surface size.
15085 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15087 * process-unix.c (unix_send_process): Guard against process MIA
15088 after Faccept_process_output.
15090 2000-04-11 Ben Wing <ben@xemacs.org>
15092 * eval.c (unbind_to_hairy): fix brokenness introduced by
15093 nanosecond speed improvements.
15095 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15097 * sunplay.c (init_device): To play sounds correctly, the device
15098 apparently needs to be initialized at least once by XEmacs. Make
15101 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15103 * redisplay.c (add_margin_runes): Add text image glyph
15106 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15108 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15109 gcc is newer than 2.5.
15111 2000-04-06 Colin Rafferty <colin@xemacs.org>
15113 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15115 * fns.c (size_bit_vector):
15116 * alloc.c (size_vector):
15117 (make_vector_internal):
15118 (make_bit_vector_internal):
15119 (sweep_bit_vectors_1):
15120 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15122 2000-04-06 Andy Piper <andy@xemacs.org>
15124 * gmalloc.c (malloc): undo previous change.
15129 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15131 * line-number.c (buffer_line_number): Revert to former version.
15133 2000-04-06 Andy Piper <andy@xemacs.org>
15135 * gmalloc.c (malloc): add error checking.
15140 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15141 button_item_to_widget_value arg.
15143 * glyphs-x.c (x_button_instantiate): add extra
15144 button_item_to_widget_value arg.
15145 (x_progress_gauge_instantiate): ditto.
15146 (x_edit_field_instantiate): ditto.
15147 (x_label_instantiate): ditto.
15149 * gui-x.c (gui_items_to_widget_values_1): add extra
15150 button_item_to_widget_value arg.
15151 (button_item_to_widget_value): add extra menu_item_p arg.
15153 * gui-x.h: change signature of button_item_to_widget_value.
15155 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15156 button_item_to_widget_value arg.
15158 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15160 * buffer.h (struct buffer): auto_save_modified should be long.
15162 2000-04-05 Andy Piper <andy@xemacs.org>
15164 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15166 (button_query_geometry): give a little more room so that athena
15169 2000-04-05 Andy Piper <andy@xemacs.org>
15171 * faces.c (complex_vars_of_faces): The widget face should inherit
15172 the font of the gui-element face.
15174 2000-04-04 Andy Piper <andy@xemacs.org>
15176 * glyphs-x.c (x_button_update): new function. unconditionally
15177 update a button's state when the instance is dirty.
15178 (image_instantiator_format_create_glyphs_x): add x_button_update.
15179 (x_widget_instantiate): remove old resize cruft.
15181 2000-04-02 Andy Piper <andy@xemacs.org>
15183 * frame.c (change_frame_size_1): The introduction of gutters means
15184 that we need to allow 0 as a potential frame dimension.
15186 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15188 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15189 image glyph if allow_cursor.
15190 (add_hscroll_rune): Don't allow cursor to border glyph.
15191 (create_text_block): Ditto.
15193 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15194 text not in buffer.
15195 (redisplay_output_layout): Call ensure_face_cachel_complete for
15199 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15201 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15203 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15206 * redisplay-tty.c (tty_output_display_block): Delete the routine
15207 for text image glyph
15208 * redisplay-x.c (x_output_display_block): ditto
15209 * redisplay-msw.c (mswindows_output_display_block): ditto
15211 2000-02-02 Mike Alexander <mta@arbortext.com>
15213 Note: Some of these were committed by accident as part of other
15216 * regex.c (regex_compile): Avoid compiler warnings.
15218 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15220 * nt.h: Declare term_ntproc correctly.
15222 * nt.c: Remove incorrect declaration of get_home_directory which
15223 is declared correctly in lisp.h.
15225 * keymap.c (get_keyelt): Avoid compiler warnings.
15226 (raw_lookup_key_mapper): Avoid compiler warnings.
15228 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15230 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15232 * filemode.c (mode_string): Avoid compiler warnings.
15234 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15237 * events-mod.h: Undef some things that winuser.h defines differently.
15239 * data.c (Faset): Avoid compiler warnings.
15241 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15243 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15245 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15246 Fall through to simple beep on error.
15247 Replace "extern" by real header file.
15249 * linuxplay.c: Use nativesound.h
15250 (play_sound_data): Return error code. Be less verbose on error.
15252 * sunplay.c: Use nativesound.h
15253 (play_sound_data): Return error code. Be less verbose on error.
15255 * ntplay.c: Use nativesound.h
15256 (play_sound_data): Return fake error code
15258 * sgiplay.c: Use nativesound.h
15259 (play_sound_data): Return error code
15261 * hpplay.c: Use nativesound.h, partially implement
15262 new error code. Break compilation until finished.
15263 (play_sound_data): error code.
15265 * nativesound.h (play_sound_file):
15266 (play_sound_data): Prototype in new header.
15268 2000-03-31 Andy Piper <andy@xemacs.org>
15270 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15271 for toggle and radio buttons.
15272 (image_instantiator_buttons): use it.
15274 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15276 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15277 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15278 found. Scrollbar event probably belonged to some old config.
15280 2000-03-31 Andy Piper <andy@xemacs.org>
15282 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15284 (initialize_widget_image_instance): default layout to
15285 LAYOUT_HORIZONTAL rather than 0.
15286 (widget_instantiate): reverse the item list at the end rather than
15288 (layout_layout): re-code for the border text at the front of the
15289 item list rather than at the end.
15290 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15291 provided by the user.
15292 (widget_query_geometry): comment.
15294 2000-03-30 Andy Piper <andy@xemacs.org>
15296 * glyphs-widget.c (image_instantiator_layout): allow standard
15297 widget keywords in layouts.
15299 * gutter.c (output_gutter): cope with nil gutter contents.
15301 * frame.c (Fset_frame_properties): add gutter docs.
15303 2000-03-29 Andy Piper <andy@xemacs.org>
15305 * toolbar-msw.c (TBSTYLE_FLAT): add.
15306 (mswindows_output_toolbar): minor fiddling.
15308 2000-03-29 Andy Piper <andy@xemacs.org>
15310 * gutter.c (output_gutter): force gutter size recalculation if
15311 what we are trying to display won't fit.
15312 (update_gutter_geometry): new function. A per-gutter version of
15313 update_frame_gutter_geometry.
15314 (update_frame_gutter_geometry): use it.
15315 (redraw_exposed_gutter): add extra debugging output.
15317 2000-03-28 Mike Alexander <mta@arbortext.com>
15319 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15320 (pdump_file_unmap): Implement it on Windows
15321 (pdump_file_get): Save alocated handles for pdump_file_unmap
15323 2000-03-28 Andy Piper <andy@xemacs.org>
15325 * gui.c (get_gui_callback): treat Quit specially.
15327 2000-03-27 Andy Piper <andy@xemacs.org>
15329 * glyphs.c (image_instantiate): be careful to check in the same
15332 2000-03-27 Didier Verna <didier@xemacs.org>
15334 * config.h.in: define the proper SMART_INCLUDE macro.
15335 handle renaming of `foo_h_path' to `foo_h_file'.
15337 * database.c: ditto.
15341 * linuxplay.c: ditto.
15343 * terminfo.c: ditto.
15345 * tooltalk.h: ditto.
15347 2000-03-27 Andy Piper <andy@xemacs.org>
15349 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15350 gets updated whenever the face might have changed.
15352 2000-03-26 Mike Alexander <mta@arbortext.com>
15354 * dumper.c (pdump_resource_free): Fix the comment.
15356 2000-03-21 Olivier Galibert <galibert@pobox.com>
15358 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15360 2000-03-22 Mike Alexander <mta@arbortext.com>
15362 * dumper.c: Include Windows headers on Windows
15363 (pdump_resource_free): Add a body to the function
15364 (pdump_load): exe_name -> exe_path and add some comments.
15366 2000-03-25 Mike Alexander <mta@arbortext.com>
15368 * gui.c (copy_gui_item_tree): Return a value in all cases
15370 2000-03-21 Didier Verna <didier@xemacs.org>
15372 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15374 (SMART_INCLUDE): new macro.
15375 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15376 the proper location.
15378 * postgresql.c: use it.
15382 2000-03-24 Andy Piper <andy@xemacs.org>
15384 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15387 2000-03-24 Andy Piper <andy@xemacs.org>
15389 * redisplay-output.c (compare_runes): use image_instance_changed
15390 to detect changes. Do not depend on glyphs_changed, only depend on
15392 (redisplay_output_layout): add debug messages.
15393 (compare_runes): ditto.
15395 * glyphs.h: declare new functions.
15396 (struct Lisp_Image_Instance): remove percent and associated
15399 * gui.h: declare new copying functions.
15401 * gui.c (copy_gui_item_tree): new function.
15402 (copy_gui_item): new function.
15403 (gui_item_id_hash): revert to standard hash.
15404 (gui_item_hash): ditto.
15405 (gui_item_hash_internal): deleted.
15406 (mark_gui_item): mark value.
15407 (gui_item_add_keyval_pair): add value.
15408 (gui_item_init): ditto.
15409 (gui_add_item_keywords_to_plist): ditto.
15410 (gui_item_equal): ditto.
15411 (syms_of_gui): add Q_value.
15413 * glyphs-x.c (x_progress_gauge_update): use pending items and
15414 value for setting the state.
15415 (x_update_widget): don't set items from pending here.
15417 * glyphs-widget.c (update_widget): update items here.
15418 (progress_gauge_set_property): use items for storing value. Put
15419 new value in pending items.
15421 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15422 items for new value. Convert percent -> value.
15423 (mswindows_tab_control_update): don't update items here.
15425 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15426 (update_subwindow): ditto.
15427 (image_instance_changed): new function. Compare hash values and
15428 past and present widget items.
15429 (image_instantiate): We more careful about where we instantiate
15431 (image_instantiate): add error checking.
15433 * gutter.c (syms_of_gutter): use -hook.
15435 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15437 * console-tty.c (Fset_console_tty_input_coding_system): Use
15439 (Fset_console_tty_output_coding_system): Use Qterminal.
15440 (tty_init_console): Use Qkeyboard and Qterminal.
15442 2000-03-21 Ben Wing <ben@xemacs.org>
15444 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15445 From Mike Alexander <mta@arbortext.com>.
15447 2000-03-21 Ben Wing <ben@xemacs.org>
15449 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15450 process brokenness. Proper implementation to come.
15452 Rename call-process-internal to old-call-process-internal.
15453 New impl. in process.el.
15455 2000-03-21 Martin Buchholz <martin@xemacs.org>
15457 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15459 2000-03-20 Andy Piper <andy@xemacs.org>
15461 * glyphs.c (full_list_hash): make hashes of the same elements in
15462 different orders return different values.
15464 2000-03-20 Martin Buchholz <martin@xemacs.org>
15466 * XEmacs 21.2.32 is released.
15468 2000-03-20 Martin Buchholz <martin@xemacs.org>
15470 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15471 (DFC_MALLOC_USE_CONVERTED_DATA):
15472 Add aliasing-safe casts to allow use with char* or unsigned char*
15475 * eldap.c (Fldap_open):
15476 (Fldap_search_basic):
15479 Make C++-compilable.
15480 Make sure GCPRO'ed variables are initialized.
15481 Use temp variables to avoid repeated calls to Flength.
15483 2000-03-16 Martin Buchholz <martin@xemacs.org>
15486 Make sure PATH_MAX is always defined.
15487 Include limits.h for PATH_MAX.
15488 Deprecate use of MAXPATHLEN.
15490 2000-03-10 Martin Buchholz <martin@xemacs.org>
15492 * emacs.c: Add reinit_vars_of_fileio.
15493 * symsinit.h: Add reinit_vars_of_fileio.
15494 * fileio.c (reinit_vars_of_fileio): New.
15495 * fileio.c (Fmake_temp_name):
15496 Initialize temp_name random number from microseconds to make
15497 collisions even less likely. Initialize always at process startup
15498 time. (make-temp-name) used to return the same file name twice in
15500 Random stylistic fiddling.
15503 2000-03-20 Andy Piper <andy@xemacs.org>
15505 * glyphs.c (image_instantiate): allow text glyphs to be
15506 instantiated in the minibuffer window.
15508 2000-03-19 Andy Piper <andy@xemacs.org>
15510 * glyphs.c (image_instance_hash): be careful about which items we
15513 * glyphs-widget.c (tab_control_set_property): record into pending
15514 items rather than the actual items.
15516 * glyphs-x.c (x_update_widget): use pending items to update with.
15518 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15521 * glyphs.c (mark_image_instance): mark pending items.
15523 * window.c (Fset_window_configuration): record the buffer.
15524 (Fselect_window): totally revert previous change which breaks many
15527 2000-03-18 Andy Piper <andy@xemacs.org>
15529 * glyphs-msw.c (mswindows_tab_control_update): force selected
15532 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15533 window domain cache, otherwise we get inconsistencies at
15534 startup. There is something fishy at startup which can lead to the
15535 minibuffer being the selected window when the gutter content is
15538 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15540 (parse_gui_item_tree_children): ditto.
15541 (parse_gui_item_tree_item): ditto.
15543 * glyphs.c (Fupdate_widget_instances): return something.
15545 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15547 * window.c (Fselect_window): Undo 2000-03-17 change.
15549 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15551 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15552 against v7.0 libraries. Insta-coredump city until the postgres
15555 2000-03-17 Andy Piper <andy@xemacs.org>
15557 * faces.c (complex_vars_of_faces): don't give the widget face an
15558 inherited background pixmap.
15560 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15563 * event-stream.c (Fdispatch_non_command_events): return something.
15565 * gutter.c (output_gutter): use widget face.
15566 (clear_gutter): ditto.
15568 * NEWS: adjust again.
15570 * window.c (Fselect_window): make sure this runs to completion to
15571 avoid oddities with Fset_window_configuration.
15572 (Fcurrent_window_configuration): in general do not save the
15573 minibuffer as the selected window.
15575 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15577 2000-03-16 Olivier Galibert <galibert@pobox.com>
15579 * emacs.c (Frunning_temacs_p): Revert previous patch.
15580 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15582 2000-03-16 Andy Piper <andy@xemacs.org>
15584 * glyphs-x.c (x_tab_control_update): if no widget values then
15587 * NEWS: update for new features.
15589 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15590 synthetic event to the native system.
15591 (reinit_vars_of_event_Xt): set force_event_pending to
15592 emacs_Xt_force_event_pending.
15594 * events.h (struct event_stream): add force_event_pending.
15596 * specifier.c (recompute_one_cached_specifier_in_window): add
15599 * redisplay.c (redisplay_frame): don't call
15600 update_frame_subwindows. Reset subwindow cachels when
15601 subwindows_changed, removing this was an optimization too far.
15603 * redisplay-output.c (compare_runes): reorganize so that we catch
15604 glyph changes when we want them. Set optimize_output when this
15605 would help layouts.
15606 (redisplay_output_layout): remove frame_really_changed, use
15607 optimize_output instead.
15609 * redisplay-msw.c (mswindows_output_display_block): reset
15610 optimize_output after outputting a glyph.
15611 * redisplay-x.c (x_output_display_block): ditto.
15612 * redisplay-tty.c (tty_output_display_block): ditto.
15614 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15616 (gutter_specs_changed): do specific gutter positions.
15617 (top_gutter_specs_changed): new function. Only update the
15618 specified gutter specs.
15619 (bottom_gutter_specs_changed): ditto.
15620 (left_gutter_specs_changed): ditto.
15621 (right_gutter_specs_changed): ditto.
15623 * gui.c (gui_item_hash_internal): new function, does a real hash.
15624 (gui_item_id_hash): use it.
15625 (gui_item_hash): hash the eval'ed gui_item.
15627 * gui-x.c (popup_selection_callback): send an eval event to call
15628 Fupdate_widget_instances.
15630 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15631 to call Fupdate_widget_instances.
15633 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15634 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15636 * glyphs.c: (update_frame_subwindows): deleted.
15637 (Fupdate_widget_instances): new function for updating the dirty
15638 state of widgets that might have changed.
15639 (syms_of_glyphs): add Qupdate_widget_instances.
15640 (full_list_hash): hash a list completely.
15641 (image_instance_hash): use it for items and properties.
15643 * frame-msw.c (mswindows_size_frame_internal): remove unused
15646 * faces.h (struct face_cachel): fix comment.
15648 * event-stream.c (Fdispatch_non_command_events): new
15649 function. Process non-command events, forcing an event cycle
15651 (syms_of_event_stream): declare.
15652 (event_stream_force_event_pending): new function. Force an event
15653 on the native event queue so that an event cycle will occur next
15657 (struct ntpipe_shove_stream):
15658 (mswindows_enqueue_dispatch_event):
15659 (mswindows_dequeue_dispatch_event):
15660 (mswindows_cancel_dispatch_event):
15661 (mswindows_pump_outstanding_events):
15662 (mswindows_drain_windows_queue):
15663 (mswindows_handle_paint):
15664 (mswindows_wnd_proc):
15665 (mswindows_key_to_emacs_keysym):
15666 (get_process_input_waitable):
15667 (emacs_mswindows_delete_stream_pair): re-indent file.
15668 (mswindows_need_event): do not process further fds if the windows
15669 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15670 fixes the 100% cpu problem.
15671 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15673 2000-03-15 Olivier Galibert <galibert@pobox.com>
15679 * emacs.c: Moved dump file searching to dumper.c.
15680 (Frunning_temacs_p): Fixed.
15682 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15683 last_lrecord_type_index_assigned.
15685 2000-02-20 Olivier Galibert <galibert@pobox.com>
15687 * symsinit.h: Added reinit parameter to init_console_stream
15690 * lisp.h: Added file parameter to pdump_load declaration.
15692 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15693 support. Added dump file searching.
15695 * config.h.in: Added EMACS_PROGNAME.
15697 * console-stream.c (init_console_stream): Fix reinitialisation
15698 when running from temacs.
15700 * alloc.c (pdump): Add id support.
15701 (pdump_load): Add file parameter and signature/id support.
15703 * Makefile.in.in: Add full pdump support.
15705 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15707 * postgresql.c: Update documentation to reflect latest code
15709 (print_result): Show tuple counts in printed representation when
15711 (Fpq_put_nbytes): MULE-ize.
15712 (Fpq_get_line_async): Ditto.
15714 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15716 * postgresql.c (Fpq_lo_import): Fix return value.
15717 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15719 2000-03-13 Ben Wing <ben@xemacs.org>
15721 * alloc.c (pdump_load):
15722 Fix compile warning under mswin.
15724 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15726 * postgresql.c: Mule-ization, bug fixes.
15727 Use PG_CODING to encapsulate coding system name changes.
15728 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15729 (pg-coding-system): Create.
15731 (Fpq_conn_defaults): Mule-ize.
15732 (Fpq_connectdb): Mule-ize & bug fix.
15733 (Fpq_connect_start): Mule-ize.
15734 (Fpq_set_client_encoding): Mule-ize.
15735 (Fpq_finish): Document `DEAD' connection status.
15736 (Fpq_clear): Ditto.
15737 (Fpq_pgconn): Mule-ize.
15738 (Fpq_exec): Mule-ize & bug fix.
15739 (Fpq_send_query): Ditto.
15740 (Fpq_get_result): Ditto.
15741 (Fpq_res_status): Mule-ize.
15742 (Fpq_result_error_message): Mule-ize.
15743 (Fpq_ntuples): fix comments.
15744 (Fpq_fname): Mule-ize.
15745 (Fpq_fnumber): Mule-ize.
15746 (Fpq_ftype): fix comments.
15747 (Fpq_get_value): Mule-ize.
15748 (Fpq_cmd_status): Ditto.
15749 (Fpq_cmd_tuples): Ditto.
15750 (Fpq_oid_value): Ditto.
15751 (Fpq_notifies): Ditto.
15752 (Fpq_lo_import): Ditto.
15753 (Fpq_lo_export): Ditto.
15754 (Fpq_get_line): Ditto.
15755 (Fpq_put_line): Mule-ize and bug fix.
15756 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15758 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15760 * postgresql.c (vars_of_postgresql): Mule-ize.
15761 (Fpq_conn_defaults): Ditto.
15763 2000-03-12 Ben Wing <ben@xemacs.org>
15765 * alloc.c (Fmake_byte_code):
15766 * alloc.c (debug_string_purity_print):
15767 * alloc.c (pdump_backtrace):
15768 * alloc.c (pdump_get_indirect_count):
15769 * alloc.c (pdump_register_sub):
15770 * alloc.c (pdump_register_object):
15771 * alloc.c (pdump_register_struct):
15772 * alloc.c (pdump_dump_data):
15773 * alloc.c (pdump_reloc_one):
15777 * console-msw.c (GetConsoleHwnd):
15778 * console-msw.c (msw_hide_console):
15779 * console-msw.c (msw_show_console):
15780 * console-msw.c (msw_ensure_console_buffered):
15781 * console-msw.c (msw_output_console_string):
15782 * console-msw.c (console_type_create_mswindows):
15784 a) Added functions to manipulate the console window for use with
15787 b) Added support for writing text to the console, which is now
15788 used under Windows when xemacs is not being run non-interactively,
15789 to write text that would otherwise be destined for stdout because
15790 under these circumstances, text written to stdout tends to
15791 disappear and not be seen.
15795 * event-Xt.c (x_event_to_emacs_event):
15796 * event-Xt.c (describe_event_window):
15797 * events-mod.h (XEMACS_MOD_CONTROL):
15799 * events.c (Fmake_event):
15800 * events.c (character_to_event):
15801 * events.c (event_to_character):
15802 * events.c (format_event_object):
15803 * events.c (Fevent_modifiers):
15805 * events.h (struct key_data):
15806 * events.h (struct button_data):
15807 * events.h (struct misc_user_data):
15808 * frame-x.c (Fcde_start_drag_internal):
15809 * frame-x.c (Foffix_start_drag_internal):
15810 * gpmevent.c (Freceive_gpm_event):
15812 * keymap.c (bucky_sym_to_bucky_bit):
15813 * keymap.c (control_meta_superify):
15814 * keymap.c (make_key_description):
15815 * keymap.c (keymap_lookup_directly):
15816 * keymap.c (create_bucky_submap):
15817 * keymap.c (keymap_store):
15818 * keymap.c (define_key_check_and_coerce_keysym):
15819 * keymap.c (define_key_parser):
15820 * keymap.c (define_key_alternate_name):
15821 * keymap.c (Fdefine_key):
15822 * keymap.c (raw_lookup_key_mapper):
15823 * keymap.c (struct map_keymap_unsorted_closure):
15824 * keymap.c (map_keymap_unsorted_mapper):
15825 * keymap.c (map_keymap_sort_predicate):
15826 * keymap.c (map_keymap_sorted):
15827 * keymap.c (accessible_keymaps_mapper_1):
15828 * keymap.c (where_is_recursive_mapper):
15829 * keymap.c (describe_map_mapper):
15830 * keymap.c (describe_map_sort_predicate):
15831 * keymap.c (describe_map):
15832 * keymap.c (complex_vars_of_keymap):
15833 And a number of other files, the key modifier preprocessor
15834 constants that xemacs uses have names that conflict with constants
15835 defined under MS Windows for other purposes, so they were renamed
15836 to begin with the prefix XEMACS_. The variables that hold such
15837 modifiers were changed to consistently be of type int to fix
15838 various compile warnings.
15840 * console.c (complex_vars_of_console):
15843 * device-msw.c (mswindows_finish_init_device):
15844 * device-msw.c (msw_get_workspace_coords):
15845 * device-msw.c (mswindows_device_system_metrics):
15846 and various other files, added support for a new
15847 device property called offset-workspace which returns the position
15848 of the upper left corner of the workspace area and goes along with
15849 the existing size-workspace property.
15852 * dialog-msw.c (push_bufbyte_string_as_unicode):
15853 * dialog-msw.c (mswindows_popup_dialog_box):
15854 Added support for XEmacs-style accelerator specifications in
15855 button text. Note: I didn't add support for this under X Windows,
15856 and somebody needs to do this.
15859 * dialog.c (Fpopup_dialog_box):
15860 Documented the support for accelerators that was just mentioned.
15862 editfns.c (get_home_directory): Changed behavior under Windows
15863 when HOME not defined; former behavior was irretrievably broken.
15866 * emacs.c (main_1):
15868 * minibuf.c (clear_echo_area_internal):
15869 * minibuf.c (echo_area_append):
15871 * print.c (std_handle_out_external):
15872 * print.c (std_handle_out_va):
15874 * print.c (write_string_to_stdio_stream):
15875 * print.c (output_string):
15876 * print.c (debug_print):
15877 * print.c (debug_backtrace):
15878 * print.c (debug_short_backtrace):
15879 Cleaned up the code that prints text to stdout so that this can be
15880 changed to output into a console window instead under MS Windows,
15881 as described above.
15884 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15885 * eval.c (internal_catch):
15886 * eval.c (unwind_to_catch):
15887 * eval.c (throw_or_bomb_out):
15888 * eval.c (condition_case_1):
15889 * eval.c (signal_1):
15890 * eval.c (check_error_state_sanity):
15891 * eval.c (call_with_suspended_errors_1):
15892 * eval.c (call_with_suspended_errors):
15893 * eval.c (reinit_vars_of_eval):
15894 Added code to catch throw loops and check for a pesky bug that may
15898 * event-msw.c (key_needs_default_processing_p):
15899 * event-msw.c (mswindows_wnd_proc):
15900 * event-msw.c (mswindows_modifier_state):
15901 * event-msw.c (emacs_mswindows_quit_p):
15902 * event-msw.c (vars_of_event_mswindows):
15903 a) Added support for using the alt key to select menu items as is
15904 standard under MS Windows. This is controlled using the variable
15905 menu-accelerator-enabled, just like under X Windows. There is an
15906 option on the options menu to turn this support on. I really
15907 think that it should be on by default under Windows, but I'm not
15908 going to make this change yet.
15910 b) Added support for dynamic display size changes under Windows.
15913 * event-stream.c (maybe_echo_keys):
15914 * event-stream.c (Fnext_event):
15915 * event-stream.c (command_builder_find_leaf):
15916 * event-stream.c (lookup_command_event):
15917 * event-stream.c (execute_command_event):
15918 * event-stream.c (pre_command_hook):
15919 * event-stream.c (post_command_hook):
15920 * event-stream.c (syms_of_event_stream):
15921 * event-stream.c (vars_of_event_stream):
15922 * event-stream.c (complex_vars_of_event_stream):
15923 * events.h (struct command_builder):
15925 a) Tried to clean up a little bit the horribly written x-specific
15926 accelerator code that crept into this file. I moved this code
15927 into menubar-x.c where it belongs. I also needed to move the
15928 command builder structure into the file events.h because it is
15929 accessed directly by this accelerator code. What I didn't do, but
15930 which should be done at some point, is to properly abstract this
15931 code using device methods instead of the kludgy way that it
15932 currently hooks into the event code.
15934 b) Added the lisp variables this-command-properties and
15935 last-command- properties, which should be used to synchronize two
15936 adjacent commands in preference to playing games with the variable
15937 this-command, which is typically what happens.
15939 c) Added some slightly nasty code to hook into the lisp support
15940 for shifted- motion-key selection. This is actually necessary for
15941 somewhat complicated reasons, which are described in
15942 simple.el. (NB: I think the proper thing would be to have the code
15943 that calls the pre and post command hooks also call out to generic
15944 lisp functions in simple.el, where all built-in stuff could be
15945 added. I will think about this more.)
15947 * event-unixoid.c (poll_fds_for_input):
15948 * lread.c (readchar):
15949 * redisplay-tty.c (tty_clear_frame):
15950 * redisplay-x.c (x_get_gc):
15951 * signal.c (interrupt_signal):
15952 And a whole bunch of other files: fixed up places that printed
15953 directly to stderr to instead call the function stderr_out so that
15954 the changes I made under Windows work correctly.
15956 * filemode.c (mode_string):
15960 * frame-msw.c (mswindows_size_frame_internal):
15961 Fixed the computation of frame size and position to keep the frame
15962 within the workspace area, rather than within the physical
15963 dimensions of the screen, so that the frame doesn't overlap window
15964 manager decorations, such as the start menu and toolbar, typically
15965 at the bottom of the screen.
15967 * frame.c (vars_of_frame):
15968 Changed the default frame title format under MS Windows to consist
15969 of buffername-XEmacs, which is standard under MS Windows. I think
15970 it might be a good idea to change this everywhere because I think
15971 it is superior to the current frame title format, but this is the
15972 kind of change that is likely to cause some people to get annoyed,
15973 so I'm not making it.
15975 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15977 * gui-msw.c (mswindows_handle_gui_wm_command):
15978 Fixed compile warnings.
15981 * gui-x.c (strdup_and_add_accel):
15982 * gui-x.c (button_item_to_widget_value):
15984 Added code to automatically put an accelerator onto the beginning
15985 of menu items that don't have one as is now the standard, and is
15986 described more later. Also fixed things so that the menu item
15987 name can be an evaluated expression, again a new standard.
15990 * gui.c (gui_item_add_keyval_pair):
15991 * gui.c (make_gui_item_from_keywords_internal):
15992 * gui.c (gui_add_item_keywords_to_plist):
15993 * gui.c (gui_item_accelerator):
15994 * gui.c (gui_name_accelerator):
15995 * gui.c (gui_item_included_p):
15996 * gui.c (gui_item_display_flush_left):
15997 * gui.c (gui_item_display_flush_right):
15998 * gui.c (parse_gui_item_tree_item):
15999 * gui.c (parse_gui_item_tree_children):
16000 * gui.c (parse_gui_item_tree_list):
16001 Mule-ized. Cleanup. GCPRO addition.
16003 * line-number.c (buffer_line_number):
16005 * lisp.h (EMACS_INT_MAX):
16006 Added the manifest constant EMACS_INT_MIN corresponding to the
16007 existing constant EMACS_INT_MAX. This is partially to fix compile
16008 warnings under Windows, and partly for cleanliness.
16011 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
16012 * menubar-msw.c (msw_translate_menu_or_dialog_item):
16013 * menubar-msw.c (displayable_menu_item):
16014 * menubar-msw.c (populate_menu_add_item):
16015 * menubar-msw.c (populate_or_checksum_helper):
16016 * menubar-msw.c (populate_menu):
16017 * menubar-msw.c (update_frame_menubar_maybe):
16018 * menubar-msw.c (prune_menubar):
16019 * menubar-msw.c (msw_char_is_accelerator):
16020 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
16021 * menubar-msw.c (mswindows_handle_wm_command):
16022 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
16023 * menubar-msw.c (mswindows_handle_wm_initmenu):
16024 * menubar-msw.c (mswindows_update_frame_menubars):
16025 * menubar-msw.c (mswindows_free_frame_menubars):
16026 * menubar-msw.c (mswindows_popup_menu):
16027 Fixed a bug in handling accelerators where an extra character
16028 would be displayed in the menu item. Also generalized the
16029 function displayable_menu_item because it is now used by the
16030 dialog box code as well. And finally, added code in the functions
16031 that create the menubar to extract a list of accelerators for the
16032 top level menubar, which is used in the event code to determine
16033 whether a particular alt-key combination should be used to invoke
16034 a menu item, or should be passed through to access the standard
16035 XEmacs keymap binding for this key combination.
16037 Much needed GCPROing.
16040 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
16041 * menubar-x.c (menu_item_descriptor_to_widget_value):
16042 * menubar-x.c (restore_in_menu_callback):
16043 * menubar-x.c (x_popup_menu):
16044 * menubar-x.c (menu_move_up):
16045 * menubar-x.c (menu_move_down):
16046 * menubar-x.c (menu_move_left):
16047 * menubar-x.c (menu_move_right):
16048 * menubar-x.c (menu_select_item):
16049 * menubar-x.c (command_builder_operate_menu_accelerator):
16050 * menubar-x.c (menu_accelerator_junk_on_error):
16051 * menubar-x.c (command_builder_find_menu_accelerator):
16052 * menubar-x.c (Faccelerate_menu):
16054 Moved a whole bunch of code here that was previously in
16055 event-stream.c as described above. There is also code connected
16056 to the new standard of adding an accelerator to the beginning of
16057 menu items that don't have one as described above and below.
16060 * menubar.c (menu_parse_submenu_keywords):
16061 * menubar.c (Fmenu_find_real_submenu):
16062 * menubar.c (Fnormalize_menu_item_name):
16063 * menubar.c (syms_of_menubar):
16064 * menubar.c (vars_of_menubar):
16065 * menubar.c (complex_vars_of_menubar):
16067 a) Cleaned up a bunch of documentation and improved it.
16069 b) XEmacs now automatically adds an accelerator onto the beginning
16070 of any menu items that don't have one. I did this because there
16071 will inevitably be some menu items on the main menubar that don't
16072 have accelerators on them because the package that adds that
16073 particular menu item hasn't yet been fixed up to have accelerators
16074 in them and it looked rather strange to have some items with and
16075 some items without accelerators, especially since even in items
16076 without accelerators, you can, at least under windows, still
16077 access the item through an accelerator corresponding to the first
16078 character in the item's name. If people don't like this behavior,
16079 I can add a variable to turn it off optionally, but I'm not sure
16080 this is a good idea because we really do need to have accelerators
16081 on all of the menu items, and if a package doesn't like the
16082 accelerators being put on the first character, then it should put
16083 the accelerators where they belong.
16085 c) I made a behavior change, which is that the descriptor that
16086 specifies the text of the menu item, which formerly was just a
16087 string, can now also be an evaluated expression. This makes this
16088 descriptor parallel with all of the others, which could also be
16089 evaluated expressions. This also obviates the need for the
16090 keyword :label, which was previously listed in the documentation
16091 as unimplemented, and which was for the same purpose.
16096 * ntproc.c (new_child):
16097 * ntproc.c (sys_spawnve):
16098 * ntproc.c (find_child_console):
16099 * ntproc.c (sys_kill):
16100 Fixed compile warnings. By the way, this file should really go
16101 away entirely, and this will happen as soon as Kirill makes his
16102 final round of process cleanups, which affect the function
16106 * process-nt.c (struct nt_process_data):
16107 * process-nt.c (find_process_from_pid):
16108 * process-nt.c (send_signal_the_nt_way):
16109 * process-nt.c (enable_child_signals):
16110 * process-nt.c (find_child_console):
16111 * process-nt.c (send_signal_the_95_way):
16112 * process-nt.c (nt_finalize_process_data):
16113 * process-nt.c (ensure_console_window_exists):
16114 * process-nt.c (nt_create_process):
16115 * process-nt.c (nt_kill_child_process):
16116 * process-nt.c (nt_kill_process_by_pid):
16117 * process-nt.c (nt_open_network_stream):
16118 * process-nt.c (vars_of_process_nt):
16119 Copied over code from Emacs 20.5 to correctly send signals to sub-
16120 processes under Windows 95. Also added code to automatically
16121 create and hide console window when a sub-process is created under
16122 Windows 95, which obviates the need for the separate runemacs.exe
16123 executable, and finally implemented some variables that were
16124 implemented in Emacs 20.5, but previously not in XEmacs. These
16125 include mswindows- start-process-share-console and
16126 mswindows-start-process-inherit-error-mode. (Both of these only
16127 apply to Windows 95.)
16129 * regex.c (regex_compile): Fixed a compile warning.
16132 * select-msw.c (mswindows_own_selection):
16133 * select-msw.c (mswindows_get_foreign_selection):
16134 * select-msw.c (mswindows_disown_selection):
16135 * select-msw.c (console_type_create_select_mswindows):
16136 * select-msw.c (syms_of_select_mswindows):
16137 Cleaned up the file and implemented the device method
16138 selection_exists_p, which had accidentally been left out. Also
16139 removed four lisp functions that were remnants from before the
16140 time when the selection code was properly device abstracted.
16141 These functions are no longer needed because there are generic
16142 equivalents, and because they were added recently and don't exist
16143 in FSF Emacs, I don't think there's any problem with just deleting
16147 * sysdep.c (sys_subshell):
16148 Fixed a compile warning, although in this case there's probably
16149 something wrong with this code, and it ought to be looked into
16150 more thoroughly by somebody who understands it.
16153 * window.c (Fwindow_text_area_height):
16154 * window.c (Fwindow_width):
16155 * window.c (Fwindow_full_width):
16156 * window.c (Fwindow_pixel_width):
16157 * window.c (debug_print_window):
16158 * window.c (syms_of_window):
16159 Added functions window-text-area-height and window-full-width,
16160 which are functions for returning various width and height
16161 characteristics of a window. (One of these functions is necessary
16162 for making the file dialog box work correctly, and the other one
16163 was added for completeness.) Also added a table to the
16164 documentation for window-height which describes the entire scheme
16165 for accessing width and height characteristics of a window.
16167 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16169 * nt.c (fstat): Added a comment for another problem with
16170 non-encapsulated [f]stat(), reported by Adrian Aichner
16171 <aichner@ecf.teradyne.com>.
16173 2000-03-11 Andy Piper <andy@xemacs.org>
16175 * window.c (make_dummy_parent): initialize subwindow instance
16177 (Fset_window_configuration): zero extent_modiff.
16179 2000-03-10 Andy Piper <andy@xemacs.org>
16181 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16182 more changes can be triggered.
16183 (Fredisplay_frame): ditto.
16184 (Fredraw_device): ditto.
16185 (Fredisplay_device): ditto.
16186 (redisplay_frame): make non-static.
16187 (redisplay_frame): call update_frame_gutter_geometry outside of
16190 * gutter.h: declare update_frame_gutter_geometry.
16192 * redisplay.h: declare redisplay_frame.
16194 * gutter.c (update_frame_gutter_geometry): move geometry changes
16195 in update_frame_gutters here. Geometry changes can only occur
16196 outside of redisplay.
16197 (update_frame_gutters): remove geometry change code.
16198 (Fredisplay_gutter_area): make sure that we are in display when we
16199 update and that we have flushed any size changes.
16201 2000-03-11 Andy Piper <andy@xemacs.org>
16203 * alloc.c (pdump_dump_data): remove i & count shadows.
16205 2000-02-27 Mike Alexander <mta@arbortext.com>
16207 * sysdep.h: Declare pdump_read_file
16209 * sysdep.c (pdump_read_file): New function
16211 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16214 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16216 * lrecord.h: add `lrecord_type_pgsetenv'.
16218 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16220 * symsinit.h: declare (vars|syms)_of* functions.
16221 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16223 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16225 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16227 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16230 * emacs.c (main_1): Call postgres initialization code.
16232 * postgresql.h: New file. PostgreSQL RDBMS support.
16233 * postgresql.c: New file.
16235 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16237 * redisplay-output.c (redisplay_output_display_block): Disable
16240 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16242 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16243 (Fcanna_henkan_next): Ditto.
16244 (Fcanna_bunsetu_henkou): Ditto.
16245 (Fcanna_henkan_kakutei): Ditto.
16246 (Fcanna_henkan_end): Ditto.
16247 (Fcanna_henkan_quit): Ditto.
16248 (Fcanna_henkan_next): Set retun value correctly.
16249 (c2mu): Use unsigned char instead of signed char.
16251 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16253 * emacs.c (main_1): Always call syms_of_gui.
16254 * inline.c: include gui.h
16256 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16258 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16259 converted to Lisp_Object.
16260 (Qtop_bottom): New variable.
16261 (syms_of_redisplay): Initialize it.
16262 * redisplay.h (Vvisible_bell): Ditto.
16263 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16264 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16265 only flash top and bottom.
16267 2000-03-08 Andy Piper <andy@xemacs.org>
16269 * buffer.c (Frename_buffer): record new buffer name the right way.
16271 2000-03-08 Andy Piper <andy@xemacs.org>
16273 * glyphs.c (update_subwindow): increase hash depth so that widget
16274 items get picked up properly.
16276 * redisplay-output.c (compare_runes): increase hash depth so that
16277 widget items get picked up properly.
16279 2000-03-08 Andy Piper <andy@xemacs.org>
16281 * gutter.c (output_gutter): add some debug.
16283 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16284 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16285 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16287 * redisplay-output.c (compare_runes): use display_hash to
16288 determine if glyphs really are not the same.
16290 * glyphs.c (update_subwindow): check display_hash to see if
16291 anything really needs to be updated. If not then do
16292 nothing. Record the display_hash after updating.
16293 (image_instance_equal): compare the image_instance face also.
16295 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16297 * redisplay.h: Fix comment style.
16299 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16301 * consle-msw.h (struct mswindows_frame):
16302 Added new member paint_pending to indicate whether a WM_PAINT
16303 magic event has been queued for this frame.
16305 * event-msw.c (mswindows_drain_windows_queue):
16306 Don't queue a WM_PAINT magic event if one is already queued.
16307 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16309 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16311 2000-03-07 Didier Verna <didier@xemacs.org>
16313 * dired.c: #include `regex.h' after `sysfile.h'.
16315 2000-03-06 Martin Buchholz <martin@xemacs.org>
16317 * sound.c (init_nas_sound): Fix compiler warning.
16319 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16321 (MARK_STRUCT_AS_FREE):
16322 (MARK_STRUCT_AS_NOT_FREE):
16323 Make `gcc -fstrict-aliasing' work properly.
16325 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16327 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16328 (mswindows_delete_device): Call CoUnnitialize().
16330 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16332 2000-02-25 <CraigL@DyCon.com>
16334 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16337 * sysdep.c: This extern declaration for environ prevents MinGW
16338 from finding the variable in CRTDLL.DLL.
16340 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16342 (SHGFI_EXETYPE): ..
16343 (WM_MOUSEWHEEL): ..
16344 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16346 (MMRESULT): Removed, now defined in cygwin's windows headers.
16348 (uid_t,gid_t,pid_t,ssize_t): ..
16349 (_timeb): Removed, MinGW defines both _timeb and timeb.
16350 (HAVE_H_ERRNO): Added.
16351 (HAVE_TZNAME): Added, configure is not detecting this.
16353 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16355 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16356 * syntax.c (syntax_match): Use it.
16358 * cmds.c: Import auto-fill-chars from FSF Emacs.
16359 (Vauto_fill_chars): New variables.
16360 (internal_self_insert): Check Vauto_fill_chars.
16362 Declare auto-fill-chars as a Lisp variable and initialize it.
16364 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16366 * fileio.c (Fmake_symbolic_link):
16368 Run handlers even if local machine doesn't have symlinks.
16370 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16372 * event-msw.c (mswindows_drain_windows_queue):
16373 Don't generate paint magic events for non-XEmacs frames.
16375 2000-03-05 Andy Piper <andy@xemacs.org>
16377 * redisplay.c (redisplay_frame): generate_displayable_area and
16378 friends assumes that we are not in GC, we therefore have to make
16379 sure that this doesn't happen.
16381 * gutter.c (calculate_gutter_size): generate_displayable_area
16382 assumes that we are not in GC, we therefore have to make sure that
16383 this doesn't happen.
16385 2000-03-05 Martin Buchholz <martin@xemacs.org>
16387 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16389 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16391 * redisplay.c (regenerate_window): Make sure we set a sane value
16392 for end_pos even if we jump out of the loop.
16393 (regenerate_window): Answer Ben's question :-).
16394 (start_end_of_last_line): Add may_error argument.
16395 (start_of_last_line):
16396 (end_of_last_line): Pass may_error = 0.
16397 (end_of_last_line_may_error): New function.
16398 (pixel_to_glyph_translation): Use it, so we don't crash in
16401 2000-03-04 Andy Piper <andy@xemacs.org>
16403 * window.h (struct window): add gutter_extent_modiff.
16405 * window.c (allocate_window): zero out gutter_extent_modiff.
16407 * redisplay.h: declare sync_display_line_structs.
16409 * redisplay.c (add_glyph_rune): add a better comment.
16411 * redisplay-output.c (sync_display_line_structs): made non-static.
16412 (compare_runes): remove unneccesary glyph cachel access.
16414 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16416 * gutter.c (output_gutter): don't output the gutter if extent
16417 changes only involve extents in buffers. use 4 sets of display
16419 (gutter_extent_signal_changed_region_maybe): new function. Mark
16420 extents in gutters as changed.
16421 (update_frame_gutters): use 4 sets of display lines.
16422 (reset_gutter_display_lines): ditto.
16423 (free_frame_gutters): ditto.
16424 (redraw_exposed_gutter): force output of gutters.
16426 * frame.h (struct frame): add 4 sets of gutter display lines.
16428 * extents.c: (extent_changed_for_redisplay): signal changes to
16429 extents in strings in the gutter as well as extents in buffers.
16431 2000-03-02 Andy Piper <andy@xemacs.org>
16433 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16435 * frame.c (Fmake_frame): make sure the gutters get initialized
16436 after the frame is visible.
16437 (set_frame_selected_window): re-arrange compilation macros a
16439 (change_frame_size_1): mark gutters changed.
16441 * device.c (Fset_device_class): mark gutters changed.
16443 2000-03-01 Andy Piper <andy@xemacs.org>
16445 * window.c (window_top_frame_gutter_height): deleted.
16446 (window_bottom_frame_gutter_height): ditto.
16447 (window_left_frame_gutter_height): ditto.
16448 (window_right_frame_gutter_height): ditto.
16449 (window_top_gutter_height): don't use them.
16450 (window_bottom_gutter_height): ditto.
16451 (window_left_gutter_width): ditto.
16452 (window_right_gutter_width): ditto.
16453 (Fsplit_window): ditto.
16454 (Fwindow_pixel_edges): don't use border dimensions here.
16456 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16457 (update_scrollbar_instance): ditto.
16459 * redisplay.c (generate_modeline): don't take gutters into account.
16460 (generate_modeline): ditto.
16461 (redisplay_frame): small gutter display optimization.
16463 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16465 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16466 gutters into account.
16468 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16469 for window position and type.
16471 * gutter.c (get_gutter_coords): fix for frame gutters.
16472 (update_frame_gutters): update frame geometry if the gutters have
16474 (init_frame_gutters): record current gutter geometries.
16476 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16478 (mswindows_widget_instantiate): ditto.
16480 * frame.h (struct frame): add current_gutter_bounds.
16482 * frame.c (change_frame_size_1): position window and minibuffer
16483 appropriately taking into account the frame gutters.
16485 * frame-x.c: (x_initialize_frame_size): take into account the
16488 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16490 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16492 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16494 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16496 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16498 * file-coding.c (reset_decoding_stream): Clear previous
16499 detection state when autodetect.
16501 2000-02-29 Didier Verna <didier@xemacs.org>
16503 * extents.c (set_extent_glyph_1): don't require extents to be
16506 2000-02-27 Andy Piper <andy@xemacs.org>
16508 * gutter.c (Fset_default_gutter_position): don't default left and
16509 right gutter visibility to t.
16510 (Fset_default_gutter_position): run
16511 default-gutter-position-changed-hook.
16512 (syms_of_gutter): add default-gutter-position-changed-hook.
16514 2000-02-26 Andy Piper <andy@xemacs.org>
16516 * specifier.c (Fmake_specifier): add gutter references.
16518 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16520 * lisp.h: declare Fvalid_plist_p.
16522 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16524 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16525 well as its visibility so that it gets reconstructed.
16526 (construct_window_gutter_spec): new function. Construct a string
16527 to be displayed in the gutter from a plist of strings. Take care
16528 to only use elements that are declared as visible.
16529 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16531 (gutter_validate): allow plists of strings in the specifier.
16532 (gutter_specs_changed): construct the real_gutter from the gutter
16533 specs using construct_window_gutter_spec.
16534 (gutter_visible_validate): gutter-visible is a new specifier type.
16535 (Fgutter_visible_specifier_p): new function for the new specifier.
16536 (syms_of_gutter): declare gutter-visible and
16537 Fgutter_visible_specifier_p.
16538 (specifier_type_create_gutter): intitalize new gutter-visible
16540 (reinit_specifier_type_create_gutter): ditto.
16541 (specifier_vars_of_gutter): use new specifier type for gutter
16543 (init_frame_gutters): construct real_gutter correctly.
16544 (Fgutter_specifier_p): beef up documentation.
16545 (Fgutter_size_specifier_p): ditto.
16547 * winslots.h: add real_gutter slots.
16549 2000-02-25 Andy Piper <andy@xemacs.org>
16551 * device-msw.c: Be kind to older cygwin versions. From Raymond
16552 Toy <toy@rtp.ericsson.se>.
16554 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16555 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16557 2000-02-25 Martin Buchholz <martin@xemacs.org>
16559 * elhash.c (MARK_OBJ): Practice macro hygiene.
16561 2000-02-24 Martin Buchholz <martin@xemacs.org>
16563 * miscplay.c: s/__inline__/inline/g;
16564 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16565 (get_device_compdc): INLINE ==> static inline
16566 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16567 find -name '*.h' | \
16568 xargs global-replace \
16569 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16571 2000-02-25 Andy Piper <andy@xemacs.org>
16573 * window.c (window_top_frame_gutter_height): new function.
16574 (window_top_window_gutter_height): ditto.
16575 (window_top_gutter_height): use them.
16576 (window_bottom_frame_gutter_height): new function.
16577 (window_bottom_window_gutter_height): ditto.
16578 (window_bottom_gutter_height): use them.
16579 (window_left_window_gutter_width): new function.
16580 (window_left_frame_gutter_width): ditto.
16581 (window_left_gutter_width): use them.
16582 (window_right_window_gutter_width): new function.
16583 (window_right_frame_gutter_width): ditto.
16584 (window_right_gutter_width): use them.
16585 (window_pixel_height): new function. calulate window pixel height
16586 with frame gutter involvement.
16587 (Fsplit_window): calculate new sizes taking frame gutters into
16589 (window_char_height_to_pixel_height): don't include frame gutters.
16590 (window_char_height): use window_pixel_height.
16591 (window_pixheight): rename from window_pixel_height.
16592 (change_window_height): use it.
16593 (window_pixel_height_to_char_height): don't include frame gutters.
16594 (window_char_width_to_pixel_width): ditto.
16596 2000-02-25 Andy Piper <andy@xemacs.org>
16598 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16601 2000-02-24 Martin Buchholz <martin@xemacs.org>
16603 * alloc.c (staticpro):
16604 (staticpro_nodump):
16609 (compact_string_chars):
16610 (pdump_dump_wired):
16611 Convert: if (foo) abort(); ==> assert (! foo);
16613 * eldap.c (Fldap_search_basic):
16617 Fix compiler warnings, and possible crashes if (random) return
16618 value were to be used.
16620 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16622 * device-msw.c: Workaround ResetDC failure.
16624 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16625 applying a devmode.
16627 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16628 (mswindows_text_width): Do not start printer page.
16630 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16632 * glyphs-msw.c: Added image methods to msprinter console and
16633 msprinter-specific image instantiation.
16635 2000-02-20 Mike Alexander <mta@arbortext.com>
16637 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16638 to avoid crashes when selection-sets-clipboard is on
16639 (mswindows_own_selection): ditto
16641 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16644 * redisplay-msw.c (get_frame_dc):
16645 (get_frame_compdc):
16647 * device-msw.c (mswindows_init_device):
16648 (mswindows_delete_device):
16649 (msprinter_init_device):
16650 (msprinter_delete_device):
16651 * frame-msw.c (mswindows_init_frame_1):
16652 (mswindows_delete_frame):
16653 (msprinter_init_frame_3):
16654 (msprinter_delete_frame): Move compatible DC to device object from
16655 frame object, for both mswindows and msprinter. Only one at a time
16656 is needed, it is a real waste to have one per frame!
16658 2000-02-23 Andy Piper <andy@xemacs.org>
16660 * glyphs.c: add dynamic width and height elements.
16661 (image_instance_equal): ditto.
16663 * glyphs-widget.c (widget_query_geometry): calculate width and
16664 height dynamically if required.
16665 (initialize_widget_image_instance): initialize dynamic dimensions.
16666 (widget_instantiate): pick-up dynamic dimensions.
16668 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16669 dynamic determination. Add appropriate macros.
16671 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16673 (WINDOW_GUTTER_SIZE): ditto.
16674 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16676 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16678 (get_frame_dc): ditto.
16680 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16683 2000-02-23 Martin Buchholz <martin@xemacs.org>
16685 * XEmacs 21.2.31 is released.
16687 2000-02-22 Ben Wing <ben@xemacs.org>
16689 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16691 2000-02-22 Andy Piper <andy@xemacs.org>
16693 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16695 2000-02-21 Mike Sperber <mike@xemacs.org>
16699 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16702 2000-02-21 Mike Sperber <mike@xemacs.org>
16704 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16706 2000-02-21 Martin Buchholz <martin@xemacs.org>
16708 * XEmacs 21.2.30 is released.
16710 2000-02-20 Martin Buchholz <martin@xemacs.org>
16712 Performance hacking.
16714 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16715 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16716 * emacs.c (main_1):
16718 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16719 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16720 * symeval.h (DEFVAR_SYMVAL_FWD):
16721 * symbols.c (guts_of_unbound_marker):
16722 Make all c_readonly objects also lisp_readonly and marked for life.
16723 * lrecord.h (struct lrecord_implementation):
16724 Document flags better.
16725 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16726 * lrecord.h (DECLARE_LRECORD):
16727 * lrecord.h (XSETRECORD):
16728 * lrecord.h (RECORDP):
16729 * lrecord.h (RECORD_TYPEP):
16730 * lrecord.h (RECORD_MARKER): New.
16731 * lrecord.h (error_check_*):
16732 * lrecord.h (CONCHECK_NONRECORD):
16733 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16734 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16735 * lrecord.h (set_lheader_implementation):
16736 * lrecord.h (enum lrecord_type): New.
16737 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16738 * alloc.c (disksave_object_finalization_1):
16739 * alloc.c (mark_object):
16740 * alloc.c (lrecord_type_index):
16741 * alloc.c (tick_lcrecord_stats):
16742 * alloc.c (Fgarbage_collect):
16743 * alloc.c (init_alloc_once_early):
16744 * alloc.c (pdump_load):
16745 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16746 * alloc.c (lrecord_type_index): Delete.
16747 Make lisp object type indexes be constant.
16748 Makes (byte-compile) 5% faster.
16749 Put all marker functions into their own array.
16750 Makes (garbage-collect) 5% faster.
16751 Optimize SYMBOL_VALUE_MAGIC_P.
16752 Makes (byte-compile) 2-3% faster.
16753 * config.h.in (gc_checking_assert): New.
16754 * alloc.c: Use gc_checking_assert().
16755 * .dbxrc: Make compatible with new object type implementation.
16756 * .gdbinit: Make compatible with new object type implementation.
16757 * alloc.c: Delete all symbols defined only for debugging, such as
16758 Lisp_Type_Vector and lrecord_charset.
16760 2000-02-21 Andy Piper <andy@xemacs.org>
16762 * gui-msw.c (Fmswindows_shell_execute): fix file location
16765 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16766 unshowing so that set_window_buffer doesn't undo
16767 kill_buffer_hook's hard work.
16769 * glyphs-widget.c (tab_control_query_geometry): don't count the
16770 first item when calculating geometry.
16772 * glyphs.c (map_subwindow): remove redundant code.
16773 (update_frame_subwindows): be more circumspect about when to
16776 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16777 when items haven't changed. Update faces if faces have changed as
16778 well as just the widget face.
16779 (x_tab_control_update): Update faces if faces have changed as well
16780 as just the widget face.
16782 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16784 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16786 (build_syscolor_string): Use mswindows_color_to_string to try to
16788 (mswindows_device_system_metrics): Reverse the foreground and
16789 background colors so that they match the documentation.
16791 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16792 they match the default Windows palette.
16793 (mswindows_color_to_string): New function.
16795 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16797 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16799 2000-02-18 Olivier Galibert <galibert@pobox.com>
16801 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16802 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16804 * symbols.c (init_symbols_once_early): Removed obsolete
16805 DATA_SEG_BITS related kludge.
16806 (defvar_magic): Ditto.
16808 * malloc.c: Removed obsolete DATA_SEG_BITS
16810 * mem-limits.h: Ditto.
16812 * Makefile.in.in: Removed obsolete HAVE_SHM
16815 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16817 * device-msw.c (mswindows_delete_device): Free DDE string
16820 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16822 * keymap.c (get_keyelt):
16823 * unexnt.c (unexec):
16824 * vm-limit.c (memory_warnings):
16825 * ntheap.c (recreate_heap):
16826 * ntheap.h (UNINIT_PTR):
16827 * select-msw.c (Fmswindows_get_clipboard):
16828 (Fmswindows_set_clipboard):
16829 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16831 * menubar-msw.c (displayable_menu_item):
16833 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16834 * sysdep.c (sys_subshell):
16835 * process-nt.c (nt_create_process):
16836 * nt.c (normalize_filename):
16837 (dostounix_filename):
16838 (unixtodos_filename):
16839 * ntproc.c (win32_executable_type):
16840 * ntplay.c (play_sound_data_1):
16842 * editfns.c (get_home_directory):
16843 * event-msw.c (struct winsock_stream):
16844 (mswindows_dde_callback):
16845 * device-msw.c (msprinter_init_device):
16846 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16848 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16849 mswindows_clear_toolbar were swapped!
16851 * objects-msw.c:(colormap_t):
16853 * emacs.c (struct standard_args): Fixed const jumble.
16855 * glyphs-widget.c (update_widget): Fixed comparison notation.
16857 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16859 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16860 __declspec(noreturn) syntax.
16862 2000-02-19 Martin Buchholz <martin@xemacs.org>
16864 * eldap.c (Fldap_open):
16865 (Fldap_search_basic):
16868 Use new coding system conversion macros.
16870 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16872 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16874 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16876 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16877 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16879 * eldap.c (Qadd, Qreplace): New constant symbols
16880 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16881 interruptions by XEmacs signals
16882 Remove unnecessary calls to slow_down_interrupts and
16883 speed_up_interrupts
16884 (Fldap_search_basic): Renamed from Fldap_search_internal
16885 Added new optional parameter VERBOSE that triggers the
16886 display of progress messages
16887 Remove unnecessary calls to slow_down_interrupts and
16888 speed_up_interrupts
16889 LDAP result code analysis rewritten
16890 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16891 (syms_of_eldap): Define the new symbols and functions
16894 2000-02-17 Martin Buchholz <martin@xemacs.org>
16896 * realpath.c: Determine PATH_MAX maximally portably.
16898 * insdel.c (bytecount_to_charcount): Optimize.
16899 The function used to be optimized for entirely ASCII sequences.
16900 Now it is optimized for successive characters from the same
16901 charset. This also wins big for _mostly_ ASCII sequences.
16903 * fileio.c (Ffile_truename): convert return from realpath() using
16904 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16905 - Rewrite GCPROing slightly.
16907 * sysdep.c (sys_open): Do filename conversion, like all other
16908 sys_* functions. Fixes bug:
16909 (let ((file-name-coding-system 'iso-8859-2))
16910 (write-region x y latin2-name))
16911 ==> writes filename using internal encoding.
16913 2000-02-18 Martin Buchholz <martin@xemacs.org>
16915 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16916 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16917 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16918 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16919 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16920 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16921 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16922 (CONST_IF_NOT_DEBUG): Delete.
16923 * alloc.c (this_one_is_unmarkable): Delete.
16924 (mark_object): Don't check for this_one_is_unmarkable. Use the
16925 c_readonly flag instead.
16926 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16928 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16930 * event-msw.c (mswindows_drain_windows_queue):
16931 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16932 away redundant repaint events.
16934 2000-02-17 Andy Piper <andy@xemacs.org>
16936 * redisplay.h: declare mark_redisplay_structs.
16938 * redisplay.c (redisplay_window):
16939 (redisplay_frame): don't check subwindows_state_changed.
16940 (mark_redisplay): mark gutters here.
16942 * glyphs.c: (instantiate_image_instantiator): always layout if we
16943 haven't done so already.
16944 (allocate_image_instance): don't mark as dirty.
16945 (update_subwindow): bind inhibit_quit.
16947 * gutter.c (mark_gutters): new function.
16949 * glyphs-x.c (x_update_widget): Always resize to get round a
16952 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16953 breaking absolutely everything.
16955 * gutter.h: declare mark_gutters.
16957 2000-02-16 Martin Buchholz <martin@xemacs.org>
16959 * XEmacs 21.2.29 is released.
16961 2000-02-15 Olivier Galibert <galibert@pobox.com>
16963 * fns.c (size_bit_vector): Fix computation of the size.
16965 2000-02-15 Martin Buchholz <martin@xemacs.org>
16967 * *.[ch]: Change CONST to const globally.
16968 find -name '*.[ch]' | \
16969 xargs global-replace \
16970 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16971 - Remove vestigial references to CONST_IS_LOSING
16973 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16975 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16976 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16977 events instead of dispatching them directly.
16978 (mswindows_handle_paint): New function to do repainting.
16979 (mswindows_wnd_proc):
16980 (emacs_mswindows_handle_magic_event): Call above function.
16982 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16984 * objects-msw.c (mswindows_create_font_variant): Return the new
16986 (initialize_font_instance): Get font metrics from the underlined
16987 variant of the font to cope with the case where the underlined
16988 font has a bigger descent.
16990 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16992 * gui.c (gui_item_accelerator): Return the first underlined
16993 character in item name.
16995 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16997 * lisp.h: Added Qprinter.
16999 * general.c (syms_of_general): Initialized it.
17001 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
17003 (get_frame_compdc): Made inline.
17005 * console.h (struct console_methods): Added eject_page method.
17007 * frame.h: Added FRAME_DISPLAY_P and friends.
17008 Aligned backslahes in many macros in more readable fashion.
17009 Added page_number to struct frame, and an accessor macro
17012 * defice.h: Added DEVICE_DISPLAY_P and friends.
17014 * device.c (Fdevice_printer_p): Used these.
17016 * frame.c (allocate_frame_core): Initialize page number.
17017 (Fprint_job_page_number):
17018 (Fprint_job_eject_page): Implemented.
17020 * frame-msw.c (msprinter_eject_page): Added method.
17021 (msprinter_start_page): Added.
17023 * window.c (Fwindow_truncated_p): Fixed docstring.
17024 (Fwindow_last_line_visible_height): Implemented.
17026 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
17028 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
17030 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17032 * syntax.c (scan_words): Always advance at least one character.
17034 2000-02-13 Andy Piper <andy@xemacs.org>
17036 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
17037 to make sure the glyph is in the cachels.
17039 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
17040 global image instance flag.
17041 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
17042 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
17044 * glyphs.c (allocate_image_instance): set dirty bits correctly.
17045 (Fset_image_instance_property): mark layout as changed.
17046 (invalidate_glyph_geometry_maybe): mark layout as changed.
17047 (glyph_width): use new NEEDS_LAYOUT macro.
17048 (glyph_ascent): ditto.
17049 (glyph_descent): ditto.
17050 (glyph_height): ditto.
17051 (image_instance_layout): mark layout as clean after laying out.
17052 (update_subwindow): don't mark layout as clean here.
17054 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
17055 should no longer be needed.
17057 * glyphs-x.c (x_update_widget): sanitize asserts.
17058 (x_finalize_image_instance): sanitize assignment to widgets.
17060 * glyphs-widget.c (widget_instantiate): don't need to clear the
17063 2000-02-13 Martin Buchholz <martin@xemacs.org>
17065 * sysdep.c (getcwd): Use standard prototype.
17066 * sysdep.h (getcwd): Use standard prototype.
17068 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
17069 (sequence, start, end).
17070 Remove redundant type checking.
17071 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
17072 view of `caller-protects') to avoid a crash where the real fix was
17075 2000-02-12 Martin Buchholz <martin@xemacs.org>
17077 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17079 * s/sol2.h: Remove feature macro initialization.
17081 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17082 (vector_hash): New. Code from internal_hash.
17084 Fix up allocation subsystem comments.
17086 * config.h.in: Add __EXTENSIONS__ for Solaris.
17088 * systime.h (EMACS_GETTIMEOFDAY): New.
17089 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17090 Remove Solaris-specific code.
17091 Use void* for the (ignored) second arg for gettimeofday().
17093 * elhash.c (hash_table_hash): Implement it, finally.
17094 * elhash.c: Use hashcode_t.
17096 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17097 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17099 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17100 * fns.c (size_bit_vector):
17101 * alloc.c (size_vector):
17102 (make_vector_internal):
17103 (make_bit_vector_internal):
17104 (sweep_bit_vectors_1):
17105 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17107 2000-02-10 Martin Buchholz <martin@xemacs.org>
17109 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17110 Include strings.h to avoid warnings for bzero and strcasecmp.
17112 2000-02-10 Olivier Galibert <galibert@pobox.com>
17114 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17115 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17117 * fns.c (size_bit_vector): New. Declare bit vectors as a
17120 2000-02-10 Olivier Galibert <galibert@pobox.com>
17122 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17123 use a value field instead.
17124 (symbol_value_forward_forward): Use value field.
17125 (DEFVAR_SYMVAL_FWD): Use value field.
17126 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17127 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17128 (DEFVAR_CONST_INT): Ditto.
17129 (DEFVAR_BOOL): Ditto.
17130 (DEFVAR_CONST_BOOL): Ditto.
17131 (DEFVAR_INT_MAGIC): Ditto.
17132 (DEFVAR_BOOL_MAGIC): Ditto.
17134 * symbols.c (guts_of_unbound_marker): Use value field.
17135 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17136 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17138 * lisp.h: Declare dumpopaque and noninteractive1.
17140 * alloc.c (dumpopaque): Added.
17141 (pdump_dump_opaquevec): Added.
17142 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17143 (pdump_load): Reload opaque data. Sync noninteractive1 with
17146 2000-02-10 Andy Piper <andy@xemacs.org>
17148 * glyphs.c (image_instance_layout): if the size changes, mark it
17151 * redisplay-output.c (redisplay_output_layout): Update the
17153 (redisplay_output_subwindow): ditto.
17155 * glyphs.c (update_subwindow): make sure we reset flags for
17156 layouts as well as everything else.
17158 * glyphs-widget.c (layout_layout): don't need to set the instances
17161 2000-02-09 Martin Buchholz <martin@xemacs.org>
17163 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17164 not HAVE_DLOPEN, which is a lower-level thing.
17166 * .cvsignore: Ignore gmon.out
17168 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17170 * .cvsignore: Ignore portable dumper xemacs.dmp file
17172 2000-02-09 Andy Piper <andy@xemacs.org>
17174 * redisplay-output.c (redisplay_output_layout): be more clever
17175 about when we output based on the changed flags.
17177 * glyphs.h (struct image_instantiator_methods): add update_method.
17178 (struct Lisp_Image_Instance): add changed flags. Declare new
17179 macros for manipulating them.
17181 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17182 (image_instance_parent_glyph): find an image_instance's parent
17183 glyph or image_instance.
17184 (image_instance_layout): mark the size as changed.
17185 (set_image_instance_dirty_p): new function. mark an image
17186 instance, plus all of its parents, as dirty.
17187 (Fset_image_instance_property): use it.
17188 (Fglyph_animated_timeout_handler): use it.
17189 (update_subwindow): call update_widget and device methods for
17190 update_subwindow. Mark all changed flags as clean.
17191 (Fresize_subwindow): mark size as changed.
17193 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17195 (x_update_subwindow): only resize subwindows here.
17196 (x_update_widget): new function. Update all changed properties of
17198 (x_resize_subwindow): deleted.
17199 (x_widget_set_property): deleted.
17200 (x_progress_gauge_set_property): deleted.
17201 (x_progress_gauge_update): new function. Implement recorded
17203 (x_tab_control_update): ditto.
17204 (x_tab_control_set_property): deleted.
17205 (console_type_create_glyphs_x): declare new functions.
17206 (image_instantiator_format_create_glyphs_x): ditto.
17208 * glyphs-widget.c (widget_set_property): mark text changed.
17209 (update_widget): new function. Update properties of a widget.
17210 (widget_instantiate): for layouts make sure we set their
17211 children's parent correctly.
17212 (tab_control_set_property): new function. Record changes that will
17213 take place under redisplay's control.
17214 (progress_gauge_set_property): ditto.
17215 (image_instantiator_progress_guage): declare new functions.
17216 (image_instantiator_tab_control): ditto.
17218 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17220 (mswindows_update_widget): new function. Update all properties on
17221 a widget that have changed.
17222 (mswindows_button_update): new function. Update a button's set
17224 (mswindows_tab_control_update): new function. Update the items in
17226 (mswindows_tab_control_set_property): deleted.
17227 (mswindows_progress_gauge_update): new function. Update the
17228 progress gauge's progress.
17229 (mswindows_widget_set_property): deleted. This is all done
17230 asynchronously now.
17231 (mswindows_progress_gauge_set_property): ditto.
17232 (console_type_create_glyphs_mswindows): declare new methods.
17233 (image_instantiator_format_create_glyphs_mswindows): ditto.
17235 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17236 (msprinter_set_frame_properties): ditto.
17238 * console.h (struct console_methods): Add update_widget_method.
17240 2000-02-09 Andy Piper <andy@xemacs.org>
17242 * gui-msw.c (Fmswindows_shell_execute): Make
17243 mswindows-shell-execute industrial strength.
17245 2000-02-08 Martin Buchholz <martin@xemacs.org>
17247 * lrecord.h: Make macro argument `props' match member function `plist'.
17250 * fns.c (Fremprop):
17251 * fns.c (Fobject_plist):
17254 Object property list frobbing cleanup.
17255 - Allow any lisp object (compared with `eq'), not just symbols, as
17256 keys in object plists.
17257 - Move symbol plist frobbing into symbols.c, where it belongs.
17258 - Move string plist frobbing into alloc.c, where it belongs.
17259 - Everything's an lrecord now, so no need to test for symbolp, etc.
17260 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17262 * extents.c: Reorder code to remove declarations.
17264 * frame.h (store_in_alist): Remove useless declaration.
17266 2000-02-07 Martin Buchholz <martin@xemacs.org>
17268 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17269 * config.h.in: Add HAVE_XCONVERTCASE.
17271 2000-02-07 Andy Piper <andy@xemacs.org>
17273 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17274 it breaks many things.
17276 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17278 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17279 actually can start a common comment type.
17280 * src/syntax.h (SYNTAX_END_P): ditto for end.
17282 2000-02-07 Martin Buchholz <martin@xemacs.org>
17284 * XEmacs 21.2.28 is released.
17286 2000-02-06 Martin Buchholz <martin@xemacs.org>
17288 * event-Xt.c (x_keysym_to_character): New.
17289 (maybe_define_x_key_as_self_inserting_character): New.
17290 (x_has_keysym): New.
17291 Auto-define all keys on the keyboard as self-insert-key.
17293 2000-02-02 Martin Buchholz <martin@xemacs.org>
17295 * menubar.c (vars_of_menubar): A small code simplification.
17297 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17300 * ExternalClient.c:
17301 * EmacsShell-sub.c:
17304 Use consistent style for specifying X resources.
17306 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17307 This makes (dontusethis-set-symbol-value-handler) actually usable.
17309 * lrecord.h (lrecord_decription_type):
17310 * alloc.c (pdump_register_sub):
17313 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17314 Comply with XEmacs coding style.
17315 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17316 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17318 * keymap.c (Faccessible_keymaps):
17319 Make (accessible-keymaps map "\C-h") do the Right Thing.
17320 Make (accessible-keymaps map []) do the Right Thing.
17321 Make (accessible-keymaps map "") do the Right Thing.
17322 (check_keymap_definition_loop): New function.
17323 (keymap_store_internal): Keep luser from shooting self in foot,
17324 via (define-key ctl-x-4-map "p" global-map).
17325 Remove fullness slot from struct Lisp_Keymap, since hash tables
17327 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17329 2000-01-30 Martin Buchholz <martin@xemacs.org>
17331 * redisplay.c (init_redisplay): Fix small memory leak.
17333 * elhash.c (pdump_reorganize_hash_table):
17334 Rename from reorganize_hash_table. Change prototype.
17335 Reuse the original memory for hentries. Save 100k.
17336 * alloc.c (PDUMP_READ): new macro.
17337 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17338 * alloc.c: No need to #ifndef before #undef.
17340 * print.c: Allow debug_print() to print readably by modifying
17341 debug_print_readably. Use consistent variable names.
17343 * .dbxrc: Try to get things to work even if stopped in a function
17344 without source available by explicitly specifying source files.
17345 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17347 * unexnt.c (_start): Removed bogus code which caused loading heap
17348 from differrent executable file.
17349 Removed bogus assignment to _fmode, which caused inconsistencies.
17351 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17353 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17354 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17355 Do not preliminary `#define signal sigset'.
17357 * systime.h: Do not prototype environ on windows nt and cygwin,
17358 this conflicts with system header.
17360 * syssignal.h: Use correct define for WINDOWSNT
17362 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17363 with system header.
17365 * sysdep.c (near start of file): Fixed commentary and rearranged
17366 ifdefs in readable order.
17367 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17370 (end_of_data): Do not compile in if using PDUMP.
17372 * symsinit.h: Prototyped vars_of_nt().
17374 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17375 (find_child_console): Use it.
17376 (sys_kill): Use it.
17378 * ntheap.h: Do not extern os_subtype.
17380 * ntheap.c (cache_system_info): Do not cache unneeded:
17381 nt_major_version, nt_minor_version and os_subtype.
17382 (recreate_heap): Do not compile in when PDUMPing.
17384 * nt.c (geteuid and friends): Use the new varibale
17385 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17386 (init_user_info): Removed the above mentioned hackery.
17387 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17388 stat has been fixed in the C runtime.
17389 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17391 * file-coding.c (struct file_coding_dump): Do not define
17392 ucs_to_mule_table in the struct if not MULE.
17393 (struct struct lrecord_description fcd_description_1): Do not dump
17396 * emacs.c (main_1): Call vars_of_nt().
17397 (right before Fdump_emacs_data): Don't need lastfile if using both
17398 portabe dumper and system malloc.
17400 * alloc.c (Fmemory_limit): Conditionalized out.
17401 (pdump): Use OPEN_BINARY for the portable dump file.
17402 (pdump_load): Ditto.
17404 2000-02-02 Mike Alexander <mta@arbortext.com>
17406 * nt.c (convert_time): Set tm_isdst before calling mktime and
17407 avoid calling it at all if the compiler supports 64 bit integers.
17408 Also initialize utc_base_ft before using it.
17410 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17412 * frame.c (change_frame_size_1): Take f->internal_border_width
17413 into consideration when calculating the width of the frame.
17415 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17417 * window.c (frame_min_height):
17418 (frame_size_valid_p):
17419 (frame_pixsize_valid_p): Added.
17420 (check_frame_size): Generalized.
17422 * window.h: Prototyped the above.
17425 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17426 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17427 Deleted Vwin32_* and Vbinary_process_* unused variables.
17429 * device-msw.c (msprinter_init_device): Do not get printer font
17430 list; Added DEVMODE functions.
17432 * frame-msw.c: Added lots of printer code.
17434 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17437 * console-msw.h: Added more msprinter device private slots.
17439 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17441 * event-msw.c (key_needs_default_processing_p): Added.
17442 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17444 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17446 * glyphs.c (image_instance_layout): Mark image instance as clean
17448 (glyph_dirty_p): Removed redundant function.
17449 (invalidate_glyph_geometry_maybe): Added.
17450 (update_glyph_cachel_data): Call it.
17452 * glyphs.h: Prototyped it.
17454 * redisplay.c (add_glyph_rune): Call it.
17455 (redisplay_window): Reset glyphs cachels when frame faces have
17456 changed, thus forcing recomputation of built-in border glyphs.
17458 2000-01-30 Martin Buchholz <martin@xemacs.org>
17460 * Makefile.in.in: Make portable dumper and purify play well together.
17461 Add imperfect, but better than nothing, support for pdump.
17462 Remove xemacs.dmp when temacs is re-generated.
17463 Don't ignore errors when dumping xemacs.
17465 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17467 2000-01-28 Andy Piper <andy@xemacs.org>
17469 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17470 (setup_normal_frame): ditto.
17471 (setup_frame_without_minibuffer): ditto.
17472 (setup_minibuffer_frame): ditto.
17473 (delete_frame_internal): ditto.
17474 (Fmake_frame_invisible): ditto.
17475 (Ficonify_frame): ditto.
17477 * window.h: change Fset_window_buffer signature.
17479 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17480 (Fset_window_buffer): allow recording of buffer if the window is
17481 the selected window.
17482 (window_loop): Use new Fset_window signature.
17484 2000-01-23 Daniel Pittman <daniel@danann.net>
17486 * config.h.in: Added template for `HAVE_ATHENA_3D'
17488 2000-01-29 Andy Piper <andy@xemacs.org>
17490 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17492 * gutter.c (output_gutter): Don't output if the window isn't live.
17494 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17496 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17497 of 01/12/00: Moved SetFocus back here where it belongs.
17499 2000-01-23 Andy Piper <andy@xemacs.org>
17501 * s/cygwin32.h: declare printer things.
17503 2000-01-26 Andy Piper <andy@xemacs.org>
17505 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17508 2000-01-24 Andy Piper <andy@xemacs.org>
17510 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17511 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17513 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17515 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17517 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17519 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17520 (mswindows_output_display_block): Avoid local shadows.
17522 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17523 (mswindows_enqueue_mouse_button_event): ditto.
17524 (mswindows_handle_gui_wm_command): remove declaration.
17526 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17529 * console-msw.h: Avoid shadows.
17530 (mswindows_get_toolbar_button_text):
17531 (emacs_mswindows_create_stream_pair):
17532 (emacs_mswindows_delete_stream_pair):
17533 (mswindows_handle_toolbar_wm_command): declare.
17535 * device-msw.c (build_syscolor_string): Avoid shadows.
17537 2000-01-23 Andy Piper <andy@xemacs.org>
17539 * glyphs-widget.c (widget_instantiate): reverse the items for
17540 layouts so that children are in the expected order.
17542 2000-01-28 Martin Buchholz <martin@xemacs.org>
17544 * ralloc.c: safe_bcopy ==> memmove
17545 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17546 * s/msdos.h: Remove BCOPY macros.
17547 * insdel.c (gap_right): Remove BCOPY conditional code.
17548 * insdel.c (gap_left): Remove BCOPY conditional code.
17549 XEmacs demands a working ANSI C compiler - hence memmove.
17551 * regex.c (regex_compile): Remove accidental use of trigraphs.
17553 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17555 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17558 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17560 * event-msw.c (mswindows_drain_windows_queue): Added the
17562 (mswindows_need_event): Commented the call to
17563 mswindows_drain_windows_queue().
17564 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17567 * console-msw.h: Moved a few function prototypes here from
17570 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17571 parameter from unsigned short to unsigned long.
17572 (Fmswindows_shell_execute): Added return value.
17574 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17576 * sysdep.c (init_system_name):
17577 process-unix.c (unix_canonicalized_host_name):
17578 Don't call freeaddrinfo() if getaddrinfo() fails.
17580 * process-unix.c (unix_open_unix_network_stream):
17581 Moved the code to get a port # into address loop.
17583 2000-01-27 Martin Buchholz <martin@xemacs.org>
17585 * buffer.c (reinit_vars_of_buffer):
17586 The right place to initialize conversion_in_dynarr and
17587 conversion_out_dynarr.
17589 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17591 * process-unix.c (unix_canonicalize_host_name): Muleize.
17592 (unix_open_network_stream): Muleize.
17594 * buffer.h: Fix up prototypes for ralloc.c functions.
17596 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17597 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17598 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17599 instead of gethostbyname()
17600 * process-unix.c: In unix_canonicalize_host_name() and
17601 unix_open_network_stream(), add code to use getaddrinfo()
17602 instead of gethostbyname().
17604 2000-01-27 Daniel Pittman <daniel@danann.net>
17606 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17607 libs when built with flat Athena.
17609 2000-01-27 Martin Buchholz <martin@xemacs.org>
17611 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17612 Use coding standards for function prototypes.
17614 2000-01-25 Martin Buchholz <martin@xemacs.org>
17616 * dialog-msw.c (push_lisp_string_as_unicode):
17617 * doc.c (unparesseuxify_doc_string):
17618 * dired.c (Fuser_name_completion_1):
17619 * dired.c (Fuser_name_all_completions):
17620 * dired.c (free_user_cache):
17621 * dired.c (user_name_completion):
17622 * console-x.c (get_display_arg_connection):
17623 * minibuf.c (clear_echo_area_internal):
17624 * minibuf.c (echo_area_append):
17625 * eldap.c (Fldap_open):
17626 * eldap.c (Fldap_search_internal):
17627 * frame-x.c (x_set_frame_text_value):
17628 * frame-x.c (x_set_frame_properties):
17629 * frame-x.c (x_create_widgets):
17630 * redisplay-tty.c (term_get_fkeys_1):
17631 * objects-x.c (x_parse_nearest_color):
17632 * objects-x.c (x_valid_color_name_p):
17633 * objects-x.c (x_initialize_font_instance):
17634 * objects-x.c (x_list_fonts):
17635 * objects-x.c (x_find_charset_font):
17636 * tooltalk.c (Fadd_tooltalk_message_arg):
17637 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17638 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17639 * process-unix.c (unix_create_process):
17640 * ntproc.c (sys_spawnve):
17641 * sound.c (Fplay_sound_file):
17642 * sound.c (Fplay_sound):
17643 * buffer.c (init_initial_directory):
17644 * buffer.c (init_buffer):
17645 * editfns.c (init_editfns):
17646 * editfns.c (Ftemp_directory):
17647 * editfns.c (Fuser_full_name):
17648 * editfns.c (uncache_home_directory):
17649 * editfns.c (get_home_directory):
17650 * editfns.c (Fuser_home_directory):
17651 * editfns.c (Fformat_time_string):
17652 * editfns.c (Fcurrent_time_string):
17653 * gui-x.c (button_item_to_widget_value):
17654 * database.c (Fopen_database):
17655 * event-Xt.c (x_to_emacs_keysym):
17656 * event-Xt.c (x_event_to_emacs_event):
17657 * event-Xt.c (describe_event_window):
17658 * event-msw.c (mswindows_wnd_proc):
17659 * glyphs-eimage.c (jpeg_instantiate):
17660 * glyphs-eimage.c (gif_instantiate):
17661 * glyphs-eimage.c (png_instantiate):
17662 * glyphs-eimage.c (tiff_instantiate):
17663 * glyphs-x.c (xbm_instantiate_1):
17664 * glyphs-x.c (x_xbm_instantiate):
17665 * glyphs-x.c (x_xface_instantiate):
17666 * glyphs-x.c (autodetect_instantiate):
17667 * glyphs-x.c (cursor_font_instantiate):
17668 * glyphs-x.c (x_widget_instantiate):
17669 * glyphs-x.c (x_widget_set_property):
17670 * glyphs-x.c (x_widget_property):
17671 * glyphs-x.c (BUILD_GLYPH_INST):
17672 * print.c (write_string_to_stdio_stream):
17673 * print.c (output_string):
17674 * print.c (Falternate_debugging_output):
17675 * print.c (Fexternal_debugging_output):
17676 * glyphs-msw.c (extract_xpm_color_names):
17677 * glyphs-msw.c (mswindows_xpm_instantiate):
17678 * glyphs-msw.c (bmp_instantiate):
17679 * glyphs-msw.c (resource_name_to_resource):
17680 * glyphs-msw.c (mswindows_resource_instantiate):
17681 * glyphs-msw.c (xbm_instantiate_1):
17682 * glyphs-msw.c (mswindows_xbm_instantiate):
17683 * glyphs-msw.c (mswindows_xface_instantiate):
17684 * glyphs-msw.c (mswindows_widget_instantiate):
17685 * glyphs-msw.c (add_tree_item):
17686 * glyphs-msw.c (add_tab_item):
17687 * glyphs-msw.c (mswindows_combo_box_instantiate):
17688 * glyphs-msw.c (mswindows_widget_property):
17689 * glyphs-msw.c (mswindows_combo_box_property):
17690 * glyphs-msw.c (mswindows_widget_set_property):
17691 * console.c (stuff_buffered_input):
17692 * objects-msw.c (mswindows_initialize_color_instance):
17693 * objects-msw.c (mswindows_valid_color_name_p):
17694 * objects-msw.c (mswindows_list_fonts):
17695 * objects-msw.c (mswindows_font_instance_truename):
17696 * bytecode.c (optimize_compiled_function):
17697 * select-x.c (symbol_to_x_atom):
17698 * select-x.c (x_atom_to_symbol):
17699 * select-x.c (hack_motif_clipboard_selection):
17700 * select-x.c (selection_data_to_lisp_data):
17701 * select-x.c (lisp_data_to_selection_data):
17702 * select-x.c (Fx_get_cutbuffer_internal):
17703 * select-x.c (Fx_store_cutbuffer_internal):
17704 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17705 * buffer.h (TO_INTERNAL_FORMAT): New function.
17706 * emacs.c (make_arg_list_1):
17707 * emacs.c (make_argc_argv):
17708 * emacs.c (main_1):
17709 * emacs.c (Fdump_emacs):
17710 * emacs.c (split_string_by_emchar_1):
17715 * device-x.c (x_init_device):
17716 * device-x.c (Fx_valid_keysym_name_p):
17717 * device-x.c (Fx_get_font_path):
17718 * device-x.c (Fx_set_font_path):
17719 * glyphs.c (bitmap_to_lisp_data):
17720 * glyphs.c (pixmap_to_lisp_data):
17721 * alloc.c (make_ext_string): Use coding system arguments. Update
17723 * alloc.c (build_string):
17724 * callproc.c (child_setup):
17725 * callproc.c (init_callproc):
17726 * fileio.c (lisp_strerror):
17727 * fileio.c (directory_file_name):
17728 * fileio.c (Fexpand_file_name):
17729 * fileio.c (Ffile_truename):
17730 * fileio.c (Fsysnetunam):
17731 * fileio.c (Fdo_auto_save):
17732 * sysdep.c (sys_readdir):
17733 * tests.c: New file. Allow adding C tests.
17734 Replace GET_* macros with a more comprehensible and flexible
17735 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17737 Any coding system can be used to do format conversion.
17738 Eliminate enum external_data_format.
17739 Eliminate convert_to_external_format.
17740 Eliminate convert_to_internal_format.
17741 Make sure file-name, keyboard, terminal, and ctext are always
17742 defined as coding systems or aliases. Make
17743 file-name-coding-system, terminal-coding-system, and
17744 keyboard-coding-system magical variables that are equivalent to
17745 defining the corresponding coding system aliases.
17747 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17748 * file-coding.c (Fcoding_system_alias_p): New function.
17749 * file-coding.c (Fcoding_system_aliasee): New function.
17750 * file-coding.c (append_suffix_to_symbol): New function.
17751 * file-coding.c (dangling_coding_system_alias_p): New function.
17752 * file-coding.c (Ffind_coding_system):
17753 * file-coding.c (Fcopy_coding_system):
17754 * file-coding.c (encode_coding_no_conversion):
17755 * file-coding.c (syms_of_file_coding):
17756 * file-coding.c (vars_of_file_coding):
17757 Rewrite coding system alias code.
17758 Allow nested aliases, like symbolic links.
17759 Allow redefinition of coding system aliases.
17760 Prevent existence of dangling coding system aliases.
17762 * dired.c (Fuser_name_completion_1):
17763 * dired.c (Fuser_name_all_completions):
17764 A crash would happen if user did QUIT in the middle of building
17765 user_name_cache. Remove redundant code in mainline and unwind_protect.
17768 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17770 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17771 an unsigned char *. Update all callers.
17773 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17775 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17777 2000-01-25 Martin Buchholz <martin@xemacs.org>
17779 * elhash.c (hentry_description): Use more portable definition.
17780 (resize_hash_table): Initialize new hentries using
17781 xnew_array_and_zero, thereby simplifying the code.
17783 * mule-charset.c (make_charset): Make sure entire object is
17784 initialized, to avoid Purify warnings.
17786 * alloc.c (resize_string): Fix unlikely crash with big strings.
17788 2000-01-24 Martin Buchholz <martin@xemacs.org>
17790 * realpath.c (xrealpath):
17791 Don't call getwd().
17793 2000-01-25 Martin Buchholz <martin@xemacs.org>
17795 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17797 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17799 * unexelfsgi.c (unexec): Change the way we decide which segment
17800 should be extended.
17802 Assumption that .bss section should be outside the PT_LOADable
17803 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17804 it's present) is inside the 'data' segment. This would fail the
17805 test which was used to find a segment to grow and cover new
17806 heap. Instead of this assumption, I created another one - on IRIX
17807 the segment to grow should start below .bss and it's address
17808 should extent above the end of .bss. Once this segment is
17809 identified, it's grown to accommodate the new heap and new
17810 zero-length .bss section is added at the end of .data2.
17812 2000-01-25 Martin Buchholz <martin@xemacs.org>
17814 * eval.c (Feval): Wrong number of arguments should use original
17815 function, not the indirect_function version of it.
17817 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17819 * glyphs-x.c (x_button_instantiate): Don't add image if
17820 it is not a pixmap.
17821 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17824 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17826 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17828 (DEFVAR_INT_MAGIC): Ditto.
17829 (DEFVAR_BOOL_MAGIC): Ditto.
17830 * glyphs.h: Reindent backslash.
17832 2000-01-24 Martin Buchholz <martin@xemacs.org>
17834 * glyphs-widget.c (layout_query_geometry):
17835 (layout_layout): Use correct types for gheight, gwidth.
17837 2000-01-24 Martin Buchholz <martin@xemacs.org>
17839 * EmacsManager.c (QueryGeometry): Purified.
17841 2000-01-23 Martin Buchholz <martin@xemacs.org>
17843 * alloc.c (make_float): Make sure entire object is initialized, to
17844 avoid Purify warnings.
17845 (pdump_register_sub): Remove useless assignment.
17846 (pdump): Use xmalloc, not malloc.
17847 (pdump_load): Use xmalloc, not malloc.
17849 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17856 * sysdep.c: Removed redundant #include <windows.h>
17858 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17860 * frame.c (delete_frame_internal): Do not delete device when its
17861 implementation so declares.
17862 (delete_frame_internal): Set device selected frame to nil when
17863 last frame goes away.
17865 * device-msw.c (msprinter_device_system_metrics): Implemented.
17866 (mswindows_device_system_metrics): Added 'device-dpi property.
17868 * device.c: (Fdevice_printer_p): Added.
17869 Added 'offset-workspace device metric.
17871 * console.h (device_metrics): Declared DM_offset_workspace.
17873 2000-01-23 Martin Buchholz <martin@xemacs.org>
17875 * fileio.c (Ffile_truename): Remove pointless and confusing
17876 initialization of elen.
17878 * glyphs-widget.c: Compiler warning fixes.
17880 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17882 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17883 instead of a Lisp_Object as argument to make it consistent with
17884 the other LIVE_P macros.
17885 (CHECK_LIVE_PROCESS): New macro.
17887 * process.c: Declare Qprocess_live_p.
17888 (Fprocess_live_p): New function.
17889 (create_process): Use PROCESS_LIVE_P.
17890 (read_process_output): Ditto.
17891 (set_process_filter): Ditto.
17892 (Fdelete_process): Ditto.
17893 (kill_buffer_processes): Ditto
17894 (process_send_signal): Use CHECK_LIVE_PROCESS.
17895 (Fprocess_input_coding_system): Check whether process is still
17896 alive (fix PR#1061).
17897 (Fprocess_output_coding_system): Ditto.
17898 (Fprocess_coding_system): Ditto.
17899 (Fset_process_input_coding_system): Ditto.
17900 (Fset_process_output_coding_system): Ditto.
17902 2000-01-23 Andy Piper <andy@xemacs.org>
17904 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17907 * glyphs.c (mark_image_instance): take into account changed
17908 image_instance format.
17909 (image_instance_equal): ditto.
17910 (image_instance_hash): ditto.
17912 * glyphs-widget.c (widget_instantiate): Incorporate layout
17913 instantiation here. Delay layout of the layout until later.
17914 (layout_instantiate): deleted.
17915 (layout_query_geometry): new function. get the geometry of a
17917 (layout_layout): layout a layout dynamically.
17918 (image_instantiator_widget): New function - splitting up
17919 image_instantiator_format_create_glyphs_widget for netwinder
17921 (image_instantiator_buttons):
17922 (image_instantiator_edit_fields):
17923 (image_instantiator_combo_box):
17924 (image_instantiator_scrollbar):
17925 (image_instantiator_progress_guage):
17926 (image_instantiator_tree_view):
17927 (image_instantiator_tab_control):
17928 (image_instantiator_labels):
17929 (image_instantiator_layout): ditto.
17930 (image_instantiator_format_create_glyphs_widget): Call preceding
17933 2000-01-22 Martin Buchholz <martin@xemacs.org>
17935 * process.c (Fset_process_coding_system):
17936 * device-x.c (Fx_keysym_hash_table):
17939 * lstream.c (Lstream_write): Return documented value, not 0.
17941 * fileio.c (directory_file_name):
17942 (Fsubstitute_in_file_name):
17943 (Fsubstitute_insert_file_contents_internal):
17944 (Fwrite_region_internal):
17949 Remove vestigial APOLLO-conditional code.
17951 2000-01-21 Martin Buchholz <martin@xemacs.org>
17953 * getpagesize.h: Add guard macros.
17954 * libsst.h: Add guard macros.
17955 * libst.h: Add guard macros.
17956 * line-number.h: Add guard macros.
17957 * ndir.h: Add guard macros.
17958 * sysfloat.h: Add guard macros.
17959 * sysfile.h: Add guard macros.
17960 * sysproc.h: Add guard macros.
17961 * syswait.h: Add guard macros.
17962 * xintrinsic.h: Add guard macros.
17963 * xintrinsicp.h: Add guard macros.
17964 * xmmanager.h: Add guard macros.
17965 * xmmanagerp.h: Add guard macros.
17966 * xmprimitive.h: Add guard macros.
17967 * xmu.h: Add guard macros.
17968 * gpmevent.h: Add copyright statement. Add guard macros.
17969 * miscplay.h: Add guard macros.
17970 * *.h: Use consistent C-standards-approved guard macro names.
17972 * opaque.c (make_opaque): Switch parameter order.
17973 * opaque.h (make_opaque): Switch parameter order.
17974 Update all callers.
17975 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17977 * config.h.in (type_checking_assert): Added.
17978 (bufpos_checking_assert): Added.
17980 2000-01-21 Martin Buchholz <martin@xemacs.org>
17982 * alloc.c: Harmless pdump changes.
17984 - spell alignment correctly.
17985 * sysdep.c: Use countof()
17987 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17989 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17990 initially_selected_for_input() console method, default to 0.
17991 (semi_canonicalize_console_connection): Try to delegate to
17992 canonicalize_console_connection if no such console method.
17993 (canonicalize_console_connection): Vice versa.
17994 (print_console): Do not print nil connection.
17996 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17997 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17998 (XDEVIMPF_FRAMELESS_OK): Added.
17999 (CONSOLE_INHERITS_METHOD): Added.
18001 * console-msw.c (mswindows_canonicalize_console_connection):
18003 (mswindows_canonicalize_device_connection): Added.
18005 * console-msw.h (struct msprinter_device): Added this struct and
18007 (mswindows_device): Made fontlist a lisp object.
18009 * device.c (semi_canonicalize_device_connection): Try to delegate
18010 to canonicalize_device_connection if no such console method.
18011 (canonicalize_device_connection): Vice versa.
18012 (print_device): Do not print nil connection.
18014 * device-msw.c (mswindows_init_device): Call InitCommonControls
18016 (mswindows_delete_device): Removed fontlist deallocation.
18017 (mswindows_mark_device): Added.
18019 * events.c (event_equal): Added abort() at unreached code.
18020 (event_hash): Ditto.
18022 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
18023 fallback tags of Windows devices.
18025 * general.c (syms_of_general): Initialized Qmsprinter.
18027 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
18028 of fallback tags of Windows devices.
18030 * lisp.h: Declared Qmsprinter.
18032 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
18034 (mswindows_list_fonts): Ditto.
18035 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
18036 that it can be used by both mswindows and msprinter devices.
18037 (initialize_font_instance): Added.
18038 (mswindows_initialize_font_instance): Use it.
18039 (msprinter_initialize_font_instance): Added.
18041 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
18042 and implementation flags check.
18043 (redisplay_without_hooks): Changed the call to the above.
18044 (Fredraw_device): Ditto.
18045 (Fredisplay_device): Ditto.
18047 * redisplay-msw.c (get_frame_dc): Implemented.
18048 (get_frame_compdc): Implemented.
18049 (many functions): Use the two functions above to get device
18050 contexts, ether for a window or a printer.
18052 2000-01-21 Olivier Galibert <galibert@pobox.com>
18054 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
18055 initialization here.
18056 (init_symbols_once_early): Call it.
18057 * emacs.c (main_1): Call it.
18058 * symsinit.h: Declare it.
18060 2000-01-19 Olivier Galibert <galibert@pobox.com>
18062 * alloc.c: Use a lrecord_header * in the backtrace instead of a
18064 (pdump_backtrace): Ditto.
18065 (pdump_register_object): Ditto. Cleanup use of the pointers.
18066 (pdump_get_entry): Abort if trying to register a null pointer.
18067 (pdump_dump_data): Cleanup types when relocating.
18068 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
18069 (pdump_dump_rtables): Remove bad casts.
18070 (pdump_load): Cleanup relocation w.r.t union type. Use a
18071 Lisp_Object instead of a EMACS_INT for the hashtable
18074 2000-01-20 Martin Buchholz <martin@xemacs.org>
18076 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18078 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18080 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18082 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18084 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18086 * faces.h (FACE_STRIKETHRU_P): Added.
18088 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18091 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18092 (mswindows_set_dc_font): New function, aware of font variants,
18093 separated from mswindows_update_dc.
18095 * objects-msw.h (struct mswindows_font_instance_data): Added
18098 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18099 cached fonts and the data structure.
18100 (mswindows_initialize_font_instance): Added creation of font data
18102 (mswindows_print_font_instance): Print at least something.
18103 (mswindows_create_font_variant): Implemented.
18104 (mswindows_get_hfont): Implemented.
18106 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18108 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18109 prototyping problem with msvc.
18111 * emacs.c (main_1): added syms_of_gui_mswindows() call
18113 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18114 syms_of_gui_mswindows() function
18116 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18118 2000-01-18 Martin Buchholz <martin@xemacs.org>
18120 * XEmacs 21.2.27 is released.
18122 2000-01-18 Martin Buchholz <martin@xemacs.org>
18124 * glyphs-eimage.c (struct tiff_error_struct):
18126 (tiff_warning_func):
18127 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18132 * unexec.c: Remove vestigial Lucid C code.
18136 * libsst.c: Ansify.
18137 Remove declarations of errno and strerror().
18139 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18141 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18143 2000-01-16 Martin Buchholz <martin@xemacs.org>
18145 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18148 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18153 Change enum eol_type to eol_type_t.
18155 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18157 * gui.c (get_gui_callback): Check cons before accessing car.
18159 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18161 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18162 (XSETSPECIFIER_TYPE): Ditto.
18164 2000-01-17 Didier Verna <didier@xemacs.org>
18166 * redisplay.c (generate_fstring_runes): compute string size in
18167 characters, not bytes.
18169 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18171 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18173 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18175 * print.c (print_error_message): Call print_prepare().
18177 2000-01-14 Martin Buchholz <martin@xemacs.org>
18179 * .dbxrc: Renamed from dbxrc.
18181 * events.c (event_to_character):
18182 Use `assert (foo)' instead of `if (!foo) abort()'
18184 * .gdbinit (xtype): Add documentation.
18185 * .gdbinit (check-temacs): New function.
18186 * .gdbinit (check-xemacs): New function.
18187 * dbxrc (check-xemacs): New function.
18188 * dbxrc (check-xemacs): New function.
18190 2000-01-14 Andy Piper <andy@xemacs.org>
18192 * glyphs-widget.c (widget_query_geometry): Make sure that we
18193 calculate default dimensions correctly.
18195 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18197 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18199 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18200 pdump_wire'd variable.
18202 * emacs.c: (main_1): Conditionalized calls to
18203 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18205 2000-01-13 Martin Buchholz <martin@xemacs.org>
18207 * window.c (Fset_window_configuration):
18208 * sysdep.c (_start):
18209 * input-method-motif.c (res):
18210 * event-Xt.c (Xt_process_to_emacs_event):
18211 Simple compiler warning fixes.
18213 * bytecode.c (funcall_compiled_function): Use the original
18214 function symbol on the backtrace list in preference to the
18215 compiled_function object in error messages.
18217 2000-01-13 Andy Piper <andy@xemacs.org>
18219 * glyphs-x.c (update_widget_face): Make sure we update the widget
18220 background as well as foreground.
18222 2000-01-13 Andy Piper <andy@xemacs.org>
18224 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18225 fields to subwindow.
18226 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18227 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18228 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18229 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18231 * glyphs-widget.c (check_valid_tab_orientation): new function.
18232 (initialize_widget_image_instance): zero orientation and
18234 (widget_instantiate): pick up orientation.
18235 (tab_control_query_geometry): return appropriate values for
18238 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18239 appropriate creation flags for left, right and bottom tabs.
18241 * s/cygwin32.h: add tab definitions.
18243 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18245 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18246 frame upon hiding a subwindow.
18247 (mswindows_button_instantiate): Changed the push button style to
18249 (mswindows_button_instantiate): Removed button BS_NOTIFY
18251 (mswindows_button_instantiate): Removed redundant check for
18252 a disabled gui item.
18253 (mswindows_button_instantiate): Made use of WS_TABSTOP
18254 consistent: "operable" controls (edit, button, tree, scroll) have
18255 this style, "display-only" ones (static, progress gauge) do
18256 not. This style is currently ignored by XEmacs though. Also,
18257 removed the WS_EX_CONTROLPARENT style - it is not for children,
18258 it is for their parents!
18259 (mswindows_edit_field_instantiate): Ditto.
18260 (mswindows_progress_gauge_instantiate): Ditto.
18261 (mswindows_tree_view_instantiate): Ditto.
18262 (mswindows_tab_control_instantiate): Ditto.
18263 (mswindows_scrollbar_instantiate): Ditto.
18264 (mswindows_combo_box_instantiate): Ditto.
18265 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18266 style to the "clip" window.
18267 (mswindows_button_instantiate): Removed compilation warning by
18268 equally typing terms of the ?: operator.
18270 2000-01-12 Didier Verna <didier@xemacs.org>
18272 * redisplay.c (generate_fstring_runes): new parameter holding the
18273 last modeline-format extent.
18274 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18275 extent, fill the glyph block with it.
18276 (generate_fstring_runes): handle these parameters.
18277 (generate_formatted_string_db): ditto.
18279 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18280 glyphs'extents in the modeline.
18282 1999-01-11 Mike Woolley <mike@bulsara.com>
18284 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18285 256Mb, as a workaround for the non-starting problem many people
18288 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18290 * console-tty.c (Fset_console_tty_output_coding_system):
18291 Force redrawing tty frame.
18293 2000-01-10 Didier Verna <didier@xemacs.org>
18295 * redisplay.c (generate_fstring_runes): fix size computation bug.
18297 2000-01-09 William M. Perry <wmperry@aventail.com>
18299 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18301 2000-01-09 Andy Piper <andy@xemacs.org>
18303 * glyphs-msw.c: index -> i to avoid shadows.
18304 (xbm_create_bitmap_from_data): make static.
18305 (check_valid_string_or_int): deleted.
18306 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18308 * glyphs-x.c (x_update_subwindow): remove unused args.
18310 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18311 back pointer - this is done in allocate_image_instance.
18312 (query_string_font): return Qnil to make the compiler happy.
18313 (unmap_subwindow): set to ~0 to make the compiler happy.
18314 (glyph_query_geometry): comment out until used.
18315 (glyph_layout): ditto.
18317 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18319 * insdel.c (signal_after_change): Remove extraneous unbind_to().