1 2016-11-17 MORIOKA Tomohiko <tomo.git@chise.org>
3 * chartab.h (USE_CONCORD_OBJECT_SYSTEM): New macro; use it instead
4 of `HAVE_LIBCHISE' to detect to use Concord Object System.
5 (USE_CONCORD_OBJECT_SYSTEM_TO_COMPOSE): New macro.
7 * text-coding.c: Use `USE_CONCORD_OBJECT_SYSTEM_TO_COMPOSE'
8 instead of `HAVE_LIBCHISE' to detect to use Concord Object System
9 for character composing.
11 * mule-charset.c (charset_code_point): Use
12 `USE_CONCORD_OBJECT_SYSTEM' instead of `HAVE_LIBCHISE' to detect
13 to use Concord Object System.
15 2016-11-16 MORIOKA Tomohiko <tomo.git@chise.org>
17 * chartab.c: Use `USE_CONCORD_OBJECT_SYSTEM' instead of
18 `HAVE_LIBCHISE' to detect to use Concord Object System.
20 2016-07-23 MORIOKA Tomohiko <tomo.git@chise.org>
22 * text-coding.c (Fmake_coding_system): Accept property
23 `charset-g3' for CODESYS_UTF8.
24 (char_encode_utf8): Refer `charset-g3'.
26 2015-11-25 MORIOKA Tomohiko <tomo.git@chise.org>
28 * chartab.c (Fchar_feature): When argument ATTRIBUTE is a CCS and
29 whose name is =>FOO, don't try to find =FOO; fix problem when
30 argument ATTRIBUTE is ==>FOO.
32 2013-05-19 MORIOKA Tomohiko <tomo.git@chise.org>
34 * text-coding.c (COMPOSE_ADD_CHAR): Use
35 `concord_object_get_attribute' instead of
36 `concord_object_get_feature_value'.
38 * chartab.c (char_table_get_db_cos): Use
39 `concord_object_get_attribute' instead of
40 `concord_object_get_feature_value'.
42 2013-05-02 MORIOKA Tomohiko <tomo.git@chise.org>
44 * chartab.h (get_char_id_table_ce): Use
45 `load_char_attribute_maybe_cos' instead of
46 `load_char_attribute_maybe'.
48 * chartab.c (load_char_attribute_maybe_cos): Return NULL instead
49 of Qunbound as the default value.
51 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
53 * chartab.h (load_char_attribute_maybe_cos): New prototype when
54 HAVE_LIBCHISE is defined.
55 (get_char_id_table_ce): New inline function when HAVE_LIBCHISE is
58 * mule-charset.c (charset_code_point): Use `get_char_id_table_ce'
59 instead of `get_char_id_table' when HAVE_LIBCHISE is defined.
60 (load_char_decoding_entry_maybe): Don't use
61 `decoding_table_put_char' to avoid GC.
63 * text-coding.c (concord_setup_env_maybe): Abolished.
64 (COMPOSE_ADD_CHAR): Use `open_chise_data_source_maybe' instead of
65 `concord_setup_env_maybe'.
67 2013-05-01 MORIOKA Tomohiko <tomo.git@chise.org>
69 * chartab.c (open_chise_data_source_maybe): New implementation;
70 don't use `build_string' and `Fexpand_file_name' to avoid GC.
71 (char_table_get_db_cos): New function when HAVE_LIBCHISE is
73 (load_char_attribute_maybe_cos): Likewise.
75 2013-04-23 MORIOKA Tomohiko <tomo.git@chise.org>
77 * text-coding.c (struct decoding_stream): Use COS_object instead
78 of Lisp_Object for `combining_table' if HAVE_LIBCHISE is defined.
79 (reset_decoding_stream): Likewise.
80 (COMPOSE_FLUSH_CHARS): Likewise.
81 (concord_setup_env_maybe): New function.
82 (COMPOSE_ADD_CHAR): Use COS API for `str->combining_table' if
83 HAVE_LIBCHISE is defined.
85 2013-02-16 MORIOKA Tomohiko <tomo.git@chise.org>
87 * chartab.c (find_char_feature_in_family): New implementation;
88 don't support multiple parents; support non-list mother.
90 2012-06-11 MORIOKA Tomohiko <tomo.git@chise.org>
92 * text-coding.c (Qenable_decomposition): New variable in XEmacs
94 (Fmake_coding_system): Add new property `enable-decomposition' in
96 (char_encode_utf8): Don't decompose character if
97 CODING_SYSTEM_ENABLE_DECOMPOSITION (str->codesys) is false.
98 (syms_of_file_coding): Add new symbol `enable-decomposition' in
100 (complex_vars_of_file_coding): Define new coding-system-property
101 `enable-decomposition' in XEmacs CHISE.
103 * file-coding.h (struct Lisp_Coding_System): Add
104 `enable_decomposition' in XEmacs CHISE.
105 (CODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
106 (XCODING_SYSTEM_ENABLE_DECOMPOSITION): New macro in XEmacs CHISE.
108 2012-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
110 * text-coding.c (DECODE_ADD_UCS_CHAR): Add `static'.
112 2012-02-11 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
114 * text-coding.c (DECODE_ADD_UCS_CHAR): Don't use `INLINE_HEADER'.
116 * chartab.c (UINT8_DECODE): Don't use `INLINE_HEADER'.
117 (UINT16_DECODE): Ditto.
119 * glyphs-eimage.c (png_instantiate):
120 - Use `png_get_image_height (png_ptr, info_ptr)' instead of
122 - Use `png_get_image_width (png_ptr, info_ptr)' instead of
124 - Use `png_get_color_type(png_ptr, info_ptr)' instead of
125 `info_ptr->color_type'.
126 - Use `png_get_bit_depth(png_ptr, info_ptr)' instead of
127 `info_ptr->bit_depth'.
129 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
131 * mule-charset.c (charset_code_point): If nil is specified as a
132 feature-value, don't find in mother and return -1.
134 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
136 * chartab.c (Fput_char_attribute): Accept nil as a value of
137 CCS-feature [it means that specified object does not have
138 code-point of the CCS-feature].
140 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
143 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
145 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * text-coding.c (char_encode_as_entity_reference): Don't use
148 `DECODE_CHAR' to detect isolated characters.
150 * mule-charset.c (charset_code_point): Change the third argument
151 `defined_only' to `accepted_mode'; `accepted_mode' can be
152 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
154 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
155 (CHAR_ALL): New macro.
156 (CHAR_DEFINED_ONLY): New macro.
158 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
160 * chartab.c (Fchar_feature_base_name_eq): New function when
162 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
163 (syms_of_chartab): Add new builtin function
164 `char-feature-base-name=' when UTF2000 is enabled.
166 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
168 * text-coding.c (Vdecomposition_feature_list): New variable when
170 (char_encode_utf8): Refer variable `decomposition-feature-list'
171 instead of `=decomposition' feature.
172 (vars_of_file_coding): Add new variable
173 `decomposition-feature-list' when UTF2000 is defined.
175 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
177 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
178 `=decomposition' feature.
180 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
182 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
183 coded-charsets with builtin characters.
185 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
187 * text-coding.c (Qrep_decomposition): New extern.
188 (char_encode_utf8): Try to encode as combing sequence (or IVS).
190 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
193 "#endif" for code to refer Vchise_system_db_directory.
195 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
198 (Fconcord_object_adjoin): New function.
199 (Fconcord_object_adjoinX): New function.
200 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
201 `Fconcord_object_adjoinX'.
203 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 - Include "elconcord.h".
207 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
208 and `Fconcord_object_get' to elconcord.h.
209 (Lisp_CONCORD_DS): Moved to elconcord.h.
210 (struct Lisp_CONCORD_DS): Ditto.
211 (XCONCORD_DS): Ditto.
212 (XSET_CONCORD_DS): Ditto.
213 (CONCORD_DS_P): Ditto.
214 (CHECK_CONCORD_DS): Ditto.
215 (CONCHECK_CONCORD_DS): Ditto.
216 (Lisp_CONCORD_Object): Ditto.
217 (struct Lisp_CONCORD_Object): Ditto.
218 (XCONCORD_OBJECT): Ditto.
219 (XSET_CONCORD_OBJECT): Ditto.
220 (CONCORD_OBJECT_P): Ditto.
221 (CHECK_CONCORD_OBJECT): Ditto.
222 (CONCHECK_CONCORD_OBJECT): Ditto.
223 (CONCORD_OBJECT_GENRE): Ditto.
224 (CONCORD_OBJECT_ID): Ditto.
225 (XCONCORD_OBJECT_ID): Ditto.
226 (XCONCORD_OBJECT_GENRE): Ditto.
227 (concord_object_equal): New function.
228 (LRECORD_IMPLEMENTATION of "concord_object"): Use
229 `concord_object_equal'.
231 * elconcord.h: New file.
233 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * concord.c (print_concord_object): Use readable form even if
236 `print-readably' is nil.
238 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * concord.c (print_concord_object): Don't display location of
241 data-source when `print-readably' is nil.
243 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
246 the default location of data-source.
247 (complex_vars_of_concord): Use Vchise_system_db_directory to
248 assign genre `character' and `feature'.
250 * chartab.h (Vchise_system_db_directory): New extern when
251 HAVE_CONCORD is defined.
253 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
256 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
258 (Fconcord_object_genre): New function.
260 - Add new builtin symbols `character' and `feature' when
261 HAVE_LIBCHISE is defined.
262 - Add Add new builtin function `concord-object-genre'.
263 (complex_vars_of_concord): New function; assign genres `character'
264 and `feature' when HAVE_LIBCHISE is defined.
266 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * emacs.c (main_1): Call `complex_vars_of_concord' when
269 HAVE_CONCORD is defined.
271 * symsinit.h (complex_vars_of_concord): New prototype.
273 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
275 * chartab.c (allocate_character): Add `static'.
277 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * chartab.c (allocate_character): New function.
280 (Fdefine_char): Use allocate_character().
282 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
287 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * chartab.c (save_uint8_byte_table): Fixed problem when a property
291 (save_uint16_byte_table): Likewise.
293 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * chartab.c (Fchar_feature_property): New function when LIBCHISE
297 (Fput_char_feature_property): Likewise.
298 (syms_of_chartab): Add new builtin functions
299 `char-feature-property' and `put-char-feature-property' when
302 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
306 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
308 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
311 (make_charset): Add new argument `iso_ir'.
312 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
313 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
315 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
316 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
318 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
319 function `make_charset'.
321 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
322 (struct Lisp_Charset): Add new member `iso_ir'.
323 (CHARSET_ISO_IR): New macro.
325 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
327 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
328 code-point by GL charset.
330 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * concord.c (concord_id_validate): New function.
333 (structure_type_create_concord): Use `concord_id_validate' instead
334 of `concord_name_validate' to accept integer and character as =id.
336 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * concord.c (func_for_each_object): Fix bug about GC-protection.
340 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * concord.c (Fconcord_object_put): Check argument FEATURE is a
345 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * text-coding.c (struct decoding_stream): Add new member
348 `bom_flag' in XEmacs CHISE.
349 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
352 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * mule-charset.c: Move definition of `=jis-x0208@1978' to
355 lisp/mule/mule-conf.el.
357 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
360 (make_charset): Add new argument `partial'.
361 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
362 (Fmake_reverse_direction_charset): Modify for `make_charset'.
363 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
365 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
366 `=jis-x0208' as a partial coded-charset.
368 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
370 * text-coding.c (decode_add_er_char): Fix problem when a character
371 represented by an entity-reference is not defined.
373 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
378 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
383 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
386 is a relation feature.
388 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * chartab.c (syms_of_chartab): Define
391 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
393 * chartab.h (Q_denotational): New extern when UTF2000 or
394 HAVE_CONCORD is defined.
395 (Q_denotational_from): Likewise.
396 (Q_subsumptive): Likewise.
397 (Q_subsumptive_from): Likewise.
399 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * concord.c (concord_object_put): New function.
402 (Fconcord_object_put): Use `concord_object_put'.
404 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * concord.c (Fconcord_define_object): New function.
407 (syms_of_concord): Add new builtin function
408 `concord-define-object'.
410 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
415 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
417 * concord.c: Add EXFUN for Fconcord_object_get.
418 (Vconcord_genre_object_hash_table): New variable.
419 (concord_genre_cache_get_object): New function.
420 (concord_genre_cache_put_object): New function.
421 (Fconcord_make_object): Use object cache; put object-ID into `=id'
423 (Fconcord_object_put): Call `concord_index_sync' after
424 `concord_index_strid_put_obj'.
425 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
427 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * concord.c (Fconcord_decode_object): Do GCPRO for
430 Fconcord_make_object.
431 (func_for_each_object): Likewise; do GCPRO for
432 for_each_object_closure->function.
433 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
434 for_each_object_closure->function, for_each_object_closure->genre,
435 for_each_object_closure->ds and for_each_object_closure->ret.
436 (concord_object_validate): Do GCPRO for Fconcord_make_object.
438 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * concord.c: Add EXFUNs for Fconcord_decode_object and
442 (Fconcord_make_object): Change order of arguments.
443 (Fconcord_decode_object): Modify for Fconcord_make_object.
444 (func_for_each_object): Likewise.
445 (concord_object_validate): Likewise.
446 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
448 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
452 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * concord.c (Fconcord_decode_object): Try to use readable print
455 form as a key of Concord-index.
456 (Fconcord_object_get): Try to use readable print form as an ID of
458 (Fconcord_object_put): Try to use readable print form as an ID of
459 Concord-object and a feature value.
460 (Fconcord_object_spec): Try to use readable print form as an ID of
463 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * concord.c (print_concord_object): Support readable form.
467 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
469 * emacs.c (main_1): Call `structure_type_create_concord' when
470 HAVE_CONCORD is defined.
472 * symsinit.h (structure_type_create_concord): New prototype.
474 * concord.c (Qconcord_object): New variable.
477 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
479 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
480 char*> for genre-name.
481 (Fconcord_feature_list): Likewise.
482 (Fconcord_make_object): Likewise.
483 (Fconcord_decode_object): Likewise; use <char*> instead of
484 <unsigned char*> for feature_name and strid.
485 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
486 c_obj and feature_name.
487 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
489 (struct closure_for_object_spec): Use <char*> instead of <unsigned
490 char*> for member `object_id'.
491 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
492 char*> for feature-name.
493 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
495 (func_for_each_object): Cast to avoid warnings.
496 (Fconcord_foreach_object_in_feature): Use <char*> instead of
497 <unsigned char*> for genre_name and feature_name.
498 (concord_name_validate): New function.
499 (concord_object_validate): Likewise.
500 (concord_object_instantiate): Likewise.
501 (syms_of_concord): Add new builtin symbols `concord-object',
503 (structure_type_create_concord): New function.
505 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * concord.c (Vconcord_ds_hash_table): New variable.
508 (Vconcord_genre_hash_table): New variable.
509 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
510 (Fconcord_ds_directory): New function.
511 (Fconcord_assign_genre): New function.
512 (Fconcord_genre_directory): New function.
513 (Fconcord_genre_ds): New function.
514 (Fconcord_feature_list): Allow to omit `ds'.
515 (Fconcord_make_object): Likewise.
516 (Fconcord_decode_object): Likewise.
517 (Fconcord_foreach_object_in_feature): Likewise.
518 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
519 Fconcord_assign_genre, Fconcord_genre_directory and
521 (vars_of_concord): Setup Vconcord_ds_hash_table and
522 Vconcord_genre_hash_table.
524 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * concord.c (struct closure_for_each_object): Add new member
528 (func_for_each_object): Setup the return value to
529 `for_each_object_closure->ret'.
530 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
531 returns the value instead of Qt.
533 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * concord.c: New file.
537 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
540 `lrecord_type_concord_object'.
542 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * symsinit.h (syms_of_concord): New prototype.
545 (vars_of_concord): New prototype.
547 * emacs.c (main_1): Setup symbols and variable about concord if
548 HAVE_CONCORD is defined.
550 * config.h.in (HAVE_CONCORD): New macro.
552 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * chartab.c (Fput_char_attribute): For each character relation
555 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
557 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * chartab.c (Fput_char_attribute): Use
560 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
561 calling `put_char_composition'.
563 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * chartab.c (Q_halfwidth_of): New variable.
566 (put_char_composition): Return `<-halfwidth' instead of
567 `=decomposition' for compatibility mapping to single character
569 (Fput_char_attribute): Convert char-specs in value of
570 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
571 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
573 (syms_of_chartab): Add new symbol `<-halfwidth'.
575 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * chartab.c (put_char_composition): Return
578 `<-formed@{isolated|initial|medial|final}' for compatibility
579 mapping to single character tagged
580 `{isolated|initial|medial|final}'.
582 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * chartab.c (Q_compat_of): Deleted.
585 (put_char_composition): Return `<-FOO' for compatibility mapping
586 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
587 of `symbol_name (XSYMBOL(...))'.
588 (Fput_char_attribute): Convert char-specs in value of
589 `{<-|->}font[^*]*' to characters and put reverse links.
590 (Fsave_char_attribute_table): Don't refer Q_compat_of.
591 (syms_of_chartab): Delete builtin symbol `<-compat'.
593 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
595 * chartab.c (Q_circled_of): New variable.
596 (put_char_composition): Return `<-circled' instead of
597 `=decomposition' for compatibility mapping to single character
599 (Fput_char_attribute): Convert char-specs in value of
600 `{<-|->}circled[^*]*' to characters and put reverse links.
601 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
603 (syms_of_chartab): Add new symbol `<-circled'.
605 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * chartab.c (Qto_decomposition_at_circled): New variable.
608 (put_char_composition): Return `=>decomposition@circled' instead
609 of `=decomposition' for compatibility decomposition mapping tagged
611 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
613 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * chartab.c (Q_subscript_of): New variable.
616 (put_char_composition): Return `<-subscript' instead of
617 `=decomposition' for compatibility mapping to single character
619 (Fput_char_attribute): Convert char-specs in value of
620 `{<-|->}subscript[^*]*' to characters and put reverse links.
621 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
623 (syms_of_chartab): Add new symbol `<-subscript'.
625 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * chartab.c (Q_superscript_of): New variable.
628 (put_char_composition): Return `<-superscript' instead of
629 `=decomposition' for compatibility mapping to single character
631 (Fput_char_attribute): Convert char-specs in value of
632 `{<-|->}superscript[^*]*' to characters and put reverse links.
633 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
635 (syms_of_chartab): Add new symbol `<-superscript'.
637 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * chartab.c (Qto_decomposition_at_compat): Deleted.
640 (Qto_decomposition_at_superscript): New variable.
641 (put_char_composition): Use `=>decomposition@superscript' instead
642 of `=decomposition' for compatibility decomposition mapping tagged
644 (Fput_char_attribute): Fix condition about `put_char_composition'.
645 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
646 add news symbol `=>decomposition@superscript'.
648 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
650 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
651 for compatibility decomposition mapping tagged FOO.
652 (Fput_char_attribute): Modify for `put_char_composition'.
654 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * chartab.c (Qto_decomposition_at_compat): New variable.
657 (Q_compat_of): Renamed from `Q_compatibility_of'.
658 (put_char_composition): Rename `Q_compatibility_of' to
659 `Q_compat_of'; return `=>decomposition@compat' for compatibility
660 decomposition mapping.
661 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
663 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
664 `<-compatibility' to `<-compat'.
666 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * chartab.c (Q_compatibility_of): New variable.
669 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
670 object is proved to be a cons cell; return `<-compatibility' if
671 the first element of argument `value' is `compat'.
672 (Fput_char_attribute): Eliminate the first value if
673 `put_char_composition' returns `<-compatibility'.
674 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
675 for `<-compatibility'.
676 (syms_of_chartab): Add new symbol `<-compatibility'.
678 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * chartab.c (Q_canonical): New variable.
681 (put_char_composition): Return a feature name: return
682 `->canonical' if argument `value' specifies single character.
683 (Fput_char_attribute): Use `put_char_composition' to determine
684 feature name for `=decomposition' or `->denotational'.
685 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
687 (syms_of_chartab): Add new symbol `->canonical'.
689 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * chartab.c (Qmap_decomposition): New variable.
692 (Fput_char_attribute): Convert `->decomposition' to
694 (syms_of_chartab): Add new symbol `=decomposition'.
696 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * chartab.c (Fget_range_char_table): Fix serious problem when
701 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * chartab.c (char_table_get_db): Use `read_from_c_string'.
705 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * lread.c (read_from_c_string): New function.
709 * lisp.h (read_from_c_string): New prototype.
711 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * chartab.c (Fput_char_attribute): Convert char-specs in value of
714 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
715 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
716 for `{<-|->}Oracle-Bones[^*]*'.
718 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
723 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * text-coding.c (Qccs_priority_list): New variable in XEmacs
727 (Fmake_coding_system): Support new property `ccs-priority-list' in
729 (Fcoding_system_property): Likewise.
730 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
731 Vdefault_coded_charset_priority_list in XEmacs CHISE.
732 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
734 (complex_vars_of_file_coding): Define new coding-system-property
735 `ccs-priority-list' in XEmacs CHISE.
737 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
739 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
742 changed to normal function.
743 (encode_char_2): Likewise.
745 * mule-charset.c (decoding_table_put_char): Copied from
746 char-ucs.h; changed to normal function.
747 (encode_char_2): Likewise.
749 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
753 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
754 (encode_char_2_search_children): New inline function.
755 (encode_char_2): Refer
756 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
757 and use `encode_char_2_search_children'.
759 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
763 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
764 (vars_of_mule_charset): Add new variable
765 `display-coded-charset-priority-use-inheritance' and
766 `display-coded-charset-priority-use-hierarchy-order'.
768 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * char-ucs.h (Q_subsumptive): New extern.
771 (Q_denotational): Likewise.
772 (encode_char_2): Search children specified by `->subsumptive' and
775 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * mule-charset.c (complex_vars_of_mule_charset): Modify the
778 X-registry of `ucs-bmp'.
780 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
782 * chartab.c (char-variants): Refer `->subsumptive',
783 `->denotational' and `->identical' as same as `->ucs-unified'.
785 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.c (Fput_char_attribute): Convert char-specs in value of
788 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
791 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * text-coding.c: Add EXFUN for `Fregexp_quote'.
794 (decode_add_er_char): Fix problem about infinite loop when a CCS
795 specified in `coded-charset-entity-reference-alist' is not
798 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * mule-charset.c (syms_of_mule_charset): Rename
801 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
803 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * fns.c (simplify_char_spec): Don't allocate new character-object
806 if specified char_spec does not have any CCS-features.
808 * chartab.h: Add EXFUN for Fdefine_char.
810 * chartab.c: Delete EXFUN for Fdefine_char.
812 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * fns.c (simplify_char_spec): Use Fdefine_char instead of
815 Ffind_char for char-spec.
817 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * lisp-disunion.h (XCHARVAL): Fix condition about
822 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
826 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
827 point; use <Emchar> instead of <int> for character-id.
829 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
831 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
832 (make_char): Likewise.
833 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
835 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
836 instead of <int> as the type of return value; use <Lisp_Object>
837 instead of <Emchar> as the type of argument.
838 (XCHARVAL[macro version]): Cast the result into <Emchar>.
840 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
841 syntaxcode> instead of <int>.
843 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * chartab.c (put_char_composition): Use DECODE_CHAR to get
846 character corresponding with UCS code point.
847 (Fput_char_attribute): Likewise.
849 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
850 character in the UCS decoding-table if the char-id is not equal to
853 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
856 for aliases; write `description'; write
857 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
860 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * chartab.c (Fsave_char_attribute_table): Don't use
863 `save_charset_properties'.
865 * mule-charset.c (Fsave_charset_properties): Renamed from
866 `save_charset_properties' and changed to Lisp function again;
867 write property `type' as `CCS'; write properties `final-byte' and
868 `mother' if they exists.
869 (syms_of_mule_charset): Revive builtin function
870 `save-charset-properties' when HAVE_LIBCHISE is defined.
872 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
875 instead of Vexec_directory.
876 (char_attribute_system_db_file): Likewise.
878 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c (Fsave_char_attribute_table): Use
881 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
884 * mule-charset.c (save_charset_properties): Renamed from
885 `Fsave_charset_properties'; changed to non-Lisp function.
886 (syms_of_mule_charset): Abolish builtin function
887 `save-charset-properties'.
889 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
891 * mule-charset.c (Fsave_charset_properties): New function when
892 HAVE_LIBCHISE is defined.
893 (syms_of_mule_charset): Add new builtin function
894 `save-charset-properties' when HAVE_LIBCHISE is defined.
896 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * chartab.c (Fput_char_attribute): Convert char-specs in value of
899 `{<-|->}ancient[^*]*' to characters and put reverse links.
900 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
901 for `{<-|->}ancient[^*]*'.
903 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * chartab.c (Fput_char_attribute): Convert char-specs in value of
906 `{<-|->}original[^*]*' to characters and put reverse links.
907 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
908 for `{<-|->}original[^*]*'.
910 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
914 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
916 * mule-charset.c (Qsystem_char_id): New variable.
918 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
919 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
921 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
923 * chartab.c (Fput_char_attribute): When processing a reference of
924 a character, put into the end of the reversed reference of each
927 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * chartab.c (Q_same): Deleted.
930 (Q_same_of): Deleted.
931 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
932 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
934 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
936 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
938 * chartab.c (Q_vulgar): Deleted.
939 (Q_vulgar_of): Deleted.
940 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
941 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
943 (syms_of_chartab): Don't define `{<-|->}vulgar'.
945 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
947 * chartab.c (Fput_char_attribute): Convert char-specs in value of
948 `{<-|->}wrong[^*]*' to characters and put reverse links.
949 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
950 for `{<-|->}wrong[^*]*'.
952 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
954 * chartab.c (Q_vulgar): New variable.
955 (Q_vulgar_of): New variable.
956 (Fput_char_attribute): Convert char-specs in value of
957 `{->|<-}vulgar' to characters and put reverse links.
958 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
960 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
962 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
964 * text-coding.c (decode_add_er_char): Must to quote prefix string
967 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
969 * mule-charset.c (put_char_ccs_code_point): Store characters of
970 =ucs whose code_points >= 0xF0000.
972 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
976 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
978 (complex_vars_of_mule_charset): Add new coded-charset
979 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
980 builtin characters over 0xEFFFF.
982 * chartab.c (syms_of_chartab): Don't define symbol
983 `system-char-id' in every case.
985 * char-ucs.h (Qsystem_char_id): New extern variable.
986 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
988 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
990 * text-coding.c (char_encode_utf8): Try to use entity-references
991 for U-000F0000 ... U-0010FFFF.
993 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * text-coding.c (ER_BUF_SIZE): New macro.
996 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
998 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
999 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
1001 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1003 * chartab.c (find_char_feature_in_family): New function.
1004 (Fchar_feature): Use `find_char_feature_in_family' with
1005 `->identical', `<-subsumptive' and `<-denotational'.
1007 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1009 * text-coding.c (char_encode_as_entity_reference): Allow prefix
1010 within 8 characters; fix infinite loop.
1012 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1014 * chartab.c (Q_same): New variable.
1015 (Q_same_of): New variable.
1016 (Fput_char_attribute): Convert char-specs in value of
1017 `{->|<-}same' to characters and put reverse links.
1018 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1020 (syms_of_chartab): Add new symbols `{->|<-}same'.
1022 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1024 * chartab.c (Q_component): New variable.
1025 (Q_component_of): Likewise.
1026 (Fput_char_attribute): Convert char-specs in value of
1027 `{->|<-}ideographic-component-forms' to characters and put reverse
1029 (syms_of_chartab): Add new symbols
1030 `{->|<-}ideographic-component-forms'.
1032 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1034 * chartab.c (Q_identical): New variable.
1035 (Q_identical_from): New variable.
1036 (Fchar_feature): Regard `->identical' as a feature to find
1038 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
1039 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1040 for `{->|<-}identical'.
1041 (syms_of_chartab): Add new symbols `{->|<-}identical'.
1043 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1045 * char-ucs.h (encode_char_2): New inline function.
1046 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
1048 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1050 * chartab.c (Fput_char_attribute): Convert char-specs to
1051 characters in value of `ideographic-structure'.
1052 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
1053 for `{<-|->}simplified(@...)'.
1054 (Fdefine_char): Try to use predefined character's id.
1056 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1058 * fns.c (simplify_char_spec): Try to convert builtin chars to
1061 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1063 * chartab.c (Fput_char_attribute): Convert char-specs in value of
1064 `<-simplified[^*]*' to characters and put reverse links.
1066 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * chartab.c (Q_subsumptive): Renamed from Q_unified.
1069 (Q_subsumptive_from): Renamed from Q_unified_from.
1070 (Fchar_feature): Use `Q_subsumptive_from' instead of
1072 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
1074 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
1075 `<-unified' to `<-subsumptive'.
1077 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1079 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
1080 inheritance itself; fix typo; stop recursive search if cyclic
1081 inheritance is found.
1083 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * chartab.c (Q_denotational): New variable.
1086 (Q_denotational_from): New variable.
1087 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
1088 (put_char_attribute): New function.
1089 (Fput_char_attribute): Use `put_char_attribute'; regard
1090 `->denotational' and `<-denotational' as same as `->unified' and
1092 (syms_of_chartab): Add new symbols `->denotational' and
1095 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
1098 `Fget_char_attribute'.
1099 (Fchar_variants): Likewise.
1100 (get_char_table): Likewise.
1101 (Fchar_feature): New function.
1102 (put_char_composition): Use `Fchar_feature' instead of
1103 `Fget_char_attribute'.
1104 (Fput_char_attribute): Likewise; don't put the target character
1105 into its `->unified' value.
1106 (syms_of_chartab): Add new builtin function `char-feature'.
1108 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1110 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
1111 `Fget_char_attribute'.
1112 (char_encode_utf8): Likewise.
1114 * chartab.h: Add an EXFUN for `Fchar_feature'.
1116 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1118 * chartab.c (Vnext_defined_char_id): New variable.
1119 (Fput_char_attribute): Accept characters in `->unified'.
1120 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
1121 new characters which are not related with builtin char-id ranges.
1122 (vars_of_chartab): Add new variable `next-defined-char-id'.
1124 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * chartab.c (Q_unified): New variable.
1127 (Q_unified_from): New variable.
1128 (Fput_char_attribute): Add code for `->unified'.
1129 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1132 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * mule-charset.c (decode_ccs_conversion): New function.
1135 (decode_defined_char): Use `decode_ccs_conversion'.
1136 (decode_builtin_char): Likewise.
1138 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * char-ucs.h: Change some charset-ids of private coded-charsets.
1142 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1145 (char_encode_as_entity_reference): Likewise.
1146 (decode_coding_big5): Modify for `decode_defined_char' and
1148 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1149 avoid compiler warning.
1150 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1152 * mule-charset.c (decode_defined_char): Add new argument
1153 `without_inheritance'.
1154 (Fdecode_char): Add new optional argument `without_inheritance'.
1155 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1157 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1158 (simplify_char_spec): Likewise.
1160 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1163 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1164 (map_char_table): Likewise.
1165 (Fdefine_char): Use `Fdecode_char' without inheritance.
1166 (Ffind_char): Modify for `Fdecode_char'.
1168 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1170 * char-ucs.h (decode_defined_char): Add new argument
1171 `without_inheritance'.
1172 (DECODE_CHAR): Likewise.
1173 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1175 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * chartab.c (Vchise_system_db_directory): New variable.
1178 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1180 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1183 (print_chartab_range): Don't define when `UTF2000' is defined.
1184 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1187 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1190 and optional argument `rehash' is specified, call
1191 `open_chise_data_source_maybe' before
1192 `chise_ds_foreach_char_feature_name' is called.
1194 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1196 * chartab.c (char_attribute_list_reset_map_func): New function
1197 when HAVE_LIBCHISE is defined.
1198 (Fchar_attribute_list): Add new optional argument `rehash' when
1199 HAVE_LIBCHISE is defined.
1200 (open_chise_data_source_maybe): Use "chise-db" instead of
1202 (char_attribute_system_db_file): Likewise.
1203 (Fload_char_attribute_table): Use
1204 `chise_feature_foreach_char_with_value' instead of
1205 `chise_char_feature_value_iterate'.
1207 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1209 * chartab.c (Vchise_db_directory): New variable.
1210 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1212 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1214 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1215 instead of HAVE_CHISE to specify using with libchise.
1217 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1219 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1221 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1222 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1223 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1225 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1226 HAVE_CHISE to specify using with libchise.
1227 (syms_of_chartab): Don't define symbol `system-char-id' when
1228 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1230 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1232 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1233 specify CHISE DB support.
1234 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1235 of `char_attribute_system_db_file' to check feature DB file.
1237 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1238 HAVE_CHISE_CLIENT to specify CHISE DB support.
1240 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1241 specify CHISE DB support.
1242 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1244 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1245 instead of `char_attribute_system_db_file' to check feature DB
1248 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1251 `HAVE_CHISE_CLIENT'.
1253 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1256 (Fsave_charset_mapping_table): Don't use
1257 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1259 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1260 (HAVE_LIBCHISE): New macro.
1262 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1264 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1265 (Fsave_char_attribute_table): Don't use
1266 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1268 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1272 (save_uint16_byte_table): Likewise.
1273 (save_byte_table): Likewise.
1274 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1275 instead of `chise_char_load_feature_value'.
1276 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1278 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * chartab.h (struct Lisp_Char_Table): Delete member
1281 `feature_table' if CHISE is defined.
1283 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1284 (Fcopy_char_table): Likewise.
1285 (char_table_open_db_maybe): Likewise.
1286 (char_table_close_db_maybe): Likewise.
1287 (char_table_get_db): Likewise.
1288 (Fmount_char_attribute_table): Likewise.
1289 (Fload_char_attribute_table): Likewise.
1291 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * mule-charset.c (load_char_decoding_entry_maybe): Use
1294 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1297 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1299 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1300 instead of `chise_open_data_source'.
1301 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1304 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1306 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1307 instead of `chise_ds_open_feature_table'.
1308 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1310 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1312 * mule-charset.c (Fsave_charset_mapping_table): Use
1313 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1314 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1315 `chise_ccs_sync' instead of `chise_ccst_close'.
1316 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1318 * chartab.c (open_chise_data_source_maybe): Modify for
1319 `chise_open_data_source'.
1320 (char_table_open_db_maybe): Modify for
1321 `chise_ds_open_feature_table'.
1323 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1325 * mule-charset.c (load_char_decoding_entry_maybe): Use
1326 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1329 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1331 * mule-charset.c (Fsave_charset_mapping_table): Use
1332 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1333 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1334 `chise_dt_put_char' and `chise_dt_close'.
1335 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1336 `chise_ccs_decode' and `chise_ccst_close' instead of
1337 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1340 * chartab.c (char_table_get_db): Use
1341 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1342 (load_char_attribute_table_map_func): Modify for
1343 `chise_char_feature_value_iterate'.
1344 (Fload_char_attribute_table): Use
1345 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1347 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1351 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1353 * chartab.c (put_char_table): Modify for inherited coded-charsets
1356 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1358 * chartab.c (Fput_char_table_map_function): Fixed.
1359 (word_boundary_p): Don't check charset in XEmacs CHISE.
1361 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1363 * mule-charset.c (Fsave_charset_mapping_table): Use
1364 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1365 instead of `chise_open_decoding_table'; refer
1366 `default_chise_data_source'; use `chise_dt_close' instead of
1367 `chise_close_decoding_table'.
1368 (load_char_decoding_entry_maybe): Likewise.
1370 * chartab.c (default_chise_data_source): New variable when `CHISE'
1372 (Fcopy_char_table): `ct->ds' is deleted.
1373 (open_chise_data_source_maybe): New function.
1374 (Fclose_char_data_source): New function.
1375 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1376 use `chise_ds_open_feature_table' instead of
1377 `chise_open_feature_table'.
1378 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1379 `chise_close_feature_table'; `cit->ds' is deleted.
1380 (syms_of_chartab): Add new builtin function
1381 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1383 * chartab.h (default_chise_data_source): New extern variable.
1384 (open_chise_data_source_maybe): New prototype.
1385 (struct Lisp_Char_Table): Delete `ds'.
1387 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1389 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1392 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1394 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1395 not defined; add code for non-libchise setting.
1396 (char_table_close_db_maybe): Likewise.
1397 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1399 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1400 even if `CHISE' is not defined.
1401 (Freset_char_attribute_table): Likewise.
1402 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1403 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1404 `char_table_get_db'.
1405 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1406 `char_table_close_db_maybe' even if `CHISE' is not defined.
1408 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1410 * chartab.c (char_table_open_db_maybe): New function.
1411 (char_table_close_db_maybe): New function.
1412 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1413 (Freset_char_attribute_table): Likewise.
1414 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1415 `char_table_close_db_maybe'.
1416 (Fload_char_attribute_table): Likewise.
1418 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1420 * chartab.c: Don't include <chise.h> because it is included in
1422 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1424 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1426 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1428 (Fclose_char_attribute_table): Close `ct->feature_table' and
1429 `ct->ds' when `CHISE' is defined.
1430 (Freset_char_attribute_table): Likewise.
1431 (load_char_attribute_maybe): Use `cit->ds' and
1432 `cit->feature_table' when `CHISE' is defined.
1433 (Fload_char_attribute_table): Likewise.
1435 * chartab.h: Include <chise.h> when `CHISE' is defined.
1436 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1437 when `CHISE' is defined.
1439 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1441 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1443 (char_table_description): Likewise.
1444 (Fmake_char_table): Likewise.
1445 (Fcopy_char_table): Likewise.
1446 (Fmount_char_attribute_table): Likewise.
1447 (Fclose_char_attribute_table): Likewise.
1448 (Freset_char_attribute_table): Likewise.
1449 (load_char_attribute_maybe): Likewise.
1450 (Fload_char_attribute_table): Likewise.
1452 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1455 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1457 * chartab.c (load_char_attribute_table_map_func): New function
1458 when CHISE is defined.
1459 (Qload_char_attribute_table_map_function): Don't define when CHISE
1461 (Fload_char_attribute_table_map_function): Likewise.
1462 (Fload_char_attribute_table): Use libchise when `CHISE' is
1464 (syms_of_chartab): Don't define
1465 `load-char-attribute-table-map-function' when CHISE is defined.
1467 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1469 * chartab.c: Include <chise.h> when `CHISE' is defined.
1470 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1472 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1474 * mule-charset.c (charset_code_point): Fix problem when searching
1475 in mother CCS fails with `defined_only' mode.
1477 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1480 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1481 (put_char_composition): Likewise.
1482 (Fput_char_attribute): Likewise.
1483 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1485 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1487 * chartab.c (Q_ucs): Deleted.
1488 (Fput_char_attribute): Don't refer `->ucs'.
1489 (Fdefine_char): Likewise.
1490 (Ffind_char): Likewise.
1491 (syms_of_chartab): Delete `->ucs'.
1493 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1495 * mule-charset.c (Qmap_cns11643_2): Renamed from
1496 `Qchinese_cns11643_2'.
1497 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1498 `chinese-cns11643-2'.
1499 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1502 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1504 * mule-charset.c (Qmap_cns11643_1): Renamed from
1505 `Qchinese_cns11643_1'.
1506 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1507 `chinese-cns11643-1'.
1508 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1511 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1513 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1514 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1516 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1519 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1521 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1522 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1524 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1527 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1529 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1530 (syms_of_mule_charset): Add new symbol `=big5' instead of
1532 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1534 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1536 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1537 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1539 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1542 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1544 * mule-charset.c (Qmap_jis_x0212): Renamed from
1545 `Qjapanese_jisx0212'.
1546 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1547 `japanese-jisx0212'.
1548 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1551 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1553 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1554 `Qjapanese_jisx0208'.
1555 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1556 of `japanese-jisx0208'.
1557 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1560 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1562 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1563 `Qjapanese_jisx0208_1978'.
1564 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1565 of `japanese-jisx0208-1978'.
1566 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1569 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1572 only for XEmacs CHISE.
1574 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1576 * char-ucs.h: Compact non-ISO-IR charset-ids.
1577 (LEADING_BYTE_UCS): Changed to -177.
1578 (LEADING_BYTE_CONTROL_1): Changed to -77.
1579 (LEADING_BYTE_UCS_BMP): Changed to -176.
1580 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1582 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1584 * mule-charset.c (Qiso_ir): New variable.
1585 (Fmake_charset): Recognise new property `iso-ir'.
1586 (syms_of_mule_charset): Add new symbol `iso-ir'.
1588 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1590 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1591 n to -n; charset-id of non ISO-IR sets are changed to positive
1594 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1597 for &MCS-XXXXXXXX; values.
1599 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * mule.c (Vxemacs_chise_version): Renamed from
1602 `Vutf_2000_version'.
1603 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1604 `utf-2000-version' as an alias for `xemacs-chise-version'.
1606 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1608 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1609 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1612 * config.h.in (CHISE): New macro.
1614 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1616 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1618 (Qmap_ucs): New variable.
1619 (syms_of_mule_charset): Add new symbol `=ucs'.
1620 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1622 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1623 (simplify_char_spec): Likewise.
1625 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1627 * char-ucs.h (Qmap_ucs): New extern variable.
1629 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1631 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1632 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1633 don't define it when UTF2000 is not defined.
1634 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1635 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1636 when UTF2000 is not defined.
1637 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1638 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1640 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1642 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1644 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1646 (syms_of_mule_charset): Delete `ucs-gb'.
1647 (complex_vars_of_mule_charset): Likewise.
1649 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1651 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1653 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1654 (Qucs_cns): Deleted.
1655 (syms_of_mule_charset): Delete `ucs-cns'.
1656 (complex_vars_of_mule_charset): Likewise.
1658 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1660 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1662 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1663 (Qucs_jis): Deleted.
1664 (syms_of_mule_charset): Delete `ucs-jis'.
1665 (complex_vars_of_mule_charset): Likewise.
1667 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1669 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1671 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1673 (syms_of_mule_charset): Delete `ucs-ks'.
1674 (complex_vars_of_mule_charset): Likewise.
1676 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1678 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1679 (Qideograph_daikanwa_2): Deleted.
1680 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1681 (complex_vars_of_mule_charset): Likewise.
1683 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1684 (LEADING_BYTE_DAIKANWA_1): Deleted.
1685 (LEADING_BYTE_DAIKANWA_2): Deleted.
1686 (MIN_CHAR_DAIKANWA): Deleted.
1687 (MAX_CHAR_DAIKANWA): Deleted.
1689 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1691 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1692 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1693 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1695 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1696 (Vcharset_ideograph_daikanwa): Deleted.
1697 (Qideograph_hanziku_{1..12}): Deleted.
1698 (Qideograph_daikanwa): Deleted.
1699 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1700 Vcharset_ideograph_daikanwa.
1701 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1702 `ideograph-hanziku-{1..12}'.
1703 (complex_vars_of_mule_charset): Likewise.
1705 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1707 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1709 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1710 (Qideograph_gt_pj_{1..11}): Deleted.
1711 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1712 (complex_vars_of_mule_charset): Likewise.
1714 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1716 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1717 (Vcharset_ideograph_gt): Deleted.
1718 (Qucs_big5): Deleted.
1719 (Qideograph_gt): Deleted.
1720 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1722 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1725 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1726 (LEADING_BYTE_GT): Deleted.
1727 (MIN_CHAR_GT): Deleted.
1728 (MAX_CHAR_GT): Deleted.
1730 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1732 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1734 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1736 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1737 (save_uint16_byte_table): Likewise.
1738 (save_byte_table): Likewise; convert values by it.
1739 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1740 for `ideographic-structure'.
1741 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1742 as the filter for `ideographic-structure'.
1744 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1746 * chartab.c (put_char_composition): New function.
1747 (Fput_char_attribute): Use `put_char_composition'; use
1748 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1750 * fns.c (simplify_char_spec): New function.
1751 (char_ref_simplify_spec): New function.
1752 (Fchar_refs_simplify_char_specs): New function.
1753 (syms_of_fns): Add new builtin function
1754 `char-refs-simplify-char-specs'.
1756 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1758 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1759 (Qideograph_cbeta): Deleted.
1760 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1761 (complex_vars_of_mule_charset): Likewise.
1763 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1764 (MIN_CHAR_CBETA): Comment out.
1765 (MAX_CHAR_CBETA): Likewise.
1767 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1769 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1770 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1771 CHISE client feature.
1773 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1775 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1777 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1779 * mule-charset.c (charset_lookup_description_1): Use
1780 `NUM_LEADING_BYTES' in UTF-2000.
1782 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1784 * char-ucs.h (GC_CHARSETP): Deleted.
1786 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * char-ucs.h (MAX_CHAR_GT): Updated.
1790 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1792 * text-coding.c: Sync with XEmacs 21.4.10.
1794 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1796 * mule-charset.c (Vcharset_china3_jef): Deleted.
1797 (Qchina3_jef): Deleted.
1798 (syms_of_mule_charset): Don't define `china3-jef'.
1799 (complex_vars_of_mule_charset): Likewise.
1801 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1802 (MIN_CHAR_CHINA3_JEF): Comment out.
1803 (MAX_CHAR_CHINA3_JEF): Comment out.
1805 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1807 * mule-charset.c (Vcharset_ucs_gb): New variable.
1808 (Qucs_gb): New variable.
1809 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1810 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1812 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1814 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1816 * mule-charset.c (charset_code_point): if a coded-charset has a
1817 final-byte, don't inherit the builtin range of the mother CCS.
1819 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * mule-charset.c (charset_code_point): Fix problem about
1824 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1826 * mule-charset.c (decode_builtin_char): Reorganized.
1828 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * text-coding.c (char_encode_as_entity_reference): Modify for
1831 `charset_code_point'.
1832 (char_encode_shift_jis): Likewise.
1833 (char_encode_big5): Likewise.
1834 (char_encode_utf8): Likewise.
1835 (char_encode_iso2022): Likewise.
1837 * mule-charset.c (charset_code_point): Add new argument
1839 (Fencode_char): Add new optional argument `defined_only'.
1841 * chartab.c (put_char_table): Modify for `charset_code_point'.
1843 * char-ucs.h (charset_code_point): Add new argument
1845 (encode_char_1): Modify for `charset_code_point'.
1847 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1849 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1850 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1852 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1854 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1855 (Qjis_x0208): Likewise.
1856 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1857 XCHARSET_FINAL(charset).
1858 (charset_code_point): Modify condition for final-byte based
1860 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1861 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1862 in UTF-2000; specify `=jis-x0208' as the mother of
1863 `japanese-jisx0208-1978', `japanese-jisx0208' and
1864 `japanese-jisx0208-1990' in UTF-2000.
1866 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1868 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1870 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * text-coding.c (decode_coding_utf16): Support UTF-16.
1873 (char_encode_utf16): Fixed.
1875 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * text-coding.c (Qutf16): New variable in MULE.
1878 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1879 (Fcoding_system_type): Add `utf-16' in MULE.
1880 (struct detection_state): Add a structure for utf16 in MULE.
1881 (detect_coding_type): Setup st->utf16.mask in MULE.
1882 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1884 (reset_encoding_stream): Use `char_encode_utf16' and
1885 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1886 (detect_coding_utf16): New function [incomplete].
1887 (decode_coding_utf16): New function [support only UCS-2].
1888 (char_encode_utf16): New function.
1889 (char_finish_utf16): New function.
1890 (syms_of_file_coding): Add new symbol `utf-16'; setup
1891 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1893 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1895 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1896 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1898 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1900 * chartab.c (put_char_table): When a charset is specified as a
1901 range in UTF-2000, don't support builtin characters.
1903 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1905 * mule-charset.c (decode_defined_char): Don't refer external
1906 database if Qunbound or Qnil are found.
1907 (Fsave_charset_mapping_table): Don't define it if
1908 HAVE_CHISE_CLIENT is not defined.
1909 (Freset_charset_mapping_table): New function.
1910 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1911 found in external database.
1912 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1913 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1914 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1916 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1918 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1921 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1923 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1924 Q_lowercase, Q_uppercase in UTF-2000.
1926 * chartab.c (get_char_table): Add special code for the standard
1927 case table to use character attribute `->downcase' and
1928 `->uppercase' for case operations in UTF-2000.
1930 * casetab.c (Qflippedcase): New variable in UTF-2000.
1931 (Q_lowercase): Likewise.
1932 (Q_uppercase): Likewise.
1933 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1934 and `->uppercase' in UTF-2000.
1935 (complex_vars_of_casetab): Assign attribute name `downcase' to
1936 downcase and CANON table of Vstandard_case_table in UTF-2000;
1937 assign attribute name `flippedcase' to upcase and EQV table of
1938 Vstandard_case_table in UTF-2000.
1940 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1942 * text-coding.c (decode_add_er_char): Support isolated-chars.
1943 (char_encode_as_entity_reference): Likewise.
1945 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1947 * emacs.c (Vutf_2000_lisp_directory): New variable.
1948 (Vconfigure_utf_2000_lisp_directory): Likewise.
1949 (complex_vars_of_emacs): Add new variable
1950 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1952 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1954 * char-ucs.h (DECODE_CHAR): Delete special code for
1955 `chinese-big5-1' and `chinese-big5-2'.
1957 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1958 (Qbig5_2): Likewise.
1959 (decode_defined_char): Support CONVERSION_BIG5_1 and
1961 (decode_builtin_char): Likewise.
1962 (charset_code_point): Likewise.
1963 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1964 'conversion in UTF-2000.
1965 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1966 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1967 `chinese-big5-2' as children of `chinese-big5'.
1969 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1970 (CONVERSION_BIG5_2): New macro.
1972 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1974 * text-coding.c (char_encode_big5): Support entity-reference.
1976 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1978 * text-coding.c (char_encode_as_entity_reference): New function.
1979 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1981 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1983 * text-coding.c (decode_coding_big5): Support entity-reference
1986 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * text-coding.c (allocate_coding_system): Initialize initial
1989 charsets for CODESYS_UTF8.
1990 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1991 charset-g2 for CODESYS_UTF8.
1992 (decode_coding_utf8): Use charset-g0.
1993 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1994 to force variants to map to UCS.
1996 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * text-coding.c (Qutf_8_mcs): New variable.
1999 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
2000 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
2001 instead of `utf-8' in UTF-2000.
2003 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2005 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
2006 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
2007 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
2008 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
2009 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
2010 CONVERSION_96x96x96x96 are introduced.
2011 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
2012 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
2013 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
2015 * char-ucs.h (CONVERSION_94): New macro.
2016 (CONVERSION_96): New macro.
2017 (CONVERSION_94x94): New macro.
2018 (CONVERSION_96x96): New macro.
2019 (CONVERSION_94x94x94): New macro.
2020 (CONVERSION_96x96x96): New macro.
2021 (CONVERSION_94x94x94x60): New macro.
2022 (CONVERSION_94x94x94x94): New macro.
2023 (CONVERSION_96x96x96x96): New macro.
2025 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2027 * chartab.c (Vcharacter_variant_table): Deleted.
2028 (Fchar_variants): Use character-attribute `->ucs-variants' instead
2029 of `Vcharacter_variant_table'.
2030 (Fput_char_attribute): Likewise.
2031 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
2032 (complex_vars_of_chartab): Likewise.
2034 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2036 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
2038 * fns.c (Qideographic_structure): New variable.
2039 (Qkeyword_char): New variable.
2040 (ids_format_unit): New function.
2041 (Fideographic_structure_to_ids): New function.
2042 (syms_of_fns): Add new symbols `ideographic-structure' and
2043 `:char'; add new builtin function `ideographic-structure-to-ids'.
2045 * data.c (Fchar_ref_p): New function.
2046 (syms_of_data): Add new builtin function `char-ref-p'.
2048 * chartab.h: Add an EXFUN for `Ffind_char'.
2050 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2052 * text-coding.c (Vcharacter_composition_table): Deleted.
2053 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
2056 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
2058 (Vcharacter_composition_table): Deleted.
2059 (Fget_composite_char): Use the implementation for external-DB
2060 support in every UTF-2000.
2061 (Fput_char_attribute): Likewise.
2062 (char_attribute_system_db_file): Don't define if external-DB
2063 feature is not available.
2064 (Fsave_char_attribute_table): Likewise.
2065 (Fmount_char_attribute_table): Likewise.
2066 (Fclose_char_attribute_table): Likewise.
2067 (Freset_char_attribute_table): Likewise.
2068 (Fload_char_attribute_table): Likewise.
2069 (syms_of_chartab): Don't define `save-char-attribute-table',
2070 `mount-char-attribute-table', `reset-char-attribute-table',
2071 `close-char-attribute-table' and `load-char-attribute-table' if
2072 external-DB feature is not available.
2073 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
2075 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2077 * text-coding.c (Qcomposition): Add extern if external-DB feature
2079 (Vcharacter_composition_table): Don't add extern if external-DB
2080 feature is supported.
2081 (COMPOSE_ADD_CHAR): Modify for new data-representation of
2082 character composition rule if external-DB feature is supported.
2084 * chartab.c (Vcharacter_composition_table): Don't define if
2085 external-DB feature is supported.
2086 (Qcomposition): New variable.
2087 (Fget_composite_char): New implementation for external-DB support.
2088 (Fput_char_attribute): Use `composition' property of each
2089 character instead of `Vcharacter_composition_table' to store
2090 character-composition rules if external-DB feature is supported.
2091 (syms_of_chartab): Add new symbol `composition'.
2092 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
2093 external-DB feature is supported.
2095 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2097 * chartab.c (Vchar_db_stingy_mode): New variable.
2098 (load_char_attribute_maybe): Close database if
2099 Vchar_db_stingy_mode is not NIL.
2100 (Fload_char_attribute_table_map_function): Use
2101 `get_char_id_table_0' instead of `get_char_id_table'.
2102 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
2104 * chartab.h (get_char_id_table_0): New inline function.
2105 (get_char_id_table): Use `get_char_id_table_0'.
2107 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2109 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
2110 and `COMPOSE_ADD_CHAR'.
2111 (decode_coding_iso2022): Use `decode_flush_er_chars'.
2113 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2115 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
2116 instead of `DECODE_ADD_UCS_CHAR'.
2117 (COMPOSE_ADD_CHAR): Likewise.
2119 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2121 * text-coding.c (decode_flush_er_chars): New inline function.
2122 (decode_add_er_char): New function.
2123 (decode_coding_utf8): Use `decode_flush_er_chars' and
2124 `decode_add_er_char'.
2126 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2128 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2129 done before `decode_output_utf8_partial_char'.
2131 * mule-charset.c (complex_vars_of_mule_charset): Specify
2132 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2133 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2135 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2137 * mule-charset.c (decode_defined_char): New function; search
2139 (decode_builtin_char): Don't search mother if
2140 XCHARSET_MAX_CODE(charset) == 0.
2141 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2142 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2143 (Fdecode_char): Use `decode_defined_char' instead of
2144 `DECODE_DEFINED_CHAR'.
2145 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2146 mother of `Vcharset_ucs_jis'.
2148 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2149 instead of `DECODE_DEFINED_CHAR'.
2151 * char-ucs.h (decode_defined_char): Renamed from
2152 `DECODE_DEFINED_CHAR'; changed to normal function.
2153 (DECODE_CHAR): Use `decode_defined_char' instead of
2154 `DECODE_DEFINED_CHAR'.
2156 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2158 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2160 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2162 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2164 (Quse_entity_reference): New variable.
2168 (coding_system_description): Add description for
2169 `ccs_priority_list'.
2170 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2171 (allocate_coding_system): Initialize `ccs_priority_list' in
2173 (Fmake_coding_system): Add description about
2174 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2176 (Fcoding_system_property): Accept `disable-composition' and
2177 `use-entity-reference' in UTF-2000.
2178 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2180 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2181 (decode_coding_utf8): Decode entity-reference if
2182 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2183 (char_encode_utf8): Encode non-Unicode characters as
2184 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2186 (syms_of_file_coding): Add new symbols `use-entity-reference',
2188 (vars_of_file_coding): Add new variable
2189 `coded-charset-entity-reference-alist'.
2190 (complex_vars_of_file_coding): Declare `disable-composition' and
2191 `use-entity-reference' to be coding-system-properties in UTF-2000.
2193 * file-coding.h (struct Lisp_Coding_System): Add new member
2194 `use_entity_reference' and `ccs_priority_list'.
2195 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2196 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2197 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2199 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2201 * chartab.c (save_uint8_byte_table): Don't clear the table.
2202 (save_uint16_byte_table): Likewise.
2203 (save_byte_table): Likewise.
2204 (Fmount_char_attribute_table): New function.
2205 (syms_of_chartab): Add new builtin function
2206 `mount-char-attribute-table'.
2208 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2210 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2212 (load_char_decoding_entry_maybe): Open database as read-only mode.
2214 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2215 open database as "w+" mode.
2216 (load_char_attribute_maybe): Open database as read-only mode.
2217 (Fload_char_attribute_table): Likewise.
2219 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2221 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2222 (char_table_description): Delete member `db_file'.
2223 (Fmake_char_table): Don't refer `ct->db_file'.
2224 (Fcopy_char_table): Likewise.
2225 (Fsave_char_attribute_table): Likewise.
2226 (Fclose_char_attribute_table): Likewise.
2227 (Freset_char_attribute_table): Likewise.
2228 (load_char_attribute_maybe): Likewise.
2229 (Fload_char_attribute_table): Likewise.
2231 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2233 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2236 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2238 (load_char_attribute_maybe): Likewise.
2239 (Fload_char_attribute_table): Likewise.
2241 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2243 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2244 `ct->db_file' unconditionally.
2246 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2248 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2250 (char_table_description): Add description for `db_file' and `db'
2252 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2254 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2255 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2256 (Fclose_char_attribute_table): New function.
2257 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2258 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2260 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2261 (syms_of_chartab): Add new builtin function
2262 `Fclose_char_attribute_table'.
2264 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2266 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2268 (load_char_attribute_maybe): Change interface.
2269 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2271 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2273 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2275 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2277 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2278 instead of `DECODE_CHAR' for mother; don't use special code for
2279 chinese-big5 to use code space of chinese-big5-1 and
2281 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2282 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2284 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2285 (MAX_CHAR_BIG5_CDP): Revival.
2287 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2290 the XLFD registry-encoding name of `chinese-big5'.
2292 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2294 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2295 (Qchinese_big5_cdp): Deleted.
2296 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2297 (complex_vars_of_mule_charset): Delete coded-charset
2300 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2301 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2302 `CHARSET_ID_OFFSET - n' for private CCS.
2303 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2304 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2305 of `MIN_LEADING_BYTE'.
2306 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2307 `(CHARSET_ID_OFFSET - 97)'.
2308 (MIN_CHAR_BIG5_CDP): Deleted.
2309 (MAX_CHAR_BIG5_CDP): Deleted.
2311 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2313 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2315 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2318 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2321 * chartab.c (Vutf_2000_version): Moved to mule.c.
2322 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2324 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2326 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2327 when HAVE_CHISE_CLIENT is not defined.
2329 * mule.c (vars_of_mule): Provide feature `chise' when
2330 HAVE_CHISE_CLIENT is defined.
2332 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2334 * config.h.in (UTF2000): Add comment.
2335 (HAVE_CHISE_CLIENT): New macro.
2337 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2339 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2341 (Fput_char_attribute): Likewise.
2342 (char_attribute_system_db_file): Encode file-name of attribute.
2343 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2346 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2348 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2349 (Fsave_charset_mapping_table): Use
2350 `char_attribute_system_db_file'.
2351 (load_char_decoding_entry_maybe): Likewise.
2353 * chartab.h (Qsystem_char_id): New external variable.
2354 (char_attribute_system_db_file): New prototype.
2356 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2357 (char_attribute_system_db_file): New function.
2358 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2359 (Freset_char_attribute_table): Likewise.
2360 (load_char_attribute_maybe): Likewise.
2361 (Fload_char_attribute_table): Likewise.
2362 (syms_of_chartab): Add new symbol `system-char-id'.
2364 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2366 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2367 `XCHARSET_GRAPHIC(ccs)'.
2369 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2373 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2375 * chartab.c (Q_ucs_variants): New variable.
2376 (syms_of_chartab): Add new symbol `->ucs-variants'.
2377 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2378 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2379 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2381 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2383 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2384 `HAVE_DATABASE' is defined.
2385 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2386 `HAVE_DATABASE' is defined.
2388 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2390 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2392 (Freset_char_attribute_table): New function.
2393 (syms_of_chartab): Add new builtin function
2394 `reset-char-attribute-table'.
2396 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2398 * chartab.c (load_char_attribute_maybe): Don't make directories.
2400 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2402 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2404 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2407 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2409 * mule-charset.c (Fsave_charset_mapping_table): Use
2410 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2412 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2413 instead of `XCHARSET_CHARS'.
2415 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2417 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2418 (XCHARSET_BYTE_SIZE): Likewise.
2420 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2422 (XCHARSET_BYTE_SIZE): Likewise.
2424 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2426 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2427 data-directory to store database.
2428 (Fsave_char_attribute_table): Likewise.
2429 (load_char_attribute_maybe): Likewise.
2430 (Fload_char_attribute_table): Likewise.
2432 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2434 * mule-charset.c (Fsave_charset_mapping_table): New function.
2435 (syms_of_mule_charset): Add new builtin function
2436 `save-charset-mapping-table'.
2438 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2440 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2441 (get_ccs_octet_table): New inline function.
2442 (put_ccs_octet_table): Likewise.
2443 (decoding_table_put_char): Use `get_ccs_octet_table' and
2444 `put_ccs_octet_table'.
2445 (decoding_table_remove_char): Use `decoding_table_put_char'.
2446 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2448 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2449 into encoding_table.
2450 (make_charset): Use Qunbound instead Qnil as initial value of
2453 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2455 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2456 element is Qunloaded.
2457 (map_over_uint16_byte_table): Likewise.
2458 (map_over_byte_table): Likewise.
2459 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2460 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2461 database support, load encoding-table of the specified
2462 coded-charset if it is not loaded yet.
2463 (save_uint8_byte_table): New function of UTF-2000 with external
2465 (save_uint16_byte_table): Likewise.
2466 (save_byte_table): Likewise.
2467 (Fput_char_attribute): Don't store value into external database
2468 even if the external database feature is supported in UTF-2000;
2469 set `attribute' as name of char-table if the external database
2470 feature is supported.
2471 (Fsave_char_attribute_table): New function in UTF-2000.
2472 (syms_of_chartab): Add new builtin function
2473 `save-char-attribute-table' in UTF-2000.
2475 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2477 * chartab.c (char_attribute_table_to_put): New variable in
2479 (Qput_char_table_map_function): Likewise.
2480 (value_to_put): Likewise.
2481 (Fput_char_table_map_function): New function in UTF-2000.
2482 (put_char_table): Use `Fmap_char_attribute' for
2483 CHARTAB_RANGE_CHARSET in UTF-2000.
2484 (Fput_char_attribute): Store symbol instead of string in
2485 `XCHAR_TABLE_NAME (table)'.
2486 (load_char_attribute_maybe): Likewise.
2487 (syms_of_chartab): Add new symbol/function
2488 `put-char-table-map-function'.
2490 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2492 * database.h: Add new EXFUN for `Fmap_database'.
2494 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2495 (syms_of_database): Likewise.
2497 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2499 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2500 (XCHAR_TABLE_UNLOADED): Likewise.
2502 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2503 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2504 HAVE_DATABASE is defined.
2505 (char_attribute_table_to_load): New variable of UTF-2000 with
2506 external database support.
2507 (Qload_char_attribute_table_map_function): Likewise.
2508 (Fload_char_attribute_table_map_function): New function of
2509 UTF-2000 with external database support.
2510 (Fload_char_attribute_table): New function of UTF-2000.
2511 (Fmap_char_attribute): Call Fload_char_attribute_table if
2512 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2513 (syms_of_chartab): Add new symbol and function
2514 `load-char-attribute-table-map-function' in UTF-2000 with external
2515 database support; add new function `load-char-attribute-table' in
2518 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2520 * chartab.h (load_char_attribute_maybe): New prototype for
2521 UTF-2000 with DATABASE support.
2522 (get_char_id_table): Use `load_char_attribute_maybe' if
2523 HAVE_DATABASE is defined.
2525 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2526 with DATABASE support.
2528 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2530 * chartab.c (Fput_char_attribute): Use S-expression as key of
2533 * chartab.h (get_char_id_table): Use S-expression as key of
2536 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2538 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2539 if an element is not loaded, load the corresponding attributes
2540 from an external database.
2541 (map_over_uint16_byte_table): Likewise.
2542 (map_over_byte_table): Likewise.
2543 (map_char_table): Modify for `map_over_uint8_byte_table',
2544 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2545 element is not loaded, load the corresponding attributes from an
2547 (Fput_char_attribute): Change initial values to Qunloaded.
2549 * chartab.h (get_char_id_table): If a character attribute is not
2550 loaded and the attribute value is not found in an external
2551 database, store Qunbound as the attribute value.
2553 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2555 * chartab.c (BT_UINT8_unloaded): New macro.
2556 (UINT8_VALUE_P): Accept Qunloaded.
2557 (UINT8_ENCODE): Likewise.
2558 (UINT8_DECODE): Likewise.
2559 (BT_UINT16_unloaded): New macro.
2560 (UINT16_VALUE_P): Accept Qunloaded.
2561 (UINT16_ENCODE): Likewise.
2562 (UINT16_DECODE): Likewise.
2563 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2565 (mark_char_table): Mark `ct->name' in UTF-2000.
2566 (char_table_description): Add `name' in UTF-2000.
2567 (Fmake_char_table): Initialize `ct->name'.
2568 (Fcopy_char_table): Copy `ct->name'.
2569 (Fput_char_attribute): Store value into an external database if
2570 HAVE_DATABASE is defined.
2572 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2574 (CHAR_TABLE_NAME): New macro in UTF-2000.
2575 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2576 (get_char_id_table): Try to read an external database if Qunloaded
2577 is stored in a table.
2579 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2582 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2584 * database.h: Add EXFUN definitions for Fopen_database,
2585 Fput_database, Fget_database and Fclose_database.
2587 * data.c (Qunloaded): New variable in UTF-2000.
2589 * lisp.h (Qunloaded): New variable in UTF-2000.
2591 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2593 * mule-charset.c (put_char_ccs_code_point): Modify for
2594 `decoding_table_remove_char' and `decoding_table_put_char'.
2595 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2597 * char-ucs.h (decoding_table_remove_char): Change arguments to
2598 hide decoding_table vector.
2599 (decoding_table_put_char): Likewise.
2601 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2603 * mule-charset.c (decoding_table_remove_char): Moved to
2605 (decoding_table_put_char): Likewise.
2607 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2608 from mule-charset.c].
2609 (decoding_table_remove_char): New inline function [moved from
2611 (decoding_table_put_char): Likewise.
2613 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2615 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2618 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2620 * mule-charset.c (decode_builtin_char): Support mother charsets.
2622 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2624 * mule-charset.c (Q94x94x60): New variable.
2625 (charset_code_point): Support conversion `94x94x60'.
2626 (Fmake_charset): Likewise.
2627 (syms_of_mule_charset): Add new symbol `94x94x60'.
2629 * char-ucs.h (CONVERSION_94x94x60): New macro.
2631 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2633 * mule-charset.c (charset_code_point): Unify code about
2636 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2638 * mule-charset.c (charset_code_point): Merge code about builtin
2639 characters into code about mother charsets; don't use
2640 `range_charset_code_point'.
2641 (range_charset_code_point): Deleted.
2643 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * mule-charset.c (Qcode_offset): New variable.
2646 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2647 `max-code'; accept new property `code-offset'.
2648 (syms_of_mule_charset): Add new symbol `code-offset'.
2650 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2652 * mule-charset.c (range_charset_code_point): Fixed.
2654 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * mule-charset.c (decode_builtin_char): Change semantics of
2657 code-offset of coded-charset.
2658 (charset_code_point): Likewise.
2659 (range_charset_code_point): Likewise.
2660 (complex_vars_of_mule_charset): Modify for the change.
2662 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * mule-charset.c (Fencode_char): Reverse arguments.
2666 * mule-charset.c (charset_code_point): Fixed.
2668 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * mule-charset.c (Vcharset_mojikyo): Deleted.
2671 (Vcharset_mojikyo_2022_1): Deleted.
2672 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2673 (Qmin_code): New variable in UTF-2000.
2674 (Qmax_code): Likewise.
2675 (Qmother): Likewise.
2676 (Qconversion): Likewise.
2678 (Qmojikyo): Deleted.
2679 (Qmojikyo_2022_1): Deleted.
2680 (Qmojikyo_pj_{1..22}): Deleted.
2681 (mark_charset): Mark `cs->mother'.
2682 (charset_description): Add description for `mother'.
2683 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2684 new arguments `mother' and `conversion'; use
2685 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2686 (charset_code_point): Moved from char-ucs.h; support `mother'
2688 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2689 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2690 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2691 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2692 allow 2 as the value of `graphic' in UTF-2000; add new properties
2693 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2694 require `final' in UTF-2000; modify for `make_charset'.
2695 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2696 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2697 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2698 (Fencode_char): New function.
2699 (syms_of_mule_charset): Add new builtin function `encode-char' in
2700 UTF-2000; add new symbols `min-code', `max-code', `mother',
2701 `conversion' and `94x60'; delete symbols `mojikyo',
2702 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2703 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2704 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2705 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2707 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2708 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2710 * char-ucs.h (Vcharset_mojikyo): Deleted.
2711 (Vcharset_mojikyo_2022_1): Deleted.
2712 (LEADING_BYTE_MOJIKYO): Deleted.
2713 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2714 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2715 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2716 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2717 add new member `mother'; add new member `conversion'.
2718 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2719 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2720 (CHARSET_MOTHER): New macro.
2721 (CHARSET_CONVERSION): New macro.
2722 (CONVERSION_IDENTICAL): New macro.
2723 (CONVERSION_94x60): New macro.
2724 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2725 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2726 (XCHARSET_MOTHER): New macro.
2727 (XCHARSET_CONVERSION): New macro.
2728 (MIN_CHAR_MOJIKYO): Deleted.
2729 (MAX_CHAR_MOJIKYO): Deleted.
2730 (DECODE_MOJIKYO_2022): Deleted.
2731 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2732 (charset_code_point): Changed to non-inline function.
2733 (encode_char_1): Use `charset_code_point'.
2734 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2736 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2738 * lread.c (read_compiled_function): Fix prototype.
2739 (read_vector): Likewise.
2741 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2743 * lrecord.h (struct lrecord_header): Delete `older'.
2744 (set_lheader_implementation): Delete code for `older'.
2745 (set_lheader_older_implementation): Deleted.
2746 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2747 (OLDER_RECORD_P): Deleted.
2748 (OLDER_RECORD_HEADER_P): Deleted.
2749 (alloc_older_lcrecord): Deleted.
2750 (alloc_older_lcrecord_type): Deleted.
2752 * alloc.c (all_older_lcrecords): Deleted.
2753 (alloc_older_lcrecord): Deleted.
2754 (disksave_object_finalization_1): Delete code for older objects.
2755 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2756 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2758 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2760 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2761 instead of `make_older_vector'.
2762 (put_char_ccs_code_point): Likewise.
2763 (mark_charset): Mark `cs->decoding_table'.
2764 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2766 * lisp.h (make_older_vector): Deleted.
2767 (make_vector_newer): Deleted.
2769 * config.h.in (HAVE_GGC): Deleted.
2771 * alloc.c (make_older_vector): Deleted.
2772 (make_vector_newer_1): Deleted.
2773 (make_vector_newer): Deleted.
2775 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2777 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2778 (Qideograph_daikanwa_2): New variable.
2779 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2780 (complex_vars_of_mule_charset): Add new coded-charset
2781 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2782 `LEADING_BYTE_DAIKANWA'.
2784 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2785 (LEADING_BYTE_DAIKANWA_1): New macro.
2786 (LEADING_BYTE_DAIKANWA_2): New macro.
2787 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2789 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2791 * mule-charset.c (complex_vars_of_mule_charset): Change
2792 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2793 the second revised version.
2795 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * mule-charset.c (Vcharset_ucs_smp): New variable.
2798 (Vcharset_ucs_sip): New variable.
2799 (Qucs_smp): New variable.
2800 (Qucs_sip): New variable.
2801 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2802 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2803 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2804 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2805 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2806 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2808 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2809 (LEADING_BYTE_UCS_SIP): New macro.
2810 (MIN_CHAR_SMP): New macro.
2811 (MAX_CHAR_SMP): New macro.
2812 (MIN_CHAR_SIP): New macro.
2813 (MAX_CHAR_SIP): New macro.
2815 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2817 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2820 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2822 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2823 value; don't store value into `encoding_table' of `Lisp_Charset'.
2824 (mark_charset): `encoding_table' was deleted.
2825 (charset_description): Likewise.
2826 (make_charset): Likewise.
2827 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2828 `put_char_ccs_code_point'.
2830 * chartab.h (Fput_char_attribute): New EXFUN.
2832 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2833 is unified with normal symbol space.
2834 (Fget_char_attribute): Likewise.
2835 (Fput_char_attribute): Likewise; behavior of
2836 `put_char_ccs_code_point' is changed.
2838 * char-ucs.h: Include "elhash.h".
2839 (Vchar_attribute_hash_table): New external variable.
2840 (struct Lisp_Charset): Delete `encoding_table'.
2841 (CHARSET_ENCODING_TABLE): New implementation; refer
2842 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2845 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2847 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2850 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2852 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2855 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2857 * chartab.c (uint8_byte_table_description): New constant.
2858 (uint8-byte-table): Use `uint8_byte_table_description'.
2859 (uint16_byte_table_description): New constant.
2860 (uint16-byte-table): Use `uint16_byte_table_description'.
2862 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2865 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2867 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2869 * mule-charset.c (Vcharset_ucs_ks): New variable.
2870 (Qucs_ks): New variable.
2871 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2872 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2874 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2876 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2878 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2879 (Fdecode_char): Likewise.
2881 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2883 (Fdefine_char): Modify for Fdecode_char.
2884 (Ffind_char): Likewise.
2886 * mule-charset.c (Fdecode_char): Add new optional argument
2888 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2890 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2893 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2894 (allocate_coding_system): Initialize initial-charsets of
2895 CODESYS_BIG5 in XEmacs UTF-2000.
2896 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2897 CODESYS_BIG5 in XEmacs UTF-2000.
2898 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2899 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2901 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2903 (Qideograph_hanziku_{1 .. 12}): Likewise.
2904 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2906 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2907 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2908 `ideograph-hanziku-{1 .. 12}'.
2910 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2911 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2912 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2913 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2914 (DECODE_DEFINED_CHAR): New inline function.
2915 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2917 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2919 * mule-charset.c (Vcharset_china3_jef): Renamed from
2920 `Vcharset_japanese_jef_china3'.
2921 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2922 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2923 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2924 (syms_of_mule_charset): Rename `china3-jef' from
2925 `japanese-jef-china3'.
2926 (complex_vars_of_mule_charset): Likewise; rename
2927 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2929 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2930 `LEADING_BYTE_JEF_CHINA3'.
2931 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2932 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2934 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * mule-charset.c (encode_builtin_char_1): Comment out special code
2937 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2939 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2940 (MAX_CHAR_MOJIKYO_0): Comment out.
2941 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2942 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2943 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2944 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2946 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2948 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2949 (Qideograph_cbeta): New variable.
2950 (encode_builtin_char_1): Comment out special code for
2951 coded-charset `mojikyo' and `japanese-jef-china3'.
2952 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2953 (complex_vars_of_mule_charset): Add new coded-charset
2956 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2957 (MIN_CHAR_CBETA): New macro.
2958 (MAX_CHAR_CBETA): New macro.
2960 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2963 (LEADING_BYTE_JEF_CHINA3): New macro.
2964 (MIN_CHAR_JEF_CHINA3): New macro.
2965 (MAX_CHAR_JEF_CHINA3): Likewise.
2966 (DECODE_CHAR): Fixed.
2968 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2970 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2971 (Qjapanese_jef_china3): New variable.
2972 (encode_builtin_char_1): Support `japanese-jef-china3'.
2973 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2974 (complex_vars_of_mule_charset): Add new coded-charset
2975 `japanese-jef-china3'.
2977 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2979 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2980 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2981 94^4, 96^3, 96^4, 128^n and 256^n set.
2982 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2983 (map_char_table): Likewise.
2985 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2987 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2990 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2992 * chartab.h (get_char_id_table): New inline function.
2994 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2997 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2999 * chartab.h (decode_char_table_range): New prototype in XEmacs
3001 (put_char_id_table): New inline function in XEmacs UTF-2000.
3003 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
3005 (decode_char_table_range): Delete static declaration in XEmacs
3008 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3010 * chartab.c (put_char_id_table): Use `put_char_table'.
3012 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3014 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
3015 (map_over_uint16_byte_table): Likewise.
3016 (map_over_byte_table): Likewise.
3017 (map_char_table): Modify for `map_over_uint8_byte_table',
3018 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
3021 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3023 * chartab.c (struct map_char_table_for_charset_arg): New
3025 (map_char_table_for_charset_fun): New function.
3026 (map_char_table): Use `map_char_table' for encoding_table of
3029 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3031 * chartab.c (map_char_table): Check a character is found in
3032 range->charset instead of non default value is defined in
3033 char-table when range is CHARTAB_RANGE_ROW.
3035 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3037 * chartab.c (map_char_id_table): Deleted.
3038 (Fmap_char_attribute): Use `map_char_table' instead of
3039 `map_char_id_table'.
3041 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3043 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
3045 (update_syntax_table): Deleted in XEmacs UTF-2000.
3047 * syntax.c (find_defun_start): Use `syntax_table' instead of
3048 `mirror_syntax_table' in XEmacs UTF-2000.
3049 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
3051 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
3053 (Fmatching_paren): Likewise.
3054 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
3056 (find_start_of_comment): Likewise.
3057 (find_end_of_comment): Likewise.
3058 (Fforward_comment): Likewise.
3059 (scan_lists): Likewise.
3060 (char_quoted): Likewise.
3061 (Fbackward_prefix_chars): Likewise.
3062 (scan_sexps_forward): Likewise.
3063 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
3064 (update_syntax_table): Likewise.
3066 * search.c (skip_chars): Use `syntax_table' instead of
3067 `mirror_syntax_table' in XEmacs UTF-2000.
3068 (wordify): Likewise.
3069 (Freplace_match): Likewise.
3071 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
3072 `mirror_syntax_table' in XEmacs UTF-2000.
3073 (WORDCHAR_P_UNSAFE): Likewise.
3074 (re_match_2_internal): Likewise.
3076 * font-lock.c (find_context): Use `buf->syntax_table' instead of
3077 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3079 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
3080 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
3082 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
3085 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
3087 (print_char_table): Print `default_value' in XEmacs UTF-2000.
3088 (char_table_description): Delete `mirror_table' in XEmacs
3090 (fill_char_table): Don't call `update_syntax_table' in XEmacs
3092 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
3093 (Fcopy_char_table): Likewise.
3094 (put_char_table): Don't call `update_syntax_table' in XEmacs
3097 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
3098 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3099 (casify_region_internal): Likewise.
3101 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
3103 * buffer.c (common_init_complex_vars_of_buffer): Don't use
3104 `mirror_syntax_table' in XEmacs UTF-2000.
3106 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
3107 `buf->mirror_syntax_table' in XEmacs UTF-2000.
3108 (Fexpand_abbrev): Likewise.
3110 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
3114 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
3117 (map_over_uint16_byte_table): Likewise.
3118 (map_over_byte_table): Likewise.
3119 (get_char_id_table): Refer `cit->default_value'.
3120 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3121 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
3122 of character-id ranges.
3123 (mark_char_table): Mark `ct->default_value'.
3124 (char_table_description): Add `default_value'.
3125 (fill_char_table): Use `default_value'.
3126 (decode_char_table_range): Decode `nil' as
3127 `CHARTAB_RANGE_DEFAULT'.
3128 (get_char_id_table): Refer `cit->default_value'.
3129 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3130 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3131 temporary hack; check value of char-table is bound or not.
3132 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3134 * chartab.h (struct Lisp_Char_Table): Add new member
3135 `default_value' in XEmacs UTF-2000.
3136 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3137 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3140 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3142 * chartab.h (Lisp_Char_ID_Table): Deleted.
3144 * chartab.c (char_table_description): Fix typo.
3145 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3146 `Lisp_Char_ID_Table'.
3148 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3150 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3153 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3156 * chartab.h (XCHAR_ID_TABLE): Deleted.
3157 (XSETCHAR_ID_TABLE): Deleted.
3158 (CHAR_ID_TABLE_P): Deleted.
3160 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3162 (Fget_composite_char): Likewise.
3163 (put_char_table): Likewise.
3164 (add_char_attribute_alist_mapper): Fixed.
3165 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3167 (Fget_char_attribute): Likewise.
3168 (Fget_char_attribute): Likewise.
3169 (Fmap_char_attribute): Likewise.
3171 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3173 (encode_char_1): Likewise.
3175 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3180 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3181 instead of `XCHAR_ID_TABLE'.
3182 (remove_char_ccs): Likewise.
3184 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3186 (Fget_composite_char): Likewise.
3187 (Fchar_variants): Likewise.
3188 (put_char_table): Likewise.
3189 (add_char_attribute_alist_mapper): Likewise.
3190 (Fchar_attribute_alist): Likewise.
3191 (Fget_char_attribute): Likewise.
3192 (Fput_char_attribute): Likewise.
3193 (Fmap_char_attribute): Likewise.
3194 (Fmap_char_attribute): Likewise.
3196 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3198 (encode_char_1): Likewise.
3200 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3203 `Lisp_Char_ID_Table'.
3204 (mark_char_id_table): Deleted.
3205 (print_char_id_table): Likewise.
3206 (char_id_table_equal): Likewise.
3207 (char_id_table_hash): Likewise.
3208 (char_id_table_description): Likewise.
3209 (char_id_table): Likewise.
3210 (make_char_id_table): Use `Fmake_char_table' and
3212 (get_char_id_table): Use `Lisp_Char_Table' instead of
3213 `Lisp_Char_ID_Table'.
3214 (put_char_id_table): Likewise.
3215 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3217 (Fremove_char_attribute): Likewise.
3218 (syms_of_chartab): Don't define type `char-id-table'.
3220 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3221 (char_id_table): Likewise.
3222 (GC_CHAR_ID_TABLE_P): Likewise.
3223 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3224 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3225 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3226 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3227 (get_char_id_table): Use `Lisp_Char_Table' instead of
3228 `Lisp_Char_ID_Table'.
3229 (put_char_id_table_0): Likewise.
3230 (put_char_id_table): Likewise.
3232 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3234 * chartab.h: Lisp_Byte_Table related codes are moved from
3237 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3239 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3241 * chartab.h: Don't include "chartab.h".
3242 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3243 (Lisp_Char_ID_Table): Likewise.
3244 (char_id_table): Likewise.
3245 (XCHAR_ID_TABLE): Likewise.
3246 (XSETCHAR_ID_TABLE): Likewise.
3247 (CHAR_ID_TABLE_P): Likewise.
3248 (GC_CHAR_ID_TABLE_P): Likewise.
3249 (get_char_id_table): Likewise.
3251 * char-ucs.h: Include "chartab.h".
3252 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3253 (Lisp_Char_ID_Table): Likewise.
3254 (char_id_table): Likewise.
3255 (XCHAR_ID_TABLE): Likewise.
3256 (XSETCHAR_ID_TABLE): Likewise.
3257 (CHAR_ID_TABLE_P): Likewise.
3258 (GC_CHAR_ID_TABLE_P): Likewise.
3259 (get_char_id_table): Likewise.
3261 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3263 * chartab.c (copy_uint8_byte_table): New function.
3264 (copy_uint16_byte_table): New function.
3265 (copy_byte_table): New function.
3266 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3268 (map_over_uint16_byte_table): Likewise.
3269 (map_over_byte_table): Likewise.
3270 (get_byte_table): Move prototype to chartab.h.
3271 (put_byte_table): Likewise.
3272 (put_char_id_table_0): Moved to chartab.h.
3273 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3274 (char_table_entry_equal): Likewise.
3275 (char_table_entry_hash): Likewise.
3276 (char_table_entry_description): Likewise.
3277 (char_table_entry): Likewise.
3278 (make_char_table_entry): Likewise.
3279 (copy_char_table_entry): Likewise.
3280 (get_non_ascii_char_table_value): Likewise.
3281 (map_over_charset_ascii): Likewise.
3282 (map_over_charset_control_1): Likewise.
3283 (map_over_charset_row): Likewise.
3284 (map_over_other_charset): Likewise.
3285 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3286 (print_char_table): Likewise.
3287 (char_table_equal): Likewise.
3288 (char_table_hash): Likewise.
3289 (char_table_description): Likewise.
3290 (fill_char_table): Likewise.
3291 (Fcopy_char_table): Likewise.
3292 (get_char_table): Likewise.
3293 (Fget_range_char_table): Likewise.
3294 (put_char_table): Likewise.
3295 (map_char_table): Likewise.
3296 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3299 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3301 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3302 `Vauto_fill_chars' in XEmacs UTF-2000.
3304 * chartab.h (get_byte_table): New prototype [moved from
3306 (put_byte_table): Likewise [moved from chartab.c].
3307 (put_char_id_table_0): New inline function [moved from chartab.c].
3308 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3309 (Lisp_Char_Table_Entry): Likewise.
3310 (char_table_entry): Likewise.
3311 (XCHAR_TABLE_ENTRY): Likewise.
3312 (XSETCHAR_TABLE_ENTRY): Likewise.
3313 (CHAR_TABLE_ENTRYP): Likewise.
3314 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3315 (NUM_ASCII_CHARS): Likewise.
3316 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3317 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3319 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3321 * chartab.c (get_char_id_table): Change interface.
3322 (put_char_id_table_0): New function.
3323 (put_char_id_table): Change interface; new implementation.
3324 (Fget_composite_char): Modify for interface change of
3325 `get_char_id_table'.
3326 (Fchar_variants): Likewise.
3327 (add_char_attribute_alist_mapper): Likewise.
3328 (Fchar_attribute_alist): Likewise.
3329 (Fget_char_attribute): Likewise.
3330 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3331 as same as character as the first argument like `put-char-table';
3332 modify for interface change of `put_char_id_table'.
3333 (Fremove_char_attribute): Modify for interface change of
3334 `put_char_id_table'.
3336 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3338 * text-coding.c: Sync up with XEmacs 21.2.41.
3339 (COMPOSE_ADD_CHAR): Modify for interface change of
3340 `get_char_id_table'.
3342 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3343 change of `put_char_id_table'.
3344 (remove_char_ccs): Likewise.
3346 * chartab.h (put_char_id_table): Change interface.
3348 * char-ucs.h (get_char_id_table): Change interface.
3349 (charset_code_point): Modify for interface change of
3350 `get_char_id_table'.
3351 (encode_char_1): Likewise.
3353 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3355 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3357 (map_over_uint16_byte_table): Likewise.
3358 (map_over_byte_table): Likewise.
3359 (map_char_id_table): Add new argument `range' like
3361 (Fmap_char_attribute): Add new argument `range' like
3364 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3366 * chartab.c (map_over_uint8_byte_table): Change interface of
3367 mapping function to use struct chartab_range instead of Emchar.
3368 (map_over_uint16_byte_table): Likewise.
3369 (map_over_byte_table): Likewise.
3370 (map_char_id_table): Likewise.
3371 (struct slow_map_char_id_table_arg): Deleted.
3372 (slow_map_char_id_table_fun): Deleted.
3373 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3374 function `slow_map_char_table_fun' instead of struct
3375 `slow_map_char_id_table_arg' and function
3376 `slow_map_char_id_table_fun'.
3378 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3380 * mule-charset.c: Move char-it-table related codes to chartab.c.
3381 (Vutf_2000_version): Moved to chartab.c.
3382 (Fdefine_char): Likewise.
3383 (Ffind_char): Likewise.
3384 (syms_of_mule_charset): Move types `uint8-byte-table',
3385 `uint16-byte-table', `byte-table' and `char-id-table' to
3386 chartab.c; move functions `char_attribute_list,
3387 `find_char_attribute_table, `char_attribute_alist,
3388 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3389 `map_char_attribute, `define_char, `find_char, `char_variants and
3390 `get_composite_char to chartab.c; move symbols `=>ucs',
3391 `->decomposition', `compat', `isolated', `initial', `medial',
3392 `final', `vertical', `noBreak', `fraction', `super', `sub',
3393 `circle', `square', `wide', `narrow', `small' and `font' to
3395 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3396 setting codes for `Vcharacter_composition_table' and
3397 `Vcharacter_variant_table' to chartab.c.
3398 (complex_vars_of_mule_charset): Move setting code for
3399 `Vchar_attribute_hash_table' to chartab.c.
3401 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3402 (make_char_id_table): New prototype.
3403 (put_char_id_table): Likewise.
3404 (Fget_char_attribute): Likewise.
3406 * chartab.c: Move char-id-table related code from mule-charset.c.
3407 (Vutf_2000_version): Moved from mule-charset.c.
3409 * char-ucs.h (Qucs): New external variable.
3410 (put_char_ccs_code_point): New prototype.
3411 (remove_char_ccs): Likewise.
3413 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3415 * mule-charset.c (Vcharset_ucs_jis): New variable.
3416 (Qucs_jis): Likewise.
3417 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3418 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3420 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3422 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3424 * mule-charset.c (map_over_uint8_byte_table): New function.
3425 (map_over_uint16_byte_table): Likewise.
3426 (map_over_byte_table): Likewise.
3427 (map_char_id_table): Likewise.
3428 (slow_map_char_id_table_fun): Likewise.
3429 (Fmap_char_attribute): Likewise.
3430 (syms_of_mule_charset): Add new function `map-char-attribute'.
3432 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3434 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3435 (syms_of_mule_charset): Add new function `find-char'.
3437 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3439 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3441 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3442 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3444 (complex_vars_of_mule_charset): Add new coded-charset
3445 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3446 `ideograph-gt-pj-*'.
3448 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3450 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3452 * mule-charset.c (encode_builtin_char_1): Purge codes about
3453 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3454 {MIN|MAX}_CHAR_HEBREW.
3455 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3456 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3458 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3459 (MAX_CHAR_GREEK): Purged.
3460 (MIN_CHAR_CYRILLIC): Purged.
3461 (MAX_CHAR_CYRILLIC): Purged.
3462 (MIN_CHAR_HEBREW): Commented out.
3463 (MAX_CHAR_HEBREW): Likewise.
3465 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3467 * mule-charset.c (Qto_ucs): New variable.
3468 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3469 (Fdefine_char): Likewise.
3470 (syms_of_mule_charset): Add new symbol `=>ucs'.
3472 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3474 * mule-charset.c (Fdecode_char): Fixed.
3476 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3478 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3479 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3482 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3484 * mule-charset.c (Vcharset_ucs_big5): New variable.
3485 (Qucs_big5): Likewise.
3486 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3487 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3489 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3491 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3493 * mule-charset.c (decode_builtin_char): Check Big5 code range
3494 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3496 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3498 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3499 (Qchinese_gb12345): Likewise.
3500 (Fdecode_builtin_char): Fixed.
3501 (syms_of_mule_charset): Add `chinese-gb12345'.
3502 (complex_vars_of_mule_charset): Add coded-charset
3505 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3506 (LEADING_BYTE_CHINESE_GB12345): New macro.
3508 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3510 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3511 and `latin-viscii-upper' for `latin-viscii'.
3513 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3515 * mule-charset.c (Fdecode_builtin_char): Comment out
3516 regularization code for ISO-IR GR representation.
3518 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3520 * mule-charset.c (decode_builtin_char): New function; renamed from
3521 `make_builtin_char'; return -1 instead of signal.
3522 (Fdecode_builtin_char): Use `decode_builtin_char'.
3524 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3525 `make_builtin_char'.
3526 (DECODE_CHAR): Use `decode_builtin_char' instead of
3527 `make_builtin_char'; use mapping table of `chinese-big5' for
3528 `chinese-big5-{1,2}'.
3530 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3532 * text-coding.c (char_encode_big5): New function.
3533 (char_finish_big5): Likewise.
3534 (reset_encoding_stream): Use `char_encode_big5' and
3535 `char_finish_big5' for CODESYS_BIG5.
3536 (mule_encode): Don't use `encode_coding_big5'.
3537 (encode_coding_big5): Deleted.
3539 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3541 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3542 0x81- in XEmacs UTF-2000.
3543 (detect_coding_big5): Likewise.
3545 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3547 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3548 generate character-id if the CCS property does not have
3549 corresponding predefined character.
3550 (make_builtin_char): Return -1 if corresponding predefined
3551 character is not found.
3552 (Fdecode_char): Return nil if corresponding character is not
3554 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3555 don't map to builtin ucs space.
3557 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3559 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3560 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3562 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3564 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3565 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3566 (Qideograph_gt): Likewise.
3567 (Qideograph_gt_pj_{1..11}): Likewise.
3568 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3569 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3570 `ideograph-gt-pj-11'.
3571 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3572 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3573 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3575 * char-ucs.h (LEADING_BYTE_GT): New macro.
3576 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3577 (MIN_CHAR_GT): Likewise.
3578 (MAX_CHAR_GT): Likewise.
3580 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3582 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3583 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3585 * doprnt.c (unsigned_int_converters): Add `c'.
3586 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3588 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3589 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3591 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3592 (MAX_CHAR_MOJIKYO_0): New macro.
3593 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3595 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3597 * mule-charset.c (Fdefine_char): Delete cemented out code.
3598 (encode_builtin_char_1): Modify for new allocation of builtin
3601 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3603 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3605 * mule-charset.c (Vcharset_ucs_cns): New variable.
3606 (Qucs_cns): New variable.
3607 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3608 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3610 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3612 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3614 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3616 * search.c (search_buffer): Make `charset_base_code' as
3617 character-id >> 6 to eliminate the corresponding last byte in
3618 UTF-8 representation [I'm not sure it is right thing].
3619 (boyer_moore): Likewise.
3621 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3623 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3624 representation in MULE.
3626 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3628 * text-coding.c (Fmake_coding_system): Use
3629 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3630 `EXTERNAL_PROPERTY_LIST_LOOP'.
3632 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3634 * text-coding.c (decode_output_utf8_partial_char): New function.
3635 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3637 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3639 * text-coding.c (decode_coding_utf8): Output original byte
3640 sequence if it is broken; change order of conditions.
3642 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3645 * mb-multibyte.h (BYTE_ASCII_P):
3646 Use bit ops for char-signedness safety.
3647 (BYTE_C0_P): Use bit ops for char-signedness safety.
3648 (BYTE_C1_P): Use bit ops for char-signedness safety.
3650 * character.h: (XCHAR_OR_CHAR_INT):
3651 Always use inline function.
3652 Remove redundant type checking assert() - XINT will abort quite
3655 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3657 * text-coding.c: (Fencode_shift_jis_char):
3658 (Fencode_big5_char):
3659 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3660 Replace 0 with '\0' when working with bytes.
3661 Replace initial "(" with "\(" in docstrings.
3663 (Fmake_coding_system):
3664 When type is ccl and value is vector, register it with a proper
3665 symbol. And checks whether the given ccl program is valid.
3666 (mule_decode): When calling ccl_driver, if src indicates
3667 NULL pointer, set an empty string instead.
3668 (mule_encode): Likewise.
3671 (detect_coding_sjis):
3672 (decode_coding_sjis):
3673 (detect_coding_big5):
3674 (decode_coding_big5):
3675 (detect_coding_ucs4):
3676 (decode_coding_ucs4):
3677 (detect_coding_utf8):
3678 (decode_coding_utf8):
3679 (detect_coding_iso2022):
3680 (decode_coding_iso2022):
3681 (decode_coding_no_conversion):
3683 Make all detecting and decoding functions take an Extbyte * arg.
3684 (text_encode_generic):
3685 (encode_coding_big5):
3686 (encode_coding_no_conversion):
3688 Make all encoding functions take a Bufbyte * arg.
3689 Use size_t instead of unsigned int for memory sizes.
3690 Only cast to unsigned char whenever dereferencing Extbyte *.
3692 (struct lrecord_description fcd_description_1): Use countof.
3693 (complex_vars_of_file_coding):
3694 Use countof instead of sizeof.
3695 Use CHECK_NATNUM instead of CHECK_INT.
3697 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3699 * mule-charset.c (Fget_char_attribute): Add new optional argument
3701 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3702 (remove_char_ccs): Likewise.
3704 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3706 * text-coding.c (char_encode_shift_jis): New implementation in
3708 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3711 * mule-charset.c (Vcharset_chinese_big5): New variable in
3713 (Qchinese_big5): New variable in UTF-2000.
3714 (BIG5_SAME_ROW): New macro in UTF-2000.
3715 (make_builtin_char): Use builtin characters of
3716 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3717 characters of `Vcharset_chinese_big5'.
3718 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3719 (complex_vars_of_mule_charset): Add new coded-charset
3720 `chinese-big5' in UTF-2000.
3722 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3723 (Vcharset_chinese_big5): New external variable declaration.
3724 (Vcharset_japanese_jisx0208_1990): Likewise.
3726 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3728 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3730 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3732 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3734 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3735 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3736 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3739 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3741 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3743 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3745 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3748 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3750 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3751 for `CHARSET_BY_ATTRIBUTES'.
3752 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3753 `CHARSET_BY_ATTRIBUTES'.
3755 * text-coding.c (struct decoding_stream): Rename member `CH' to
3757 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3758 (decode_coding_sjis): Likewise.
3759 (decode_coding_big5): Likewise.
3760 (decode_coding_ucs4): Likewise.
3761 (decode_coding_utf8): Likewise.
3762 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3763 `CHARSET_BY_ATTRIBUTES'.
3764 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3765 `str->counter'; decode 3, 4 bytes sets.
3766 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3768 (decode_coding_no_conversion): Use `str->cpos' instead of
3771 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3772 (Qmojikyo_2022_1): New variable.
3773 (make_charset): Don't use `CHARSET_TYPE_*'.
3774 (range_charset_code_point): Support coded-charset
3776 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3777 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3778 `CHARSET_BY_ATTRIBUTES'.
3779 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3780 `CHARSET_BY_ATTRIBUTES'.
3781 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3782 (complex_vars_of_mule_charset): Add new coded-charset
3785 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3786 interface; changed to inline function.
3788 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3789 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3790 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3791 (CHARSET_TYPE_94): Deleted.
3792 (CHARSET_TYPE_94X94): Deleted.
3793 (CHARSET_TYPE_96): Deleted.
3794 (CHARSET_TYPE_96X96): Deleted.
3795 (CHARSET_TYPE_128): Deleted.
3796 (CHARSET_TYPE_128X128): Deleted.
3797 (CHARSET_TYPE_256): Deleted.
3798 (CHARSET_TYPE_256X256): Deleted.
3799 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3801 (DECODE_MOJIKYO_2022): New inline function.
3802 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3803 `Vcharset_mojikyo_2022_1'.
3805 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3807 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3809 (put_byte_table): Likewise.
3810 (char_id_table_equal): Use `get_byte_table' [new implementation].
3812 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3814 * mule-charset.c: Include <limits.h> in UTF-2000.
3815 (BT_UINT8_MIN): New macro in UTF-2000.
3816 (BT_UINT8_MAX): New macro in UTF-2000.
3817 (BT_UINT8_t): New macro in UTF-2000.
3818 (BT_UINT8_nil): New macro in UTF-2000.
3819 (BT_UINT8_unbound): New macro in UTF-2000.
3820 (INT_UINT8_P): New inline function in UTF-2000.
3821 (UINT8_VALUE_P): New inline function in UTF-2000.
3822 (UINT8_ENCODE): New inline function in UTF-2000.
3823 (UINT8_DECODE): New inline function in UTF-2000.
3824 (mark_uint8_byte_table): New function in UTF-2000.
3825 (print_uint8_byte_table): New function in UTF-2000.
3826 (uint8_byte_table_equal): New function in UTF-2000.
3827 (uint8_byte_table_hash): New function in UTF-2000.
3828 (make_uint8_byte_table): New function in UTF-2000.
3829 (uint8_byte_table_same_value_p): New function in UTF-2000.
3830 (BT_UINT16_MIN): New macro in UTF-2000.
3831 (BT_UINT16_MAX): New macro in UTF-2000.
3832 (BT_UINT16_t): New macro in UTF-2000.
3833 (BT_UINT16_nil): New macro in UTF-2000.
3834 (BT_UINT16_unbound): New macro in UTF-2000.
3835 (INT_UINT16_P): New inline function in UTF-2000.
3836 (UINT16_VALUE_P): New inline function in UTF-2000.
3837 (UINT16_ENCODE): New inline function in UTF-2000.
3838 (UINT16_DECODE): New inline function in UTF-2000.
3839 (UINT8_TO_UINT16): New inline function in UTF-2000.
3840 (mark_uint16_byte_table): New function in UTF-2000.
3841 (print_uint16_byte_table): New function in UTF-2000.
3842 (uint16_byte_table_equal): New function in UTF-2000.
3843 (uint16_byte_table_hash): New function in UTF-2000.
3844 (make_uint16_byte_table): New function in UTF-2000.
3845 (uint16_byte_table_same_value_p): New function in UTF-2000.
3846 (print_byte_table): New function in UTF-2000.
3847 (byte-table): Use `print_byte_table' as printer.
3848 (make_byte_table): Delete second argument `older'.
3849 (byte_table_same_value_p): New function in UTF-2000.
3850 (copy_byte_table): Deleted.
3851 (get_byte_table): New function in UTF-2000.
3852 (put_byte_table): New function in UTF-2000.
3853 (print_char_id_table): New function in UTF-2000.
3854 (char-id-table): Use `print_char_id_table' as printer.
3855 (make_char_id_table): Delete second argument `older'.
3856 (get_char_id_table): Use `get_byte_table [new implementation].
3857 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3859 (Ffind_char_attribute_table): New function in UTF-2000.
3860 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3861 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3862 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3863 (syms_of_mule_charset): Add new function
3864 `find-char-attribute-table' in UTF-2000.
3866 * lrecord.h (enum lrecord_type): Add
3867 `lrecord_type_uint16_byte_table' and
3868 `lrecord_type_uint8_byte_table'.
3870 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3871 (Lisp_Uint8_Byte_Table): New type.
3872 (XUINT8_BYTE_TABLE): New macro.
3873 (XSETUINT8_BYTE_TABLE): New macro.
3874 (UINT8_BYTE_TABLE_P): New macro.
3875 (GC_UINT8_BYTE_TABLE_P): New macro.
3876 (struct Lisp_Uint16_Byte_Table): New structure.
3877 (Lisp_Uint16_Byte_Table): New type.
3878 (XUINT16_BYTE_TABLE): New macro.
3879 (XSETUINT16_BYTE_TABLE): New macro.
3880 (UINT16_BYTE_TABLE_P): New macro.
3881 (GC_UINT16_BYTE_TABLE_P): New macro.
3883 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3885 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3886 (Vcharacter_ideographic_strokes_table): Deleted.
3887 (Vcharacter_total_strokes_table): Deleted.
3888 (Vcharacter_morohashi_daikanwa_table): Deleted.
3889 (Vcharacter_decomposition_table): Deleted.
3890 (Qname): Deleted because it is duplicated.
3891 (Qideographic_radical): Deleted.
3892 (Qideographic_strokes): Deleted.
3893 (Qtotal_strokes): Deleted.
3894 (Qmorohashi_daikanwa): Deleted.
3895 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3896 `ideographic-radical', `ideographic-strokes', `total-strokes',
3897 `morohashi-daikanwa' and `->decomposition'.
3898 (Fget_char_attribute): Likewise.
3899 (Fput_char_attribute): Likewise; use `make-vector' instead of
3900 `make_older_vector' for `->decomposition' value.
3901 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3902 `ideograph-daikanwa'.
3903 (syms_of_mule_charset): Delete builtin symbols `name',
3904 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3905 `morohashi-daikanwa'.
3906 (vars_of_mule_charset): Don't setup
3907 `Vcharacter_ideographic_radical_table',
3908 `Vcharacter_ideographic_strokes_table',
3909 `Vcharacter_total_strokes_table',
3910 `Vcharacter_morohashi_daikanwa_table' and
3911 `Vcharacter_decomposition_table'.
3913 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3915 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3916 `make_older_vector', `make_vector_newer_1' and
3917 `make_vector_newer'.
3919 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3920 `make_older_vector' and `make_vector_newer'.
3922 * config.h.in (HAVE_GGC): New macro.
3924 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3926 * mule-charset.c (struct char_attribute_list_closure): New
3927 structure in UTF-2000.
3928 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3929 (Fchar_attribute_list): Likewise.
3930 (Fset_charset_mapping_table): Use `make_vector_newer'.
3931 (Fdecode_builtin_char): New function in UTF-2000.
3932 (syms_of_mule_charset): Add new function `char-attribute-list' and
3933 `decode-builtin-char' in UTF-2000.
3935 * lisp.h (make_vector_newer): New prototype.
3937 * alloc.c (make_vector_newer_1): New function.
3938 (make_vector_newer): New function.
3940 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3942 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3945 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3947 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3948 (Vcharacter_attribute_table): Deleted.
3949 (Vcharacter_name_table): Deleted.
3950 (put_char_attribute): Deleted.
3951 (remove_char_attribute): Deleted.
3952 (struct char_attribute_alist_closure): New structure.
3953 (add_char_attribute_alist_mapper): New function.
3954 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3955 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3956 (Fget_char_attribute): Likewise.
3957 (Fput_char_attribute): Likewise.
3958 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3959 of `remove_char_attribute'.
3960 (Fdefine_char): Return character.
3961 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3962 and `Vcharacter_name_table'.
3963 (complex_vars_of_mule_charset): Likewise
3964 `Vchar_attribute_hash_table'.
3966 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3968 * character.h (CHARC_CHARSET): New macro.
3969 (CHARC_CHARSET_ID): New macro.
3970 (CHARC_CODE_POINT): New macro.
3971 (CHARC_COLUMNS): New macro.
3972 (CHARC_TO_CHAR): New inline function.
3973 (CHARC_EQ): New inline function.
3974 (CHARC_ASCII_EQ): New inline function.
3975 (CHARC_IS_SPACE): New inline function.
3976 (ASCII_TO_CHARC): New inline function.
3978 * char-ucs.h (encode_char_2): Deleted.
3979 (ENCODE_CHAR): Use `encode_char_1' again.
3980 (breakup_char_1): Likewise.
3981 (CHAR_TO_CHARC): New inline function.
3983 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3985 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3987 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3988 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3989 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3990 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3991 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3993 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3995 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3997 (x_output_display_block): Use `CHARC_CHARSET' and
4000 * redisplay-tty.c (tty_output_display_block): Use
4002 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
4004 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
4006 * insdel.c (find_charsets_in_charc_string): Use
4008 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
4009 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
4010 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
4011 (convert_charc_string_into_malloced_string): Likewise.
4013 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4015 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
4016 instead of <Emchar_dynarr *> for buf; use
4017 `convert_bufbyte_string_into_charc_dynarr' instead of
4018 `convert_bufbyte_string_into_emchar_dynarr'; use
4019 `find_charsets_in_charc_string' instead of
4020 `find_charsets_in_emchar_string'.
4023 - Include "character.h".
4024 (struct rune): New member `cglyph'; delete member `chr'.
4026 * redisplay.c (redisplay_text_width_charc_string): New function;
4027 delete `redisplay_text_width_emchar_string'.
4028 (rtw_charc_dynarr): New variable; renamed from
4029 `rtw_emchar_dynarr'.
4030 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
4031 `rtw_emchar_dynarr'; use
4032 `convert_bufbyte_string_into_charc_dynarr' instead of
4033 `convert_bufbyte_string_into_emchar_dynarr'; use
4034 `redisplay_text_width_charc_string' instead of
4035 `redisplay_text_width_emchar_string'.
4036 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
4037 instead of `rtw_emchar_dynarr'; use
4038 `convert_bufbyte_string_into_charc_dynarr' instead of
4039 `convert_bufbyte_string_into_emchar_dynarr'.
4040 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
4041 `redisplay_text_width_charc_string' instead of
4042 `redisplay_text_width_emchar_string'.
4043 (create_text_block): Modify for <struct rune> change.
4044 (generate_formatted_string_db): Likewise.
4045 (create_string_text_block): Likewise.
4046 (pixel_to_glyph_translation): Likewise.
4048 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
4049 instead of <const Emchar *>.
4050 (x_text_width): Likewise.
4051 (x_output_display_block): Use <Charc_dynarr *> instead
4052 <Emchar_dynarr *>; modify for <structure rune> change.
4053 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
4056 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
4057 <const Emchar *>; use `charc_string_displayed_columns' instead of
4058 `emchar_string_displayed_columns'.
4059 (tty_output_display_block): Use <Charc_dynarr *> instead of
4060 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
4061 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
4062 (tty_output_charc_dynarr_dynarr): New variable; renamed from
4063 `tty_output_emchar_dynarr_dynarr'.
4064 (tty_output_charc_dynarr): New function; delete
4065 `tty_output_charc_dynarr'.
4067 * redisplay-output.c (compare_runes): Modify for `struct rune'.
4068 (redisplay_output_layout): Use <Charc_dynarr *> instead of
4069 <Emchar_dynarr *> for buf; use
4070 `convert_bufbyte_string_into_charc_dynarr' instead of
4071 `convert_bufbyte_string_into_emchar_dynarr'.
4073 * frame.c (title_string_charc_dynarr): New variable; renamed from
4074 `title_string_emchar_dynarr'.
4075 (generate_title_string): Use `title_string_charc_dynarr' instead
4076 of `title_string_emchar_dynarr'; use
4077 `convert_charc_string_into_malloced_string' instead of
4078 `convert_emchar_string_into_malloced_string'.
4079 (init_frame): Use `title_string_charc_dynarr' instead of
4080 `title_string_emchar_dynarr'.
4083 - Include "character.h".
4084 (struct console_methods): Use <const Charc *> instead of <const
4085 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
4086 <Emchar_dynarr *> in output_string_method.
4088 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
4091 * console-stream.c (stream_text_width): Use <const Charc *>
4092 instead of <const Emchar *>.
4094 * character.h (Charc_dynarr): New type.
4096 * char-ucs.h (structure Charc): New structure; define new type
4099 * char-lb.h (DECODE_CHAR): New inline function.
4100 (encode_char_1): New inline function.
4101 (ENCODE_CHAR): New macro.
4102 (structure Charc): New structure; define new type `Charc'.
4104 * char-1byte.h (Vcharset_control_1): New macro.
4105 (Vcharset_latin_iso8859_1): New macro.
4106 (DECODE_CHAR): New inline function.
4107 (encode_char_1): New inline function.
4108 (ENCODE_CHAR): New macro.
4109 (structure Charc): New structure; define new type `Charc'.
4111 * insdel.c (find_charsets_in_charc_string): New function; delete
4112 `find_charsets_in_emchar_string'.
4113 (charc_string_displayed_columns): New function; delete
4114 `emchar_string_displayed_columns'.
4115 (convert_bufbyte_string_into_charc_dynarr): New function; delete
4116 `convert_bufbyte_string_into_emchar_dynarr'.
4117 (convert_charc_string_into_bufbyte_dynarr): New function; delete
4118 `convert_charc_string_into_bufbyte_dynarr'.
4119 (convert_charc_string_into_malloced_string): New function; delete
4120 `convert_charc_string_into_malloced_string'.
4122 * buffer.h (find_charsets_in_charc_string): New prototype; delete
4123 `find_charsets_in_emchar_string'.
4124 (charc_string_displayed_columns): New prototype; delete
4125 `emchar_string_displayed_columns'.
4126 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
4127 `convert_charc_string_into_bufbyte_dynarr'.
4128 (convert_charc_string_into_malloced_string): New prototype; delete
4129 `convert_charc_string_into_malloced_string'.
4131 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4133 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4135 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4137 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4139 * char-ucs.h: Use <short> for <Charset_ID>.
4141 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4144 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4146 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4149 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4151 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4153 (Qmorohashi_daikanwa): New variable.
4154 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4155 for `morohashi-daikanwa' attribute.
4156 (Fget_char_attribute): Likewise.
4157 (Fput_char_attribute): Likewise.
4158 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4159 has the same value of `ideograph-daikanwa'.
4160 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4161 (vars_of_mule_charset): Setup
4162 `Vcharacter_morohashi_daikanwa_table'.
4164 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4166 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4168 (add_charset_to_list_mapper): Add `key' instead of
4169 `XCHARSET_NAME (value)' to return aliases.
4171 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4173 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4175 (Vcharacter_ideographic_strokes_table): New variable.
4176 (Qideographic_radical): New variable.
4177 (Qideographic_strokes): New variable.
4178 (Fchar_attribute_alist): Use
4179 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4180 attribute; use `Vcharacter_ideographic_strokes_table' for
4181 `ideographic-strokes' attribute.
4182 (Fget_char_attribute): Likewise.
4183 (Fput_char_attribute): Likewise.
4184 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4185 `ideographic-strokes'.
4186 (vars_of_mule_charset): Setup
4187 `Vcharacter_ideographic_radical_table' and
4188 `Vcharacter_ideographic_strokes_table'.
4190 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4192 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4193 (Qtotal_strokes): New variable.
4194 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4195 `total-strokes' attribute.
4196 (Fget_char_attribute): Likewise.
4197 (Fput_char_attribute): Likewise.
4198 (syms_of_mule_charset): Add new symbol `total-strokes'.
4199 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4201 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4203 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4204 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4206 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4207 `->decomposition' attribute.
4208 (Fput_char_attribute): Likewise.
4209 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4211 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4213 * mule-charset.c (decoding_table_check_elements): New function.
4214 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4216 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4218 * mule-charset.c (Fset_charset_mapping_table): Use
4219 `put_char_ccs_code_point'.
4221 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4223 * mule-charset.c (decoding_table_put_char): New inline function.
4224 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4226 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4228 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4229 (XCHARSET_BYTE_SIZE): New macro.
4230 (decoding_table_remove_char): New inline function.
4231 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4232 `decoding_table_remove_char'.
4233 (remove_char_ccs): Use `decoding_table_remove_char'.
4234 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4236 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4238 * mule-charset.c (Vcharacter_name_table): New variable.
4239 (Qname): New variable.
4240 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4242 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4243 `Vcharacter_name_table' for `name' attribute.
4244 (Fremove_char_attribute): Use function `remove_char_ccs'.
4245 (put_char_ccs_code_point): New function.
4246 (remove_char_ccs): New function.
4247 (syms_of_mule_charset): Add new symbol `name'.
4248 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4250 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4252 * mule-charset.c (make_byte_table): Add new argument `older'.
4253 (make_char_id_table): Likewise.
4254 (copy_char_id_table): Comment out because it is not used.
4255 (put_char_id_table): Modify for `make_byte_table'.
4256 (Fput_char_attribute): Make encoding_table as older object;
4257 inherit older bit of `Vcharacter_composition_table'.
4258 (mark_charset): Don't mark `cs->encoding_table'.
4259 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4260 normal object; make `Vcharacter_composition_table' as an older
4261 object; delete staticpro for `Vcharacter_composition_table'; make
4262 `Vcharacter_variant_table' as a normal object.
4264 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4265 (mark_object): Don't check older object in UTF-2000.
4267 * lrecord.h (struct lrecord_header): Add new member `older' in
4269 (set_lheader_implementation): Setup `SLI_header->older' in
4271 (set_lheader_older_implementation): New macro in UTF-2000.
4272 (OLDER_RECORD_P): New macro in UTF-2000.
4273 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4274 (alloc_older_lcrecord): New prototype in UTF-2000.
4275 (alloc_older_lcrecord_type): New macro in UTF-2000.
4277 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4279 * mule-charset.c (byte_table_description): Use
4280 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4281 (char_id_table_description): Delete bogus `, 1'.
4282 (Fget_char_attribute): Refer encoding_table of each coded-charset
4283 to get value of coded-charset attribute of a character.
4284 (Fput_char_attribute): Use `make_older_vector' instead of
4285 `make_vector'; use encoding_table of each coded-charset to store
4286 value of coded-charset attribute of a character.
4287 (Fremove_char_attribute): Use encoding_table of each coded-charset
4288 to store value of coded-charset attribute of a character.
4289 (mark_charset): Mark `cs->encoding_table'; don't mark
4290 `cs->decoding_table'.
4291 (charset_description): Add description of new member
4293 (make_charset): Initialize `encoding_table'.
4295 * char-ucs.h (struct Lisp_Charset): Add new member
4297 (CHARSET_ENCODING_TABLE): New macro.
4298 (XCHARSET_ENCODING_TABLE): New macro.
4299 (charset_code_point): New implementation.
4300 (encode_char_1): Likewise.
4302 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4303 (disksave_object_finalization_1): Call finalizers of
4304 `all_older_lcrecords' in UTF-2000.
4305 (make_older_vector): New function in UTF-2000.
4306 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4309 * lisp.h (make_older_vector): New prototype in UTF-2000.
4311 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4313 * lrecord.h (enum lrecord_type): Rename
4314 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4316 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4317 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4318 `get_char_code_table'.
4320 * mule-charset.c (mark_char_id_table): Renamed from
4321 `mark_char_code_table'.
4322 (char_id_table_equal): Renamed from `char_code_table_equal'.
4323 (char_id_table_hash): Renamed from `char_code_table_hash'.
4324 (make_char_id_table): Renamed from `make_char_code_table'.
4325 (copy_char_id_table): Renamed from `copy_char_code_table'.
4326 (get_char_id_table): Renamed from `get_char_code_table'.
4327 (put_char_id_table): Renamed from `put_char_code_table'.
4328 (to_char_id): Renamed from `to_char_code'.
4330 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4331 `Lisp_Char_Code_Table'.
4332 (char_id_table): Renamed from `char_code_table'.
4333 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4334 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4335 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4336 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4337 (get_char_id_table): Renamed from `get_char_code_table'.
4339 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4341 * lrecord.h (enum lrecord_type): Rename
4342 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4344 * mule-charset.c (mark_byte_table): Renamed from
4345 `mark_char_byte_table'.
4346 (byte_table_equal): Renamed from `char_byte_table_equal'.
4347 (byte_table_hash): Renamed from `byte_table_hash'.
4348 (make_byte_table): Renamed from `make_byte_table'.
4349 (copy_byte_table): Renamed from `copy_char_byte_table'.
4351 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4352 `Lisp_Char_Byte_Table'.
4353 (byte_table): Renamed from `char_byte_table'.
4354 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4355 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4356 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4357 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4359 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4361 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4362 (dfc_convert_to_internal_format): Likewise.
4364 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4365 * text-coding.c (Fcoding_system_alias_p): New function.
4366 * text-coding.c (Fcoding_system_aliasee): New function.
4367 * text-coding.c (append_suffix_to_symbol): New function.
4368 * text-coding.c (dangling_coding_system_alias_p): New function.
4369 * text-coding.c (Ffind_coding_system):
4370 * text-coding.c (Fcopy_coding_system):
4371 * text-coding.c (encode_coding_no_conversion):
4372 * text-coding.c (syms_of_file_coding):
4373 * text-coding.c (vars_of_file_coding):
4374 Rewrite coding system alias code.
4375 Allow nested aliases, like symbolic links.
4376 Allow redefinition of coding system aliases.
4377 Prevent existence of dangling coding system aliases.
4378 Eliminate convert_to_external_format.
4379 Eliminate convert_to_internal_format.
4381 * text-coding.c: Change enum eol_type to eol_type_t.
4383 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4385 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4386 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4388 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4389 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4391 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4393 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4394 `ideograph-daikanwa'.
4396 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4397 (Vcharset_ucs_bmp): Likewise.
4398 (Vcharset_mojikyo): Add new extern variable definition.
4399 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4400 (Vcharset_latin_iso8859_3): Likewise.
4401 (Vcharset_latin_iso8859_4): Likewise.
4402 (Vcharset_latin_iso8859_9): Likewise.
4403 (Vcharset_latin_viscii_lower): Likewise.
4404 (Vcharset_latin_viscii_upper): Likewise.
4405 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4406 `mojikyo' code-point is used to decode.
4407 (encode_char_2): New function [to convert `mojikyo' code-point to
4408 Mojikyo font encoding].
4409 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4410 (breakup_char_1): Likewise.
4411 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4413 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4415 * text-coding.c (Fmake_coding_system): Add document about
4416 `disable-composition' property.
4418 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4420 * text-coding.c (Qdisable_composition): New variable; delete
4422 (Fmake_coding_system): Add new property `disable-composite';
4423 delete property `composite'.
4424 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4425 instead of `!CODING_SYSTEM_COMPOSITE'.
4426 (syms_of_file_coding): Add new symbol `disable-composition';
4427 delete symbol `composite'.
4429 * file-coding.h (struct Lisp_Coding_System): Add
4430 `disable_composition'; delete `enable_composition'.
4431 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4432 `CODING_SYSTEM_COMPOSITE'.
4433 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4434 `XCODING_SYSTEM_COMPOSITE'.
4436 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4438 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4441 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4443 * text-coding.c (Qcomposite): New variable.
4444 (Fmake_coding_system): Add new property `composite'.
4445 (struct decoding_stream): Add `combined_char_count',
4446 `combined_chars' and `combining_table' in UTF-2000.
4447 (COMPOSE_FLUSH_CHARS): New macro.
4448 (COMPOSE_ADD_CHAR): New macro.
4449 (reset_decoding_stream): Reset `str->combined_char_count' and
4450 `str->combining_table' in UTF-2000.
4451 (decode_coding_iso2022): Modify for character-decomposition.
4452 (syms_of_file_coding): Add new symbol `composite'.
4454 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4456 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4457 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4458 of `Vcharacter_composition_table' if `->decomposition' property
4460 (Qlatin_tcvn5712): New variable.
4461 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4462 (complex_vars_of_mule_charset): Add new coded-charset
4465 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4467 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4469 * file-coding.h (struct Lisp_Coding_System): Add
4470 `enable_composition'.
4471 (CODING_SYSTEM_COMPOSITE): New macro.
4472 (XCODING_SYSTEM_COMPOSITE): New macro.
4474 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4476 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4478 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4480 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4481 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4483 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4485 * mule-charset.c (Vcharset_mojikyo): New variable.
4486 (Fdefine_char): Don't use coded-charset which does not have
4487 non-builtin character range to allocate character-id.
4488 (Qmojikyo): New variable.
4489 (syms_of_mule_charset): Add new symbol `mojikyo'.
4490 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4492 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4493 (LEADING_BYTE_MOJIKYO): New macro.
4494 (MIN_CHAR_MOJIKYO): New macro.
4495 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4496 (MAX_CHAR_MOJIKYO): New macro.
4498 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4500 * mule-charset.c (remove_char_attribute): Fixed.
4502 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4504 * mule-charset.c (remove_char_attribute): New function.
4505 (Fremove_char_attribute): New function.
4506 (encode_builtin_char_1): Comment out builtin-support for
4507 greek-iso8859-7 and cyrillic-iso8859-5.
4508 (Fdecode_char): Check `code' is an integer.
4509 (syms_of_mule_charset): Add `remove-char-attribute'.
4510 (MIN_CHAR_GREEK): Deleted.
4511 (MAX_CHAR_GREEK): Likewise.
4512 (MIN_CHAR_CYRILLIC): Likewise.
4513 (MAX_CHAR_CYRILLIC): Likewise.
4514 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4515 MAX_CHAR_GREEK for `greek-iso8859-7'.
4517 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4518 (MAX_CHAR_GREEK): Likewise.
4519 (MIN_CHAR_CYRILLIC): Likewise.
4520 (MAX_CHAR_CYRILLIC): Likewise.
4522 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4524 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4525 format is used without `ucs' property.
4526 (Fdecode_char): Fix problem with GR representation.
4527 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4528 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4530 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4532 * mule-charset.c (make_builtin_char): New function.
4533 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4534 (Fset_charset_mapping_table): Modify for new representation of
4536 (Fdecode_char): New function.
4537 (syms_of_mule_charset): Add new builtin function `decode-char' in
4540 * char-ucs.h (make_builtin_char): New prototype.
4541 (DECODE_CHAR): New inline function.
4542 (MAKE_CHAR): Use `DECODE_CHAR'.
4544 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4546 * text-coding.c (parse_charset_conversion_specs): Use
4547 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4549 (iso2022_designate): Likewise.
4551 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4552 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4554 * mule-charset.c (Vcharset_ucs): New variable.
4555 (print_charset): Change design; use `CHARSET_CHARS' and
4556 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4557 (make_charset): Change signature to specify `chars' and
4558 `dimension' instead of `type'.
4559 (range_charset_code_point): Modify for 256^n-set.
4560 (encode_builtin_char_1): Encode as `ucs' in default.
4561 (Fmake_charset): Modify for `make_charset'.
4562 (Fmake_reverse_direction_charset): Likewise.
4563 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4565 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4568 * char-ucs.h (Vcharset_ucs): New variable.
4569 (LEADING_BYTE_UCS): New macro.
4570 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4571 and `chars' to `unsigned short' from `unsigned int'.
4572 (CHARSET_TYPE): Deleted.
4573 (XCHARSET_TYPE): Deleted.
4575 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4577 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4579 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4580 (ENCODE_CHAR): New macro.
4582 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4584 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4585 to 0.14 (Kawachi-Katakami).
4587 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4589 * text-coding.c (char_encode_shift_jis): Modify for
4590 `charset_code_point'.
4591 (char_encode_iso2022): Likewise.
4593 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4594 (integer) instead of list of <Lisp_Object>s (integers) as the
4595 format of code-point of a coded-charset.
4596 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4597 (encode_builtin_char_1): New function; delete
4598 `split_builtin_char'.
4599 (charset_code_point): Return <int> instead of <Lisp_Object>.
4600 (Fsplit_char): Don't use `SPLIT_CHAR'.
4602 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4603 prototype for `split_builtin_char'.
4604 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4605 (charset_code_point): Likewise.
4606 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4607 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4609 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4611 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4612 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4614 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4618 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4619 (MAX_CHAR_OBS_94x94): Deleted.
4621 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4625 * char-ucs.h (MAX_CHAR_BMP): New macro.
4627 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4629 * text-coding.c: Sync with r21-2-24.
4631 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4633 * file-coding.c: Modify for UTF-2000.
4635 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4637 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4640 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4642 * mule-charset.c (split_builtin_char): Delete builtin support for
4643 `katakana-jisx0201'.
4644 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4645 BMP area in builtin representation.
4647 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4648 `Vcharset_katakana_jisx0201'.
4650 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4652 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4653 (Qisolated): New variable.
4654 (Qinitial): New variable.
4655 (Qmedial): New variable.
4656 (Qfinal): New variable.
4657 (Qvertical): New variable.
4658 (Qsmall): New variable.
4659 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4660 `Qvertical' and `Qsmall'.
4661 (Qmojikyo_pj_[1 .. 21]): New variable.
4662 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4663 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4664 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4667 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4669 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4670 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4671 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4673 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4675 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4676 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4678 (Qjapanese_jisx0208_1990): New variable.
4679 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4680 (complex_vars_of_mule_charset): Add new coded-charset
4681 `japanese-jisx0208-1990'.
4683 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4684 (MIN_CHAR_JIS_X0208_1990): New macro.
4685 (MAX_CHAR_JIS_X0208_1990): New macro.
4687 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4689 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4690 coded-charset is not found.
4692 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4694 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4695 (Fdefine_char): Use `Fmake_char'.
4697 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4699 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4700 (Vcharset_hiragana_jisx0208): Deleted.
4701 (Vcharset_katakana_jisx0208): Deleted.
4702 (Qideograph_daikanwa): New variable.
4703 (Qhiragana_jisx0208): Deleted.
4704 (Qkatakana_jisx0208): Deleted.
4705 (split_builtin_char): Split `ideograph-daikanwa'.
4706 (Fsplit_char): New implementation for UTF-2000.
4707 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4708 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4709 (complex_vars_of_mule_charset): Add new coded-charset
4710 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4711 `katakana-jisx0208'.
4713 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4714 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4715 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4716 (MIN_CHAR_DAIKANWA): New macro.
4717 (MAX_CHAR_DAIKANWA): New macro.
4719 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4721 * data.c (Fstring_to_number): Don't recognize floating point if
4724 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4726 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4728 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4730 * mule-charset.c (Qsquare): New variable.
4731 (to_char_code): Add `Qsquare'.
4732 (syms_of_mule_charset): Add new symbol `square'.
4734 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4736 * mule-charset.c (Qcircle): New variable.
4737 (to_char_code): Add `Qcircle'.
4738 (syms_of_mule_charset): Add new symbol `circle'.
4740 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4742 * mule-charset.c (Qfont): New variable.
4743 (to_char_code): Add `Qfont'.
4744 (syms_of_mule_charset): Add new symbol `font'.
4746 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4748 * mule-charset.c (Qsub): New variable.
4749 (to_char_code): Add `Qsub'.
4750 (syms_of_mule_charset): Add new symbol `sub'.
4752 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4754 * mule-charset.c (Fput_char_attribute): Convert each element of
4755 VALUE to GL position if ATTRIBUTE is a GR-set,
4757 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4759 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4760 coded-charset is a GR-set.
4762 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4764 * mule-charset.c (Fput_char_attribute): Check each element of
4765 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4767 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4769 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4771 (Qethiopic_ucs): New variable in UTF-2000.
4772 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4773 (complex_vars_of_mule_charset): Add new coded-charset
4774 `ethiopic-ucs' in UTF-2000.
4776 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4777 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4779 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4781 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4783 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4788 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4790 * mule-charset.c (Vcharacter_variant_table): New variable.
4791 (Q_ucs): New variable.
4792 (Fchar_variants): New function.
4793 (Fput_char_attribute): Register `->ucs' value to
4794 `Vcharacter_variant_table'.
4795 (syms_of_mule_charset): Add new function `char-variants' and new
4797 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4799 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4801 * mule-charset.c (get_char_code_table): Allow negative character
4803 (put_char_code_table): Likewise.
4804 (Vcharacter_composition_table): New variable.
4805 (Q_decomposition): New variable.
4806 (Qwide): New variable.
4807 (Qnarrow): New variable.
4808 (Qcompat): New variable.
4809 (QnoBreak): New variable.
4810 (Qsuper): New variable.
4811 (Qfraction): New variable.
4812 (to_char_code): New function.
4813 (Fget_composite_char): New function.
4814 (Fput_char_attribute): Register `->decomposition' value to
4815 `Vcharacter_composition_table'.
4816 (syms_of_mule_charset): Add new function `get-composite-char', new
4817 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4818 `super' and `fraction'.
4819 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4821 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4823 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4824 character; copy the return value.
4826 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4828 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4830 * mule-charset.c (range_charset_code_point): Must use make_int.
4831 (split_builtin_char): New function.
4833 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4835 * mule-charset.c (char_byte_table): Change name from
4836 "char-code-table" to "char-byte-table".
4837 (mark_char_code_table): New function.
4838 (char_code_table_equal): New function.
4839 (char_code_table_hash): New function.
4840 (char_code_table_description): New constant.
4841 (char_code_table): New type.
4842 (make_char_code_table): New function.
4843 (copy_char_code_table): New function.
4844 (get_char_code_table): Modify for `char_code_table' type.
4845 (put_char_code_table): Likewise.
4846 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4849 * char-ucs.h (char_code_table): New type.
4850 (XCHAR_CODE_TABLE): New macro.
4851 (XSETCHAR_CODE_TABLE): New macro.
4852 (CHAR_CODE_TABLE_P): New macro.
4853 (GC_CHAR_CODE_TABLE_P): New macro.
4854 (struct Lisp_Char_Code_Table): New structure.
4856 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4858 * mule-charset.c (Fmake_charset): Setup byte_offset for
4861 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4863 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4866 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4868 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4871 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4873 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4874 charset, it is regarded as a charset.
4875 (put_char_attribute): New function in UTF-2000.
4876 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4877 charset, mapping-table of the charset is modified.
4878 (Fdefine_char): New function in UTF-2000.
4879 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4880 `Fput_char_attribute'.
4881 (syms_of_mule_charset): Add new function `define-char' and new
4882 symbol `ucs' in UTF-2000.
4883 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4885 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4887 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4888 non-UTF-2000 configuration.
4890 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4892 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4893 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4895 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4897 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4898 (Fset_charset_mapping_table): Likewise.
4900 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4901 (CHARSET_ENCODING_TABLE): Delete.
4902 (XCHARSET_ENCODING_TABLE): Delete.
4903 (charset_code_point): New interface.
4905 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4907 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4908 instead of `charset_get_byte1' and `charset_get_byte2'.
4910 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4911 (charset_get_byte2): Deleted.
4913 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4915 * char-ucs.h (SPLIT_CHAR): New inline function.
4916 (breakup_char_1): Use `SPLIT_CHAR'.
4918 * mule-charset.c (range_charset_code_point): New function.
4919 (charset_code_point): New function.
4921 * char-ucs.h (range_charset_code_point): New interface.
4922 (breakup_char_1): Use `range_charset_code_point'.
4924 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4926 * mule-charset.c (Fmake_charset): Delete unused local variable
4929 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4930 (breakup_char_1): Find a charset and code-point in
4931 `Vcharacter_attribute_table'.
4933 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4935 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4938 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4940 * mule-charset.c (Vcharacter_attribute_table): New variable.
4941 (Fchar_attribute_alist): New function.
4942 (Fget_char_attribute): New function.
4943 (Fput_char_attribute): New function.
4944 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4946 (syms_of_mule_charset): Add new function `char-attribute-alist',
4947 `get-char-attribute' and `put-char-attribute'.
4948 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4950 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4952 * mule-charset.c (Fmake_charset): Just use
4953 `get_unallocated_leading_byte'.
4955 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4956 sets; don't use final-byte based number for private sets.
4958 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4960 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4963 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4965 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4968 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4970 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4971 of `CHAR_LEADING_BYTE' in UTF-2000.
4973 * insdel.c (find_charsets_in_bufbyte_string): Use
4974 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4975 (find_charsets_in_emchar_string): Likewise.
4977 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4978 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4980 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4981 (CHAR_CHARSET_ID): New macro.
4983 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4985 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4986 charset-id - MIN_LEADING_BYTE.
4987 (put_char_table): Likewise.
4989 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4991 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4992 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4993 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4994 (CHARSET_ID_OFFSET): New macro.
4995 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4996 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4997 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4998 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
5000 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
5002 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
5003 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
5004 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
5005 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
5006 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
5008 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5010 * mule-charset.c (next_allocated_leading_byte): New variable in
5012 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
5013 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
5014 (get_unallocated_leading_byte): Simply use
5015 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
5016 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
5019 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
5020 (MAX_LEADING_BYTE_PRIVATE): New macro.
5021 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
5022 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
5024 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5026 * mule-charset.c (Fmake_charset): Allocate final-byte based
5027 charset-id for 94-set, 96-set and 94x94-set.
5029 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5031 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
5033 (Fmake_charset): Likewise.
5034 (complex_vars_of_mule_charset): Modify the font registry of
5035 `ucs-bmp' not to match `Ethiopic-Unicode'.
5037 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5039 * mule-charset.c (complex_vars_of_mule_charset): Add font
5040 registory of `ucs-bmp'.
5042 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5044 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
5045 coded-charsets in `default-coded-charset-priority-list' when
5046 breaking up a character.
5048 * mule-charset.c (Vcharset_latin_viscii): New variable.
5049 (Qlatin_viscii): New variable.
5050 (make_charset): Don't use `decoding_table'.
5051 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
5053 (Fset_charset_mapping_table): New implementation.
5054 (syms_of_mule_charset): Add new symbol `latin-viscii'.
5055 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
5056 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
5057 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
5058 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
5059 charset `latin_viscii'.
5061 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
5062 (CHARSET_TYPE_94X94): Change to 1 from 2.
5063 (CHARSET_TYPE_96): Change to 2 from 1.
5064 (CHARSET_TYPE_128): New macro.
5065 (CHARSET_TYPE_128X128): Change to 5 from 4.
5066 (CHARSET_TYPE_256): New macro.
5067 (CHARSET_TYPE_256X256): Change to 7 from 5.
5068 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
5070 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
5072 * text-coding.c (char_encode_shift_jis): Refer
5073 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
5074 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
5076 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
5077 (char_byte_table_equal): New function in UTF-2000.
5078 (char_byte_table_hash): New function in UTF-2000.
5079 (char_byte_table_description): New constant in UTF-2000.
5080 (char_byte_table): New type in UTF-2000.
5081 (make_char_byte_table): New function in UTF-2000.
5082 (copy_char_byte_table): New function in UTF-2000.
5083 (make_char_code_table): New macro in UTF-2000.
5084 (get_char_code_table): New function in UTF-2000.
5085 (put_char_code_table): New function in UTF-2000.
5086 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
5087 (charset_description): Add setting in UTF-2000.
5088 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
5089 `CHARSET_TO_BYTE1_TABLE(cs)'.
5090 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
5091 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
5092 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
5093 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
5094 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
5095 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
5096 `CHARSET_TO_BYTE2_TABLE(cs)'.
5098 * char-ucs.h (char_byte_table): New type.
5099 (XCHAR_BYTE_TABLE): New macro.
5100 (XSETCHAR_BYTE_TABLE): New macro.
5101 (CHAR_BYTE_TABLE_P): New macro.
5102 (GC_CHAR_BYTE_TABLE_P): New macro.
5103 (struct Lisp_Char_Byte_Table): New structure.
5104 (get_char_code_table): New interface.
5105 (Emchar_to_byte_table): Deleted.
5106 (get_byte_from_character_table): Deleted.
5107 (struct Lisp_Charset): Add `encoding_table'; delete
5108 `to_byte1_table' and `to_byte2_table'.
5109 (CHARSET_ENCODING_TABLE): New macro.
5110 (CHARSET_TO_BYTE1_TABLE): Deleted.
5111 (CHARSET_TO_BYTE2_TABLE): Deleted.
5112 (XCHARSET_ENCODING_TABLE): New macro.
5113 (XCHARSET_TO_BYTE1_TABLE): Deleted.
5114 (XCHARSET_TO_BYTE2_TABLE): Deleted.
5116 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5118 * mule-charset.c (syms_of_mule_charset): Delete charset alias
5119 `vietnamese-viscii-*'.
5121 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5123 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
5124 (Qvietnamese_viscii_upper): New variable.
5125 (Fdefine_charset_alias): New function.
5126 (syms_of_mule_charset): Add new function `define-charset-alias'.
5127 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5128 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5131 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5133 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5134 (MAX_CHAR_OBS_94x94): New macro.
5135 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5138 * mule-charset.c (put_byte_from_character_table): Change unit size
5140 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5142 (Fmake_reverse_direction_charset): Modify dummy argument of
5143 `make_charset' for non-UTF-2000 environment.
5145 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5147 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5149 * mule-charset.c (destroy_byte_from_character_table): New macro.
5150 (latin_jisx0201_to_ucs): Deleted.
5151 (latin_iso8859_2_to_ucs): Deleted.
5152 (latin_iso8859_3_to_ucs): Deleted.
5153 (latin_iso8859_4_to_ucs): Deleted.
5154 (latin_iso8859_9_to_ucs): Deleted.
5155 (latin_viscii_lower_to_ucs): Deleted.
5156 (latin_viscii_upper_to_ucs): Deleted.
5157 (mark_charset): Mark `cs->decoding_table'.
5158 (Fcharset_mapping_table): Fix DOC-string.
5159 (Fset_charset_mapping_table): New function.
5160 (syms_of_mule_charset): Add nwe function
5161 `set-charset-mapping-table'.
5162 (complex_vars_of_mule_charset): Don't setup and use
5165 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5167 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5170 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5172 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5173 (Vcharset_katakana_jisx0208): New variable.
5174 (Qhiragana_jisx0208): New variable.
5175 (Qkatakana_jisx0208): New variable.
5176 (make_charset): Add new argument `byte_offset'.
5177 (charset_get_byte1): Modify for new coded-charset definition; use
5178 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5179 `XCHARSET_BYTE_OFFSET'.
5180 (Fmake_charset): Modify for `make_charset'.
5181 (Fmake_reverse_direction_charset): Likewise.
5182 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5183 `katakana-jisx0208'.
5184 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5185 `.' in font registry of charset `katakana-jisx0201',
5186 `latin-jisx0201', `vietnamese-viscii-lower' and
5187 `vietnamese-viscii-upper'; modify DOC-string of charset
5188 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5189 registry of charset `japanese-jisx0208' not to use font for JIS
5190 X0208:1990; add new charset `hiragana-jisx0208' and
5191 `katakana-jisx0208'.
5193 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5194 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5195 (struct Lisp_Charset): Add `byte_offset'.
5196 (CHARSET_BYTE_OFFSET): New macro.
5197 (XCHARSET_UCS_MIN): New macro.
5198 (XCHARSET_UCS_MAX): New macro.
5199 (XCHARSET_CODE_OFFSET): New macro.
5200 (XCHARSET_BYTE_OFFSET): New macro.
5201 (MIN_CHAR_HIRAGANA): New macro.
5202 (MAX_CHAR_HIRAGANA): New macro.
5203 (MIN_CHAR_KATAKANA): New macro.
5204 (MAX_CHAR_KATAKANA): New macro.
5205 (MAKE_CHAR): Modify for new coded-charset definition; use
5206 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5207 `XCHARSET_BYTE_OFFSET'.
5209 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5211 * mule-charset.c (CHAR96): Deleted.
5212 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5214 (latin_iso8859_2_to_ucs): Likewise.
5215 (latin_iso8859_3_to_ucs): Likewise.
5216 (latin_iso8859_4_to_ucs): Likewise.
5217 (latin_iso8859_9_to_ucs): Likewise.
5218 (latin_viscii_lower_to_ucs): Likewise.
5219 (latin_viscii_upper_to_ucs): Likewise.
5220 (latin_tcvn5712_to_ucs): Commented out.
5221 (make_charset): Change type of argument `decoding_table' from
5222 <Emchar*> to <Lisp_Object> [vector of characters].
5223 (Fmake_charset): Modify for `make_charset'.
5224 (Fmake_reverse_direction_charset): Likewise.
5225 (Fcharset_mapping_table): New function in UTF-2000.
5226 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5228 (complex_vars_of_mule_charset): Modify for type change of
5229 `*_to_ucs'; modify for `make_charset'.
5231 * char-ucs.h (struct Lisp_Charset): Change type of
5232 `decoding_table' from <Emchar*> to <Lisp_Object>.
5233 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5235 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5237 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5238 error with non-UTF-2000-Mule.
5240 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5242 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5244 (Vcharset_chinese_cns11643_4): Likewise.
5245 (Vcharset_chinese_cns11643_5): Likewise.
5246 (Vcharset_chinese_cns11643_6): Likewise.
5247 (Vcharset_chinese_cns11643_7): Likewise.
5248 (Qchinese_cns11643_3): Likewise.
5249 (Qchinese_cns11643_4): Likewise.
5250 (Qchinese_cns11643_5): Likewise.
5251 (Qchinese_cns11643_6): Likewise.
5252 (Qchinese_cns11643_7): Likewise.
5253 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5254 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5255 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5256 (complex_vars_of_mule_charset): Likewise.
5258 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5260 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5262 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5263 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5265 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5267 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5269 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5270 (breakup_char_1): Likewise.
5272 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5273 one of them includes the specified character.
5275 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5277 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5279 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5281 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5283 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5285 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5286 definition for non-UTF-2000 Mule.
5287 (latin_iso8859_3_to_ucs): Likewise.
5288 (latin_iso8859_4_to_ucs): Likewise.
5289 (latin_iso8859_9_to_ucs): Likewise.
5290 (latin_jisx0201_to_ucs): Likewise.
5291 (MIN_CHAR_THAI): Likewise.
5292 (MAX_CHAR_THAI): Likewise.
5293 (MIN_CHAR_GREEK): Likewise.
5294 (MAX_CHAR_GREEK): Likewise.
5295 (MIN_CHAR_HEBREW): Likewise.
5296 (MAX_CHAR_HEBREW): Likewise.
5297 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5298 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5299 (MIN_CHAR_CYRILLIC): Likewise.
5300 (MAX_CHAR_CYRILLIC): Likewise.
5302 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5304 * char-ucs.h (breakup_char_1): Use
5305 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5306 thai-tis620 and katakana-jisx0201 area.
5308 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5310 * char-ucs.h (breakup_char_1): Use
5311 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5314 * text-coding.c (reset_encoding_stream): Fixed.
5315 (char_encode_ucs4): Delete `& 255'.
5317 * char-ucs.h (breakup_char_1): Use
5318 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5320 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5322 * file-coding.c (Fmake_coding_system): Don't set up
5323 `codesys->fixed.size'.
5324 (encode_coding_no_conversion): Don't refer
5325 `str->codesys->fixed.size'.
5327 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5329 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5330 (latin_a_char_to_byte1): Deleted.
5331 (latin_a_char_to_byte2): Deleted.
5333 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5335 * mule-charset.c (make_charset): Add new argument `ucs_min',
5336 `ucs_max' and `code_offset'.
5337 (charset_get_byte1): New implementation [delete specific charset
5338 depended implementations].
5339 (Fmake_charset): Modify for `make_charset'.
5340 (Fmake_reverse_direction_charset): Likewise.
5341 (complex_vars_of_mule_charset): Likewise.
5343 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5345 (CHARSET_UCS_MIN): New macro.
5346 (CHARSET_UCS_MAX): New macro.
5347 (CHARSET_CODE_OFFSET): New macro.
5348 (MAKE_CHAR): Delete charset depended definitions [except
5351 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5353 * char-ucs.h (breakup_char_1): Use
5354 `Vdefault_coded_charset_priority_list' for C0-Controls,
5355 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5357 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5359 * char-ucs.h (charset_get_byte1): New function.
5360 (XCHARSET_GET_BYTE1): Deleted.
5361 (charset_get_byte2): New function.
5362 (XCHARSET_GET_BYTE2): Deleted.
5363 (Vdefault_coded_charset_priority_list): New external variable.
5364 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5365 `Vdefault_preferred_coded_charset_list'.
5367 * mule-charset.c (charset_get_byte1): New function.
5368 (charset_get_byte2): New function.
5369 (Vdefault_coded_charset_priority_list): New variable.
5370 (vars_of_mule_charset): Add new variable
5371 `default-coded-charset-priority-list'.
5373 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5375 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5376 (XCHARSET_GET_BYTE2): New inline function.
5377 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5378 `XCHARSET_GET_BYTE2'.
5380 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5382 * mule-charset.c (make_charset): Initialize
5383 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5384 NULL if table is not defined.
5386 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5388 * text-coding.c (char_encode_shift_jis): Use
5389 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5390 `ucs_to_latin_jisx0201'.
5392 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5393 (ucs_to_latin_iso8859_2): Deleted.
5394 (ucs_to_latin_iso8859_3): Deleted.
5395 (ucs_to_latin_iso8859_4): Deleted.
5396 (ucs_to_latin_iso8859_9): Deleted.
5397 (ucs_to_latin_viscii_lower): Deleted.
5398 (ucs_to_latin_viscii_upper): Deleted.
5399 (ucs_to_latin_tcvn5712): Deleted.
5400 (make_charset): Add new argument `decoding_table'; set up
5401 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5402 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5403 `decoding_table' is defined in UTF-2000.
5404 (Fmake_charset): Modify for `make_charset'.
5405 (Fmake_reverse_direction_charset): Likewise.
5406 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5407 and `GENERATE_96_SET'.
5409 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5410 (ucs_to_latin_jisx0201): Deleted.
5411 (latin_iso8859_2_to_ucs): Deleted.
5412 (ucs_to_latin_iso8859_2): Deleted.
5413 (latin_iso8859_3_to_ucs): Deleted.
5414 (ucs_to_latin_iso8859_3): Deleted.
5415 (latin_iso8859_4_to_ucs): Deleted.
5416 (ucs_to_latin_iso8859_4): Deleted.
5417 (latin_iso8859_9_to_ucs): Deleted.
5418 (ucs_to_latin_iso8859_9): Deleted.
5419 (latin_viscii_lower_to_ucs): Deleted.
5420 (ucs_to_latin_viscii_lower): Deleted.
5421 (latin_viscii_upper_to_ucs): Deleted.
5422 (ucs_to_latin_viscii_upper): Deleted.
5423 (struct Lisp_Charset): Renamed `encoding_table' to
5424 `to_byte1_table'; add `to_byte2_table'.
5425 (CHARSET_DECODING_TABLE): New macro.
5426 (CHARSET_TO_BYTE1_TABLE): New macro.
5427 (CHARSET_TO_BYTE2_TABLE): New macro.
5428 (XCHARSET_DECODING_TABLE): New macro.
5429 (XCHARSET_TO_BYTE1_TABLE): New macro.
5430 (XCHARSET_TO_BYTE2_TABLE): New macro.
5431 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5433 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5434 don't use `ucs_to_*' tables.
5436 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5438 * text-coding.c (Fmake_coding_system): Don't set up
5439 `codesys->fixed.size'.
5440 (encode_coding_no_conversion): Use `if' instead of `switch'.
5442 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5444 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5446 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5447 (Fmake_charset): Modify for `make_charset'.
5448 (Fmake_reverse_direction_charset): Likewise.
5449 (complex_vars_of_mule_charset): Likewise.
5451 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5453 * text-coding.c (char_encode_shift_jis): Use table
5454 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5456 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5458 * text-coding.c (text_encode_generic): Use `if' instead of
5460 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5463 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5465 * text-coding.c (encode_coding_sjis): Deleted.
5466 (char_encode_shift_jis): New function.
5467 (char_finish_shift_jis): New function.
5468 (reset_encoding_stream): Set up `encode_char' and `finish' for
5469 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5470 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5471 (char_encode_utf8): Treat `eol_type'.
5473 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5475 * file-coding.c (decode_coding_iso2022): Use
5476 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5478 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5480 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5483 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5485 * char-lb.h (CHAR_COLUMNS): New macro.
5487 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5489 * text-coding.c (char_encode_ucs4): New function.
5490 (char_finish_ucs4): New function.
5491 (encode_coding_ucs4): Deleted.
5492 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5493 (text_encode_generic): Delete local variable `charset' and `half'.
5494 (ucs_to_mule_table): Deleted.
5495 (mule_to_ucs_table): Deleted.
5496 (Fset_ucs_char): Deleted.
5497 (ucs_to_char): Deleted.
5498 (Fucs_char): Deleted.
5499 (Fset_char_ucs): Deleted.
5500 (Fchar_ucs): Deleted.
5501 (decode_ucs4): Deleted.
5502 (mule_char_to_ucs4): Deleted.
5503 (encode_ucs4): Deleted.
5504 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5505 (decode_coding_utf8): Likewise.
5506 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5507 (char_encode_iso2022): Fixed.
5508 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5509 `Fset_char_ucs' and `Fchar_ucs'.
5510 (complex_vars_of_file_coding): Don't initialize
5511 `ucs_to_mule_table'.
5513 * objects-tty.c (tty_initialize_font_instance): Don't use
5516 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5519 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5520 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5522 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5523 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5524 (emchar_string_displayed_columns): Likewise.
5526 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5527 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5528 (string_column_at_point): Likewise.
5529 (Fmove_to_column): Likewise.
5531 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5532 `encoding_table' and `decoding_table'.
5533 (CHARSET_REP_BYTES): Deleted.
5534 (XCHARSET_REP_BYTES): Deleted.
5535 (XCHARSET_COLUMNS): Deleted.
5536 (CHAR_COLUMNS): New macro.
5537 (lookup_composite_char): Deleted unconditionally.
5538 (composite_char_string): Likewise.
5540 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5542 * char-ucs.h (Emchar_to_byte_table): New type.
5543 (get_byte_from_character_table): New function interface.
5544 (Vcharset_latin_jisx0201): New variable.
5545 (latin_jisx0201_to_ucs): New variable.
5546 (ucs_to_latin_jisx0201): New variable.
5547 (Vcharset_latin_iso8859_2): New variable.
5548 (latin_iso8859_2_to_ucs): New variable.
5549 (ucs_to_latin_iso8859_2): New variable.
5550 (Vcharset_latin_iso8859_3): New variable.
5551 (latin_iso8859_3_to_ucs): New variable.
5552 (ucs_to_latin_iso8859_3): New variable.
5553 (Vcharset_latin_iso8859_4): New variable.
5554 (latin_iso8859_4_to_ucs): New variable.
5555 (ucs_to_latin_iso8859_4): New variable.
5556 (Vcharset_latin_iso8859_9): New variable.
5557 (latin_iso8859_9_to_ucs): New variable.
5558 (ucs_to_latin_iso8859_9): New variable.
5559 (Vcharset_latin_viscii_lower): New variable.
5560 (latin_viscii_lower_to_ucs): New variable.
5561 (ucs_to_latin_viscii_lower): New variable.
5562 (Vcharset_latin_viscii_upper): New variable.
5563 (latin_viscii_upper_to_ucs): New variable.
5564 (ucs_to_latin_viscii_upper): New variable.
5565 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5566 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5567 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5568 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5569 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5570 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5571 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5572 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5573 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5574 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5576 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5577 (Vcharset_latin_viscii_upper): New variable.
5578 (make_byte_from_character_table): New function.
5579 (put_byte_from_character_table): New function.
5580 (get_byte_from_character_table): New function.
5581 (CHAR96): New macro.
5582 (ucs_to_latin_jisx0201): New variable.
5583 (latin_jisx0201_to_ucs): New variable.
5584 (ucs_to_latin_iso8859_2): New variable.
5585 (latin_iso8859_2_to_ucs): New variable.
5586 (ucs_to_latin_iso8859_3): New variable.
5587 (latin_iso8859_3_to_ucs): New variable.
5588 (ucs_to_latin_iso8859_4): New variable.
5589 (latin_iso8859_4_to_ucs): New variable.
5590 (ucs_to_latin_iso8859_9): New variable.
5591 (latin_iso8859_9_to_ucs): New variable.
5592 (ucs_to_latin_viscii_lower): New variable.
5593 (latin_viscii_lower_to_ucs): New variable.
5594 (ucs_to_latin_viscii_upper): New variable.
5595 (latin_viscii_upper_to_ucs): New variable.
5596 (ucs_to_latin_tcvn5712): New variable.
5597 (latin_tcvn5712_to_ucs): New variable.
5598 (Qlatin_viscii_lower): New variable.
5599 (Qlatin_viscii_upper): New variable.
5600 (syms_of_mule_charset): Set up new symbol
5601 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5602 (complex_vars_of_mule_charset): Set up new charset
5603 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5604 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5605 `ucs_to_<CHARSET>' tables.
5607 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5609 * text-coding.c: New file.
5611 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5613 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5615 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5616 (MAKE_CHAR): Modify for `ucs-bmp'.
5617 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5618 non-MULE characters of BMP.
5620 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5622 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5625 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5628 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5629 - Include character.h for `CHAR_ASCII_P'.
5631 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5633 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5634 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5636 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5637 (BYTE_C0_P): Likewise.
5638 (BYTE_C1_P): Likewise.
5639 (Lstream_get_emchar_1): Likewise.
5640 (Lstream_fput_emchar): Likewise.
5641 (Lstream_funget_emchar): Likewise.
5642 (copy_internal_to_external): Likewise.
5643 (copy_external_to_internal): Likewise.
5645 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5646 (BYTE_C0_P): Likewise.
5647 (BYTE_C1_P): Likewise.
5648 (Lstream_get_emchar_1): Likewise.
5649 (Lstream_fput_emchar): Likewise.
5650 (Lstream_funget_emchar): Likewise.
5651 (copy_internal_to_external): Likewise.
5652 (copy_external_to_internal): Likewise.
5654 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5655 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5657 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5658 (BYTE_ASCII_P): Moved to mb-1byte.h.
5660 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5662 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5664 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5665 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5666 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5667 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5668 (VALIDATE_CHARPTR_FORWARD): Likewise.
5669 (simple_charptr_emchar): Moved to mb-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): Moved to mb-*byte.h.
5676 (set_charptr_emchar): Likewise.
5677 (charptr_copy_char): Likewise.
5679 * mb-1byte.h, mb-multibyte.h: New files.
5681 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5683 * mb-utf-8.h (MULTIBYTE): New macro.
5684 (MAX_EMCHAR_LEN): Moved from buffer.h.
5685 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5687 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5689 * mb-lb.h, multibyte.h: New files.
5691 * char-1byte.h (Charset_ID): Moved from buffer.h.
5692 (MIN_LEADING_BYTE): Likewise.
5693 (LEADING_BYTE_ASCII): Likewise.
5694 (NUM_LEADING_BYTES): Likewise.
5695 (CHARSETP): Likewise.
5696 (CHARSET_BY_LEADING_BYTE): Likewise.
5697 (XCHARSET_LEADING_BYTE): Likewise.
5698 (XCHARSET_GRAPHIC): Likewise.
5699 (XCHARSET_COLUMNS): Likewise.
5700 (XCHARSET_DIMENSION): Likewise.
5701 (CHAR_CHARSET): Likewise.
5702 (CHAR_LEADING_BYTE): Likewise.
5703 (BREAKUP_CHAR): Likewise.
5704 (Vcharset_ascii): Likewise.
5706 * buffer.h: Include multibyte.h unconditionally.
5707 (VALID_CHARPTR_P): Moved to multibyte.h.
5708 (ASSERT_VALID_CHARPTR): Likewise.
5709 (REAL_INC_CHARPTR): Likewise.
5710 (REAL_INC_CHARBYTIND): Likewise.
5711 (REAL_DEC_CHARPTR): Likewise.
5712 (INC_CHARPTR): Likewise.
5713 (INC_CHARBYTIND): Likewise.
5714 (DEC_CHARPTR): Likewise.
5715 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5716 (VALIDATE_CHARPTR_FORWARD): Likewise.
5717 (charptr_n_addr): Likewise.
5718 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5719 (simple_charptr_emchar): Moved to multibyte.h.
5720 (simple_set_charptr_emchar): Likewise.
5721 (simple_charptr_copy_char): Likewise.
5722 (non_ascii_charptr_emchar): Likewise.
5723 (non_ascii_set_charptr_emchar): Likewise.
5724 (non_ascii_charptr_copy_char): Likewise.
5725 (charptr_emchar): Likewise.
5726 (set_charptr_emchar): Likewise.
5727 (charptr_copy_char): Likewise.
5728 (charptr_emchar_n): Likewise.
5729 (Charset_ID): Moved to char-1byte.h.
5730 (Vcharset_ascii): Likewise.
5731 (CHAR_CHARSET): Likewise.
5732 (CHAR_LEADING_BYTE): Likewise.
5733 (LEADING_BYTE_ASCII): Likewise.
5734 (NUM_LEADING_BYTES): Likewise.
5735 (MIN_LEADING_BYTE): Likewise.
5736 (CHARSETP): Likewise.
5737 (CHARSET_BY_LEADING_BYTE): Likewise.
5738 (XCHARSET_LEADING_BYTE): Likewise.
5739 (XCHARSET_GRAPHIC): Likewise.
5740 (XCHARSET_COLUMNS): Likewise.
5741 (XCHARSET_DIMENSION): Likewise.
5742 (BREAKUP_CHAR): Likewise.
5744 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5746 * character.h: Add document about interface for characters.
5748 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5749 (MAKE_CHAR): Delete comment about
5750 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5751 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5752 (BREAKUP_CHAR): Modify name of arguments.
5753 (CHAR_CHARSET): Modify name of argument.
5755 * buffer.h: Delete document about Emchar accessors.
5757 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5759 * character.h (CHAR_INTP): Moved from buffer.h
5760 (CHAR_OR_CHAR_INTP): Likewise.
5761 (XCHAR_OR_CHAR_INT): Likewise.
5762 (CHECK_CHAR_COERCE_INT): Likewise.
5764 * buffer.h (CHAR_INTP): Moved to character.h
5765 (CHAR_OR_CHAR_INTP): Likewise.
5766 (XCHAR_OR_CHAR_INT): Likewise.
5767 (CHECK_CHAR_COERCE_INT): Likewise.
5769 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5772 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5773 - Include char-1byte.h, char-lb.h or char-ucs.h.
5775 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5777 * buffer.h: Include character unconditionally.
5778 (valid_char_p): Moved to char-*.h.
5779 (non_ascii_valid_char_p): Moved to char-lb.h.
5781 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5783 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5785 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5786 in UTF-2000 because it is not ported yet and not to use
5787 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5788 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5789 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5791 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5792 (CHAR_ASCII_P): Moved from character.h.
5794 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5795 (CHAR_ASCII_P): Likewise.
5796 (CHAR_FIELD1_MASK): Deleted.
5797 (CHAR_FIELD2_MASK): Deleted.
5798 (CHAR_FIELD3_MASK): Deleted.
5799 (MAX_CHAR_BASIC_LATIN): New macro.
5800 (CHAR_FIELD1): Deleted.
5801 (CHAR_FIELD2_INTERNAL): Deleted.
5802 (CHAR_FIELD3_INTERNAL): Deleted.
5803 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5804 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5805 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5806 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5807 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5808 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5809 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5810 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5811 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5812 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5813 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5814 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5815 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5816 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5817 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5818 (MIN_CHAR_COMPOSITION): Deleted.
5819 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5820 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5822 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5824 * buffer.h: Include mb-utf-8.h in UTF-2000.
5826 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5828 * mb-utf-8.h: New file.
5830 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5832 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5835 * mule-charset.h, buffer.h (Charset_ID): New type.
5837 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5839 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5840 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5841 instead of `MULE_CHAR_PRIVATE_OFFSET',
5842 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5843 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5844 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5846 * character.h (Vcharset_japanese_jisx0212): New variable
5849 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5851 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5852 (charset_by_attributes): Delete array about direction.
5853 (latin_a_char_to_charset): New variable in UTF-2000.
5854 (latin_a_char_to_byte1): New variable in UTF-2000.
5855 (latin_a_char_to_byte2): New variable in UTF-2000.
5856 (Qucs_bmp): New variable.
5857 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5859 (next_allocated_2_byte_leading_byte): Likewise.
5860 (non_ascii_set_charptr_emchar): Likewise.
5861 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5862 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5863 `charset_by_attributes'.
5864 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5865 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5866 and `CHARSET_BY_LEADING_BYTE'.
5867 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5868 `utf-2000-version' to `vars_of_mule_charset'.
5869 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5870 define `leading-code-private-11' in UTF-2000; move setting of
5871 `utf-2000-version' from `syms_of_mule_charset'.
5872 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5875 * character.h (Charset_ID): New type.
5876 (LEADING_BYTE_UCS_BMP): New macro.
5877 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5878 (CHARSET_ID_OFFSET_94): New macro.
5879 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5880 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5881 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5883 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5884 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5885 (CHARSET_ID_OFFSET_96): New macro.
5886 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5887 CHARSET_ID_OFFSET_96 and final-byte.
5888 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5889 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5890 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5891 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5892 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5893 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5894 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5895 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5896 (LEADING_BYTE_THAI_TIS620): Likewise.
5897 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5898 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5899 (CHARSET_ID_OFFSET_94x94): New macro.
5900 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5901 CHARSET_ID_OFFSET_94x94 and final-byte.
5902 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5903 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5904 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5905 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5906 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5907 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5908 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5909 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5910 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5911 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5912 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5913 (CHARSET_TYPE_128X128): New macro.
5914 (CHARSET_TYPE_256X256): New macro.
5915 (XCHARSET_PRIVATE_P): Delete unconditionally.
5916 (charset_by_attributes): Delete array about direction.
5917 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5918 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5919 (MIN_CHAR_94): New macro.
5920 (MAX_CHAR_94): New macro.
5921 (MIN_CHAR_96): New macro.
5922 (MAX_CHAR_96): New macro.
5923 (MIN_CHAR_94x94): New macro.
5924 (MAX_CHAR_94x94): New macro.
5925 (MIN_CHAR_96x96): New macro.
5926 (MAX_CHAR_96x96): New macro.
5927 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5928 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5929 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5931 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5932 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5933 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5934 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5935 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5936 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5937 `XCHARSET_LEADING_BYTE' to make code-point.
5938 (latin_a_char_to_charset): New variable.
5939 (latin_a_char_to_byte1): New variable.
5940 (latin_a_char_to_byte2): New variable.
5941 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5942 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5943 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5945 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5946 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5947 (find_charsets_in_emchar_string): Likewise.
5948 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5950 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5952 (decode_coding_iso2022): Likewise.
5954 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5957 * redisplay.c (redisplay_text_width_emchar_string): Use
5958 `Charset_ID' instead of `unsigned char'.
5959 (redisplay_frame_text_width_string): Likewise.
5961 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5964 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5965 instead of `unsigned char'.
5966 (face_cachel_charset_font_metric_info): Likewise.
5968 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5969 (get_non_ascii_char_table_value): Likewise.
5970 (get_char_table): Likewise.
5971 (put_char_table): Likewise.
5972 (map_over_other_charset): Likewise.
5973 (map_char_table): Likewise.
5975 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5976 instead of `unsigned char'.
5978 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5980 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5981 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5983 * mule-charset.c (leading_code_private_11): Don't define in
5986 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5987 in UTF-2000 because it is not ported yet and not to use
5988 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5990 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5992 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5994 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5996 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5999 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
6000 of unsigned char to store leading-byte.
6002 * chartab.c (get_non_ascii_char_table_value): Don't use
6003 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
6005 * file-coding.c (encode_coding_big5): Delete bogus implementation
6008 * character.h (LEADING_BYTE_*): Delete definition for
6010 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
6011 (LEADING_BYTE_PREFIX_P): Deleted.
6012 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
6013 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
6014 (BUFBYTE_LEADING_BYTE_P): Deleted.
6015 (CHARSET_PRIVATE_P): Deleted unconditionally.
6016 (rep_bytes_by_first_byte): Deleted unconditionally.
6017 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
6018 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
6019 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
6020 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
6021 (CHAR_FIELD2): Deleted.
6022 (CHAR_FIELD3): Deleted.
6023 (MAKE_CHAR): Delete definition for non-UTF-2000.
6024 (BREAKUP_CHAR_1_UNSAFE): Deleted.
6025 (breakup_char_1): New implementation.
6026 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
6027 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
6029 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
6031 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
6034 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6036 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
6037 (CHARSET_PRIVATE_P): Likewise.
6038 (XCHARSET_PRIVATE_P): Likewise.
6039 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
6041 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
6043 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
6045 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
6047 * character.h (LEADING_BYTE_*): Changed in UTF2000.
6048 (NUM_LEADING_BYTES): Changed from 128 to 256.
6049 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6050 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
6052 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
6054 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
6056 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
6057 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
6058 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
6059 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
6060 (Qchinese_cns11643_3): New variable in UTF2000.
6061 (Qchinese_cns11643_4): New variable in UTF2000.
6062 (Qchinese_cns11643_5): New variable in UTF2000.
6063 (Qchinese_cns11643_6): New variable in UTF2000.
6064 (Qchinese_cns11643_7): New variable in UTF2000.
6065 (syms_of_mule_charset): Define `chinese-cns11643-3',
6066 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
6067 and `chinese-cns11643-7' in UTF2000.
6068 (vars_of_mule_charset): Initialize
6069 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
6071 (complex_vars_of_mule_charset): Setup charset
6072 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
6073 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
6075 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6077 * mule-charset.c: Move setting for `leading-code-private-11' from
6078 `syms_of_mule_charset' to `vars_of_mule_charset'.
6080 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6082 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
6083 and `NUM_LEADING_BYTES' in assert.
6085 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
6087 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
6089 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
6090 `NUM_LEADING_BYTES' instead of 128.
6092 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
6094 * mule-charset.h (charset_by_leading_byte): Use
6095 `NUM_LEADING_BYTES' instead of 128.
6096 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
6098 * mule-charset.c (charset_by_leading_byte): Use
6099 `NUM_LEADING_BYTES' instead of 128.
6100 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
6102 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
6105 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
6107 * mule-charset.c (syms_of_mule_charset): Update to
6110 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
6112 * file-coding.c (encode_coding_sjis): New implementation for
6113 UTF2000. (decode_coding_sjis): Ditto.
6115 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6117 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
6118 Don't define in UTF2000.
6120 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
6123 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6124 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
6127 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6129 * config.h.in (CHAR_IS_UCS4): New macro.
6131 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6132 conventional MULE representation.
6133 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6135 * mule-charset.h: Reverted to original.
6137 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6138 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6139 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6141 * character.h: New file.
6143 * file-coding.c (Fmake_coding_system): Set 1 to
6144 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6146 (encode_coding_no_conversion): New implementation for UTF2000.
6148 * file-coding.h (struct Lisp_Coding_System): Add new member
6151 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6153 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6154 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6155 (encode_coding_iso2022): New implementation for UTF2000.
6157 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6159 * mule-canna.c (c2mu): New implementation for UTF2000.
6162 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6164 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6166 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6168 * file-coding.c (reset_encoding_stream): Set 0 to
6169 `str->iso2022.current_char_boundary' in UTF2000.
6170 (encode_utf8): Don't define in UTF2000.
6171 (encode_coding_utf8): New implementation for UTF-8 representation
6173 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6175 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6177 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6179 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6181 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6183 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6185 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6186 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6187 as UTF-8 in UTF2000.
6188 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6189 (non_ascii_valid_char_p): Don't define in UTF2000.
6190 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6191 (Lstream_get_emchar_1): Likewise.
6192 (utf-2000-version): New variable in UTF2000.
6194 * lread.c (read_escape): Add new reader `u'.
6196 * insdel.c (three_to_one_table): Don't define in UTF2000.
6197 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6198 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6200 (bytind_to_bufpos_func): Likewise.
6201 (buffer_mule_signal_inserted_region): Likewise.
6202 (vars_of_insdel): Don't initialize `three_to_one_table'.
6203 (init_buffer_text): Use `buf->text->mule_size' instead of
6204 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6207 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6208 UTF-8 representation in UTF2000.
6209 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6210 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6211 (decode_coding_iso2022): Don't define local variable `lb' in
6212 UTF2000; don't use LEADING_BYTE in UTF2000; use
6213 `DECODE_ADD_UCS_CHAR' in UTF2000.
6214 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6216 * config.h.in (UTF2000): New macro.
6218 * buffer.h (struct buffer_text): Add new member `mule_size' and
6219 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6220 (valid_char_p): Return always 1 in UTF2000.
6221 (MAX_EMCHAR_LEN): 6 in UTF2000.
6222 (three_to_one_table): Don't define in UTF2000.
6223 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6225 (real_bytind_to_bufpos): Likewise.
6227 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6229 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6231 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6232 representation change.
6233 (Vutf_2000_version): New variable.
6234 (leading_code_private_11): New variable.
6235 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6236 `leading-code-private-11'.
6238 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6239 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6240 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6241 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6242 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6243 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6244 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6245 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6246 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6247 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6248 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6249 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6250 (MIN_CHAR_GREEK): New macro.
6251 (MAX_CHAR_GREEK): New macro.
6252 (MIN_CHAR_CYRILLIC): New macro.
6253 (MAX_CHAR_CYRILLIC): New macro.
6254 (MIN_CHAR_HEBREW): New macro.
6255 (MAX_CHAR_HEBREW): New macro.
6256 (MIN_CHAR_THAI): New macro.
6257 (MAX_CHAR_THAI): New macro.
6258 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6259 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6260 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6261 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6262 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6263 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6264 (CHAR_FIELD2): New inline function.
6265 (CHAR_FIELD3): New inline function.
6266 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6267 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6268 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6269 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6270 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6271 (MIN_CHAR_COMPOSITION): Likewise.
6272 (CHAR_LEADING_BYTE): Modified for character representation change.
6273 (MAKE_CHAR): Likewise.
6275 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6276 (Vcharset_greek_iso8859_7): Likewise.
6277 (Vcharset_cyrillic_iso8859_5): Likewise.
6278 (Vcharset_hebrew_iso8859_8): Likewise.
6279 (Vcharset_thai_tis620): Likewise.
6280 (Vcharset_katakana_jisx0201): Likewise.
6282 2008-12-28 Vin Shelton <acs@xemacs.org>
6284 * XEmacs 21.4.22 is released
6286 2008-12-27 Vin Shelton <acs@xemacs.org>
6288 * syswindows.h: Don't define wide character interfaces for Cygwin
6291 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6293 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6295 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6297 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6298 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6300 2008-12-25 Vin Shelton <acs@xemacs.org>
6302 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6303 By Julian Bradfield in
6304 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6306 * mule-ccl.c (ccl_driver):
6308 2007-10-07 Vin Shelton <acs@xemacs.org>
6310 * XEmacs 21.4.21 is released
6312 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6314 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6316 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6318 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6319 (png_instantiate): Initialize setjmp_buffer early, and avoid
6320 recursive entry to error handler.
6322 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6324 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6327 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6329 * event-Xt.c (x_reset_modifier_mapping):
6330 * event-gtk.c (gtk_reset_modifier_mapping):
6331 Zero out the device's modifier map once we've freed it, to prevent
6332 a double free on a re-entrant call.
6334 2007-05-17 Vin Shelton <acs@xemacs.org>
6336 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6337 64-bit linux. Patch from Hans de Graaff.
6339 2007-05-02 Vin Shelton <acs@xemacs.org>
6341 * dumper.c (pdump): Don't close pdump_fd (already closed by
6342 fclose() call. Patch from Steve Higham.
6343 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6344 already closed. Patch inspired by Steve Higham.
6346 2007-05-01 Vin Shelton <acs@xemacs.org>
6348 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6349 (mswindows_fstat): Ditto.
6350 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6352 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6354 * postgresql.c: Update Steve Baur's email address by his request.
6355 * postgresql.h: Ditto.
6357 2007-01-04 Vin Shelton <acs@xemacs.org>
6359 * fileio.c (check_writable): Check old-style readonly bit only for
6362 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6364 * src/fileio.c (check_writable):
6365 Cope with the fact that the read-only attribute trumps Windows NTFS
6369 2006-12-09 Vin Shelton <acs@xemacs.org>
6371 * XEmacs 21.4.20 is released
6373 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6375 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6376 relocated the definitions to be used sooner in file.
6377 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6378 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6381 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6383 * sound.c (init_native_sound):
6384 Only X11 and GTK devices can possibly not be on the console of the
6385 associated machine. Fixes a crash when init_native_sound is called
6386 on a msprinter device.
6388 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6390 * buffer.c (buffer-file-name): Document invariant.
6391 (buffer-file-truename): Sync wording to buffer-file-name.
6392 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6395 2006-11-19 Benson Margulies <benson@dchbk.us>
6397 * fileio.c: Add code to use full Win32 API to check for write
6398 access. Win32 has the general design policy that you aren't
6399 supposed to ask this question, since security checks change
6400 depending on asynchronous processes. Nonetheless, there is a way,
6401 by acting as if we are a server doing interpretive access
6404 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6406 * bytecode.c: Use xnew_array instead of alloca.
6408 2006-07-04 Vin Shelton <acs@xemacs.org>
6410 * redisplay-msw.c: Fix tiny, but crucial typo.
6412 2006-06-22 Jerry James <james@xemacs.org>
6414 * EmacsShell-sub.c (ChangeManaged):
6415 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6417 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6418 checking if it is NULL. Also fix a memory leak.
6419 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6420 dereference it, not the other way around.
6421 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6423 * dumper.c (pdump_register_struct): Ditto.
6424 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6425 to (short) warnpath overflow warnpath.
6426 * extents.c (detach_all_extents): Call extent_list_delete_all with
6427 a non-NULL parameter only.
6428 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6429 NULL width and height.
6430 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6431 xic before checking if they are NULL.
6432 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6434 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6435 * nas.c (Err): Fix a memory leak.
6436 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6437 Don't create the buffer if there is nothing to do.
6438 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6439 * redisplay-output.c (redisplay_output_layout): Ditto.
6440 * redisplay-tty.c (tty_output_display_block): Ditto.
6441 * redisplay-x.c (x_output_display_block): Ditto.
6442 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6443 dereference instance->scrollbar_data if it is NULL.
6444 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6445 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6446 for sb->scrollbar_data.
6447 * sound.c (init_native_sound): Avoid a buffer overflow by
6448 allocating a buffer with the appropriate size.
6450 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6452 * EmacsShell-sub.c (RootGeometryManager):
6453 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6454 Based on a suggestion by Francois L'Archeveque.
6456 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6458 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6459 current values found in GNU Emacs.
6461 2006-03-17 Vin Shelton <acs@xemacs.org>
6463 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6464 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6466 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6467 'hex_initialized' because it conflicts with 'initialized' in
6470 2006-01-28 Vin Shelton <acs@xemacs.org>
6472 * XEmacs 21.4.19 is released
6474 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6476 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6478 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6480 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6483 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6485 * database.c: Suppress compiler warning under Cygwin.
6486 * database.c: Removed __FreeBSD__ check, should be handled by
6487 HAVE_U_xxx_T defines.
6489 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6491 * console.c (stuff_buffered_input): Compile body only if
6494 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6496 * callproc.c: #include sysdir.h, so that any appropriate Mule
6497 magic happens with the chdir() call when calling a subprocess.
6499 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6501 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6502 * mule-ccl.c: Check that a character set exists before using it
6503 to create a character.
6505 2005-12-06 Vin Shelton <acs@xemacs.org>
6507 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6510 2005-12-03 Vin Shelton <acs@xemacs.org>
6512 * XEmacs 21.4.18 is released
6514 2005-11-27 Kean Johnston <kean@armory.com>
6516 * redisplay-tty.c (set_tty_modes):
6517 (reset_tty_modes): disable auto-margins if the terminal supports
6519 (init_tty_for_redisplay): fix cursor shape.
6521 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6523 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6524 for control-1 characters properly, both when reading multibyte
6525 characters and writing them.
6527 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6529 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6530 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6531 were seeing with incremental selection transfer failing.
6533 2005-11-26 Vin Shelton <acs@xemacs.org>
6535 * callproc.c (Fold_call_process_internal): Create the buffer if it
6536 does not already exist. The original patch came from Ben Wing in
6537 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6539 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6541 * callproc.c: Process-related docstring improvements spurred by
6544 2005-11-25 Vin Shelton <acs@xemacs.org>
6546 * depend: Regenerated.
6548 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6550 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6551 says it clashes with a global with the same name.
6553 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6555 * sysdll.c (dll_open): Under MacOS X return NULL under the
6556 filename is NULL. Fixes problems finding local symbols under 10.4
6559 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6561 * config.h.in: New HAVE_U_INT*_T defines.
6563 * database.c: Only use u_int*_t typedefs if not already
6566 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6568 * src/process-unix.c (unix_open_network_stream): moved
6569 'portbuf' buffer out of an inner block as it is used in the
6570 entire function. With gcc4, the stack may get corrupted
6571 after leaving this block. This patches adjusts the size of
6572 the used buffer also; static '128' bytes are far too much
6573 currently and might not suffice for future architectures
6574 (e.g. for 512 bit ones ;)). Instead of, use only the really
6575 required space (max octets * ln(256)/ln(10) chars + space
6576 for '\0' and the sign)
6578 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6580 * callproc.c: Include sysdir.h, so any necessary Mule processing
6581 is done on the current directory name before starting a new
6584 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6586 * chartab.c (Fchar_table_p):
6587 (Fget_range_char_table):
6590 Describe range representation and fix typo.
6592 2005-02-12 Vin Shelton <acs@xemacs.org>
6594 * emacs.c (shut_down_emacs): Advise users to send email to the
6595 xemacs-beta list instead of crashes@xemacs.org.
6597 2005-02-03 David Evers <extsw@appliedgenerics.com>
6599 * process-unix.c (unix_send_process): Flush the last chunk, even
6600 when the pipe is blocked.
6602 2005-02-06 Vin Shelton <acs@xemacs.org>
6604 * XEmacs 21.4.17 is released
6606 2005-01-31 Ben Wing <ben@xemacs.org>
6609 Define assert_failed() always.
6611 Always define ABORT().
6613 2005-01-25 Ben Wing <ben@xemacs.org>
6616 * Makefile.in.in (%.o):
6617 Don't compile executable as Windows (-mwindows) under Cygwin.
6618 Semi-recent changes to Cygwin's executable-startup handling make
6619 it impossible to access the TTY this way.
6621 Don't use special linker file under Cygwin (cygwin.sc) except
6622 when non-PDUMP (even in this case it is highly questionable); you
6625 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6626 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6628 2005-01-29 Ben Wing <ben@xemacs.org>
6630 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6632 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6634 2005-01-29 Ben Wing <ben@xemacs.org>
6636 * bytecode.c (optimize_compiled_function):
6638 * print.c (long_to_string):
6639 Add casts to avoid warning.
6642 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6643 #### The better solution is to move the TIFF and JPEG code to
6646 * glyphs-msw.c (mswindows_xbm_instantiate):
6647 Define __STDC__ to avoid problems with compface.h.
6649 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6651 * EmacsShell-sub.c (ABORT):
6652 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6653 * EmacsShell-sub.c (RootGeometryManager):
6655 * EmacsShell.c (ABORT):
6656 * EmacsShell.c (EmacsShellUpdateSizeHints):
6657 * alloc.c (free_lcrecord):
6658 * alloca.c (i00afunc):
6659 * buffer.c (delete_from_buffer_alist):
6660 * buffer.c (MARKED_SLOT):
6661 * bytecode.c (execute_rare_opcode):
6662 * bytecode.c (optimize_byte_code):
6663 * bytecode.c (Ffetch_bytecode):
6664 * chartab.c (char_table_type_to_symbol):
6665 * chartab.c (Freset_char_table):
6666 * chartab.c (decode_char_table_range):
6667 * chartab.c (Fget_range_char_table):
6668 * chartab.c (check_valid_char_table_value):
6669 * chartab.c (map_char_table):
6670 * chartab.c (slow_map_char_table_fun):
6671 * chartab.c (chartab_instantiate):
6672 * cm.c (cmcheckmagic):
6673 * console-msw.c (DHEADER):
6674 * console.c (MARKED_SLOT):
6675 * data.c (finish_marking_weak_lists):
6676 * data.c (encode_weak_list_type):
6677 * debug.h (DASSERT):
6678 * device-gtk.c (gtk_init_device):
6679 * device-msw.c (mswindows_get_default_margin):
6680 * device-tty.c (tty_init_device):
6681 * device-x.c (get_device_from_display):
6682 * device-x.c (x_get_visual_depth):
6683 * doprnt.c (parse_doprnt_spec):
6684 * doprnt.c (get_doprnt_args):
6685 * dumper.c (pdump_get_indirect_count):
6686 * dumper.c (pdump_register_sub):
6687 * dumper.c (pdump_register_object):
6688 * dumper.c (pdump_register_struct):
6689 * dumper.c (pdump_dump_data):
6690 * dumper.c (pdump_reloc_one):
6691 * elhash.c (print_hash_table):
6692 * elhash.c (make_standard_lisp_hash_table):
6693 * elhash.c (hash_table_instantiate):
6695 * emacs.c (Fforce_debugging_signal):
6696 * emacs.c (sort_args):
6698 * emacs.c (assert_failed):
6699 * eval.c (throw_or_bomb_out):
6700 * eval.c (signal_1):
6703 * event-Xt.c (emacs_Xt_mapping_action):
6704 * event-Xt.c (Xt_process_to_emacs_event):
6706 * event-stream.c (check_event_stream_ok):
6707 * event-stream.c (Fadd_timeout):
6708 * event-stream.c (Fadd_async_timeout):
6709 * event-stream.c (Fdiscard_input):
6710 * event-stream.c (execute_internal_event):
6711 * event-stream.c (Frecent_keys):
6712 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6713 * event-stream.c (lookup_command_event):
6714 * event-unixoid.c (poll_fds_for_input):
6716 * events.c (mark_event):
6717 * events.c (event_equal):
6718 * events.c (event_hash):
6719 * events.c (Fmake_event):
6720 * events.c (Fdeallocate_event):
6721 * events.c (event_chain_find_previous):
6722 * events.c (event_to_character):
6723 * events.c (format_event_object):
6724 * events.c (Fevent_type):
6725 * events.c (event_pixel_translation):
6726 * events.c (Fevent_properties):
6727 * extents.c (extent_in_region_p):
6728 * extents.c (print_extent):
6729 * extents.c (process_extents_for_insertion_mapper):
6730 * extents.c (report_extent_modification_mapper):
6731 * extents.c (glyph_layout_to_symbol):
6732 * faces.c (face_validate):
6733 * file-coding.c (eol_type_to_symbol):
6734 * file-coding.c (subsidiary_coding_system):
6735 * file-coding.c (Fcoding_system_type):
6736 * file-coding.c (Fcoding_system_property):
6737 * file-coding.c (mule_decode):
6738 * file-coding.c (mule_encode):
6739 * file-coding.c (encode_coding_ucs4):
6740 * file-coding.c (encode_coding_utf8):
6741 * file-coding.c (parse_iso2022_esc):
6742 * file-coding.c (encode_coding_iso2022):
6747 * fns.c (Fbase64_encode_region):
6748 * fns.c (Fbase64_encode_string):
6749 * fns.c (Fbase64_decode_region):
6750 * fns.c (Fbase64_decode_string):
6751 * font-lock.c (find_context):
6752 * font-lock.c (context_to_symbol):
6753 * frame-gtk.c (gtk_set_frame_pointer):
6754 * frame-gtk.c (gtk_update_frame_external_traits):
6755 * frame-x.c (x_wm_mark_shell_size_user_specified):
6756 * frame-x.c (x_wm_mark_shell_position_user_specified):
6757 * frame-x.c (x_wm_set_shell_iconic_p):
6758 * frame-x.c (x_wm_set_cell_size):
6759 * frame-x.c (x_wm_set_variable_size):
6760 * frame-x.c (x_wm_store_class_hints):
6761 * frame-x.c (x_wm_maybe_store_wm_command):
6762 * frame-x.c (x_initialize_frame_size):
6763 * frame-x.c (x_update_frame_external_traits):
6765 * frame.c (delete_frame_internal):
6766 * frame.c (mouse_pixel_position_1):
6767 * frame.c (change_frame_size_1):
6768 * free-hook.c (check_free):
6769 * free-hook.c (check_realloc):
6770 * free-hook.c (note_block_input):
6771 * free-hook.c (log_gcpro):
6772 * gccache-gtk.c (gc_cache_lookup):
6773 * glyphs-eimage.c (tiff_memory_write):
6774 * glyphs-gtk.c (gtk_finalize_image_instance):
6775 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6776 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6777 * glyphs-gtk.c (gtk_xpm_instantiate):
6778 * glyphs-gtk.c (gtk_unmap_subwindow):
6779 * glyphs-gtk.c (gtk_map_subwindow):
6780 * glyphs-gtk.c (gtk_button_redisplay):
6782 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6783 * glyphs-x.c (init_image_instance_from_xbm_inline):
6784 * glyphs-x.c (extract_xpm_color_names):
6785 * glyphs-x.c (x_xpm_instantiate):
6786 * glyphs.c (get_image_instantiator_governing_domain):
6787 * glyphs.c (print_image_instance):
6788 * glyphs.c (image_instance_equal):
6789 * glyphs.c (image_instance_hash):
6790 * glyphs.c (encode_image_instance_type):
6791 * glyphs.c (make_image_instance_1):
6792 * glyphs.c (inherit_instantiate):
6793 * glyphs.c (image_instantiate):
6794 * glyphs.c (allocate_glyph):
6795 * glyphs.c (Fglyph_type):
6796 * glyphs.c (redisplay_subwindow):
6797 * glyphs.c (display_table_entry):
6798 * gtk-glue.c (xemacs_list_to_gtklist):
6799 * gtk-glue.c (xemacs_gtklist_to_list):
6800 * gtk-glue.c (xemacs_list_to_array):
6801 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6802 * gutter.c (gutter_was_visible):
6803 * gutter.c (get_gutter_coords):
6804 * input-method-xlib.c (get_XIM_input):
6805 * insdel.c (bufpos_to_bytind_func):
6806 * insdel.c (bytind_to_bufpos_func):
6807 * insdel.c (move_gap):
6808 * intl.c (x_get_composed_input):
6809 * keymap.c (keymap_lookup_directly):
6810 * keymap.c (keymap_delete_inverse_internal):
6811 * keymap.c (ensure_meta_prefix_char_keymapp):
6812 * keymap.c (accessible_keymaps_mapper_1):
6813 * keymap.c (where_is_recursive_mapper):
6816 * lread.c (read_atom):
6817 * lstream.c (Lstream_delete):
6818 * lstream.c (make_lisp_buffer_stream_1):
6819 * macros.c (pop_kbd_macro_event):
6820 * malloc.c (malloc):
6822 * marker.c (bi_marker_position):
6823 * marker.c (set_bi_marker_position):
6824 * menubar-gtk.c (menu_descriptor_to_widget_1):
6825 * menubar-msw.c (prune_menubar):
6826 * menubar-x.c (set_frame_menubar):
6827 * mule-charset.c (get_unallocated_leading_byte):
6828 * mule-charset.h (CHAR_LEADING_BYTE):
6829 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6830 * nt.c (init_environment):
6831 * nt.c (generate_inode_val):
6832 * ntproc.c (delete_child):
6833 * ntproc.c (_sys_read_ahead):
6834 * ntproc.c (create_child):
6835 * objects.c (color_instantiate):
6836 * objects.c (font_instantiate):
6837 * objects.c (face_boolean_instantiate):
6838 * print.c (printing_major_badness):
6839 * process-nt.c (nt_send_process):
6840 * process-unix.c (unix_send_process):
6841 * process.c (get_process):
6842 * ralloc.c (obtain):
6843 * ralloc.c (relinquish):
6844 * ralloc.c (relocate_blocs):
6845 * ralloc.c (resize_bloc):
6846 * ralloc.c (r_alloc_free):
6847 * ralloc.c (r_re_alloc):
6848 * ralloc.c (r_alloc_thaw):
6849 * ralloc.c (init_ralloc):
6850 * ralloc.c (Free_Addr_Block):
6851 * ralloc.c (r_alloc):
6852 * redisplay-gtk.c (gtk_output_display_block):
6853 * redisplay-msw.c (mswindows_output_display_block):
6854 * redisplay-output.c (get_next_display_block):
6855 * redisplay-output.c (get_cursor_size_and_location):
6856 * redisplay-output.c (redisplay_output_layout):
6857 * redisplay-output.c (redisplay_clear_region):
6858 * redisplay-tty.c (tty_output_display_block):
6859 * redisplay-x.c (x_output_display_block):
6860 * redisplay.c (add_propagation_runes):
6861 * redisplay.c (add_glyph_rune):
6862 * redisplay.c (create_text_block):
6863 * redisplay.c (add_margin_runes):
6864 * redisplay.c (create_left_glyph_block):
6865 * redisplay.c (create_right_glyph_block):
6866 * redisplay.c (create_string_text_block):
6867 * redisplay.c (regenerate_window):
6868 * redisplay.c (REGEN_INC_FIND_START_END):
6869 * redisplay.c (redisplay_frame):
6870 * redisplay.c (point_in_line_start_cache):
6873 * regex.c (re_compile_fastmap):
6874 * regex.c (re_match_2_internal):
6875 * regex.c (regerror):
6876 * scrollbar-gtk.c (gtk_scrollbar_loop):
6877 * scrollbar-gtk.c (scrollbar_cb):
6878 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6879 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6880 * scrollbar-x.c (x_update_scrollbar_instance_status):
6881 * scrollbar-x.c (x_scrollbar_loop):
6882 * scrollbar-x.c (x_update_frame_scrollbars):
6883 * search.c (search_command):
6884 * search.c (Fmatch_data):
6885 * select-x.c (motif_clipboard_cb):
6886 * signal.c (interrupt_signal):
6887 * specifier.c (specifier_add_spec):
6888 * specifier.c (specifier_instance_from_inst_list):
6889 * specifier.c (specifier_instance):
6891 * specifier.h (struct specifier_methods):
6892 * strftime.c (add_num_time_t):
6893 * sunplay.c (init_device):
6894 * symbols.c (Fsetplist):
6895 * symbols.c (do_symval_forwarding):
6896 * symbols.c (store_symval_forwarding):
6898 * symbols.c (Fbuilt_in_variable_type):
6899 * symbols.c (decode_magic_handler_type):
6900 * symbols.c (handler_type_from_function_symbol):
6901 * syntax.c (update_syntax_cache):
6902 * sysdep.c (init_baud_rate):
6903 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6904 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6905 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6906 * toolbar.c (get_toolbar_coords):
6907 * ui-gtk.c (build_gtk_boxed):
6908 * ui-gtk.c (describe_gtk_arg):
6909 * ui-gtk.c (gtk_type_to_lisp):
6910 * ui-gtk.c (lisp_to_gtk_type):
6911 * ui-gtk.c (lisp_to_gtk_ret_type):
6912 * ui-gtk.c (lisp_to_flag):
6913 * unexnt.c (read_in_bss):
6914 * unexnt.c (map_in_heap):
6915 * window.c (real_window):
6916 * window.c (window_display_lines):
6917 * window.c (window_display_buffer):
6918 * window.c (set_window_display_buffer):
6919 * window.c (window_modeline_height):
6920 * window.c (unshow_buffer):
6921 * window.c (window_loop):
6922 * window.c (Fget_lru_window):
6923 * window.c (Fsplit_window):
6924 * window.c (Fset_window_configuration):
6925 * window.c (saved_window_index):
6926 * xgccache.c (gc_cache_lookup):
6927 abort() -> ABORT(). Eliminate preprocessor games with abort()
6928 since it creates huge problems in VC7, solvable only by including
6929 massive amounts of files in every compile (and not worth it).
6933 Inclusion of process.h does not need to be before lisp.h any more.
6934 Move later and remove comment about abort().
6936 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6938 * regex.c (re_match_2_internal):
6939 Correctly initialize loop which clears uninitialized registers.
6941 2005-01-28 Vin Shelton <acs@xemacs.org>
6943 * sheap.c (more_static_core): Applied Ben's version of the long
6946 2005-01-24 Vin Shelton <acs@xemacs.org>
6948 * sheap.c (more_static_core): Reformatted printf string so
6949 gcc-3.3.3 will compile this on Cygwin.
6951 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6953 * console.c (function_key_map): Reference `key-binding'.
6955 * keymap.c (Vkey_translation_map): Improve docstring.
6957 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6959 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6960 * window.c (window_loop): [fix] Take into account
6961 `allow-deletion-of-last-visible-frame' variable.
6962 * window.c (replace-buffer-in-windows): Ditto.
6964 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6966 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6968 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6970 * event-gtk.c: Recognise AltGr as a valid modifier.
6972 2005-01-12 Ville Skyttä <scop@xemacs.org>
6974 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6976 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6978 Fix backreference bug caught by test suite.
6980 * regex.c (regex_compile):
6981 Make backref duplicate internal register.
6983 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6985 Documentation, code clarification, and warning suppression.
6987 * regex.c (regex_compile):
6989 (re_match_2_internal):
6990 Improve comments and avoid redundant braces. [Most of the big hunk
6991 at l. 4710 is indentation; use diff -w to see the real changes.]
6992 (alt_match_null_string_p):
6993 (common_op_match_null_string_p):
6994 Avoid shadowing global on Mac OS X 10.4, at least.
6996 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6998 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6999 introduced with shy groups fix). [Already applied, probably
7000 with the second "fix shy groups" patch of 2004-10-07.]
7002 2005-01-10 Steve Youngs <steve@sxemacs.org>
7004 From Andrey Slusar <anrays@gmail.com>:
7006 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
7008 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
7010 * Makefile (RECURSIVE_MAKE): Removed.
7011 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
7012 handling parallel builds.
7014 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
7016 * Makefile.in.in: Enable support for parallel builds.
7018 2005-01-09 Steve Youngs <steve@sxemacs.org>
7020 From Andrey Slusar <anrays@gmail.com>:
7022 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
7023 FreeBSD version is >= 199701 _and_ < 600006.
7025 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
7027 * scrollbar.c (compute_scrollbar_instance_usage):
7028 Only call device method compute_scrollbar_instance_usage() if it
7031 2004-12-05 Vin Shelton <acs@xemacs.org>
7033 * XEmacs 21.4.16 is released
7035 2004-12-04 Vin Shelton <acs@xemacs.org>
7037 * depend: Regenerated.
7039 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
7041 * regex.c (re_match_2_internal): Map internal to external
7042 registers. Fixes bug identified by Steve Youngs 2004-09-30
7043 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
7045 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7047 * buffer.c (Frecord_buffer): Make sure the argument is buffer
7048 to fix a crash. Also, check the buffer is live and it
7049 really exists in buffer_list. If the buffer is not in the list,
7052 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
7054 Fix shy groups by implementing recording of all groups for
7055 repetition and backtracking. Backport from 21.5.
7057 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
7058 external_to_internal_register, external_to_internal_register_size,
7059 and update comments for re_nsub.
7061 * regex.c (re_opcode_t): Update comments.
7062 (print_compiled_pattern): Ouput external_to_internal_register,
7063 external_to_internal_register_size, and re_ngroups for debugging.
7064 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
7065 (regex_compile): Update header comment.
7066 Ensure that all groups are recorded so that repeat matches and
7067 backtracking work correctly. Comment related warning for groups >
7069 (re_search_2): Construct map of API indexes (which count only
7070 nonshy groups) to internal register numbers, and keep it updated.
7072 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
7074 * frame-gtk.c (gtk_make_frame_visible):
7075 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
7076 show/hide. This is what X uses and is prevents previously hidden
7077 widgets from suddenly reappearing.
7078 * gtk-xemacs.c (gtk_xemacs_paint):
7079 * gtk-xemacs.c (gtk_xemacs_draw):
7080 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
7082 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
7083 size and location changes so that they can be seen before the next
7084 idle event. Without this rapid changes to scrollbar properties
7087 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
7090 * console-gtk.h (struct gtk_frame):
7091 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
7092 Add hash tables track tab_control callback data.
7093 Added #defines for GTK object data names.
7094 Declaration of gtk_widget_to_frame().
7095 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
7096 * frame-gtk.c (gtk_widget_to_frame): New.
7097 * frame-gtk.c (gtk_create_widgets):
7098 * frame-gtk.c (allocate_gtk_frame_struct):
7099 * frame-gtk.c (gtk_mark_frame):
7100 Manage frame callbakc hash tables.
7101 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
7102 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
7103 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
7105 * glyphs-gtk.c (gtk_widget_query_geometry): New
7106 * glyphs-gtk.c (gtk_register_gui_item): New
7107 * glyphs-gtk.c (gtk_add_tab_item): New
7108 * glyphs-gtk.c (gtk_tab_control_callback): New
7109 * glyphs-gtk.c (gtk_tab_control_instantiate): New
7110 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
7111 Use correct list when loading item.
7112 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
7113 Register new methods.
7114 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
7115 default size, for widgets.
7116 * gui-x.c: Improved comment.
7117 * menubar-gtk.c (__generic_button_callback): Use
7118 gtk_widget_to_frame instead of __get_channel.
7120 * ui-gtk.c: Use symbolic names for GTK object data.
7122 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
7124 * s/usg5-4.h (NSIG): Define only inside emacs binary.
7126 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7128 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7130 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7132 * malloc.c (morecore): siz is a long because in some architectures
7133 (eg ia-64) an int cannot hold the address range. Additional patch
7134 from the SuSe distribution.
7136 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7139 * malloc.c: lim_data is a long because in some architectures
7140 (eg ia-64) an int cannot hold the address range.
7141 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7142 instead of ulimit() because ulimit() always returns -1.
7144 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7146 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7148 2004-06-11 David Kastrup <dak@gnu.org>
7150 * search.c (match_limit): Don't flag an error if match-data
7151 exceeding the allocated search_regs.num_regs gets requested, just
7154 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7156 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7157 replace symbolic color entries with the real colors specified in
7158 xpm-color-symbols, before passing the XPM to gtk.
7159 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7160 instead of a GTK specific field, so that it is used in by generic
7163 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7165 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7166 coredump from deref of NULL ptr (ExtData)
7168 2004-04-19 Jerry James <james@xemacs.org>
7170 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7171 VALBITS to compute the location of the sign bit.
7172 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7173 of VALBITS with EMACS_INT_MAX.
7174 * events.c (Fevent_timestamp): Ditto.
7175 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7176 compute the halfway point to timestamp wraparound.
7177 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7178 EMACS_INT_MIN instead of using VALBITS.
7179 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7180 incorrect number with VALBITS.
7181 * fns.c (Frandom): Correct number of integer bits in docstring.
7182 Use INT_VALBITS instead of VALBITS to compute the denominator.
7183 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7184 build random numbers.
7186 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7188 * event-gtk.c (gtk_event_to_emacs_event):
7190 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7191 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7192 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7193 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7194 * menubar-gtk.c (__activate_menu):
7195 * menubar-gtk.c (convert_underscores):
7196 * menubar-gtk.c (remove_underscores):
7197 * menubar-gtk.c (menu_convert):
7198 * menubar-gtk.c (menu_descriptor_to_widget_1):
7199 * menubar-gtk.c (menu_descriptor_to_widget):
7200 * menubar-gtk.c (menu_can_reuse_widget):
7201 * menubar-gtk.c (menu_create_menubar):
7202 * menubar-gtk.c (gtk_popup_menu):
7203 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7204 Added support for Gtk menu bar and menu item mnemonics.
7206 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7208 * sysdll.c: (dll_function): Added support for finding symbols in
7209 Darwin shared libraries as well in Darwin bundles.
7210 * sysdll.c (image_for_address): New
7211 * sysdll.c (my_find_image): New
7212 * sysdll.c (search_linked_libs): New
7214 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7216 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7217 return to GTK requires a different API to marshalling data to use
7219 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7221 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7223 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7225 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7227 * glyphs.c (process_image_string_instantiator):
7228 (Fset_console_type_image_conversion_list):
7229 Stop GCC from warning about shadowing of `exp'.
7231 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7233 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7235 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7237 2004-02-03 Vin Shelton <acs@xemacs.org>
7239 * glyphs.c (image_instance_layout): Remove pointless assertion.
7240 * regex.c (regex_grow_registers): Return type is void.
7242 2004-02-02 Vin Shelton <acs@xemacs.org>
7244 * XEmacs 21.4.15 is released
7246 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7248 * device-x.c (x_error_handler): Don't call stderr_out
7250 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7252 * buffer.c (other-buffer): Clarify documentation of order of
7253 arguments for FSF Emacs.
7255 2003-10-11 Olivier Galibert <galibert@pobox.com>
7257 * window.c (Fdelete_window): Dirty the mirror structure _before_
7258 marking the window deleted.
7260 2003-09-15 Jerry James <james@xemacs.org>
7262 * event-msw.c (debug_mswin_messages): Conditionally compile
7263 messages missing from the Cygwin headers.
7265 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7267 * data.c (eq_with_ebola_notice): Fix typo in comment.
7268 (Ftrue_list_p): Improve docstring.
7270 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7272 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7274 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7276 * search.c (trivial_regexp_p): Regexps containing "\{" are
7277 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7278 Stefan Monnier for suggesting a diagnosis.
7280 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7282 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7284 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7286 * search.c (Fsearch_forward):
7288 Document negative count.
7290 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7292 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7294 2003-09-13 Martin Buchholz <martin@xemacs.org>
7296 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7298 2003-09-15 Vin Shelton <acs@xemacs.org>
7300 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7303 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7305 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7306 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7307 (re_match_2_internal): Use TRANSLATE instead of
7308 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7309 non-ASCII char case conversion.
7311 2003-09-08 Mike Sperber <mike@xemacs.org>
7313 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7314 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7316 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7318 * .gdbinit (pobj): fix printing of symbol name.
7320 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7322 * frame-x.c (x_layout_widgets): When resizing is about to cause
7323 frame size slip, mark it for redisplay.
7325 2003-08-18 Jerry James <james@xemacs.org>
7327 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7329 2003-09-03 Vin Shelton <acs@xemacs.org>
7331 * XEmacs 21.4.14 is released
7333 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7335 * config.h.in (REGEX_MALLOC): Make it configure'able.
7337 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7339 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7341 * sysdll.c (dll_init):
7342 * sysdll.c (dll_open):
7343 * sysdll.c (dll_close):
7344 * sysdll.c (dll_function):
7345 * sysdll.c (dll_variable):
7346 * sysdll.c (dll_error):
7347 Add support for loading bundles using Darwin/MacOSX
7350 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7352 * process.c (start-process-internal): Document coding systems.
7354 2003-07-30 Jerry James <james@xemacs.org>
7356 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7358 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7360 * event-msw.c (mswindows_enqueue_mouse_button_event):
7361 * event-msw.c (mswindows_wnd_proc):
7362 enqueue button event when scrollwheel event isn't handled by
7363 mswindows_handle_mousewheel_event, such as when the scrollbars
7366 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7368 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7370 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7372 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7374 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7376 * regex.c (re_match_2_internal): Fix matching degenerate word
7379 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7381 * XEmacs 21.4.13 is released
7383 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7385 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7386 * lisp.h (<inttypes.h>):
7387 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7390 2003-03-15 Martin Buchholz <martin@xemacs.org>
7392 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7393 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7394 Result: "temacs can only be run in -batch mode."
7395 Fix: Check xemacs executable candidate for directory-ness.
7397 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7399 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7400 they conflict with <sys/types.h>.
7402 2003-02-14 Martin Buchholz <martin@xemacs.org>
7404 * database.c: Berkeley DB wants __STDC__ to be defined.
7406 2003-02-13 Martin Buchholz <martin@xemacs.org>
7408 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7410 2003-02-01 Martin Buchholz <martin@xemacs.org>
7412 * process-unix.c (unix_send_process): Fix C++ compile error.
7414 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7416 * Added .dylib as an acceptable shared library file extension
7417 * to support MacOSX.
7419 2003-02-01 Martin Buchholz <martin@xemacs.org>
7421 * EmacsFrameP.h (EmacsFramePart):
7422 Kludge to allow compiling with Motif1, but linking with Motif2.
7424 2003-01-28 Martin Buchholz <martin@xemacs.org>
7426 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7429 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7431 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7433 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7435 * sysdll.c: Included lisp.h to define needed alloca_array.
7437 2003-02-13 Martin Buchholz <martin@xemacs.org>
7439 Make XEmacs redisplay 10 times faster.
7440 If, that is, you're using a slow X connection and MoveOpaque.
7441 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7442 Use compress_motion = TRUE.
7443 * EmacsFrame.c (emacsFrameClassRec):
7444 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7445 * EmacsManager.c (emacsManagerClassRec):
7446 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7448 2003-01-30 Vin Shelton <acs@xemacs.org>
7450 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7452 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7454 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7455 Patch by Martin Buchholz.
7457 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7459 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7460 Thanks to icc for warning and Martin Buchholz for reporting.
7462 2003-01-29 Vin Shelton <acs@xemacs.org>
7464 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7466 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7467 remember to multiply by the element size.
7469 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7471 * XEmacs 21.4.12 "Portable Code" is released.
7473 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7475 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7476 * s/cygwin.sc: new linker file.
7478 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7480 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7482 * redisplay-x.c (x_output_string): Use X11-specified types.
7483 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7484 * emacs.c (__free_hook): Use typeof with Intel compiler.
7485 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7487 2003-01-08 Andy Piper <andy@xemacs.org>
7489 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7490 reserve size during unexec().
7492 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7494 * process-unix.c (unix_create_process): Don't let outchannel block.
7496 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7498 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7499 Needed for IsBadReadPtr().
7501 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7503 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7505 2002-12-14 Ben Wing <ben@xemacs.org>
7507 * callint.c: Declaration error.
7509 * dumper.c (pdump_load): Warning fix.
7510 * process.c: GCPRO error.
7511 * glyphs.c (unmap_subwindow):
7512 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7513 * event-stream.c (maybe_kbd_translate): Wrong argument to
7514 character_to_event().
7516 * alloc.c (garbage_collect_1):
7518 * emacs.c (debug_can_access_memory):
7519 * emacs.c (fatal_error_signal):
7520 * emacs.c (mswindows_handle_hardware_exceptions):
7523 * emacs.c (assert_failed):
7524 * emacs.c (syms_of_emacs):
7527 * print.c (std_handle_out_va):
7528 * print.c (write_string_to_stdio_stream):
7529 * print.c (write_fmt_string):
7530 * print.c (printing_badness):
7531 * print.c (printing_major_badness):
7532 * print.c (print_internal):
7533 * print.c (debug_print_no_newline):
7534 * print.c (debug_backtrace):
7535 Be more defensive in handling bad values when printing. Add code
7536 from trunk involving inhibit_non_essential_printing_operations.
7537 When going down or in debug_print(), don't do external conversion
7538 and such and try really, really hard when printing to avoid core
7539 dumping. Add force-debugging-signal, debug_break().
7541 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7543 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7544 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7546 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7548 * database.c: Fix open_database. Berkeley DB API has changed in
7549 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7551 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7553 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7555 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7557 * event-Xt.c (Xt_timeout):
7558 (Xt_timeout_callback):
7559 (emacs_Xt_add_timeout):
7560 (emacs_Xt_remove_timeout):
7561 (Xt_timeout_to_emacs_event):
7562 Turn completed_timeouts from a stack into a queue. Fixes
7563 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7565 2002-11-07 Wolfram Gloger <wg@malloc.de>
7567 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7568 * emacs.c (main): Assert that mmap'd allocation is disabled.
7570 2002-10-14 Andy Piper <andy@xemacs.org>
7572 * glyphs-widget.c (layout_query_geometry): add in fiddle
7573 factor. Include border text in width layout calculation.
7574 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7576 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7578 * XEmacs 21.4.10 "Military Intelligence" is released.
7580 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7582 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7583 using the NAS private array SoundFileInfo that no longer exists in
7584 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7585 and earlier. This is broken for some versions between 1.5a and
7588 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7590 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7592 * emacs.c (shut_down_emacs): Improve crash message.
7594 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7596 * file-coding.c (determine_real_coding_system): Check for coding
7597 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7598 shebangs and Python PEP 263.
7600 2002-10-08 Andy Piper <andy@xemacs.org>
7602 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7603 if static sizes haven't been set.
7605 2002-08-30 Mike Alexander <mta@arbortext.com>
7607 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7610 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7612 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7614 2002-09-20 Mike Sperber <mike@xemacs.org>
7616 (This partially gets back my patch from 2002-07-20 without the
7618 * callproc.c (child_setup): Remove Ben's comment noting confusion
7619 over the file descriptors >= 3: close_process_descs() doesn't
7620 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7621 * process-unix.c (unix_create_process): Call
7622 begin_dont_check_for_quit to inhibit unwanted interaction (and
7623 thus breaking of X event synchronicity) in the child.
7625 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7627 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7630 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7632 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7633 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7634 the xemacs process did not exit, but looped infinitely here. This
7637 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7639 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7640 (find_context): Improve comments.
7642 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7643 (re_match_2): An XCHAR_TABLE operation was missing.
7645 Many of the following changes were inspired by Andy Piper's (now
7646 obsolete) patch to make syntax-table text property lookup optional.
7650 * syntax.h (top level): Document semantics of syntax flags.
7651 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7652 * syntax.c, syntax.h (top level): Document syntax cache better in
7655 [Instrument syntax caching (temporary change)]
7657 * syntax.h (enum syntax_cache_statistics_functions, struct
7658 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7659 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7660 * syntax.c (scan_words, Fforward_comment, scan_lists,
7661 Fbackward_prefix_characters):
7662 * font-lock.c (find_context):
7663 Use them to instrument syntax caching.
7664 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7665 syntax_cache_statistics_function_names): New type and variables.
7666 * syntax.c (update_syntax_cache): Update and report statistics.
7668 [Major syntax cache optimizations]
7670 syntax.c (lookup_syntax_properties): Default off.
7672 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7673 * syntax.c (update_syntax_cache):
7674 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7676 [Minor syntax cache optimizations and code clarifications]
7678 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7679 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7680 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7681 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7682 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7683 (Code clarification.)
7685 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7686 scan_lists): Compute code from syncode, use Boolean macros instead
7687 of redundant masking operations. (Code clarification; any decent
7688 compiler can do this optimization.)
7690 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7693 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7694 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7695 use F*_single_property_change instead of F*_extent_change.
7696 Currently F*_single_property_change is _much_ less efficient.
7698 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7699 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7700 syntax_cache.object properly, don't leave Qt or Qnil.
7701 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7702 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7703 tests for Qt or Qnil.
7705 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7707 * redisplay.c (point_in_line_start_cache):
7708 * extents.c (print_extent_1):
7711 * extents.c (Fset_extent_property): Document `syntax-table' property.
7713 * extents.h (Fnext_single_property_change): EXFUN it.
7715 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7717 * search.c (clear_unused_search_regs): New static function.
7721 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7722 Minor clarifications in comments.
7724 * regex.c (re_match_2_internal): Ensure no stale submatches.
7726 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7728 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7730 2002-08-29 Jerry James <james@xemacs.org>
7732 * lisp.h: structrures -> structures.
7734 2002-06-03 Andy Piper <andy@xemacs.org>
7736 * frame.c (frame_conversion_internal): add conversion appropriate
7737 for setting frame dimensions in pixels.
7739 * console.h (struct console_methods): add device-specific widget
7742 * emacs.c (main_1): initialize glyph vars.
7744 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7745 (handle_focus_event_2): new function. Allow focus to
7746 be set to a particular window and widget.
7747 (enqueue_focus_event): new function. Create a
7748 synthetic focus event.
7749 (emacs_Xt_handle_magic_event): call
7750 handle_focus_event_2.
7752 * frame.c (Fset_frame_pixel_height): new function. Allow
7753 pixel-based sizing. Does the right thing on character-oriented
7755 (Fset_frame_pixel_width): ditto.
7756 (Fset_frame_pixel_size): ditto.
7757 (syms_of_frame): declare.
7759 * general-slots.h: add :vertically-justify and
7760 :horizontally-justify.
7762 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7763 (mswindows_widget_border_width): new function.
7764 (mswindows_combo_box_instantiate): set border widths.
7765 (console_type_create_glyphs_mswindows): declare.
7768 (check_valid_justification): allow vertical and horizontal
7770 (widget_border_width): new function. Call device methods.
7771 (widget_instance_border_width): ditto.
7772 (logical_unit_height): new function. Determine the height of a
7773 logical-unit. Logical units are intended to provide grid-like
7774 layout for subcontrols in a layout. If the layout is
7775 :vertically-justify top then subcontrols will be positioned on
7776 logical-unit boundaries, thus allowing adjacent subcontrols to
7778 (widget_logical_unit_height): ditto for widgets.
7779 (redisplay_widget): misc cleanup.
7780 (widget_spacing): new function. Call device specific
7781 methods. Intended to be the default gap between adjacent widgets.
7782 (widget_query_geometry): use new spacing functions to determine
7783 appropriate geometry.
7784 (initialize_widget_image_instance): initialize horizontal and
7785 vertical justification.
7786 (widget_instantiate): use logica-units where appropriate for
7787 sizing large widgets.
7788 (button_query_geometry): use widget_instance_border_width.
7789 (tree_view_query_geometry): ditto.
7790 (tab_control_query_geometry): ditto.
7791 (edit_field_query_geometry): new function.
7792 (layout_update): pick up :justify, :horizontally-justify and
7793 :vertically-justify none of which worked previously. :justify is
7794 used as a fallback for both horizontal and vertical justification.
7795 (layout_query_geometry): use logical units to size appropriately.
7796 (layout_layout): ditto.
7797 (Fwidget_logical_to_character_width): new function. Allow users to
7798 convert from logical units to characters so that frame sizes can
7799 be set appropriately.
7800 (Fwidget_logical_to_character_height): ditto.
7801 (syms_of_glyphs_widget): declare.
7802 (image_instantiator_edit_fields): add edit_field_query_geometry.
7803 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7804 :horizontally-justify.
7805 (specifier_vars_of_glyphs_widget): new function. Declare
7806 Vwidget_border_width which is not yet used.
7808 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7809 (x_widget_border_width): new function.
7810 (x_widget_instantiate): create a sensible name for widgets.
7811 (console_type_create_glyphs_x): declare x_widget_border_width.
7813 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7814 (struct Lisp_Image_Instance): add :vertically-justify and
7815 :horizontally-justify.
7816 (LAYOUT_JUSTIFY_TOP): new.
7817 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7818 (ROUND_UP): new macro. Round argument up to next integral
7821 * redisplay-output.c (redisplay_output_layout): misc formatting.
7823 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7825 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7827 * XEmacs 21.4.9 "Informed Management" is released.
7829 2002-08-19 Andy Piper <andy@xemacs.org>
7831 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7834 * realpath.c (xrealpath): normalize drive spec also so that dir
7835 sep chars are not mixed on cygwin.
7837 2002-08-06 Jerry James <james@xemacs.org>
7839 * window.c (Fsplit_window): Count only half of the divider width
7840 against the left window when splitting horizontally.
7842 2002-06-24 Andy Piper <andy@xemacs.org>
7844 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7845 toolbar was cleared.
7847 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7848 function. Split out from mswindows_output_frame_toolbars.
7849 (mswindows_output_frame_toolbars): move clear pieces to
7850 mswindows_output_frame_toolbars.
7852 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7853 out from gtk_output_frame_toolbars.
7854 (gtk_output_frame_toolbars): move clear pieces to
7855 gtk_clear_frame_toolbars.
7857 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7858 the frame is cleared. How this ever worked before is a mystery.
7859 (x_output_frame_toolbars): Only output toolbars.
7860 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7862 * gutter.c (update_gutter_geometry):
7863 Mark frame layout changed.
7864 (update_frame_gutter_geometry, update_frame_gutters):
7865 Respect frame_layout_changed.
7867 * console.h (struct console_methods): add
7868 clear_frame_toolbars_method.
7870 * redisplay.c (redisplay_frame): call
7871 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7873 * toolbar.h: declare update_frame_toolbars_geometry.
7875 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7876 out from update_frame_toolbars. Call clear_frame_toolbars.
7877 (update_frame_toolbars): only output, do not change geometry.
7879 * redisplay.c: add frame_layout_changed.
7881 * redisplay.h: add frame_layout_changed.
7882 (CLASS_RESET_CHANGED_FLAGS): set it.
7883 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7884 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7885 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7887 * device.h (struct device): add frame_layout_changed.
7888 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7890 * frame.h (struct frame): add frame_layout_changed.
7891 (MARK_FRAME_LAYOUT_CHANGED): new.
7893 2002-06-30 Mike Alexander <mta@arbortext.com>
7895 * event-msw.c (mswindows_need_event): Don't wait for a new message
7896 if the queue is not empty. Suggested by Paul Moore.
7898 2002-06-12 Andy Piper <andy@xemacs.org>
7900 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7901 for printing on accurately.
7903 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7905 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7906 WM_ACTIVATE message. Make sure that the frame is visible if the
7907 window is visible. This seemss to fix the problem where XEmacs
7908 appears to freeze after switching desktops with certain virtual
7910 (debug_output_mswin_message): Added code to output message
7911 parameters for WM_WINDOWPOSCHANGED,
7912 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7914 2002-05-25 Andy Piper <andy@xemacs.org>
7916 * select-x.c (vars_of_select_x): Fix docstring of
7917 x-selection-strict-motif-ownership
7919 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7921 * keymap.c (get_keymap):
7922 Add comment about do_autoload GCPROs own args.
7924 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7926 * bytecode.c (execute_optimized_program): check_opcode ifdef
7927 ERROR_CHECK_BYTE_CODE.
7929 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7931 Thanks to Ben Wing and Michael Sperber.
7933 * eval.c (Fcommand_execute):
7936 (Fmacroexpand_internal):
7937 (function_argcount):
7938 callint.c (Fcall_interactively):
7939 Add comment about do_autoload GCPROs own args.
7941 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7943 * eval.c (Ffuncall): Extra braces to placate GCC.
7945 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7947 * backtrace.h (grow_specpdl):
7949 * EmacsFrame.c (EmacsFrameSetValues):
7950 * eval.c (grow_specpdl):
7951 * ExternalShell.c (hack_event_masks_1):
7952 * glyphs-x.c (convert_EImage_to_XImage):
7953 (x_finalize_image_instance):
7954 * ralloc.c (page_size):
7956 * xgccache.c (gc_cache_hash):
7957 Fix unsigned comparison warnings.
7959 2002-07-29 Jerry James <james@xemacs.org>
7961 * lread.c (locate_file): Any nonnegative return value indicates
7962 success if MODE is nonnegative.
7964 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7966 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7969 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7971 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7973 * dumper.c (pdump_get_indirect_count):
7974 (pdump_scan_by_alignment):
7975 (pdump_dump_root_struct_ptrs):
7976 (pdump_dump_rtables):
7977 (pdump_dump_root_objects):
7979 * nas.c (WaveOpenDataForReading):
7980 * fns.c (print_bit_vector):
7981 * font-lock.c (SINGLE_SYNTAX_STYLE):
7982 * glyphs.c (check_for_ignored_expose):
7983 (find_matching_subwindow):
7985 * imgproc.c (get_histogram):
7986 * redisplay.c (point_in_line_start_cache):
7987 * redisplay-output.c (redisplay_unmap_subwindows):
7988 * symbols.c (defsymbol_massage_name_1):
7989 (defkeyword_massage_name):
7990 (deferror_massage_name_and_message):
7991 * redisplay-x.c (x_output_string):
7992 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7993 * frame.h (struct frame):
7994 * filelock.c (current_lock_owner):
7995 * doprnt.c (emacs_doprnt_1):
7996 * lisp.h (struct Lisp_Bit_Vector):
8000 2002-02-13 Ben Wing <ben@xemacs.org>
8002 * event-stream.c (reset_key_echo):
8003 * event-stream.c (reset_this_command_keys):
8004 * event-stream.c (execute_command_event):
8005 If console is dead as a result of C-x 5 0, then post-command stuff
8006 needs to be careful and do only non-console-specific stuff.
8008 2002-07-01 Mike Sperber <mike@xemacs.org>
8010 * process-unix.c (unix_send_process): Mark coding_outstream as
8011 non-open upon SIGPIPE.
8013 * event-stream.c (Fnext_event): Reorder switch cases to something
8016 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
8018 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
8019 Don't bogusly reinitialize ascii_character property.
8021 2002-07-08 Mike Sperber <mike@xemacs.org>
8023 * process.c (Fstart_process_internal): Do error checking before we
8024 fork off the child, so the child can't muck with the state of the
8027 2002-07-08 Mike Sperber <mike@xemacs.org>
8029 * ralloc.c (init_ralloc): Allocate properly for pdump.
8031 2002-06-12 Andy Piper <andy@xemacs.org>
8033 * glyphs.c (query_string_geometry): check the string.
8035 * glyphs-widget.c (widget_logical_unit_height): cope with nil
8038 2002-06-17 Jerry James <james@xemacs.org>
8040 * sysdll.c: Remove RTLD_GLOBAL initialization.
8041 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
8043 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
8045 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
8047 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
8049 * sysdep.c (sys_rename): Make sys_rename work for the case where
8050 Windows rename sets errno to EACCES if target file exists.
8052 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
8054 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8055 Fix detection of metric units to work on Win95
8057 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
8059 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
8061 2002-04-25 Andy Piper <andy@xemacs.org>
8063 * redisplay.c (create_text_block): Remove extra comment trailer.
8065 2002-04-24 Andy Piper <andy@xemacs.org>
8067 * redisplay.c (create_text_block): Don't actually add propagation
8068 data if the line ends after we have added a glyph.
8070 2002-04-22 Andy Piper <andy@xemacs.org>
8072 * extents.c (extent_fragment_update): check for glyphs we have
8073 previously displayed.
8074 * extents.c (print_extent_1): warning removal.
8075 * extents.h: change prototype.
8076 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
8077 widths correctly for wide glyphs.
8078 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
8079 * redisplay.c (prop_type): add PROP_GLYPH.
8080 * redisplay.c (struct prop_block): add glyph type
8081 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
8082 to the propagation data.
8083 * redisplay.c (create_text_block): if there is a glyph in the
8084 propagation data use it to salt extent_fragment_update.
8085 * redisplay.c (create_string_text_block): ditto.
8087 2002-04-13 Nix <nix@esperi.demon.co.uk>
8089 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
8090 * redisplay-output.c (compare_runes): Compare them.
8091 * redisplay.c: Update copyright date.
8092 * redisplay.c (pos_data): Add need_baseline_computation field.
8093 * redisplay.c (add_glyph_rune): Update ascent, descent, and
8094 need_baseline_computation; zero yoffset. Set max_pixmap_height
8095 for all pixmaps, not just automatically positioned ones.
8096 * redisplay.c (calculate_yoffset): New, compute yoffset values.
8097 * redisplay.c (calculate_baseline): New, compute textual baseline.
8098 * redisplay.c (add_glyph_rune): Call them.
8099 * redisplay.c (create_text_block): Likewise.
8100 * redisplay.c (create_overlay_glyph_block): Likewise.
8101 * redisplay.c (add_margin_runes): Likewise.
8102 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
8104 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
8105 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
8106 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
8107 * redisplay-msw.c (mswindows_output_string): Likewise.
8108 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
8109 * redisplay-gtk.c (gtk_output_display_block): Likewise.
8110 * redisplay-x.c (x_output_display_block): Likewise.
8112 2002-03-28 Ben Wing <ben@xemacs.org>
8114 * redisplay.c: Fixed bug in redisplay
8115 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
8116 and down of the lines, since they're bigger than the line
8117 size. (It was seen most obviously when there's a horizontal scroll
8118 bar, e.g. do C-h a glyph or something like that.) The problem was
8119 that the glyph-contrib-p setting on glyphs was ignored even if it
8120 was set properly, which it wasn't until now.
8122 2002-04-24 Andy Piper <andy@xemacs.org>
8124 * lisp.h (Dynarr_end): Fix definition.
8126 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8128 * redisplay.c (mark_redisplay): Remove call to
8129 update_frame_window_mirror.
8131 2001-11-15 Andy Piper <andy@xemacs.org>
8133 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8136 2002-02-13 Andy Piper <andy@xemacs.org>
8138 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8139 we did in fact enqueue the XM_MAPFRAME event.
8141 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8143 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8144 to fix problem switching between virtual desktops under virtuawin
8145 virtual window manager.
8147 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8149 * event-msw.c: Typo fix.
8150 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8151 magic XM_MAPFRAME event has been sent.
8153 2001-11-23 Andy Piper <andy@xemacs.org>
8155 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8157 2001-11-21 Andy Piper <andy@xemacs.org>
8159 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8160 mouse events outside the frame.
8162 2002-03-20 Andy Piper <andy@xemacs.org>
8164 * menubar-msw.c (mswindows_popup_menu): warning removal.
8165 * dialog-msw.c (dialog_popped_down): ditto.
8167 2001-12-11 Andy Piper <andy@xemacs.org>
8169 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8170 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8172 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8173 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8174 * menubar-msw.c (mswindows_popup_menu): ditto.
8176 2001-10-29 Andy Piper <andy@xemacs.org>
8178 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8181 2002-01-03 Andy Piper <andy@xemacs.org>
8183 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8187 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8189 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8190 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8191 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8192 Detect and handle case where machine is set up for metric units
8194 2002-04-02 Andy Piper <andy@xemacs.org>
8196 * dired-msw.c (mswindows_get_files):
8197 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8198 completely handled by XEmacs. Suggested by Thomas Vogler
8199 <mail@thomas-vogler.de>.
8201 2001-11-14 Andy Piper <andy@xemacs.org>
8203 * nt.c (REG_ROOT): change registry key to XEmacs.
8205 2002-04-27 Andy Piper <andy@xemacs.org>
8207 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8209 2002-04-26 Andy Piper <andy@xemacs.org>
8211 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8214 2002-03-14 Mike Alexander <mta@arbortext.com>
8216 * event-msw.c (mswindows_unwait_process): New, remove process from
8218 * process-nt.c (nt_finalize_process_data): Call
8219 mswindows_unwait_process
8220 * console-msw.h: Declare mswindows_unwait_process
8222 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8224 * editfns.c (Fdecode_time):
8225 (Fformat_time_string):
8226 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8227 (make_time): Warning elimination (change arg name).
8229 2001-11-24 Andy Piper <andy@xemacs.org>
8231 * window.c (Fsplit_window): Doc return type.
8233 2002-04-01 Andy Piper <andy@xemacs.org>
8235 * emacs.c (Fkill_emacs): Only output message box in interactive
8238 2002-04-26 Andy Piper <andy@xemacs.org>
8240 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8243 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8245 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8248 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8250 * XEmacs 21.4.8 "Honest Recruiter" is released.
8252 2002-05-07 Nix <nix@esperi.demon.co.uk>
8254 Supersedes 2002-04-17 patch.
8256 * process.h (PROCESS_LIVE_P): Use the process status as
8257 evidence of health, not the state of the input stream.
8258 (PROCESS_READABLE_P): Say if the process is readable
8259 from. (It may be dead nonetheless.)
8260 (CHECK_READABLE_PROCESS): Test for that condition.
8262 * process.c (create_process): Use PROCESS_READABLE_P.
8263 (read_process_output, set_process_filter): Likewise.
8265 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8266 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8268 This code is #if 0'd, this is not the time to add new functions:
8270 * process.c (Fprocess_readable_p): Report readability status.
8271 * process.c (Qprocess_readable_p): New, associated symbol...
8272 * process.c (syms_of_process): ... initialize it.
8274 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8276 * XEmacs 21.4.7 "Economic Science" is released.
8278 2002-04-17 Nix <nix@esperi.demon.co.uk>
8280 * process.h (PROCESS_LIVE_P): Use the process status as
8281 evidence of health, not the state of the input stream.
8283 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8285 * sysdep.c (sys_siglist): change "signum" to "signal"
8287 2001-04-21 Martin Buchholz <martin@xemacs.org>
8289 * s/darwin.h: New file.
8290 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8292 2002-04-23 Andreas Jaeger <aj@suse.de>
8294 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8295 which use lib64 for 64-bit libs.
8296 (START_FILES): Likewise.
8298 2002-02-11 Mike Sperber <mike@xemacs.org>
8301 (x_IO_error_handler):
8302 (x_init_device): Temporarily keep device in static variable
8303 `device_being_initialized' so we can recover gracefully from
8304 internal XOpenDevice failure. (XOpenDevice is documented to
8305 return NULL on failure, but sometimes calls the IO error handler
8308 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8310 * dired.c (Ffile_name_all_completions): Change documentation --
8311 remove reference to completion-ignored-extensions.
8312 * dired.c (vars_of_dired): Change documentation for
8313 completion-ignored-extensions -- remove reference to
8314 file-name-all-completions.
8316 2002-03-06 Jerry James <james@xemacs.org>
8318 * emodules.c (emodules_load): Fix multiple loading of same module.
8320 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8321 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8322 RTLD_LAZY to avoid incorrect symbol binding when using nested
8323 shared libraries on Solaris.
8325 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8327 * fileio.c (Ffind_file_name_handler): Improve docstring.
8329 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8331 * fns.c (Fmapconcat): Improve docstring.
8333 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8335 * device-gtk.c: Add prototype for
8336 emacs_gtk_selection_clear_event_handle.
8337 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8338 selection. Setup signal handler for "selection_clear_event"
8339 (emacs_gtk_selection_clear_event_handle).
8341 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8342 other applications owning the clipboard (based on
8343 x_handle_selection_clear).
8345 2001-12-23 William M. Perry <wmperry@gnu.org>
8347 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8349 2002-01-04 Martin Buchholz <martin@xemacs.org>
8351 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8353 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8355 * XEmacs 21.4.6 "Common Lisp" is released.
8357 2001-12-16 Torsten Duwe <duwe@caldera.de>
8359 * search.c (Freplace_match): Add missing sub-expression functionality.
8361 * buffer.c (decode_buffer): Add a check for pointer type to
8362 decode_buffer, before gcc's CSE optimization reorders a
8363 dereference in front of the allow_string test.
8365 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8367 * window.c (window_loop): Fix bug that sometimes prevented
8368 window_loop() from iterating across multiple devices. Also, at
8369 Ben's request, changed infloop-detecting code to abort() instead
8370 of silently terminating window_loop().
8372 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8374 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8375 * editfns.c (make_time): New function.
8376 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8377 * lisp.h (make_time): Prototype and comment it.
8378 * dired.c (wasteful_word_to_lisp): Deprecate.
8379 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8381 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8383 * fileio.c (auto_save_1): Use current coding system, not
8386 2001-11-13 Ben Wing <ben@xemacs.org>
8389 * window.c (window_truncation_on):
8390 * window.c (syms_of_window):
8391 truncate-partial-width-windows should respect the buffer being
8392 displayed, like other redisplay vars.
8394 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8396 * event-stream.c (Fread_key_sequence): save current buffer.
8398 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8400 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8402 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8404 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8406 2001-10-26 Mike Alexander <mta@arbortext.com>
8408 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8410 2001-10-25 Andy Piper <andy@xemacs.org>
8413 * dialog-msw.c (handle_directory_proc): new function.
8414 (handle_directory_dialog_box): new fucntion.
8415 (handle_file_dialog_box): use new directory dialog support.
8416 (mswindows_make_dialog_box_internal): ditto.
8417 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8419 (mswindows_find_frame): make global.
8420 * fileio.c (Fexpand_file_name): build fix.
8421 * general-slots.h: add Qdirectory.
8422 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8424 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8425 cygwin not leaving win32 paths unchanged.
8426 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8427 cygwin runtime to do path conversion.
8428 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8429 (syms_of_win32): add new function.
8430 * window.c (window_loop): build fix.
8432 2001-10-15 Andy Piper <andy@xemacs.org>
8434 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8436 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8438 * XEmacs 21.4.5 "Civil Service" is released.
8440 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8442 * glyphs-x.c: Force buffer-tab highlight update when moving the
8443 buffer, avoiding an ugly black border, used for keyboard focus
8444 indication, on a widget that can never have keyboard focus, the
8447 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8449 * process-unix.c (unix_open_multicast_group): Remove too much
8450 conversion between host and network byte order.
8452 2001-09-10 Nix <nix@esperi.demon.co.uk>
8454 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8455 before replacing them.
8457 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8460 * src/window.c (undedicate_windows): Use it.
8461 * src/window.h: Add prototype.
8463 2001-09-17 Ben Wing <ben@xemacs.org>
8465 * fileio.c (normalize_filename):
8466 * fileio.c (Fexpand_file_name):
8467 Fix various C++ compile errors in Andy's recent code.
8469 * callint.c (Fcall_interactively):
8470 * editfns.c (Ftemp_directory):
8471 * editfns.c (Fuser_full_name):
8472 * emacs.c (argmatch):
8473 * lread.c (locate_file_map_suffixes):
8474 * redisplay-x.c (x_ring_bell):
8475 Fix sign-compare warnings.
8477 2001-09-08 Andy Piper <andy@xemacs.org>
8479 * fileio.c (normalize_filename): copied from nt.c
8480 * (Ffile_name_directory): enable win32 paths under cygwin.
8481 * (Ffile_name_nondirectory): ditto.
8482 * (directory_file_name): ditto.
8483 * (Fexpand_file_name): ditto.
8484 * (Ffile_truename): ditto.
8485 * (Fsubstitute_in_file_name): ditto.
8486 * (Ffile_name_absolute_p): ditto.
8487 * (Ffile_readable_p): ditto.
8489 2001-09-08 Andy Piper <andy@xemacs.org>
8491 * device-msw.c (mswindows_finish_init_device): remove dde
8493 * device-msw.c (mswindows_init_dde): factor out from
8494 mswindows_finish_init_device()
8495 * device-msw.c (init_mswindows_very_early): new function
8496 initialize but don't enable dde.
8497 * emacs.c (main_1): call init_mswindows_very_early.
8499 * event-msw.c (mswindows_dde_callback): only execute when we are
8501 * symsinit.h: declare init_mswindows_very_early.
8503 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8505 [sjt: This has been in 21.5 for months with no complaints.]
8507 * console.h (struct console_methods): Added flags member.
8508 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8509 (CONMETH_IMPL_FLAG):
8510 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8511 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8513 * device.c (window_system_pixelated_geometry): Use the above macros.
8515 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8516 implememntation flag.
8517 * device.h (DEVICE_DISPLAY_P): Use it.
8519 * frame.c (delete_frame_internal): Use the above macro.
8521 * redisplay.c (redisplay_device): Use it.
8522 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8523 (redisplay_frame): Ditto.
8525 * device-msw.c (mswindows_device_implementation_flags): Removed.
8526 (msprinter_device_implementation_flags): Removed.
8527 (console_type_create_device_mswindows): Removed references to
8528 implementation_flags methods, set implementation flags here.
8529 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8531 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8532 (console_type_create_device_gtk): Removed method declaration.
8533 Added commented out statement which semantically matches the
8534 commented out statement in the above removed method.
8536 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8538 The attached patch fixes a few warnings.
8540 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8541 * src/frame-gtk.c: guard against GNOME calls in GTK only
8542 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8543 * src/select-gtk.c: prototype lisp_to_time
8545 2001-06-08 Ben Wing <ben@xemacs.org>
8547 ------ gc-in-window-procedure fixes ------
8550 * alloc.c (struct post_gc_action):
8551 * alloc.c (register_post_gc_action):
8552 * alloc.c (run_post_gc_actions):
8553 * alloc.c (garbage_collect_1):
8554 Create "post-gc actions", to avoid those dreaded "GC during window
8555 procedure" problems.
8558 Abort, clean and simple, when GC in window procedure. We want
8559 to flush these puppies out.
8562 * glyphs-msw.c (finalize_destroy_window):
8563 * glyphs-msw.c (mswindows_finalize_image_instance):
8564 Use a post-gc action when destroying subwindows.
8567 Declare register_post_gc_action().
8570 * scrollbar-msw.c (unshow_that_mofo):
8571 Use a post-gc action when unshowing scrollbar windows, if in gc.
8573 * redisplay.c (mark_redisplay):
8574 Add comment about the utter evilness of what's going down here.
8576 ------ cygwin setitimer fixes ------
8578 * Makefile.in.in (sheap_objs):
8579 * Makefile.in.in (profile_objs):
8580 * Makefile.in.in (objs):
8581 Compile profile.c only when HAVE_SETITIMER.
8583 * nt.c (mswindows_sigset):
8584 * nt.c (mswindows_sighold):
8585 * nt.c (mswindows_sigrelse):
8586 * nt.c (mswindows_sigpause):
8587 * nt.c (mswindows_raise):
8588 * nt.c (close_file_data):
8592 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8595 * profile.c (Fstart_profiling):
8596 * profile.c (Fstop_profiling):
8597 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8598 instead of just plain setitimer().
8601 * signal.c (set_one_shot_timer):
8603 Define qxe_setitimer() as an encapsulation around setitimer() --
8604 call setitimer() directly unless Cygwin or MS Win, in which case
8605 we use our simulated version in win32.c.
8608 * systime.h (struct itimerval):
8609 * systime.h (ITIMER_REAL):
8610 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8611 comment about "qxe" and the policy regarding encapsulation.
8614 * win32.c (setitimer_helper_proc):
8615 * win32.c (setitimer_helper_period):
8616 * win32.c (setitimer_helper):
8617 * win32.c (mswindows_setitimer):
8618 Move setitimer() emulation here, so Cygwin can use it.
8619 Rename a couple of functions and variables to be longer and more
8620 descriptive. In setitimer_helper_proc(), send the signal
8621 using either mswindows_raise() or (on Cygwin) kill(). If for
8622 some reason we are still getting lockups, we'll change the kill()
8623 to directly invoke the signal handlers.
8625 ------ windows shell fixes ------
8629 Comments about how these two files must die.
8631 * callproc.c (init_callproc):
8632 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8633 not just COMSPEC. (more correct and closer to FSF.) Don't
8634 force a value for SHELL into the environment. (Comments added
8635 to explain why not.)
8637 * nt.c (init_user_info):
8638 Don't shove a fabricated SHELL into the environment. See above.
8640 2001-06-01 Ben Wing <ben@xemacs.org>
8642 * Makefile.in.in (ldflags):
8643 eliminate that pesky "defaulting to 00401000" warning.
8647 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8649 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8650 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8652 2001-04-24 Jerry James <james@xemacs.org>
8654 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8657 2001-06-01 Ben Wing <ben@xemacs.org>
8659 * event-msw.c (debug_mswin_messages):
8660 conditionalize the messages that were causing compile errors.
8661 (if only macros could generate #ifdef statements ...)
8663 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8665 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8667 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8669 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8671 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8673 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8674 * process-unix.c (unix_canonicalize_host_name):
8675 sysdep.c (init_system_name):
8676 Use it to conditionally support IPv6 canonicalization.
8678 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8681 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8683 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8685 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8686 attempt is made to scroll when no scroll bar is available.
8688 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8690 * input-method-motif.c (XIM_delete_frame): New callback.
8691 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8692 got deleted from 21.4.3.)
8694 2001-06-01 Ben Wing <ben@xemacs.org>
8696 * nt.c (mswindows_utime):
8697 * nt.c (close_file_data):
8698 fix off-by-one-indirection error.
8700 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8702 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8703 because set_file_times() now takes Lisp_Object path, instead of
8705 * nt.c: Include buffer.h.
8706 * nt.c (convert_from_time_t): New.
8707 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8708 not set mtime correctly.
8709 * nt.h: Declare mswindows_utime().
8710 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8711 path, instead of char*.
8712 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8714 2001-05-30 Ben Wing <ben@xemacs.org>
8718 (Stephen, just take all event-msw.c patches. This includes
8719 the "iconify" fix below.)
8722 * event-msw.c (mswindows_dequeue_dispatch_event):
8723 * event-msw.c (assert):
8724 * event-msw.c (emacs_mswindows_quit_p):
8725 * event-msw.c (debug_mswin_messages):
8726 * event-msw.c (debug_output_mswin_message):
8727 * event-msw.c (vars_of_event_mswindows):
8728 Fix yet more problems with C-g handling.
8729 Implement debug-mswindows-events.
8731 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8733 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8735 2001-05-23 Ben Wing <ben@xemacs.org>
8737 * event-msw.c (winsock_writer):
8738 * event-msw.c (winsock_closer):
8739 prior kludgy code was clobbering the buffer, thinking it was
8740 "unused" space to store an unneeded return value; instead, use
8741 the variable we've already got staring us in the face.
8743 2001-05-17 Andy Piper <andy@xemacs.org>
8745 * sysfile.h: don't assume that file attributes are boolean
8747 2001-05-23 Ben Wing <ben@xemacs.org>
8749 * device-msw.c (msprinter_init_device):
8750 signal an error rather than crash with an unavailable network
8751 printer (from Mike Alexander).
8754 * event-msw.c (struct winsock_stream):
8755 * event-msw.c (winsock_writer):
8756 * event-msw.c (winsock_closer):
8757 * event-msw.c (make_winsock_stream_1):
8758 cleanup headers. fix (hopefully) an error with data corruption
8759 when sending to a network connection.
8761 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8762 to handle the ~user prefix by (a) always assuming we're referencing
8763 ourselves and not even verifying the user -- hence any file with
8764 a tilde as its first char is invalid! (b) if there wasn't a slash
8765 following the filename, the pointer was set *past* the end of
8766 file and we started reading from uninitialized memory. Now we
8767 simply treat these as files, always.
8769 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8771 2001-05-19 Ben Wing <ben@xemacs.org>
8773 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8776 * process-nt.c (vars_of_process_nt):
8777 remove unused mswindows-quote-process-args. rec for 21.4.
8779 2001-05-12 Ben Wing <ben@xemacs.org>
8781 * event-msw.c (mswindows_dde_callback):
8782 * event-msw.c (mswindows_wnd_proc):
8783 eliminate cygwin warnings.
8785 2001-05-06 Ben Wing <ben@xemacs.org>
8789 * device-msw.c (print_dialog_worker):
8790 * device-msw.c (mswindows_handle_print_dialog_box):
8791 * device-msw.c (syms_of_device_mswindows):
8792 * dialog-msw.c (mswindows_make_dialog_box_internal):
8794 implement printing the selection when it's selected.
8796 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8798 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8800 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8802 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8803 EMACS_INT is signed.
8805 2001-04-15 Michael Lausch <mla@1012surf.net>
8807 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8808 gtk_widget_request_size() to give scrollbar >0 width for
8811 2001-05-30 William M. Perry <wmperry@gnu.org>
8813 * event-gtk.c: Check for buttons as modifier keys.
8815 2001-05-25 Craig Lanning <CraigL@Knology.net>
8818 Properly find MinGW's <process.h> inside Cygwin's restructured
8819 include directories. Don't try to include <cygwin/version.h>
8820 since we are dropping support for MinGW in versions of Cygwin
8823 Drop support for MinGW in versions of Cygwin before b21.
8825 Properly find MinGW's <process.h> inside Cygwin's restructured
8826 include directories.
8828 Drop support for MinGW in versions of Cygwin before b21.
8830 Even though a.out.h is no longer detected by configure, allow
8831 MinGW to use it until we figure out how to do the job with Win32.
8833 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8835 * syntax.c (find_start_of_comment):
8836 Fix `unbalanced parentheses' bug when dealing with mixed comment
8837 styles in c++/java/etc. mode
8839 2001-05-29 Mike Alexander <mta@arbortext.com>
8841 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8842 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8844 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8846 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8848 2001-03-31 Mike Sperber <mike@xemacs.org>
8850 * search.c (Freplace_match): Support FSF-style specification of
8851 match subexpression when applied to a buffer.
8853 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8855 * event-stream.c (is_scrollbar_event): add missing semicolon
8857 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8859 * Makefile.in.in: Use TAR macro instead of hardcoding
8860 tar. Allows use of GNU tar instead of system tar
8862 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8864 * event-stream.c (is_scrollbar_event): add missing semicolon
8866 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8868 * XEmacs 21.4.3 "Academic Rigor" is released.
8870 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8872 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8874 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8876 * buffer.c (Vcase_fold_search): Remove obsolete
8877 comment about non ASCII case-fold-search. This
8878 bug has been fixed by case-table changes.
8880 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8882 * event-msw.c: Restore include of events-mod.h.
8884 2001-04-22 zhaoway <zw@debian.org>
8886 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8889 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8891 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8893 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8895 * mule-charset.c (Fmake_charset): Add missing else.
8897 2001-04-23 Ben Wing <ben@xemacs.org>
8899 * event-msw.c (FAKE_MOD_QUIT):
8900 * event-msw.c (mswindows_dequeue_dispatch_event):
8901 * event-msw.c (mswindows_wnd_proc):
8902 * event-msw.c (emacs_mswindows_quit_p):
8903 Get critical quit working.
8905 2001-05-05 Ben Wing <ben@xemacs.org>
8909 * device-msw.c (mswindows_get_default_margin):
8910 * frame-msw.c (mswindows_size_frame_internal):
8911 * frame-msw.c (msprinter_init_frame_1):
8912 * frame-msw.c (vars_of_frame_mswindows):
8913 Change top/bottom margin defaults to 0.5 inches.
8915 2001-05-01 Martin Buchholz <martin@xemacs.org>
8917 Fix link error with gcc 3.0 on Linux.
8918 * terminfo.c (UP): Remove.
8919 * terminfo.c (BC): Remove.
8920 * terminfo.c (PC): Remove.
8921 They weren't used, and in any case, these symbols should be
8922 defined in the *library*.
8924 2001-05-03 Martin Buchholz <martin@xemacs.org>
8926 * s/aix4.h: Fix crash with xlc -O3.
8927 Improve comment explaining how -O3 works.
8929 2001-04-15 Ben Wing <ben@xemacs.org>
8932 * event-stream.c (Fnext_event):
8933 * event-stream.c (is_scrollbar_event):
8934 * event-stream.c (execute_command_event):
8935 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8936 crash' problem. His fix introduces other problems. We filter
8937 out scrollbar events specifically, making them somewhat invisible
8938 to command-building, and not appearing in `this-command-keys'.
8939 More work is still needed (see comments in event-stream.c), but
8940 this fixes all the major problems.
8942 2001-04-20 Ben Wing <ben@xemacs.org>
8944 * .cvsignore: Added stuff for Windows.
8946 2001-04-28 Ben Wing <ben@xemacs.org>
8948 * buffer.c (Ferase_buffer):
8949 * editfns.c (buffer_insert1):
8950 * editfns.c (Finsert_before_markers):
8951 * editfns.c (Finsert_string):
8952 * editfns.c (Finsert_char):
8953 * editfns.c (Fdelete_region):
8954 * editfns.c (Fwiden):
8955 * editfns.c (Fnarrow_to_region):
8956 remove bogus lines setting zmacs_region_stays to 0.
8958 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8960 * process-unix.c (unix_open_network_stream): If connect() fails
8961 invalidate file descriptor after closing it.
8963 2001-03-08 Mike Alexander <mta@arbortext.com>
8965 * event-msw.c (mswindows_need_event_in_modal_loop):
8966 Don't dispatch a message if we didn't get one.
8967 (mswindows_need_event):
8968 Terminate the correct process when one exits instead of the first
8969 one on Vprocess_list and look for process termination when in
8970 mswindows_protect_modal_loop.
8972 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8974 * XEmacs 21.4.1 "Copyleft" is released.
8976 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8978 * input-method-motif.c (XIM_delete_frame): New callback.
8979 (XIM_init_frame): Register it.
8981 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8983 * XEmacs 21.4.0 "Solid Vapor" is released.
8985 2001-04-15 Ben Wing <ben@xemacs.org>
8987 * cmdloop.c (call_command_loop):
8988 Fix braino in bit-rotting code.
8990 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8992 * extents.c (Fset_extent_endpoints): Force creation of extent info
8993 in buffer_or_string.
8995 * extents.c (process_extents_for_insertion_mapper): Correctly
8996 check for open-open zero-length extents.
8998 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
9000 * lisp.h: New typedefs Memory_count, Element_count.
9003 Sign-compare warning elimination: several unsigned -> signed.
9004 Based on work by Ben Wing <ben@xemacs.org>.
9006 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
9008 * XEmacs 21.2.47 "Zephir" is released.
9010 2001-04-02 Jan Vroonhof <jan@xemacs.org>
9012 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
9014 2001-04-03 Mike Sperber <mike@xemacs.org>
9016 * search.c: Revert previous patch due because of release.
9018 2001-03-30 Ben Wing <ben@xemacs.org>
9021 Add missing killpg prototype.
9024 Add a comment about fixing problems when a new entry is added
9027 * frame-msw.c (mswindows_init_frame_1):
9028 Fix compile warnings.
9030 * menubar.c (vars_of_menubar):
9031 Provide `menu-accelerator-support' to indicate that we properly
9032 support %_ in menu specifications, so that package code can
9033 conditionalize on this (and remove %_ from menu specifications
9038 * scrollbar-msw.c (can_scroll):
9040 Fix handling of mouse wheel under Windows to follow standards --
9041 now scrolls window under pointer, not selected window.
9043 2001-03-31 Mike Sperber <mike@xemacs.org>
9045 * search.c (Freplace_match): Support FSF-style specification of
9046 match subexpression when applied to a buffer.
9048 2001-03-15 Martin Buchholz <martin@xemacs.org>
9050 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
9051 function to modify KEYMAP, so map over a copy of the hash table.
9053 2001-03-21 Martin Buchholz <martin@xemacs.org>
9055 * XEmacs 21.2.46 "Urania" is released.
9057 2001-03-20 Dan Holmsand <dan@eyebee.com>
9059 * realpath.c (xrealpath): Make file-truename work with symlinks to
9060 /cygdrive paths on cygwin. Always lowercase drive-letters on
9062 (cygwin_readlink): Don't try to find canonical filename unless
9065 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
9067 * ChangeLog: Log GTK merge.
9073 Revert gratuitous whitespace changes from GTK merge.
9075 * emacs.c: Document end of complex #ifdef @ l. 1495.
9078 2001-03-12 Andy Piper <andy@xemacs.org>
9080 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
9081 have to do likewise.
9083 2001-03-12 Andy Piper <andy@xemacs.org>
9085 * sysdep.c: we only support mingw now.
9087 2001-03-09 Andy Piper <andy@xemacs.org>
9089 * unexcw.c (copy_executable_and_dump_data_section): making approx
9090 overrun a warning only.
9092 2001-03-10 William M. Perry <wmperry@aventail.com>
9094 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
9095 satisfy Stephen's identical-after-cpp plea.
9097 2001-03-02 Ben Wing <ben@xemacs.org>
9100 * cmds.c (Fforward_char):
9104 Augment documentation of the most common motion commands to make
9105 note of the shifted-motion support.
9107 2001-03-02 Ben Wing <ben@xemacs.org>
9109 * nt.c (mswindows_fstat):
9110 * nt.c (mswindows_stat):
9111 * search.c (boyer_moore):
9112 Fix compile warnings under Windows.
9114 * sysdep.c (sys_readdir):
9115 Fix buggy filename-conversion code under Mule.
9117 2001-03-09 William M. Perry <wmperry@aventail.com>
9139 * redisplay-output.c:
9145 The Great GTK Merge.
9152 * emacs-widget-accessors.c:
9166 * native-gtk-toolbar.c:
9177 The Great GTK Merge: new files.
9179 2001-02-26 Ben Wing <ben@xemacs.org>
9181 Reapplied Lstream change.
9183 2001-02-26 Ben Wing <ben@xemacs.org>
9185 Undid the last change, since it is more controversial than I
9186 thought. It should be back in at some point soon.
9188 2001-02-25 Ben Wing <ben@xemacs.org>
9191 * callproc.c (Fold_call_process_internal):
9192 * event-msw.c (ntpipe_slurp_reader):
9193 * event-msw.c (ntpipe_shove_writer):
9194 * event-msw.c (winsock_reader):
9195 * event-msw.c (winsock_writer):
9197 * file-coding.c (detect_eol_type):
9198 * file-coding.c (detect_coding_type):
9199 * file-coding.c (determine_real_coding_system):
9200 * file-coding.c (Fdetect_coding_region):
9201 * file-coding.c (decoding_reader):
9202 * file-coding.c (decoding_writer):
9203 * file-coding.c (mule_decode):
9204 * file-coding.c (Fdecode_coding_region):
9205 * file-coding.c (encoding_reader):
9206 * file-coding.c (encoding_writer):
9207 * file-coding.c (mule_encode):
9208 * file-coding.c (Fencode_coding_region):
9209 * file-coding.c (detect_coding_sjis):
9210 * file-coding.c (decode_coding_sjis):
9211 * file-coding.c (encode_coding_sjis):
9212 * file-coding.c (detect_coding_big5):
9213 * file-coding.c (decode_coding_big5):
9214 * file-coding.c (encode_coding_big5):
9215 * file-coding.c (detect_coding_ucs4):
9216 * file-coding.c (decode_coding_ucs4):
9217 * file-coding.c (encode_coding_ucs4):
9218 * file-coding.c (detect_coding_utf8):
9219 * file-coding.c (decode_coding_utf8):
9220 * file-coding.c (encode_coding_utf8):
9221 * file-coding.c (detect_coding_iso2022):
9222 * file-coding.c (decode_coding_iso2022):
9223 * file-coding.c (encode_coding_iso2022):
9224 * file-coding.c (decode_coding_no_conversion):
9225 * file-coding.c (encode_coding_no_conversion):
9226 * glyphs-x.c (write_lisp_string_to_temp_file):
9227 * gpmevent.c (tty_get_foreign_selection):
9230 * lstream.c (Lstream_flush_out):
9231 * lstream.c (Lstream_adding):
9232 * lstream.c (Lstream_write_1):
9233 * lstream.c (Lstream_write):
9234 * lstream.c (Lstream_raw_read):
9235 * lstream.c (Lstream_read_more):
9236 * lstream.c (Lstream_read):
9237 * lstream.c (Lstream_unread):
9238 * lstream.c (Lstream_fputc):
9239 * lstream.c (stdio_reader):
9240 * lstream.c (stdio_writer):
9241 * lstream.c (filedesc_reader):
9242 * lstream.c (filedesc_writer):
9243 * lstream.c (lisp_string_reader):
9244 * lstream.c (struct fixed_buffer_stream):
9245 * lstream.c (make_fixed_buffer_input_stream):
9246 * lstream.c (make_fixed_buffer_output_stream):
9247 * lstream.c (fixed_buffer_reader):
9248 * lstream.c (fixed_buffer_writer):
9249 * lstream.c (struct resizing_buffer_stream):
9250 * lstream.c (resizing_buffer_writer):
9251 * lstream.c (dynarr_writer):
9252 * lstream.c (lisp_buffer_reader):
9253 * lstream.c (lisp_buffer_writer):
9255 * lstream.h (lstream_implementation):
9256 * lstream.h (struct lstream):
9258 * process-nt.c (nt_send_process):
9259 * process-unix.c (unix_send_process):
9261 Correct Lstream lossage due to mixing of signed and unsigned
9262 quantities. All Lstream uses of size_t and ssize_t are now a
9263 single signed data type Lstream_data_count. This fixes problems
9264 under Windows with sending large quantities of data to a process,
9265 and may well fix other subtle bugs.
9267 2001-02-23 Martin Buchholz <martin@xemacs.org>
9269 * XEmacs 21.2.45 "Thelxepeia" is released.
9271 2001-02-21 Martin Buchholz <martin@xemacs.org>
9273 * lisp-union.h (XSETINT):
9276 Reverse previous change of 2001-02-06.
9278 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9280 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9282 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9283 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9284 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9285 * regex.c (POS_AS_IN_BUFFER): removed
9286 * regex.c (re_search_2):
9287 * regex.c (re_match_2):
9288 Don't use an offset of 1 when calculating buffer positions, since
9289 `BI_BUF_BEGV' does it already.
9291 2001-02-18 Wim Dumon <wim@easics.be>
9293 * insdel.c (prepare_to_modify_buffer): Also check for
9294 supersession when clash-detection is enabled.
9296 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9298 * regex.c (re_match_2_internal):
9299 Convert temp characters from 'const unsigned char' to 're_char'.
9300 Fix crashing bug with extended characters under mule.
9301 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9302 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9303 font-lock, pdump, and new syntax-table code.
9304 * syntax.c (find_start_of_comment):
9305 (find_end_of_comment):
9307 Fix crashing bugs involving moving beyond end of buffer.
9308 * syntax.c (find_start_of_comment):
9309 Fixed logic to allow proper detection of cases where the same
9310 character is used to end both a two-char comment start and a
9311 two-char comment end sequence. Fixes `(forward-comment -1)'.
9312 * syntax.c (find_start_of_comment):
9313 Return position just past last comment-end character for all cases
9314 (previously was only done for two-char comment-end sequences).
9315 * syntax.c (forward-comment):
9316 Take value returned from `find_end_of_comment', rather than
9318 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9319 Properly deal with BUFFERP (syntax_cache.object)
9321 2001-02-17 Martin Buchholz <martin@xemacs.org>
9323 * alloc.c (Fgarbage_collect):
9324 * alloc.c (make_bit_vector_from_byte_vector):
9325 -Wsign-compare-correctness.
9327 2001-02-16 Martin Buchholz <martin@xemacs.org>
9329 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9330 (XSETCHAR): Likewise.
9331 (XSETOBJ): Likewise.
9333 2001-02-15 Martin Buchholz <martin@xemacs.org>
9335 * mule-canna.c (canna-func-delete_previous):
9336 Rename to canna-func-delete-previous.
9338 2001-02-14 Martin Buchholz <martin@xemacs.org>
9340 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9342 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9344 * font-lock.c (find_context): Fix C++ compile errors introduced by
9347 2001-02-13 Martin Buchholz <martin@xemacs.org>
9349 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9350 pragma, but earlier ones barf on the same pragma.
9352 2001-02-06 Mike Sperber <mike@xemacs.org>
9354 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9355 `configure-mule-lisp-directory'.
9357 2001-02-12 Martin Buchholz <martin@xemacs.org>
9359 Make sure dump-id.c is compiled in the same way as other .c's.
9360 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9361 * dump-id.h: Remove.
9362 * emacs.c: Move dump-id.h into dumper.h.
9363 * dumper.h: Move dump-id.h into dumper.h.
9365 Use standard .c.o rule for building dump-id.o.
9366 Remove preprocessor flags from link command.
9367 Add dump-id.o to ${otherobjs} if PDUMP.
9369 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9371 Port FSF 20.7 syntax table improvements.
9375 Fixups for new syntax table stuff.
9376 * dired.c: Include syntax.c.
9377 (Fdirectory_files): Initialize regex_match_object and
9379 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9380 and Fget_char_property.
9382 Use ported FSF 20.7 syntax table improvements.
9387 2001-02-09 Martin Buchholz <martin@xemacs.org>
9389 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9390 Unixware's enum boolean from sys/types.h.
9392 2001-02-10 Martin Buchholz <martin@xemacs.org>
9394 Fix support for building with latest Purify.
9395 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9396 (PURIFY_FLAGS): Likewise.
9398 2001-02-09 Martin Buchholz <martin@xemacs.org>
9400 * fileio.c (lisp_string_set_file_times): New.
9401 * fileio.c (Fcopy_file): Use it.
9403 (copy-file filename non-ascii-filename t t)
9404 ==> No such file or directory, non-ascii-filename
9406 2001-02-10 Martin Buchholz <martin@xemacs.org>
9408 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9409 USHRT_MAX seems clearer than ~0 anyways.
9411 2001-02-09 Martin Buchholz <martin@xemacs.org>
9413 dumper improvements. Inspired by Olivier.
9414 * dumper.c (pdump_max_align): New.
9415 * dumper.c (pdump_add_entry): Use pdump_max_align.
9416 * dumper.c (pdump_get_entry_list): Likewise.
9417 * dumper.c (pdump_scan_by_alignment): Likewise.
9418 Don't iterate through unnecessary alignments.
9419 * dumper.c (pdump_file_get): No need to align result of malloc().
9420 * dumper.c (pdump_mallocadr): Remove.
9421 The result of malloc() is guaranteed to be maximally aligned.
9422 * dumper.c: s/elmt/elt/g;
9423 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9424 * dumper.c (pdump_alert_undump_object): Likewise.
9425 * dumper.c (pdump_align_table):
9426 Don't support alignments > 64.
9427 Store ALIGNOF's, not shift counts, in table.
9429 2001-02-09 Martin Buchholz <martin@xemacs.org>
9431 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9432 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9433 * systime.h: Use HAVE_UTIME.
9434 * sysdep.c (struct utimbuf): Remove.
9435 * sysdep.c (set_file_times): Prefer utime() to utimes().
9436 * config.h.in (HAVE_UTIME): New.
9437 * config.h.in (HAVE_UTIME_H): Remove.
9438 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9440 2001-02-09 Martin Buchholz <martin@xemacs.org>
9442 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9444 2001-02-08 Martin Buchholz <martin@xemacs.org>
9446 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9448 2001-02-08 Martin Buchholz <martin@xemacs.org>
9450 * XEmacs 21.2.44 "Thalia" is released.
9452 2001-02-06 Martin Buchholz <martin@xemacs.org>
9454 Fixes crashes in kill-emacs on some systems.
9455 * process-unix.c (unix_kill_child_process):
9456 It's OK for kill() to fail with ESRCH.
9458 2001-02-07 Martin Buchholz <martin@xemacs.org>
9460 Contortions to make .gdbinit tricks work on most systems.
9461 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9462 * alloc.c (dbg_valmask): Make non-const.
9463 * alloc.c (dbg_typemask): Make non-const.
9464 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9465 * alloc.c (dbg_valbits): Make non-const.
9466 * alloc.c (dbg_gctypebits): Make non-const.
9467 * .gdbinit (decode_object): Make it work with AIX cc.
9469 2001-02-06 Martin Buchholz <martin@xemacs.org>
9471 * elhash.c (make_general_lisp_hash_table):
9472 Use simpler and more efficient calloc to clear entries.
9474 2001-02-07 Martin Buchholz <martin@xemacs.org>
9476 * window.c (window_scroll): Work around an AIX C compiler bug.
9477 Fixes 'scroll-up' does nothing problem with xlC.
9479 2001-02-05 Martin Buchholz <martin@xemacs.org>
9481 * .gdbinit: Remove obsolete comment.
9483 2001-01-31 Mike Alexander <mta@arbortext.com>
9485 * select.c (Fown_selection_internal): Set owned_p for device
9488 2001-02-01 Martin Buchholz <martin@xemacs.org>
9491 "not" cannot be used as a macro name as it is an operator in C++
9492 * config.h.in: Stop #defining `not'.
9493 * chartab.c (check_category_char): not ==> not_p
9494 * chartab.h: Likewise.
9495 * regex.c (re_match_2_internal): Likewise.
9497 2001-02-02 Martin Buchholz <martin@xemacs.org>
9499 * lisp-disunion.h: Fix up comments.
9501 2001-01-31 Martin Buchholz <martin@xemacs.org>
9503 * keymap.c (define_key_check_and_coerce_keysym):
9505 Support mouse-6 and mouse-7 bindings in the obvious way.
9507 2001-02-01 Martin Buchholz <martin@xemacs.org>
9509 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9511 2001-01-30 Martin Buchholz <martin@xemacs.org>
9513 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9514 Previous patch missed DEFVAR_INT_MAGIC.
9515 Make sure future DEFVAR_foo use correct types.
9516 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9517 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9518 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9519 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9520 * (DEFVAR_INT): Likewise.
9521 * redisplay.c (vertical_clip): Should be of type Fixnum.
9522 * redisplay.c (horizontal_clip): Likewise.
9523 * lisp.h (dump_add_opaque_int): New.
9524 (dump_add_opaque_fixnum): New.
9526 2001-01-29 Andy Piper <andy@xemacs.org>
9528 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9529 since they can be eval'ed
9531 2001-01-29 Martin Buchholz <martin@xemacs.org>
9533 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9534 Oops, XEmacs redefines `class'. Use `typename' instead.
9536 2001-01-28 Martin Buchholz <martin@xemacs.org>
9538 * dumper.c: Fix C++ compile errors.
9540 2001-01-29 Martin Buchholz <martin@xemacs.org>
9542 * tparam.c: Use correct prototypes.
9544 2001-01-28 Martin Buchholz <martin@xemacs.org>
9546 * sysproc.h: #include util.h for NetBSD's openpty.
9548 2001-01-27 Martin Buchholz <martin@xemacs.org>
9550 More 64-bit correctness.
9551 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9552 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9554 This finally finishes the 64-bit SGI port.
9555 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9556 * symbols.c: Fix up comments and type casts.
9557 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9558 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9559 * symeval.h (Fixnum): New type.
9560 * symeval.h (symbol_value_type): Fix up comment.
9576 * mule-canna.c: A million DEFVAR_INTs here...
9577 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9590 s/int/Fixnum/g in DEFVAR_INT declarations.
9592 2001-01-26 Martin Buchholz <martin@xemacs.org>
9594 Port pdump to SGI alignment-sensitive environment.
9595 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9596 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9598 Define and use aligned reading and writing macros.
9599 Use buffered stdio instead of posix i/o for faster dumping.
9600 Eliminate kludgy 256 byte space for header.
9601 Read and write from dump file using structs for alignment safety.
9602 * dumper.c (pdump_align_stream): New.
9603 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9604 * dumper.c (PDUMP_READ_ALIGNED): New.
9605 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9606 * dumper.c (pdump_static_Lisp_Object): New struct.
9607 * dumper.c (pdump_static_pointer): New struct.
9608 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9609 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9610 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9611 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9613 * dumper.c (pdump_backtrace):
9614 * dumper.c (pdump_get_indirect_count):
9615 * dumper.c (pdump_register_object):
9616 * dumper.c (pdump_register_struct):
9617 * dumper.c (pdump_reloc_one):
9618 * dumper.c (pdump_scan_by_alignment):
9619 * dumper.c (pdump_dump_from_root_struct_ptrs):
9620 * dumper.c (pdump_dump_opaques):
9621 * dumper.c (pdump_dump_rtables):
9622 * dumper.c (pdump_dump_from_root_objects):
9624 * dumper.c (pdump_load_finish):
9625 Use aligned reading and writing.
9627 * dumper.c (pdump_free): Make static.
9628 * dumper.c (pdump_hFile): Likewise.
9629 * dumper.c (pdump_hMap): Likewise.
9631 2001-01-26 Martin Buchholz <martin@xemacs.org>
9633 * XEmacs 21.2.43 "Terspichore" is released.
9635 2001-01-25 Martin Buchholz <martin@xemacs.org>
9637 Type fiddling for window_config.saved_windows_count
9638 * window.c (struct window_config):
9639 Make saved_windows_count member unsigned.
9640 * window.c (sizeof_window_config_for_n_windows):
9641 Make parameter unsigned.
9642 * window.c (mark_window_config):
9643 * window.c (window_config_equal):
9644 * window.c (free_window_configuration):
9645 * window.c (Fset_window_configuration):
9646 * window.c (count_windows):
9647 * window.c (Fcurrent_window_configuration):
9648 * window.c (reinit_vars_of_window):
9649 Update all callers and users.
9651 2001-01-25 Martin Buchholz <martin@xemacs.org>
9653 Alignment correctness for flexible arrays.
9654 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9655 Make alignment-correct. Add interesting comments.
9656 * alloc.c (size_vector):
9657 * alloc.c (make_vector_internal):
9658 * alloc.c (make_bit_vector_internal):
9659 * alloc.c (sweep_bit_vectors_1):
9660 * fns.c (size_bit_vector):
9661 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9662 * window.c (sizeof_window_config_for_n_windows):
9663 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9665 2001-01-24 Martin Buchholz <martin@xemacs.org>
9667 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9669 2001-01-23 Andy Piper <andy@xemacs.org>
9671 * select.c (Fown_selection_internal): pass owned_p
9673 * select-msw.c (mswindows_own_selection): New Signature.
9675 * console.h (struct console_methods): add owned_p to
9678 * select-x.c (x_own_selection): pass owned_p
9679 (hack_motif_clipboard_selection): use owned_p
9680 (vars_of_select_x): new variable -
9681 x_selection_strict_motif_ownership.
9683 2001-01-23 Martin Buchholz <martin@xemacs.org>
9685 * specifier.h (specifier_data_offset): Remove pointless parens.
9686 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9688 2001-01-24 Martin Buchholz <martin@xemacs.org>
9690 Make Lisp_Object sizeof methods be alignment-correct.
9691 pdump must restore objects to the same alignment as the C compiler
9692 assumes. It really matters on SGIs.
9693 * lstream.c (aligned_sizeof_lstream): New.
9694 (sizeof_lstream): Use aligned_sizeof_lstream.
9695 (Lstream_new): Likewise.
9696 * opaque.c (aligned_sizeof_opaque): New.
9697 (sizeof_opaque): Use aligned_sizeof_opaque.
9698 (make_opaque): Likewise.
9699 * specifier.c (aligned_sizeof_specifier): New.
9700 (sizeof_specifier): Use aligned_sizeof_specifier.
9701 (make_specifier_internal): Likewise.
9703 2001-01-23 Martin Buchholz <martin@xemacs.org>
9705 * lstream.h (struct lstream): Use max_align_t for trailing data.
9706 * specifier.h (struct Lisp_Specifier): Likewise.
9708 2001-01-22 Martin Buchholz <martin@xemacs.org>
9710 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9711 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9712 (CCL_SUSPEND): Likewise.
9713 (CCL_INVALID_CMD): Likewise.
9714 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9715 (ccl_driver): Likewise.
9716 (CCL_WRITE_CHAR): Macro hygiene.
9717 (CCL_WRITE_STRING): Macro hygiene.
9719 2001-01-22 Martin Buchholz <martin@xemacs.org>
9721 Port "portable" dumper to SunOS 4 and HP-UX.
9722 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9723 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9724 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9726 2001-01-22 Martin Buchholz <martin@xemacs.org>
9728 * lisp.h (ALIGNOF): A better definition for C++.
9730 2001-01-20 Martin Buchholz <martin@xemacs.org>
9733 Fix printf warnings: int format, long int arg.
9734 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9735 (PUSH_FAILURE_POINT): Use correct printf formats.
9736 (POP_FAILURE_POINT): Use correct printf formats.
9737 Use do {...} while (0)
9739 2001-01-20 Martin Buchholz <martin@xemacs.org>
9741 * XEmacs 21.2.42 "Poseidon" is released.
9743 2001-01-20 Martin Buchholz <martin@xemacs.org>
9745 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9747 2001-01-19 Martin Buchholz <martin@xemacs.org>
9749 De-kludgify FIXED_TYPE free list frobbing.
9750 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9751 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9752 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9753 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9754 * alloc.c (LRECORD_FREE_P): New.
9755 * alloc.c (MARK_LRECORD_AS_FREE): New.
9756 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9757 * alloc.c (STRUCT_FREE_P): Deleted.
9758 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9759 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9760 * alloc.c (STRING_CHARS_FREE_P): New.
9761 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9762 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9763 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9764 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9765 * alloc.c (resize_string): Use new definitions.
9766 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9767 * alloc.c (verify_string_chars_integrity): Use new definitions.
9768 * alloc.c (compact_string_chars): Use new definitions.
9769 * alloc.c: Update monster comments.
9770 * lrecord.h (lrecord_type): Add some new lrecord types for
9773 2001-01-18 Martin Buchholz <martin@xemacs.org>
9775 Improve alignment hackery.
9776 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9777 (max_align_t): Moved from opaque.h - general purpose.
9778 (ALIGN_PTR): Use size_t, not long.
9779 * opaque.h (max_align_t): Move to lisp.h.
9781 2001-01-18 Norbert Koch <nk@LF.net>
9783 * gui.h: Fix and add prototypes to fix build problems.
9785 2001-01-18 Martin Buchholz <martin@xemacs.org>
9787 temacs is going away, so `dump-temacs' is now a bad name.
9788 * .dbxrc (dump-temacs): Rename to `dmp'.
9789 * .gdbinit (dump-temacs): Rename to `dmp'.
9791 2001-01-17 Andy Piper <andy@xemacs.org>
9793 * glyphs.c (print_image_instance): comment to make martin happy.
9795 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9798 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9800 (mswindows_tab_control_redisplay): warning suppression.
9802 * glyphs-widget.c (widget_update): re-write to cope with updated
9804 (widget_instantiate): use new gui_item functions.
9805 (tab_control_update): deleted.
9806 (progress_gauge_update): deleted.
9807 (image_instantiator_progress_guage): take out update reference.
9808 (image_instantiator_tree_view): ditto.
9809 (image_instantiator_tab_control): ditto.
9811 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9813 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9814 return whether anything was changed.
9815 (update_gui_item_keywords): as it sounds.
9817 * gui.h: declare widget_gui_parse_item_keywords.
9819 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9820 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9822 2001-01-17 Martin Buchholz <martin@xemacs.org>
9824 * XEmacs 21.2.41 "Polyhymnia" is released.
9826 2001-01-16 Didier Verna <didier@xemacs.org>
9828 * glyphs.c (image_instantiate): don't use fallbacks when
9829 instantiating a face's background pixmap by inheritance.
9831 2001-01-14 Mike Sperber <mike@xemacs.org>
9833 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9834 Conditionalize accordingly.
9836 2001-01-16 Martin Buchholz <martin@xemacs.org>
9838 * dumper.c (pdump_file_get): Fix a compiler warning.
9840 2001-01-15 Martin Buchholz <martin@xemacs.org>
9842 Make Purify happy when pdumping.
9843 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9844 iniitalizing all bits of new lisp object memory.
9845 * symbols.c (Fmake_local_variable): Likewise.
9846 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9847 * symbols.c (Fdefvaralias): Likewise.
9848 * mule-charset.c (vars_of_mule_charset): Likewise.
9850 2001-01-15 Martin Buchholz <martin@xemacs.org>
9851 Add the `-nd' flag when running pre-dump operations under the debugger.
9852 * .dbxrc (run-temacs): Add `-nd'.
9853 * .dbxrc (update-elc): Likewise.
9854 * .dbxrc (dump-temacs): Likewise.
9855 * .gdbinit (run-temacs): Likewise.
9856 * .gdbinit (check-temacs): Likewise.
9857 * .gdbinit (update-elc): Likewise.
9858 * .gdbinit (dump-temacs): Likewise.
9860 2001-01-14 Martin Buchholz <martin@xemacs.org>
9862 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9863 export OBJECT_MODE=64
9864 configure --pdump --use-union-type=no
9865 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9866 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9868 * miscplay.c (sndcnv8U_2mono):
9869 Avoid two uses of `++' in the same expression.
9870 Suppresses a GCC warning.
9872 2001-01-13 Martin Buchholz <martin@xemacs.org>
9874 Make sure future compilers don't miscompile alloc.c.
9876 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9877 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9879 2001-01-12 Martin Buchholz <martin@xemacs.org>
9881 * dumper.c: A little post-pdump-rename comment fixup.
9883 2001-01-09 Jerry James <james@eecs.ku.edu>
9885 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9887 2001-01-13 Martin Buchholz <martin@xemacs.org>
9889 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9893 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9896 replace_symbol pdump_wire_lists pdump_weak_object_chains
9897 replace_symbol pdump_wire_list dump_add_weak_object_chain
9899 replace_symbol pdump_wires pdump_root_objects
9900 replace_symbol pdump_wire dump_add_root_object
9902 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9903 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9905 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9906 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9907 replace_symbol dumpstructinfo pdump_root_struct_ptr
9908 replace_symbol dumpstruct dump_add_root_struct_ptr
9910 replace_symbol dumpopaque dump_add_opaque
9911 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9912 replace_symbol dumpopaqueinfos pdump_opaques
9913 replace_symbol dumpopaqueinfo pdump_opaque
9915 replace_symbol nb_structdump nb_root_struct_ptrs
9916 replace_symbol nb_opaquedump nb_opaques
9918 replace_symbol align_table pdump_align_table
9919 replace_symbol dump_header pdump_header
9921 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9922 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9925 2001-01-12 Martin Buchholz <martin@xemacs.org>
9927 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9928 optimizing bytecount_to_charcount().
9930 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9933 (HAVE_DLFCN_H): Removed.
9934 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9936 2001-01-06 Martin Buchholz <martin@xemacs.org>
9938 Portable dumper maintainability improvements.
9939 * alloc.c (staticpro):
9940 * alloc.c (staticpro_nodump):
9941 * alloc.c (garbage_collect_1):
9942 * alloc.c (reinit_alloc_once_early):
9943 * alloc.c (init_alloc_once_early):
9944 * alloc.c: Move dumper functions to alloc.c.
9945 * dumper.c (pdump_backtrace):
9946 * dumper.c (pdump_dump_structs):
9947 * dumper.c (pdump_dump_opaques):
9948 * dumper.c (pdump_dump_rtables):
9949 * dumper.c (pdump_dump_wired):
9951 * dumper.c (pdump_load_check):
9952 * dumper.c (pdump_load_finish):
9953 * dumper.c (pdump_file_unmap):
9954 * dumper.c (pdump_file_get):
9955 * dumper.c (pdump_resource_free):
9956 * dumper.c (pdump_resource_get):
9957 * dumper.c (pdump_file_free):
9958 * dumper.c (pdump_file_try):
9959 * dumper.c (pdump_load):
9960 Remove fixed size limits on staticpro(), staticpro_nodump(),
9961 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9962 Remove custom code for dumping lrecord_implementations_table - use
9964 Remove (most of the) custom code for dumping staticpros - dump it
9965 like any other dynarr.
9967 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9968 * dumper.c: Moved functions from alloc.c.
9969 * alloc.c (dumpstruct): Moved to dumper.c.
9970 * alloc.c (dumpopaque): Likewise.
9971 * alloc.c (pdump_wire): Likewise.
9972 * alloc.c (pdump_wire_list): Likewise.
9974 * lisp.h (Dynarr_sizeof): New.
9975 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9976 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9977 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9979 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9980 * lisp.h (dumpopaque): ditto.
9981 * lisp.h (pdump_wire): ditto.
9982 * lisp.h (pdump_wire_list): ditto.
9984 2001-01-09 Martin Buchholz <martin@xemacs.org>
9986 * make-src-depend (PrintPatternDeps):
9987 Use `sort' to make output independent of perl version.
9989 2001-01-08 Martin Buchholz <martin@xemacs.org>
9992 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9993 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9995 2001-01-03 Didier Verna <didier@xemacs.org>
9997 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9998 that `focus_frame' is alive before thinking of calling
9999 `redisplay_redraw_cursor' on it.
10001 2001-01-08 Martin Buchholz <martin@xemacs.org>
10003 * XEmacs 21.2.40 is released.
10005 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
10007 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
10009 2001-01-06 Martin Buchholz <martin@xemacs.org>
10011 * alloc.c (dbg_valmask): Make const.
10012 * alloc.c (dbg_typemask): Make const.
10013 * alloc.c (dbg_USE_UNION_TYPE): Make const.
10014 * alloc.c (dbg_valbits): Make const.
10015 * alloc.c (dbg_gctypebits): Make const.
10017 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
10019 * redisplay-x.c (x_bevel_area):
10020 redisplay.h (struct rune):
10021 Typo fixes in comments.
10023 2001-01-05 Andy Piper <andy@xemacs.org>
10025 * glyphs-x.c (x_redisplay_widget): use size changed for offset
10028 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
10030 2001-01-05 Martin Buchholz <martin@xemacs.org>
10032 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
10034 * mule-ccl.c (stack_idx_of_map_multiple):
10035 Non const global data must not be initialized!
10036 Found by MIYASHITA Hisashi.
10038 2001-01-02 Andy Piper <andy@xemacs.org>
10040 * frame.c (change_frame_size): make sure frame size is always
10043 * glyphs.c (image_instance_layout): minor code reuse.
10045 * window.c (Fcurrent_window_configuration): revert previous
10048 2001-01-02 Martin Buchholz <martin@xemacs.org>
10051 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
10053 2000-12-31 Andy Piper <andy@xemacs.org>
10055 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
10056 when widget gets unmapped.
10058 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
10059 function. Make sure widgets losing focus don't just drop it.
10060 (handle_focus_event_1): record the widget with focus.
10062 2000-12-31 Andy Piper <andy@xemacs.org>
10064 * window.c (allocate_window): use
10065 make_image_instance_cache_hash_table.
10066 (make_dummy_parent): ditto.
10067 (Fset_window_configuration): ditto.
10069 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
10071 * glyphs.c (process_image_string_instantiator): use
10073 (get_image_instantiator_governing_domain): ditto.
10074 (normalize_image_instantiator): ditto.
10075 (instantiate_image_instantiator): ditto.
10076 (make_image_instance_1): ditto.
10077 (image_instantiate): ditto. Key on glyph *and* instantiator type.
10078 (instantiator_eq_equal): new function for use with instance hash
10080 (instantiator_eq_hash): ditto.
10081 (make_image_instance_cache_hash_table): create a suitable hash
10082 table for storing image instances.
10084 * elhash.h (hash_table_weakness): new internal weakness type
10085 HASH_TABLE_KEY_CAR_VALUE_WEAK.
10086 declare new functions.
10088 * elhash.c (finish_marking_weak_hash_tables): introduce yet
10089 another weakness type for glyphs.
10090 (make_standard_lisp_hash_table): new function split out from
10091 make_general_lisp_hash_table.
10092 (make_lisp_hash_table): call make_standard_lisp_hash_table.
10093 (hash_table_instantiate): ditto.
10094 (Fmake_hash_table): ditto.
10096 2000-12-31 Martin Buchholz <martin@xemacs.org>
10098 * XEmacs 21.2.39 is released.
10100 2000-12-29 Andy Piper <andy@xemacs.org>
10102 * menubar.c (menubar_visible_p_changed): signal the frame changed.
10104 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
10105 the frame has changed so that we pick up geometry changes such as
10106 menubar visibility.
10108 2000-12-28 Andy Piper <andy@xemacs.org>
10110 * lastfile.c (my_ebss): make a char array so we can pad the
10111 bss. Fixes cygwin unexec.
10113 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
10115 2000-12-26 Andy Piper <andy@xemacs.org>
10117 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
10118 comments and try and be more precise about a non-/SIGIO world.
10119 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
10122 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
10123 we don't normalize to zero width or height.
10125 2000-12-24 Andy Piper <andy@xemacs.org>
10127 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10129 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10131 * s/sco5.h: SCO 5 has pty support.
10133 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10135 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10136 input-method-xlib.c contains whole contents of input-method-xfs.c,
10137 so we can use input-method-xlib.c's code for USE_XFONTSET
10139 * input-method-xfs.c: removed.
10141 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10143 * file-coding.h (enum coding_category_type): reorder enumerators to
10144 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10145 (now one greater than largest real coding_category_type enumerator).
10146 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10147 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10148 Fcoding_category_list, Fset_coding_priority_list,
10149 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10150 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10152 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10154 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10155 * redisplay-output.c (redisplay_output_window): Clear top of window
10156 when face is changed.
10157 * redisplay-x.c (x_redraw_exposed_window): Call
10158 redisplay_clear_top_of_window.
10159 * redisplay.h: Publish redisplay_clear_top_of_window.
10161 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10163 * buffer.c (Fkill_buffer): Map over all devices.
10164 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10165 (list_windows): New function.
10166 (list_all_windows): Ditto.
10167 (Freplace_buffer_in_windows): Use them.
10169 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10171 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10172 (Fopen_database): Use `db_create' instead of `db_open'.
10173 (syms_of_database): Initialize Qqueue.
10175 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10177 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10178 buffer_local_face_property.
10179 * buffer.h (struct buffer): New member buffer_local_face_property.
10180 * window.c (Fset_window_buffer): Mark window's face as changed
10181 when buffer has buffer local face.
10182 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10183 * objects.c (color_after_change): Set buffer_local_face_property
10184 when locale of face specifier is buffer.
10185 * objects.c (font_after_change): Ditto.
10186 * objects.c (face_boolean_after_change): Ditto.
10187 * glyphs.c (image_after_change): Ditto.
10189 2000-12-09 Dan Holmsand <dan@eyebee.com>
10191 * nt.c (mswindows_fstat): Report file permissions, volume serial
10192 number, etc. Code adapted from FSF Emacs 20.7.
10194 2000-12-09 Dan Holmsand <dan@eyebee.com>
10196 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10197 of stat when we don't have symbolic links, to make sure
10198 mswindows_stat is called on mswindows.
10200 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10202 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10204 2000-12-12 Martin Buchholz <martin@xemacs.org>
10206 * doprnt.c (emacs_doprnt_1): More printing fixes.
10207 Make printing of numbers compatible with libc and FSF Emacs.
10208 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10209 Use the system printf to do most of the hard work of formatting,
10210 instead of doprnt_1().
10211 Calculate memory to allocate for format string.
10212 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10213 (doprnt_1): Cleaner code and documentation.
10215 2000-12-01 Jerry James <james@eecs.ukans.edu>
10217 * Makefile.in.in: Use the loop variable to install headers.
10219 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10221 * window.c (Fsplit_window): Don't invalidate face cache.
10223 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10225 * minibuf.c (Fall_completions): Undo the previous change
10226 which removed checking elements start with space.
10228 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10230 * mule-canna.c: Didier suppression.
10232 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10234 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10235 (warning suppression). Add English comment translations.
10237 2000-12-05 Martin Buchholz <martin@xemacs.org>
10239 * unexelfsgi.c (unexec): Better test for mmap failure.
10241 2000-12-05 Martin Buchholz <martin@xemacs.org>
10243 * XEmacs 21.2.38 is released.
10245 2000-12-05 Martin Buchholz <martin@xemacs.org>
10247 * redisplay.c (bar-cursor): Make a user variable.
10249 * symsinit.h: Add init_postgresql_from_environment.
10251 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10253 * regex.c: Convert to clean C.
10255 2000-12-05 Dan Holmsand <dan@eyebee.com>
10258 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10260 (sys_readlink): renamed to system_readlink to avoid conflict with
10261 the other sys_readlink.
10263 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10265 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10267 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10269 * postgresql.c (init_postgresql_from_environment): new function.
10270 (vars_of_postgresql): Move code initializing Lisp variables out and
10271 into init_postgresql_from_environment.
10272 emacs.c (main_1): Call init_postgresql_from_environment if and only
10273 if running a dumped XEmacs.
10275 2000-08-31 Dan Holmsand <dan@eyebee.com>
10277 * buffer.c: Make find-file-compare-truenames default to true on
10280 * realpath.c (win32_abs_start):
10282 (win32_readlink): New functions.
10283 (xrealpath): Return really real filenames on windows.
10285 * fileio.c (Ffile_truename): Make file-truename work on windows.
10287 2000-11-29 Didier Verna <didier@xemacs.org>
10289 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10290 * faces.c (update_face_cachel_data): use it.
10291 * faces.c (add_face_cachel): use it. Complete background pixmap
10292 frobbing in face cache if `update_face_cachel_data' has not done so.
10294 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10296 * search.c (string_match_1): Don't set last_thing_searched
10297 when search failed.
10299 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10301 * buffer.c: Include casetab.h
10302 (common_init_complex_vars_of_buffer): Use new case-table object.
10303 * buffer.h: Include casetab.h
10304 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10305 (DOWNCASE_TABLE_OF): Ditto.
10306 * bufslots.h: Remove char-tables and add case-table.
10307 * casetab.c: Include casetab.h
10308 (CASE_TABLE_P): Removed.
10309 (mark_case_table): New function.
10310 (allocate_case_table): New function.
10311 (Fcase_table_p): Use new case-table.
10312 (case_table_char): New function.
10313 (Fget_case_table): Ditto.
10314 (Fput_case_table): Ditto.
10315 (Fput_case_table_pair): Ditto.
10316 (Fcopy_case_table): Ditto.
10317 (Fcurrent_case_table): Return case-table.
10318 (Fstandard_case_table): Return case-table.
10319 (Fset_case_table): Fix doc-string.
10320 (set_case_table): Use case-table
10321 (syms_of_casetab): DEFSUBR new functions.
10322 (complex_vars_of_casetab): Set up standard case-table.
10323 * casetab.h: New file.
10324 * editfns.c: Include casetab.h
10325 (Fcompare_buffer_substrings): Use case-table.
10326 * inline.c: Include casetab.h
10327 * lisp.h: Remove bogus extern.
10328 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10329 * search.c: Include casetab.h
10330 (TRANSLATE_ASCII): Removed.
10331 (TRANSLATE): Unconditionally translate character.
10332 (looking_at_1): Use case-table.
10333 (string_match_1): Ditto.
10334 (fast_string_match): Ditto.
10335 (search_command): Ditto.
10336 (search_buffer): Separate boyer_moore. Check whether
10337 boyer_moore is possible.
10338 (simple_search): New function.
10339 (boyer_moore): Separated from search_buffer. Translate char.
10341 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10343 * regex.c (RE_TR_ASCII): Removed.
10344 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10345 (PATFETCH): Call PATFETCH_RAW.
10346 (PATFETCH_RAW): Fetch Emchar.
10347 (PATUNFETCH): Decrement charptr.
10348 (GET_BUFFER_SPACE): Rename b to buf_end.
10350 (BUF_PUSH_2): Ditto.
10351 (BUF_PUSH_3): Ditto.
10352 (EXTEND_BUFFER): Ditto.
10353 (SET_LIST_BIT): Ditto.
10354 (regex_compile): Ditto. Translate non ASCII char.
10355 (compile_range): Ditto.
10356 (re_search_2): Ditto.
10357 (re_match_2_internal): Compare Emchar.
10358 (bcmp_translate): Ditto.
10360 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10362 * lisp.h (basic char/int typedefs): comment improvement.
10364 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10366 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10367 unstomp inhibit_site_lisp. Improve comments.
10369 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10371 * mule-charset.c (Fcharset_property): improve type checking, comments.
10373 2000-11-28 Andy Piper <andy@xemacs.org>
10375 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10376 clipped display for windows in the gutter also.
10377 (redisplay_display_boxes_in_window_p): change semantics of return
10378 codes to be more intuitive.
10380 * gutter.h: declare display_boxes_in_gutter_p.
10382 * gutter.c (display_boxes_in_gutter_p): new function for
10385 2000-11-22 Andy Piper <andy@xemacs.org>
10387 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10390 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10392 * callproc.c (Fold_call_process_internal):
10393 * gpm.c (Freceive_gpm_event):
10394 (tty_get_foreign_selection): Might be just warning supression.
10395 * fileio.c (Fwrite_region_internal):
10396 (Fset_visited_file_modtime):
10397 * keymap.c (event_matches_key_specifier_p):
10398 Initialize GCPROed variable.
10400 * menubar-x.c (command_builder_find_menu_accelerator):
10401 Initialize before use.
10403 2000-11-23 Andy Piper <andy@xemacs.org>
10405 * unexcw.c (unexec): make the resulting executable executable.
10407 2000-11-21 Martin Buchholz <martin@xemacs.org>
10409 * doc.c (get_doc_string):
10410 Use size_t, not int, for result of XSTRING_LENGTH.
10412 * cmds.c (Fdelete_char):
10413 * cmds.c (Fpoint_at_eol):
10414 * cmds.c (Fself_insert_command):
10415 Use EMACS_INT, not int, for result of XINT.
10416 Someday, someone will want to insert more than 2**31 identical characters.
10418 * cmds.c (Fdelete_char):
10419 * cmds.c (Fdelete_backward_char):
10420 * syntax.c (Fforward_word):
10421 * syntax.c (Fforward_comment):
10422 Make COUNT argument optional, for consistency with forward-char et al.
10424 2000-11-22 Martin Buchholz <martin@xemacs.org>
10427 * print.c (long_to_string):
10428 Return a useful value: the pointer at end of data written.
10431 Use `static const char * const' for constant strings.
10432 (union printf_arg): Delete `i', `ui' members.
10435 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10436 Do all printf-ing via the `l' specifier.
10437 Use EMACS_INT instead of int.
10440 2000-11-20 Didier Verna <didier@xemacs.org>
10442 * faces.c (update_face_cachel_data): don't frob the background
10443 pixmap when the window is being created. The face is needed but
10444 does not exist yet.
10446 2000-11-20 Andy Piper <andy@xemacs.org>
10448 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10449 messing with a debug environment.
10451 2000-11-20 Martin Buchholz <martin@xemacs.org>
10453 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10455 2000-11-20 Martin Buchholz <martin@xemacs.org>
10457 * casetab.c (Fcase_table_p): Fix compile error and crash.
10459 2000-11-18 Philip Aston <philipa@mail.com>
10461 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10463 2000-11-18 Martin Buchholz <martin@xemacs.org>
10465 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10466 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10468 2000-11-17 Martin Buchholz <martin@xemacs.org>
10470 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10471 * unexelf.c: Use HAVE_ELF_H.
10472 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10473 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10474 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10475 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10477 So this is an unexelfsgi.c from a different line of development.
10479 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10481 * regex.c (RE_TR_ASCII): New function.
10482 (RE_TRANSLATE): Call it.
10484 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10486 * buffer.h (TRT_TABLE_OF): Remove assert.
10487 (IN_TRT_TABLE_DOMAIN): Removed.
10489 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10491 * free-hook.c (log_gcpro):
10492 (show_gcprohist): Add support for GCPRO5.
10494 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10496 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10498 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10500 * symeval.h: Declare flush_all_buffer_local_cache.
10502 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10503 (flush_buffer_local_cache): Added.
10504 (flush_all_buffer_local_cache): Added.
10506 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10508 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10509 (pdump_dump_data): Ditto.
10510 (pdump_reloc_one): Ditto.
10511 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10515 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10517 * buffer.c: Remove if 0'ed entry.
10518 * buffer.h: Rewrite TRT to use char-table.
10519 * bufslots.h: Remove mirror tables.
10520 * casetab.c: Remove mirror tables.
10521 (CASE_TABLE_P): New macro.
10522 (Fcase_table_p): Element of a case table is string or char-table.
10523 (make_mirror_trt_table): Removed.
10524 (set_case_table): Setup char-table from strings for backward
10526 * dired.c (Fdirectory_files):
10527 * dired-msw.c: (mswindows_get_files):
10528 * lisp.h: Change prototype of re_pattern_buffer.
10529 * regex.c: (RE_TRANSLATE): New macro.
10530 (TRANSLATE_P): Ditto.
10531 Change translate to type RE_TRANSLATE_TYPE.
10532 * regex.h: Define RE_TRANSLATE_TYPE
10533 * search.c (TRANSLATE): New macro.
10534 (TRANSLATE_ASCII): New macro.
10535 Translate table is changed to Lisp_Object.
10536 (signal_failure): Inhibit return.
10538 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10545 Do UNGCPRO before return.
10547 2000-11-14 Martin Buchholz <martin@xemacs.org>
10549 * XEmacs 21.2.37 is released.
10551 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10553 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10554 Add comments about discarded return value.
10556 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10559 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10561 2000-10-27 Andy Piper <andy@xemacs.org>
10563 * gutter.c (Fset_default_gutter_position): default left and right
10564 gutters to visible.
10565 (calculate_gutter_size): calculate resonable heuristic for left
10566 and right gutter sizes.
10567 (specifier_vars_of_gutter): change left and right gutter sizes to
10569 (calculate_gutter_size_from_display_lines): new function.
10570 (output_gutter): check for resizing on left and right gutters.
10571 (clear_gutter): don't special case top and left gutters.
10572 (specifier_vars_of_gutter): use new signature for
10573 set_specifier_caching.
10575 * glyphs-x.c (x_redisplay_widget): spelling fix.
10576 * glyphs.c (specifier_vars_of_glyphs):
10577 * menubar.c (specifier_vars_of_menubar):
10578 * redisplay.c (specifier_vars_of_redisplay):
10579 * toolbar.c (specifier_vars_of_toolbar):
10580 * window.c (specifier_vars_of_window):
10581 * scrollbar.c (specifier_vars_of_scrollbar):
10582 (complex_vars_of_scrollbar): use new signature for
10583 set_specifier_caching.
10585 * specifier.c (set_specifier_caching): include recompute flag.
10586 (recompute_one_cached_specifier_in_window): always recompute if
10588 (recompute_one_cached_specifier_in_frame): ditto.
10590 * specifier.h (struct specifier_caching): add recompute flag.
10592 2000-10-24 Andy Piper <andy@xemacs.org>
10594 * unexcw.c (copy_executable_and_dump_data_section): add new
10595 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10598 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10600 * console-x.h (x_device): New member modifier_release_time.
10601 * event-Xt.c (x_handle_sticky_modifiers):
10602 Bound interval modifier keys are sticky.
10603 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10604 * events.h: extern it.
10606 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10608 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10610 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10612 * event-stream.c (execute_command_event): Preserve current_events
10613 and the like when event is misc-user-event.
10614 Inhibit quit during the call to maybe_echo_keys.
10616 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10618 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10619 symlink when buffer is killed.
10620 (inhibit_clash_detection): New variable.
10622 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10624 * console.c (Fset_input_method): Trigger redisplay on tty.
10626 2000-11-07 Martin Buchholz <martin@xemacs.org>
10628 * process.c (Fprocess_status): Revert to previous behavior:
10629 (process-status "nosuchprocess") ==> nil
10631 2000-11-06 Martin Buchholz <martin@xemacs.org>
10633 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10634 Work around another GCC 2.95.2 optimizer bug.
10636 2000-11-02 Martin Buchholz <martin@xemacs.org>
10638 * process.c (Fget_process): Use LIST_LOOP_2.
10639 (kill_buffer_processes): Use LIST_LOOP_2.
10641 * minibuf.c (Fall_completions):
10642 Delete old non-functional code for FSF fourth argument.
10644 * frame.c (frame_matches_frame_spec):
10645 Renamed from `frame_matches_frametype'. Update all callers.
10646 (device_matches_device_spec):
10647 Renamed from 'device_matches_console_spec'. Update all callers.
10649 * doc.c (Fsubstitute_command_keys):
10650 Remove buffer overflow crash. Small code cleanups.
10652 * casetab.c (check_case_table): Simpler code.
10654 * window.c (Freplace_buffer_in_windows):
10655 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10656 (and similar implementation) as Fdelete_windows_on.
10657 Update all callers.
10659 * alloc.c (Fmake_list):
10660 * alloc.c (make_vector):
10661 * alloc.c (Fmake_vector):
10662 * alloc.c (make_bit_vector):
10663 * alloc.c (Fmake_bit_vector):
10664 * alloc.c (Fbit_vector):
10665 * alloc.c (Fmake_string):
10666 * alloc.c (Fpurecopy):
10667 * alloc.c (Fmemory_limit):
10669 * buffer.c (Fget_buffer):
10670 * buffer.c (Fkill_buffer):
10671 * buffer.c (complex_vars_of_buffer):
10672 * bytecode.c (Fcompiled_function_stack_depth):
10673 * callint.c (Fprefix_numeric_value):
10675 * event-stream.c (Fread_key_sequence):
10677 * casetab.c (Fcase_table_p):
10678 * casetab.c (check_case_table):
10679 * casetab.c (Fset_case_table):
10680 * casetab.c (Fset_standard_case_table):
10682 * chartab.c (Fchar_table_type):
10683 * chartab.c (Freset_char_table):
10684 * chartab.c (Fget_char_table):
10685 * chartab.c (Fget_range_char_table):
10686 * chartab.c (Fput_char_table):
10687 * chartab.c (Fmap_char_table):
10688 * chartab.c (Fcategory_table_p):
10689 * chartab.c (Fcheck_category_at):
10690 * chartab.c (Fchar_in_category_p):
10691 * chartab.c (Fcategory_table):
10692 * chartab.c (Fcopy_category_table):
10693 * chartab.c (Fset_category_table):
10694 * chartab.c (Fcategory_designator_p):
10695 * chartab.c (Fcategory_table_value_p):
10696 * cmds.c (Fdelete_char):
10697 * cmds.c (Fdelete_backward_char):
10698 * cmds.c (Fself_insert_command):
10699 * cmds.c (Fself_insert_internal):
10700 * console.c (Fvalid_console_type_p):
10701 * console.c (Fcdfw_console):
10702 * console.c (Fconsole_type):
10703 * console.c (Fconsole_name):
10704 * console.c (Fconsole_device_list):
10705 * console.c (Fconsole_on_window_system_p):
10708 * data.c (Fold_eq):
10709 * data.c (Fsubr_interactive):
10710 * data.c (Fchar_to_int):
10711 * data.c (Fint_to_char):
10712 * data.c (Fsetcar):
10713 * data.c (Fsetcdr):
10714 * data.c (Fnumber_to_string):
10715 * data.c (Fstring_to_number):
10717 * database.c (mark_database):
10718 * database.c (finalize_database):
10719 * database.c (Fdatabase_live_p):
10720 * database.c (Fdatabasep):
10721 * device-x.c (Fx_get_resource):
10722 * device.c (Fdfw_device):
10724 * dired.c (Ffile_name_completion):
10725 * dired.c (Ffile_name_all_completions):
10726 * dired.c (Fuser_name_completion):
10727 * dired.c (Fuser_name_completion_1):
10728 * dired.c (Fuser_name_all_completions):
10729 * doc.c (Fdocumentation):
10730 * doc.c (Fdocumentation_property):
10731 * doc.c (Fsubstitute_command_keys):
10733 * editfns.c (Fchar_to_string):
10734 * editfns.c (Fstring_to_char):
10735 * editfns.c (Ftemp_directory):
10736 * editfns.c (Finsert_char):
10737 * editfns.c (Fbuffer_substring_no_properties):
10738 * editfns.c (Fnarrow_to_region):
10739 * editfns.c (Fchar_equal):
10740 * editfns.c (Fchar_Equal):
10741 * editfns.c (Ftranspose_regions):
10742 * emacs.c (Fdump_emacs):
10744 * eval.c (Fcommand_execute):
10745 * eval.c (Fautoload):
10746 * eval.c (Fbacktrace):
10747 * eval.c (Fbacktrace_frame):
10749 * events.c (Fcopy_event):
10750 * events.c (Fcharacter_to_event):
10751 * events.c (Fevent_button):
10752 * events.c (Fevent_process):
10754 * extents.c (Fnext_extent_change):
10755 * extents.c (Fextent_property):
10756 * faces.c (Ffacep):
10757 * faces.c (Fmake_face):
10759 * file-coding.c (Fencode_shift_jis_char):
10760 * file-coding.c (Fencode_big5_char):
10761 * fileio.c (Ffile_name_directory):
10762 * fileio.c (Ffile_name_nondirectory):
10763 * fileio.c (Ffile_name_as_directory):
10764 * fileio.c (Fdirectory_file_name):
10765 * fileio.c (Ffile_truename):
10766 * fileio.c (Fsubstitute_in_file_name):
10767 * fileio.c (Ffile_modes):
10768 * fileio.c (Fset_file_modes):
10769 * fileio.c (Fset_default_file_modes):
10770 * fileio.c (Fverify_visited_file_modtime):
10771 * floatfns.c (Facos):
10772 * floatfns.c (Fasin):
10773 * floatfns.c (Fatan):
10774 * floatfns.c (Fcos):
10775 * floatfns.c (Fsin):
10776 * floatfns.c (Ftan):
10777 * floatfns.c (Fbessel_j0):
10778 * floatfns.c (Fbessel_j1):
10779 * floatfns.c (Fbessel_jn):
10780 * floatfns.c (Fbessel_y0):
10781 * floatfns.c (Fbessel_y1):
10782 * floatfns.c (Fbessel_yn):
10783 * floatfns.c (Ferf):
10784 * floatfns.c (Ferfc):
10785 * floatfns.c (Flog_gamma):
10786 * floatfns.c (Fexp):
10787 * floatfns.c (Fexpt):
10788 * floatfns.c (Flog):
10789 * floatfns.c (Flog10):
10790 * floatfns.c (Fsqrt):
10791 * floatfns.c (Fcube_root):
10792 * floatfns.c (Facosh):
10793 * floatfns.c (Fasinh):
10794 * floatfns.c (Fatanh):
10795 * floatfns.c (Fcosh):
10796 * floatfns.c (Fsinh):
10797 * floatfns.c (Ftanh):
10798 * floatfns.c (Fabs):
10799 * floatfns.c (Ffloat):
10800 * floatfns.c (Flogb):
10801 * floatfns.c (Fceiling):
10802 * floatfns.c (Ffloor):
10803 * floatfns.c (Fround):
10804 * floatfns.c (Ftruncate):
10805 * floatfns.c (Ffceiling):
10806 * floatfns.c (Fffloor):
10807 * floatfns.c (Ffround):
10808 * floatfns.c (Fftruncate):
10809 * fns.c (Fstring_equal):
10810 * fns.c (Fstring_lessp):
10813 * fns.c (vconcat2):
10814 * fns.c (vconcat3):
10815 * fns.c (Fsubstring):
10817 * fns.c (Fold_assoc):
10818 * fns.c (assoc_no_quit):
10820 * fns.c (Fold_assq):
10821 * fns.c (assq_no_quit):
10823 * fns.c (Fold_rassoc):
10825 * fns.c (Fold_rassq):
10826 * fns.c (rassq_no_quit):
10827 * fns.c (Fremassoc):
10828 * fns.c (remassoc_no_quit):
10829 * fns.c (Fremassq):
10830 * fns.c (remassq_no_quit):
10831 * fns.c (Fremrassoc):
10832 * fns.c (Fremrassq):
10833 * fns.c (remrassq_no_quit):
10835 * fns.c (Fplist_get):
10836 * fns.c (Fplist_put):
10837 * fns.c (Fplist_remprop):
10838 * fns.c (Fplist_member):
10839 * fns.c (Flax_plist_get):
10840 * fns.c (Flax_plist_put):
10841 * fns.c (Flax_plist_remprop):
10842 * fns.c (Flax_plist_member):
10844 * fns.c (Fold_equal):
10845 * fns.c (Frequire):
10846 * fns.c (Fbase64_encode_region):
10847 * fns.c (Fbase64_encode_string):
10848 * fns.c (Fbase64_decode_region):
10850 * frame.c (frame_matches_frame_spec):
10851 * frame.c (device_matches_device_spec):
10852 * frame.c (next_frame):
10853 * frame.c (previous_frame):
10854 * frame.c (Fnext_frame):
10855 * frame.c (Fprevious_frame):
10856 * frame.c (Fframe_property):
10857 * frame.c (Fset_frame_height):
10858 * frame.c (Fset_frame_size):
10862 * glyphs.c (decode_error_behavior_flag):
10863 * glyphs.c (Fmake_image_instance):
10864 * indent.c (Findent_to):
10865 * intl.c (Fignore_defer_gettext):
10866 * keymap.c (Fkeymapp):
10867 * keymap.c (Flookup_key):
10869 * lread.c (Fload_internal):
10870 * lread.c (Feval_buffer):
10871 * lread.c (Feval_region):
10872 * macros.c (Fexecute_kbd_macro):
10873 * marker.c (set_marker_internal):
10874 * marker.c (Fset_marker):
10875 * marker.c (set_marker_restricted):
10876 * marker.c (Fcopy_marker):
10877 * marker.c (noseeum_copy_marker):
10879 * menubar.c (Fpopup_menu):
10881 * mule-charset.c (Fcharset_name):
10882 * mule-charset.c (Fchar_charset):
10883 * mule-charset.c (Fchar_octet):
10884 * mule-charset.c (Fsplit_char):
10885 * mule-wnnfns.c (Fwnn_open):
10886 * mule-wnnfns.c (Fwnn_dict_comment):
10887 * mule-wnnfns.c (Fwnn_quit_henkan):
10888 * mule-wnnfns.c (Fwnn_word_toroku):
10889 * mule-wnnfns.c (Fwnn_word_sakujo):
10890 * mule-wnnfns.c (Fwnn_word_use):
10891 * mule-wnnfns.c (Fwnn_hindo_set):
10893 * objects.c (Fmake_color_instance):
10894 * objects.c (Fmake_font_instance):
10895 * print.c (Fwrite_char):
10897 * process.c (mark_process):
10898 * process.c (print_process):
10899 * process.c (get_process_from_usid):
10900 * process.c (Fprocessp):
10901 * process.c (Fprocess_live_p):
10902 * process.c (Fget_process):
10903 * process.c (Fget_buffer_process):
10904 * process.c (get_process):
10905 * process.c (Fprocess_id):
10906 * process.c (Fprocess_name):
10907 * process.c (Fprocess_command):
10908 * process.c (init_process_io_handles):
10909 * process.c (start_process_unwind):
10910 * process.c (Fstart_process_internal):
10911 * process.c (Fopen_multicast_group_internal):
10912 * process.c (Fset_process_window_size):
10913 * process.c (read_process_output):
10914 * process.c (send_process):
10915 * process.c (Fprocess_tty_name):
10916 * process.c (Fset_process_buffer):
10917 * process.c (Fprocess_buffer):
10918 * process.c (Fprocess_mark):
10919 * process.c (set_process_filter):
10920 * process.c (Fset_process_filter):
10921 * process.c (Fprocess_filter):
10922 * process.c (Fprocess_send_region):
10923 * process.c (Fprocess_send_string):
10924 * process.c (exec_sentinel):
10925 * process.c (Fset_process_sentinel):
10926 * process.c (Fprocess_sentinel):
10927 * process.c (status_notify):
10928 * process.c (Fprocess_status):
10929 * process.c (Fprocess_exit_status):
10930 * process.c (process_send_signal):
10931 * process.c (Fprocess_send_eof):
10932 * process.c (deactivate_process):
10933 * process.c (remove_process):
10934 * process.c (Fdelete_process):
10935 * process.c (kill_buffer_processes):
10936 * process.c (Fprocess_kill_without_query):
10937 * process.c (Fprocess_kill_without_query_p):
10939 * rangetab.c (Fget_range_table):
10940 * rangetab.c (Fput_range_table):
10941 * rangetab.c (Fremove_range_table):
10942 * rangetab.c (Fclear_range_table):
10944 * search.c (Fskip_chars_forward):
10945 * search.c (Fskip_chars_backward):
10946 * search.c (Fskip_syntax_forward):
10947 * search.c (Fskip_syntax_backward):
10948 * search.c (search_command):
10949 * search.c (Freplace_match):
10950 * search.c (Fregexp_quote):
10951 * select.c (Fown_selection_internal):
10952 * select.c (Fselection_owner_p):
10953 * select.c (Fselection_exists_p):
10954 * select.c (Fget_selection_internal):
10957 * symbols.c (Fintern):
10958 * symbols.c (Fintern_soft):
10959 * symbols.c (Funintern):
10960 * symbols.c (Fapropos_internal):
10961 * symbols.c (Fset_default):
10963 * syntax.c (Fsyntax_table_p):
10964 * syntax.c (Fcopy_syntax_table):
10965 * syntax.c (Fset_syntax_table):
10966 * syntax.c (Fchar_syntax):
10967 * syntax.c (syntax_match):
10968 * syntax.c (Fmatching_paren):
10969 * syntax.c (Fforward_word):
10970 * syntax.c (scan_lists):
10971 * syntax.c (Fscan_lists):
10972 * syntax.c (Fscan_sexps):
10973 * syntax.c (Fparse_partial_sexp):
10974 * toolbar.c (Fcheck_toolbar_button_syntax):
10977 * window.c (Fwindowp):
10978 * window.c (Fwindow_live_p):
10979 * window.c (Fwindow_point):
10980 * window.c (Fdelete_window):
10981 * window.c (Fnext_window):
10982 * window.c (Fprevious_window):
10983 * window.c (Fother_window):
10984 * window.c (window_loop):
10985 * window.c (Fget_lru_window):
10986 * window.c (Fsplit_window):
10987 * window.c (Fenlarge_window):
10988 * window.c (Fenlarge_window_pixels):
10989 * window.c (Fshrink_window):
10990 * window.c (Fshrink_window_pixels):
10991 * window.c (change_window_height):
10992 * window.c (Fwindow_configuration_p):
10993 * window.c (Fcurrent_window_configuration):
10995 * casefiddle.c (casify_object):
10996 * casefiddle.c (Fupcase):
10997 * casefiddle.c (Fdowncase):
10998 * casefiddle.c (Fcapitalize):
10999 * casefiddle.c (Fupcase_initials):
11000 * casefiddle.c (casify_region_internal):
11001 * casefiddle.c (casify_region):
11002 * casefiddle.c (Fupcase_region):
11003 * casefiddle.c (Fdowncase_region):
11004 * casefiddle.c (Fcapitalize_region):
11005 * casefiddle.c (Fupcase_initials_region):
11006 * casefiddle.c (Fupcase_word):
11007 * casefiddle.c (Fdowncase_word):
11008 * casefiddle.c (Fcapitalize_word):
11009 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
11010 Replace 0 with '\0' when working with bytes.
11011 Replace initial "(" with "\(" in docstrings.
11013 2000-11-01 Martin Buchholz <martin@xemacs.org>
11015 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
11017 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
11019 2000-10-31 Martin Buchholz <martin@xemacs.org>
11021 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
11023 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11025 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
11028 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
11030 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
11031 (inhibit_auto_save_session): New variable.
11032 (vars_of_fileio): Declare and initialize them.
11033 * fileio.c (Fdo_auto_save): Don't create session file if
11034 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
11036 2000-10-31 Martin Buchholz <martin@xemacs.org>
11038 * sgiplay.c (play_internal): C++ compilability.
11039 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
11040 * callproc.c (Fold_call_process_internal):
11041 Remove unused vars `env', `first'.
11042 * scrollbar.c (update_scrollbar_instance):
11043 #### unused var `current_window'.
11044 * redisplay-tty.c: Put currently unused vars insert_mode_on,
11045 etc. within #ifdef NOT_YET.
11046 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
11047 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
11048 * specifier.c (specifier_instance):
11049 #### unused var `tag'.
11050 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
11052 2000-10-27 Martin Buchholz <martin@xemacs.org>
11054 * fns.c (Fbutlast):
11055 * fns.c (list_sort):
11056 * fns.c (Ffillarray):
11057 * fns.c (bytecode_nconc2):
11060 * fns.c (Fmapconcat):
11061 Be pedantically 64-bit correct. For the time when someone will
11062 want to have a list with length > 2**32.
11064 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11065 Work around MIPSpro compiler bug.
11067 * process-unix.c (unix_kill_child_process): Add snarky comment.
11068 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
11070 * config.h.in: Oops, _getpt ==> _getpty
11072 2000-10-26 Martin Buchholz <martin@xemacs.org>
11076 Use void*, not char*, as return type of alloca().
11078 * alloc.c (free_marker): Side effect inside assert expression!
11080 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
11082 * mule-charset.c (Fset_charset_ccl_program): To check
11083 if the given ccl program is valid, use setup_ccl_program()
11084 instead of CHECK_VECTOR().
11085 (Fmake_charset): Likewise.
11087 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
11089 * faces.c (get_extent_fragment_face_cache_index):
11090 Fix cachel.merged_faces memory leak.
11092 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
11094 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
11095 Reset MSB of octets obtained by DECODE_SJIS
11096 because of the incompatibility with Emacs.
11097 (ccl_driver)<CCL_ENCODE_SJIS>:
11098 Set MSB of octets before passing them to
11099 ENCODE_SJIS because of the incompatibility
11102 2000-10-18 Daiki Ueno <ueno@unixuser.org>
11104 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
11105 (DECLARE_LRECORD): Undo the last change.
11106 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
11108 2000-10-17 Daiki Ueno <ueno@unixuser.org>
11110 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
11111 the implementation to lrecord_implementations_table.
11113 2000-10-14 Daiki Ueno <ueno@unixuser.org>
11115 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
11116 initial value of `lrecord_type_##c_name' and
11117 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
11118 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
11119 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
11120 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
11121 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
11123 2000-10-17 Martin Buchholz <martin@xemacs.org>
11125 * miscplay.c (sndcnv8S_2mono):
11126 (sndcnv2monounsigned):
11127 (sndcnvULaw_2linear):
11129 Remove implementation-defined behavior.
11131 2000-10-12 Martin Buchholz <martin@xemacs.org>
11133 * input-method-xlib.c: Warning suppression.
11135 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11137 * mule-ccl.c: Sync up with Emacs 21.0.90.
11138 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11140 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11142 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11143 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11144 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11145 leading char belongs to official 2-dimensional charset.
11146 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11147 write the given character as is. Otherwise,
11148 if it is a multibyte char, convert it by
11149 non_ascii_set_charptr_emchar, then write it.
11150 (CCL_WRITE_STRING): Likewise.
11151 (ccl_get_compiled_code): New function.
11152 (setup_ccl_program): When ccl_prog is invalid,
11154 (Fregister_code_conversion_map): New function.
11155 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11157 * mule-ccl.h: Sync up with Emacs 21.0.90.
11158 (Fregister_ccl_program): export it.
11160 * redisplay-msw.c (separate_textual_runs):
11161 If ccl program is not valid, don't do ccl conversion.
11163 * redisplay-x.c (separate_textual_runs): Ditto.
11165 * file-coding.c (Fmake_coding_system):
11166 When type is ccl and value is vector, register it
11167 with a proper symbol. And checks whether the
11168 given ccl program is valid.
11169 (mule_decode): When calling ccl_driver, if src indicates
11170 NULL pointer, set an empty string instead.
11171 (mule_encode): Likewise.
11173 2000-10-11 Martin Buchholz <martin@xemacs.org>
11175 The following large batch of changes gets us back to a state of
11176 C++ compilability. Extbyte is now a char, which means that
11177 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11179 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11181 * sound.c (Fplay_sound): Type correctness.
11183 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11184 (x_get_window_property): Type correctness.
11185 (receive_incremental_selection): unsigned char ==> Extbyte
11186 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11187 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11188 (Fx_store_cutbuffer_internal): Type correctness.
11190 * process-unix.c (try_to_initialize_subtty): Type correctness.
11192 * objects-x.c (x_print_color_instance): Type correctness.
11193 (x_print_font_instance): Type correctness.
11194 (x_list_fonts): SExtbyte ==> Extbyte.
11195 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11196 (x_find_charset_font): SExtbyte ==> Extbyte.
11197 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11198 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11199 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11200 Use bufbyte_strcmp.
11202 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11203 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11204 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11205 (BYTE_C0_P): Use bit ops for char-signedness safety.
11206 (BYTE_C1_P): Use bit ops for char-signedness safety.
11207 (CHARSET_BY_LEADING_BYTE):
11208 (CHARSET_BY_ATTRIBUTES):
11209 Always use inline function.
11210 Use type_checking_assert.
11213 * mule-charset.c (non_ascii_charptr_copy_char):
11214 Modify to work with both ASCII and non-ASCII characters.
11215 Improve docs and variable names.
11216 Replace over-clever fall-through switch with a simple loop.
11217 (Lstream_get_emchar_1):
11218 Replace over-clever fall-through switch with a simple loop.
11220 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11221 Warning suppression.
11223 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11224 the return value of Lstream_getc, which could be EOF as well.
11226 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11228 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11229 APIs can be used on Extbytes without casts. Risky!
11230 (SExtbyte): Remove.
11231 (UExtbyte): Remove.
11233 * input-method-xlib.c (XIM_init_device):
11234 Use Xlib.h instead of IntrinsicP.h.
11235 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11236 which will break in X11R7.
11237 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11238 to call XRegisterIMInstantiateCallback with correct types.
11240 * gui-x.c (button_item_to_widget_value): Type correctness.
11242 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11244 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11245 (xbm_instantiate_1): Type correctness.
11246 (BUILD_GLYPH_INST): Type correctness.
11248 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11251 (decode_coding_sjis):
11252 (decode_coding_big5):
11253 (decode_coding_ucs4):
11254 (decode_coding_utf8):
11255 (decode_coding_iso2022):
11256 (decode_coding_no_conversion):
11257 Make all decoding functions take an Extbyte * arg.
11258 (encode_coding_sjis):
11259 (encode_coding_big5):
11260 (encode_coding_ucs4):
11261 (encode_coding_utf8):
11262 (encode_coding_iso2022):
11263 (encode_coding_no_conversion):
11264 Make all encoding functions take a Bufbyte * arg.
11265 Use size_t instead of unsigned int for memory sizes.
11266 Only cast to unsigned char whenever dereferencing Extbyte *.
11268 * doc.c (unparesseuxify_doc_string): Type correctness.
11270 * console-x.c (split_up_display_spec):
11271 Rewrite without using details of internal string representation.
11272 (x_semi_canonicalize_device_connection): Type correctness.
11275 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11276 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11277 (HAVE_XFREE386): Removed.
11279 * buffer.h (DEC_CHARPTR): `const' correctness.
11280 (bufbyte_strcmp): New.
11281 (bufbyte_memcmp): New.
11283 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11285 * buffer.h (XCHAR_OR_CHAR_INT):
11286 Always use inline function.
11287 Remove redundant type checking assert() - XINT will abort quite nicely.
11289 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11291 * search.c (Freplace_match): Set newtext to an empty string.
11293 2000-10-10 Martin Buchholz <martin@xemacs.org>
11295 * s/decosf1-3.h: Remove #include of stropts.h
11296 * s/ptx.h: Remove #include of stropts.h
11297 * s/usg5-4.h: Remove #include of stropts.h
11300 Use stropts.h, not sys/stropts.h.
11301 Use strtio.h, not sys/strtio.h.
11303 2000-10-04 Martin Buchholz <martin@xemacs.org>
11305 * XEmacs 21.2.36 is released.
11307 2000-09-21 Andy Piper <andy@xemacs.org>
11309 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11310 changes still involve copying the widget tree.
11311 (update_widget_face): make sure a change is register in the widget
11312 tree. Call update_tab_widget_face appropriately.
11313 (update_tab_widget_face): ditto.
11314 (x_tab_control_redisplay): make sure non-structural changes still
11315 involve copying the widget tree.
11317 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11319 * lread.c (locate_file): Check the path element is non-nil.
11321 2000-10-02 Martin Buchholz <martin@xemacs.org>
11323 * lisp.h: Warning suppression for SCO compilers.
11325 * redisplay-tty.c (reset_tty_modes): Fix crash.
11326 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11328 2000-09-27 Martin Buchholz <martin@xemacs.org>
11330 Big signal/process handling overhaul. Bugs fixed:
11331 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11332 M-x comint-kill-subjob should work for both values nil and t of
11333 process-connection-type. It was broken on most platforms.
11334 Testing on Irix and Cygwin still needed. Other plaforms tested.
11335 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11336 * process-unix.c: Signal/Process handling overhaul.
11337 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11338 (allocate_pty): Use all available modern methods of allocating
11339 ptys, falling back to old style BSD allocation as a last resort.
11340 Use allegedly more secure Unix98 pty allocation by default.
11341 (allocate_pty_the_old_fashioned_way): New. the last resort.
11342 (unix_create_process): Push ptem, ldterm, ttcompat where
11343 available. Autoconfiscate.
11344 (try_to_initialize_subtty): New.
11345 (unix_kill_child_process): Proper signal handling for ptys on most
11346 platforms, using special knowledge of AIX, BSD, etc...
11347 (unix_create_process): Always disconnect_controlling_terminal() for
11348 subprocesses, whether using ptys or not.
11349 * process.h: Remove old getpt-dependent PTY code.
11350 * process.c (Fprocess_send_signal): New, obvious generic function.
11351 (decode_signal): New.
11352 (Finterrupt_process):
11356 (Fcontinue_process):
11357 (Fsignal_process): Use decode_signal.
11358 (process_send_signal):
11359 Many docstring corrections.
11360 Allow any signal to be sent to a process object.
11361 * config.h.in: Add symbols for big signal/process overhaul.
11362 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11363 * sysproc.h: Include process-related headers, where available:
11364 sys/stropts.h sys/strtio.h pty.h libutil.h
11372 Remove old S&M pty stuff.
11373 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11374 * systty.h: Simplify cpp hackery, improve comments.
11375 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11377 * editfns.c (Fformat_time_string):
11378 Be a little more paranoid with the return value of ctime.
11380 * fileio.c (check_executable):
11382 Use symbolic constants X_OK, W_OK.
11384 * console-x.c (split_up_display_spec): Fix a warning.
11386 2000-10-02 Martin Buchholz <martin@xemacs.org>
11388 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11389 * ntproc.c (sys_spawnve): make_string ==> build_string
11390 Small clarity improvements.
11392 2000-09-30 Martin Buchholz <martin@xemacs.org>
11394 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11396 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11398 * config.h.in (HAVE_STRCASECMP): Remove.
11400 2000-09-29 Martin Buchholz <martin@xemacs.org>
11402 * redisplay-output.c (redisplay_output_pixmap):
11403 Cleaner and possibly more 64-bit correct code.
11405 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11407 * dumper.c (pdump_load_finish): move restoration of
11408 `noninteractive1' to emacs.c (main_1).
11409 * emacs.c (main_1): protect LISP-visible command-line flags
11412 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11414 * Makefile.in.in (versionclean): Use EXE_TARGET and
11415 DUMP_TARGET instead of literal program names.
11417 2000-09-20 Martin Buchholz <martin@xemacs.org>
11419 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11421 2000-09-19 Martin Buchholz <martin@xemacs.org>
11423 * *: Spelling mega-patch
11425 2000-09-19 Martin Buchholz <martin@xemacs.org>
11427 * fns.c (bad_bad_turtle):
11428 Delete "Eek!" comment, since we fixed the bug to which it refers.
11430 2000-09-16 Martin Buchholz <martin@xemacs.org>
11432 * alloca.c: Replace REGISTER with register.
11434 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11436 * file-coding.c (ucs_to_char): Use countof.
11438 2000-09-16 Martin Buchholz <martin@xemacs.org>
11440 * file-coding.c: (ucs_to_char):
11441 (complex_vars_of_file_coding):
11442 Use countof instead of sizeof.
11443 Use CHECK_NATNUM instead of CHECK_INT.
11445 * sysdep.c (strcasecmp): Remove.
11446 * device-x.c (ascii_strcasecmp): New.
11447 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11448 Avoid using non-standard non-portable strcasecmp.
11450 2000-09-16 Martin Buchholz <martin@xemacs.org>
11452 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11453 * font-lock.c: remove reference to emacsfns.h.
11454 * search.c: small doc improvement.
11455 * event-Xt.c: correct file names in comments.
11456 * console-x.h Correct file names in comments.
11457 * frame.c: Correct file names in comments.
11458 * event-stream.c: remove Energize from comments.
11460 2000-09-15 Martin Buchholz <martin@xemacs.org>
11462 * symeval.h (DEFERROR_STANDARD):
11465 (DEFSYMBOL_NO_DUMP):
11466 (DEFSYMBOL_MULTIWORD_PREDICATE):
11467 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11469 The construct &##name is not sensible C.
11470 Fixes compilation errors with Unixware native compiler.
11472 2000-09-14 Martin Buchholz <martin@xemacs.org>
11474 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11475 (next_frame_internal): Removed. We now just have next_frame.
11477 Write a simpler and cleaner one-pass algorithm.
11478 Remove called_from_delete_device arg and #ifdefed-out code.
11480 Renamed from prev_frame. Update callers.
11481 Cleaned up to have an analogous implementation to next_frame.
11482 (other_visible_frames_internal): Remove the
11483 called_from_delete_device bogus arg, and hence, remove this
11484 function. Just use other_visible_frames().
11486 * window.c (Fnext_window):
11487 Prettify docstring.
11488 Since next_frame() is guaranteed to return a frame, remove check
11489 for nil inserted in previous patch.
11490 (Fprevious_window):
11491 Prettify docstring.
11492 Make code look more like Fnext_window.
11494 Respect the `console' arg when iterating through windows.
11495 Fixes bug: (get-buffer-window buffer t device) not respecting
11497 This function needs more work, as others have pointed out.
11499 * frame.h: Rename prev_frame to previous_frame.
11500 device_matches_console_spec no longer takes a `frame' arg.
11505 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11506 From "Golubev I. N." <gin@mo.msk.ru>.
11508 * make-src-depend: Fix typo.
11510 2000-09-13 Martin Buchholz <martin@xemacs.org>
11512 * window.c (Fnext_window):
11513 next_frame() might return nil, not a frame.
11515 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11517 * frame.c (next_frame_internal):
11518 We've passed a frame if we've passed its device.
11520 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11521 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11523 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11525 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11526 Allow option to suppress accelerators in menu/dialog items.
11527 (populate_or_checksum_helper): Pass dialog title through above.
11529 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11531 * event-msw.c (mswindows_key_to_emacs_keysym):
11532 Add "pause" key, fix "menu" key.
11534 2000-09-09 Martin Buchholz <martin@xemacs.org>
11536 * eval.c (reinit_vars_of_eval):
11537 Increase max_lisp_eval_depth to 1000,
11538 required for thai-xtis.el to byte-compile under some circumstances.
11540 2000-09-04 Martin Buchholz <martin@xemacs.org>
11542 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11543 From Kenichi Handa.
11545 2000-09-01 Martin Buchholz <martin@xemacs.org>
11547 * make-src-depend: Make the generated Makefiles smaller.
11549 * s/hpux.h (SETUP_SLAVE_PTY):
11550 Provide a %d in the format string for the errno argument.
11552 * editfns.c (Ftemp_directory):
11554 Avoid buffer overrun on very long file name.
11556 * input-method-xlib.c (XIM_init_device):
11557 6th parameter of XRegisterIMInstantiateCallback has different
11558 pointer types on different OSes, so simply cast to (void *).
11560 * unexhp9k800.c: Warning fixes. Fiddly changes.
11562 * sysdll.c (dll_open):
11563 shl_load will hang hard if passed a NULL filename.
11564 Simply return NULL for compatibility with dlopen.
11565 * sysdll.c: Conform to XEmacs coding standards.
11567 * sysdep.c (get_pty_max_bytes):
11568 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11570 2000-08-31 Martin Buchholz <martin@xemacs.org>
11572 * tooltalk.c: Add #include <syssignal.h>
11574 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11576 * s/hpux.h: Don't use undefined function sigunblock().
11578 2000-08-31 Martin Buchholz <martin@xemacs.org>
11580 * config.h.in: Add HAVE_BALLOON_HELP.
11581 * emacs.c: Use HAVE_BALLOON_HELP.
11582 * Makefile.in.in (x_objs):
11583 Make Balloon Help conditional on finding shape.h.
11585 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11587 * syntax.c (regex_emacs_buffer_p): New variable.
11588 * syntax.h (regex_emacs_buffer_p): extern.
11589 * search.c (looking_at_1):
11591 (fast_string_match):
11592 (search_buffer): Set regex_emacs_buffer_p.
11593 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11594 when before_dot, at_dot, after_dot.
11596 2000-08-23 Andy Piper <andy@xemacs.org>
11598 * gui-x.c (popup_selection_callback): Only set action_occurred
11599 when we really have an image instance.
11600 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11602 2000-08-23 Andy Piper <andy@xemacs.org>
11604 * gui-msw.c (mswindows_handle_gui_wm_command): set
11606 * gui-x.c (popup_selection_callback): ditto.
11608 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11609 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11610 (struct Lisp_Image_Instance): add action_occurred flag.
11612 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11613 (image_instance_changed): ditto.
11614 (reset_frame_subwindow_instance_cache): only unmap windows - do
11615 not remove them from the cache also.
11617 * glyphs-widget.c (tab_control_update): better debug.
11618 (progress_gauge_update): ditto.
11619 (layout_update): ditto.
11620 (layout_instantiate): ditto.
11621 (tab_control_order_only_changed): cope with null pending items.
11623 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11624 debug. Force selection of an item when an action occurred. Cope
11625 with null pending_items.
11626 (mswindows_progress_gauge_redisplay): better debug.
11627 * glyphs-x.c (x_tab_control_redisplay): ditto.
11629 * redisplay.c (redisplay_frame): reset the frame cache if the
11632 * window.c (Fset_window_configuration): potentially re-enable
11634 (window_unmap_subwindows): need to finalize instances here since
11635 it is only used in mark_window_as_deleted.
11637 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11639 * nas.c (SndOpenDataForReading):
11640 nas.c (WaveOpenDataForReading):
11641 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11642 Somehow escaped from the 2000-08-14 patch.
11644 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11646 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11647 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11649 2000-08-21 Andy Piper <andy@xemacs.org>
11651 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11652 window if it is not already displayed.
11654 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11655 it is not already displayed.
11657 * window.c (Fset_window_configuration): don't reset the frame
11660 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11661 instances from the frame cache if we are actually finalizing them.
11662 (reset_frame_subwindow_instance_cache): reset frame cache only
11663 after unmapping everything.
11664 (map_subwindow): set displayed flag after mapping.
11666 2000-08-21 Martin Buchholz <martin@xemacs.org>
11668 * data.c (indirect_function):
11669 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11671 * eval.c (function_argcount):
11672 Use original function when signaling errors.
11674 2000-08-18 Andy Piper <andy@xemacs.org>
11676 * frame.c (delete_frame_internal): use new
11677 free_frame_subwindow_instances name.
11679 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11680 (add_tab_item): make return type correct.
11681 (mswindows_tab_control_instantiate): assert index of tab.
11682 (mswindows_tab_control_redisplay): Re-code to use
11683 gui_item_equal_sans_selected and gui_item_list_find_selected.
11685 * glyphs-widget.c (tab_control_update): Correct comment.
11687 * window.c (window_unmap_subwindows): use new
11688 unmap_subwindow_instance_cache_mapper.
11689 (window_unmap_subwindows_cache_mapper): deleted.
11690 (Fset_window_configuration): comparisons should now be with
11691 EQ. Preserve the subwindow instance cache across configuration
11693 (allocate_window): ditto.
11694 (make_dummy_parent): ditto.
11696 * glyphs.c (free_frame_subwindow_instances): rename from
11697 free_frame_subwindow_instance_cache. finalize all instances rather
11698 than just those in the display cache.
11699 (finalize_all_subwindow_instances): walk windows unmapping and
11700 finalizing subwindows.
11701 (unmap_subwindow_instance_cache_mapper): moved from
11702 window.c. Allow finalization as well as unmapping.
11704 * gui.c (gui_item_list_find_selected): new function.
11706 * gui.h (gui_item_list_find_selected): declare.
11708 * glyphs-x.c (x_tab_control_redisplay): pick tab
11709 explicitly. Re-code to use gui_item_equal_sans_selected and
11710 gui_item_list_find_selected.
11712 * glyphs-x.h: add lwlib-utils.h
11714 * buffer.c (Frecord_buffer): undo previous change.
11716 2000-08-09 Vin Shelton <acs@xemacs.org>
11718 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11719 possible. Create temporary files more securely. The patch was
11720 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11721 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11722 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11725 2000-08-07 Ben Wing <ben@xemacs.org>
11727 * getloadavg.c: remove duplicate (and windows-breaking)
11728 includes of fcntl.h and sys/file.h.
11730 * nt.c: remove duplicate getloadavg() definition.
11732 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11735 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11737 * eval.c (function_argcount): If function needs to be autoloaded
11738 actually use the loaded definition.
11741 2000-08-05 Ben Wing <ben@xemacs.org>
11743 * getloadavg.c: add prototype for getloadavg(). remove
11744 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11745 of the code). remove duplicate header includes.
11747 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11749 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11750 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11751 useful load average.
11753 * alloc.c (reinit_alloc_once_early): removed references to
11754 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11755 the lisp vars are the only things referencing the malloc_sbrk_*
11756 vars, and they were already if 0'd out. these vars only exist
11757 in the older malloc.c, which is basically unused, and they're
11758 only for informational purposes.
11760 * m\*.h: removed useless VIRT_ADDR_VARIES.
11762 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11764 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11766 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11767 color if the image is a mono pixmap.
11769 2000-07-30 Ben Wing <ben@xemacs.org>
11771 * Makefile.in.in (release):
11774 * buffer.c (directory_is_current_directory):
11775 * dired-msw.c (mswindows_get_files):
11777 * dired.c (Fdirectory_files):
11778 * dired.c (file_name_completion_stat):
11779 * dired.c (Ffile_attributes):
11780 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11781 preprocessor tricks, to avoid problems on some machines
11784 * callproc.c (egetenv): GC docs.
11787 * console-msw.h (struct mswindows_dialog_id):
11788 * lrecord.h (lrecord_type):
11789 New object for use with MSW dialogs.
11791 * console.h (struct console_methods):
11792 New enable/disable frame methods, for proper modal dialogs.
11794 * device-msw.c (msprinter_default_printer): Fix to follow
11795 proper Mule conventions.
11798 * device-msw.c (signal_open_printer_error):
11799 * device-msw.c (msprinter_init_device):
11800 * device-msw.c (ensure_not_printing):
11801 * device-msw.c (plist_get_margin):
11802 * device-msw.c (Fmsprinter_select_settings):
11803 * device-msw.c (finalize_devmode):
11804 * device-msw.c (Fmsprinter_settings_despecialize):
11805 * device-msw.c (signal_enum_priner_error):
11806 * extents.c (decode_extent):
11807 * extents.c (decode_map_extents_flags):
11808 * extents.c (decode_extent_at_flag):
11809 * extents.c (Fextent_at):
11810 * extents.c (Fextents_at):
11811 * extents.c (symbol_to_glyph_layout):
11812 [[[[2]]]] Use structured errors.
11815 * dialog-msw.c (mswindows_is_dialog_msg):
11816 * dialog-msw.c (mark_mswindows_dialog_id):
11817 * dialog-msw.c (dialog_proc):
11818 * dialog-msw.c (handle_question_dialog_box):
11819 * dialog-msw.c (syms_of_dialog_mswindows):
11820 Define new object to clean up marking; use it as a dialog identifier.
11821 Call new delete-dialog-box-hook.
11823 * dialog-x.c (dbox_selection_callback):
11824 * dialog-x.c (dbox_descriptor_to_widget_value):
11825 * dialog-x.c (x_make_dialog_box_internal):
11826 Call new delete-dialog-box-hook.
11830 * dialog.c (syms_of_dialog):
11831 * dialog.c (vars_of_dialog):
11832 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11835 * eval.c (signal_call_debugger):
11836 when noninteractive, output stack traces on the console instead
11837 of in a (never-seen) buffer.
11839 * eval.c (signal_type_error):
11840 * eval.c (invalid_argument_2):
11842 new funs for use w/structured errors.
11845 * event-Xt.c (x_to_emacs_keysym):
11846 * event-Xt.c (describe_event):
11847 * event-Xt.c (emacs_Xt_event_handler):
11848 * event-Xt.c (vars_of_event_Xt):
11850 * event-msw.c (mswindows_wnd_proc):
11851 * event-msw.c (vars_of_event_mswindows):
11852 rename {x,mswindows}-debug-events to debug-{}-events for
11853 consistency with other debug-foo variables.
11856 document next-event more clearly.
11858 * fileio.c (Ffile_name_directory):
11859 * fileio.c (Ffile_name_nondirectory):
11860 * fileio.c (Funhandled_file_name_directory):
11861 * fileio.c (file_name_as_directory):
11862 * fileio.c (Ffile_name_as_directory):
11863 * fileio.c (directory_file_name):
11864 * fileio.c (Fdirectory_file_name):
11865 * fileio.c (Fmake_temp_name):
11866 * fileio.c (Ffile_truename):
11867 * fileio.c (Fsubstitute_in_file_name):
11868 * fileio.c (expand_and_dir_to_file):
11869 * fileio.c (barf_or_query_if_file_exists):
11870 * fileio.c (check_executable):
11871 * fileio.c (Ffile_exists_p):
11872 * fileio.c (Ffile_writable_p):
11873 * fileio.c (Ffile_directory_p):
11874 * fileio.c (Ffile_regular_p):
11875 * fileio.c (Ffile_modes):
11876 * fileio.c (Ffile_newer_than_file_p):
11877 * fileio.c (Fverify_visited_file_modtime):
11878 * fileio.c (Fset_visited_file_modtime):
11879 * fileio.c (auto_save_1):
11884 * frame-msw.c (mswindows_init_frame_1):
11885 * frame-msw.c (mswindows_enable_frame):
11886 * frame-msw.c (error_frame_unsizable):
11887 * frame-msw.c (msprinter_init_frame_1):
11888 * frame-msw.c (msprinter_init_frame_3):
11889 * frame-msw.c (console_type_create_frame_mswindows):
11891 implement new enable/disable frame methods.
11894 * frame-x.c (x_enable_frame):
11895 * frame-x.c (console_type_create_frame_x):
11896 implement new enable/disable frame methods.
11899 * frame.c (Fdisable_frame):
11900 * frame.c (syms_of_frame):
11901 * frame.h (struct frame):
11902 implement new enable/disable frame methods/functions.
11907 * glyphs-msw.c (mswindows_widget_instantiate):
11908 comment that initial-focus should be implemented.
11911 * glyphs-widget.c (check_valid_instantiator):
11912 * glyphs-widget.c (check_valid_orientation):
11913 * glyphs-widget.c (check_valid_tab_orientation):
11914 * glyphs-widget.c (check_valid_justification):
11915 * glyphs-widget.c (check_valid_border):
11916 * glyphs-widget.c (check_valid_callback):
11917 * glyphs-widget.c (check_valid_int_or_function):
11918 * glyphs-widget.c (check_valid_string_or_vector):
11919 * glyphs-widget.c (check_valid_item_list_1):
11920 * glyphs-widget.c (widget_validate):
11921 * glyphs-widget.c (combo_box_validate):
11922 * glyphs-widget.c (widget_instantiate):
11923 * glyphs-widget.c (syms_of_glyphs_widget):
11924 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11925 * glyphs-widget.c (image_instantiator_combo_box):
11926 * glyphs-widget.c (image_instantiator_scrollbar):
11927 * glyphs-widget.c (image_instantiator_tab_control):
11928 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11930 support (unimplemented) keyword initial-focus.
11931 reindent long macros.
11933 * glyphs-x.c (x_redisplay_widget):
11934 * glyphs-x.c (x_button_instantiate):
11935 * glyphs-x.c (x_button_redisplay):
11936 * glyphs-x.c (x_progress_gauge_instantiate):
11937 * glyphs-x.c (x_edit_field_instantiate):
11938 * glyphs-x.c (x_combo_box_instantiate):
11939 * glyphs-x.c (x_tab_control_instantiate):
11940 * glyphs-x.c (x_label_instantiate):
11942 * gui-x.c (button_item_to_widget_value):
11943 * gui-x.c (gui_items_to_widget_values_1):
11944 * gui-x.c (gui_item_children_to_widget_values):
11945 * gui-x.c (gui_items_to_widget_values):
11947 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11948 add new flag to gui-parsing routines to indicate whether
11949 accelerator specs should be supported.
11951 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11953 * glyphs.h (struct Lisp_Image_Instance):
11954 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11955 add initial-focus flag.
11958 * gui.c (syms_of_gui):
11959 * gui.c (vars_of_gui):
11960 clean up menu-no-selection-hook.
11963 support delete-dialog-box-hook.
11965 * lread.c (Fload_internal):
11966 * lread.c (locate_file_in_directory_mapper):
11970 * lrecord.h (struct toolbar_button):
11971 * lrecord.h (syms_of_toolbar):
11972 document how to create a new object.
11974 * menubar-msw.c (mswindows_char_is_accelerator):
11975 may be called on frames w/o menus.
11977 * menubar.c (vars_of_menubar):
11978 clean up :filter docs.
11985 * process-nt.c (validate_signal_number):
11986 * process-nt.c (signal_cannot_launch):
11987 * process-nt.c (nt_create_process):
11988 * process-nt.c (nt_send_process):
11989 * process-nt.c (nt_kill_child_process):
11990 * process-nt.c (nt_open_network_stream):
11991 * process-nt.c (syms_of_process_nt):
11993 delete quote-handling. call new lisp code that does it better.
11995 * process-unix.c (connect_to_file_descriptor):
11996 * process-unix.c (allocate_pty):
11997 * process-unix.c (unix_send_process):
11998 * process-unix.c (unix_kill_child_process):
11999 * process-unix.c (unix_open_network_stream):
12000 * process-unix.c (unix_open_multicast_group):
12004 * process.c (Fstart_process_internal):
12005 (2). need to canonicalize process path even if absolute.
12007 * select-msw.c (symbol_to_ms_cf):
12008 * select-msw.c (ms_cf_to_symbol):
12009 * select-msw.c (cf_is_autofreed):
12010 * select-msw.c (mswindows_destroy_selection):
12012 * select.c (syms_of_select):
12014 support dibv5, fix bugs. (from Mike Alexander)
12016 * select.c (Fget_selection_internal):
12017 * select.c (select_convert_out):
12020 * sysdep.c (xemacs_stat):
12023 * sysdep.c (mkdir):
12024 * sysdep.c (rmdir):
12025 but keep original stat() here because we provide encapsulation
12029 * sysfile.h (fstat):
12030 remove stat garbage.
12033 fix X/MSW conflict.
12034 don't include tchar.h. it's inappropriate because it makes
12035 compile-time distinctions when we want runtime distinctions.
12036 (we provide our own tchar replacements)
12039 use default object printer for toolbar-button.
12042 make sure we don't encapsulate.
12044 * window.c (vars_of_window):
12045 emphasize that temp-buffer-show-hook is obsolete.
12047 2000-08-05 Martin Buchholz <martin@xemacs.org>
12049 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
12050 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
12052 * events.c (Fevent_timestamp_lessp):
12053 Not 64-bit clean. Use EMACS_INT, not int.
12055 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
12057 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
12058 unsigned int and changed the last enum to
12059 lrecord_type_last_built_in_type.
12060 (lrecord_implementations_table): changed prototype to know how
12061 long the array is supposed to be.
12062 (lrecord_type_count): new unsigned int to keep track of the
12063 current number of lisp lrecord types.
12064 (DEFINE_EXTERNAL_LRECORD):
12065 (DECLARE_EXTERNAL_LRECORD): Added these two for external
12066 dynamic-modules to declare new lisp types. They are the same
12067 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
12068 int for each new type, and increment lrecord_type_count by 1.
12070 * alloc.c (lrecord_implementations_table): Changed to reference
12071 lrecord_type_last_built_in_type for the size of the array.
12072 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
12074 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12076 * glyphs.h (check_valid_item_list): Renamed from
12077 check_valid_item_list_1.
12079 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
12081 * select.c (Qselect_coerce): New.
12082 * select.c (Vselection_coercion_alist): New.
12083 * select.c (syms_of_select): Declare.
12084 * select.c (get-selection-internal): Use it.
12085 Use the new select-coerce functionality.
12087 * select.c (select_coerce): New.
12088 * select.h (select_coerce): Declare.
12089 New function to coerce one type of data into another.
12091 2000-08-03 Martin Buchholz <martin@xemacs.org>
12093 * callproc.c (Fcall_process_internal):
12094 (Fcall_process_internal):
12095 * process-unix.c (unix_create_process):
12096 Save and restore the value of errno, so that error messages are accurate.
12098 2000-08-01 Martin Buchholz <martin@xemacs.org>
12100 * elhash.c (print_hash_table):
12101 Fix printing of hash tables to also use `key-and-value' instead of `t'.
12102 Prettify docstrings and indentation.
12104 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
12106 * window.c (Fwindow_pixel_edges): Subtract frame border and
12109 2000-07-31 Andy Piper <andy@xemacs.org>
12111 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
12112 will acknowledge the change.
12114 * glyphs.h: declare tab_control_order_only_changed.
12116 * glyphs-x.c (x_tab_control_redisplay): use
12117 tab_control_order_only_changed.
12119 * glyphs-widget.c (tab_control_order_only_changed): new function.
12121 * glyphs-msw.c (mswindows_tab_control_redisplay): use
12122 tab_control_order_only_changed.
12124 * gui.c (gui_item_equal_sans_selected): new function.
12125 (gui_item_equal): use it.
12127 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12128 :properties in favor of :items..
12130 * glyphs-widget.c (check_valid_item_list): rename from
12131 check_valid_item_list_1.
12132 (check_valid_item_list_1): renamed.
12133 (combo_box_validate): deprecate :properties in favor of :items.
12134 (widget_instantiate): ditto.
12135 (tab_control_update): ditto.
12136 (image_instantiator_combo_box): ditto.
12137 (image_instantiator_tree_view): ditto.
12138 (image_instantiator_tab_control): ditto.
12139 (layout_post_instantiate): remove dead code.
12141 * print.c (debug_print_no_newline): only write to debugger if in
12144 * elhash.c (Fmake_hash_table): update doc string.
12146 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12147 messages whilst in GC. This at least stops XEmacs crashing but has
12148 the potential for wierd behaviour.
12150 2000-07-31 Martin Buchholz <martin@xemacs.org>
12153 Make existence of s&m files optional.
12155 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12156 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12157 * s/gnu.h: Remove HAVE_GETLOADAVG.
12158 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12159 * s/sol2.h: Remove HAVE_GETLOADAVG.
12160 * lisp.h: Remove getloadavg() declaration.
12162 Include <sys/loadavg.h> if available.
12163 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12164 * config.h.in: Group together getloadavg()-related macros.
12165 Use only configure-time tests to detect getloadavg().
12167 2000-07-30 Martin Buchholz <martin@xemacs.org>
12169 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12171 2000-07-25 Andy Piper <andy@xemacs.org>
12173 * syswindows.h: add tchar.h for native builds.
12175 * frame.c (syms_of_frame): remove set-glyph-image.
12177 * general-slots.h: add Qset_glyph_image.
12179 * glyphs-widget.c (layout_update): add domain arg to
12181 (syms_of_glyphs_widget): remove set-glyph-image.
12183 2000-07-23 Ben Wing <ben@xemacs.org>
12185 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12188 2000-07-22 Andy Piper <andy@xemacs.org>
12190 * symsinit.h: add syms_of_win32().
12192 * gui-msw.c (syms_of_gui_mswindows): remove
12193 Fmswindows_shell_execute.
12194 (Fmswindows_shell_execute): moved to win32.c.
12196 * emacs.c (main_1): add syms_of_win32 ().
12198 * win32.c (init_potentially_nonexistent_functions): rewrite in
12199 compiler-friendly terms.
12200 (Fmswindows_shell_execute): move here from gui-msw.c.
12201 (syms_of_win32): new.
12203 * device-msw.c (Fmswindows_printer_list): clean up args to
12205 Don't include tchar under cygwin or mingw.
12206 (msprinter_default_printer): make cygwin-friendly.
12208 2000-07-21 Andy Piper <andy@xemacs.org>
12210 * glyphs-widget.c (image_instantiator_tree_view): use tab
12211 control's update function.
12212 (layout_property): new function. Retrieve items.
12214 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12215 function. Re-populate the tree view from the pending items.
12217 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12218 is designated the parent if the domain is an image instance. This
12219 is needed so that dirtiness can be cascade up the hierarchy and
12220 thus for layout children to be redisplayed correctly.
12221 (allocate_image_instance): rename glyph -> parent.
12223 * redisplay.h: change redisplay_output_layout signature.
12225 * redisplay-msw.c (mswindows_output_display_block): use domain
12228 * redisplay-x.c (x_output_display_block): use domain arg.
12230 2000-07-10 Andy Piper <andy@xemacs.org>
12232 * window.c (Fset_window_configuration): add comment.
12234 * redisplay-output.c (compare_runes):
12235 (redisplay_output_subwindow): redisplay rather than update subwindow.
12236 (redisplay_output_layout): ditto.
12238 * redisplay-msw.c (mswindows_frame_output_end):
12239 (mswindows_frame_output_end): make defer window pos optional.
12241 * lisp.h: add Flast.
12243 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12244 normalize method. Change update method to be for changed
12245 instantiators. Add redisplay method. Change signature of layout
12247 (struct Lisp_Image_Instance): add instantiator.
12248 (IMAGE_INSTANCE_INSTANTIATOR): new.
12249 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12250 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12251 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12254 (find_instantiator_differences): new function.
12255 (Fset_instantiator_property): new convenience function.
12256 (check_image_instance_structure): strictly check for vector
12258 (normalize_image_instantiator): make non-static.
12259 (instantiate_image_instantiator): pass on dest_mask and use new
12260 signatures for image_instance_layout and friends.
12261 (mark_image_instance): mark the instantiator. Mark the subwindow
12262 face not the widget face.
12263 (image_instance_equal): add instantiator.
12264 (image_instance_hash): ditto.
12265 (allocate_image_instance): ditto.
12266 (Fset_image_instance_property): removed.
12267 (Fimage_instance_file_name): ditto.
12268 (Fcolorize_image_instance): ditto.
12269 (image_instance_layout): add offsets to be set.
12270 (update_image_instance): new function. update an image instance
12271 from its changed instantiator.
12272 (inherit_normalize): add dest_mask.
12273 (xbm_normalize): ditto.
12274 (xface_normalize): ditto.
12275 (xpm_normalize): ditto.
12276 (text_update): set_property -> update.
12277 (image_instantiate): use the glyph identity as a hash key, not the
12279 (glyph_width): use new image_instance_layout signature.
12280 (glyph_ascent): ditto.
12281 (glyph_descent): ditto.
12282 (glyph_height): ditto.
12283 (glyph_query_geometry): ressurrect.
12284 (glyph_layout): ditto.
12285 (redisplay_subwindow): update -> redisplay.
12286 (syms_of_glyphs): add Fset_instantiator_property.
12287 (image_instantiator_format_create): set_property -> update.
12290 (autodetect_normalize): add dest_maks to signature.
12291 (x_redisplay_subwindow): update -> redisplay.
12292 (x_redisplay_widget): ditto.
12293 (x_button_redisplay): ditto.
12294 (x_progress_gauge_redisplay): ditto.
12295 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12297 (console_type_create_glyphs_x): update -> redisplay.
12298 (image_instantiator_format_create_glyphs_x): ditto.
12301 (check_valid_instantiator): disallow glyphs in the instantiator,
12302 they must now be vectors.
12303 (check_valid_instantiator_list): ditto.
12304 (glyph_instantiator_to_glyph): use internal symbol rather than
12306 (widget_update): renamed from widget_set_property. Call cascaded
12308 (redisplay_widget): renamed from update_widget.
12309 (widget_layout): image_instance_layout now takes position as well
12311 (widget_normalize): ditto.
12312 (widget_instantiate): ditto.
12313 (tab_control_query_geometry) ditto.:
12314 (tab_control_update): renamed from tab_control_set_property.
12315 (progress_gauge_update): set_property -> update.
12316 (layout_normalize): rewrite so that child instantiators are
12318 (layout_update): new function. Create glyphs from the normalized
12319 children and cope with any other layout keywords. We do not
12320 instantiate children here that will be take care of by
12321 redisplay_output_layout.
12322 (layout_instantiate): call layout_update and not much else.
12323 (layout_post_instantiate): not sure whether this is needed
12325 (layout_query_geometry): query glyph geometry rather than
12326 image_instance geometry.
12327 (layout_layout): set offsets from pass in parameters. Use glyph
12328 geometry and layout functions rather than image instance ones.
12329 (native_layout_layout): ditto.
12330 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12331 (image_instantiator_widget): set_property -> update.
12332 (image_instantiator_buttons): ditto.
12333 (image_instantiator_progress_guage): ditto.
12334 (image_instantiator_tab_control): ditto.
12335 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12336 (image_instantiator_layout): add update method.
12338 * glyphs-msw.c (bmp_normalize):
12339 (mswindows_resource_normalize): add dest_mask so that it can be
12340 proprogated by layout_normalize.
12341 (begin_defer_window_pos): make optional because it may not be the
12342 right thing to do and it introduces differences with X.
12343 (mswindows_unmap_subwindow): ditto.
12344 (mswindows_map_subwindow): ditto.
12345 (mswindows_redisplay_subwindow): renamed from
12346 mswindows_update_subwindow.
12347 (mswindows_redisplay_widget): ditto.
12348 (mswindows_button_redisplay): renamed from
12349 mswindows_button_update. Update is now what the instantiation
12350 function does for a changed instantiator.
12351 (mswindows_progress_gauge_instantiate): set the progress value
12352 here if appropriate.
12353 (mswindows_tab_control_redisplay): cope with re-ordering of the
12354 members of the tab widget by simply selecting the new top
12355 widget. This makes things appear ok if you click on a tab.
12356 (mswindows_combo_box_instantiate): image_instance_layout now takes
12357 position as well as size.
12358 (mswindows_progress_gauge_redisplay): renamed from
12359 mswindows_progress_gauge_update.
12360 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12361 (image_instantiator_format_create_glyphs_mswindows): ditto.
12363 * glyphs-eimage.c (jpeg_normalize):
12366 (tiff_normalize): add dest_mask so that it can be proprogated by
12370 (print_hash_table):
12371 (hash_table_weakness_validate):
12372 (decode_hash_table_weakness):
12373 (Fhash_table_weakness):
12374 (Fhash_table_type):
12375 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12377 * console.h (struct console_methods): move update_* to
12380 2000-07-20 Ben Wing <ben@xemacs.org>
12382 * *.[ch] (XSETOBJ): remove unused middle argument.
12383 lisp-disunion.h: correct wrap_object() to one argument.
12385 2000-07-15 Ben Wing <ben@xemacs.org>
12388 * s/cygwin32.h (CYGWIN_CONV_PATH):
12389 Add missing logb prototype for v1.1.
12390 Use post-b20 names and alias to pre-b20 names when pre-b20.
12392 * s/windowsnt.h: [5].
12394 2000-07-15 Ben Wing <ben@xemacs.org>
12396 * Makefile.in.in (x_objs):
12397 * Makefile.in.in (sheap_objs):
12398 * Makefile.in.in (objs):
12399 added win32.o, cosmetic cleanups.
12401 * alloc.c (Fmake_byte_code):
12402 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12403 etc. macros which declare their own args now.
12405 * alloc.c (syms_of_alloc):
12406 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12409 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12411 * buffer.c (Fget_file_buffer):
12412 Fixed GCPRO problem.
12414 * buffer.c (get_truename_buffer):
12415 Fixed comment about GC checking.
12417 * buffer.c (syms_of_buffer):
12418 Undeclared those dedicated frame funs.
12422 Define convenience macros for internal/external conversions.
12423 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12424 and Qenvironment_variable_encoding for cleaner code.
12427 Remove dedicated-frame; in lisp.
12429 * bytecode.c (funcall_compiled_function):
12432 * bytecode.c (syms_of_bytecode):
12436 * console-msw.c (mswindows_show_console): Rewrote.
12438 * console-msw.c (Fmswindows_debugging_output): New.
12439 Sends to OutputDebugString (special MSWin debugger interface).
12441 * console-msw.c (Fmswindows_message_box):
12442 Fixed stupid bugs so it works when called from kill-emacs.
12444 * console-msw.c (syms_of_console_mswindows):
12445 Declare Fmswindows_debugging_output.
12448 New MSWin prototypes.
12450 * console-msw.h (struct mswindows_frame):
12451 New entry last-click-mods for improved button-modifier support.
12453 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12454 New struct entry `popup' with corresponding accessor.
12457 * console-x.c (split_up_display_spec):
12458 * console-x.c (get_display_arg_connection):
12459 * console-x.c (x_semi_canonicalize_console_connection):
12460 * console-x.c (x_canonicalize_device_connection):
12461 [[[6]]]: Change char to more specific type.
12462 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12464 * console-x.c (x_semi_canonicalize_console_connection):
12465 * console-x.c (x_canonicalize_device_connection):
12466 [[[9]]]: Fix up error signalling to use new structured error system.
12469 [[[4]]]: Define codesys aliases:
12470 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12471 Qx_color_name_encoding, Qx_display_name_encoding.
12473 * console.h (struct console_methods):
12474 New method make_dialog_box_internal supersedes older
12475 popup_dialog_box method.
12478 Define many new errors, part of new structured errors.
12480 * data.c (init_errors_once_early):
12481 * data.c (syms_of_data):
12484 * device-msw.c (mswindows_init_device):
12485 [[[5]]]: Cleanup to support NT 3.51.
12487 * device-msw.c (decode_devmode): Cleanup.
12489 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12490 * device-msw.c (mswindows_handle_print_dialog_box):
12491 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12492 * device-msw.c (syms_of_device_mswindows):
12493 Delete the dialog box primitives recently introduced by Kirill and
12494 instead interface to general dialog box interface.
12497 * device-x.c (compute_x_app_name):
12498 * device-x.c (x_init_device):
12499 * device-x.c (Fx_valid_keysym_name_p):
12500 * device-x.c (Fx_set_font_path):
12504 * device.h (wrap_device): New.
12505 First of its kind; meant to replace XSETDEVICE.
12507 * dialog-msw.c: Many file-dialog symbols.
12509 * dialog-msw.c (mswindows_register_popup_frame): New.
12510 * dialog-msw.c (mswindows_is_dialog_msg): New.
12511 For supporting kbd traversal in dialog boxes.
12513 * dialog-msw.c (dialog_proc):
12514 Support hitting ESC in dialogs.
12516 * dialog-msw.c (struct):
12517 Common dialog box errors.
12519 * dialog-msw.c (handle_file_dialog_box): New.
12520 Add file dialog code.
12522 * dialog-msw.c (handle_question_dialog_box):
12523 Redo existing code to support new question dialog syntax.
12525 * dialog-msw.c (console_type_create_dialog_mswindows):
12526 We support new dialog console method.
12528 * dialog-msw.c (syms_of_dialog_mswindows):
12529 * dialog-msw.c (vars_of_dialog_mswindows):
12530 New file dialog symbols, vars.
12533 * dialog-x.c (maybe_run_dbox_text_callback):
12534 * dialog-x.c (dbox_descriptor_to_widget_value):
12535 * dialog-x.c (x_make_dialog_box_internal):
12536 * dialog-x.c (console_type_create_dialog_x):
12537 Mule-ize entire file.
12538 Redo to support question dialog syntax.
12542 * dialog.c (Fmake_dialog_box_internal):
12543 * dialog.c (syms_of_dialog):
12544 Kill old popup-dialog-box, replace with new primitive.
12545 Just call device method or signal error.
12547 * eldap.c (Fldap_open):
12548 * eldap.c (Fldap_search_basic):
12549 * eldap.c (Fldap_add):
12550 * eldap.c (Fldap_modify):
12555 * emacs.c (make_arg_list_1):
12556 * emacs.c (make_arg_list):
12557 Mule-ize call to dll_init().
12561 * emacs.c (make_argc_argv):
12562 * emacs.c (free_argc_argv):
12563 * emacs.c (init_cmdargs):
12564 * emacs.c (main_1):
12565 * emacs.c (Fkill_emacs):
12566 * emacs.c (Fdump_emacs):
12567 Update comments about what can be used in syms_* etc.
12568 Call init_win32() when necessary.
12569 Fix up MS Win dialog box in kill-buffer to actually work right.
12580 * eval.c (condition_case_3):
12582 * eval.c (function_argcount):
12583 * eval.c (funcall_lambda):
12586 * eval.c (type_error): New.
12587 * eval.c (maybe_type_error): New.
12588 * eval.c (continuable_type_error): New.
12589 * eval.c (maybe_continuable_type_error): New.
12590 * eval.c (type_error_with_frob): New.
12591 * eval.c (maybe_type_error_with_frob): New.
12592 * eval.c (continuable_type_error_with_frob): New.
12593 * eval.c (maybe_continuable_type_error_with_frob): New.
12594 New functions for use with structured errors.
12597 * event-Xt.c (x_event_to_emacs_event):
12598 Buttons are now modifiers too.
12600 * event-Xt.c (emacs_Xt_current_event_timestamp):
12601 Implement new event method.
12602 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12605 * event-msw.c (ntpipe_shove_writer): [5].
12606 * event-msw.c (mswindows_enqueue_mouse_button_event):
12607 * event-msw.c (mswindows_drain_windows_queue):
12608 * event-msw.c (mswindows_wnd_proc): [7].
12609 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12610 * event-msw.c (mswindows_modifier_state):
12611 Throughout: support new button modifiers.
12613 * event-msw.c (emacs_mswindows_current_event_timestamp):
12614 Implement new event method.
12615 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12618 * event-stream.c (event_stream_current_event_timestamp): New.
12619 * event-stream.c (maybe_kbd_translate): New functionality.
12620 * event-stream.c (vars_of_event_stream):
12621 Document new kbd-translate-table functionality.
12623 * event-stream.c (Fcurrent_event_timestamp): New.
12624 New primitive for use in fabricated events.
12625 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12627 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12630 * events.c (Fmake_event):
12631 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12635 * events.c (format_event_object): fix gcc warnings.
12637 * events.c (Fevent_timestamp): Document new primitives.
12639 * events.c (TIMESTAMP_HALFSPACE): New.
12641 * events.c (Fevent_timestamp_lessp): New. New primitive for
12642 comparing timestamps correctly (half-space algorithm).
12644 * events.c (Fevent_modifier_bits): Doc fix.
12646 * events.c (Fevent_modifiers): Major doc addition.
12647 * events.c (event_x_y_pixel_internal): Typo fix.
12648 * events.c (syms_of_events): Declare new primitives.
12651 Update long comment for button modifiers, timestamps.
12653 * events.h (struct event_stream):
12654 New current_event_timestamp method.
12657 * extents.c (extent_in_region_p):
12658 * extents.c (decode_extent):
12659 * extents.c (Fset_extent_parent):
12660 * extents.c (decode_map_extents_flags):
12664 * extents.c (struct extent_at_arg):
12665 * extents.c (decode_extent_at_flag):
12666 * extents.c (extent_at_mapper):
12667 * extents.c (extent_at_bytind):
12668 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12669 * extents.c (Fextents_at): New primitive. [9].
12670 * extents.c (symbol_to_glyph_layout): [9].
12671 Support new primitive `extents-at'.
12674 * extents.c (get_text_property_bytind):
12675 extent_at_bytind has another arg.
12678 * extents.c (syms_of_extents): New primitive.
12680 * file-coding.c (Fmake_coding_system): [1].
12681 * file-coding.c (subsidiary_coding_system): fix gcc warning
12682 * file-coding.c (syms_of_file_coding): [2].
12684 * fileio.c (Fexpand_file_name):
12685 * fileio.c (Fsysnetunam):
12686 * fileio.c (Ffile_exists_p):
12687 * fileio.c (Ffile_executable_p):
12688 * fileio.c (Fverify_visited_file_modtime):
12691 * fileio.c (syms_of_fileio): [2].
12693 * filelock.c (lock_file_1):
12694 * filelock.c (current_lock_owner):
12695 * filelock.c (lock_if_free):
12696 * filelock.c (lock_file):
12697 * filelock.c (unlock_file):
12700 * fns.c (concat): Fix gcc warning.
12703 * fns.c (Fold_member):
12705 * fns.c (Fold_memq):
12706 * fns.c (memq_no_quit):
12708 * fns.c (Fold_assoc):
12710 * fns.c (Fold_assq):
12711 * fns.c (assq_no_quit):
12713 * fns.c (Fold_rassoc):
12715 * fns.c (Fold_rassq):
12716 * fns.c (rassq_no_quit):
12718 * fns.c (Fold_delete):
12720 * fns.c (Fold_delq):
12721 * fns.c (delq_no_quit):
12722 * fns.c (Fremassoc):
12723 * fns.c (Fremassq):
12724 * fns.c (remassq_no_quit):
12725 * fns.c (Fremrassoc):
12726 * fns.c (Fremrassq):
12727 * fns.c (remrassq_no_quit):
12728 * fns.c (Freverse):
12732 * frame-msw.c (mswindows_init_frame_1):
12733 * frame-msw.c (mswindows_delete_frame):
12734 Register popups with dialog code so keyboard traversing works.
12736 * frame-tty.c (tty_raise_frame_no_select): [1].
12739 * frame-x.c (x_set_frame_text_value):
12740 * frame-x.c (x_set_frame_properties):
12741 * frame-x.c (x_create_widgets):
12745 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12747 * frame.h (wrap_frame): New.
12748 Macro like wrap_device.
12751 * general.c (SYMBOL):
12752 * general.c (syms_of_general):
12753 Major reorg. This is now just a wrapper and symbols themselves
12754 are listed in general-slots.h.
12756 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12757 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12759 * glyphs-msw.c (mswindows_native_layout_instantiate):
12760 Add DS_CONTROL so keyboard traversal will work.
12763 * glyphs-widget.c (syms_of_glyphs_widget):
12764 Move some symbols to general-slots.h.
12767 * glyphs-x.c (xbm_instantiate_1):
12768 * glyphs-x.c (x_xbm_instantiate):
12769 * glyphs-x.c (x_xface_instantiate):
12770 * glyphs-x.c (autodetect_instantiate):
12771 * glyphs-x.c (cursor_font_instantiate):
12772 * glyphs-x.c (x_update_widget):
12773 * glyphs-x.c (x_widget_instantiate):
12774 * glyphs.c (bitmap_to_lisp_data):
12775 * glyphs.c (pixmap_to_lisp_data):
12778 * glyphs.c (syms_of_glyphs):
12782 * gui-x.c (print_widget_value):
12783 * gui-x.c (menu_separator_style_and_to_external):
12784 * gui-x.c (add_accel_and_to_external):
12785 * gui-x.c (button_item_to_widget_value):
12786 * gui-x.c (gui_items_to_widget_values_1):
12787 * gui-x.c (gui_items_to_widget_values):
12788 * gui-x.c (syms_of_gui_x):
12789 * gui-x.c (vars_of_gui_x):
12790 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12794 Muleize, prototype changes matching gui-x.c.
12797 * gui.c (separator_string_p):
12798 * gui.c (gui_item_add_keyval_pair):
12799 * gui.c (make_gui_item_from_keywords_internal):
12800 * gui.c (signal_too_long_error):
12801 * gui.c (parse_gui_item_tree_item):
12802 * gui.c (syms_of_gui):
12803 * gui.c (vars_of_gui):
12805 menu-no-selection-hook moved here (used by MSWin).
12806 Move some symbols to general-slots.h.
12810 * insdel.c (get_buffer_pos_char):
12811 * insdel.c (get_buffer_range_char):
12814 * keymap.c (keymap_lookup_directly):
12815 * keymap.c (keymap_store):
12816 * keymap.c (ensure_meta_prefix_char_keymapp):
12817 * keymap.c (describe_map):
12819 Support new button modifiers.
12821 * lisp-disunion.h (wrap_object):
12822 * lisp-disunion.h (XSETOBJ):
12823 Rename make_obj to wrap_object.
12826 * lisp-union.h (make_int):
12827 * lisp-union.h (make_char):
12828 Support wrap_object.
12831 * lisp.h (LIST_LOOP):
12832 * lisp.h (EXTERNAL_LIST_LOOP):
12833 * lisp.h (LIST_LOOP_2):
12834 * lisp.h (EXTERNAL_LIST_LOOP_1):
12835 * lisp.h (EXTERNAL_LIST_LOOP_2):
12836 * lisp.h (EXTERNAL_LIST_LOOP_3):
12837 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12838 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12839 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12840 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12841 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12842 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12843 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12844 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12845 * lisp.h (struct Lisp_Symbol):
12846 * lisp.h (maybe_continuable_error_with_frob):
12847 Fix up section comments.
12848 Add new types for char to indicate usage.
12849 Delete symbols auto-generated from general-slots.h.
12850 Add prototypes for structured error functions.
12851 Add long comments describing looping macros and change interface
12852 so that lvalues are automatically declared.
12853 Add NO_DECLARE macro in case callers want to declare lvalues
12856 * lread.c (read_syntax_error):
12857 * lread.c (continuable_read_syntax_error):
12858 * lread.c (read_structure):
12859 * lread.c (sequence_reader):
12860 * lread.c (read_list_conser):
12861 * lread.c (read_compiled_function):
12862 Rename syntax_error and continuable_syntax_error to avoid clash
12863 with same-named structured error functions.
12865 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12866 * menubar-msw.c (populate_menu_add_item):
12867 * menubar-msw.c (populate_or_checksum_helper):
12872 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12873 Mule-ize whole file.
12875 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12877 * mule-charset.c (Fmake_charset):
12878 * mule-wnnfns.c (Fwnn_set_param):
12881 * ntproc.c (create_child):
12882 * ntproc.c (Fwin32_set_current_locale):
12883 Add comments portending doom.
12886 * objects-msw.c (old_font_enum_callback_2):
12887 * objects-msw.c (font_enum_callback_1):
12888 * objects-msw.c (mswindows_enumerate_fonts):
12892 * objects-x.c (allocate_nearest_color):
12893 * objects-x.c (x_parse_nearest_color):
12894 * objects-x.c (x_initialize_color_instance):
12895 * objects-x.c (x_print_color_instance):
12896 * objects-x.c (x_finalize_color_instance):
12897 * objects-x.c (x_valid_color_name_p):
12898 * objects-x.c (x_initialize_font_instance):
12899 * objects-x.c (x_print_font_instance):
12900 * objects-x.c (valid_x_font_name_p):
12901 * objects-x.c (truename_via_FONT_prop):
12902 * objects-x.c (truename_via_random_props):
12903 * objects-x.c (truename_via_XListFonts):
12904 * objects-x.c (x_font_truename):
12905 * objects-x.c (x_font_instance_truename):
12906 * objects-x.c (x_font_instance_properties):
12907 * objects-x.c (x_list_fonts):
12908 * objects-x.c (x_find_charset_font):
12909 Mule-ize entire file.
12916 * print.c (std_handle_out_external):
12917 * print.c (debug_print_no_newline):
12918 * print.c (syms_of_print):
12919 Output to all debugger kinds in debug-print.
12920 Fix console-output code under MSWin to actually work.
12922 * process-nt.c (send_signal):
12923 * process-nt.c (nt_create_process):
12924 Use newer Unicode macros.
12926 * process-unix.c (unix_create_process):
12927 * process-unix.c (unix_canonicalize_host_name):
12928 * process-unix.c (unix_open_network_stream):
12934 * search.c (syms_of_search):
12937 * select-msw.c (mswindows_destroy_selection):
12940 * select-x.c (symbol_to_x_atom):
12943 * select.c (syms_of_select):
12946 * sound.c (Fplay_sound_file):
12950 * specifier.c (decode_specifier_type):
12951 * specifier.c (Fvalid_specifier_locale_type_p):
12952 * specifier.c (check_valid_locale_or_locale_type):
12953 * specifier.c (decode_locale):
12954 * specifier.c (decode_locale_type):
12955 * specifier.c (decode_locale_list):
12956 * specifier.c (check_valid_domain):
12957 * specifier.c (decode_specifier_tag_set):
12958 * specifier.c (Fcanonicalize_tag_set):
12959 * specifier.c (Fdefine_specifier_tag):
12960 * specifier.c (Fspecifier_tag_predicate):
12961 * specifier.c (check_valid_inst_list):
12962 * specifier.c (check_valid_spec_list):
12963 * specifier.c (decode_how_to_add_specification):
12964 * specifier.c (check_modifiable_specifier):
12965 * specifier.c (specifier_add_spec):
12966 * specifier.c (boolean_validate):
12967 * specifier.c (display_table_validate):
12970 * specifier.c (syms_of_specifier):
12971 Move some symbols to general-slots.h.
12975 * symbols.c (Fmapatoms):
12976 * symbols.c (Fapropos_internal):
12979 * symbols.c (set_default_buffer_slot_variable):
12980 * symbols.c (set_default_console_slot_variable):
12983 * symbols.c (defsymbol_massage_name_1):
12984 * symbols.c (defkeyword_massage_name):
12985 * symbols.c (deferror_1):
12986 * symbols.c (deferror):
12987 * symbols.c (deferror_massage_name_and_message):
12989 * symeval.h (DEFSYMBOL):
12990 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12992 * symbols.c (syms_of_symbols):
12996 * symsinit.h (init_win32): New.
12997 Also new is syms_of_dialog_mswindows.
13000 Add new Unicode macros, missing Cygwin wide-char functions,
13001 convenience conversion macros for Qmswindows_tstr, macros for
13002 encapsulating required MSWin <-> Cygwin filename conversions,
13003 prototype for dynamically-extracted (not in NT 3.51) functions.
13008 * tooltalk.c (Fadd_tooltalk_message_arg):
13009 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
13010 * tooltalk.c (Fadd_tooltalk_pattern_arg):
13013 * tooltalk.c (syms_of_tooltalk):
13017 * unexnt.c (unexec):
13018 Fix up headers, declaration of unexec() to be more standard.
13020 2000-07-20 Martin Buchholz <martin@xemacs.org>
13022 * offix.h: Revert change to guard macros - they're used in offix.c!
13024 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13026 * lisp.h: Defsubred Fdelete.
13028 * console-msw.h: (msprinter_default_printer): Added.
13030 * console-msw.c (msprinter_canonicalize_console_connection):
13031 (msprinter_canonicalize_device_connection): Added.
13033 * device-msw.c (msprinter_default_printer):
13034 (Fmswingows_get_default_printer):
13035 (signal_enum_priner_error):
13036 (Fmswingows_printer_list): Added.
13038 2000-07-19 Martin Buchholz <martin@xemacs.org>
13040 * XEmacs 21.2.35 is released.
13042 2000-07-19 Martin Buchholz <martin@xemacs.org>
13044 * select-x.c (x_handle_selection_request):
13045 Text selected in xemacs and pasted into xterm failed to appear.
13046 Spelling fixes and cosmetic changes.
13048 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13050 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
13051 XEmacs frame (fix for doubling chars in dialog boxes).
13053 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13055 * select.c (select_convert_in, select_convert_out):
13056 Don't call intern() every time.
13058 * select.c (Qselect_convert_in, Qselect_convert_out): New.
13059 * select.c (vars_of_select): Initialise them.
13061 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13063 * select.c (selection-coercible-types): New.
13065 * select.c (own-selection-internal):
13066 * select.c (get-selection-internal):
13067 MULE bug fix - these should default to COMPOUND_TEXT and not
13068 STRING for MULE. I think.
13070 * select.c (select_convert_out): Use selection-coercible-types
13071 to find types that we can attempt to perform coercions on.
13073 2000-07-18 Martin Buchholz <martin@xemacs.org>
13077 Add coding: cookie to identify encoding.
13079 * mule-canna.c (CANNA_mode_keys): make static.
13080 Use proper prototypes, even for functions of no arguments.
13081 Remove external prototype for Fding().
13083 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
13085 * select.c (syms_of_select): Add missing DEFSUBR.
13087 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
13089 * select.c (get_selection_internal, own_selection_internal):
13090 Make the type default to STRING, rather than placing a nil type
13091 into Vselection_alist.
13093 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
13095 * gpmevent.c (tty_selection_exists_p):
13096 * gpmevent.c (tty_own_selection):
13097 Updated parameter lists.
13099 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
13101 * select.h (selection-alist): Removed declaration.
13103 * select.h (get_local_selection):
13104 * select.c (get_local_selection):
13107 * select.h (convert_selection): Removed declaration.
13108 * select.c (convert_selection): Removed.
13109 This function belongs in Lisp.
13111 * select.h (select_convert_in): Declare.
13112 * select.h (select_convert_out): Declare.
13113 * select.c (select_convert_in): New.
13114 * select.c (select_convert_out): New.
13115 New conversion functions for other files to call.
13117 * select.h (select_notify_buffer_kill): Declare.
13118 * select.c (select_notify_buffer_kill): New.
13119 New functions that get called from kill-buffer.
13121 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
13122 X-specific lisp code.
13124 * select.h: Declare some of the lisp-visible functions for
13127 * select.c (clean_local_selection_data): Removed. This was
13128 a disgusting function, and previously should have been in
13129 select-x.c in any case. The functionality is now provided
13130 in select-convert-from-integer (select.el).
13132 * select.c (available-selection-types): Fixed stupidity where
13133 INTEGER and ATOM got added twice. Also add STRING when we see an
13136 * select.c (get-selection-internal): Removed symbol stripping. No
13137 longer causes conversion when data comes from the internal cache.
13139 * select.c (syms_of_select): Added new functions.
13141 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13142 error checking - previously this called abort!
13144 * select-x.c (x_own_selection): Changed comment.
13146 * select-x.c (x_handle_selection_request): Use select_convert_out.
13147 Don't mess with selection-alist; it's an internal variable of select.c.
13149 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13151 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13152 rather than messing with selection-alist.
13154 * select-msw.c (mswindows_get_foreign_selection):
13155 Use TO_INTERNAL_FORMAT rather than hacking.
13157 2000-07-14 Martin Buchholz <martin@xemacs.org>
13159 * process-unix.c (unix_open_multicast_group):
13160 (unix_open_multicast_group): Remove useless casts.
13162 2000-07-13 Martin Buchholz <martin@xemacs.org>
13164 * sound.c (Fplay_sound): Fix `unused variable' warning.
13166 * emacs.c (main): Use correct type for _environ on SCO5.
13168 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13170 * console.h (own_selection_method):
13171 * console.h (selection_exists_p_method):
13172 * console.h (available_selection_types_method): New.
13173 * console.h (register_selection_data_type_method): New.
13174 * console.h (selection_data_type_name): New.
13176 * console-msw.h (mswindows_destroy_selection): Declare it. New
13177 function & alist to track GlobalAlloc()'d handles that need
13178 releasing when the clipboard data gets replaced or emptied.
13180 * event-msw.c (mswindows_wnd_proc): Call it.
13182 * lisp.h, general.c (Qappend): New symbol representing a
13185 * select.c (own-selection-internal):
13186 * select.c (selection-exists-p):
13187 * select.c (available-selection-types): New.
13188 * select.c (register-selection-data-type): New.
13189 * select.c (selection-data-type-name): New. New functions to deal
13190 with device-specific selection data formats.
13191 * select.c (selection-converter-out-alist): Renamed.
13192 * select.c (selection-converter-in-alist): New.
13193 * select.c (selection-appender-alist): New. Added new alists.
13194 * select.c (syms_of_select, vars_of_select): Added new symbols &
13196 * select.c (get_local_selection): Split.
13197 * select.c: Removed spurious type checking - selections may now be
13198 of any type, not just strings.
13199 * select.c (own-selection-internal):
13201 * select.h, select.c (convert_selection): New. Created
13202 convert_selection() function based on get_local_selection().
13203 * select.h, select.c (QCF_*): New symbols representing mswindows
13205 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13206 symbols representing `how-to-add' modes.
13208 * select-msw.c (x_sym_p): New.
13209 * select-msw.c (symbol_to_ms_cf): New.
13210 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13211 symbols & clipboard formats. Can also handle string names.
13212 * select-msw.c (mswindows_own_selection):
13213 * select-msw.c (mswindows_selection_exists_p):
13214 Added `data-type' parameter. Use it.
13215 * select-msw.c (mswindows_available_selection_types): New.
13216 * select-msw.c (mswindows_register_selection_data_type): New.
13217 * select-msw.c (mswindows_selection_data_type_name): New.
13218 * select-msw.c (mswindows_own_selection):
13219 * select-msw.c (mswindows_get_foreign_selection):
13220 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13221 * select-msw.c (console_create_select_mswindows): Added new methods.
13222 * select-msw.c (mswindows_destroy_selection): New.
13223 * select-msw.c (Vhandle_alist): New list.
13224 * select-msw.c (mswindows_own_selection):
13226 * select-x.c (x_own_selection):
13227 * select-x.c (x_selection_exists_p):
13228 * select-x.c: Added some comments about maybe using new
13230 * select-x.c (x_own_selection):
13232 * specifier.c: Remove definition of Qappend (now in general.c)
13233 * specifier.c (syms_of_specifier): Remove Qappend.
13235 2000-07-12 Martin Buchholz <martin@xemacs.org>
13237 * config.h.in: Add socklen_t.
13239 * s/decosf4-0.h: No special compiler flags needed or desired.
13240 In particular, undefine _BSD for DEC OSF 4.0.
13242 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13244 * redisplay-msw.c (msprinter_frame_output_end): Added.
13245 (console_type_create_redisplay_mswindows): Referred the above.
13247 * frame.c (setup_frame_without_minibuffer): Do not create a
13248 default minibuffer frame on a printer device.
13250 * frame-msw.c (apply_dc_geometry): Added.
13251 (msprinter_start_page):
13252 (msprinter_init_frame_3):
13253 (msprinter_eject_page): Use it.
13255 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13256 and removed residual duplex and orientation properties.
13258 2000-07-11 Martin Buchholz <martin@xemacs.org>
13260 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13262 * unexalpha.c: Remove system prototypes from C sources!
13264 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13266 * eval.c: Remove references to M-x edit-options in DEFUNs for
13267 `defvar' and `defconst'.
13269 2000-07-09 Martin Buchholz <martin@xemacs.org>
13271 * config.h.in: Remove SMART_INCLUDE hackery.
13273 PostgreSQL hacking:
13274 * config.h.in: Don't use SMART_INCLUDE.
13276 * postgresql.h: Include libpq-fe.h here. Fix typo.
13277 * inline.c: Simply #include "postgresql.h"
13279 - Don't use SMART_INCLUDE
13280 - Use simply "const".
13281 - Use standard doc string conventions.
13282 - Use correct type for result of PQstatus.
13284 2000-07-09 Martin Buchholz <martin@xemacs.org>
13286 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13288 C++ compilation changes.
13289 * config.h.in (EXTERN_C): Define.
13290 * config.h.in (not): This is also a C++ keyword.
13291 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13292 * cm.c: Use EXTERN_C.
13293 * redisplay-tty.c: Use EXTERN_C.
13294 * sysdep.c: Use EXTERN_C. Remove Gould support.
13296 2000-07-09 Martin Buchholz <martin@xemacs.org>
13298 * general.c: Remove duplicate definition for Qfunction.
13300 2000-07-08 Ben Wing <ben@xemacs.org>
13302 * device-msw.c (msprinter_init_device):
13303 * device-msw.c (sync_printer_with_devmode):
13304 * device-msw.c (handle_devmode_changes):
13305 * device-msw.c (print_dialog_worker):
13306 * device-msw.c (Fmsprinter_apply_settings):
13307 * device-msw.c (hash_devmode):
13308 * device-msw.c (Fmsprinter_settings_despecialize):
13309 use Qmswindows_tstr, not Qctext.
13311 * vm-limit.c (check_memory_limits):
13312 avoid infinite loop printing warning messages.
13314 2000-07-05 Craig Lanning <lanning@scra.org>
13316 * Makefile.in.in: Add support for including the Windows resources
13317 when building with the cygwin and mingw targets.
13319 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13320 not set or not correct.
13321 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13322 (init_initial_directory): Don't try to use $PWD on the
13323 WIN32_NATIVE target.
13326 [[Add -mwindows to eliminate console window.]] not required --ben
13327 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13328 (MAIL_USE_POP): removed; now handled by configure.
13330 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13331 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13332 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13333 (MAIL_USE_POP): removed; now handled by configure.
13334 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13335 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13336 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13338 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13339 up from <winsock.h> via systime.h.
13340 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13341 (getpagesize): from Dan Holmsand, added.
13342 Added #endif which was left dangling by Ben's mega patch; added
13343 comment to help prevent this in the future.
13345 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13347 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13349 * console-msw.h (struct mswindows_device): Removed unnecessary
13350 cached device geometry values.
13351 Added update_tick and an accessor macro.
13352 (Lisp_Devmode): Added lrecord declaration.
13353 (struct msprinter_device): Contain devmode as a Lisp object.
13354 Added mswindows_get_selected_frame_hwnd();
13356 * console.h (struct console_methods): Indentation nitpicking.
13358 * device-msw.c (mswindows_init_device): Do not initialize geometry
13359 cache. Initialize update tick.
13360 (mswindows_device_system_metrics): Ask the device for its geometry.
13361 (global_free_2_maybe):
13362 (devmode_to_hglobal):
13363 (handle_printer_changes):
13364 (ensure_not_printing):
13365 (print_dialog_worker):
13366 (Fmsprinter_print_setup_dialog):
13367 (Fmsprinter_print_dialog):
13368 (plist_get_margin):
13369 (plist_set_margin):
13370 (Fmsprinter_page_setup_dialog): Added functions.
13371 (sync_printer_with_devmode):
13372 (handle_devmode_changes):
13373 (Fmsprinter_get_settings):
13374 (Fmsprinter_select_settings):
13375 (Fmsprinter_apply_settings):
13376 (allocate_devmode):
13377 (Fmsprinter_settings_copy):
13378 (Fmsprinter_settings_despecialize):
13380 (finalize_devmode):
13382 (hash_devmode): Added functions
13383 (syms_of_device_mswindows): Init devmode lrecord class.
13385 * device.h: Added an exfun for find-device.
13387 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13388 geometry; although, recreate the device compatible DC.
13390 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13391 (msprinter_init_frame_3):
13392 (msprinter_frame_property):
13393 (msprinter_internal_frame_property_p):
13394 (msprinter_frame_properties):
13395 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13396 print job properties (will move to device settings).
13398 * lisp.h: Added symbols.
13400 * general.c (syms_of_general): Declared them.
13402 * hash.c (string_hash): Added.
13404 * lrecord.h (lrecord_type): Added devmode lrecord type.
13406 2000-07-02 Mike Sperber <mike@xemacs.org>
13408 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13411 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13413 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13416 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13418 * data.c (Fstring_to_number): Don't recognize floating point if
13421 2000-06-22 Martin Buchholz <martin@xemacs.org>
13423 * glyphs-widget.c (tab_control_query_geometry):
13424 (widget_query_geometry):
13425 (button_query_geometry):
13426 * glyphs.c (text_query_geometry):
13427 Enforce type correctness.
13429 2000-06-18 Martin Buchholz <martin@xemacs.org>
13431 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13432 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13434 2000-06-17 Martin Buchholz <martin@xemacs.org>
13436 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13437 conflicts with gcc's fixincluded version of FOO.h.
13439 * glyphs.h (image_instance_geometry): Remove trailing `,'
13441 2000-06-08 Mike Alexander <mta@arbortext.com>
13443 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13444 (shove_thread): Don't write the same output twice
13445 (make_ntpipe_output_stream): Increase priority of shove thread
13446 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13448 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13451 2000-06-12 Ben Wing <ben@xemacs.org>
13453 * s\mingw32.h (sigset):
13454 * s\windowsnt.h (sigset):
13455 rename msw_ to mswindows_ for consistency with general convention.
13457 2000-06-12 Ben Wing <ben@xemacs.org>
13460 * console-msw.c (mswindows_get_console_hwnd):
13461 * console-msw.c (mswindows_ensure_console_allocated):
13462 * console-msw.c (mswindows_hide_console):
13463 * console-msw.c (mswindows_show_console):
13464 * console-msw.c (mswindows_ensure_console_buffered):
13465 * console-msw.c (mswindows_output_console_string):
13466 * console-msw.c (mswindows_windows9x_p):
13468 * device-msw.c (mswindows_get_workspace_coords):
13469 * device-msw.c (mswindows_device_system_metrics):
13470 * dialog-msw.c (mswindows_popup_dialog_box):
13471 * event-msw.c (mswindows_wnd_proc):
13472 * frame-msw.c (mswindows_size_frame_internal):
13473 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13474 * menubar-msw.c (displayable_menu_item):
13475 * menubar-msw.c (mswindows_char_is_accelerator):
13477 * nt.c (mswindows_sigset):
13478 * nt.c (mswindows_sigrelse):
13479 * nt.c (mswindows_sigpause):
13480 * nt.c (mswindows_raise):
13481 * nt.c (timer_proc):
13483 * ntproc.c (find_child_console):
13484 * ntproc.c (sys_kill):
13486 * print.c (std_handle_out_external):
13487 * process-nt.c (find_child_console):
13488 * process-nt.c (send_signal_the_95_way):
13489 * process-nt.c (ensure_console_window_exists):
13490 * process-nt.c (nt_create_process):
13492 rename msw_ to mswindows_ for consistency with general convention.
13496 include nt.h, not syswindows.h.
13498 * nt.c (mswindows_fstat):
13499 * nt.c (mswindows_stat):
13500 prefix mswindows_ instead of attempting to directly override the
13501 library functions. fix declarations.
13504 include syswindows.h. move some sysdep.h stuff here.
13507 include syswindows.h, not <windows.h>.
13515 * sysdep.c (sys_fstat):
13516 * sysdep.c (sys_stat):
13517 call mswindows versions when appropriate.
13520 move mswin decls to nt.h.
13523 add long comment describing appropriate use of the various windows
13526 2000-06-11 Ben Wing <ben@xemacs.org>
13528 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13530 2000-06-10 Ben Wing <ben@xemacs.org>
13532 * Makefile.in.in (release):
13533 Correction to make sure xemacs.exe always dumped when correct.
13537 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13539 * buffer.c (set_buffer_internal):
13540 [[[[2]]]]: Remove HAVE_FEP code.
13542 * buffer.c (init_initial_directory):
13546 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13550 * callproc.c (call_process_cleanup):
13551 * callproc.c (Fold_call_process_internal):
13552 * callproc.c (child_setup):
13553 * callproc.c (getenv_internal):
13554 * callproc.c (init_callproc):
13555 * callproc.c (vars_of_callproc):
13556 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13557 __CYGWIN32__ -> CYGWIN.
13558 DOS_NT -> WIN32_NATIVE.
13559 Remove MSDOS support/references, converting to WIN32_NATIVE
13561 __MINGW32__ -> MINGW.
13562 Fix windows.h includes.
13563 Remove bogus HAVE_NTGUI.
13569 mswindows_message_outputted added for use in allowing startup
13570 errors on the console to be seen.
13572 * console-msw.c (msw_ensure_console_allocated):
13573 * console-msw.c (msw_output_console_string):
13574 * console-msw.c (DHEADER):
13575 * console-msw.c (DOPAQUE_DATA):
13576 * console-msw.c (DEVENT):
13577 * console-msw.c (DCONS):
13578 * console-msw.c (DCONSCDR):
13579 * console-msw.c (DSTRING):
13580 * console-msw.c (DVECTOR):
13581 * console-msw.c (DSYMBOL):
13582 * console-msw.c (DSYMNAME):
13585 * console-stream.c (stream_init_console):
13586 Fix text/binary problems.
13589 * device-msw.c (mswindows_finish_init_device):
13590 * device-msw.c (mswindows_delete_device):
13593 * device.c (handle_asynch_device_change):
13597 * dgif_lib.c (DGifOpenFileName):
13598 * dgif_lib.c (DGifOpenFileHandle):
13599 * dgif_lib.c (DGifGetLine):
13600 * dgif_lib.c (DGifGetPixel):
13601 Added config.h/lisp.h, fix up includes.
13608 * dired.c (file_name_completion):
13609 * dired.c (Ffile_attributes):
13610 * dired.c (syms_of_dired):
13614 * dumper.c (pdump_file_unmap):
13615 * dumper.c (pdump_load):
13619 * editfns.c (Ftemp_directory):
13620 * editfns.c (user_login_name):
13621 * editfns.c (Fuser_real_login_name):
13622 * editfns.c (get_home_directory):
13625 * elhash.c (finish_marking_weak_hash_tables):
13626 [[[[5]]]]: Fix GCC warnings.
13629 * emacs.c (mswindows_handle_hardware_exceptions):
13630 * emacs.c (make_arg_list_1):
13631 * emacs.c (main_1):
13632 * emacs.c (Fkill_emacs):
13633 * emacs.c (Fdump_emacs):
13635 Fix problems with nested crashes, add long comment.
13637 * event-Xt.c (init_event_Xt_late):
13641 * event-msw.c (mswindows_dde_callback):
13642 * event-msw.c (mswindows_handle_sticky_modifiers):
13643 * event-msw.c (mswindows_wnd_proc):
13647 * events.c (character_to_event):
13651 * fileio.c (Ffile_name_directory):
13652 * fileio.c (Ffile_name_nondirectory):
13653 * fileio.c (directory_file_name):
13654 * fileio.c (Fexpand_file_name):
13655 * fileio.c (Fsubstitute_in_file_name):
13656 * fileio.c (Ffile_name_absolute_p):
13657 * fileio.c (check_executable):
13658 * fileio.c (Ffile_readable_p):
13659 * fileio.c (Ffile_accessible_directory_p):
13660 * fileio.c (Ffile_modes):
13661 * fileio.c (Funix_sync):
13662 * fileio.c (vars_of_fileio):
13665 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13667 Expand getdefdir defn.
13668 Fix bogus rename() comment.
13670 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13671 to use standard XEmacs include files, e.g. sysfile.h, rather
13672 than system-specific includes.
13678 * frame.c (vars_of_frame):
13682 * getloadavg.c (getloadavg):
13684 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13685 (We don't use it elsewhere in the code; just add a comment.)
13692 * glyphs-msw.c (mswindows_resource_instantiate):
13695 * glyphs-x.c (x_native_layout_instantiate):
13698 * gui-msw.c (Fmswindows_shell_execute):
13707 * lread.c (locate_file_in_directory_mapper):
13714 * mem-limits.h (get_lim_data):
13726 * nt.c (rva_to_section):
13727 * nt.c (mswindows_executable_type):
13729 Fix closedir() defn.
13732 [[[[8]]]]: *_OK defs moved to sysfile.h.
13741 * print.c (std_handle_out_external):
13745 * process-nt.c (nt_create_process):
13747 try to fix process quoting somewhat.
13749 * process-unix.c (unix_create_process):
13753 * process.c (vars_of_process):
13760 * realpath.c (xrealpath):
13763 * redisplay-tty.c (init_tty_for_redisplay):
13773 * sheap.c (more_static_core):
13774 * sheap.c (report_sheap_usage):
13778 * signal.c (alarm_signal):
13785 * strftime.c (zone_name):
13788 * symsinit.h (init_sunpro):
13792 commctrl.h not in Cygwin b20.1.
13795 * sysdep.c (endif):
13796 * sysdep.c (sys_subshell):
13797 * sysdep.c (init_baud_rate):
13798 * sysdep.c (emacs_get_tty):
13799 * sysdep.c (emacs_set_tty):
13800 * sysdep.c (tty_init_sys_modes_on_device):
13801 * sysdep.c (init_system_name):
13802 * sysdep.c (sys_open):
13803 * sysdep.c (interruptible_open):
13804 * sysdep.c (sys_fopen):
13805 * sysdep.c (sys_mkdir):
13806 * sysdep.c (sys_rename):
13807 * sysdep.c (get_process_times_1):
13814 * sysdir.h (DIRENTRY_NONEMPTY):
13817 * sysdll.c (dll_init):
13823 added text/binary defs.
13829 * sysproc.h (EDESTADDRREQ):
13830 * sysproc.h (poll_fds_for_input):
13847 Always define WIN32_LEAN_AND_MEAN.
13849 * unexcw.c (unexec):
13853 * unexec.c (copy_text_and_data):
13854 * unexec.c (adjust_lnnoptrs):
13858 * unexnt.c (_start):
13861 2000-06-07 Ben Wing <ben@xemacs.org>
13863 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13864 was used only as a model. We've long since extracted any useful
13865 logic or code out of this. (I just did an exhaustive search.)
13867 * s\msdos.h: Removed.
13869 * s\windows95.h: Removed.
13871 2000-06-10 Ben Wing <ben@xemacs.org>
13875 Don't use extern with fun defs.
13879 Remove nt\inc include.
13880 Remove getdisk, getdefdir. (The former is unused, the latter
13881 expanded in fileio.h.)
13884 * s\windowsnt.h (WIN32_NATIVE):
13885 * s\windowsnt.h (HAVE_STRCASECMP):
13887 Add long comment about preprocessor changes.
13888 Remove getdisk, getdefdir. (The former is unused, the latter
13889 expanded in fileio.h.)
13891 2000-06-10 Ben Wing <ben@xemacs.org>
13900 Remove bogus/unused NO_SOCK_SIGIO.
13902 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13904 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13907 2000-06-04 Mike Sperber <mike@xemacs.org>
13909 * casetab.c (set_case_table): For `set-standard-case-table',
13910 actually deposit the new case tables where the rest of XEmacs can
13913 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13915 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13917 2000-06-05 Ben Wing <ben@xemacs.org>
13919 * callproc.c (child_setup): Don't do close_load_descs() under
13920 MS Windows. Put in a comment explaining why.
13922 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13924 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13925 Toolkit shell" which breaks `kill-compilation' on Windows NT
13926 native, retaining STDERR handling improvements.
13928 2000-06-01 Andreas Jaeger <aj@suse.de>
13930 * s/s390.h: Support for S390, based on a patch by Martin
13931 Schwidefsky <schwidefsky@de.ibm.com>.
13933 2000-05-30 Andy Piper <andy@xemacs.org>
13935 * window.c (allocate_window):
13936 (make_dummy_parent):
13937 (Fset_window_configuration): use new hashtable type.
13939 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13940 (struct image_instantiator_methods):
13941 (struct Lisp_Image_Instance): make instance geometry signed.
13943 * glyphs.c (instantiate_image_instantiator):
13944 (image_instance_query_geometry):
13945 (image_instance_layout):
13946 (image_instance_layout):
13947 (query_string_geometry):
13948 (text_query_geometry):
13949 (image_instantiate):
13950 (image_instantiate):
13951 (cache_subwindow_instance_in_frame_maybe):
13952 (subwindow_query_geometry): make instance geometry signed.
13954 * glyphs-widget.c (widget_query_geometry):
13956 (button_query_geometry):
13957 (tree_view_query_geometry):
13958 (tab_control_query_geometry):
13959 (layout_query_geometry):
13961 (native_layout_layout): make instance geometry signed.
13963 2000-05-29 Olivier Galibert <galibert@pobox.com>
13965 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13968 * general.c (syms_of_general): Add Qfull_assoc symbol.
13970 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13972 (decode_weak_list_type): Decode full-assoc type.
13973 (encode_weak_list_type): Encode full-assoc type.
13974 (Fmake_weak_list): Update doc string.
13976 2000-05-30 Andy Piper <andy@xemacs.org>
13978 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13980 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13981 (decode_hash_table_weakness): ditto.
13982 (Fhash_table_weakness): ditto.
13983 (Fhash_table_type): ditto.
13984 (finish_marking_weak_hash_tables): ditto.
13985 (hash_table_weakness_validate): ditto.
13986 (syms_of_elhash): ditto.
13988 2000-05-28 Martin Buchholz <martin@xemacs.org>
13990 * XEmacs 21.2.34 is released.
13992 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13994 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13996 (updating_line_start_cache): Gone.
13997 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13998 generic code to force a minimum of 1 line laid out in the
14001 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
14003 * glyphs.c (instantiate_image_instantiator): Check for initialized
14004 height & width no longer special cases IMAGE_NOTHING.
14005 (nothing_instantiate): Set height and width of instance.
14007 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
14009 * unexelf.c (unexec): Search for ".data" section.
14010 Initialize new_data2_offset from old_data_index.
14011 Remove redundant check for ElfW.
14013 2000-05-23 Andy Piper <andy@xemacs.org>
14015 * glyphs.c (get_image_instantiator_governing_domain): allow more
14016 specific domains as the governing domain rather than expecting an
14017 exact match. This fixes problems with layouts.
14019 2000-05-22 Andy Piper <andy@xemacs.org>
14021 * redisplay-output.c (compare_runes): check for non-images
14023 * glyphs.c (set_glyph_dirty_p): ditto.
14024 (update_glyph_cachel_data): ditto.
14026 * glyphs-widget.c (layout_post_instantiate): ditto.
14027 (layout_post_instantiate): ditto.
14029 * event-msw.c (mswindows_wnd_proc): warning removal.
14031 2000-05-12 Craig Lanning <CraigL@DyCon.com>
14033 * s\mingw32.h: Added #undef for CLASH_DETECTION.
14035 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
14037 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
14039 * nt.c (rva_to_section): mingw32 needs rva_to_section.
14040 (mswindows_executable_type): mingw32 now has enough headers for
14043 2000-05-20 Andy Piper <andy@xemacs.org>
14045 * console-msw.c (mswindows_output_last_error): ; -> ,
14047 2000-05-12 Andy Piper <andy@xemacs.org>
14049 * console-msw.c (FROB): compare ints with ints.
14051 2000-05-11 Andy Piper <andy@xemacs.org>
14053 * glyphs-x.c (x_finalize_image_instance): make minimal build
14056 2000-05-20 Ben Wing <ben@xemacs.org>
14059 * event-Xt.c (vars_of_event_Xt):
14060 move modifier-keys-are-sticky to event-stream.c.
14063 * event-msw.c (mswindows_enqueue_mouse_button_event):
14064 * event-msw.c (key_needs_default_processing_p):
14065 * event-msw.c (XEMSW_LCONTROL):
14066 * event-msw.c (mswindows_handle_sticky_modifiers):
14067 * event-msw.c (FROB):
14068 * event-msw.c (clear_sticky_modifiers):
14069 * event-msw.c (output_modifier_keyboard_state):
14070 * event-msw.c (output_alt_keyboard_state):
14071 * event-msw.c (mswindows_wnd_proc):
14072 * event-msw.c (mswindows_modifier_state):
14073 * event-msw.c (emacs_mswindows_handle_magic_event):
14074 implement sticky modifiers.
14077 * event-stream.c (vars_of_event_stream):
14078 move modifier-keys-are-sticky here.
14081 add CHECK_FUNCTION.
14084 implement map-range-table.
14087 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
14089 * redisplay-tty.c (reset_tty_modes):
14090 (tty_redisplay_shutdown): Adjust argument type to
14091 tty_frame_output_end.
14093 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14095 * eval.c (Fbacktrace): Don't output a line with only right
14098 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
14100 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
14101 (Fpq_reset_poll): Ditto.
14103 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
14105 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
14107 2000-05-16 Ben Wing <ben@xemacs.org>
14110 * buffer.c (dfc_convert_to/from_internal_format):
14111 * buffer.c (reinit_vars_of_buffer):
14112 Fix conversion functions to allow reentrancy.
14115 * console-msw.c (mswindows_output_last_error):
14116 New fun, generally useful -- output a human-readable
14117 version of GetLastError() on the console.
14120 * console-msw.h (struct mswindows_frame):
14121 Changes for DeferWindowPos. Declare mswindows_output_last_error().
14123 * console-stream.c (stream_output_begin):
14124 * console-stream.c (stream_output_end):
14125 * console-stream.c (stream_output_vertical_divider):
14126 * console-stream.c (stream_clear_region):
14127 * console-stream.c (stream_flash):
14128 * console-stream.c (console_type_create_stream):
14129 Delete blank stream methods, not needed.
14131 * console.h (struct console_methods):
14132 Split begin/end methods into window and frame.
14135 * event-msw.c (mswindows_handle_paint):
14136 * event-msw.c (output_alt_keyboard_state):
14137 * event-msw.c (mswindows_wnd_proc):
14138 * event-msw.c (vars_of_event_mswindows):
14139 Comment about problems with ignored-expose.
14140 Define mswindows-debug-events; not really implemented.
14142 * frame-msw.c (mswindows_init_frame_1):
14146 * glyphs-msw.c (begin_defer_window_pos):
14147 * glyphs-msw.c (mswindows_unmap_subwindow):
14148 * glyphs-msw.c (mswindows_map_subwindow):
14149 * glyphs-msw.c (mswindows_resize_subwindow):
14150 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14152 * glyphs.c (make_image_instance_1):
14155 * gutter.c (Fredisplay_gutter_area):
14156 Use new begin/end methods.
14158 * lisp.h (Dynarr_new2):
14162 * redisplay-msw.c (mswindows_frame_output_begin):
14163 * redisplay-msw.c (mswindows_frame_output_end):
14164 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14165 New begin/end methods -- handle DeferWindowPos.
14167 * redisplay-output.c (redisplay_move_cursor):
14168 * redisplay-output.c (redraw_cursor_in_window):
14169 * redisplay-output.c (redisplay_update_line):
14170 * redisplay-output.c (redisplay_output_window):
14171 New begin/end methods.
14174 * redisplay-tty.c (tty_frame_output_begin):
14175 * redisplay-tty.c (tty_frame_output_end):
14176 * redisplay-tty.c (console_type_create_redisplay_tty):
14177 New begin/end methods.
14180 * redisplay-x.c (x_window_output_begin):
14181 * redisplay-x.c (x_window_output_end):
14182 * redisplay-x.c (console_type_create_redisplay_x):
14183 New begin/end methods.
14185 * redisplay.c (redisplay_frame):
14186 * redisplay.c (Fredisplay_echo_area):
14187 New begin/end methods.
14188 use MAYBE_DEVMETH for clear_frame; it may not exist.
14190 * window.h (WINDOW_XFRAME):
14191 WINDOW_XFOO macros -- get locale and decode struct pointer.
14194 2000-05-12 Ben Wing <ben@xemacs.org>
14197 * emacs.c (ensure_no_quitting_from_now_on):
14198 * emacs.c (fatal_error_signal):
14199 * emacs.c (mswindows_handle_hardware_exceptions):
14201 * emacs.c (Fkill_emacs):
14202 * emacs.c (shut_down_emacs):
14203 * emacs.c (assert_failed):
14204 various improvements in fatal error handling.
14207 move preparing_for_armageddon to emacs.c.
14210 declare fatal_error_in_progress.
14213 * print.c (std_handle_out_external):
14214 * print.c (std_handle_out_va):
14215 * print.c (stderr_out):
14216 * print.c (stdout_out):
14217 use console under mswin when no standard output.
14218 don't do code conversion during fatal error.
14220 * scrollbar.c (Fscrollbar_page_up):
14221 * scrollbar.c (Fscrollbar_page_down):
14222 fix missing else. reindent.
14224 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14228 * glyphs.h (GLYPH_CACHEL_DESCENT):
14229 (GLYPH_CACHEL_DESCENT):
14230 (GLYPH_CACHEL_DESCENT):
14231 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14232 used in case these are inline functions.
14233 Use more absurd values to error check.
14235 include window.h for error check functions.
14237 2000-05-11 Ben Wing <ben@xemacs.org>
14239 * cmdloop.c (Freally_early_error_handler):
14240 Display message box under windows; otherwise, message will disappear
14241 before it can be viewed.
14244 * console-msw.c (Fmswindows_message_box):
14245 * console-msw.c (FROB):
14246 * console-msw.c (syms_of_console_mswindows):
14247 Define new fun `mswindows-message-box'.
14248 #### I will merge this into `popup-dialog-box'; just give me
14252 * general.c (syms_of_general):
14253 Some new symbols used in `mswindows-message-box'.
14256 * glyphs.c (Fset_image_instance_property):
14257 put warning in this fun.
14260 * glyphs.h (GLYPH_CACHEL_WIDTH):
14261 * glyphs.h (GLYPH_CACHEL_ASCENT):
14262 * glyphs.h (GLYPH_CACHEL):
14263 * glyphs.h (GLYPH_CACHEL_GLYPH):
14264 define error-checking versions to try to catch a bug i've seen --
14265 redisplay gets in an infinite loop because the glyph width of the
14266 continuation glyph is 65535.
14269 Extern message-box stuff.
14271 * window.c (allocate_window):
14272 * window.c (make_dummy_parent):
14273 * window.c (Fset_window_configuration):
14274 Use EQUAL not EQ for subwindow caches to make them work a bit
14275 better. (Something is still very broken.)
14278 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14280 * glyphs.c (image_instantiate): Suppress gcc warnings.
14281 (Fmake_image_instance): Fix doc string.
14282 * specifier.c (Fmake_specifier): Ditto.
14284 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14286 * paths.h.in (PATH_LOCK): Removed.
14287 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14288 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14290 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14292 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14293 Document (featurep '(and xemacs 21.02)).
14295 2000-05-09 Ben Wing <ben@xemacs.org>
14297 * buffer.c (complex_vars_of_buffer):
14298 update modeline-format doc.
14301 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14304 timeline of all released versions of Emacs, for use in creating
14305 authorship comments and in synching up.
14307 * glyphs-widget.c (image_instantiator_buttons):
14308 * glyphs-widget.c (image_instantiator_edit_fields):
14309 * glyphs-widget.c (image_instantiator_combo_box):
14310 * glyphs-widget.c (image_instantiator_scrollbar):
14311 * glyphs-widget.c (image_instantiator_progress_guage):
14312 * glyphs-widget.c (image_instantiator_tree_view):
14313 * glyphs-widget.c (image_instantiator_tab_control):
14314 * glyphs-widget.c (image_instantiator_labels):
14315 * glyphs-widget.c (image_instantiator_layout):
14316 * glyphs-widget.c (image_instantiator_native_layout):
14317 rename decode_domain method to governing_domain.
14320 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14321 * glyphs.c (add_entry_to_device_ii_format_list):
14322 make sure we don't put an entry more than once into the list.
14323 * glyphs.c (check_instance_cache_mapper):
14324 *************************************************************
14325 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14327 *************************************************************
14328 * glyphs.c (get_image_instantiator_governing_domain):
14329 clean up, expand on new concept of governing domain.
14330 * glyphs.c (instantiate_image_instantiator):
14331 * glyphs.c (allocate_image_instance):
14332 use governing_domain instead of cache_domain in naming.
14333 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14334 * glyphs.c (make_image_instance_1):
14335 * glyphs.c (Fmake_image_instance):
14336 allow for any domain (not just device), and process the
14337 governing domain correctly. very big doc fix.
14338 * glyphs.c (Fimage_instance_domain):
14339 new primitive, to retrieve the governing domain of an image instance.
14340 * glyphs.c (image_instantiate):
14341 use new governing_domain stuff. this fixes a crash you could get
14342 by instantiating certain widget glyphs in frame locales. (should
14343 signal an error instead of crashing.)
14344 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14345 * glyphs.c (Fglyphp): clean up doc.
14346 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14347 * glyphs.c (syms_of_glyphs):
14348 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14349 * glyphs.c (image_instantiator_format_create): add some comments about
14351 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14352 for current-display-table. (Apparently Hrjove implemented in 1998 a
14353 design I wrote up in 1996, but didn't update the doc string.)
14355 * glyphs.h: clean up a doc string.
14356 * glyphs.h (governing_domain):
14357 * glyphs.h (struct image_instantiator_methods):
14358 changes for governing_domain stuff.
14361 * gutter.c (Fgutter_specifier_p):
14362 * gutter.c (Fgutter_size_specifier_p):
14363 * gutter.c (Fgutter_visible_specifier_p):
14365 * objects.c (Fcolor_specifier_p):
14366 * objects.c (Ffont_specifier_p):
14367 * objects.c (Fface_boolean_specifier_p):
14368 doc strings moved to make-*-specifier.
14370 * redisplay.c (add_disp_table_entry_runes_1):
14371 * redisplay.c (generate_fstring_runes):
14372 * redisplay.c (screen):
14373 add random comments and doc strings.
14376 * specifier.c (Fmake_specifier):
14377 major overhaul of this doc string.
14379 * specifier.c (Fvalid_specifier_domain_p):
14380 comment about the bogosity of image instances being domains.
14381 * specifier.c (decode_domain):
14382 now non-static, used in glyphs.c.
14383 * specifier.c (specifier_instance):
14384 comment about the bogosity of image instances being domains.
14385 * specifier.c (Fgeneric_specifier_p):
14386 move doc string to make-generic-specifier.
14387 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14391 * specifier.h (DOMAIN_FRAME):
14392 * specifier.h (DOMAIN_LIVE_P):
14393 * specifier.h (DOMAIN_XDEVICE):
14395 add comments about problems with these macros.
14396 prototype for decode_domain.
14399 * toolbar.c (Ftoolbar_specifier_p):
14400 move doc string to `make-toolbar-specifier'.
14402 * window.c (window_unmap_subwindows_cache_mapper):
14403 *************************************************************
14404 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14406 *************************************************************
14408 2000-05-09 Andy Piper <andy@xemacs.org>
14410 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14412 * window.c (Fset_window_configuration): reset the frame subwindow
14413 cache and re-initialize the window subwindow caches.
14415 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14417 2000-05-09 Ben Wing <ben@xemacs.org>
14419 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14422 2000-04-26 Mike Woolley <mike@bulsara.com>
14424 * ntheap.c: Changed recreate_heap to limit the amount reserved
14425 for the heap to that which is actually available. Also now
14426 displays a message box (with some dignostics) in the event that
14427 it still can't start.
14429 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14431 * callproc.c (Fold_call_process_internal): GCPRO path
14433 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14435 Patch by Bill Perry.
14437 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14438 back data instead of #ifdef.
14439 (Fscrollbar_page_down): ditto.
14441 2000-05-07 Ben Wing <ben@xemacs.org>
14444 Kludge for defining Qmswindows_tstr.
14447 * nt.c (open_input_file):
14448 * nt.c (open_output_file):
14449 * nt.c (rva_to_section):
14450 * nt.c (mswindows_executable_type):
14451 Move all memory-mapped-file routines here (some were in unexnt.c,
14452 which is bad because they are used by process-nt.c, and unexnt
14453 won't be around when portable dumping). Synched the above routines
14457 Removed ifdef'd out bogus code.
14458 Fixed some prototypes.
14460 * nt.h (file_data):
14461 * nt.h (OFFSET_TO_RVA):
14462 * nt.h (RVA_TO_OFFSET):
14463 * nt.h (RVA_TO_PTR):
14464 Moved the memory-mapped-file structures, macros and prototypes
14465 here, to parallel nt.c. ntheap.h should really be removed
14466 entirely, and it's a non-portable-dumper specific file.
14468 * ntheap.h (round_to_next):
14469 Moved the memory-mapped-file structures, macros and prototypes
14472 * ntproc.c (compare_env):
14473 Moved rva_to_section and mswindows_executable_type to nt.c.
14474 Moved compare_env to process-nt.c.
14475 ntproc.c will die, one day.
14477 * ntproc.c (sys_spawnve):
14478 Account for win32_ -> mswindows_.
14481 * process-nt.c (struct nt_process_data):
14482 * process-nt.c (ensure_console_window_exists):
14483 * process-nt.c (compare_env):
14484 * process-nt.c (nt_create_process):
14485 * process-nt.c (nt_kill_process_by_pid):
14486 * process-nt.c (syms_of_process_nt):
14487 * process-nt.c (vars_of_process_nt):
14488 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14489 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14490 changes). Eliminate our old `nt-quote-process-args' mechanism.
14491 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14492 Move compare_env here from ntproc.c.
14494 * process.c (Fprocess_send_region):
14495 Takes an optional fourth argument, BUFFER, which should fix some
14496 problems with call-process.
14499 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14502 Move ICC_BAR_CLASSES to syscommctrl.h.
14503 Add preliminary macros for MSWindows/Mule. More to come.
14506 * unexnt.c (unexec):
14507 open_output_file moved to nt.c.
14510 2000-05-05 Andy Piper <andy@xemacs.org>
14512 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14513 instance from the frame cache also since GC may catch up too late
14514 to make frame deletion sane.
14516 2000-05-04 Andy Piper <andy@xemacs.org>
14518 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14519 (x_finalize_image_instance): ungcpro on deletion.
14521 * glyphs.c (image_instantiator_format_create): give pointers a
14522 query geometry method so that the geometry is at least set.
14524 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14525 initialize layouts if using widgets.
14527 2000-05-03 Andy Piper <andy@xemacs.org>
14529 * nt.c: remove bogus reference to sysmmsystem.h
14531 * gui-x.c (popup_selection_callback): fix no selection abort.
14533 2000-05-02 Andy Piper <andy@xemacs.org>
14535 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14536 (mswindows_widget_instantiate): ditto.
14538 * glyphs-widget.c (initialize_widget_image_instance): initialize
14539 children correctly.
14540 (widget_instantiate): cope with children and items in the same
14543 * glyphs.c (mark_image_instance): cope with children as a first
14545 (image_instance_equal): ditto.
14546 (image_instance_hash): ditto.
14547 (image_instance_changed): ditto.
14549 2000-04-30 Andy Piper <andy@xemacs.org>
14551 * glyphs.c (subwindow_query_geometry): new function. Return some
14553 (subwindow_instantiate): don't assign dimensions if none have been
14555 (image_instantiator_format_create): add subwindow_query_geometry.
14556 (print_image_instance): cope with layouts as widgets.
14558 2000-04-29 Andy Piper <andy@xemacs.org>
14560 * frame.c (delete_frame_internal): call
14561 free_frame_subwindow_instance_cache so that all subwindows are
14562 finalized before their parent.
14563 (mark_frame): remove subwindow_cachels.
14564 (Fmake_frame): remove subwindow_cachel manipulation.
14565 (allocate_frame_core): subwindow_instance_cache is a weak list.
14566 (delete_frame_internal): set subwindow_instance_cache to nil.
14568 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14570 (mswindows_finalize_image_instance): use the device
14571 not the domain as the domain may have died already.
14573 * glyphs-x.c (x_finalize_image_instance): ditto.
14574 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14577 * redisplay-output.c (redisplay_unmap_subwindows): update for
14578 subwindow instance cache as a weak list.
14579 (redisplay_unmap_subwindows_maybe): ditto.
14580 (redisplay_unmap_subwindows_except_us): ditto.
14582 * glyphs.c (unmap_subwindow): error checking will check the domain
14583 so don't deal with it here. Don't use cachels anymore.
14584 (map_subwindow): ditto.
14585 (update_subwindow_cachel_data): remove old accessor names.
14586 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14587 (Fresize_subwindow): don't update cachel.
14588 (mark_subwindow_cachels):
14589 (update_subwindow_cachel_data):
14590 (add_subwindow_cachel):
14591 (get_subwindow_cachel_index):
14592 (update_subwindow_cachel):
14593 (reset_subwindow_cachels):
14594 (mark_subwindow_cachels_as_not_updated): deleted.
14595 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14596 subwindow instance to the frame cache.
14597 (find_matching_subwindow): update for subwindow instance cache as
14599 (update_widget_instances): ditto.
14600 (image_instance_type_to_mask):inlined.
14601 (free_frame_subwindow_instance_cache): new function. finalize all
14602 subwindows that are instantiated.
14604 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14605 of cachel information.
14606 (IMAGE_INSTANCE_DISPLAY_X):
14607 (IMAGE_INSTANCE_DISPLAY_Y):
14608 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14609 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14610 (XIMAGE_INSTANCE_DISPLAY_X):
14611 (XIMAGE_INSTANCE_DISPLAY_Y):
14612 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14613 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14614 remove subwindow_cachel structure and function references.
14615 (image_instance_type_to_mask): inline from glyphs.c
14617 * redisplay.c (redisplay_frame): remove subwindow_cachel
14620 * frame.h (struct frame): remove subwindow_cachels.
14621 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14623 * frameslots.h: add subwindow_instance_cache.
14625 * window.c (replace_window): check subwindow cache of replacement.
14626 (window_unmap_subwindows_cache_mapper):
14627 (window_unmap_subwindows): new functions. Unmap all subwindows
14628 cached on this window.
14629 (mark_window_as_deleted): unmap all subwindows.
14631 2000-04-27 Andy Piper <andy@xemacs.org>
14633 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14635 * glyphs-widget.c (widget_layout): return something.
14636 (layout_layout): return something. Fail if not initialized.
14637 (layout_query_geometry): ditto.
14638 (image_instantiator_native_layout): new function. Initialized the
14639 native layout type.
14640 (widget_instantiate): don't do layout stuff here.
14642 * glyphs.c (instantiate_image_instantiator): reorded calling or
14643 instantiate and post_instantiate with layout in between.
14644 (image_instance_layout): be more selective about deciding whether
14645 the layout has been done or not.
14647 * glyphs.h (struct image_instantiator_methods): return a value
14648 from layout_method.
14650 2000-04-26 Andy Piper <andy@xemacs.org>
14652 * glyphs.c (allocate_image_instance): make initial width and
14653 height unspecified. Set initialized to 0.
14655 * syscommctrl.h new file. Encapsulates commctrl.h.
14657 * syswindows.h new file. Encapsulates windows.h.
14659 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14661 * console-msw.h: ditto.
14663 * redisplay-tty.c (tty_output_display_block): remove layout references.
14665 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14666 window handle rather than just the frame.
14668 * glyphs.c (mark_image_instance): remove layout references.
14669 (print_image_instance): ditto.
14670 (image_instance_equal): ditto.
14671 (image_instance_hash): ditto.
14672 (decode_image_instance_type): ditto.
14673 (encode_image_instance_type): ditto.
14674 (image_instantiate): ditto.
14675 (allocate_glyph): ditto.
14676 (Fimage_instance_height): ditto.
14677 (Fimage_instance_width): ditto.
14678 (update_subwindow): ditto.
14680 * redisplay-x.c (x_output_display_block): recode for layouts as
14683 * redisplay-output.c (redisplay_output_layout): recode for layouts
14685 (compare_runes): remove layout references.
14687 * redisplay-msw.c (mswindows_output_display_block): recode for
14688 layouts as widgets.
14690 * glyphs-widget.c (image_instantiator_layout): remove
14691 layout_possible_dest_types.
14692 (layout_possible_dest_types): deleted.
14694 * glyphs.h (image_instance_type): remove layout references.
14695 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14696 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14697 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14699 2000-04-25 Andy Piper <andy@xemacs.org>
14701 * glyphs-widget.c (image_instantiator_buttons):
14702 (image_instantiator_edit_fields):
14703 (image_instantiator_combo_box):
14704 (image_instantiator_scrollbar):
14705 (image_instantiator_progress_guage):
14706 (image_instantiator_tree_view):
14707 (image_instantiator_tab_control):
14708 (image_instantiator_labels):
14709 (image_instantiator_layout): call default post_instantiate method.
14710 (widget_post_instantiate): new function. Simply lays out the
14713 * glyphs.h (struct image_instantiator_methods): add
14714 post_instantiate method.
14716 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14719 2000-04-23 Andy Piper <andy@xemacs.org>
14721 * glyphs.h (struct image_instantiator_methods): add
14722 decode_domain_method.
14723 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14724 derived from the domain.
14725 (IMAGE_INSTANCE_FRAME): new accessor.
14726 (XIMAGE_INSTANCE_FRAME): ditto.
14728 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14729 instead of _SUBWINDOW_FRAME.
14730 (finalize_image_instance): ditto.
14731 (Fimage_instance_foreground): ditto.
14732 (Fimage_instance_background): ditto.
14733 (image_instantiate): ditto.
14734 (update_subwindow_cachel): ditto.
14735 (update_subwindow): ditto.
14736 (unmap_subwindow): ditto.
14737 (map_subwindow): ditto
14738 (subwindow_instantiate): ditto.
14739 * glyphs-msw.c (mswindows_update_widget): ditto.
14740 (mswindows_progress_gauge_instantiate): ditto.
14741 (mswindows_tab_control_update): ditto.
14742 * glyphs-x.c (x_update_widget): ditto.
14743 (x_widget_instantiate): ditto.
14744 (x_tab_control_instantiate): ditto.
14745 (x_tab_control_update): ditto.
14746 * event-msw.c (mswindows_wnd_proc): ditto
14748 * glyphs-widget.c (image_instantiator_layout): use
14749 subwindow_decode_domain.
14750 (image_instantiator_buttons): ditto.
14751 (image_instantiator_edit_fields): ditto.
14752 (image_instantiator_combo_box): ditto.
14753 (image_instantiator_scrollbar): ditto.
14754 (image_instantiator_progress_guage): ditto.
14755 (image_instantiator_tree_view): ditto.
14756 (image_instantiator_tab_control): ditto.
14757 (image_instantiator_labels): ditto.
14758 (image_instantiator_layout): ditto.
14760 * glyphs.c: add instance error checking to many functions.
14761 (instantiate_image_instantiator): decode device from cache_domain.
14762 (image_instantiate): partially rewrite by using
14763 decode_image_instantiator_domain to determine what domain the
14764 instance needs to be cached in.
14765 (decode_image_instantiator_domain): new function. Determine what
14766 domain the image needs to be cached in.
14767 (check_window_subwindow_cache): new error checking function.
14768 (check_instance_cache_mapper): ditto.
14769 (check_image_instance_structure): ditto.
14770 (subwindow_decode_domain): new function. Encodes a window as a
14771 subwindow's cache domain.
14772 (image_instantiator_format_create): use it for text and
14775 2000-04-21 Andy Piper <andy@xemacs.org>
14777 * glyphs.c (image_instance_device): new function.
14778 (image_instance_frame): new function.
14779 (image_instance_window): new function.
14780 (image_instance_live_p): new function.
14782 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14785 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14786 (IMAGE_INSTANCE_DOMAIN): new accessor.
14787 (XIMAGE_INSTANCE_DOMAIN): ditto.
14789 * glyphs-x.c (x_finalize_image_instance): device->domain.
14791 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14792 (mswindows_finalize_image_instance): ditto.
14794 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14795 (gif_instantiate): ditto.
14796 (png_instantiate): ditto.
14797 (tiff_instantiate): ditto.
14799 * glyphs.c (instantiate_image_instantiator): use domain rather
14801 (mark_image_instance): device -> domain.
14802 (print_image_instance): ditto.
14803 (finalize_image_instance): ditto.
14804 (image_instance_equal): ditto.
14805 (allocate_image_instance): ditto.
14806 (Fcolorize_image_instance): ditto.
14807 (query_string_geometry): ditto.
14808 (image_instantiate): ditto
14809 (query_string_font): ditto.
14810 (image_instantiate): ditto.
14811 (update_subwindow): ditto.
14812 (unmap_subwindow): ditto.
14813 (map_subwindow): ditto.
14814 (subwindow_instantiate): ditto.
14816 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14817 (DOMAIN_FRAME): ditto.
14818 (DOMAIN_WINDOW): ditto.
14819 (DOMAIN_LIVE_P): ditto.
14820 (XDOMAIN_DEVICE): ditto.
14821 (XDOMAIN_FRAME): ditto.
14822 (XDOMAIN_WINDOW): ditto.
14824 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14825 a valid specifier domain.
14827 2000-04-19 Andy Piper <andy@xemacs.org>
14829 * glyphs-widget.c (syms_of_glyphs_widget): remove
14830 widget-callback-current-channel.
14831 (vars_of_glyphs_widget): ditto.
14834 * gui.c (get_gui_callback): revert to previous behaviour.
14836 2000-04-18 Andy Piper <andy@xemacs.org>
14838 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14839 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14840 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14842 * glyphs.c (image_instance_equal): add margin_width.
14843 (image_instance_hash): ditto.
14845 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14846 (layout_query_geometry): ditto.
14847 (layout_layout): ditto.
14848 (syms_of_glyphs_widget): add margin-width.
14849 (image_instantiator_layout): allow margin-width.
14851 * glyphs.c (update_widget_instances): make a normal function.
14852 (syms_of_glyphs): remove Qupdate_widget_instances.
14855 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14856 so that we don't corrupt ideas about the last event or
14857 command. Remove widget-callback-current-channel fiddling.
14858 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14860 2000-05-01 Martin Buchholz <martin@xemacs.org>
14862 * XEmacs 21.2.33 is released.
14864 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14866 * make-src-depend: Allow dots in header file name.
14868 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14870 * mule-charset.h (struct charset_lookup): Add
14871 next_allocated_1_byte_leading_byte and
14872 next_allocated_2_byte_leading_byte.
14873 * mule-charset.c: Move above two variables so that those values
14876 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14878 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14879 when string length is zero.
14880 (find_charsets_in_emchar_string): Ditto.
14882 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14884 * lisp.h: extern Qdialog and Qmenubar.
14886 * gui-x.c: added events.h.
14887 also fixed typo which made the file uncompilable.
14889 * general.c: Added Qmenubar and Qdialog
14891 2000-04-28 Ben Wing <ben@xemacs.org>
14893 * frame-msw.c (mswindows_init_frame_1):
14894 * frame-msw.c (mswindows_mark_frame):
14895 * event-msw.c (mswindows_enqueue_dispatch_event):
14897 * console-msw.h (struct mswindows_frame):
14898 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14899 there are now three hash tables for callbacks.
14900 mswindows_enqueue_dispatch_event is no longer static.
14902 * dialog-x.c (maybe_run_dbox_text_callback):
14903 * dialog-x.c (dbox_descriptor_to_widget_value):
14904 switch to new cons3 form for callbacks.
14906 * glyphs-msw.c (mswindows_register_gui_item):
14907 * glyphs-msw.c (mswindows_widget_instantiate):
14908 * glyphs-msw.c (add_tree_item):
14909 * glyphs-msw.c (add_tab_item):
14910 new image instance parameter, so it can be passed to callback-ex.
14911 respect :callback-ex as well as :callback.
14913 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14916 * glyphs.c (print_image_instance):
14917 prettify, e.g. now prints widget type.
14920 certain funs have new image instance parameter.
14923 * gui.c (get_gui_callback):
14924 * gui.c (gui_item_add_keyval_pair):
14925 * gui.c (gui_item_init):
14926 * gui.c (gui_add_item_keywords_to_plist):
14927 * gui.c (mark_gui_item):
14928 * gui.c (gui_item_hash):
14929 * gui.c (gui_item_equal):
14930 * gui.c (copy_gui_item):
14931 * gui.c (syms_of_gui):
14932 recognize callback-ex in a number of places.
14933 also, fix the annoying "can't get out of yes-no dialog" bug.
14936 * gui.h (struct Lisp_Gui_Item):
14937 recognize callback-ex in a number of places.
14939 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14940 new parameter in button_item_to_widget_value.
14942 * glyphs-x.c (x_update_widget):
14943 * glyphs-x.c (x_button_instantiate):
14944 * glyphs-x.c (x_button_update):
14945 * glyphs-x.c (x_progress_gauge_instantiate):
14946 * glyphs-x.c (x_edit_field_instantiate):
14947 * glyphs-x.c (x_combo_box_instantiate):
14948 * glyphs-x.c (x_tab_control_instantiate):
14949 * glyphs-x.c (x_label_instantiate):
14950 new image instance parameter in various places.
14953 * event-Xt.c (enqueue_Xt_dispatch_event):
14954 this fun gets exported.
14957 * gui-msw.c (mswindows_handle_gui_wm_command):
14958 handle both :callback and :callback-ex, and generate our own
14959 event because it's one of the callback-ex arguments.
14962 * gui-x.c (popup_selection_callback):
14963 handle both :callback and :callback-ex, and generate our own
14964 event because it's one of the callback-ex arguments.
14965 * gui-x.c (button_item_to_widget_value):
14966 * gui-x.c (gui_items_to_widget_values_1):
14967 * gui-x.c (gui_item_children_to_widget_values):
14968 * gui-x.c (gui_items_to_widget_values):
14969 new image instance parameter in various places.
14971 * fns.c (Freplace_list):
14972 fix small typo in doc string.
14975 declare enqueue_Xt_dispatch_event.
14977 2000-04-28 Ben Wing <ben@xemacs.org>
14980 * buffer.c (Frecord_buffer):
14981 * buffer.c (syms_of_buffer):
14982 delete record-buffer-hook.
14985 * fns.c (Freplace_list):
14986 * fns.c (syms_of_fns):
14987 new primitive replace-list.
14990 slot for old buffer-alist.
14993 exfun replace-list.
14996 * redisplay.c (redisplay_frame):
14997 * redisplay.c (syms_of_redisplay):
14998 * redisplay.c (vars_of_redisplay):
14999 new hook buffer-list-changed-hook.
15002 2000-04-27 Ben Wing <ben@xemacs.org>
15004 * extents.h: extern in_modeline_generation.
15006 * redisplay.c (generate_formatted_string_db): set
15007 in_modeline_generation.
15009 * extents.c (extent_changed_for_redisplay): don't mark redisplay
15010 flags if in modeline generation. otherwise frame-modified-tick
15011 is ticked far too often.
15012 Declare in_modeline_generation.
15014 2000-04-26 Ben Wing <ben@xemacs.org>
15016 * emacs.c (vars_of_emacs): document quick-build "error-checking"
15018 (vars_of_emacs): add quick-build as an error-checking option.
15019 A bit kludgy, but there doesn't seem much point in creating
15020 a real var for this.
15022 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
15024 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
15026 * redisplay.h (struct display_line): Add a new variable,
15029 * redisplay.c (create_text_block): Set dl->line_continuation if
15030 the line continues.
15031 (create_string_text_block): Ditto.
15032 (regenerate_window_incrementally): Use line_continuation instead
15033 of searching continuation glyph.
15034 (add_margin_runes): Call add_glyph_rune.
15035 (add_glyph_rune): Handle margin glyph.
15037 2000-04-20 Martin Buchholz <martin@xemacs.org>
15039 * filelock.c (fill_in_lock_file_name):
15041 Check for IS_ANY_SEP instead of '/'.
15043 Avoid generating gratuitous garbage. Call user_login_name() directly.
15044 Never check errno without first seeing that system call failed.
15045 (unlock_file): Add GCPRO.
15046 (Flock_buffer): Fix docstring.
15047 (Ffile_locked_p): Fix docstring. Add GCPRO.
15049 2000-04-19 Martin Buchholz <martin@xemacs.org>
15051 * sysdep.c (get_pty_max_bytes):
15052 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
15053 strings longer than 252 bytes.
15055 * md5.c: Unconditionally include ANSI header <limits.h>
15057 * glyphs-x.c (convert_EImage_to_XImage):
15058 * lisp-union.h (union Lisp_Object):
15059 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
15061 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
15063 * filelock.c (current_lock_owner): Remove unused variable o, p.
15065 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
15067 * callint.c: Remove multiply defined symbol Qlet
15068 (syms_of_callint): ditto.
15070 2000-04-14 Andy Piper <andy@xemacs.org>
15072 * general.c (syms_of_general): add last-command, this-command, let
15075 * lisp.h: declare various symbols.
15077 * glyphs.h: declare Qwidget_callback_current_channel;
15079 * glyphs-widget.c (syms_of_glyphs_widget): add
15080 Qgui_callback_current_channel.
15081 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
15083 * gui-msw.c (mswindows_handle_gui_wm_command): bind
15084 widget-callback-current-channel when invoking the interactive
15085 arg. Also bind last-command and next-command when invoking the
15087 * gui-x.c (popup_selection_callback): ditto.
15089 * gui.c (get_gui_callback): massage args so that we are always
15090 calling eval. This allows us to add our own variable bindings
15093 * glyphs-x.c (x_button_instantiate): use
15094 gui_items_to_widget_values since this is GC safe.
15095 (x_progress_gauge_instantiate): ditto.
15096 (x_edit_field_instantiate): ditto.
15097 (x_label_instantiate): ditto.
15099 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
15100 (emacs_Xt_event_widget_focus_out): new function
15101 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
15103 (emacs_Xt_event_add_widget_actions): new function. add focus
15104 functions as actions.
15105 (init_event_Xt_late): use it.
15107 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
15109 * event-stream.c (Fdispatch_event): Doc fix.
15111 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
15113 * postgresql.c: Remove all references to PQsetenv*.
15115 * postgresql.h: Remove references to PGsetenvHandler object.
15116 * lrecord.h (lrecord_type): Ditto.
15118 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15120 * glyphs-msw.h (struct mswindows_image_instance_data): Added
15121 real_heigh and real_width members, and accessor macros for these.
15123 * glyphs-msw.c (init_image_instance_geometry): New function.
15124 (init_image_instance_from_dibitmap): Use it.
15125 (mswindows_resource_instantiate): Use it.
15126 (init_image_instance_from_xbm_inline): Use it.
15127 (mswindows_initialize_image_instance_mask): Use real bitmap
15129 (mswindows_create_resized_bitmap): Ditto.
15130 (mswindows_create_resized_mask): Ditto.
15132 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15133 and bitmap to their surface size.
15135 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15137 * process-unix.c (unix_send_process): Guard against process MIA
15138 after Faccept_process_output.
15140 2000-04-11 Ben Wing <ben@xemacs.org>
15142 * eval.c (unbind_to_hairy): fix brokenness introduced by
15143 nanosecond speed improvements.
15145 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15147 * sunplay.c (init_device): To play sounds correctly, the device
15148 apparently needs to be initialized at least once by XEmacs. Make
15151 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15153 * redisplay.c (add_margin_runes): Add text image glyph
15156 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15158 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15159 gcc is newer than 2.5.
15161 2000-04-06 Colin Rafferty <colin@xemacs.org>
15163 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15165 * fns.c (size_bit_vector):
15166 * alloc.c (size_vector):
15167 (make_vector_internal):
15168 (make_bit_vector_internal):
15169 (sweep_bit_vectors_1):
15170 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15172 2000-04-06 Andy Piper <andy@xemacs.org>
15174 * gmalloc.c (malloc): undo previous change.
15179 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15181 * line-number.c (buffer_line_number): Revert to former version.
15183 2000-04-06 Andy Piper <andy@xemacs.org>
15185 * gmalloc.c (malloc): add error checking.
15190 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15191 button_item_to_widget_value arg.
15193 * glyphs-x.c (x_button_instantiate): add extra
15194 button_item_to_widget_value arg.
15195 (x_progress_gauge_instantiate): ditto.
15196 (x_edit_field_instantiate): ditto.
15197 (x_label_instantiate): ditto.
15199 * gui-x.c (gui_items_to_widget_values_1): add extra
15200 button_item_to_widget_value arg.
15201 (button_item_to_widget_value): add extra menu_item_p arg.
15203 * gui-x.h: change signature of button_item_to_widget_value.
15205 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15206 button_item_to_widget_value arg.
15208 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15210 * buffer.h (struct buffer): auto_save_modified should be long.
15212 2000-04-05 Andy Piper <andy@xemacs.org>
15214 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15216 (button_query_geometry): give a little more room so that athena
15219 2000-04-05 Andy Piper <andy@xemacs.org>
15221 * faces.c (complex_vars_of_faces): The widget face should inherit
15222 the font of the gui-element face.
15224 2000-04-04 Andy Piper <andy@xemacs.org>
15226 * glyphs-x.c (x_button_update): new function. unconditionally
15227 update a button's state when the instance is dirty.
15228 (image_instantiator_format_create_glyphs_x): add x_button_update.
15229 (x_widget_instantiate): remove old resize cruft.
15231 2000-04-02 Andy Piper <andy@xemacs.org>
15233 * frame.c (change_frame_size_1): The introduction of gutters means
15234 that we need to allow 0 as a potential frame dimension.
15236 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15238 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15239 image glyph if allow_cursor.
15240 (add_hscroll_rune): Don't allow cursor to border glyph.
15241 (create_text_block): Ditto.
15243 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15244 text not in buffer.
15245 (redisplay_output_layout): Call ensure_face_cachel_complete for
15249 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15251 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15253 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15256 * redisplay-tty.c (tty_output_display_block): Delete the routine
15257 for text image glyph
15258 * redisplay-x.c (x_output_display_block): ditto
15259 * redisplay-msw.c (mswindows_output_display_block): ditto
15261 2000-02-02 Mike Alexander <mta@arbortext.com>
15263 Note: Some of these were committed by accident as part of other
15266 * regex.c (regex_compile): Avoid compiler warnings.
15268 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15270 * nt.h: Declare term_ntproc correctly.
15272 * nt.c: Remove incorrect declaration of get_home_directory which
15273 is declared correctly in lisp.h.
15275 * keymap.c (get_keyelt): Avoid compiler warnings.
15276 (raw_lookup_key_mapper): Avoid compiler warnings.
15278 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15280 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15282 * filemode.c (mode_string): Avoid compiler warnings.
15284 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15287 * events-mod.h: Undef some things that winuser.h defines differently.
15289 * data.c (Faset): Avoid compiler warnings.
15291 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15293 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15295 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15296 Fall through to simple beep on error.
15297 Replace "extern" by real header file.
15299 * linuxplay.c: Use nativesound.h
15300 (play_sound_data): Return error code. Be less verbose on error.
15302 * sunplay.c: Use nativesound.h
15303 (play_sound_data): Return error code. Be less verbose on error.
15305 * ntplay.c: Use nativesound.h
15306 (play_sound_data): Return fake error code
15308 * sgiplay.c: Use nativesound.h
15309 (play_sound_data): Return error code
15311 * hpplay.c: Use nativesound.h, partially implement
15312 new error code. Break compilation until finished.
15313 (play_sound_data): error code.
15315 * nativesound.h (play_sound_file):
15316 (play_sound_data): Prototype in new header.
15318 2000-03-31 Andy Piper <andy@xemacs.org>
15320 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15321 for toggle and radio buttons.
15322 (image_instantiator_buttons): use it.
15324 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15326 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15327 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15328 found. Scrollbar event probably belonged to some old config.
15330 2000-03-31 Andy Piper <andy@xemacs.org>
15332 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15334 (initialize_widget_image_instance): default layout to
15335 LAYOUT_HORIZONTAL rather than 0.
15336 (widget_instantiate): reverse the item list at the end rather than
15338 (layout_layout): re-code for the border text at the front of the
15339 item list rather than at the end.
15340 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15341 provided by the user.
15342 (widget_query_geometry): comment.
15344 2000-03-30 Andy Piper <andy@xemacs.org>
15346 * glyphs-widget.c (image_instantiator_layout): allow standard
15347 widget keywords in layouts.
15349 * gutter.c (output_gutter): cope with nil gutter contents.
15351 * frame.c (Fset_frame_properties): add gutter docs.
15353 2000-03-29 Andy Piper <andy@xemacs.org>
15355 * toolbar-msw.c (TBSTYLE_FLAT): add.
15356 (mswindows_output_toolbar): minor fiddling.
15358 2000-03-29 Andy Piper <andy@xemacs.org>
15360 * gutter.c (output_gutter): force gutter size recalculation if
15361 what we are trying to display won't fit.
15362 (update_gutter_geometry): new function. A per-gutter version of
15363 update_frame_gutter_geometry.
15364 (update_frame_gutter_geometry): use it.
15365 (redraw_exposed_gutter): add extra debugging output.
15367 2000-03-28 Mike Alexander <mta@arbortext.com>
15369 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15370 (pdump_file_unmap): Implement it on Windows
15371 (pdump_file_get): Save alocated handles for pdump_file_unmap
15373 2000-03-28 Andy Piper <andy@xemacs.org>
15375 * gui.c (get_gui_callback): treat Quit specially.
15377 2000-03-27 Andy Piper <andy@xemacs.org>
15379 * glyphs.c (image_instantiate): be careful to check in the same
15382 2000-03-27 Didier Verna <didier@xemacs.org>
15384 * config.h.in: define the proper SMART_INCLUDE macro.
15385 handle renaming of `foo_h_path' to `foo_h_file'.
15387 * database.c: ditto.
15391 * linuxplay.c: ditto.
15393 * terminfo.c: ditto.
15395 * tooltalk.h: ditto.
15397 2000-03-27 Andy Piper <andy@xemacs.org>
15399 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15400 gets updated whenever the face might have changed.
15402 2000-03-26 Mike Alexander <mta@arbortext.com>
15404 * dumper.c (pdump_resource_free): Fix the comment.
15406 2000-03-21 Olivier Galibert <galibert@pobox.com>
15408 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15410 2000-03-22 Mike Alexander <mta@arbortext.com>
15412 * dumper.c: Include Windows headers on Windows
15413 (pdump_resource_free): Add a body to the function
15414 (pdump_load): exe_name -> exe_path and add some comments.
15416 2000-03-25 Mike Alexander <mta@arbortext.com>
15418 * gui.c (copy_gui_item_tree): Return a value in all cases
15420 2000-03-21 Didier Verna <didier@xemacs.org>
15422 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15424 (SMART_INCLUDE): new macro.
15425 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15426 the proper location.
15428 * postgresql.c: use it.
15432 2000-03-24 Andy Piper <andy@xemacs.org>
15434 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15437 2000-03-24 Andy Piper <andy@xemacs.org>
15439 * redisplay-output.c (compare_runes): use image_instance_changed
15440 to detect changes. Do not depend on glyphs_changed, only depend on
15442 (redisplay_output_layout): add debug messages.
15443 (compare_runes): ditto.
15445 * glyphs.h: declare new functions.
15446 (struct Lisp_Image_Instance): remove percent and associated
15449 * gui.h: declare new copying functions.
15451 * gui.c (copy_gui_item_tree): new function.
15452 (copy_gui_item): new function.
15453 (gui_item_id_hash): revert to standard hash.
15454 (gui_item_hash): ditto.
15455 (gui_item_hash_internal): deleted.
15456 (mark_gui_item): mark value.
15457 (gui_item_add_keyval_pair): add value.
15458 (gui_item_init): ditto.
15459 (gui_add_item_keywords_to_plist): ditto.
15460 (gui_item_equal): ditto.
15461 (syms_of_gui): add Q_value.
15463 * glyphs-x.c (x_progress_gauge_update): use pending items and
15464 value for setting the state.
15465 (x_update_widget): don't set items from pending here.
15467 * glyphs-widget.c (update_widget): update items here.
15468 (progress_gauge_set_property): use items for storing value. Put
15469 new value in pending items.
15471 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15472 items for new value. Convert percent -> value.
15473 (mswindows_tab_control_update): don't update items here.
15475 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15476 (update_subwindow): ditto.
15477 (image_instance_changed): new function. Compare hash values and
15478 past and present widget items.
15479 (image_instantiate): We more careful about where we instantiate
15481 (image_instantiate): add error checking.
15483 * gutter.c (syms_of_gutter): use -hook.
15485 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15487 * console-tty.c (Fset_console_tty_input_coding_system): Use
15489 (Fset_console_tty_output_coding_system): Use Qterminal.
15490 (tty_init_console): Use Qkeyboard and Qterminal.
15492 2000-03-21 Ben Wing <ben@xemacs.org>
15494 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15495 From Mike Alexander <mta@arbortext.com>.
15497 2000-03-21 Ben Wing <ben@xemacs.org>
15499 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15500 process brokenness. Proper implementation to come.
15502 Rename call-process-internal to old-call-process-internal.
15503 New impl. in process.el.
15505 2000-03-21 Martin Buchholz <martin@xemacs.org>
15507 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15509 2000-03-20 Andy Piper <andy@xemacs.org>
15511 * glyphs.c (full_list_hash): make hashes of the same elements in
15512 different orders return different values.
15514 2000-03-20 Martin Buchholz <martin@xemacs.org>
15516 * XEmacs 21.2.32 is released.
15518 2000-03-20 Martin Buchholz <martin@xemacs.org>
15520 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15521 (DFC_MALLOC_USE_CONVERTED_DATA):
15522 Add aliasing-safe casts to allow use with char* or unsigned char*
15525 * eldap.c (Fldap_open):
15526 (Fldap_search_basic):
15529 Make C++-compilable.
15530 Make sure GCPRO'ed variables are initialized.
15531 Use temp variables to avoid repeated calls to Flength.
15533 2000-03-16 Martin Buchholz <martin@xemacs.org>
15536 Make sure PATH_MAX is always defined.
15537 Include limits.h for PATH_MAX.
15538 Deprecate use of MAXPATHLEN.
15540 2000-03-10 Martin Buchholz <martin@xemacs.org>
15542 * emacs.c: Add reinit_vars_of_fileio.
15543 * symsinit.h: Add reinit_vars_of_fileio.
15544 * fileio.c (reinit_vars_of_fileio): New.
15545 * fileio.c (Fmake_temp_name):
15546 Initialize temp_name random number from microseconds to make
15547 collisions even less likely. Initialize always at process startup
15548 time. (make-temp-name) used to return the same file name twice in
15550 Random stylistic fiddling.
15553 2000-03-20 Andy Piper <andy@xemacs.org>
15555 * glyphs.c (image_instantiate): allow text glyphs to be
15556 instantiated in the minibuffer window.
15558 2000-03-19 Andy Piper <andy@xemacs.org>
15560 * glyphs.c (image_instance_hash): be careful about which items we
15563 * glyphs-widget.c (tab_control_set_property): record into pending
15564 items rather than the actual items.
15566 * glyphs-x.c (x_update_widget): use pending items to update with.
15568 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15571 * glyphs.c (mark_image_instance): mark pending items.
15573 * window.c (Fset_window_configuration): record the buffer.
15574 (Fselect_window): totally revert previous change which breaks many
15577 2000-03-18 Andy Piper <andy@xemacs.org>
15579 * glyphs-msw.c (mswindows_tab_control_update): force selected
15582 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15583 window domain cache, otherwise we get inconsistencies at
15584 startup. There is something fishy at startup which can lead to the
15585 minibuffer being the selected window when the gutter content is
15588 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15590 (parse_gui_item_tree_children): ditto.
15591 (parse_gui_item_tree_item): ditto.
15593 * glyphs.c (Fupdate_widget_instances): return something.
15595 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15597 * window.c (Fselect_window): Undo 2000-03-17 change.
15599 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15601 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15602 against v7.0 libraries. Insta-coredump city until the postgres
15605 2000-03-17 Andy Piper <andy@xemacs.org>
15607 * faces.c (complex_vars_of_faces): don't give the widget face an
15608 inherited background pixmap.
15610 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15613 * event-stream.c (Fdispatch_non_command_events): return something.
15615 * gutter.c (output_gutter): use widget face.
15616 (clear_gutter): ditto.
15618 * NEWS: adjust again.
15620 * window.c (Fselect_window): make sure this runs to completion to
15621 avoid oddities with Fset_window_configuration.
15622 (Fcurrent_window_configuration): in general do not save the
15623 minibuffer as the selected window.
15625 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15627 2000-03-16 Olivier Galibert <galibert@pobox.com>
15629 * emacs.c (Frunning_temacs_p): Revert previous patch.
15630 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15632 2000-03-16 Andy Piper <andy@xemacs.org>
15634 * glyphs-x.c (x_tab_control_update): if no widget values then
15637 * NEWS: update for new features.
15639 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15640 synthetic event to the native system.
15641 (reinit_vars_of_event_Xt): set force_event_pending to
15642 emacs_Xt_force_event_pending.
15644 * events.h (struct event_stream): add force_event_pending.
15646 * specifier.c (recompute_one_cached_specifier_in_window): add
15649 * redisplay.c (redisplay_frame): don't call
15650 update_frame_subwindows. Reset subwindow cachels when
15651 subwindows_changed, removing this was an optimization too far.
15653 * redisplay-output.c (compare_runes): reorganize so that we catch
15654 glyph changes when we want them. Set optimize_output when this
15655 would help layouts.
15656 (redisplay_output_layout): remove frame_really_changed, use
15657 optimize_output instead.
15659 * redisplay-msw.c (mswindows_output_display_block): reset
15660 optimize_output after outputting a glyph.
15661 * redisplay-x.c (x_output_display_block): ditto.
15662 * redisplay-tty.c (tty_output_display_block): ditto.
15664 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15666 (gutter_specs_changed): do specific gutter positions.
15667 (top_gutter_specs_changed): new function. Only update the
15668 specified gutter specs.
15669 (bottom_gutter_specs_changed): ditto.
15670 (left_gutter_specs_changed): ditto.
15671 (right_gutter_specs_changed): ditto.
15673 * gui.c (gui_item_hash_internal): new function, does a real hash.
15674 (gui_item_id_hash): use it.
15675 (gui_item_hash): hash the eval'ed gui_item.
15677 * gui-x.c (popup_selection_callback): send an eval event to call
15678 Fupdate_widget_instances.
15680 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15681 to call Fupdate_widget_instances.
15683 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15684 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15686 * glyphs.c: (update_frame_subwindows): deleted.
15687 (Fupdate_widget_instances): new function for updating the dirty
15688 state of widgets that might have changed.
15689 (syms_of_glyphs): add Qupdate_widget_instances.
15690 (full_list_hash): hash a list completely.
15691 (image_instance_hash): use it for items and properties.
15693 * frame-msw.c (mswindows_size_frame_internal): remove unused
15696 * faces.h (struct face_cachel): fix comment.
15698 * event-stream.c (Fdispatch_non_command_events): new
15699 function. Process non-command events, forcing an event cycle
15701 (syms_of_event_stream): declare.
15702 (event_stream_force_event_pending): new function. Force an event
15703 on the native event queue so that an event cycle will occur next
15707 (struct ntpipe_shove_stream):
15708 (mswindows_enqueue_dispatch_event):
15709 (mswindows_dequeue_dispatch_event):
15710 (mswindows_cancel_dispatch_event):
15711 (mswindows_pump_outstanding_events):
15712 (mswindows_drain_windows_queue):
15713 (mswindows_handle_paint):
15714 (mswindows_wnd_proc):
15715 (mswindows_key_to_emacs_keysym):
15716 (get_process_input_waitable):
15717 (emacs_mswindows_delete_stream_pair): re-indent file.
15718 (mswindows_need_event): do not process further fds if the windows
15719 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15720 fixes the 100% cpu problem.
15721 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15723 2000-03-15 Olivier Galibert <galibert@pobox.com>
15729 * emacs.c: Moved dump file searching to dumper.c.
15730 (Frunning_temacs_p): Fixed.
15732 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15733 last_lrecord_type_index_assigned.
15735 2000-02-20 Olivier Galibert <galibert@pobox.com>
15737 * symsinit.h: Added reinit parameter to init_console_stream
15740 * lisp.h: Added file parameter to pdump_load declaration.
15742 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15743 support. Added dump file searching.
15745 * config.h.in: Added EMACS_PROGNAME.
15747 * console-stream.c (init_console_stream): Fix reinitialisation
15748 when running from temacs.
15750 * alloc.c (pdump): Add id support.
15751 (pdump_load): Add file parameter and signature/id support.
15753 * Makefile.in.in: Add full pdump support.
15755 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15757 * postgresql.c: Update documentation to reflect latest code
15759 (print_result): Show tuple counts in printed representation when
15761 (Fpq_put_nbytes): MULE-ize.
15762 (Fpq_get_line_async): Ditto.
15764 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15766 * postgresql.c (Fpq_lo_import): Fix return value.
15767 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15769 2000-03-13 Ben Wing <ben@xemacs.org>
15771 * alloc.c (pdump_load):
15772 Fix compile warning under mswin.
15774 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15776 * postgresql.c: Mule-ization, bug fixes.
15777 Use PG_CODING to encapsulate coding system name changes.
15778 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15779 (pg-coding-system): Create.
15781 (Fpq_conn_defaults): Mule-ize.
15782 (Fpq_connectdb): Mule-ize & bug fix.
15783 (Fpq_connect_start): Mule-ize.
15784 (Fpq_set_client_encoding): Mule-ize.
15785 (Fpq_finish): Document `DEAD' connection status.
15786 (Fpq_clear): Ditto.
15787 (Fpq_pgconn): Mule-ize.
15788 (Fpq_exec): Mule-ize & bug fix.
15789 (Fpq_send_query): Ditto.
15790 (Fpq_get_result): Ditto.
15791 (Fpq_res_status): Mule-ize.
15792 (Fpq_result_error_message): Mule-ize.
15793 (Fpq_ntuples): fix comments.
15794 (Fpq_fname): Mule-ize.
15795 (Fpq_fnumber): Mule-ize.
15796 (Fpq_ftype): fix comments.
15797 (Fpq_get_value): Mule-ize.
15798 (Fpq_cmd_status): Ditto.
15799 (Fpq_cmd_tuples): Ditto.
15800 (Fpq_oid_value): Ditto.
15801 (Fpq_notifies): Ditto.
15802 (Fpq_lo_import): Ditto.
15803 (Fpq_lo_export): Ditto.
15804 (Fpq_get_line): Ditto.
15805 (Fpq_put_line): Mule-ize and bug fix.
15806 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15808 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15810 * postgresql.c (vars_of_postgresql): Mule-ize.
15811 (Fpq_conn_defaults): Ditto.
15813 2000-03-12 Ben Wing <ben@xemacs.org>
15815 * alloc.c (Fmake_byte_code):
15816 * alloc.c (debug_string_purity_print):
15817 * alloc.c (pdump_backtrace):
15818 * alloc.c (pdump_get_indirect_count):
15819 * alloc.c (pdump_register_sub):
15820 * alloc.c (pdump_register_object):
15821 * alloc.c (pdump_register_struct):
15822 * alloc.c (pdump_dump_data):
15823 * alloc.c (pdump_reloc_one):
15827 * console-msw.c (GetConsoleHwnd):
15828 * console-msw.c (msw_hide_console):
15829 * console-msw.c (msw_show_console):
15830 * console-msw.c (msw_ensure_console_buffered):
15831 * console-msw.c (msw_output_console_string):
15832 * console-msw.c (console_type_create_mswindows):
15834 a) Added functions to manipulate the console window for use with
15837 b) Added support for writing text to the console, which is now
15838 used under Windows when xemacs is not being run non-interactively,
15839 to write text that would otherwise be destined for stdout because
15840 under these circumstances, text written to stdout tends to
15841 disappear and not be seen.
15845 * event-Xt.c (x_event_to_emacs_event):
15846 * event-Xt.c (describe_event_window):
15847 * events-mod.h (XEMACS_MOD_CONTROL):
15849 * events.c (Fmake_event):
15850 * events.c (character_to_event):
15851 * events.c (event_to_character):
15852 * events.c (format_event_object):
15853 * events.c (Fevent_modifiers):
15855 * events.h (struct key_data):
15856 * events.h (struct button_data):
15857 * events.h (struct misc_user_data):
15858 * frame-x.c (Fcde_start_drag_internal):
15859 * frame-x.c (Foffix_start_drag_internal):
15860 * gpmevent.c (Freceive_gpm_event):
15862 * keymap.c (bucky_sym_to_bucky_bit):
15863 * keymap.c (control_meta_superify):
15864 * keymap.c (make_key_description):
15865 * keymap.c (keymap_lookup_directly):
15866 * keymap.c (create_bucky_submap):
15867 * keymap.c (keymap_store):
15868 * keymap.c (define_key_check_and_coerce_keysym):
15869 * keymap.c (define_key_parser):
15870 * keymap.c (define_key_alternate_name):
15871 * keymap.c (Fdefine_key):
15872 * keymap.c (raw_lookup_key_mapper):
15873 * keymap.c (struct map_keymap_unsorted_closure):
15874 * keymap.c (map_keymap_unsorted_mapper):
15875 * keymap.c (map_keymap_sort_predicate):
15876 * keymap.c (map_keymap_sorted):
15877 * keymap.c (accessible_keymaps_mapper_1):
15878 * keymap.c (where_is_recursive_mapper):
15879 * keymap.c (describe_map_mapper):
15880 * keymap.c (describe_map_sort_predicate):
15881 * keymap.c (describe_map):
15882 * keymap.c (complex_vars_of_keymap):
15883 And a number of other files, the key modifier preprocessor
15884 constants that xemacs uses have names that conflict with constants
15885 defined under MS Windows for other purposes, so they were renamed
15886 to begin with the prefix XEMACS_. The variables that hold such
15887 modifiers were changed to consistently be of type int to fix
15888 various compile warnings.
15890 * console.c (complex_vars_of_console):
15893 * device-msw.c (mswindows_finish_init_device):
15894 * device-msw.c (msw_get_workspace_coords):
15895 * device-msw.c (mswindows_device_system_metrics):
15896 and various other files, added support for a new
15897 device property called offset-workspace which returns the position
15898 of the upper left corner of the workspace area and goes along with
15899 the existing size-workspace property.
15902 * dialog-msw.c (push_bufbyte_string_as_unicode):
15903 * dialog-msw.c (mswindows_popup_dialog_box):
15904 Added support for XEmacs-style accelerator specifications in
15905 button text. Note: I didn't add support for this under X Windows,
15906 and somebody needs to do this.
15909 * dialog.c (Fpopup_dialog_box):
15910 Documented the support for accelerators that was just mentioned.
15912 editfns.c (get_home_directory): Changed behavior under Windows
15913 when HOME not defined; former behavior was irretrievably broken.
15916 * emacs.c (main_1):
15918 * minibuf.c (clear_echo_area_internal):
15919 * minibuf.c (echo_area_append):
15921 * print.c (std_handle_out_external):
15922 * print.c (std_handle_out_va):
15924 * print.c (write_string_to_stdio_stream):
15925 * print.c (output_string):
15926 * print.c (debug_print):
15927 * print.c (debug_backtrace):
15928 * print.c (debug_short_backtrace):
15929 Cleaned up the code that prints text to stdout so that this can be
15930 changed to output into a console window instead under MS Windows,
15931 as described above.
15934 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15935 * eval.c (internal_catch):
15936 * eval.c (unwind_to_catch):
15937 * eval.c (throw_or_bomb_out):
15938 * eval.c (condition_case_1):
15939 * eval.c (signal_1):
15940 * eval.c (check_error_state_sanity):
15941 * eval.c (call_with_suspended_errors_1):
15942 * eval.c (call_with_suspended_errors):
15943 * eval.c (reinit_vars_of_eval):
15944 Added code to catch throw loops and check for a pesky bug that may
15948 * event-msw.c (key_needs_default_processing_p):
15949 * event-msw.c (mswindows_wnd_proc):
15950 * event-msw.c (mswindows_modifier_state):
15951 * event-msw.c (emacs_mswindows_quit_p):
15952 * event-msw.c (vars_of_event_mswindows):
15953 a) Added support for using the alt key to select menu items as is
15954 standard under MS Windows. This is controlled using the variable
15955 menu-accelerator-enabled, just like under X Windows. There is an
15956 option on the options menu to turn this support on. I really
15957 think that it should be on by default under Windows, but I'm not
15958 going to make this change yet.
15960 b) Added support for dynamic display size changes under Windows.
15963 * event-stream.c (maybe_echo_keys):
15964 * event-stream.c (Fnext_event):
15965 * event-stream.c (command_builder_find_leaf):
15966 * event-stream.c (lookup_command_event):
15967 * event-stream.c (execute_command_event):
15968 * event-stream.c (pre_command_hook):
15969 * event-stream.c (post_command_hook):
15970 * event-stream.c (syms_of_event_stream):
15971 * event-stream.c (vars_of_event_stream):
15972 * event-stream.c (complex_vars_of_event_stream):
15973 * events.h (struct command_builder):
15975 a) Tried to clean up a little bit the horribly written x-specific
15976 accelerator code that crept into this file. I moved this code
15977 into menubar-x.c where it belongs. I also needed to move the
15978 command builder structure into the file events.h because it is
15979 accessed directly by this accelerator code. What I didn't do, but
15980 which should be done at some point, is to properly abstract this
15981 code using device methods instead of the kludgy way that it
15982 currently hooks into the event code.
15984 b) Added the lisp variables this-command-properties and
15985 last-command- properties, which should be used to synchronize two
15986 adjacent commands in preference to playing games with the variable
15987 this-command, which is typically what happens.
15989 c) Added some slightly nasty code to hook into the lisp support
15990 for shifted- motion-key selection. This is actually necessary for
15991 somewhat complicated reasons, which are described in
15992 simple.el. (NB: I think the proper thing would be to have the code
15993 that calls the pre and post command hooks also call out to generic
15994 lisp functions in simple.el, where all built-in stuff could be
15995 added. I will think about this more.)
15997 * event-unixoid.c (poll_fds_for_input):
15998 * lread.c (readchar):
15999 * redisplay-tty.c (tty_clear_frame):
16000 * redisplay-x.c (x_get_gc):
16001 * signal.c (interrupt_signal):
16002 And a whole bunch of other files: fixed up places that printed
16003 directly to stderr to instead call the function stderr_out so that
16004 the changes I made under Windows work correctly.
16006 * filemode.c (mode_string):
16010 * frame-msw.c (mswindows_size_frame_internal):
16011 Fixed the computation of frame size and position to keep the frame
16012 within the workspace area, rather than within the physical
16013 dimensions of the screen, so that the frame doesn't overlap window
16014 manager decorations, such as the start menu and toolbar, typically
16015 at the bottom of the screen.
16017 * frame.c (vars_of_frame):
16018 Changed the default frame title format under MS Windows to consist
16019 of buffername-XEmacs, which is standard under MS Windows. I think
16020 it might be a good idea to change this everywhere because I think
16021 it is superior to the current frame title format, but this is the
16022 kind of change that is likely to cause some people to get annoyed,
16023 so I'm not making it.
16025 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
16027 * gui-msw.c (mswindows_handle_gui_wm_command):
16028 Fixed compile warnings.
16031 * gui-x.c (strdup_and_add_accel):
16032 * gui-x.c (button_item_to_widget_value):
16034 Added code to automatically put an accelerator onto the beginning
16035 of menu items that don't have one as is now the standard, and is
16036 described more later. Also fixed things so that the menu item
16037 name can be an evaluated expression, again a new standard.
16040 * gui.c (gui_item_add_keyval_pair):
16041 * gui.c (make_gui_item_from_keywords_internal):
16042 * gui.c (gui_add_item_keywords_to_plist):
16043 * gui.c (gui_item_accelerator):
16044 * gui.c (gui_name_accelerator):
16045 * gui.c (gui_item_included_p):
16046 * gui.c (gui_item_display_flush_left):
16047 * gui.c (gui_item_display_flush_right):
16048 * gui.c (parse_gui_item_tree_item):
16049 * gui.c (parse_gui_item_tree_children):
16050 * gui.c (parse_gui_item_tree_list):
16051 Mule-ized. Cleanup. GCPRO addition.
16053 * line-number.c (buffer_line_number):
16055 * lisp.h (EMACS_INT_MAX):
16056 Added the manifest constant EMACS_INT_MIN corresponding to the
16057 existing constant EMACS_INT_MAX. This is partially to fix compile
16058 warnings under Windows, and partly for cleanliness.
16061 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
16062 * menubar-msw.c (msw_translate_menu_or_dialog_item):
16063 * menubar-msw.c (displayable_menu_item):
16064 * menubar-msw.c (populate_menu_add_item):
16065 * menubar-msw.c (populate_or_checksum_helper):
16066 * menubar-msw.c (populate_menu):
16067 * menubar-msw.c (update_frame_menubar_maybe):
16068 * menubar-msw.c (prune_menubar):
16069 * menubar-msw.c (msw_char_is_accelerator):
16070 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
16071 * menubar-msw.c (mswindows_handle_wm_command):
16072 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
16073 * menubar-msw.c (mswindows_handle_wm_initmenu):
16074 * menubar-msw.c (mswindows_update_frame_menubars):
16075 * menubar-msw.c (mswindows_free_frame_menubars):
16076 * menubar-msw.c (mswindows_popup_menu):
16077 Fixed a bug in handling accelerators where an extra character
16078 would be displayed in the menu item. Also generalized the
16079 function displayable_menu_item because it is now used by the
16080 dialog box code as well. And finally, added code in the functions
16081 that create the menubar to extract a list of accelerators for the
16082 top level menubar, which is used in the event code to determine
16083 whether a particular alt-key combination should be used to invoke
16084 a menu item, or should be passed through to access the standard
16085 XEmacs keymap binding for this key combination.
16087 Much needed GCPROing.
16090 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
16091 * menubar-x.c (menu_item_descriptor_to_widget_value):
16092 * menubar-x.c (restore_in_menu_callback):
16093 * menubar-x.c (x_popup_menu):
16094 * menubar-x.c (menu_move_up):
16095 * menubar-x.c (menu_move_down):
16096 * menubar-x.c (menu_move_left):
16097 * menubar-x.c (menu_move_right):
16098 * menubar-x.c (menu_select_item):
16099 * menubar-x.c (command_builder_operate_menu_accelerator):
16100 * menubar-x.c (menu_accelerator_junk_on_error):
16101 * menubar-x.c (command_builder_find_menu_accelerator):
16102 * menubar-x.c (Faccelerate_menu):
16104 Moved a whole bunch of code here that was previously in
16105 event-stream.c as described above. There is also code connected
16106 to the new standard of adding an accelerator to the beginning of
16107 menu items that don't have one as described above and below.
16110 * menubar.c (menu_parse_submenu_keywords):
16111 * menubar.c (Fmenu_find_real_submenu):
16112 * menubar.c (Fnormalize_menu_item_name):
16113 * menubar.c (syms_of_menubar):
16114 * menubar.c (vars_of_menubar):
16115 * menubar.c (complex_vars_of_menubar):
16117 a) Cleaned up a bunch of documentation and improved it.
16119 b) XEmacs now automatically adds an accelerator onto the beginning
16120 of any menu items that don't have one. I did this because there
16121 will inevitably be some menu items on the main menubar that don't
16122 have accelerators on them because the package that adds that
16123 particular menu item hasn't yet been fixed up to have accelerators
16124 in them and it looked rather strange to have some items with and
16125 some items without accelerators, especially since even in items
16126 without accelerators, you can, at least under windows, still
16127 access the item through an accelerator corresponding to the first
16128 character in the item's name. If people don't like this behavior,
16129 I can add a variable to turn it off optionally, but I'm not sure
16130 this is a good idea because we really do need to have accelerators
16131 on all of the menu items, and if a package doesn't like the
16132 accelerators being put on the first character, then it should put
16133 the accelerators where they belong.
16135 c) I made a behavior change, which is that the descriptor that
16136 specifies the text of the menu item, which formerly was just a
16137 string, can now also be an evaluated expression. This makes this
16138 descriptor parallel with all of the others, which could also be
16139 evaluated expressions. This also obviates the need for the
16140 keyword :label, which was previously listed in the documentation
16141 as unimplemented, and which was for the same purpose.
16146 * ntproc.c (new_child):
16147 * ntproc.c (sys_spawnve):
16148 * ntproc.c (find_child_console):
16149 * ntproc.c (sys_kill):
16150 Fixed compile warnings. By the way, this file should really go
16151 away entirely, and this will happen as soon as Kirill makes his
16152 final round of process cleanups, which affect the function
16156 * process-nt.c (struct nt_process_data):
16157 * process-nt.c (find_process_from_pid):
16158 * process-nt.c (send_signal_the_nt_way):
16159 * process-nt.c (enable_child_signals):
16160 * process-nt.c (find_child_console):
16161 * process-nt.c (send_signal_the_95_way):
16162 * process-nt.c (nt_finalize_process_data):
16163 * process-nt.c (ensure_console_window_exists):
16164 * process-nt.c (nt_create_process):
16165 * process-nt.c (nt_kill_child_process):
16166 * process-nt.c (nt_kill_process_by_pid):
16167 * process-nt.c (nt_open_network_stream):
16168 * process-nt.c (vars_of_process_nt):
16169 Copied over code from Emacs 20.5 to correctly send signals to sub-
16170 processes under Windows 95. Also added code to automatically
16171 create and hide console window when a sub-process is created under
16172 Windows 95, which obviates the need for the separate runemacs.exe
16173 executable, and finally implemented some variables that were
16174 implemented in Emacs 20.5, but previously not in XEmacs. These
16175 include mswindows- start-process-share-console and
16176 mswindows-start-process-inherit-error-mode. (Both of these only
16177 apply to Windows 95.)
16179 * regex.c (regex_compile): Fixed a compile warning.
16182 * select-msw.c (mswindows_own_selection):
16183 * select-msw.c (mswindows_get_foreign_selection):
16184 * select-msw.c (mswindows_disown_selection):
16185 * select-msw.c (console_type_create_select_mswindows):
16186 * select-msw.c (syms_of_select_mswindows):
16187 Cleaned up the file and implemented the device method
16188 selection_exists_p, which had accidentally been left out. Also
16189 removed four lisp functions that were remnants from before the
16190 time when the selection code was properly device abstracted.
16191 These functions are no longer needed because there are generic
16192 equivalents, and because they were added recently and don't exist
16193 in FSF Emacs, I don't think there's any problem with just deleting
16197 * sysdep.c (sys_subshell):
16198 Fixed a compile warning, although in this case there's probably
16199 something wrong with this code, and it ought to be looked into
16200 more thoroughly by somebody who understands it.
16203 * window.c (Fwindow_text_area_height):
16204 * window.c (Fwindow_width):
16205 * window.c (Fwindow_full_width):
16206 * window.c (Fwindow_pixel_width):
16207 * window.c (debug_print_window):
16208 * window.c (syms_of_window):
16209 Added functions window-text-area-height and window-full-width,
16210 which are functions for returning various width and height
16211 characteristics of a window. (One of these functions is necessary
16212 for making the file dialog box work correctly, and the other one
16213 was added for completeness.) Also added a table to the
16214 documentation for window-height which describes the entire scheme
16215 for accessing width and height characteristics of a window.
16217 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16219 * nt.c (fstat): Added a comment for another problem with
16220 non-encapsulated [f]stat(), reported by Adrian Aichner
16221 <aichner@ecf.teradyne.com>.
16223 2000-03-11 Andy Piper <andy@xemacs.org>
16225 * window.c (make_dummy_parent): initialize subwindow instance
16227 (Fset_window_configuration): zero extent_modiff.
16229 2000-03-10 Andy Piper <andy@xemacs.org>
16231 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16232 more changes can be triggered.
16233 (Fredisplay_frame): ditto.
16234 (Fredraw_device): ditto.
16235 (Fredisplay_device): ditto.
16236 (redisplay_frame): make non-static.
16237 (redisplay_frame): call update_frame_gutter_geometry outside of
16240 * gutter.h: declare update_frame_gutter_geometry.
16242 * redisplay.h: declare redisplay_frame.
16244 * gutter.c (update_frame_gutter_geometry): move geometry changes
16245 in update_frame_gutters here. Geometry changes can only occur
16246 outside of redisplay.
16247 (update_frame_gutters): remove geometry change code.
16248 (Fredisplay_gutter_area): make sure that we are in display when we
16249 update and that we have flushed any size changes.
16251 2000-03-11 Andy Piper <andy@xemacs.org>
16253 * alloc.c (pdump_dump_data): remove i & count shadows.
16255 2000-02-27 Mike Alexander <mta@arbortext.com>
16257 * sysdep.h: Declare pdump_read_file
16259 * sysdep.c (pdump_read_file): New function
16261 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16264 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16266 * lrecord.h: add `lrecord_type_pgsetenv'.
16268 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16270 * symsinit.h: declare (vars|syms)_of* functions.
16271 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16273 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16275 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16277 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16280 * emacs.c (main_1): Call postgres initialization code.
16282 * postgresql.h: New file. PostgreSQL RDBMS support.
16283 * postgresql.c: New file.
16285 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16287 * redisplay-output.c (redisplay_output_display_block): Disable
16290 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16292 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16293 (Fcanna_henkan_next): Ditto.
16294 (Fcanna_bunsetu_henkou): Ditto.
16295 (Fcanna_henkan_kakutei): Ditto.
16296 (Fcanna_henkan_end): Ditto.
16297 (Fcanna_henkan_quit): Ditto.
16298 (Fcanna_henkan_next): Set retun value correctly.
16299 (c2mu): Use unsigned char instead of signed char.
16301 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16303 * emacs.c (main_1): Always call syms_of_gui.
16304 * inline.c: include gui.h
16306 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16308 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16309 converted to Lisp_Object.
16310 (Qtop_bottom): New variable.
16311 (syms_of_redisplay): Initialize it.
16312 * redisplay.h (Vvisible_bell): Ditto.
16313 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16314 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16315 only flash top and bottom.
16317 2000-03-08 Andy Piper <andy@xemacs.org>
16319 * buffer.c (Frename_buffer): record new buffer name the right way.
16321 2000-03-08 Andy Piper <andy@xemacs.org>
16323 * glyphs.c (update_subwindow): increase hash depth so that widget
16324 items get picked up properly.
16326 * redisplay-output.c (compare_runes): increase hash depth so that
16327 widget items get picked up properly.
16329 2000-03-08 Andy Piper <andy@xemacs.org>
16331 * gutter.c (output_gutter): add some debug.
16333 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16334 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16335 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16337 * redisplay-output.c (compare_runes): use display_hash to
16338 determine if glyphs really are not the same.
16340 * glyphs.c (update_subwindow): check display_hash to see if
16341 anything really needs to be updated. If not then do
16342 nothing. Record the display_hash after updating.
16343 (image_instance_equal): compare the image_instance face also.
16345 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16347 * redisplay.h: Fix comment style.
16349 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16351 * consle-msw.h (struct mswindows_frame):
16352 Added new member paint_pending to indicate whether a WM_PAINT
16353 magic event has been queued for this frame.
16355 * event-msw.c (mswindows_drain_windows_queue):
16356 Don't queue a WM_PAINT magic event if one is already queued.
16357 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16359 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16361 2000-03-07 Didier Verna <didier@xemacs.org>
16363 * dired.c: #include `regex.h' after `sysfile.h'.
16365 2000-03-06 Martin Buchholz <martin@xemacs.org>
16367 * sound.c (init_nas_sound): Fix compiler warning.
16369 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16371 (MARK_STRUCT_AS_FREE):
16372 (MARK_STRUCT_AS_NOT_FREE):
16373 Make `gcc -fstrict-aliasing' work properly.
16375 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16377 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16378 (mswindows_delete_device): Call CoUnnitialize().
16380 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16382 2000-02-25 <CraigL@DyCon.com>
16384 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16387 * sysdep.c: This extern declaration for environ prevents MinGW
16388 from finding the variable in CRTDLL.DLL.
16390 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16392 (SHGFI_EXETYPE): ..
16393 (WM_MOUSEWHEEL): ..
16394 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16396 (MMRESULT): Removed, now defined in cygwin's windows headers.
16398 (uid_t,gid_t,pid_t,ssize_t): ..
16399 (_timeb): Removed, MinGW defines both _timeb and timeb.
16400 (HAVE_H_ERRNO): Added.
16401 (HAVE_TZNAME): Added, configure is not detecting this.
16403 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16405 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16406 * syntax.c (syntax_match): Use it.
16408 * cmds.c: Import auto-fill-chars from FSF Emacs.
16409 (Vauto_fill_chars): New variables.
16410 (internal_self_insert): Check Vauto_fill_chars.
16412 Declare auto-fill-chars as a Lisp variable and initialize it.
16414 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16416 * fileio.c (Fmake_symbolic_link):
16418 Run handlers even if local machine doesn't have symlinks.
16420 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16422 * event-msw.c (mswindows_drain_windows_queue):
16423 Don't generate paint magic events for non-XEmacs frames.
16425 2000-03-05 Andy Piper <andy@xemacs.org>
16427 * redisplay.c (redisplay_frame): generate_displayable_area and
16428 friends assumes that we are not in GC, we therefore have to make
16429 sure that this doesn't happen.
16431 * gutter.c (calculate_gutter_size): generate_displayable_area
16432 assumes that we are not in GC, we therefore have to make sure that
16433 this doesn't happen.
16435 2000-03-05 Martin Buchholz <martin@xemacs.org>
16437 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16439 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16441 * redisplay.c (regenerate_window): Make sure we set a sane value
16442 for end_pos even if we jump out of the loop.
16443 (regenerate_window): Answer Ben's question :-).
16444 (start_end_of_last_line): Add may_error argument.
16445 (start_of_last_line):
16446 (end_of_last_line): Pass may_error = 0.
16447 (end_of_last_line_may_error): New function.
16448 (pixel_to_glyph_translation): Use it, so we don't crash in
16451 2000-03-04 Andy Piper <andy@xemacs.org>
16453 * window.h (struct window): add gutter_extent_modiff.
16455 * window.c (allocate_window): zero out gutter_extent_modiff.
16457 * redisplay.h: declare sync_display_line_structs.
16459 * redisplay.c (add_glyph_rune): add a better comment.
16461 * redisplay-output.c (sync_display_line_structs): made non-static.
16462 (compare_runes): remove unneccesary glyph cachel access.
16464 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16466 * gutter.c (output_gutter): don't output the gutter if extent
16467 changes only involve extents in buffers. use 4 sets of display
16469 (gutter_extent_signal_changed_region_maybe): new function. Mark
16470 extents in gutters as changed.
16471 (update_frame_gutters): use 4 sets of display lines.
16472 (reset_gutter_display_lines): ditto.
16473 (free_frame_gutters): ditto.
16474 (redraw_exposed_gutter): force output of gutters.
16476 * frame.h (struct frame): add 4 sets of gutter display lines.
16478 * extents.c: (extent_changed_for_redisplay): signal changes to
16479 extents in strings in the gutter as well as extents in buffers.
16481 2000-03-02 Andy Piper <andy@xemacs.org>
16483 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16485 * frame.c (Fmake_frame): make sure the gutters get initialized
16486 after the frame is visible.
16487 (set_frame_selected_window): re-arrange compilation macros a
16489 (change_frame_size_1): mark gutters changed.
16491 * device.c (Fset_device_class): mark gutters changed.
16493 2000-03-01 Andy Piper <andy@xemacs.org>
16495 * window.c (window_top_frame_gutter_height): deleted.
16496 (window_bottom_frame_gutter_height): ditto.
16497 (window_left_frame_gutter_height): ditto.
16498 (window_right_frame_gutter_height): ditto.
16499 (window_top_gutter_height): don't use them.
16500 (window_bottom_gutter_height): ditto.
16501 (window_left_gutter_width): ditto.
16502 (window_right_gutter_width): ditto.
16503 (Fsplit_window): ditto.
16504 (Fwindow_pixel_edges): don't use border dimensions here.
16506 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16507 (update_scrollbar_instance): ditto.
16509 * redisplay.c (generate_modeline): don't take gutters into account.
16510 (generate_modeline): ditto.
16511 (redisplay_frame): small gutter display optimization.
16513 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16515 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16516 gutters into account.
16518 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16519 for window position and type.
16521 * gutter.c (get_gutter_coords): fix for frame gutters.
16522 (update_frame_gutters): update frame geometry if the gutters have
16524 (init_frame_gutters): record current gutter geometries.
16526 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16528 (mswindows_widget_instantiate): ditto.
16530 * frame.h (struct frame): add current_gutter_bounds.
16532 * frame.c (change_frame_size_1): position window and minibuffer
16533 appropriately taking into account the frame gutters.
16535 * frame-x.c: (x_initialize_frame_size): take into account the
16538 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16540 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16542 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16544 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16546 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16548 * file-coding.c (reset_decoding_stream): Clear previous
16549 detection state when autodetect.
16551 2000-02-29 Didier Verna <didier@xemacs.org>
16553 * extents.c (set_extent_glyph_1): don't require extents to be
16556 2000-02-27 Andy Piper <andy@xemacs.org>
16558 * gutter.c (Fset_default_gutter_position): don't default left and
16559 right gutter visibility to t.
16560 (Fset_default_gutter_position): run
16561 default-gutter-position-changed-hook.
16562 (syms_of_gutter): add default-gutter-position-changed-hook.
16564 2000-02-26 Andy Piper <andy@xemacs.org>
16566 * specifier.c (Fmake_specifier): add gutter references.
16568 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16570 * lisp.h: declare Fvalid_plist_p.
16572 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16574 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16575 well as its visibility so that it gets reconstructed.
16576 (construct_window_gutter_spec): new function. Construct a string
16577 to be displayed in the gutter from a plist of strings. Take care
16578 to only use elements that are declared as visible.
16579 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16581 (gutter_validate): allow plists of strings in the specifier.
16582 (gutter_specs_changed): construct the real_gutter from the gutter
16583 specs using construct_window_gutter_spec.
16584 (gutter_visible_validate): gutter-visible is a new specifier type.
16585 (Fgutter_visible_specifier_p): new function for the new specifier.
16586 (syms_of_gutter): declare gutter-visible and
16587 Fgutter_visible_specifier_p.
16588 (specifier_type_create_gutter): intitalize new gutter-visible
16590 (reinit_specifier_type_create_gutter): ditto.
16591 (specifier_vars_of_gutter): use new specifier type for gutter
16593 (init_frame_gutters): construct real_gutter correctly.
16594 (Fgutter_specifier_p): beef up documentation.
16595 (Fgutter_size_specifier_p): ditto.
16597 * winslots.h: add real_gutter slots.
16599 2000-02-25 Andy Piper <andy@xemacs.org>
16601 * device-msw.c: Be kind to older cygwin versions. From Raymond
16602 Toy <toy@rtp.ericsson.se>.
16604 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16605 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16607 2000-02-25 Martin Buchholz <martin@xemacs.org>
16609 * elhash.c (MARK_OBJ): Practice macro hygiene.
16611 2000-02-24 Martin Buchholz <martin@xemacs.org>
16613 * miscplay.c: s/__inline__/inline/g;
16614 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16615 (get_device_compdc): INLINE ==> static inline
16616 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16617 find -name '*.h' | \
16618 xargs global-replace \
16619 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16621 2000-02-25 Andy Piper <andy@xemacs.org>
16623 * window.c (window_top_frame_gutter_height): new function.
16624 (window_top_window_gutter_height): ditto.
16625 (window_top_gutter_height): use them.
16626 (window_bottom_frame_gutter_height): new function.
16627 (window_bottom_window_gutter_height): ditto.
16628 (window_bottom_gutter_height): use them.
16629 (window_left_window_gutter_width): new function.
16630 (window_left_frame_gutter_width): ditto.
16631 (window_left_gutter_width): use them.
16632 (window_right_window_gutter_width): new function.
16633 (window_right_frame_gutter_width): ditto.
16634 (window_right_gutter_width): use them.
16635 (window_pixel_height): new function. calulate window pixel height
16636 with frame gutter involvement.
16637 (Fsplit_window): calculate new sizes taking frame gutters into
16639 (window_char_height_to_pixel_height): don't include frame gutters.
16640 (window_char_height): use window_pixel_height.
16641 (window_pixheight): rename from window_pixel_height.
16642 (change_window_height): use it.
16643 (window_pixel_height_to_char_height): don't include frame gutters.
16644 (window_char_width_to_pixel_width): ditto.
16646 2000-02-25 Andy Piper <andy@xemacs.org>
16648 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16651 2000-02-24 Martin Buchholz <martin@xemacs.org>
16653 * alloc.c (staticpro):
16654 (staticpro_nodump):
16659 (compact_string_chars):
16660 (pdump_dump_wired):
16661 Convert: if (foo) abort(); ==> assert (! foo);
16663 * eldap.c (Fldap_search_basic):
16667 Fix compiler warnings, and possible crashes if (random) return
16668 value were to be used.
16670 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16672 * device-msw.c: Workaround ResetDC failure.
16674 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16675 applying a devmode.
16677 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16678 (mswindows_text_width): Do not start printer page.
16680 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16682 * glyphs-msw.c: Added image methods to msprinter console and
16683 msprinter-specific image instantiation.
16685 2000-02-20 Mike Alexander <mta@arbortext.com>
16687 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16688 to avoid crashes when selection-sets-clipboard is on
16689 (mswindows_own_selection): ditto
16691 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16694 * redisplay-msw.c (get_frame_dc):
16695 (get_frame_compdc):
16697 * device-msw.c (mswindows_init_device):
16698 (mswindows_delete_device):
16699 (msprinter_init_device):
16700 (msprinter_delete_device):
16701 * frame-msw.c (mswindows_init_frame_1):
16702 (mswindows_delete_frame):
16703 (msprinter_init_frame_3):
16704 (msprinter_delete_frame): Move compatible DC to device object from
16705 frame object, for both mswindows and msprinter. Only one at a time
16706 is needed, it is a real waste to have one per frame!
16708 2000-02-23 Andy Piper <andy@xemacs.org>
16710 * glyphs.c: add dynamic width and height elements.
16711 (image_instance_equal): ditto.
16713 * glyphs-widget.c (widget_query_geometry): calculate width and
16714 height dynamically if required.
16715 (initialize_widget_image_instance): initialize dynamic dimensions.
16716 (widget_instantiate): pick-up dynamic dimensions.
16718 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16719 dynamic determination. Add appropriate macros.
16721 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16723 (WINDOW_GUTTER_SIZE): ditto.
16724 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16726 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16728 (get_frame_dc): ditto.
16730 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16733 2000-02-23 Martin Buchholz <martin@xemacs.org>
16735 * XEmacs 21.2.31 is released.
16737 2000-02-22 Ben Wing <ben@xemacs.org>
16739 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16741 2000-02-22 Andy Piper <andy@xemacs.org>
16743 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16745 2000-02-21 Mike Sperber <mike@xemacs.org>
16749 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16752 2000-02-21 Mike Sperber <mike@xemacs.org>
16754 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16756 2000-02-21 Martin Buchholz <martin@xemacs.org>
16758 * XEmacs 21.2.30 is released.
16760 2000-02-20 Martin Buchholz <martin@xemacs.org>
16762 Performance hacking.
16764 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16765 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16766 * emacs.c (main_1):
16768 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16769 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16770 * symeval.h (DEFVAR_SYMVAL_FWD):
16771 * symbols.c (guts_of_unbound_marker):
16772 Make all c_readonly objects also lisp_readonly and marked for life.
16773 * lrecord.h (struct lrecord_implementation):
16774 Document flags better.
16775 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16776 * lrecord.h (DECLARE_LRECORD):
16777 * lrecord.h (XSETRECORD):
16778 * lrecord.h (RECORDP):
16779 * lrecord.h (RECORD_TYPEP):
16780 * lrecord.h (RECORD_MARKER): New.
16781 * lrecord.h (error_check_*):
16782 * lrecord.h (CONCHECK_NONRECORD):
16783 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16784 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16785 * lrecord.h (set_lheader_implementation):
16786 * lrecord.h (enum lrecord_type): New.
16787 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16788 * alloc.c (disksave_object_finalization_1):
16789 * alloc.c (mark_object):
16790 * alloc.c (lrecord_type_index):
16791 * alloc.c (tick_lcrecord_stats):
16792 * alloc.c (Fgarbage_collect):
16793 * alloc.c (init_alloc_once_early):
16794 * alloc.c (pdump_load):
16795 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16796 * alloc.c (lrecord_type_index): Delete.
16797 Make lisp object type indexes be constant.
16798 Makes (byte-compile) 5% faster.
16799 Put all marker functions into their own array.
16800 Makes (garbage-collect) 5% faster.
16801 Optimize SYMBOL_VALUE_MAGIC_P.
16802 Makes (byte-compile) 2-3% faster.
16803 * config.h.in (gc_checking_assert): New.
16804 * alloc.c: Use gc_checking_assert().
16805 * .dbxrc: Make compatible with new object type implementation.
16806 * .gdbinit: Make compatible with new object type implementation.
16807 * alloc.c: Delete all symbols defined only for debugging, such as
16808 Lisp_Type_Vector and lrecord_charset.
16810 2000-02-21 Andy Piper <andy@xemacs.org>
16812 * gui-msw.c (Fmswindows_shell_execute): fix file location
16815 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16816 unshowing so that set_window_buffer doesn't undo
16817 kill_buffer_hook's hard work.
16819 * glyphs-widget.c (tab_control_query_geometry): don't count the
16820 first item when calculating geometry.
16822 * glyphs.c (map_subwindow): remove redundant code.
16823 (update_frame_subwindows): be more circumspect about when to
16826 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16827 when items haven't changed. Update faces if faces have changed as
16828 well as just the widget face.
16829 (x_tab_control_update): Update faces if faces have changed as well
16830 as just the widget face.
16832 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16834 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16836 (build_syscolor_string): Use mswindows_color_to_string to try to
16838 (mswindows_device_system_metrics): Reverse the foreground and
16839 background colors so that they match the documentation.
16841 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16842 they match the default Windows palette.
16843 (mswindows_color_to_string): New function.
16845 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16847 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16849 2000-02-18 Olivier Galibert <galibert@pobox.com>
16851 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16852 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16854 * symbols.c (init_symbols_once_early): Removed obsolete
16855 DATA_SEG_BITS related kludge.
16856 (defvar_magic): Ditto.
16858 * malloc.c: Removed obsolete DATA_SEG_BITS
16860 * mem-limits.h: Ditto.
16862 * Makefile.in.in: Removed obsolete HAVE_SHM
16865 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16867 * device-msw.c (mswindows_delete_device): Free DDE string
16870 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16872 * keymap.c (get_keyelt):
16873 * unexnt.c (unexec):
16874 * vm-limit.c (memory_warnings):
16875 * ntheap.c (recreate_heap):
16876 * ntheap.h (UNINIT_PTR):
16877 * select-msw.c (Fmswindows_get_clipboard):
16878 (Fmswindows_set_clipboard):
16879 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16881 * menubar-msw.c (displayable_menu_item):
16883 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16884 * sysdep.c (sys_subshell):
16885 * process-nt.c (nt_create_process):
16886 * nt.c (normalize_filename):
16887 (dostounix_filename):
16888 (unixtodos_filename):
16889 * ntproc.c (win32_executable_type):
16890 * ntplay.c (play_sound_data_1):
16892 * editfns.c (get_home_directory):
16893 * event-msw.c (struct winsock_stream):
16894 (mswindows_dde_callback):
16895 * device-msw.c (msprinter_init_device):
16896 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16898 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16899 mswindows_clear_toolbar were swapped!
16901 * objects-msw.c:(colormap_t):
16903 * emacs.c (struct standard_args): Fixed const jumble.
16905 * glyphs-widget.c (update_widget): Fixed comparison notation.
16907 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16909 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16910 __declspec(noreturn) syntax.
16912 2000-02-19 Martin Buchholz <martin@xemacs.org>
16914 * eldap.c (Fldap_open):
16915 (Fldap_search_basic):
16918 Use new coding system conversion macros.
16920 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16922 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16924 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16926 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16927 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16929 * eldap.c (Qadd, Qreplace): New constant symbols
16930 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16931 interruptions by XEmacs signals
16932 Remove unnecessary calls to slow_down_interrupts and
16933 speed_up_interrupts
16934 (Fldap_search_basic): Renamed from Fldap_search_internal
16935 Added new optional parameter VERBOSE that triggers the
16936 display of progress messages
16937 Remove unnecessary calls to slow_down_interrupts and
16938 speed_up_interrupts
16939 LDAP result code analysis rewritten
16940 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16941 (syms_of_eldap): Define the new symbols and functions
16944 2000-02-17 Martin Buchholz <martin@xemacs.org>
16946 * realpath.c: Determine PATH_MAX maximally portably.
16948 * insdel.c (bytecount_to_charcount): Optimize.
16949 The function used to be optimized for entirely ASCII sequences.
16950 Now it is optimized for successive characters from the same
16951 charset. This also wins big for _mostly_ ASCII sequences.
16953 * fileio.c (Ffile_truename): convert return from realpath() using
16954 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16955 - Rewrite GCPROing slightly.
16957 * sysdep.c (sys_open): Do filename conversion, like all other
16958 sys_* functions. Fixes bug:
16959 (let ((file-name-coding-system 'iso-8859-2))
16960 (write-region x y latin2-name))
16961 ==> writes filename using internal encoding.
16963 2000-02-18 Martin Buchholz <martin@xemacs.org>
16965 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16966 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16967 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16968 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16969 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16970 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16971 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16972 (CONST_IF_NOT_DEBUG): Delete.
16973 * alloc.c (this_one_is_unmarkable): Delete.
16974 (mark_object): Don't check for this_one_is_unmarkable. Use the
16975 c_readonly flag instead.
16976 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16978 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16980 * event-msw.c (mswindows_drain_windows_queue):
16981 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16982 away redundant repaint events.
16984 2000-02-17 Andy Piper <andy@xemacs.org>
16986 * redisplay.h: declare mark_redisplay_structs.
16988 * redisplay.c (redisplay_window):
16989 (redisplay_frame): don't check subwindows_state_changed.
16990 (mark_redisplay): mark gutters here.
16992 * glyphs.c: (instantiate_image_instantiator): always layout if we
16993 haven't done so already.
16994 (allocate_image_instance): don't mark as dirty.
16995 (update_subwindow): bind inhibit_quit.
16997 * gutter.c (mark_gutters): new function.
16999 * glyphs-x.c (x_update_widget): Always resize to get round a
17002 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
17003 breaking absolutely everything.
17005 * gutter.h: declare mark_gutters.
17007 2000-02-16 Martin Buchholz <martin@xemacs.org>
17009 * XEmacs 21.2.29 is released.
17011 2000-02-15 Olivier Galibert <galibert@pobox.com>
17013 * fns.c (size_bit_vector): Fix computation of the size.
17015 2000-02-15 Martin Buchholz <martin@xemacs.org>
17017 * *.[ch]: Change CONST to const globally.
17018 find -name '*.[ch]' | \
17019 xargs global-replace \
17020 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
17021 - Remove vestigial references to CONST_IS_LOSING
17023 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17025 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
17026 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
17027 events instead of dispatching them directly.
17028 (mswindows_handle_paint): New function to do repainting.
17029 (mswindows_wnd_proc):
17030 (emacs_mswindows_handle_magic_event): Call above function.
17032 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
17034 * objects-msw.c (mswindows_create_font_variant): Return the new
17036 (initialize_font_instance): Get font metrics from the underlined
17037 variant of the font to cope with the case where the underlined
17038 font has a bigger descent.
17040 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17042 * gui.c (gui_item_accelerator): Return the first underlined
17043 character in item name.
17045 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17047 * lisp.h: Added Qprinter.
17049 * general.c (syms_of_general): Initialized it.
17051 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
17053 (get_frame_compdc): Made inline.
17055 * console.h (struct console_methods): Added eject_page method.
17057 * frame.h: Added FRAME_DISPLAY_P and friends.
17058 Aligned backslahes in many macros in more readable fashion.
17059 Added page_number to struct frame, and an accessor macro
17062 * defice.h: Added DEVICE_DISPLAY_P and friends.
17064 * device.c (Fdevice_printer_p): Used these.
17066 * frame.c (allocate_frame_core): Initialize page number.
17067 (Fprint_job_page_number):
17068 (Fprint_job_eject_page): Implemented.
17070 * frame-msw.c (msprinter_eject_page): Added method.
17071 (msprinter_start_page): Added.
17073 * window.c (Fwindow_truncated_p): Fixed docstring.
17074 (Fwindow_last_line_visible_height): Implemented.
17076 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
17078 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
17080 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17082 * syntax.c (scan_words): Always advance at least one character.
17084 2000-02-13 Andy Piper <andy@xemacs.org>
17086 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
17087 to make sure the glyph is in the cachels.
17089 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
17090 global image instance flag.
17091 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
17092 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
17094 * glyphs.c (allocate_image_instance): set dirty bits correctly.
17095 (Fset_image_instance_property): mark layout as changed.
17096 (invalidate_glyph_geometry_maybe): mark layout as changed.
17097 (glyph_width): use new NEEDS_LAYOUT macro.
17098 (glyph_ascent): ditto.
17099 (glyph_descent): ditto.
17100 (glyph_height): ditto.
17101 (image_instance_layout): mark layout as clean after laying out.
17102 (update_subwindow): don't mark layout as clean here.
17104 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
17105 should no longer be needed.
17107 * glyphs-x.c (x_update_widget): sanitize asserts.
17108 (x_finalize_image_instance): sanitize assignment to widgets.
17110 * glyphs-widget.c (widget_instantiate): don't need to clear the
17113 2000-02-13 Martin Buchholz <martin@xemacs.org>
17115 * sysdep.c (getcwd): Use standard prototype.
17116 * sysdep.h (getcwd): Use standard prototype.
17118 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
17119 (sequence, start, end).
17120 Remove redundant type checking.
17121 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
17122 view of `caller-protects') to avoid a crash where the real fix was
17125 2000-02-12 Martin Buchholz <martin@xemacs.org>
17127 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17129 * s/sol2.h: Remove feature macro initialization.
17131 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17132 (vector_hash): New. Code from internal_hash.
17134 Fix up allocation subsystem comments.
17136 * config.h.in: Add __EXTENSIONS__ for Solaris.
17138 * systime.h (EMACS_GETTIMEOFDAY): New.
17139 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17140 Remove Solaris-specific code.
17141 Use void* for the (ignored) second arg for gettimeofday().
17143 * elhash.c (hash_table_hash): Implement it, finally.
17144 * elhash.c: Use hashcode_t.
17146 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17147 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17149 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17150 * fns.c (size_bit_vector):
17151 * alloc.c (size_vector):
17152 (make_vector_internal):
17153 (make_bit_vector_internal):
17154 (sweep_bit_vectors_1):
17155 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17157 2000-02-10 Martin Buchholz <martin@xemacs.org>
17159 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17160 Include strings.h to avoid warnings for bzero and strcasecmp.
17162 2000-02-10 Olivier Galibert <galibert@pobox.com>
17164 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17165 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17167 * fns.c (size_bit_vector): New. Declare bit vectors as a
17170 2000-02-10 Olivier Galibert <galibert@pobox.com>
17172 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17173 use a value field instead.
17174 (symbol_value_forward_forward): Use value field.
17175 (DEFVAR_SYMVAL_FWD): Use value field.
17176 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17177 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17178 (DEFVAR_CONST_INT): Ditto.
17179 (DEFVAR_BOOL): Ditto.
17180 (DEFVAR_CONST_BOOL): Ditto.
17181 (DEFVAR_INT_MAGIC): Ditto.
17182 (DEFVAR_BOOL_MAGIC): Ditto.
17184 * symbols.c (guts_of_unbound_marker): Use value field.
17185 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17186 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17188 * lisp.h: Declare dumpopaque and noninteractive1.
17190 * alloc.c (dumpopaque): Added.
17191 (pdump_dump_opaquevec): Added.
17192 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17193 (pdump_load): Reload opaque data. Sync noninteractive1 with
17196 2000-02-10 Andy Piper <andy@xemacs.org>
17198 * glyphs.c (image_instance_layout): if the size changes, mark it
17201 * redisplay-output.c (redisplay_output_layout): Update the
17203 (redisplay_output_subwindow): ditto.
17205 * glyphs.c (update_subwindow): make sure we reset flags for
17206 layouts as well as everything else.
17208 * glyphs-widget.c (layout_layout): don't need to set the instances
17211 2000-02-09 Martin Buchholz <martin@xemacs.org>
17213 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17214 not HAVE_DLOPEN, which is a lower-level thing.
17216 * .cvsignore: Ignore gmon.out
17218 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17220 * .cvsignore: Ignore portable dumper xemacs.dmp file
17222 2000-02-09 Andy Piper <andy@xemacs.org>
17224 * redisplay-output.c (redisplay_output_layout): be more clever
17225 about when we output based on the changed flags.
17227 * glyphs.h (struct image_instantiator_methods): add update_method.
17228 (struct Lisp_Image_Instance): add changed flags. Declare new
17229 macros for manipulating them.
17231 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17232 (image_instance_parent_glyph): find an image_instance's parent
17233 glyph or image_instance.
17234 (image_instance_layout): mark the size as changed.
17235 (set_image_instance_dirty_p): new function. mark an image
17236 instance, plus all of its parents, as dirty.
17237 (Fset_image_instance_property): use it.
17238 (Fglyph_animated_timeout_handler): use it.
17239 (update_subwindow): call update_widget and device methods for
17240 update_subwindow. Mark all changed flags as clean.
17241 (Fresize_subwindow): mark size as changed.
17243 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17245 (x_update_subwindow): only resize subwindows here.
17246 (x_update_widget): new function. Update all changed properties of
17248 (x_resize_subwindow): deleted.
17249 (x_widget_set_property): deleted.
17250 (x_progress_gauge_set_property): deleted.
17251 (x_progress_gauge_update): new function. Implement recorded
17253 (x_tab_control_update): ditto.
17254 (x_tab_control_set_property): deleted.
17255 (console_type_create_glyphs_x): declare new functions.
17256 (image_instantiator_format_create_glyphs_x): ditto.
17258 * glyphs-widget.c (widget_set_property): mark text changed.
17259 (update_widget): new function. Update properties of a widget.
17260 (widget_instantiate): for layouts make sure we set their
17261 children's parent correctly.
17262 (tab_control_set_property): new function. Record changes that will
17263 take place under redisplay's control.
17264 (progress_gauge_set_property): ditto.
17265 (image_instantiator_progress_guage): declare new functions.
17266 (image_instantiator_tab_control): ditto.
17268 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17270 (mswindows_update_widget): new function. Update all properties on
17271 a widget that have changed.
17272 (mswindows_button_update): new function. Update a button's set
17274 (mswindows_tab_control_update): new function. Update the items in
17276 (mswindows_tab_control_set_property): deleted.
17277 (mswindows_progress_gauge_update): new function. Update the
17278 progress gauge's progress.
17279 (mswindows_widget_set_property): deleted. This is all done
17280 asynchronously now.
17281 (mswindows_progress_gauge_set_property): ditto.
17282 (console_type_create_glyphs_mswindows): declare new methods.
17283 (image_instantiator_format_create_glyphs_mswindows): ditto.
17285 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17286 (msprinter_set_frame_properties): ditto.
17288 * console.h (struct console_methods): Add update_widget_method.
17290 2000-02-09 Andy Piper <andy@xemacs.org>
17292 * gui-msw.c (Fmswindows_shell_execute): Make
17293 mswindows-shell-execute industrial strength.
17295 2000-02-08 Martin Buchholz <martin@xemacs.org>
17297 * lrecord.h: Make macro argument `props' match member function `plist'.
17300 * fns.c (Fremprop):
17301 * fns.c (Fobject_plist):
17304 Object property list frobbing cleanup.
17305 - Allow any lisp object (compared with `eq'), not just symbols, as
17306 keys in object plists.
17307 - Move symbol plist frobbing into symbols.c, where it belongs.
17308 - Move string plist frobbing into alloc.c, where it belongs.
17309 - Everything's an lrecord now, so no need to test for symbolp, etc.
17310 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17312 * extents.c: Reorder code to remove declarations.
17314 * frame.h (store_in_alist): Remove useless declaration.
17316 2000-02-07 Martin Buchholz <martin@xemacs.org>
17318 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17319 * config.h.in: Add HAVE_XCONVERTCASE.
17321 2000-02-07 Andy Piper <andy@xemacs.org>
17323 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17324 it breaks many things.
17326 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17328 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17329 actually can start a common comment type.
17330 * src/syntax.h (SYNTAX_END_P): ditto for end.
17332 2000-02-07 Martin Buchholz <martin@xemacs.org>
17334 * XEmacs 21.2.28 is released.
17336 2000-02-06 Martin Buchholz <martin@xemacs.org>
17338 * event-Xt.c (x_keysym_to_character): New.
17339 (maybe_define_x_key_as_self_inserting_character): New.
17340 (x_has_keysym): New.
17341 Auto-define all keys on the keyboard as self-insert-key.
17343 2000-02-02 Martin Buchholz <martin@xemacs.org>
17345 * menubar.c (vars_of_menubar): A small code simplification.
17347 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17350 * ExternalClient.c:
17351 * EmacsShell-sub.c:
17354 Use consistent style for specifying X resources.
17356 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17357 This makes (dontusethis-set-symbol-value-handler) actually usable.
17359 * lrecord.h (lrecord_decription_type):
17360 * alloc.c (pdump_register_sub):
17363 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17364 Comply with XEmacs coding style.
17365 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17366 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17368 * keymap.c (Faccessible_keymaps):
17369 Make (accessible-keymaps map "\C-h") do the Right Thing.
17370 Make (accessible-keymaps map []) do the Right Thing.
17371 Make (accessible-keymaps map "") do the Right Thing.
17372 (check_keymap_definition_loop): New function.
17373 (keymap_store_internal): Keep luser from shooting self in foot,
17374 via (define-key ctl-x-4-map "p" global-map).
17375 Remove fullness slot from struct Lisp_Keymap, since hash tables
17377 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17379 2000-01-30 Martin Buchholz <martin@xemacs.org>
17381 * redisplay.c (init_redisplay): Fix small memory leak.
17383 * elhash.c (pdump_reorganize_hash_table):
17384 Rename from reorganize_hash_table. Change prototype.
17385 Reuse the original memory for hentries. Save 100k.
17386 * alloc.c (PDUMP_READ): new macro.
17387 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17388 * alloc.c: No need to #ifndef before #undef.
17390 * print.c: Allow debug_print() to print readably by modifying
17391 debug_print_readably. Use consistent variable names.
17393 * .dbxrc: Try to get things to work even if stopped in a function
17394 without source available by explicitly specifying source files.
17395 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17397 * unexnt.c (_start): Removed bogus code which caused loading heap
17398 from differrent executable file.
17399 Removed bogus assignment to _fmode, which caused inconsistencies.
17401 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17403 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17404 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17405 Do not preliminary `#define signal sigset'.
17407 * systime.h: Do not prototype environ on windows nt and cygwin,
17408 this conflicts with system header.
17410 * syssignal.h: Use correct define for WINDOWSNT
17412 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17413 with system header.
17415 * sysdep.c (near start of file): Fixed commentary and rearranged
17416 ifdefs in readable order.
17417 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17420 (end_of_data): Do not compile in if using PDUMP.
17422 * symsinit.h: Prototyped vars_of_nt().
17424 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17425 (find_child_console): Use it.
17426 (sys_kill): Use it.
17428 * ntheap.h: Do not extern os_subtype.
17430 * ntheap.c (cache_system_info): Do not cache unneeded:
17431 nt_major_version, nt_minor_version and os_subtype.
17432 (recreate_heap): Do not compile in when PDUMPing.
17434 * nt.c (geteuid and friends): Use the new varibale
17435 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17436 (init_user_info): Removed the above mentioned hackery.
17437 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17438 stat has been fixed in the C runtime.
17439 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17441 * file-coding.c (struct file_coding_dump): Do not define
17442 ucs_to_mule_table in the struct if not MULE.
17443 (struct struct lrecord_description fcd_description_1): Do not dump
17446 * emacs.c (main_1): Call vars_of_nt().
17447 (right before Fdump_emacs_data): Don't need lastfile if using both
17448 portabe dumper and system malloc.
17450 * alloc.c (Fmemory_limit): Conditionalized out.
17451 (pdump): Use OPEN_BINARY for the portable dump file.
17452 (pdump_load): Ditto.
17454 2000-02-02 Mike Alexander <mta@arbortext.com>
17456 * nt.c (convert_time): Set tm_isdst before calling mktime and
17457 avoid calling it at all if the compiler supports 64 bit integers.
17458 Also initialize utc_base_ft before using it.
17460 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17462 * frame.c (change_frame_size_1): Take f->internal_border_width
17463 into consideration when calculating the width of the frame.
17465 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17467 * window.c (frame_min_height):
17468 (frame_size_valid_p):
17469 (frame_pixsize_valid_p): Added.
17470 (check_frame_size): Generalized.
17472 * window.h: Prototyped the above.
17475 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17476 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17477 Deleted Vwin32_* and Vbinary_process_* unused variables.
17479 * device-msw.c (msprinter_init_device): Do not get printer font
17480 list; Added DEVMODE functions.
17482 * frame-msw.c: Added lots of printer code.
17484 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17487 * console-msw.h: Added more msprinter device private slots.
17489 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17491 * event-msw.c (key_needs_default_processing_p): Added.
17492 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17494 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17496 * glyphs.c (image_instance_layout): Mark image instance as clean
17498 (glyph_dirty_p): Removed redundant function.
17499 (invalidate_glyph_geometry_maybe): Added.
17500 (update_glyph_cachel_data): Call it.
17502 * glyphs.h: Prototyped it.
17504 * redisplay.c (add_glyph_rune): Call it.
17505 (redisplay_window): Reset glyphs cachels when frame faces have
17506 changed, thus forcing recomputation of built-in border glyphs.
17508 2000-01-30 Martin Buchholz <martin@xemacs.org>
17510 * Makefile.in.in: Make portable dumper and purify play well together.
17511 Add imperfect, but better than nothing, support for pdump.
17512 Remove xemacs.dmp when temacs is re-generated.
17513 Don't ignore errors when dumping xemacs.
17515 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17517 2000-01-28 Andy Piper <andy@xemacs.org>
17519 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17520 (setup_normal_frame): ditto.
17521 (setup_frame_without_minibuffer): ditto.
17522 (setup_minibuffer_frame): ditto.
17523 (delete_frame_internal): ditto.
17524 (Fmake_frame_invisible): ditto.
17525 (Ficonify_frame): ditto.
17527 * window.h: change Fset_window_buffer signature.
17529 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17530 (Fset_window_buffer): allow recording of buffer if the window is
17531 the selected window.
17532 (window_loop): Use new Fset_window signature.
17534 2000-01-23 Daniel Pittman <daniel@danann.net>
17536 * config.h.in: Added template for `HAVE_ATHENA_3D'
17538 2000-01-29 Andy Piper <andy@xemacs.org>
17540 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17542 * gutter.c (output_gutter): Don't output if the window isn't live.
17544 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17546 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17547 of 01/12/00: Moved SetFocus back here where it belongs.
17549 2000-01-23 Andy Piper <andy@xemacs.org>
17551 * s/cygwin32.h: declare printer things.
17553 2000-01-26 Andy Piper <andy@xemacs.org>
17555 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17558 2000-01-24 Andy Piper <andy@xemacs.org>
17560 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17561 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17563 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17565 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17567 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17569 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17570 (mswindows_output_display_block): Avoid local shadows.
17572 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17573 (mswindows_enqueue_mouse_button_event): ditto.
17574 (mswindows_handle_gui_wm_command): remove declaration.
17576 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17579 * console-msw.h: Avoid shadows.
17580 (mswindows_get_toolbar_button_text):
17581 (emacs_mswindows_create_stream_pair):
17582 (emacs_mswindows_delete_stream_pair):
17583 (mswindows_handle_toolbar_wm_command): declare.
17585 * device-msw.c (build_syscolor_string): Avoid shadows.
17587 2000-01-23 Andy Piper <andy@xemacs.org>
17589 * glyphs-widget.c (widget_instantiate): reverse the items for
17590 layouts so that children are in the expected order.
17592 2000-01-28 Martin Buchholz <martin@xemacs.org>
17594 * ralloc.c: safe_bcopy ==> memmove
17595 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17596 * s/msdos.h: Remove BCOPY macros.
17597 * insdel.c (gap_right): Remove BCOPY conditional code.
17598 * insdel.c (gap_left): Remove BCOPY conditional code.
17599 XEmacs demands a working ANSI C compiler - hence memmove.
17601 * regex.c (regex_compile): Remove accidental use of trigraphs.
17603 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17605 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17608 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17610 * event-msw.c (mswindows_drain_windows_queue): Added the
17612 (mswindows_need_event): Commented the call to
17613 mswindows_drain_windows_queue().
17614 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17617 * console-msw.h: Moved a few function prototypes here from
17620 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17621 parameter from unsigned short to unsigned long.
17622 (Fmswindows_shell_execute): Added return value.
17624 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17626 * sysdep.c (init_system_name):
17627 process-unix.c (unix_canonicalized_host_name):
17628 Don't call freeaddrinfo() if getaddrinfo() fails.
17630 * process-unix.c (unix_open_unix_network_stream):
17631 Moved the code to get a port # into address loop.
17633 2000-01-27 Martin Buchholz <martin@xemacs.org>
17635 * buffer.c (reinit_vars_of_buffer):
17636 The right place to initialize conversion_in_dynarr and
17637 conversion_out_dynarr.
17639 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17641 * process-unix.c (unix_canonicalize_host_name): Muleize.
17642 (unix_open_network_stream): Muleize.
17644 * buffer.h: Fix up prototypes for ralloc.c functions.
17646 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17647 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17648 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17649 instead of gethostbyname()
17650 * process-unix.c: In unix_canonicalize_host_name() and
17651 unix_open_network_stream(), add code to use getaddrinfo()
17652 instead of gethostbyname().
17654 2000-01-27 Daniel Pittman <daniel@danann.net>
17656 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17657 libs when built with flat Athena.
17659 2000-01-27 Martin Buchholz <martin@xemacs.org>
17661 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17662 Use coding standards for function prototypes.
17664 2000-01-25 Martin Buchholz <martin@xemacs.org>
17666 * dialog-msw.c (push_lisp_string_as_unicode):
17667 * doc.c (unparesseuxify_doc_string):
17668 * dired.c (Fuser_name_completion_1):
17669 * dired.c (Fuser_name_all_completions):
17670 * dired.c (free_user_cache):
17671 * dired.c (user_name_completion):
17672 * console-x.c (get_display_arg_connection):
17673 * minibuf.c (clear_echo_area_internal):
17674 * minibuf.c (echo_area_append):
17675 * eldap.c (Fldap_open):
17676 * eldap.c (Fldap_search_internal):
17677 * frame-x.c (x_set_frame_text_value):
17678 * frame-x.c (x_set_frame_properties):
17679 * frame-x.c (x_create_widgets):
17680 * redisplay-tty.c (term_get_fkeys_1):
17681 * objects-x.c (x_parse_nearest_color):
17682 * objects-x.c (x_valid_color_name_p):
17683 * objects-x.c (x_initialize_font_instance):
17684 * objects-x.c (x_list_fonts):
17685 * objects-x.c (x_find_charset_font):
17686 * tooltalk.c (Fadd_tooltalk_message_arg):
17687 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17688 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17689 * process-unix.c (unix_create_process):
17690 * ntproc.c (sys_spawnve):
17691 * sound.c (Fplay_sound_file):
17692 * sound.c (Fplay_sound):
17693 * buffer.c (init_initial_directory):
17694 * buffer.c (init_buffer):
17695 * editfns.c (init_editfns):
17696 * editfns.c (Ftemp_directory):
17697 * editfns.c (Fuser_full_name):
17698 * editfns.c (uncache_home_directory):
17699 * editfns.c (get_home_directory):
17700 * editfns.c (Fuser_home_directory):
17701 * editfns.c (Fformat_time_string):
17702 * editfns.c (Fcurrent_time_string):
17703 * gui-x.c (button_item_to_widget_value):
17704 * database.c (Fopen_database):
17705 * event-Xt.c (x_to_emacs_keysym):
17706 * event-Xt.c (x_event_to_emacs_event):
17707 * event-Xt.c (describe_event_window):
17708 * event-msw.c (mswindows_wnd_proc):
17709 * glyphs-eimage.c (jpeg_instantiate):
17710 * glyphs-eimage.c (gif_instantiate):
17711 * glyphs-eimage.c (png_instantiate):
17712 * glyphs-eimage.c (tiff_instantiate):
17713 * glyphs-x.c (xbm_instantiate_1):
17714 * glyphs-x.c (x_xbm_instantiate):
17715 * glyphs-x.c (x_xface_instantiate):
17716 * glyphs-x.c (autodetect_instantiate):
17717 * glyphs-x.c (cursor_font_instantiate):
17718 * glyphs-x.c (x_widget_instantiate):
17719 * glyphs-x.c (x_widget_set_property):
17720 * glyphs-x.c (x_widget_property):
17721 * glyphs-x.c (BUILD_GLYPH_INST):
17722 * print.c (write_string_to_stdio_stream):
17723 * print.c (output_string):
17724 * print.c (Falternate_debugging_output):
17725 * print.c (Fexternal_debugging_output):
17726 * glyphs-msw.c (extract_xpm_color_names):
17727 * glyphs-msw.c (mswindows_xpm_instantiate):
17728 * glyphs-msw.c (bmp_instantiate):
17729 * glyphs-msw.c (resource_name_to_resource):
17730 * glyphs-msw.c (mswindows_resource_instantiate):
17731 * glyphs-msw.c (xbm_instantiate_1):
17732 * glyphs-msw.c (mswindows_xbm_instantiate):
17733 * glyphs-msw.c (mswindows_xface_instantiate):
17734 * glyphs-msw.c (mswindows_widget_instantiate):
17735 * glyphs-msw.c (add_tree_item):
17736 * glyphs-msw.c (add_tab_item):
17737 * glyphs-msw.c (mswindows_combo_box_instantiate):
17738 * glyphs-msw.c (mswindows_widget_property):
17739 * glyphs-msw.c (mswindows_combo_box_property):
17740 * glyphs-msw.c (mswindows_widget_set_property):
17741 * console.c (stuff_buffered_input):
17742 * objects-msw.c (mswindows_initialize_color_instance):
17743 * objects-msw.c (mswindows_valid_color_name_p):
17744 * objects-msw.c (mswindows_list_fonts):
17745 * objects-msw.c (mswindows_font_instance_truename):
17746 * bytecode.c (optimize_compiled_function):
17747 * select-x.c (symbol_to_x_atom):
17748 * select-x.c (x_atom_to_symbol):
17749 * select-x.c (hack_motif_clipboard_selection):
17750 * select-x.c (selection_data_to_lisp_data):
17751 * select-x.c (lisp_data_to_selection_data):
17752 * select-x.c (Fx_get_cutbuffer_internal):
17753 * select-x.c (Fx_store_cutbuffer_internal):
17754 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17755 * buffer.h (TO_INTERNAL_FORMAT): New function.
17756 * emacs.c (make_arg_list_1):
17757 * emacs.c (make_argc_argv):
17758 * emacs.c (main_1):
17759 * emacs.c (Fdump_emacs):
17760 * emacs.c (split_string_by_emchar_1):
17765 * device-x.c (x_init_device):
17766 * device-x.c (Fx_valid_keysym_name_p):
17767 * device-x.c (Fx_get_font_path):
17768 * device-x.c (Fx_set_font_path):
17769 * glyphs.c (bitmap_to_lisp_data):
17770 * glyphs.c (pixmap_to_lisp_data):
17771 * alloc.c (make_ext_string): Use coding system arguments. Update
17773 * alloc.c (build_string):
17774 * callproc.c (child_setup):
17775 * callproc.c (init_callproc):
17776 * fileio.c (lisp_strerror):
17777 * fileio.c (directory_file_name):
17778 * fileio.c (Fexpand_file_name):
17779 * fileio.c (Ffile_truename):
17780 * fileio.c (Fsysnetunam):
17781 * fileio.c (Fdo_auto_save):
17782 * sysdep.c (sys_readdir):
17783 * tests.c: New file. Allow adding C tests.
17784 Replace GET_* macros with a more comprehensible and flexible
17785 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17787 Any coding system can be used to do format conversion.
17788 Eliminate enum external_data_format.
17789 Eliminate convert_to_external_format.
17790 Eliminate convert_to_internal_format.
17791 Make sure file-name, keyboard, terminal, and ctext are always
17792 defined as coding systems or aliases. Make
17793 file-name-coding-system, terminal-coding-system, and
17794 keyboard-coding-system magical variables that are equivalent to
17795 defining the corresponding coding system aliases.
17797 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17798 * file-coding.c (Fcoding_system_alias_p): New function.
17799 * file-coding.c (Fcoding_system_aliasee): New function.
17800 * file-coding.c (append_suffix_to_symbol): New function.
17801 * file-coding.c (dangling_coding_system_alias_p): New function.
17802 * file-coding.c (Ffind_coding_system):
17803 * file-coding.c (Fcopy_coding_system):
17804 * file-coding.c (encode_coding_no_conversion):
17805 * file-coding.c (syms_of_file_coding):
17806 * file-coding.c (vars_of_file_coding):
17807 Rewrite coding system alias code.
17808 Allow nested aliases, like symbolic links.
17809 Allow redefinition of coding system aliases.
17810 Prevent existence of dangling coding system aliases.
17812 * dired.c (Fuser_name_completion_1):
17813 * dired.c (Fuser_name_all_completions):
17814 A crash would happen if user did QUIT in the middle of building
17815 user_name_cache. Remove redundant code in mainline and unwind_protect.
17818 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17820 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17821 an unsigned char *. Update all callers.
17823 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17825 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17827 2000-01-25 Martin Buchholz <martin@xemacs.org>
17829 * elhash.c (hentry_description): Use more portable definition.
17830 (resize_hash_table): Initialize new hentries using
17831 xnew_array_and_zero, thereby simplifying the code.
17833 * mule-charset.c (make_charset): Make sure entire object is
17834 initialized, to avoid Purify warnings.
17836 * alloc.c (resize_string): Fix unlikely crash with big strings.
17838 2000-01-24 Martin Buchholz <martin@xemacs.org>
17840 * realpath.c (xrealpath):
17841 Don't call getwd().
17843 2000-01-25 Martin Buchholz <martin@xemacs.org>
17845 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17847 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17849 * unexelfsgi.c (unexec): Change the way we decide which segment
17850 should be extended.
17852 Assumption that .bss section should be outside the PT_LOADable
17853 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17854 it's present) is inside the 'data' segment. This would fail the
17855 test which was used to find a segment to grow and cover new
17856 heap. Instead of this assumption, I created another one - on IRIX
17857 the segment to grow should start below .bss and it's address
17858 should extent above the end of .bss. Once this segment is
17859 identified, it's grown to accommodate the new heap and new
17860 zero-length .bss section is added at the end of .data2.
17862 2000-01-25 Martin Buchholz <martin@xemacs.org>
17864 * eval.c (Feval): Wrong number of arguments should use original
17865 function, not the indirect_function version of it.
17867 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17869 * glyphs-x.c (x_button_instantiate): Don't add image if
17870 it is not a pixmap.
17871 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17874 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17876 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17878 (DEFVAR_INT_MAGIC): Ditto.
17879 (DEFVAR_BOOL_MAGIC): Ditto.
17880 * glyphs.h: Reindent backslash.
17882 2000-01-24 Martin Buchholz <martin@xemacs.org>
17884 * glyphs-widget.c (layout_query_geometry):
17885 (layout_layout): Use correct types for gheight, gwidth.
17887 2000-01-24 Martin Buchholz <martin@xemacs.org>
17889 * EmacsManager.c (QueryGeometry): Purified.
17891 2000-01-23 Martin Buchholz <martin@xemacs.org>
17893 * alloc.c (make_float): Make sure entire object is initialized, to
17894 avoid Purify warnings.
17895 (pdump_register_sub): Remove useless assignment.
17896 (pdump): Use xmalloc, not malloc.
17897 (pdump_load): Use xmalloc, not malloc.
17899 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17906 * sysdep.c: Removed redundant #include <windows.h>
17908 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17910 * frame.c (delete_frame_internal): Do not delete device when its
17911 implementation so declares.
17912 (delete_frame_internal): Set device selected frame to nil when
17913 last frame goes away.
17915 * device-msw.c (msprinter_device_system_metrics): Implemented.
17916 (mswindows_device_system_metrics): Added 'device-dpi property.
17918 * device.c: (Fdevice_printer_p): Added.
17919 Added 'offset-workspace device metric.
17921 * console.h (device_metrics): Declared DM_offset_workspace.
17923 2000-01-23 Martin Buchholz <martin@xemacs.org>
17925 * fileio.c (Ffile_truename): Remove pointless and confusing
17926 initialization of elen.
17928 * glyphs-widget.c: Compiler warning fixes.
17930 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17932 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17933 instead of a Lisp_Object as argument to make it consistent with
17934 the other LIVE_P macros.
17935 (CHECK_LIVE_PROCESS): New macro.
17937 * process.c: Declare Qprocess_live_p.
17938 (Fprocess_live_p): New function.
17939 (create_process): Use PROCESS_LIVE_P.
17940 (read_process_output): Ditto.
17941 (set_process_filter): Ditto.
17942 (Fdelete_process): Ditto.
17943 (kill_buffer_processes): Ditto
17944 (process_send_signal): Use CHECK_LIVE_PROCESS.
17945 (Fprocess_input_coding_system): Check whether process is still
17946 alive (fix PR#1061).
17947 (Fprocess_output_coding_system): Ditto.
17948 (Fprocess_coding_system): Ditto.
17949 (Fset_process_input_coding_system): Ditto.
17950 (Fset_process_output_coding_system): Ditto.
17952 2000-01-23 Andy Piper <andy@xemacs.org>
17954 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17957 * glyphs.c (mark_image_instance): take into account changed
17958 image_instance format.
17959 (image_instance_equal): ditto.
17960 (image_instance_hash): ditto.
17962 * glyphs-widget.c (widget_instantiate): Incorporate layout
17963 instantiation here. Delay layout of the layout until later.
17964 (layout_instantiate): deleted.
17965 (layout_query_geometry): new function. get the geometry of a
17967 (layout_layout): layout a layout dynamically.
17968 (image_instantiator_widget): New function - splitting up
17969 image_instantiator_format_create_glyphs_widget for netwinder
17971 (image_instantiator_buttons):
17972 (image_instantiator_edit_fields):
17973 (image_instantiator_combo_box):
17974 (image_instantiator_scrollbar):
17975 (image_instantiator_progress_guage):
17976 (image_instantiator_tree_view):
17977 (image_instantiator_tab_control):
17978 (image_instantiator_labels):
17979 (image_instantiator_layout): ditto.
17980 (image_instantiator_format_create_glyphs_widget): Call preceding
17983 2000-01-22 Martin Buchholz <martin@xemacs.org>
17985 * process.c (Fset_process_coding_system):
17986 * device-x.c (Fx_keysym_hash_table):
17989 * lstream.c (Lstream_write): Return documented value, not 0.
17991 * fileio.c (directory_file_name):
17992 (Fsubstitute_in_file_name):
17993 (Fsubstitute_insert_file_contents_internal):
17994 (Fwrite_region_internal):
17999 Remove vestigial APOLLO-conditional code.
18001 2000-01-21 Martin Buchholz <martin@xemacs.org>
18003 * getpagesize.h: Add guard macros.
18004 * libsst.h: Add guard macros.
18005 * libst.h: Add guard macros.
18006 * line-number.h: Add guard macros.
18007 * ndir.h: Add guard macros.
18008 * sysfloat.h: Add guard macros.
18009 * sysfile.h: Add guard macros.
18010 * sysproc.h: Add guard macros.
18011 * syswait.h: Add guard macros.
18012 * xintrinsic.h: Add guard macros.
18013 * xintrinsicp.h: Add guard macros.
18014 * xmmanager.h: Add guard macros.
18015 * xmmanagerp.h: Add guard macros.
18016 * xmprimitive.h: Add guard macros.
18017 * xmu.h: Add guard macros.
18018 * gpmevent.h: Add copyright statement. Add guard macros.
18019 * miscplay.h: Add guard macros.
18020 * *.h: Use consistent C-standards-approved guard macro names.
18022 * opaque.c (make_opaque): Switch parameter order.
18023 * opaque.h (make_opaque): Switch parameter order.
18024 Update all callers.
18025 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
18027 * config.h.in (type_checking_assert): Added.
18028 (bufpos_checking_assert): Added.
18030 2000-01-21 Martin Buchholz <martin@xemacs.org>
18032 * alloc.c: Harmless pdump changes.
18034 - spell alignment correctly.
18035 * sysdep.c: Use countof()
18037 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18039 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
18040 initially_selected_for_input() console method, default to 0.
18041 (semi_canonicalize_console_connection): Try to delegate to
18042 canonicalize_console_connection if no such console method.
18043 (canonicalize_console_connection): Vice versa.
18044 (print_console): Do not print nil connection.
18046 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
18047 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
18048 (XDEVIMPF_FRAMELESS_OK): Added.
18049 (CONSOLE_INHERITS_METHOD): Added.
18051 * console-msw.c (mswindows_canonicalize_console_connection):
18053 (mswindows_canonicalize_device_connection): Added.
18055 * console-msw.h (struct msprinter_device): Added this struct and
18057 (mswindows_device): Made fontlist a lisp object.
18059 * device.c (semi_canonicalize_device_connection): Try to delegate
18060 to canonicalize_device_connection if no such console method.
18061 (canonicalize_device_connection): Vice versa.
18062 (print_device): Do not print nil connection.
18064 * device-msw.c (mswindows_init_device): Call InitCommonControls
18066 (mswindows_delete_device): Removed fontlist deallocation.
18067 (mswindows_mark_device): Added.
18069 * events.c (event_equal): Added abort() at unreached code.
18070 (event_hash): Ditto.
18072 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
18073 fallback tags of Windows devices.
18075 * general.c (syms_of_general): Initialized Qmsprinter.
18077 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
18078 of fallback tags of Windows devices.
18080 * lisp.h: Declared Qmsprinter.
18082 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
18084 (mswindows_list_fonts): Ditto.
18085 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
18086 that it can be used by both mswindows and msprinter devices.
18087 (initialize_font_instance): Added.
18088 (mswindows_initialize_font_instance): Use it.
18089 (msprinter_initialize_font_instance): Added.
18091 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
18092 and implementation flags check.
18093 (redisplay_without_hooks): Changed the call to the above.
18094 (Fredraw_device): Ditto.
18095 (Fredisplay_device): Ditto.
18097 * redisplay-msw.c (get_frame_dc): Implemented.
18098 (get_frame_compdc): Implemented.
18099 (many functions): Use the two functions above to get device
18100 contexts, ether for a window or a printer.
18102 2000-01-21 Olivier Galibert <galibert@pobox.com>
18104 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
18105 initialization here.
18106 (init_symbols_once_early): Call it.
18107 * emacs.c (main_1): Call it.
18108 * symsinit.h: Declare it.
18110 2000-01-19 Olivier Galibert <galibert@pobox.com>
18112 * alloc.c: Use a lrecord_header * in the backtrace instead of a
18114 (pdump_backtrace): Ditto.
18115 (pdump_register_object): Ditto. Cleanup use of the pointers.
18116 (pdump_get_entry): Abort if trying to register a null pointer.
18117 (pdump_dump_data): Cleanup types when relocating.
18118 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
18119 (pdump_dump_rtables): Remove bad casts.
18120 (pdump_load): Cleanup relocation w.r.t union type. Use a
18121 Lisp_Object instead of a EMACS_INT for the hashtable
18124 2000-01-20 Martin Buchholz <martin@xemacs.org>
18126 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18128 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18130 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18132 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18134 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18136 * faces.h (FACE_STRIKETHRU_P): Added.
18138 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18141 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18142 (mswindows_set_dc_font): New function, aware of font variants,
18143 separated from mswindows_update_dc.
18145 * objects-msw.h (struct mswindows_font_instance_data): Added
18148 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18149 cached fonts and the data structure.
18150 (mswindows_initialize_font_instance): Added creation of font data
18152 (mswindows_print_font_instance): Print at least something.
18153 (mswindows_create_font_variant): Implemented.
18154 (mswindows_get_hfont): Implemented.
18156 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18158 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18159 prototyping problem with msvc.
18161 * emacs.c (main_1): added syms_of_gui_mswindows() call
18163 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18164 syms_of_gui_mswindows() function
18166 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18168 2000-01-18 Martin Buchholz <martin@xemacs.org>
18170 * XEmacs 21.2.27 is released.
18172 2000-01-18 Martin Buchholz <martin@xemacs.org>
18174 * glyphs-eimage.c (struct tiff_error_struct):
18176 (tiff_warning_func):
18177 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18182 * unexec.c: Remove vestigial Lucid C code.
18186 * libsst.c: Ansify.
18187 Remove declarations of errno and strerror().
18189 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18191 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18193 2000-01-16 Martin Buchholz <martin@xemacs.org>
18195 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18198 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18203 Change enum eol_type to eol_type_t.
18205 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18207 * gui.c (get_gui_callback): Check cons before accessing car.
18209 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18211 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18212 (XSETSPECIFIER_TYPE): Ditto.
18214 2000-01-17 Didier Verna <didier@xemacs.org>
18216 * redisplay.c (generate_fstring_runes): compute string size in
18217 characters, not bytes.
18219 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18221 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18223 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18225 * print.c (print_error_message): Call print_prepare().
18227 2000-01-14 Martin Buchholz <martin@xemacs.org>
18229 * .dbxrc: Renamed from dbxrc.
18231 * events.c (event_to_character):
18232 Use `assert (foo)' instead of `if (!foo) abort()'
18234 * .gdbinit (xtype): Add documentation.
18235 * .gdbinit (check-temacs): New function.
18236 * .gdbinit (check-xemacs): New function.
18237 * dbxrc (check-xemacs): New function.
18238 * dbxrc (check-xemacs): New function.
18240 2000-01-14 Andy Piper <andy@xemacs.org>
18242 * glyphs-widget.c (widget_query_geometry): Make sure that we
18243 calculate default dimensions correctly.
18245 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18247 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18249 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18250 pdump_wire'd variable.
18252 * emacs.c: (main_1): Conditionalized calls to
18253 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18255 2000-01-13 Martin Buchholz <martin@xemacs.org>
18257 * window.c (Fset_window_configuration):
18258 * sysdep.c (_start):
18259 * input-method-motif.c (res):
18260 * event-Xt.c (Xt_process_to_emacs_event):
18261 Simple compiler warning fixes.
18263 * bytecode.c (funcall_compiled_function): Use the original
18264 function symbol on the backtrace list in preference to the
18265 compiled_function object in error messages.
18267 2000-01-13 Andy Piper <andy@xemacs.org>
18269 * glyphs-x.c (update_widget_face): Make sure we update the widget
18270 background as well as foreground.
18272 2000-01-13 Andy Piper <andy@xemacs.org>
18274 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18275 fields to subwindow.
18276 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18277 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18278 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18279 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18281 * glyphs-widget.c (check_valid_tab_orientation): new function.
18282 (initialize_widget_image_instance): zero orientation and
18284 (widget_instantiate): pick up orientation.
18285 (tab_control_query_geometry): return appropriate values for
18288 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18289 appropriate creation flags for left, right and bottom tabs.
18291 * s/cygwin32.h: add tab definitions.
18293 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18295 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18296 frame upon hiding a subwindow.
18297 (mswindows_button_instantiate): Changed the push button style to
18299 (mswindows_button_instantiate): Removed button BS_NOTIFY
18301 (mswindows_button_instantiate): Removed redundant check for
18302 a disabled gui item.
18303 (mswindows_button_instantiate): Made use of WS_TABSTOP
18304 consistent: "operable" controls (edit, button, tree, scroll) have
18305 this style, "display-only" ones (static, progress gauge) do
18306 not. This style is currently ignored by XEmacs though. Also,
18307 removed the WS_EX_CONTROLPARENT style - it is not for children,
18308 it is for their parents!
18309 (mswindows_edit_field_instantiate): Ditto.
18310 (mswindows_progress_gauge_instantiate): Ditto.
18311 (mswindows_tree_view_instantiate): Ditto.
18312 (mswindows_tab_control_instantiate): Ditto.
18313 (mswindows_scrollbar_instantiate): Ditto.
18314 (mswindows_combo_box_instantiate): Ditto.
18315 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18316 style to the "clip" window.
18317 (mswindows_button_instantiate): Removed compilation warning by
18318 equally typing terms of the ?: operator.
18320 2000-01-12 Didier Verna <didier@xemacs.org>
18322 * redisplay.c (generate_fstring_runes): new parameter holding the
18323 last modeline-format extent.
18324 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18325 extent, fill the glyph block with it.
18326 (generate_fstring_runes): handle these parameters.
18327 (generate_formatted_string_db): ditto.
18329 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18330 glyphs'extents in the modeline.
18332 1999-01-11 Mike Woolley <mike@bulsara.com>
18334 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18335 256Mb, as a workaround for the non-starting problem many people
18338 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18340 * console-tty.c (Fset_console_tty_output_coding_system):
18341 Force redrawing tty frame.
18343 2000-01-10 Didier Verna <didier@xemacs.org>
18345 * redisplay.c (generate_fstring_runes): fix size computation bug.
18347 2000-01-09 William M. Perry <wmperry@aventail.com>
18349 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18351 2000-01-09 Andy Piper <andy@xemacs.org>
18353 * glyphs-msw.c: index -> i to avoid shadows.
18354 (xbm_create_bitmap_from_data): make static.
18355 (check_valid_string_or_int): deleted.
18356 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18358 * glyphs-x.c (x_update_subwindow): remove unused args.
18360 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18361 back pointer - this is done in allocate_image_instance.
18362 (query_string_font): return Qnil to make the compiler happy.
18363 (unmap_subwindow): set to ~0 to make the compiler happy.
18364 (glyph_query_geometry): comment out until used.
18365 (glyph_layout): ditto.
18367 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18369 * insdel.c (signal_after_change): Remove extraneous unbind_to().