1 2012-02-11 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
3 * text-coding.c (DECODE_ADD_UCS_CHAR): Don't use `INLINE_HEADER'.
5 * chartab.c (UINT8_DECODE): Don't use `INLINE_HEADER'.
6 (UINT16_DECODE): Ditto.
8 * glyphs-eimage.c: (png_instantiate):
9 - Use `png_get_image_height (png_ptr, info_ptr)' instead of
11 - Use `png_get_image_width (png_ptr, info_ptr)' instead of
13 - Use `png_get_color_type(png_ptr, info_ptr)' instead of
14 `info_ptr->color_type'.
15 - Use `png_get_bit_depth(png_ptr, info_ptr)' instead of
16 `info_ptr->bit_depth'.
18 2011-07-20 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
20 * mule-charset.c (charset_code_point): If nil is specified as a
21 feature-value, don't find in mother and return -1.
23 2011-07-22 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
25 * chartab.c (Fput_char_attribute): Accept nil as a value of
26 CCS-feature [it means that specified object does not have
27 code-point of the CCS-feature].
29 2011-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * mule-charset.c (complex_vars_of_mule_charset): Use "jisx0208"
32 instead of "jisx0208\\.1990" as the X-registry of `=jis-x0208'.
34 2011-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * text-coding.c (char_encode_as_entity_reference): Don't use
37 `DECODE_CHAR' to detect isolated characters.
39 * mule-charset.c (charset_code_point): Change the third argument
40 `defined_only' to `accepted_mode'; `accepted_mode' can be
41 CHAR_ISOLATED_ONLY, CHAR_ALL or CHAR_DEFINED_ONLY.
43 * char-ucs.h (CHAR_ISOLATED_ONLY): New macro.
44 (CHAR_ALL): New macro.
45 (CHAR_DEFINED_ONLY): New macro.
47 2011-03-14 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
49 * chartab.c (Fchar_feature_base_name_eq): New function when
51 (Fput_char_attribute): Use `Fchar_feature_base_name_eq'.
52 (syms_of_chartab): Add new builtin function
53 `char-feature-base-name=' when UTF2000 is enabled.
55 2011-02-17 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
57 * text-coding.c (Vdecomposition_feature_list): New variable when
59 (char_encode_utf8): Refer variable `decomposition-feature-list'
60 instead of `=decomposition' feature.
61 (vars_of_file_coding): Add new variable
62 `decomposition-feature-list' when UTF2000 is defined.
64 2011-02-16 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
66 * chartab.c (Fput_char_attribute): Support `=decomposition@FOO' as
67 `=decomposition' feature.
69 2011-02-12 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
71 * mule-charset.c (Fmake_charset): Fix problem for 94^n or 96^n
72 coded-charsets with builtin characters.
74 2011-02-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
76 * text-coding.c (Qrep_decomposition): New extern.
77 (char_encode_utf8): Try to encode as combing sequence (or IVS).
79 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
82 "#endif" for code to refer Vchise_system_db_directory.
84 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
87 (Fconcord_object_adjoin): New function.
88 (Fconcord_object_adjoinX): New function.
89 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
90 `Fconcord_object_adjoinX'.
92 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 - Include "elconcord.h".
96 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
97 and `Fconcord_object_get' to elconcord.h.
98 (Lisp_CONCORD_DS): Moved to elconcord.h.
99 (struct Lisp_CONCORD_DS): Ditto.
100 (XCONCORD_DS): Ditto.
101 (XSET_CONCORD_DS): Ditto.
102 (CONCORD_DS_P): Ditto.
103 (CHECK_CONCORD_DS): Ditto.
104 (CONCHECK_CONCORD_DS): Ditto.
105 (Lisp_CONCORD_Object): Ditto.
106 (struct Lisp_CONCORD_Object): Ditto.
107 (XCONCORD_OBJECT): Ditto.
108 (XSET_CONCORD_OBJECT): Ditto.
109 (CONCORD_OBJECT_P): Ditto.
110 (CHECK_CONCORD_OBJECT): Ditto.
111 (CONCHECK_CONCORD_OBJECT): Ditto.
112 (CONCORD_OBJECT_GENRE): Ditto.
113 (CONCORD_OBJECT_ID): Ditto.
114 (XCONCORD_OBJECT_ID): Ditto.
115 (XCONCORD_OBJECT_GENRE): Ditto.
116 (concord_object_equal): New function.
117 (LRECORD_IMPLEMENTATION of "concord_object"): Use
118 `concord_object_equal'.
120 * elconcord.h: New file.
122 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * concord.c (print_concord_object): Use readable form even if
125 `print-readably' is nil.
127 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * concord.c (print_concord_object): Don't display location of
130 data-source when `print-readably' is nil.
132 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
135 the default location of data-source.
136 (complex_vars_of_concord): Use Vchise_system_db_directory to
137 assign genre `character' and `feature'.
139 * chartab.h (Vchise_system_db_directory): New extern when
140 HAVE_CONCORD is defined.
142 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
145 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
147 (Fconcord_object_genre): New function.
149 - Add new builtin symbols `character' and `feature' when
150 HAVE_LIBCHISE is defined.
151 - Add Add new builtin function `concord-object-genre'.
152 (complex_vars_of_concord): New function; assign genres `character'
153 and `feature' when HAVE_LIBCHISE is defined.
155 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * emacs.c (main_1): Call `complex_vars_of_concord' when
158 HAVE_CONCORD is defined.
160 * symsinit.h (complex_vars_of_concord): New prototype.
162 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * chartab.c (allocate_character): Add `static'.
166 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * chartab.c (allocate_character): New function.
169 (Fdefine_char): Use allocate_character().
171 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
176 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * chartab.c (save_uint8_byte_table): Fixed problem when a property
180 (save_uint16_byte_table): Likewise.
182 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * chartab.c (Fchar_feature_property): New function when LIBCHISE
186 (Fput_char_feature_property): Likewise.
187 (syms_of_chartab): Add new builtin functions
188 `char-feature-property' and `put-char-feature-property' when
191 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
195 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
197 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
200 (make_charset): Add new argument `iso_ir'.
201 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
202 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
204 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
205 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
207 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
208 function `make_charset'.
210 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
211 (struct Lisp_Charset): Add new member `iso_ir'.
212 (CHARSET_ISO_IR): New macro.
214 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
217 code-point by GL charset.
219 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * concord.c (concord_id_validate): New function.
222 (structure_type_create_concord): Use `concord_id_validate' instead
223 of `concord_name_validate' to accept integer and character as =id.
225 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * concord.c (func_for_each_object): Fix bug about GC-protection.
229 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * concord.c (Fconcord_object_put): Check argument FEATURE is a
234 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * text-coding.c (struct decoding_stream): Add new member
237 `bom_flag' in XEmacs CHISE.
238 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
241 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * mule-charset.c: Move definition of `=jis-x0208@1978' to
244 lisp/mule/mule-conf.el.
246 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
249 (make_charset): Add new argument `partial'.
250 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
251 (Fmake_reverse_direction_charset): Modify for `make_charset'.
252 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
254 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
255 `=jis-x0208' as a partial coded-charset.
257 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * text-coding.c (decode_add_er_char): Fix problem when a character
260 represented by an entity-reference is not defined.
262 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
267 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
272 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
275 is a relation feature.
277 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * chartab.c (syms_of_chartab): Define
280 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
282 * chartab.h (Q_denotational): New extern when UTF2000 or
283 HAVE_CONCORD is defined.
284 (Q_denotational_from): Likewise.
285 (Q_subsumptive): Likewise.
286 (Q_subsumptive_from): Likewise.
288 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * concord.c (concord_object_put): New function.
291 (Fconcord_object_put): Use `concord_object_put'.
293 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * concord.c (Fconcord_define_object): New function.
296 (syms_of_concord): Add new builtin function
297 `concord-define-object'.
299 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
304 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * concord.c: Add EXFUN for Fconcord_object_get.
307 (Vconcord_genre_object_hash_table): New variable.
308 (concord_genre_cache_get_object): New function.
309 (concord_genre_cache_put_object): New function.
310 (Fconcord_make_object): Use object cache; put object-ID into `=id'
312 (Fconcord_object_put): Call `concord_index_sync' after
313 `concord_index_strid_put_obj'.
314 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
316 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * concord.c (Fconcord_decode_object): Do GCPRO for
319 Fconcord_make_object.
320 (func_for_each_object): Likewise; do GCPRO for
321 for_each_object_closure->function.
322 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
323 for_each_object_closure->function, for_each_object_closure->genre,
324 for_each_object_closure->ds and for_each_object_closure->ret.
325 (concord_object_validate): Do GCPRO for Fconcord_make_object.
327 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * concord.c: Add EXFUNs for Fconcord_decode_object and
331 (Fconcord_make_object): Change order of arguments.
332 (Fconcord_decode_object): Modify for Fconcord_make_object.
333 (func_for_each_object): Likewise.
334 (concord_object_validate): Likewise.
335 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
337 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
341 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * concord.c (Fconcord_decode_object): Try to use readable print
344 form as a key of Concord-index.
345 (Fconcord_object_get): Try to use readable print form as an ID of
347 (Fconcord_object_put): Try to use readable print form as an ID of
348 Concord-object and a feature value.
349 (Fconcord_object_spec): Try to use readable print form as an ID of
352 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * concord.c (print_concord_object): Support readable form.
356 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * emacs.c (main_1): Call `structure_type_create_concord' when
359 HAVE_CONCORD is defined.
361 * symsinit.h (structure_type_create_concord): New prototype.
363 * concord.c (Qconcord_object): New variable.
366 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
368 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
369 char*> for genre-name.
370 (Fconcord_feature_list): Likewise.
371 (Fconcord_make_object): Likewise.
372 (Fconcord_decode_object): Likewise; use <char*> instead of
373 <unsigned char*> for feature_name and strid.
374 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
375 c_obj and feature_name.
376 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
378 (struct closure_for_object_spec): Use <char*> instead of <unsigned
379 char*> for member `object_id'.
380 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
381 char*> for feature-name.
382 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
384 (func_for_each_object): Cast to avoid warnings.
385 (Fconcord_foreach_object_in_feature): Use <char*> instead of
386 <unsigned char*> for genre_name and feature_name.
387 (concord_name_validate): New function.
388 (concord_object_validate): Likewise.
389 (concord_object_instantiate): Likewise.
390 (syms_of_concord): Add new builtin symbols `concord-object',
392 (structure_type_create_concord): New function.
394 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * concord.c (Vconcord_ds_hash_table): New variable.
397 (Vconcord_genre_hash_table): New variable.
398 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
399 (Fconcord_ds_directory): New function.
400 (Fconcord_assign_genre): New function.
401 (Fconcord_genre_directory): New function.
402 (Fconcord_genre_ds): New function.
403 (Fconcord_feature_list): Allow to omit `ds'.
404 (Fconcord_make_object): Likewise.
405 (Fconcord_decode_object): Likewise.
406 (Fconcord_foreach_object_in_feature): Likewise.
407 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
408 Fconcord_assign_genre, Fconcord_genre_directory and
410 (vars_of_concord): Setup Vconcord_ds_hash_table and
411 Vconcord_genre_hash_table.
413 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * concord.c (struct closure_for_each_object): Add new member
417 (func_for_each_object): Setup the return value to
418 `for_each_object_closure->ret'.
419 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
420 returns the value instead of Qt.
422 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * concord.c: New file.
426 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
429 `lrecord_type_concord_object'.
431 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * symsinit.h (syms_of_concord): New prototype.
434 (vars_of_concord): New prototype.
436 * emacs.c (main_1): Setup symbols and variable about concord if
437 HAVE_CONCORD is defined.
439 * config.h.in (HAVE_CONCORD): New macro.
441 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
443 * chartab.c (Fput_char_attribute): For each character relation
444 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
446 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * chartab.c (Fput_char_attribute): Use
449 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
450 calling `put_char_composition'.
452 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * chartab.c (Q_halfwidth_of): New variable.
455 (put_char_composition): Return `<-halfwidth' instead of
456 `=decomposition' for compatibility mapping to single character
458 (Fput_char_attribute): Convert char-specs in value of
459 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
460 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
462 (syms_of_chartab): Add new symbol `<-halfwidth'.
464 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * chartab.c (put_char_composition): Return
467 `<-formed@{isolated|initial|medial|final}' for compatibility
468 mapping to single character tagged
469 `{isolated|initial|medial|final}'.
471 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * chartab.c (Q_compat_of): Deleted.
474 (put_char_composition): Return `<-FOO' for compatibility mapping
475 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
476 of `symbol_name (XSYMBOL(...))'.
477 (Fput_char_attribute): Convert char-specs in value of
478 `{<-|->}font[^*]*' to characters and put reverse links.
479 (Fsave_char_attribute_table): Don't refer Q_compat_of.
480 (syms_of_chartab): Delete builtin symbol `<-compat'.
482 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * chartab.c (Q_circled_of): New variable.
485 (put_char_composition): Return `<-circled' instead of
486 `=decomposition' for compatibility mapping to single character
488 (Fput_char_attribute): Convert char-specs in value of
489 `{<-|->}circled[^*]*' to characters and put reverse links.
490 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
492 (syms_of_chartab): Add new symbol `<-circled'.
494 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * chartab.c (Qto_decomposition_at_circled): New variable.
497 (put_char_composition): Return `=>decomposition@circled' instead
498 of `=decomposition' for compatibility decomposition mapping tagged
500 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
502 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * chartab.c (Q_subscript_of): New variable.
505 (put_char_composition): Return `<-subscript' instead of
506 `=decomposition' for compatibility mapping to single character
508 (Fput_char_attribute): Convert char-specs in value of
509 `{<-|->}subscript[^*]*' to characters and put reverse links.
510 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
512 (syms_of_chartab): Add new symbol `<-subscript'.
514 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * chartab.c (Q_superscript_of): New variable.
517 (put_char_composition): Return `<-superscript' instead of
518 `=decomposition' for compatibility mapping to single character
520 (Fput_char_attribute): Convert char-specs in value of
521 `{<-|->}superscript[^*]*' to characters and put reverse links.
522 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
524 (syms_of_chartab): Add new symbol `<-superscript'.
526 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * chartab.c (Qto_decomposition_at_compat): Deleted.
529 (Qto_decomposition_at_superscript): New variable.
530 (put_char_composition): Use `=>decomposition@superscript' instead
531 of `=decomposition' for compatibility decomposition mapping tagged
533 (Fput_char_attribute): Fix condition about `put_char_composition'.
534 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
535 add news symbol `=>decomposition@superscript'.
537 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
540 for compatibility decomposition mapping tagged FOO.
541 (Fput_char_attribute): Modify for `put_char_composition'.
543 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * chartab.c (Qto_decomposition_at_compat): New variable.
546 (Q_compat_of): Renamed from `Q_compatibility_of'.
547 (put_char_composition): Rename `Q_compatibility_of' to
548 `Q_compat_of'; return `=>decomposition@compat' for compatibility
549 decomposition mapping.
550 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
552 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
553 `<-compatibility' to `<-compat'.
555 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * chartab.c (Q_compatibility_of): New variable.
558 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
559 object is proved to be a cons cell; return `<-compatibility' if
560 the first element of argument `value' is `compat'.
561 (Fput_char_attribute): Eliminate the first value if
562 `put_char_composition' returns `<-compatibility'.
563 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
564 for `<-compatibility'.
565 (syms_of_chartab): Add new symbol `<-compatibility'.
567 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
569 * chartab.c (Q_canonical): New variable.
570 (put_char_composition): Return a feature name: return
571 `->canonical' if argument `value' specifies single character.
572 (Fput_char_attribute): Use `put_char_composition' to determine
573 feature name for `=decomposition' or `->denotational'.
574 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
576 (syms_of_chartab): Add new symbol `->canonical'.
578 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
580 * chartab.c (Qmap_decomposition): New variable.
581 (Fput_char_attribute): Convert `->decomposition' to
583 (syms_of_chartab): Add new symbol `=decomposition'.
585 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * chartab.c (Fget_range_char_table): Fix serious problem when
590 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * chartab.c (char_table_get_db): Use `read_from_c_string'.
594 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * lread.c (read_from_c_string): New function.
598 * lisp.h (read_from_c_string): New prototype.
600 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * chartab.c (Fput_char_attribute): Convert char-specs in value of
603 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
604 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
605 for `{<-|->}Oracle-Bones[^*]*'.
607 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
609 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
612 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
614 * text-coding.c (Qccs_priority_list): New variable in XEmacs
616 (Fmake_coding_system): Support new property `ccs-priority-list' in
618 (Fcoding_system_property): Likewise.
619 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
620 Vdefault_coded_charset_priority_list in XEmacs CHISE.
621 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
623 (complex_vars_of_file_coding): Define new coding-system-property
624 `ccs-priority-list' in XEmacs CHISE.
626 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
628 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
631 changed to normal function.
632 (encode_char_2): Likewise.
634 * mule-charset.c (decoding_table_put_char): Copied from
635 char-ucs.h; changed to normal function.
636 (encode_char_2): Likewise.
638 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
642 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
643 (encode_char_2_search_children): New inline function.
644 (encode_char_2): Refer
645 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
646 and use `encode_char_2_search_children'.
648 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
652 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
653 (vars_of_mule_charset): Add new variable
654 `display-coded-charset-priority-use-inheritance' and
655 `display-coded-charset-priority-use-hierarchy-order'.
657 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * char-ucs.h (Q_subsumptive): New extern.
660 (Q_denotational): Likewise.
661 (encode_char_2): Search children specified by `->subsumptive' and
664 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * mule-charset.c (complex_vars_of_mule_charset): Modify the
667 X-registry of `ucs-bmp'.
669 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * chartab.c (char-variants): Refer `->subsumptive',
672 `->denotational' and `->identical' as same as `->ucs-unified'.
674 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * chartab.c (Fput_char_attribute): Convert char-specs in value of
677 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
680 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * text-coding.c: Add EXFUN for `Fregexp_quote'.
683 (decode_add_er_char): Fix problem about infinite loop when a CCS
684 specified in `coded-charset-entity-reference-alist' is not
687 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * mule-charset.c (syms_of_mule_charset): Rename
690 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
692 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * fns.c (simplify_char_spec): Don't allocate new character-object
695 if specified char_spec does not have any CCS-features.
697 * chartab.h: Add EXFUN for Fdefine_char.
699 * chartab.c: Delete EXFUN for Fdefine_char.
701 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * fns.c (simplify_char_spec): Use Fdefine_char instead of
704 Ffind_char for char-spec.
706 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * lisp-disunion.h (XCHARVAL): Fix condition about
711 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
715 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
716 point; use <Emchar> instead of <int> for character-id.
718 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
721 (make_char): Likewise.
722 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
724 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
725 instead of <int> as the type of return value; use <Lisp_Object>
726 instead of <Emchar> as the type of argument.
727 (XCHARVAL[macro version]): Cast the result into <Emchar>.
729 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
730 syntaxcode> instead of <int>.
732 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * chartab.c (put_char_composition): Use DECODE_CHAR to get
735 character corresponding with UCS code point.
736 (Fput_char_attribute): Likewise.
738 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
739 character in the UCS decoding-table if the char-id is not equal to
742 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
744 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
745 for aliases; write `description'; write
746 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
749 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * chartab.c (Fsave_char_attribute_table): Don't use
752 `save_charset_properties'.
754 * mule-charset.c (Fsave_charset_properties): Renamed from
755 `save_charset_properties' and changed to Lisp function again;
756 write property `type' as `CCS'; write properties `final-byte' and
757 `mother' if they exists.
758 (syms_of_mule_charset): Revive builtin function
759 `save-charset-properties' when HAVE_LIBCHISE is defined.
761 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
764 instead of Vexec_directory.
765 (char_attribute_system_db_file): Likewise.
767 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * chartab.c (Fsave_char_attribute_table): Use
770 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
773 * mule-charset.c (save_charset_properties): Renamed from
774 `Fsave_charset_properties'; changed to non-Lisp function.
775 (syms_of_mule_charset): Abolish builtin function
776 `save-charset-properties'.
778 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * mule-charset.c (Fsave_charset_properties): New function when
781 HAVE_LIBCHISE is defined.
782 (syms_of_mule_charset): Add new builtin function
783 `save-charset-properties' when HAVE_LIBCHISE is defined.
785 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.c (Fput_char_attribute): Convert char-specs in value of
788 `{<-|->}ancient[^*]*' to characters and put reverse links.
789 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
790 for `{<-|->}ancient[^*]*'.
792 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
794 * chartab.c (Fput_char_attribute): Convert char-specs in value of
795 `{<-|->}original[^*]*' to characters and put reverse links.
796 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
797 for `{<-|->}original[^*]*'.
799 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
803 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * mule-charset.c (Qsystem_char_id): New variable.
807 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
808 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
810 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * chartab.c (Fput_char_attribute): When processing a reference of
813 a character, put into the end of the reversed reference of each
816 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
818 * chartab.c (Q_same): Deleted.
819 (Q_same_of): Deleted.
820 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
821 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
823 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
825 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * chartab.c (Q_vulgar): Deleted.
828 (Q_vulgar_of): Deleted.
829 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
830 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
832 (syms_of_chartab): Don't define `{<-|->}vulgar'.
834 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * chartab.c (Fput_char_attribute): Convert char-specs in value of
837 `{<-|->}wrong[^*]*' to characters and put reverse links.
838 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
839 for `{<-|->}wrong[^*]*'.
841 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
843 * chartab.c (Q_vulgar): New variable.
844 (Q_vulgar_of): New variable.
845 (Fput_char_attribute): Convert char-specs in value of
846 `{->|<-}vulgar' to characters and put reverse links.
847 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
849 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
851 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * text-coding.c (decode_add_er_char): Must to quote prefix string
856 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
858 * mule-charset.c (put_char_ccs_code_point): Store characters of
859 =ucs whose code_points >= 0xF0000.
861 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
865 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
867 (complex_vars_of_mule_charset): Add new coded-charset
868 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
869 builtin characters over 0xEFFFF.
871 * chartab.c (syms_of_chartab): Don't define symbol
872 `system-char-id' in every case.
874 * char-ucs.h (Qsystem_char_id): New extern variable.
875 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
877 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
879 * text-coding.c (char_encode_utf8): Try to use entity-references
880 for U-000F0000 ... U-0010FFFF.
882 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
884 * text-coding.c (ER_BUF_SIZE): New macro.
885 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
887 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
888 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
890 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * chartab.c (find_char_feature_in_family): New function.
893 (Fchar_feature): Use `find_char_feature_in_family' with
894 `->identical', `<-subsumptive' and `<-denotational'.
896 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * text-coding.c (char_encode_as_entity_reference): Allow prefix
899 within 8 characters; fix infinite loop.
901 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * chartab.c (Q_same): New variable.
904 (Q_same_of): New variable.
905 (Fput_char_attribute): Convert char-specs in value of
906 `{->|<-}same' to characters and put reverse links.
907 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
909 (syms_of_chartab): Add new symbols `{->|<-}same'.
911 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.c (Q_component): New variable.
914 (Q_component_of): Likewise.
915 (Fput_char_attribute): Convert char-specs in value of
916 `{->|<-}ideographic-component-forms' to characters and put reverse
918 (syms_of_chartab): Add new symbols
919 `{->|<-}ideographic-component-forms'.
921 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
923 * chartab.c (Q_identical): New variable.
924 (Q_identical_from): New variable.
925 (Fchar_feature): Regard `->identical' as a feature to find
927 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
928 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
929 for `{->|<-}identical'.
930 (syms_of_chartab): Add new symbols `{->|<-}identical'.
932 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * char-ucs.h (encode_char_2): New inline function.
935 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
937 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * chartab.c (Fput_char_attribute): Convert char-specs to
940 characters in value of `ideographic-structure'.
941 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
942 for `{<-|->}simplified(@...)'.
943 (Fdefine_char): Try to use predefined character's id.
945 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
947 * fns.c (simplify_char_spec): Try to convert builtin chars to
950 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
952 * chartab.c (Fput_char_attribute): Convert char-specs in value of
953 `<-simplified[^*]*' to characters and put reverse links.
955 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
957 * chartab.c (Q_subsumptive): Renamed from Q_unified.
958 (Q_subsumptive_from): Renamed from Q_unified_from.
959 (Fchar_feature): Use `Q_subsumptive_from' instead of
961 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
963 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
964 `<-unified' to `<-subsumptive'.
966 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
968 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
969 inheritance itself; fix typo; stop recursive search if cyclic
970 inheritance is found.
972 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * chartab.c (Q_denotational): New variable.
975 (Q_denotational_from): New variable.
976 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
977 (put_char_attribute): New function.
978 (Fput_char_attribute): Use `put_char_attribute'; regard
979 `->denotational' and `<-denotational' as same as `->unified' and
981 (syms_of_chartab): Add new symbols `->denotational' and
984 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
986 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
987 `Fget_char_attribute'.
988 (Fchar_variants): Likewise.
989 (get_char_table): Likewise.
990 (Fchar_feature): New function.
991 (put_char_composition): Use `Fchar_feature' instead of
992 `Fget_char_attribute'.
993 (Fput_char_attribute): Likewise; don't put the target character
994 into its `->unified' value.
995 (syms_of_chartab): Add new builtin function `char-feature'.
997 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
1000 `Fget_char_attribute'.
1001 (char_encode_utf8): Likewise.
1003 * chartab.h: Add an EXFUN for `Fchar_feature'.
1005 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * chartab.c (Vnext_defined_char_id): New variable.
1008 (Fput_char_attribute): Accept characters in `->unified'.
1009 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
1010 new characters which are not related with builtin char-id ranges.
1011 (vars_of_chartab): Add new variable `next-defined-char-id'.
1013 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1015 * chartab.c (Q_unified): New variable.
1016 (Q_unified_from): New variable.
1017 (Fput_char_attribute): Add code for `->unified'.
1018 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
1021 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1023 * mule-charset.c (decode_ccs_conversion): New function.
1024 (decode_defined_char): Use `decode_ccs_conversion'.
1025 (decode_builtin_char): Likewise.
1027 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1029 * char-ucs.h: Change some charset-ids of private coded-charsets.
1031 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
1034 (char_encode_as_entity_reference): Likewise.
1035 (decode_coding_big5): Modify for `decode_defined_char' and
1037 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
1038 avoid compiler warning.
1039 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
1041 * mule-charset.c (decode_defined_char): Add new argument
1042 `without_inheritance'.
1043 (Fdecode_char): Add new optional argument `without_inheritance'.
1044 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1046 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
1047 (simplify_char_spec): Likewise.
1049 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
1052 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
1053 (map_char_table): Likewise.
1054 (Fdefine_char): Use `Fdecode_char' without inheritance.
1055 (Ffind_char): Modify for `Fdecode_char'.
1057 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
1059 * char-ucs.h (decode_defined_char): Add new argument
1060 `without_inheritance'.
1061 (DECODE_CHAR): Likewise.
1062 (MAKE_CHAR): Modify for `DECODE_CHAR'.
1064 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * chartab.c (Vchise_system_db_directory): New variable.
1067 (vars_of_chartab): Add new variable `chise-system-db-directory'.
1069 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * chartab.c: EXFUN `Fmount_char_attribute_table'.
1072 (print_chartab_range): Don't define when `UTF2000' is defined.
1073 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
1076 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1078 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1079 and optional argument `rehash' is specified, call
1080 `open_chise_data_source_maybe' before
1081 `chise_ds_foreach_char_feature_name' is called.
1083 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * chartab.c (char_attribute_list_reset_map_func): New function
1086 when HAVE_LIBCHISE is defined.
1087 (Fchar_attribute_list): Add new optional argument `rehash' when
1088 HAVE_LIBCHISE is defined.
1089 (open_chise_data_source_maybe): Use "chise-db" instead of
1091 (char_attribute_system_db_file): Likewise.
1092 (Fload_char_attribute_table): Use
1093 `chise_feature_foreach_char_with_value' instead of
1094 `chise_char_feature_value_iterate'.
1096 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * chartab.c (Vchise_db_directory): New variable.
1099 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1101 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1103 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1104 instead of HAVE_CHISE to specify using with libchise.
1106 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1108 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1110 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1111 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1112 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1114 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1115 HAVE_CHISE to specify using with libchise.
1116 (syms_of_chartab): Don't define symbol `system-char-id' when
1117 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1119 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1121 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1122 specify CHISE DB support.
1123 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1124 of `char_attribute_system_db_file' to check feature DB file.
1126 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1127 HAVE_CHISE_CLIENT to specify CHISE DB support.
1129 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1130 specify CHISE DB support.
1131 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1133 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1134 instead of `char_attribute_system_db_file' to check feature DB
1137 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1140 `HAVE_CHISE_CLIENT'.
1142 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1145 (Fsave_charset_mapping_table): Don't use
1146 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1148 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1149 (HAVE_LIBCHISE): New macro.
1151 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1153 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1154 (Fsave_char_attribute_table): Don't use
1155 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1157 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1161 (save_uint16_byte_table): Likewise.
1162 (save_byte_table): Likewise.
1163 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1164 instead of `chise_char_load_feature_value'.
1165 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1167 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1169 * chartab.h (struct Lisp_Char_Table): Delete member
1170 `feature_table' if CHISE is defined.
1172 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1173 (Fcopy_char_table): Likewise.
1174 (char_table_open_db_maybe): Likewise.
1175 (char_table_close_db_maybe): Likewise.
1176 (char_table_get_db): Likewise.
1177 (Fmount_char_attribute_table): Likewise.
1178 (Fload_char_attribute_table): Likewise.
1180 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * mule-charset.c (load_char_decoding_entry_maybe): Use
1183 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1186 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1188 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1189 instead of `chise_open_data_source'.
1190 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1193 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1196 instead of `chise_ds_open_feature_table'.
1197 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1199 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * mule-charset.c (Fsave_charset_mapping_table): Use
1202 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1203 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1204 `chise_ccs_sync' instead of `chise_ccst_close'.
1205 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1207 * chartab.c (open_chise_data_source_maybe): Modify for
1208 `chise_open_data_source'.
1209 (char_table_open_db_maybe): Modify for
1210 `chise_ds_open_feature_table'.
1212 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1214 * mule-charset.c (load_char_decoding_entry_maybe): Use
1215 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1218 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1220 * mule-charset.c (Fsave_charset_mapping_table): Use
1221 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1222 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1223 `chise_dt_put_char' and `chise_dt_close'.
1224 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1225 `chise_ccs_decode' and `chise_ccst_close' instead of
1226 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1229 * chartab.c (char_table_get_db): Use
1230 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1231 (load_char_attribute_table_map_func): Modify for
1232 `chise_char_feature_value_iterate'.
1233 (Fload_char_attribute_table): Use
1234 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1236 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1240 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1242 * chartab.c (put_char_table): Modify for inherited coded-charsets
1245 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1247 * chartab.c (Fput_char_table_map_function): Fixed.
1248 (word_boundary_p): Don't check charset in XEmacs CHISE.
1250 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (Fsave_charset_mapping_table): Use
1253 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1254 instead of `chise_open_decoding_table'; refer
1255 `default_chise_data_source'; use `chise_dt_close' instead of
1256 `chise_close_decoding_table'.
1257 (load_char_decoding_entry_maybe): Likewise.
1259 * chartab.c (default_chise_data_source): New variable when `CHISE'
1261 (Fcopy_char_table): `ct->ds' is deleted.
1262 (open_chise_data_source_maybe): New function.
1263 (Fclose_char_data_source): New function.
1264 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1265 use `chise_ds_open_feature_table' instead of
1266 `chise_open_feature_table'.
1267 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1268 `chise_close_feature_table'; `cit->ds' is deleted.
1269 (syms_of_chartab): Add new builtin function
1270 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1272 * chartab.h (default_chise_data_source): New extern variable.
1273 (open_chise_data_source_maybe): New prototype.
1274 (struct Lisp_Char_Table): Delete `ds'.
1276 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1278 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1281 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1283 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1284 not defined; add code for non-libchise setting.
1285 (char_table_close_db_maybe): Likewise.
1286 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1288 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1289 even if `CHISE' is not defined.
1290 (Freset_char_attribute_table): Likewise.
1291 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1292 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1293 `char_table_get_db'.
1294 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1295 `char_table_close_db_maybe' even if `CHISE' is not defined.
1297 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1299 * chartab.c (char_table_open_db_maybe): New function.
1300 (char_table_close_db_maybe): New function.
1301 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1302 (Freset_char_attribute_table): Likewise.
1303 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1304 `char_table_close_db_maybe'.
1305 (Fload_char_attribute_table): Likewise.
1307 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1309 * chartab.c: Don't include <chise.h> because it is included in
1311 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1313 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1315 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1317 (Fclose_char_attribute_table): Close `ct->feature_table' and
1318 `ct->ds' when `CHISE' is defined.
1319 (Freset_char_attribute_table): Likewise.
1320 (load_char_attribute_maybe): Use `cit->ds' and
1321 `cit->feature_table' when `CHISE' is defined.
1322 (Fload_char_attribute_table): Likewise.
1324 * chartab.h: Include <chise.h> when `CHISE' is defined.
1325 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1326 when `CHISE' is defined.
1328 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1332 (char_table_description): Likewise.
1333 (Fmake_char_table): Likewise.
1334 (Fcopy_char_table): Likewise.
1335 (Fmount_char_attribute_table): Likewise.
1336 (Fclose_char_attribute_table): Likewise.
1337 (Freset_char_attribute_table): Likewise.
1338 (load_char_attribute_maybe): Likewise.
1339 (Fload_char_attribute_table): Likewise.
1341 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1344 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1346 * chartab.c (load_char_attribute_table_map_func): New function
1347 when CHISE is defined.
1348 (Qload_char_attribute_table_map_function): Don't define when CHISE
1350 (Fload_char_attribute_table_map_function): Likewise.
1351 (Fload_char_attribute_table): Use libchise when `CHISE' is
1353 (syms_of_chartab): Don't define
1354 `load-char-attribute-table-map-function' when CHISE is defined.
1356 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1358 * chartab.c: Include <chise.h> when `CHISE' is defined.
1359 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1361 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1363 * mule-charset.c (charset_code_point): Fix problem when searching
1364 in mother CCS fails with `defined_only' mode.
1366 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1368 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1369 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1370 (put_char_composition): Likewise.
1371 (Fput_char_attribute): Likewise.
1372 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1374 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1376 * chartab.c (Q_ucs): Deleted.
1377 (Fput_char_attribute): Don't refer `->ucs'.
1378 (Fdefine_char): Likewise.
1379 (Ffind_char): Likewise.
1380 (syms_of_chartab): Delete `->ucs'.
1382 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1384 * mule-charset.c (Qmap_cns11643_2): Renamed from
1385 `Qchinese_cns11643_2'.
1386 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1387 `chinese-cns11643-2'.
1388 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1391 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1393 * mule-charset.c (Qmap_cns11643_1): Renamed from
1394 `Qchinese_cns11643_1'.
1395 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1396 `chinese-cns11643-1'.
1397 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1400 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1403 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1405 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1408 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1410 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1411 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1413 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1416 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1418 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1419 (syms_of_mule_charset): Add new symbol `=big5' instead of
1421 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1423 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1426 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1428 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1431 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1433 * mule-charset.c (Qmap_jis_x0212): Renamed from
1434 `Qjapanese_jisx0212'.
1435 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1436 `japanese-jisx0212'.
1437 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1440 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1442 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1443 `Qjapanese_jisx0208'.
1444 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1445 of `japanese-jisx0208'.
1446 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1449 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1452 `Qjapanese_jisx0208_1978'.
1453 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1454 of `japanese-jisx0208-1978'.
1455 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1458 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1460 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1461 only for XEmacs CHISE.
1463 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1465 * char-ucs.h: Compact non-ISO-IR charset-ids.
1466 (LEADING_BYTE_UCS): Changed to -177.
1467 (LEADING_BYTE_CONTROL_1): Changed to -77.
1468 (LEADING_BYTE_UCS_BMP): Changed to -176.
1469 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1471 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * mule-charset.c (Qiso_ir): New variable.
1474 (Fmake_charset): Recognise new property `iso-ir'.
1475 (syms_of_mule_charset): Add new symbol `iso-ir'.
1477 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1480 n to -n; charset-id of non ISO-IR sets are changed to positive
1483 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1485 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1486 for &MCS-XXXXXXXX; values.
1488 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1490 * mule.c (Vxemacs_chise_version): Renamed from
1491 `Vutf_2000_version'.
1492 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1493 `utf-2000-version' as an alias for `xemacs-chise-version'.
1495 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1498 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1501 * config.h.in (CHISE): New macro.
1503 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1505 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1507 (Qmap_ucs): New variable.
1508 (syms_of_mule_charset): Add new symbol `=ucs'.
1509 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1511 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1512 (simplify_char_spec): Likewise.
1514 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1516 * char-ucs.h (Qmap_ucs): New extern variable.
1518 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1521 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1522 don't define it when UTF2000 is not defined.
1523 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1524 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1525 when UTF2000 is not defined.
1526 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1527 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1529 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1531 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1533 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1535 (syms_of_mule_charset): Delete `ucs-gb'.
1536 (complex_vars_of_mule_charset): Likewise.
1538 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1540 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1542 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1543 (Qucs_cns): Deleted.
1544 (syms_of_mule_charset): Delete `ucs-cns'.
1545 (complex_vars_of_mule_charset): Likewise.
1547 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1549 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1551 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1552 (Qucs_jis): Deleted.
1553 (syms_of_mule_charset): Delete `ucs-jis'.
1554 (complex_vars_of_mule_charset): Likewise.
1556 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1558 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1560 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1562 (syms_of_mule_charset): Delete `ucs-ks'.
1563 (complex_vars_of_mule_charset): Likewise.
1565 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1567 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1568 (Qideograph_daikanwa_2): Deleted.
1569 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1570 (complex_vars_of_mule_charset): Likewise.
1572 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1573 (LEADING_BYTE_DAIKANWA_1): Deleted.
1574 (LEADING_BYTE_DAIKANWA_2): Deleted.
1575 (MIN_CHAR_DAIKANWA): Deleted.
1576 (MAX_CHAR_DAIKANWA): Deleted.
1578 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1580 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1581 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1582 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1584 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1585 (Vcharset_ideograph_daikanwa): Deleted.
1586 (Qideograph_hanziku_{1..12}): Deleted.
1587 (Qideograph_daikanwa): Deleted.
1588 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1589 Vcharset_ideograph_daikanwa.
1590 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1591 `ideograph-hanziku-{1..12}'.
1592 (complex_vars_of_mule_charset): Likewise.
1594 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1598 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1599 (Qideograph_gt_pj_{1..11}): Deleted.
1600 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1601 (complex_vars_of_mule_charset): Likewise.
1603 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1606 (Vcharset_ideograph_gt): Deleted.
1607 (Qucs_big5): Deleted.
1608 (Qideograph_gt): Deleted.
1609 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1611 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1614 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1615 (LEADING_BYTE_GT): Deleted.
1616 (MIN_CHAR_GT): Deleted.
1617 (MAX_CHAR_GT): Deleted.
1619 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1621 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1623 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1625 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1626 (save_uint16_byte_table): Likewise.
1627 (save_byte_table): Likewise; convert values by it.
1628 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1629 for `ideographic-structure'.
1630 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1631 as the filter for `ideographic-structure'.
1633 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1635 * chartab.c (put_char_composition): New function.
1636 (Fput_char_attribute): Use `put_char_composition'; use
1637 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1639 * fns.c (simplify_char_spec): New function.
1640 (char_ref_simplify_spec): New function.
1641 (Fchar_refs_simplify_char_specs): New function.
1642 (syms_of_fns): Add new builtin function
1643 `char-refs-simplify-char-specs'.
1645 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1647 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1648 (Qideograph_cbeta): Deleted.
1649 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1650 (complex_vars_of_mule_charset): Likewise.
1652 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1653 (MIN_CHAR_CBETA): Comment out.
1654 (MAX_CHAR_CBETA): Likewise.
1656 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1658 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1659 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1660 CHISE client feature.
1662 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1664 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1666 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1668 * mule-charset.c (charset_lookup_description_1): Use
1669 `NUM_LEADING_BYTES' in UTF-2000.
1671 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1673 * char-ucs.h (GC_CHARSETP): Deleted.
1675 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1677 * char-ucs.h (MAX_CHAR_GT): Updated.
1679 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1681 * text-coding.c: Sync with XEmacs 21.4.10.
1683 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1685 * mule-charset.c (Vcharset_china3_jef): Deleted.
1686 (Qchina3_jef): Deleted.
1687 (syms_of_mule_charset): Don't define `china3-jef'.
1688 (complex_vars_of_mule_charset): Likewise.
1690 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1691 (MIN_CHAR_CHINA3_JEF): Comment out.
1692 (MAX_CHAR_CHINA3_JEF): Comment out.
1694 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * mule-charset.c (Vcharset_ucs_gb): New variable.
1697 (Qucs_gb): New variable.
1698 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1699 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1701 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1703 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1705 * mule-charset.c (charset_code_point): if a coded-charset has a
1706 final-byte, don't inherit the builtin range of the mother CCS.
1708 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * mule-charset.c (charset_code_point): Fix problem about
1713 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1715 * mule-charset.c (decode_builtin_char): Reorganized.
1717 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1719 * text-coding.c (char_encode_as_entity_reference): Modify for
1720 `charset_code_point'.
1721 (char_encode_shift_jis): Likewise.
1722 (char_encode_big5): Likewise.
1723 (char_encode_utf8): Likewise.
1724 (char_encode_iso2022): Likewise.
1726 * mule-charset.c (charset_code_point): Add new argument
1728 (Fencode_char): Add new optional argument `defined_only'.
1730 * chartab.c (put_char_table): Modify for `charset_code_point'.
1732 * char-ucs.h (charset_code_point): Add new argument
1734 (encode_char_1): Modify for `charset_code_point'.
1736 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1738 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1739 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1741 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1743 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1744 (Qjis_x0208): Likewise.
1745 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1746 XCHARSET_FINAL(charset).
1747 (charset_code_point): Modify condition for final-byte based
1749 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1750 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1751 in UTF-2000; specify `=jis-x0208' as the mother of
1752 `japanese-jisx0208-1978', `japanese-jisx0208' and
1753 `japanese-jisx0208-1990' in UTF-2000.
1755 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1757 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1759 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1761 * text-coding.c (decode_coding_utf16): Support UTF-16.
1762 (char_encode_utf16): Fixed.
1764 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1766 * text-coding.c (Qutf16): New variable in MULE.
1767 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1768 (Fcoding_system_type): Add `utf-16' in MULE.
1769 (struct detection_state): Add a structure for utf16 in MULE.
1770 (detect_coding_type): Setup st->utf16.mask in MULE.
1771 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1773 (reset_encoding_stream): Use `char_encode_utf16' and
1774 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1775 (detect_coding_utf16): New function [incomplete].
1776 (decode_coding_utf16): New function [support only UCS-2].
1777 (char_encode_utf16): New function.
1778 (char_finish_utf16): New function.
1779 (syms_of_file_coding): Add new symbol `utf-16'; setup
1780 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1782 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1784 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1785 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1787 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1789 * chartab.c (put_char_table): When a charset is specified as a
1790 range in UTF-2000, don't support builtin characters.
1792 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1794 * mule-charset.c (decode_defined_char): Don't refer external
1795 database if Qunbound or Qnil are found.
1796 (Fsave_charset_mapping_table): Don't define it if
1797 HAVE_CHISE_CLIENT is not defined.
1798 (Freset_charset_mapping_table): New function.
1799 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1800 found in external database.
1801 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1802 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1803 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1805 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1807 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1810 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1812 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1813 Q_lowercase, Q_uppercase in UTF-2000.
1815 * chartab.c (get_char_table): Add special code for the standard
1816 case table to use character attribute `->downcase' and
1817 `->uppercase' for case operations in UTF-2000.
1819 * casetab.c (Qflippedcase): New variable in UTF-2000.
1820 (Q_lowercase): Likewise.
1821 (Q_uppercase): Likewise.
1822 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1823 and `->uppercase' in UTF-2000.
1824 (complex_vars_of_casetab): Assign attribute name `downcase' to
1825 downcase and CANON table of Vstandard_case_table in UTF-2000;
1826 assign attribute name `flippedcase' to upcase and EQV table of
1827 Vstandard_case_table in UTF-2000.
1829 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1831 * text-coding.c (decode_add_er_char): Support isolated-chars.
1832 (char_encode_as_entity_reference): Likewise.
1834 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * emacs.c (Vutf_2000_lisp_directory): New variable.
1837 (Vconfigure_utf_2000_lisp_directory): Likewise.
1838 (complex_vars_of_emacs): Add new variable
1839 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1841 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1843 * char-ucs.h (DECODE_CHAR): Delete special code for
1844 `chinese-big5-1' and `chinese-big5-2'.
1846 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1847 (Qbig5_2): Likewise.
1848 (decode_defined_char): Support CONVERSION_BIG5_1 and
1850 (decode_builtin_char): Likewise.
1851 (charset_code_point): Likewise.
1852 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1853 'conversion in UTF-2000.
1854 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1855 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1856 `chinese-big5-2' as children of `chinese-big5'.
1858 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1859 (CONVERSION_BIG5_2): New macro.
1861 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1863 * text-coding.c (char_encode_big5): Support entity-reference.
1865 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1867 * text-coding.c (char_encode_as_entity_reference): New function.
1868 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1870 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1872 * text-coding.c (decode_coding_big5): Support entity-reference
1875 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * text-coding.c (allocate_coding_system): Initialize initial
1878 charsets for CODESYS_UTF8.
1879 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1880 charset-g2 for CODESYS_UTF8.
1881 (decode_coding_utf8): Use charset-g0.
1882 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1883 to force variants to map to UCS.
1885 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1887 * text-coding.c (Qutf_8_mcs): New variable.
1888 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1889 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1890 instead of `utf-8' in UTF-2000.
1892 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1894 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1895 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1896 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1897 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1898 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1899 CONVERSION_96x96x96x96 are introduced.
1900 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1901 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1902 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1904 * char-ucs.h (CONVERSION_94): New macro.
1905 (CONVERSION_96): New macro.
1906 (CONVERSION_94x94): New macro.
1907 (CONVERSION_96x96): New macro.
1908 (CONVERSION_94x94x94): New macro.
1909 (CONVERSION_96x96x96): New macro.
1910 (CONVERSION_94x94x94x60): New macro.
1911 (CONVERSION_94x94x94x94): New macro.
1912 (CONVERSION_96x96x96x96): New macro.
1914 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1916 * chartab.c (Vcharacter_variant_table): Deleted.
1917 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1918 of `Vcharacter_variant_table'.
1919 (Fput_char_attribute): Likewise.
1920 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1921 (complex_vars_of_chartab): Likewise.
1923 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1925 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1927 * fns.c (Qideographic_structure): New variable.
1928 (Qkeyword_char): New variable.
1929 (ids_format_unit): New function.
1930 (Fideographic_structure_to_ids): New function.
1931 (syms_of_fns): Add new symbols `ideographic-structure' and
1932 `:char'; add new builtin function `ideographic-structure-to-ids'.
1934 * data.c (Fchar_ref_p): New function.
1935 (syms_of_data): Add new builtin function `char-ref-p'.
1937 * chartab.h: Add an EXFUN for `Ffind_char'.
1939 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * text-coding.c (Vcharacter_composition_table): Deleted.
1942 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1945 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1947 (Vcharacter_composition_table): Deleted.
1948 (Fget_composite_char): Use the implementation for external-DB
1949 support in every UTF-2000.
1950 (Fput_char_attribute): Likewise.
1951 (char_attribute_system_db_file): Don't define if external-DB
1952 feature is not available.
1953 (Fsave_char_attribute_table): Likewise.
1954 (Fmount_char_attribute_table): Likewise.
1955 (Fclose_char_attribute_table): Likewise.
1956 (Freset_char_attribute_table): Likewise.
1957 (Fload_char_attribute_table): Likewise.
1958 (syms_of_chartab): Don't define `save-char-attribute-table',
1959 `mount-char-attribute-table', `reset-char-attribute-table',
1960 `close-char-attribute-table' and `load-char-attribute-table' if
1961 external-DB feature is not available.
1962 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1964 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1966 * text-coding.c (Qcomposition): Add extern if external-DB feature
1968 (Vcharacter_composition_table): Don't add extern if external-DB
1969 feature is supported.
1970 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1971 character composition rule if external-DB feature is supported.
1973 * chartab.c (Vcharacter_composition_table): Don't define if
1974 external-DB feature is supported.
1975 (Qcomposition): New variable.
1976 (Fget_composite_char): New implementation for external-DB support.
1977 (Fput_char_attribute): Use `composition' property of each
1978 character instead of `Vcharacter_composition_table' to store
1979 character-composition rules if external-DB feature is supported.
1980 (syms_of_chartab): Add new symbol `composition'.
1981 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1982 external-DB feature is supported.
1984 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1986 * chartab.c (Vchar_db_stingy_mode): New variable.
1987 (load_char_attribute_maybe): Close database if
1988 Vchar_db_stingy_mode is not NIL.
1989 (Fload_char_attribute_table_map_function): Use
1990 `get_char_id_table_0' instead of `get_char_id_table'.
1991 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1993 * chartab.h (get_char_id_table_0): New inline function.
1994 (get_char_id_table): Use `get_char_id_table_0'.
1996 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1998 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1999 and `COMPOSE_ADD_CHAR'.
2000 (decode_coding_iso2022): Use `decode_flush_er_chars'.
2002 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2004 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
2005 instead of `DECODE_ADD_UCS_CHAR'.
2006 (COMPOSE_ADD_CHAR): Likewise.
2008 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2010 * text-coding.c (decode_flush_er_chars): New inline function.
2011 (decode_add_er_char): New function.
2012 (decode_coding_utf8): Use `decode_flush_er_chars' and
2013 `decode_add_er_char'.
2015 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2017 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
2018 done before `decode_output_utf8_partial_char'.
2020 * mule-charset.c (complex_vars_of_mule_charset): Specify
2021 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
2022 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
2024 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2026 * mule-charset.c (decode_defined_char): New function; search
2028 (decode_builtin_char): Don't search mother if
2029 XCHARSET_MAX_CODE(charset) == 0.
2030 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
2031 == 0 even if code >= XCHARSET_MAX_CODE(charset).
2032 (Fdecode_char): Use `decode_defined_char' instead of
2033 `DECODE_DEFINED_CHAR'.
2034 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
2035 mother of `Vcharset_ucs_jis'.
2037 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
2038 instead of `DECODE_DEFINED_CHAR'.
2040 * char-ucs.h (decode_defined_char): Renamed from
2041 `DECODE_DEFINED_CHAR'; changed to normal function.
2042 (DECODE_CHAR): Use `decode_defined_char' instead of
2043 `DECODE_DEFINED_CHAR'.
2045 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
2047 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
2051 * text-coding.c (Vcoded_charset_entity_reference_alist): New
2053 (Quse_entity_reference): New variable.
2057 (coding_system_description): Add description for
2058 `ccs_priority_list'.
2059 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
2060 (allocate_coding_system): Initialize `ccs_priority_list' in
2062 (Fmake_coding_system): Add description about
2063 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
2065 (Fcoding_system_property): Accept `disable-composition' and
2066 `use-entity-reference' in UTF-2000.
2067 (struct decoding_stream): Add new member `er_counter' and `er_buf'
2069 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
2070 (decode_coding_utf8): Decode entity-reference if
2071 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
2072 (char_encode_utf8): Encode non-Unicode characters as
2073 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
2075 (syms_of_file_coding): Add new symbols `use-entity-reference',
2077 (vars_of_file_coding): Add new variable
2078 `coded-charset-entity-reference-alist'.
2079 (complex_vars_of_file_coding): Declare `disable-composition' and
2080 `use-entity-reference' to be coding-system-properties in UTF-2000.
2082 * file-coding.h (struct Lisp_Coding_System): Add new member
2083 `use_entity_reference' and `ccs_priority_list'.
2084 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2085 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2086 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2088 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2090 * chartab.c (save_uint8_byte_table): Don't clear the table.
2091 (save_uint16_byte_table): Likewise.
2092 (save_byte_table): Likewise.
2093 (Fmount_char_attribute_table): New function.
2094 (syms_of_chartab): Add new builtin function
2095 `mount-char-attribute-table'.
2097 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2099 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2101 (load_char_decoding_entry_maybe): Open database as read-only mode.
2103 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2104 open database as "w+" mode.
2105 (load_char_attribute_maybe): Open database as read-only mode.
2106 (Fload_char_attribute_table): Likewise.
2108 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2110 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2111 (char_table_description): Delete member `db_file'.
2112 (Fmake_char_table): Don't refer `ct->db_file'.
2113 (Fcopy_char_table): Likewise.
2114 (Fsave_char_attribute_table): Likewise.
2115 (Fclose_char_attribute_table): Likewise.
2116 (Freset_char_attribute_table): Likewise.
2117 (load_char_attribute_maybe): Likewise.
2118 (Fload_char_attribute_table): Likewise.
2120 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2122 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2125 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2127 (load_char_attribute_maybe): Likewise.
2128 (Fload_char_attribute_table): Likewise.
2130 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2132 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2133 `ct->db_file' unconditionally.
2135 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2137 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2139 (char_table_description): Add description for `db_file' and `db'
2141 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2143 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2144 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2145 (Fclose_char_attribute_table): New function.
2146 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2147 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2149 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2150 (syms_of_chartab): Add new builtin function
2151 `Fclose_char_attribute_table'.
2153 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2155 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2157 (load_char_attribute_maybe): Change interface.
2158 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2160 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2162 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2164 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2166 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2167 instead of `DECODE_CHAR' for mother; don't use special code for
2168 chinese-big5 to use code space of chinese-big5-1 and
2170 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2171 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2173 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2174 (MAX_CHAR_BIG5_CDP): Revival.
2176 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2178 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2179 the XLFD registry-encoding name of `chinese-big5'.
2181 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2183 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2184 (Qchinese_big5_cdp): Deleted.
2185 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2186 (complex_vars_of_mule_charset): Delete coded-charset
2189 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2190 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2191 `CHARSET_ID_OFFSET - n' for private CCS.
2192 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2193 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2194 of `MIN_LEADING_BYTE'.
2195 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2196 `(CHARSET_ID_OFFSET - 97)'.
2197 (MIN_CHAR_BIG5_CDP): Deleted.
2198 (MAX_CHAR_BIG5_CDP): Deleted.
2200 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2204 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2206 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2207 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2210 * chartab.c (Vutf_2000_version): Moved to mule.c.
2211 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2213 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2215 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2216 when HAVE_CHISE_CLIENT is not defined.
2218 * mule.c (vars_of_mule): Provide feature `chise' when
2219 HAVE_CHISE_CLIENT is defined.
2221 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2223 * config.h.in (UTF2000): Add comment.
2224 (HAVE_CHISE_CLIENT): New macro.
2226 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2228 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2230 (Fput_char_attribute): Likewise.
2231 (char_attribute_system_db_file): Encode file-name of attribute.
2232 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2235 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2237 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2238 (Fsave_charset_mapping_table): Use
2239 `char_attribute_system_db_file'.
2240 (load_char_decoding_entry_maybe): Likewise.
2242 * chartab.h (Qsystem_char_id): New external variable.
2243 (char_attribute_system_db_file): New prototype.
2245 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2246 (char_attribute_system_db_file): New function.
2247 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2248 (Freset_char_attribute_table): Likewise.
2249 (load_char_attribute_maybe): Likewise.
2250 (Fload_char_attribute_table): Likewise.
2251 (syms_of_chartab): Add new symbol `system-char-id'.
2253 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2255 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2256 `XCHARSET_GRAPHIC(ccs)'.
2258 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2260 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2262 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2264 * chartab.c (Q_ucs_variants): New variable.
2265 (syms_of_chartab): Add new symbol `->ucs-variants'.
2266 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2267 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2268 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2270 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2272 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2273 `HAVE_DATABASE' is defined.
2274 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2275 `HAVE_DATABASE' is defined.
2277 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2279 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2281 (Freset_char_attribute_table): New function.
2282 (syms_of_chartab): Add new builtin function
2283 `reset-char-attribute-table'.
2285 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2287 * chartab.c (load_char_attribute_maybe): Don't make directories.
2289 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2291 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2293 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2296 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2298 * mule-charset.c (Fsave_charset_mapping_table): Use
2299 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2301 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2302 instead of `XCHARSET_CHARS'.
2304 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2306 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2307 (XCHARSET_BYTE_SIZE): Likewise.
2309 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2311 (XCHARSET_BYTE_SIZE): Likewise.
2313 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2315 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2316 data-directory to store database.
2317 (Fsave_char_attribute_table): Likewise.
2318 (load_char_attribute_maybe): Likewise.
2319 (Fload_char_attribute_table): Likewise.
2321 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2323 * mule-charset.c (Fsave_charset_mapping_table): New function.
2324 (syms_of_mule_charset): Add new builtin function
2325 `save-charset-mapping-table'.
2327 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2329 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2330 (get_ccs_octet_table): New inline function.
2331 (put_ccs_octet_table): Likewise.
2332 (decoding_table_put_char): Use `get_ccs_octet_table' and
2333 `put_ccs_octet_table'.
2334 (decoding_table_remove_char): Use `decoding_table_put_char'.
2335 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2337 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2338 into encoding_table.
2339 (make_charset): Use Qunbound instead Qnil as initial value of
2342 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2344 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2345 element is Qunloaded.
2346 (map_over_uint16_byte_table): Likewise.
2347 (map_over_byte_table): Likewise.
2348 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2349 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2350 database support, load encoding-table of the specified
2351 coded-charset if it is not loaded yet.
2352 (save_uint8_byte_table): New function of UTF-2000 with external
2354 (save_uint16_byte_table): Likewise.
2355 (save_byte_table): Likewise.
2356 (Fput_char_attribute): Don't store value into external database
2357 even if the external database feature is supported in UTF-2000;
2358 set `attribute' as name of char-table if the external database
2359 feature is supported.
2360 (Fsave_char_attribute_table): New function in UTF-2000.
2361 (syms_of_chartab): Add new builtin function
2362 `save-char-attribute-table' in UTF-2000.
2364 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2366 * chartab.c (char_attribute_table_to_put): New variable in
2368 (Qput_char_table_map_function): Likewise.
2369 (value_to_put): Likewise.
2370 (Fput_char_table_map_function): New function in UTF-2000.
2371 (put_char_table): Use `Fmap_char_attribute' for
2372 CHARTAB_RANGE_CHARSET in UTF-2000.
2373 (Fput_char_attribute): Store symbol instead of string in
2374 `XCHAR_TABLE_NAME (table)'.
2375 (load_char_attribute_maybe): Likewise.
2376 (syms_of_chartab): Add new symbol/function
2377 `put-char-table-map-function'.
2379 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2381 * database.h: Add new EXFUN for `Fmap_database'.
2383 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2384 (syms_of_database): Likewise.
2386 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2388 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2389 (XCHAR_TABLE_UNLOADED): Likewise.
2391 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2392 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2393 HAVE_DATABASE is defined.
2394 (char_attribute_table_to_load): New variable of UTF-2000 with
2395 external database support.
2396 (Qload_char_attribute_table_map_function): Likewise.
2397 (Fload_char_attribute_table_map_function): New function of
2398 UTF-2000 with external database support.
2399 (Fload_char_attribute_table): New function of UTF-2000.
2400 (Fmap_char_attribute): Call Fload_char_attribute_table if
2401 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2402 (syms_of_chartab): Add new symbol and function
2403 `load-char-attribute-table-map-function' in UTF-2000 with external
2404 database support; add new function `load-char-attribute-table' in
2407 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2409 * chartab.h (load_char_attribute_maybe): New prototype for
2410 UTF-2000 with DATABASE support.
2411 (get_char_id_table): Use `load_char_attribute_maybe' if
2412 HAVE_DATABASE is defined.
2414 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2415 with DATABASE support.
2417 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2419 * chartab.c (Fput_char_attribute): Use S-expression as key of
2422 * chartab.h (get_char_id_table): Use S-expression as key of
2425 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2427 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2428 if an element is not loaded, load the corresponding attributes
2429 from an external database.
2430 (map_over_uint16_byte_table): Likewise.
2431 (map_over_byte_table): Likewise.
2432 (map_char_table): Modify for `map_over_uint8_byte_table',
2433 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2434 element is not loaded, load the corresponding attributes from an
2436 (Fput_char_attribute): Change initial values to Qunloaded.
2438 * chartab.h (get_char_id_table): If a character attribute is not
2439 loaded and the attribute value is not found in an external
2440 database, store Qunbound as the attribute value.
2442 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2444 * chartab.c (BT_UINT8_unloaded): New macro.
2445 (UINT8_VALUE_P): Accept Qunloaded.
2446 (UINT8_ENCODE): Likewise.
2447 (UINT8_DECODE): Likewise.
2448 (BT_UINT16_unloaded): New macro.
2449 (UINT16_VALUE_P): Accept Qunloaded.
2450 (UINT16_ENCODE): Likewise.
2451 (UINT16_DECODE): Likewise.
2452 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2454 (mark_char_table): Mark `ct->name' in UTF-2000.
2455 (char_table_description): Add `name' in UTF-2000.
2456 (Fmake_char_table): Initialize `ct->name'.
2457 (Fcopy_char_table): Copy `ct->name'.
2458 (Fput_char_attribute): Store value into an external database if
2459 HAVE_DATABASE is defined.
2461 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2463 (CHAR_TABLE_NAME): New macro in UTF-2000.
2464 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2465 (get_char_id_table): Try to read an external database if Qunloaded
2466 is stored in a table.
2468 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2471 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2473 * database.h: Add EXFUN definitions for Fopen_database,
2474 Fput_database, Fget_database and Fclose_database.
2476 * data.c (Qunloaded): New variable in UTF-2000.
2478 * lisp.h (Qunloaded): New variable in UTF-2000.
2480 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2482 * mule-charset.c (put_char_ccs_code_point): Modify for
2483 `decoding_table_remove_char' and `decoding_table_put_char'.
2484 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2486 * char-ucs.h (decoding_table_remove_char): Change arguments to
2487 hide decoding_table vector.
2488 (decoding_table_put_char): Likewise.
2490 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * mule-charset.c (decoding_table_remove_char): Moved to
2494 (decoding_table_put_char): Likewise.
2496 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2497 from mule-charset.c].
2498 (decoding_table_remove_char): New inline function [moved from
2500 (decoding_table_put_char): Likewise.
2502 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2504 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2507 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2509 * mule-charset.c (decode_builtin_char): Support mother charsets.
2511 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2513 * mule-charset.c (Q94x94x60): New variable.
2514 (charset_code_point): Support conversion `94x94x60'.
2515 (Fmake_charset): Likewise.
2516 (syms_of_mule_charset): Add new symbol `94x94x60'.
2518 * char-ucs.h (CONVERSION_94x94x60): New macro.
2520 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2522 * mule-charset.c (charset_code_point): Unify code about
2525 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2527 * mule-charset.c (charset_code_point): Merge code about builtin
2528 characters into code about mother charsets; don't use
2529 `range_charset_code_point'.
2530 (range_charset_code_point): Deleted.
2532 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2534 * mule-charset.c (Qcode_offset): New variable.
2535 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2536 `max-code'; accept new property `code-offset'.
2537 (syms_of_mule_charset): Add new symbol `code-offset'.
2539 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2541 * mule-charset.c (range_charset_code_point): Fixed.
2543 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2545 * mule-charset.c (decode_builtin_char): Change semantics of
2546 code-offset of coded-charset.
2547 (charset_code_point): Likewise.
2548 (range_charset_code_point): Likewise.
2549 (complex_vars_of_mule_charset): Modify for the change.
2551 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * mule-charset.c (Fencode_char): Reverse arguments.
2555 * mule-charset.c (charset_code_point): Fixed.
2557 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * mule-charset.c (Vcharset_mojikyo): Deleted.
2560 (Vcharset_mojikyo_2022_1): Deleted.
2561 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2562 (Qmin_code): New variable in UTF-2000.
2563 (Qmax_code): Likewise.
2564 (Qmother): Likewise.
2565 (Qconversion): Likewise.
2567 (Qmojikyo): Deleted.
2568 (Qmojikyo_2022_1): Deleted.
2569 (Qmojikyo_pj_{1..22}): Deleted.
2570 (mark_charset): Mark `cs->mother'.
2571 (charset_description): Add description for `mother'.
2572 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2573 new arguments `mother' and `conversion'; use
2574 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2575 (charset_code_point): Moved from char-ucs.h; support `mother'
2577 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2578 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2579 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2580 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2581 allow 2 as the value of `graphic' in UTF-2000; add new properties
2582 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2583 require `final' in UTF-2000; modify for `make_charset'.
2584 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2585 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2586 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2587 (Fencode_char): New function.
2588 (syms_of_mule_charset): Add new builtin function `encode-char' in
2589 UTF-2000; add new symbols `min-code', `max-code', `mother',
2590 `conversion' and `94x60'; delete symbols `mojikyo',
2591 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2592 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2593 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2594 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2596 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2597 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2599 * char-ucs.h (Vcharset_mojikyo): Deleted.
2600 (Vcharset_mojikyo_2022_1): Deleted.
2601 (LEADING_BYTE_MOJIKYO): Deleted.
2602 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2603 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2604 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2605 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2606 add new member `mother'; add new member `conversion'.
2607 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2608 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2609 (CHARSET_MOTHER): New macro.
2610 (CHARSET_CONVERSION): New macro.
2611 (CONVERSION_IDENTICAL): New macro.
2612 (CONVERSION_94x60): New macro.
2613 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2614 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2615 (XCHARSET_MOTHER): New macro.
2616 (XCHARSET_CONVERSION): New macro.
2617 (MIN_CHAR_MOJIKYO): Deleted.
2618 (MAX_CHAR_MOJIKYO): Deleted.
2619 (DECODE_MOJIKYO_2022): Deleted.
2620 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2621 (charset_code_point): Changed to non-inline function.
2622 (encode_char_1): Use `charset_code_point'.
2623 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2625 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * lread.c (read_compiled_function): Fix prototype.
2628 (read_vector): Likewise.
2630 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * lrecord.h (struct lrecord_header): Delete `older'.
2633 (set_lheader_implementation): Delete code for `older'.
2634 (set_lheader_older_implementation): Deleted.
2635 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2636 (OLDER_RECORD_P): Deleted.
2637 (OLDER_RECORD_HEADER_P): Deleted.
2638 (alloc_older_lcrecord): Deleted.
2639 (alloc_older_lcrecord_type): Deleted.
2641 * alloc.c (all_older_lcrecords): Deleted.
2642 (alloc_older_lcrecord): Deleted.
2643 (disksave_object_finalization_1): Delete code for older objects.
2644 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2645 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2647 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2649 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2650 instead of `make_older_vector'.
2651 (put_char_ccs_code_point): Likewise.
2652 (mark_charset): Mark `cs->decoding_table'.
2653 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2655 * lisp.h (make_older_vector): Deleted.
2656 (make_vector_newer): Deleted.
2658 * config.h.in (HAVE_GGC): Deleted.
2660 * alloc.c (make_older_vector): Deleted.
2661 (make_vector_newer_1): Deleted.
2662 (make_vector_newer): Deleted.
2664 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2667 (Qideograph_daikanwa_2): New variable.
2668 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2669 (complex_vars_of_mule_charset): Add new coded-charset
2670 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2671 `LEADING_BYTE_DAIKANWA'.
2673 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2674 (LEADING_BYTE_DAIKANWA_1): New macro.
2675 (LEADING_BYTE_DAIKANWA_2): New macro.
2676 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2678 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2680 * mule-charset.c (complex_vars_of_mule_charset): Change
2681 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2682 the second revised version.
2684 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * mule-charset.c (Vcharset_ucs_smp): New variable.
2687 (Vcharset_ucs_sip): New variable.
2688 (Qucs_smp): New variable.
2689 (Qucs_sip): New variable.
2690 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2691 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2692 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2693 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2694 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2695 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2697 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2698 (LEADING_BYTE_UCS_SIP): New macro.
2699 (MIN_CHAR_SMP): New macro.
2700 (MAX_CHAR_SMP): New macro.
2701 (MIN_CHAR_SIP): New macro.
2702 (MAX_CHAR_SIP): New macro.
2704 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2706 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2709 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2711 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2712 value; don't store value into `encoding_table' of `Lisp_Charset'.
2713 (mark_charset): `encoding_table' was deleted.
2714 (charset_description): Likewise.
2715 (make_charset): Likewise.
2716 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2717 `put_char_ccs_code_point'.
2719 * chartab.h (Fput_char_attribute): New EXFUN.
2721 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2722 is unified with normal symbol space.
2723 (Fget_char_attribute): Likewise.
2724 (Fput_char_attribute): Likewise; behavior of
2725 `put_char_ccs_code_point' is changed.
2727 * char-ucs.h: Include "elhash.h".
2728 (Vchar_attribute_hash_table): New external variable.
2729 (struct Lisp_Charset): Delete `encoding_table'.
2730 (CHARSET_ENCODING_TABLE): New implementation; refer
2731 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2734 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2739 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2744 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2746 * chartab.c (uint8_byte_table_description): New constant.
2747 (uint8-byte-table): Use `uint8_byte_table_description'.
2748 (uint16_byte_table_description): New constant.
2749 (uint16-byte-table): Use `uint16_byte_table_description'.
2751 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2753 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2754 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2756 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2758 * mule-charset.c (Vcharset_ucs_ks): New variable.
2759 (Qucs_ks): New variable.
2760 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2761 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2763 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2765 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2768 (Fdecode_char): Likewise.
2770 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2772 (Fdefine_char): Modify for Fdecode_char.
2773 (Ffind_char): Likewise.
2775 * mule-charset.c (Fdecode_char): Add new optional argument
2777 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2779 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2782 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2783 (allocate_coding_system): Initialize initial-charsets of
2784 CODESYS_BIG5 in XEmacs UTF-2000.
2785 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2786 CODESYS_BIG5 in XEmacs UTF-2000.
2787 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2788 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2790 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2792 (Qideograph_hanziku_{1 .. 12}): Likewise.
2793 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2795 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2796 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2797 `ideograph-hanziku-{1 .. 12}'.
2799 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2800 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2801 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2802 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2803 (DECODE_DEFINED_CHAR): New inline function.
2804 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2806 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2808 * mule-charset.c (Vcharset_china3_jef): Renamed from
2809 `Vcharset_japanese_jef_china3'.
2810 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2811 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2812 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2813 (syms_of_mule_charset): Rename `china3-jef' from
2814 `japanese-jef-china3'.
2815 (complex_vars_of_mule_charset): Likewise; rename
2816 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2818 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2819 `LEADING_BYTE_JEF_CHINA3'.
2820 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2821 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2823 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2825 * mule-charset.c (encode_builtin_char_1): Comment out special code
2826 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2828 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2829 (MAX_CHAR_MOJIKYO_0): Comment out.
2830 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2831 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2832 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2833 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2835 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2838 (Qideograph_cbeta): New variable.
2839 (encode_builtin_char_1): Comment out special code for
2840 coded-charset `mojikyo' and `japanese-jef-china3'.
2841 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2842 (complex_vars_of_mule_charset): Add new coded-charset
2845 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2846 (MIN_CHAR_CBETA): New macro.
2847 (MAX_CHAR_CBETA): New macro.
2849 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2851 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2852 (LEADING_BYTE_JEF_CHINA3): New macro.
2853 (MIN_CHAR_JEF_CHINA3): New macro.
2854 (MAX_CHAR_JEF_CHINA3): Likewise.
2855 (DECODE_CHAR): Fixed.
2857 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2860 (Qjapanese_jef_china3): New variable.
2861 (encode_builtin_char_1): Support `japanese-jef-china3'.
2862 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2863 (complex_vars_of_mule_charset): Add new coded-charset
2864 `japanese-jef-china3'.
2866 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2868 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2869 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2870 94^4, 96^3, 96^4, 128^n and 256^n set.
2871 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2872 (map_char_table): Likewise.
2874 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2876 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2879 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2881 * chartab.h (get_char_id_table): New inline function.
2883 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2886 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2888 * chartab.h (decode_char_table_range): New prototype in XEmacs
2890 (put_char_id_table): New inline function in XEmacs UTF-2000.
2892 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2894 (decode_char_table_range): Delete static declaration in XEmacs
2897 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2899 * chartab.c (put_char_id_table): Use `put_char_table'.
2901 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2903 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2904 (map_over_uint16_byte_table): Likewise.
2905 (map_over_byte_table): Likewise.
2906 (map_char_table): Modify for `map_over_uint8_byte_table',
2907 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2910 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * chartab.c (struct map_char_table_for_charset_arg): New
2914 (map_char_table_for_charset_fun): New function.
2915 (map_char_table): Use `map_char_table' for encoding_table of
2918 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2920 * chartab.c (map_char_table): Check a character is found in
2921 range->charset instead of non default value is defined in
2922 char-table when range is CHARTAB_RANGE_ROW.
2924 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2926 * chartab.c (map_char_id_table): Deleted.
2927 (Fmap_char_attribute): Use `map_char_table' instead of
2928 `map_char_id_table'.
2930 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2932 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2934 (update_syntax_table): Deleted in XEmacs UTF-2000.
2936 * syntax.c (find_defun_start): Use `syntax_table' instead of
2937 `mirror_syntax_table' in XEmacs UTF-2000.
2938 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2940 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2942 (Fmatching_paren): Likewise.
2943 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2945 (find_start_of_comment): Likewise.
2946 (find_end_of_comment): Likewise.
2947 (Fforward_comment): Likewise.
2948 (scan_lists): Likewise.
2949 (char_quoted): Likewise.
2950 (Fbackward_prefix_chars): Likewise.
2951 (scan_sexps_forward): Likewise.
2952 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2953 (update_syntax_table): Likewise.
2955 * search.c (skip_chars): Use `syntax_table' instead of
2956 `mirror_syntax_table' in XEmacs UTF-2000.
2957 (wordify): Likewise.
2958 (Freplace_match): Likewise.
2960 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2961 `mirror_syntax_table' in XEmacs UTF-2000.
2962 (WORDCHAR_P_UNSAFE): Likewise.
2963 (re_match_2_internal): Likewise.
2965 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2966 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2968 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2969 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2971 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2974 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2976 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2977 (char_table_description): Delete `mirror_table' in XEmacs
2979 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2981 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2982 (Fcopy_char_table): Likewise.
2983 (put_char_table): Don't call `update_syntax_table' in XEmacs
2986 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2987 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2988 (casify_region_internal): Likewise.
2990 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2992 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2993 `mirror_syntax_table' in XEmacs UTF-2000.
2995 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2996 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2997 (Fexpand_abbrev): Likewise.
2999 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3001 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
3003 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3005 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
3006 (map_over_uint16_byte_table): Likewise.
3007 (map_over_byte_table): Likewise.
3008 (get_char_id_table): Refer `cit->default_value'.
3009 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3010 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
3011 of character-id ranges.
3012 (mark_char_table): Mark `ct->default_value'.
3013 (char_table_description): Add `default_value'.
3014 (fill_char_table): Use `default_value'.
3015 (decode_char_table_range): Decode `nil' as
3016 `CHARTAB_RANGE_DEFAULT'.
3017 (get_char_id_table): Refer `cit->default_value'.
3018 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
3019 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
3020 temporary hack; check value of char-table is bound or not.
3021 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
3023 * chartab.h (struct Lisp_Char_Table): Add new member
3024 `default_value' in XEmacs UTF-2000.
3025 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
3026 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
3029 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3031 * chartab.h (Lisp_Char_ID_Table): Deleted.
3033 * chartab.c (char_table_description): Fix typo.
3034 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
3035 `Lisp_Char_ID_Table'.
3037 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3039 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
3042 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
3045 * chartab.h (XCHAR_ID_TABLE): Deleted.
3046 (XSETCHAR_ID_TABLE): Deleted.
3047 (CHAR_ID_TABLE_P): Deleted.
3049 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
3051 (Fget_composite_char): Likewise.
3052 (put_char_table): Likewise.
3053 (add_char_attribute_alist_mapper): Fixed.
3054 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
3056 (Fget_char_attribute): Likewise.
3057 (Fget_char_attribute): Likewise.
3058 (Fmap_char_attribute): Likewise.
3060 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
3062 (encode_char_1): Likewise.
3064 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
3069 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
3070 instead of `XCHAR_ID_TABLE'.
3071 (remove_char_ccs): Likewise.
3073 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
3075 (Fget_composite_char): Likewise.
3076 (Fchar_variants): Likewise.
3077 (put_char_table): Likewise.
3078 (add_char_attribute_alist_mapper): Likewise.
3079 (Fchar_attribute_alist): Likewise.
3080 (Fget_char_attribute): Likewise.
3081 (Fput_char_attribute): Likewise.
3082 (Fmap_char_attribute): Likewise.
3083 (Fmap_char_attribute): Likewise.
3085 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3087 (encode_char_1): Likewise.
3089 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3091 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3092 `Lisp_Char_ID_Table'.
3093 (mark_char_id_table): Deleted.
3094 (print_char_id_table): Likewise.
3095 (char_id_table_equal): Likewise.
3096 (char_id_table_hash): Likewise.
3097 (char_id_table_description): Likewise.
3098 (char_id_table): Likewise.
3099 (make_char_id_table): Use `Fmake_char_table' and
3101 (get_char_id_table): Use `Lisp_Char_Table' instead of
3102 `Lisp_Char_ID_Table'.
3103 (put_char_id_table): Likewise.
3104 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3106 (Fremove_char_attribute): Likewise.
3107 (syms_of_chartab): Don't define type `char-id-table'.
3109 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3110 (char_id_table): Likewise.
3111 (GC_CHAR_ID_TABLE_P): Likewise.
3112 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3113 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3114 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3115 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3116 (get_char_id_table): Use `Lisp_Char_Table' instead of
3117 `Lisp_Char_ID_Table'.
3118 (put_char_id_table_0): Likewise.
3119 (put_char_id_table): Likewise.
3121 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3123 * chartab.h: Lisp_Byte_Table related codes are moved from
3126 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3128 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3130 * chartab.h: Don't include "chartab.h".
3131 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3132 (Lisp_Char_ID_Table): Likewise.
3133 (char_id_table): Likewise.
3134 (XCHAR_ID_TABLE): Likewise.
3135 (XSETCHAR_ID_TABLE): Likewise.
3136 (CHAR_ID_TABLE_P): Likewise.
3137 (GC_CHAR_ID_TABLE_P): Likewise.
3138 (get_char_id_table): Likewise.
3140 * char-ucs.h: Include "chartab.h".
3141 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3142 (Lisp_Char_ID_Table): Likewise.
3143 (char_id_table): Likewise.
3144 (XCHAR_ID_TABLE): Likewise.
3145 (XSETCHAR_ID_TABLE): Likewise.
3146 (CHAR_ID_TABLE_P): Likewise.
3147 (GC_CHAR_ID_TABLE_P): Likewise.
3148 (get_char_id_table): Likewise.
3150 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3152 * chartab.c (copy_uint8_byte_table): New function.
3153 (copy_uint16_byte_table): New function.
3154 (copy_byte_table): New function.
3155 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3157 (map_over_uint16_byte_table): Likewise.
3158 (map_over_byte_table): Likewise.
3159 (get_byte_table): Move prototype to chartab.h.
3160 (put_byte_table): Likewise.
3161 (put_char_id_table_0): Moved to chartab.h.
3162 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3163 (char_table_entry_equal): Likewise.
3164 (char_table_entry_hash): Likewise.
3165 (char_table_entry_description): Likewise.
3166 (char_table_entry): Likewise.
3167 (make_char_table_entry): Likewise.
3168 (copy_char_table_entry): Likewise.
3169 (get_non_ascii_char_table_value): Likewise.
3170 (map_over_charset_ascii): Likewise.
3171 (map_over_charset_control_1): Likewise.
3172 (map_over_charset_row): Likewise.
3173 (map_over_other_charset): Likewise.
3174 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3175 (print_char_table): Likewise.
3176 (char_table_equal): Likewise.
3177 (char_table_hash): Likewise.
3178 (char_table_description): Likewise.
3179 (fill_char_table): Likewise.
3180 (Fcopy_char_table): Likewise.
3181 (get_char_table): Likewise.
3182 (Fget_range_char_table): Likewise.
3183 (put_char_table): Likewise.
3184 (map_char_table): Likewise.
3185 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3188 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3190 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3191 `Vauto_fill_chars' in XEmacs UTF-2000.
3193 * chartab.h (get_byte_table): New prototype [moved from
3195 (put_byte_table): Likewise [moved from chartab.c].
3196 (put_char_id_table_0): New inline function [moved from chartab.c].
3197 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3198 (Lisp_Char_Table_Entry): Likewise.
3199 (char_table_entry): Likewise.
3200 (XCHAR_TABLE_ENTRY): Likewise.
3201 (XSETCHAR_TABLE_ENTRY): Likewise.
3202 (CHAR_TABLE_ENTRYP): Likewise.
3203 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3204 (NUM_ASCII_CHARS): Likewise.
3205 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3206 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3208 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * chartab.c (get_char_id_table): Change interface.
3211 (put_char_id_table_0): New function.
3212 (put_char_id_table): Change interface; new implementation.
3213 (Fget_composite_char): Modify for interface change of
3214 `get_char_id_table'.
3215 (Fchar_variants): Likewise.
3216 (add_char_attribute_alist_mapper): Likewise.
3217 (Fchar_attribute_alist): Likewise.
3218 (Fget_char_attribute): Likewise.
3219 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3220 as same as character as the first argument like `put-char-table';
3221 modify for interface change of `put_char_id_table'.
3222 (Fremove_char_attribute): Modify for interface change of
3223 `put_char_id_table'.
3225 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3227 * text-coding.c: Sync up with XEmacs 21.2.41.
3228 (COMPOSE_ADD_CHAR): Modify for interface change of
3229 `get_char_id_table'.
3231 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3232 change of `put_char_id_table'.
3233 (remove_char_ccs): Likewise.
3235 * chartab.h (put_char_id_table): Change interface.
3237 * char-ucs.h (get_char_id_table): Change interface.
3238 (charset_code_point): Modify for interface change of
3239 `get_char_id_table'.
3240 (encode_char_1): Likewise.
3242 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3244 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3246 (map_over_uint16_byte_table): Likewise.
3247 (map_over_byte_table): Likewise.
3248 (map_char_id_table): Add new argument `range' like
3250 (Fmap_char_attribute): Add new argument `range' like
3253 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3255 * chartab.c (map_over_uint8_byte_table): Change interface of
3256 mapping function to use struct chartab_range instead of Emchar.
3257 (map_over_uint16_byte_table): Likewise.
3258 (map_over_byte_table): Likewise.
3259 (map_char_id_table): Likewise.
3260 (struct slow_map_char_id_table_arg): Deleted.
3261 (slow_map_char_id_table_fun): Deleted.
3262 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3263 function `slow_map_char_table_fun' instead of struct
3264 `slow_map_char_id_table_arg' and function
3265 `slow_map_char_id_table_fun'.
3267 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3269 * mule-charset.c: Move char-it-table related codes to chartab.c.
3270 (Vutf_2000_version): Moved to chartab.c.
3271 (Fdefine_char): Likewise.
3272 (Ffind_char): Likewise.
3273 (syms_of_mule_charset): Move types `uint8-byte-table',
3274 `uint16-byte-table', `byte-table' and `char-id-table' to
3275 chartab.c; move functions `char_attribute_list,
3276 `find_char_attribute_table, `char_attribute_alist,
3277 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3278 `map_char_attribute, `define_char, `find_char, `char_variants and
3279 `get_composite_char to chartab.c; move symbols `=>ucs',
3280 `->decomposition', `compat', `isolated', `initial', `medial',
3281 `final', `vertical', `noBreak', `fraction', `super', `sub',
3282 `circle', `square', `wide', `narrow', `small' and `font' to
3284 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3285 setting codes for `Vcharacter_composition_table' and
3286 `Vcharacter_variant_table' to chartab.c.
3287 (complex_vars_of_mule_charset): Move setting code for
3288 `Vchar_attribute_hash_table' to chartab.c.
3290 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3291 (make_char_id_table): New prototype.
3292 (put_char_id_table): Likewise.
3293 (Fget_char_attribute): Likewise.
3295 * chartab.c: Move char-id-table related code from mule-charset.c.
3296 (Vutf_2000_version): Moved from mule-charset.c.
3298 * char-ucs.h (Qucs): New external variable.
3299 (put_char_ccs_code_point): New prototype.
3300 (remove_char_ccs): Likewise.
3302 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3304 * mule-charset.c (Vcharset_ucs_jis): New variable.
3305 (Qucs_jis): Likewise.
3306 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3307 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3309 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3311 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3313 * mule-charset.c (map_over_uint8_byte_table): New function.
3314 (map_over_uint16_byte_table): Likewise.
3315 (map_over_byte_table): Likewise.
3316 (map_char_id_table): Likewise.
3317 (slow_map_char_id_table_fun): Likewise.
3318 (Fmap_char_attribute): Likewise.
3319 (syms_of_mule_charset): Add new function `map-char-attribute'.
3321 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3323 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3324 (syms_of_mule_charset): Add new function `find-char'.
3326 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3328 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3330 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3331 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3333 (complex_vars_of_mule_charset): Add new coded-charset
3334 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3335 `ideograph-gt-pj-*'.
3337 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3339 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3341 * mule-charset.c (encode_builtin_char_1): Purge codes about
3342 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3343 {MIN|MAX}_CHAR_HEBREW.
3344 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3345 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3347 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3348 (MAX_CHAR_GREEK): Purged.
3349 (MIN_CHAR_CYRILLIC): Purged.
3350 (MAX_CHAR_CYRILLIC): Purged.
3351 (MIN_CHAR_HEBREW): Commented out.
3352 (MAX_CHAR_HEBREW): Likewise.
3354 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3356 * mule-charset.c (Qto_ucs): New variable.
3357 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3358 (Fdefine_char): Likewise.
3359 (syms_of_mule_charset): Add new symbol `=>ucs'.
3361 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3363 * mule-charset.c (Fdecode_char): Fixed.
3365 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3368 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3371 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3373 * mule-charset.c (Vcharset_ucs_big5): New variable.
3374 (Qucs_big5): Likewise.
3375 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3376 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3378 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3380 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3382 * mule-charset.c (decode_builtin_char): Check Big5 code range
3383 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3385 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3387 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3388 (Qchinese_gb12345): Likewise.
3389 (Fdecode_builtin_char): Fixed.
3390 (syms_of_mule_charset): Add `chinese-gb12345'.
3391 (complex_vars_of_mule_charset): Add coded-charset
3394 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3395 (LEADING_BYTE_CHINESE_GB12345): New macro.
3397 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3399 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3400 and `latin-viscii-upper' for `latin-viscii'.
3402 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3404 * mule-charset.c (Fdecode_builtin_char): Comment out
3405 regularization code for ISO-IR GR representation.
3407 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3409 * mule-charset.c (decode_builtin_char): New function; renamed from
3410 `make_builtin_char'; return -1 instead of signal.
3411 (Fdecode_builtin_char): Use `decode_builtin_char'.
3413 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3414 `make_builtin_char'.
3415 (DECODE_CHAR): Use `decode_builtin_char' instead of
3416 `make_builtin_char'; use mapping table of `chinese-big5' for
3417 `chinese-big5-{1,2}'.
3419 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3421 * text-coding.c (char_encode_big5): New function.
3422 (char_finish_big5): Likewise.
3423 (reset_encoding_stream): Use `char_encode_big5' and
3424 `char_finish_big5' for CODESYS_BIG5.
3425 (mule_encode): Don't use `encode_coding_big5'.
3426 (encode_coding_big5): Deleted.
3428 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3430 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3431 0x81- in XEmacs UTF-2000.
3432 (detect_coding_big5): Likewise.
3434 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3436 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3437 generate character-id if the CCS property does not have
3438 corresponding predefined character.
3439 (make_builtin_char): Return -1 if corresponding predefined
3440 character is not found.
3441 (Fdecode_char): Return nil if corresponding character is not
3443 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3444 don't map to builtin ucs space.
3446 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3448 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3449 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3451 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3453 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3454 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3455 (Qideograph_gt): Likewise.
3456 (Qideograph_gt_pj_{1..11}): Likewise.
3457 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3458 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3459 `ideograph-gt-pj-11'.
3460 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3461 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3462 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3464 * char-ucs.h (LEADING_BYTE_GT): New macro.
3465 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3466 (MIN_CHAR_GT): Likewise.
3467 (MAX_CHAR_GT): Likewise.
3469 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3471 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3472 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3474 * doprnt.c (unsigned_int_converters): Add `c'.
3475 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3477 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3478 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3480 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3481 (MAX_CHAR_MOJIKYO_0): New macro.
3482 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3484 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3486 * mule-charset.c (Fdefine_char): Delete cemented out code.
3487 (encode_builtin_char_1): Modify for new allocation of builtin
3490 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3492 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3494 * mule-charset.c (Vcharset_ucs_cns): New variable.
3495 (Qucs_cns): New variable.
3496 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3497 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3499 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3501 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3503 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3505 * search.c (search_buffer): Make `charset_base_code' as
3506 character-id >> 6 to eliminate the corresponding last byte in
3507 UTF-8 representation [I'm not sure it is right thing].
3508 (boyer_moore): Likewise.
3510 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3512 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3513 representation in MULE.
3515 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3517 * text-coding.c (Fmake_coding_system): Use
3518 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3519 `EXTERNAL_PROPERTY_LIST_LOOP'.
3521 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3523 * text-coding.c (decode_output_utf8_partial_char): New function.
3524 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3526 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * text-coding.c (decode_coding_utf8): Output original byte
3529 sequence if it is broken; change order of conditions.
3531 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3534 * mb-multibyte.h (BYTE_ASCII_P):
3535 Use bit ops for char-signedness safety.
3536 (BYTE_C0_P): Use bit ops for char-signedness safety.
3537 (BYTE_C1_P): Use bit ops for char-signedness safety.
3539 * character.h: (XCHAR_OR_CHAR_INT):
3540 Always use inline function.
3541 Remove redundant type checking assert() - XINT will abort quite
3544 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3546 * text-coding.c: (Fencode_shift_jis_char):
3547 (Fencode_big5_char):
3548 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3549 Replace 0 with '\0' when working with bytes.
3550 Replace initial "(" with "\(" in docstrings.
3552 (Fmake_coding_system):
3553 When type is ccl and value is vector, register it with a proper
3554 symbol. And checks whether the given ccl program is valid.
3555 (mule_decode): When calling ccl_driver, if src indicates
3556 NULL pointer, set an empty string instead.
3557 (mule_encode): Likewise.
3560 (detect_coding_sjis):
3561 (decode_coding_sjis):
3562 (detect_coding_big5):
3563 (decode_coding_big5):
3564 (detect_coding_ucs4):
3565 (decode_coding_ucs4):
3566 (detect_coding_utf8):
3567 (decode_coding_utf8):
3568 (detect_coding_iso2022):
3569 (decode_coding_iso2022):
3570 (decode_coding_no_conversion):
3572 Make all detecting and decoding functions take an Extbyte * arg.
3573 (text_encode_generic):
3574 (encode_coding_big5):
3575 (encode_coding_no_conversion):
3577 Make all encoding functions take a Bufbyte * arg.
3578 Use size_t instead of unsigned int for memory sizes.
3579 Only cast to unsigned char whenever dereferencing Extbyte *.
3581 (struct lrecord_description fcd_description_1): Use countof.
3582 (complex_vars_of_file_coding):
3583 Use countof instead of sizeof.
3584 Use CHECK_NATNUM instead of CHECK_INT.
3586 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3588 * mule-charset.c (Fget_char_attribute): Add new optional argument
3590 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3591 (remove_char_ccs): Likewise.
3593 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3595 * text-coding.c (char_encode_shift_jis): New implementation in
3597 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3600 * mule-charset.c (Vcharset_chinese_big5): New variable in
3602 (Qchinese_big5): New variable in UTF-2000.
3603 (BIG5_SAME_ROW): New macro in UTF-2000.
3604 (make_builtin_char): Use builtin characters of
3605 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3606 characters of `Vcharset_chinese_big5'.
3607 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3608 (complex_vars_of_mule_charset): Add new coded-charset
3609 `chinese-big5' in UTF-2000.
3611 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3612 (Vcharset_chinese_big5): New external variable declaration.
3613 (Vcharset_japanese_jisx0208_1990): Likewise.
3615 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3617 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3619 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3621 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3623 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3624 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3625 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3628 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3630 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3632 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3634 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3637 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3639 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3640 for `CHARSET_BY_ATTRIBUTES'.
3641 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3642 `CHARSET_BY_ATTRIBUTES'.
3644 * text-coding.c (struct decoding_stream): Rename member `CH' to
3646 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3647 (decode_coding_sjis): Likewise.
3648 (decode_coding_big5): Likewise.
3649 (decode_coding_ucs4): Likewise.
3650 (decode_coding_utf8): Likewise.
3651 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3652 `CHARSET_BY_ATTRIBUTES'.
3653 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3654 `str->counter'; decode 3, 4 bytes sets.
3655 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3657 (decode_coding_no_conversion): Use `str->cpos' instead of
3660 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3661 (Qmojikyo_2022_1): New variable.
3662 (make_charset): Don't use `CHARSET_TYPE_*'.
3663 (range_charset_code_point): Support coded-charset
3665 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3666 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3667 `CHARSET_BY_ATTRIBUTES'.
3668 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3669 `CHARSET_BY_ATTRIBUTES'.
3670 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3671 (complex_vars_of_mule_charset): Add new coded-charset
3674 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3675 interface; changed to inline function.
3677 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3678 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3679 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3680 (CHARSET_TYPE_94): Deleted.
3681 (CHARSET_TYPE_94X94): Deleted.
3682 (CHARSET_TYPE_96): Deleted.
3683 (CHARSET_TYPE_96X96): Deleted.
3684 (CHARSET_TYPE_128): Deleted.
3685 (CHARSET_TYPE_128X128): Deleted.
3686 (CHARSET_TYPE_256): Deleted.
3687 (CHARSET_TYPE_256X256): Deleted.
3688 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3690 (DECODE_MOJIKYO_2022): New inline function.
3691 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3692 `Vcharset_mojikyo_2022_1'.
3694 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3696 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3698 (put_byte_table): Likewise.
3699 (char_id_table_equal): Use `get_byte_table' [new implementation].
3701 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3703 * mule-charset.c: Include <limits.h> in UTF-2000.
3704 (BT_UINT8_MIN): New macro in UTF-2000.
3705 (BT_UINT8_MAX): New macro in UTF-2000.
3706 (BT_UINT8_t): New macro in UTF-2000.
3707 (BT_UINT8_nil): New macro in UTF-2000.
3708 (BT_UINT8_unbound): New macro in UTF-2000.
3709 (INT_UINT8_P): New inline function in UTF-2000.
3710 (UINT8_VALUE_P): New inline function in UTF-2000.
3711 (UINT8_ENCODE): New inline function in UTF-2000.
3712 (UINT8_DECODE): New inline function in UTF-2000.
3713 (mark_uint8_byte_table): New function in UTF-2000.
3714 (print_uint8_byte_table): New function in UTF-2000.
3715 (uint8_byte_table_equal): New function in UTF-2000.
3716 (uint8_byte_table_hash): New function in UTF-2000.
3717 (make_uint8_byte_table): New function in UTF-2000.
3718 (uint8_byte_table_same_value_p): New function in UTF-2000.
3719 (BT_UINT16_MIN): New macro in UTF-2000.
3720 (BT_UINT16_MAX): New macro in UTF-2000.
3721 (BT_UINT16_t): New macro in UTF-2000.
3722 (BT_UINT16_nil): New macro in UTF-2000.
3723 (BT_UINT16_unbound): New macro in UTF-2000.
3724 (INT_UINT16_P): New inline function in UTF-2000.
3725 (UINT16_VALUE_P): New inline function in UTF-2000.
3726 (UINT16_ENCODE): New inline function in UTF-2000.
3727 (UINT16_DECODE): New inline function in UTF-2000.
3728 (UINT8_TO_UINT16): New inline function in UTF-2000.
3729 (mark_uint16_byte_table): New function in UTF-2000.
3730 (print_uint16_byte_table): New function in UTF-2000.
3731 (uint16_byte_table_equal): New function in UTF-2000.
3732 (uint16_byte_table_hash): New function in UTF-2000.
3733 (make_uint16_byte_table): New function in UTF-2000.
3734 (uint16_byte_table_same_value_p): New function in UTF-2000.
3735 (print_byte_table): New function in UTF-2000.
3736 (byte-table): Use `print_byte_table' as printer.
3737 (make_byte_table): Delete second argument `older'.
3738 (byte_table_same_value_p): New function in UTF-2000.
3739 (copy_byte_table): Deleted.
3740 (get_byte_table): New function in UTF-2000.
3741 (put_byte_table): New function in UTF-2000.
3742 (print_char_id_table): New function in UTF-2000.
3743 (char-id-table): Use `print_char_id_table' as printer.
3744 (make_char_id_table): Delete second argument `older'.
3745 (get_char_id_table): Use `get_byte_table [new implementation].
3746 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3748 (Ffind_char_attribute_table): New function in UTF-2000.
3749 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3750 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3751 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3752 (syms_of_mule_charset): Add new function
3753 `find-char-attribute-table' in UTF-2000.
3755 * lrecord.h (enum lrecord_type): Add
3756 `lrecord_type_uint16_byte_table' and
3757 `lrecord_type_uint8_byte_table'.
3759 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3760 (Lisp_Uint8_Byte_Table): New type.
3761 (XUINT8_BYTE_TABLE): New macro.
3762 (XSETUINT8_BYTE_TABLE): New macro.
3763 (UINT8_BYTE_TABLE_P): New macro.
3764 (GC_UINT8_BYTE_TABLE_P): New macro.
3765 (struct Lisp_Uint16_Byte_Table): New structure.
3766 (Lisp_Uint16_Byte_Table): New type.
3767 (XUINT16_BYTE_TABLE): New macro.
3768 (XSETUINT16_BYTE_TABLE): New macro.
3769 (UINT16_BYTE_TABLE_P): New macro.
3770 (GC_UINT16_BYTE_TABLE_P): New macro.
3772 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3774 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3775 (Vcharacter_ideographic_strokes_table): Deleted.
3776 (Vcharacter_total_strokes_table): Deleted.
3777 (Vcharacter_morohashi_daikanwa_table): Deleted.
3778 (Vcharacter_decomposition_table): Deleted.
3779 (Qname): Deleted because it is duplicated.
3780 (Qideographic_radical): Deleted.
3781 (Qideographic_strokes): Deleted.
3782 (Qtotal_strokes): Deleted.
3783 (Qmorohashi_daikanwa): Deleted.
3784 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3785 `ideographic-radical', `ideographic-strokes', `total-strokes',
3786 `morohashi-daikanwa' and `->decomposition'.
3787 (Fget_char_attribute): Likewise.
3788 (Fput_char_attribute): Likewise; use `make-vector' instead of
3789 `make_older_vector' for `->decomposition' value.
3790 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3791 `ideograph-daikanwa'.
3792 (syms_of_mule_charset): Delete builtin symbols `name',
3793 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3794 `morohashi-daikanwa'.
3795 (vars_of_mule_charset): Don't setup
3796 `Vcharacter_ideographic_radical_table',
3797 `Vcharacter_ideographic_strokes_table',
3798 `Vcharacter_total_strokes_table',
3799 `Vcharacter_morohashi_daikanwa_table' and
3800 `Vcharacter_decomposition_table'.
3802 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3804 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3805 `make_older_vector', `make_vector_newer_1' and
3806 `make_vector_newer'.
3808 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3809 `make_older_vector' and `make_vector_newer'.
3811 * config.h.in (HAVE_GGC): New macro.
3813 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3815 * mule-charset.c (struct char_attribute_list_closure): New
3816 structure in UTF-2000.
3817 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3818 (Fchar_attribute_list): Likewise.
3819 (Fset_charset_mapping_table): Use `make_vector_newer'.
3820 (Fdecode_builtin_char): New function in UTF-2000.
3821 (syms_of_mule_charset): Add new function `char-attribute-list' and
3822 `decode-builtin-char' in UTF-2000.
3824 * lisp.h (make_vector_newer): New prototype.
3826 * alloc.c (make_vector_newer_1): New function.
3827 (make_vector_newer): New function.
3829 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3831 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3834 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3837 (Vcharacter_attribute_table): Deleted.
3838 (Vcharacter_name_table): Deleted.
3839 (put_char_attribute): Deleted.
3840 (remove_char_attribute): Deleted.
3841 (struct char_attribute_alist_closure): New structure.
3842 (add_char_attribute_alist_mapper): New function.
3843 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3844 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3845 (Fget_char_attribute): Likewise.
3846 (Fput_char_attribute): Likewise.
3847 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3848 of `remove_char_attribute'.
3849 (Fdefine_char): Return character.
3850 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3851 and `Vcharacter_name_table'.
3852 (complex_vars_of_mule_charset): Likewise
3853 `Vchar_attribute_hash_table'.
3855 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3857 * character.h (CHARC_CHARSET): New macro.
3858 (CHARC_CHARSET_ID): New macro.
3859 (CHARC_CODE_POINT): New macro.
3860 (CHARC_COLUMNS): New macro.
3861 (CHARC_TO_CHAR): New inline function.
3862 (CHARC_EQ): New inline function.
3863 (CHARC_ASCII_EQ): New inline function.
3864 (CHARC_IS_SPACE): New inline function.
3865 (ASCII_TO_CHARC): New inline function.
3867 * char-ucs.h (encode_char_2): Deleted.
3868 (ENCODE_CHAR): Use `encode_char_1' again.
3869 (breakup_char_1): Likewise.
3870 (CHAR_TO_CHARC): New inline function.
3872 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3874 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3876 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3877 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3878 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3879 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3880 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3882 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3884 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3886 (x_output_display_block): Use `CHARC_CHARSET' and
3889 * redisplay-tty.c (tty_output_display_block): Use
3891 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3893 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3895 * insdel.c (find_charsets_in_charc_string): Use
3897 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3898 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3899 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3900 (convert_charc_string_into_malloced_string): Likewise.
3902 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3904 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3905 instead of <Emchar_dynarr *> for buf; use
3906 `convert_bufbyte_string_into_charc_dynarr' instead of
3907 `convert_bufbyte_string_into_emchar_dynarr'; use
3908 `find_charsets_in_charc_string' instead of
3909 `find_charsets_in_emchar_string'.
3912 - Include "character.h".
3913 (struct rune): New member `cglyph'; delete member `chr'.
3915 * redisplay.c (redisplay_text_width_charc_string): New function;
3916 delete `redisplay_text_width_emchar_string'.
3917 (rtw_charc_dynarr): New variable; renamed from
3918 `rtw_emchar_dynarr'.
3919 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3920 `rtw_emchar_dynarr'; use
3921 `convert_bufbyte_string_into_charc_dynarr' instead of
3922 `convert_bufbyte_string_into_emchar_dynarr'; use
3923 `redisplay_text_width_charc_string' instead of
3924 `redisplay_text_width_emchar_string'.
3925 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3926 instead of `rtw_emchar_dynarr'; use
3927 `convert_bufbyte_string_into_charc_dynarr' instead of
3928 `convert_bufbyte_string_into_emchar_dynarr'.
3929 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3930 `redisplay_text_width_charc_string' instead of
3931 `redisplay_text_width_emchar_string'.
3932 (create_text_block): Modify for <struct rune> change.
3933 (generate_formatted_string_db): Likewise.
3934 (create_string_text_block): Likewise.
3935 (pixel_to_glyph_translation): Likewise.
3937 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3938 instead of <const Emchar *>.
3939 (x_text_width): Likewise.
3940 (x_output_display_block): Use <Charc_dynarr *> instead
3941 <Emchar_dynarr *>; modify for <structure rune> change.
3942 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3945 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3946 <const Emchar *>; use `charc_string_displayed_columns' instead of
3947 `emchar_string_displayed_columns'.
3948 (tty_output_display_block): Use <Charc_dynarr *> instead of
3949 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3950 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3951 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3952 `tty_output_emchar_dynarr_dynarr'.
3953 (tty_output_charc_dynarr): New function; delete
3954 `tty_output_charc_dynarr'.
3956 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3957 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3958 <Emchar_dynarr *> for buf; use
3959 `convert_bufbyte_string_into_charc_dynarr' instead of
3960 `convert_bufbyte_string_into_emchar_dynarr'.
3962 * frame.c (title_string_charc_dynarr): New variable; renamed from
3963 `title_string_emchar_dynarr'.
3964 (generate_title_string): Use `title_string_charc_dynarr' instead
3965 of `title_string_emchar_dynarr'; use
3966 `convert_charc_string_into_malloced_string' instead of
3967 `convert_emchar_string_into_malloced_string'.
3968 (init_frame): Use `title_string_charc_dynarr' instead of
3969 `title_string_emchar_dynarr'.
3972 - Include "character.h".
3973 (struct console_methods): Use <const Charc *> instead of <const
3974 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3975 <Emchar_dynarr *> in output_string_method.
3977 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3980 * console-stream.c (stream_text_width): Use <const Charc *>
3981 instead of <const Emchar *>.
3983 * character.h (Charc_dynarr): New type.
3985 * char-ucs.h (structure Charc): New structure; define new type
3988 * char-lb.h (DECODE_CHAR): New inline function.
3989 (encode_char_1): New inline function.
3990 (ENCODE_CHAR): New macro.
3991 (structure Charc): New structure; define new type `Charc'.
3993 * char-1byte.h (Vcharset_control_1): New macro.
3994 (Vcharset_latin_iso8859_1): New macro.
3995 (DECODE_CHAR): New inline function.
3996 (encode_char_1): New inline function.
3997 (ENCODE_CHAR): New macro.
3998 (structure Charc): New structure; define new type `Charc'.
4000 * insdel.c (find_charsets_in_charc_string): New function; delete
4001 `find_charsets_in_emchar_string'.
4002 (charc_string_displayed_columns): New function; delete
4003 `emchar_string_displayed_columns'.
4004 (convert_bufbyte_string_into_charc_dynarr): New function; delete
4005 `convert_bufbyte_string_into_emchar_dynarr'.
4006 (convert_charc_string_into_bufbyte_dynarr): New function; delete
4007 `convert_charc_string_into_bufbyte_dynarr'.
4008 (convert_charc_string_into_malloced_string): New function; delete
4009 `convert_charc_string_into_malloced_string'.
4011 * buffer.h (find_charsets_in_charc_string): New prototype; delete
4012 `find_charsets_in_emchar_string'.
4013 (charc_string_displayed_columns): New prototype; delete
4014 `emchar_string_displayed_columns'.
4015 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
4016 `convert_charc_string_into_bufbyte_dynarr'.
4017 (convert_charc_string_into_malloced_string): New prototype; delete
4018 `convert_charc_string_into_malloced_string'.
4020 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4022 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
4024 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4026 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
4028 * char-ucs.h: Use <short> for <Charset_ID>.
4030 * mule-charset.h, char-1byte.h: Use <unsigned char> for
4033 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4035 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4038 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4040 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
4042 (Qmorohashi_daikanwa): New variable.
4043 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
4044 for `morohashi-daikanwa' attribute.
4045 (Fget_char_attribute): Likewise.
4046 (Fput_char_attribute): Likewise.
4047 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
4048 has the same value of `ideograph-daikanwa'.
4049 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
4050 (vars_of_mule_charset): Setup
4051 `Vcharacter_morohashi_daikanwa_table'.
4053 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4055 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
4057 (add_charset_to_list_mapper): Add `key' instead of
4058 `XCHARSET_NAME (value)' to return aliases.
4060 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4062 * mule-charset.c (Vcharacter_ideographic_radical_table): New
4064 (Vcharacter_ideographic_strokes_table): New variable.
4065 (Qideographic_radical): New variable.
4066 (Qideographic_strokes): New variable.
4067 (Fchar_attribute_alist): Use
4068 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
4069 attribute; use `Vcharacter_ideographic_strokes_table' for
4070 `ideographic-strokes' attribute.
4071 (Fget_char_attribute): Likewise.
4072 (Fput_char_attribute): Likewise.
4073 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
4074 `ideographic-strokes'.
4075 (vars_of_mule_charset): Setup
4076 `Vcharacter_ideographic_radical_table' and
4077 `Vcharacter_ideographic_strokes_table'.
4079 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4081 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4082 (Qtotal_strokes): New variable.
4083 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4084 `total-strokes' attribute.
4085 (Fget_char_attribute): Likewise.
4086 (Fput_char_attribute): Likewise.
4087 (syms_of_mule_charset): Add new symbol `total-strokes'.
4088 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4090 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4092 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4093 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4095 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4096 `->decomposition' attribute.
4097 (Fput_char_attribute): Likewise.
4098 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4100 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4102 * mule-charset.c (decoding_table_check_elements): New function.
4103 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4105 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4107 * mule-charset.c (Fset_charset_mapping_table): Use
4108 `put_char_ccs_code_point'.
4110 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4112 * mule-charset.c (decoding_table_put_char): New inline function.
4113 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4115 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4117 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4118 (XCHARSET_BYTE_SIZE): New macro.
4119 (decoding_table_remove_char): New inline function.
4120 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4121 `decoding_table_remove_char'.
4122 (remove_char_ccs): Use `decoding_table_remove_char'.
4123 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4125 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4127 * mule-charset.c (Vcharacter_name_table): New variable.
4128 (Qname): New variable.
4129 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4131 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4132 `Vcharacter_name_table' for `name' attribute.
4133 (Fremove_char_attribute): Use function `remove_char_ccs'.
4134 (put_char_ccs_code_point): New function.
4135 (remove_char_ccs): New function.
4136 (syms_of_mule_charset): Add new symbol `name'.
4137 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4139 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4141 * mule-charset.c (make_byte_table): Add new argument `older'.
4142 (make_char_id_table): Likewise.
4143 (copy_char_id_table): Comment out because it is not used.
4144 (put_char_id_table): Modify for `make_byte_table'.
4145 (Fput_char_attribute): Make encoding_table as older object;
4146 inherit older bit of `Vcharacter_composition_table'.
4147 (mark_charset): Don't mark `cs->encoding_table'.
4148 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4149 normal object; make `Vcharacter_composition_table' as an older
4150 object; delete staticpro for `Vcharacter_composition_table'; make
4151 `Vcharacter_variant_table' as a normal object.
4153 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4154 (mark_object): Don't check older object in UTF-2000.
4156 * lrecord.h (struct lrecord_header): Add new member `older' in
4158 (set_lheader_implementation): Setup `SLI_header->older' in
4160 (set_lheader_older_implementation): New macro in UTF-2000.
4161 (OLDER_RECORD_P): New macro in UTF-2000.
4162 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4163 (alloc_older_lcrecord): New prototype in UTF-2000.
4164 (alloc_older_lcrecord_type): New macro in UTF-2000.
4166 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4168 * mule-charset.c (byte_table_description): Use
4169 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4170 (char_id_table_description): Delete bogus `, 1'.
4171 (Fget_char_attribute): Refer encoding_table of each coded-charset
4172 to get value of coded-charset attribute of a character.
4173 (Fput_char_attribute): Use `make_older_vector' instead of
4174 `make_vector'; use encoding_table of each coded-charset to store
4175 value of coded-charset attribute of a character.
4176 (Fremove_char_attribute): Use encoding_table of each coded-charset
4177 to store value of coded-charset attribute of a character.
4178 (mark_charset): Mark `cs->encoding_table'; don't mark
4179 `cs->decoding_table'.
4180 (charset_description): Add description of new member
4182 (make_charset): Initialize `encoding_table'.
4184 * char-ucs.h (struct Lisp_Charset): Add new member
4186 (CHARSET_ENCODING_TABLE): New macro.
4187 (XCHARSET_ENCODING_TABLE): New macro.
4188 (charset_code_point): New implementation.
4189 (encode_char_1): Likewise.
4191 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4192 (disksave_object_finalization_1): Call finalizers of
4193 `all_older_lcrecords' in UTF-2000.
4194 (make_older_vector): New function in UTF-2000.
4195 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4198 * lisp.h (make_older_vector): New prototype in UTF-2000.
4200 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4202 * lrecord.h (enum lrecord_type): Rename
4203 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4205 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4206 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4207 `get_char_code_table'.
4209 * mule-charset.c (mark_char_id_table): Renamed from
4210 `mark_char_code_table'.
4211 (char_id_table_equal): Renamed from `char_code_table_equal'.
4212 (char_id_table_hash): Renamed from `char_code_table_hash'.
4213 (make_char_id_table): Renamed from `make_char_code_table'.
4214 (copy_char_id_table): Renamed from `copy_char_code_table'.
4215 (get_char_id_table): Renamed from `get_char_code_table'.
4216 (put_char_id_table): Renamed from `put_char_code_table'.
4217 (to_char_id): Renamed from `to_char_code'.
4219 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4220 `Lisp_Char_Code_Table'.
4221 (char_id_table): Renamed from `char_code_table'.
4222 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4223 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4224 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4225 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4226 (get_char_id_table): Renamed from `get_char_code_table'.
4228 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4230 * lrecord.h (enum lrecord_type): Rename
4231 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4233 * mule-charset.c (mark_byte_table): Renamed from
4234 `mark_char_byte_table'.
4235 (byte_table_equal): Renamed from `char_byte_table_equal'.
4236 (byte_table_hash): Renamed from `byte_table_hash'.
4237 (make_byte_table): Renamed from `make_byte_table'.
4238 (copy_byte_table): Renamed from `copy_char_byte_table'.
4240 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4241 `Lisp_Char_Byte_Table'.
4242 (byte_table): Renamed from `char_byte_table'.
4243 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4244 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4245 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4246 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4248 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4250 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4251 (dfc_convert_to_internal_format): Likewise.
4253 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4254 * text-coding.c (Fcoding_system_alias_p): New function.
4255 * text-coding.c (Fcoding_system_aliasee): New function.
4256 * text-coding.c (append_suffix_to_symbol): New function.
4257 * text-coding.c (dangling_coding_system_alias_p): New function.
4258 * text-coding.c (Ffind_coding_system):
4259 * text-coding.c (Fcopy_coding_system):
4260 * text-coding.c (encode_coding_no_conversion):
4261 * text-coding.c (syms_of_file_coding):
4262 * text-coding.c (vars_of_file_coding):
4263 Rewrite coding system alias code.
4264 Allow nested aliases, like symbolic links.
4265 Allow redefinition of coding system aliases.
4266 Prevent existence of dangling coding system aliases.
4267 Eliminate convert_to_external_format.
4268 Eliminate convert_to_internal_format.
4270 * text-coding.c: Change enum eol_type to eol_type_t.
4272 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4274 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4275 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4277 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4278 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4280 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4282 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4283 `ideograph-daikanwa'.
4285 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4286 (Vcharset_ucs_bmp): Likewise.
4287 (Vcharset_mojikyo): Add new extern variable definition.
4288 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4289 (Vcharset_latin_iso8859_3): Likewise.
4290 (Vcharset_latin_iso8859_4): Likewise.
4291 (Vcharset_latin_iso8859_9): Likewise.
4292 (Vcharset_latin_viscii_lower): Likewise.
4293 (Vcharset_latin_viscii_upper): Likewise.
4294 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4295 `mojikyo' code-point is used to decode.
4296 (encode_char_2): New function [to convert `mojikyo' code-point to
4297 Mojikyo font encoding].
4298 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4299 (breakup_char_1): Likewise.
4300 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4302 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4304 * text-coding.c (Fmake_coding_system): Add document about
4305 `disable-composition' property.
4307 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4309 * text-coding.c (Qdisable_composition): New variable; delete
4311 (Fmake_coding_system): Add new property `disable-composite';
4312 delete property `composite'.
4313 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4314 instead of `!CODING_SYSTEM_COMPOSITE'.
4315 (syms_of_file_coding): Add new symbol `disable-composition';
4316 delete symbol `composite'.
4318 * file-coding.h (struct Lisp_Coding_System): Add
4319 `disable_composition'; delete `enable_composition'.
4320 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4321 `CODING_SYSTEM_COMPOSITE'.
4322 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4323 `XCODING_SYSTEM_COMPOSITE'.
4325 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4327 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4330 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4332 * text-coding.c (Qcomposite): New variable.
4333 (Fmake_coding_system): Add new property `composite'.
4334 (struct decoding_stream): Add `combined_char_count',
4335 `combined_chars' and `combining_table' in UTF-2000.
4336 (COMPOSE_FLUSH_CHARS): New macro.
4337 (COMPOSE_ADD_CHAR): New macro.
4338 (reset_decoding_stream): Reset `str->combined_char_count' and
4339 `str->combining_table' in UTF-2000.
4340 (decode_coding_iso2022): Modify for character-decomposition.
4341 (syms_of_file_coding): Add new symbol `composite'.
4343 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4345 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4346 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4347 of `Vcharacter_composition_table' if `->decomposition' property
4349 (Qlatin_tcvn5712): New variable.
4350 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4351 (complex_vars_of_mule_charset): Add new coded-charset
4354 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4356 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4358 * file-coding.h (struct Lisp_Coding_System): Add
4359 `enable_composition'.
4360 (CODING_SYSTEM_COMPOSITE): New macro.
4361 (XCODING_SYSTEM_COMPOSITE): New macro.
4363 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4365 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4367 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4369 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4370 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4372 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4374 * mule-charset.c (Vcharset_mojikyo): New variable.
4375 (Fdefine_char): Don't use coded-charset which does not have
4376 non-builtin character range to allocate character-id.
4377 (Qmojikyo): New variable.
4378 (syms_of_mule_charset): Add new symbol `mojikyo'.
4379 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4381 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4382 (LEADING_BYTE_MOJIKYO): New macro.
4383 (MIN_CHAR_MOJIKYO): New macro.
4384 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4385 (MAX_CHAR_MOJIKYO): New macro.
4387 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4389 * mule-charset.c (remove_char_attribute): Fixed.
4391 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4393 * mule-charset.c (remove_char_attribute): New function.
4394 (Fremove_char_attribute): New function.
4395 (encode_builtin_char_1): Comment out builtin-support for
4396 greek-iso8859-7 and cyrillic-iso8859-5.
4397 (Fdecode_char): Check `code' is an integer.
4398 (syms_of_mule_charset): Add `remove-char-attribute'.
4399 (MIN_CHAR_GREEK): Deleted.
4400 (MAX_CHAR_GREEK): Likewise.
4401 (MIN_CHAR_CYRILLIC): Likewise.
4402 (MAX_CHAR_CYRILLIC): Likewise.
4403 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4404 MAX_CHAR_GREEK for `greek-iso8859-7'.
4406 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4407 (MAX_CHAR_GREEK): Likewise.
4408 (MIN_CHAR_CYRILLIC): Likewise.
4409 (MAX_CHAR_CYRILLIC): Likewise.
4411 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4413 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4414 format is used without `ucs' property.
4415 (Fdecode_char): Fix problem with GR representation.
4416 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4417 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4419 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4421 * mule-charset.c (make_builtin_char): New function.
4422 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4423 (Fset_charset_mapping_table): Modify for new representation of
4425 (Fdecode_char): New function.
4426 (syms_of_mule_charset): Add new builtin function `decode-char' in
4429 * char-ucs.h (make_builtin_char): New prototype.
4430 (DECODE_CHAR): New inline function.
4431 (MAKE_CHAR): Use `DECODE_CHAR'.
4433 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4435 * text-coding.c (parse_charset_conversion_specs): Use
4436 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4438 (iso2022_designate): Likewise.
4440 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4441 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4443 * mule-charset.c (Vcharset_ucs): New variable.
4444 (print_charset): Change design; use `CHARSET_CHARS' and
4445 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4446 (make_charset): Change signature to specify `chars' and
4447 `dimension' instead of `type'.
4448 (range_charset_code_point): Modify for 256^n-set.
4449 (encode_builtin_char_1): Encode as `ucs' in default.
4450 (Fmake_charset): Modify for `make_charset'.
4451 (Fmake_reverse_direction_charset): Likewise.
4452 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4454 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4457 * char-ucs.h (Vcharset_ucs): New variable.
4458 (LEADING_BYTE_UCS): New macro.
4459 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4460 and `chars' to `unsigned short' from `unsigned int'.
4461 (CHARSET_TYPE): Deleted.
4462 (XCHARSET_TYPE): Deleted.
4464 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4466 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4468 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4469 (ENCODE_CHAR): New macro.
4471 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4473 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4474 to 0.14 (Kawachi-Katakami).
4476 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4478 * text-coding.c (char_encode_shift_jis): Modify for
4479 `charset_code_point'.
4480 (char_encode_iso2022): Likewise.
4482 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4483 (integer) instead of list of <Lisp_Object>s (integers) as the
4484 format of code-point of a coded-charset.
4485 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4486 (encode_builtin_char_1): New function; delete
4487 `split_builtin_char'.
4488 (charset_code_point): Return <int> instead of <Lisp_Object>.
4489 (Fsplit_char): Don't use `SPLIT_CHAR'.
4491 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4492 prototype for `split_builtin_char'.
4493 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4494 (charset_code_point): Likewise.
4495 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4496 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4498 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4500 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4501 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4503 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4505 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4507 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4508 (MAX_CHAR_OBS_94x94): Deleted.
4510 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4512 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4514 * char-ucs.h (MAX_CHAR_BMP): New macro.
4516 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4518 * text-coding.c: Sync with r21-2-24.
4520 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4522 * file-coding.c: Modify for UTF-2000.
4524 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4526 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4529 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4531 * mule-charset.c (split_builtin_char): Delete builtin support for
4532 `katakana-jisx0201'.
4533 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4534 BMP area in builtin representation.
4536 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4537 `Vcharset_katakana_jisx0201'.
4539 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4541 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4542 (Qisolated): New variable.
4543 (Qinitial): New variable.
4544 (Qmedial): New variable.
4545 (Qfinal): New variable.
4546 (Qvertical): New variable.
4547 (Qsmall): New variable.
4548 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4549 `Qvertical' and `Qsmall'.
4550 (Qmojikyo_pj_[1 .. 21]): New variable.
4551 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4552 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4553 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4556 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4559 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4560 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4562 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4564 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4565 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4567 (Qjapanese_jisx0208_1990): New variable.
4568 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4569 (complex_vars_of_mule_charset): Add new coded-charset
4570 `japanese-jisx0208-1990'.
4572 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4573 (MIN_CHAR_JIS_X0208_1990): New macro.
4574 (MAX_CHAR_JIS_X0208_1990): New macro.
4576 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4578 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4579 coded-charset is not found.
4581 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4583 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4584 (Fdefine_char): Use `Fmake_char'.
4586 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4588 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4589 (Vcharset_hiragana_jisx0208): Deleted.
4590 (Vcharset_katakana_jisx0208): Deleted.
4591 (Qideograph_daikanwa): New variable.
4592 (Qhiragana_jisx0208): Deleted.
4593 (Qkatakana_jisx0208): Deleted.
4594 (split_builtin_char): Split `ideograph-daikanwa'.
4595 (Fsplit_char): New implementation for UTF-2000.
4596 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4597 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4598 (complex_vars_of_mule_charset): Add new coded-charset
4599 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4600 `katakana-jisx0208'.
4602 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4603 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4604 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4605 (MIN_CHAR_DAIKANWA): New macro.
4606 (MAX_CHAR_DAIKANWA): New macro.
4608 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4610 * data.c (Fstring_to_number): Don't recognize floating point if
4613 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4615 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4617 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4619 * mule-charset.c (Qsquare): New variable.
4620 (to_char_code): Add `Qsquare'.
4621 (syms_of_mule_charset): Add new symbol `square'.
4623 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4625 * mule-charset.c (Qcircle): New variable.
4626 (to_char_code): Add `Qcircle'.
4627 (syms_of_mule_charset): Add new symbol `circle'.
4629 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4631 * mule-charset.c (Qfont): New variable.
4632 (to_char_code): Add `Qfont'.
4633 (syms_of_mule_charset): Add new symbol `font'.
4635 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4637 * mule-charset.c (Qsub): New variable.
4638 (to_char_code): Add `Qsub'.
4639 (syms_of_mule_charset): Add new symbol `sub'.
4641 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4643 * mule-charset.c (Fput_char_attribute): Convert each element of
4644 VALUE to GL position if ATTRIBUTE is a GR-set,
4646 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4648 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4649 coded-charset is a GR-set.
4651 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4653 * mule-charset.c (Fput_char_attribute): Check each element of
4654 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4656 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4658 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4660 (Qethiopic_ucs): New variable in UTF-2000.
4661 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4662 (complex_vars_of_mule_charset): Add new coded-charset
4663 `ethiopic-ucs' in UTF-2000.
4665 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4666 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4668 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4670 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4672 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4674 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4677 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4679 * mule-charset.c (Vcharacter_variant_table): New variable.
4680 (Q_ucs): New variable.
4681 (Fchar_variants): New function.
4682 (Fput_char_attribute): Register `->ucs' value to
4683 `Vcharacter_variant_table'.
4684 (syms_of_mule_charset): Add new function `char-variants' and new
4686 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4688 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4690 * mule-charset.c (get_char_code_table): Allow negative character
4692 (put_char_code_table): Likewise.
4693 (Vcharacter_composition_table): New variable.
4694 (Q_decomposition): New variable.
4695 (Qwide): New variable.
4696 (Qnarrow): New variable.
4697 (Qcompat): New variable.
4698 (QnoBreak): New variable.
4699 (Qsuper): New variable.
4700 (Qfraction): New variable.
4701 (to_char_code): New function.
4702 (Fget_composite_char): New function.
4703 (Fput_char_attribute): Register `->decomposition' value to
4704 `Vcharacter_composition_table'.
4705 (syms_of_mule_charset): Add new function `get-composite-char', new
4706 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4707 `super' and `fraction'.
4708 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4710 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4712 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4713 character; copy the return value.
4715 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4717 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4719 * mule-charset.c (range_charset_code_point): Must use make_int.
4720 (split_builtin_char): New function.
4722 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4724 * mule-charset.c (char_byte_table): Change name from
4725 "char-code-table" to "char-byte-table".
4726 (mark_char_code_table): New function.
4727 (char_code_table_equal): New function.
4728 (char_code_table_hash): New function.
4729 (char_code_table_description): New constant.
4730 (char_code_table): New type.
4731 (make_char_code_table): New function.
4732 (copy_char_code_table): New function.
4733 (get_char_code_table): Modify for `char_code_table' type.
4734 (put_char_code_table): Likewise.
4735 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4738 * char-ucs.h (char_code_table): New type.
4739 (XCHAR_CODE_TABLE): New macro.
4740 (XSETCHAR_CODE_TABLE): New macro.
4741 (CHAR_CODE_TABLE_P): New macro.
4742 (GC_CHAR_CODE_TABLE_P): New macro.
4743 (struct Lisp_Char_Code_Table): New structure.
4745 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4747 * mule-charset.c (Fmake_charset): Setup byte_offset for
4750 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4752 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4755 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4757 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4760 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4762 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4763 charset, it is regarded as a charset.
4764 (put_char_attribute): New function in UTF-2000.
4765 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4766 charset, mapping-table of the charset is modified.
4767 (Fdefine_char): New function in UTF-2000.
4768 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4769 `Fput_char_attribute'.
4770 (syms_of_mule_charset): Add new function `define-char' and new
4771 symbol `ucs' in UTF-2000.
4772 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4774 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4776 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4777 non-UTF-2000 configuration.
4779 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4781 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4782 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4784 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4786 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4787 (Fset_charset_mapping_table): Likewise.
4789 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4790 (CHARSET_ENCODING_TABLE): Delete.
4791 (XCHARSET_ENCODING_TABLE): Delete.
4792 (charset_code_point): New interface.
4794 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4796 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4797 instead of `charset_get_byte1' and `charset_get_byte2'.
4799 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4800 (charset_get_byte2): Deleted.
4802 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * char-ucs.h (SPLIT_CHAR): New inline function.
4805 (breakup_char_1): Use `SPLIT_CHAR'.
4807 * mule-charset.c (range_charset_code_point): New function.
4808 (charset_code_point): New function.
4810 * char-ucs.h (range_charset_code_point): New interface.
4811 (breakup_char_1): Use `range_charset_code_point'.
4813 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4815 * mule-charset.c (Fmake_charset): Delete unused local variable
4818 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4819 (breakup_char_1): Find a charset and code-point in
4820 `Vcharacter_attribute_table'.
4822 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4824 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4827 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4829 * mule-charset.c (Vcharacter_attribute_table): New variable.
4830 (Fchar_attribute_alist): New function.
4831 (Fget_char_attribute): New function.
4832 (Fput_char_attribute): New function.
4833 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4835 (syms_of_mule_charset): Add new function `char-attribute-alist',
4836 `get-char-attribute' and `put-char-attribute'.
4837 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4839 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4841 * mule-charset.c (Fmake_charset): Just use
4842 `get_unallocated_leading_byte'.
4844 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4845 sets; don't use final-byte based number for private sets.
4847 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4849 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4852 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4854 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4857 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4859 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4860 of `CHAR_LEADING_BYTE' in UTF-2000.
4862 * insdel.c (find_charsets_in_bufbyte_string): Use
4863 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4864 (find_charsets_in_emchar_string): Likewise.
4866 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4867 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4869 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4870 (CHAR_CHARSET_ID): New macro.
4872 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4874 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4875 charset-id - MIN_LEADING_BYTE.
4876 (put_char_table): Likewise.
4878 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4880 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4881 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4882 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4883 (CHARSET_ID_OFFSET): New macro.
4884 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4885 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4886 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4887 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4889 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4891 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4892 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4893 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4894 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4895 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4897 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4899 * mule-charset.c (next_allocated_leading_byte): New variable in
4901 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4902 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4903 (get_unallocated_leading_byte): Simply use
4904 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4905 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4908 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4909 (MAX_LEADING_BYTE_PRIVATE): New macro.
4910 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4911 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4913 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4915 * mule-charset.c (Fmake_charset): Allocate final-byte based
4916 charset-id for 94-set, 96-set and 94x94-set.
4918 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4920 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4922 (Fmake_charset): Likewise.
4923 (complex_vars_of_mule_charset): Modify the font registry of
4924 `ucs-bmp' not to match `Ethiopic-Unicode'.
4926 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4928 * mule-charset.c (complex_vars_of_mule_charset): Add font
4929 registory of `ucs-bmp'.
4931 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4933 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4934 coded-charsets in `default-coded-charset-priority-list' when
4935 breaking up a character.
4937 * mule-charset.c (Vcharset_latin_viscii): New variable.
4938 (Qlatin_viscii): New variable.
4939 (make_charset): Don't use `decoding_table'.
4940 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4942 (Fset_charset_mapping_table): New implementation.
4943 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4944 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4945 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4946 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4947 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4948 charset `latin_viscii'.
4950 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4951 (CHARSET_TYPE_94X94): Change to 1 from 2.
4952 (CHARSET_TYPE_96): Change to 2 from 1.
4953 (CHARSET_TYPE_128): New macro.
4954 (CHARSET_TYPE_128X128): Change to 5 from 4.
4955 (CHARSET_TYPE_256): New macro.
4956 (CHARSET_TYPE_256X256): Change to 7 from 5.
4957 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4959 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4961 * text-coding.c (char_encode_shift_jis): Refer
4962 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4963 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4965 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4966 (char_byte_table_equal): New function in UTF-2000.
4967 (char_byte_table_hash): New function in UTF-2000.
4968 (char_byte_table_description): New constant in UTF-2000.
4969 (char_byte_table): New type in UTF-2000.
4970 (make_char_byte_table): New function in UTF-2000.
4971 (copy_char_byte_table): New function in UTF-2000.
4972 (make_char_code_table): New macro in UTF-2000.
4973 (get_char_code_table): New function in UTF-2000.
4974 (put_char_code_table): New function in UTF-2000.
4975 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4976 (charset_description): Add setting in UTF-2000.
4977 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4978 `CHARSET_TO_BYTE1_TABLE(cs)'.
4979 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4980 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4981 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4982 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4983 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4984 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4985 `CHARSET_TO_BYTE2_TABLE(cs)'.
4987 * char-ucs.h (char_byte_table): New type.
4988 (XCHAR_BYTE_TABLE): New macro.
4989 (XSETCHAR_BYTE_TABLE): New macro.
4990 (CHAR_BYTE_TABLE_P): New macro.
4991 (GC_CHAR_BYTE_TABLE_P): New macro.
4992 (struct Lisp_Char_Byte_Table): New structure.
4993 (get_char_code_table): New interface.
4994 (Emchar_to_byte_table): Deleted.
4995 (get_byte_from_character_table): Deleted.
4996 (struct Lisp_Charset): Add `encoding_table'; delete
4997 `to_byte1_table' and `to_byte2_table'.
4998 (CHARSET_ENCODING_TABLE): New macro.
4999 (CHARSET_TO_BYTE1_TABLE): Deleted.
5000 (CHARSET_TO_BYTE2_TABLE): Deleted.
5001 (XCHARSET_ENCODING_TABLE): New macro.
5002 (XCHARSET_TO_BYTE1_TABLE): Deleted.
5003 (XCHARSET_TO_BYTE2_TABLE): Deleted.
5005 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5007 * mule-charset.c (syms_of_mule_charset): Delete charset alias
5008 `vietnamese-viscii-*'.
5010 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5012 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
5013 (Qvietnamese_viscii_upper): New variable.
5014 (Fdefine_charset_alias): New function.
5015 (syms_of_mule_charset): Add new function `define-charset-alias'.
5016 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
5017 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
5020 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
5022 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
5023 (MAX_CHAR_OBS_94x94): New macro.
5024 (breakup_char_1): Support obsolete XEmacs-UCS private code space
5027 * mule-charset.c (put_byte_from_character_table): Change unit size
5029 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
5031 (Fmake_reverse_direction_charset): Modify dummy argument of
5032 `make_charset' for non-UTF-2000 environment.
5034 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5036 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
5038 * mule-charset.c (destroy_byte_from_character_table): New macro.
5039 (latin_jisx0201_to_ucs): Deleted.
5040 (latin_iso8859_2_to_ucs): Deleted.
5041 (latin_iso8859_3_to_ucs): Deleted.
5042 (latin_iso8859_4_to_ucs): Deleted.
5043 (latin_iso8859_9_to_ucs): Deleted.
5044 (latin_viscii_lower_to_ucs): Deleted.
5045 (latin_viscii_upper_to_ucs): Deleted.
5046 (mark_charset): Mark `cs->decoding_table'.
5047 (Fcharset_mapping_table): Fix DOC-string.
5048 (Fset_charset_mapping_table): New function.
5049 (syms_of_mule_charset): Add nwe function
5050 `set-charset-mapping-table'.
5051 (complex_vars_of_mule_charset): Don't setup and use
5054 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
5056 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
5059 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
5061 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
5062 (Vcharset_katakana_jisx0208): New variable.
5063 (Qhiragana_jisx0208): New variable.
5064 (Qkatakana_jisx0208): New variable.
5065 (make_charset): Add new argument `byte_offset'.
5066 (charset_get_byte1): Modify for new coded-charset definition; use
5067 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5068 `XCHARSET_BYTE_OFFSET'.
5069 (Fmake_charset): Modify for `make_charset'.
5070 (Fmake_reverse_direction_charset): Likewise.
5071 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
5072 `katakana-jisx0208'.
5073 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
5074 `.' in font registry of charset `katakana-jisx0201',
5075 `latin-jisx0201', `vietnamese-viscii-lower' and
5076 `vietnamese-viscii-upper'; modify DOC-string of charset
5077 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5078 registry of charset `japanese-jisx0208' not to use font for JIS
5079 X0208:1990; add new charset `hiragana-jisx0208' and
5080 `katakana-jisx0208'.
5082 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5083 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5084 (struct Lisp_Charset): Add `byte_offset'.
5085 (CHARSET_BYTE_OFFSET): New macro.
5086 (XCHARSET_UCS_MIN): New macro.
5087 (XCHARSET_UCS_MAX): New macro.
5088 (XCHARSET_CODE_OFFSET): New macro.
5089 (XCHARSET_BYTE_OFFSET): New macro.
5090 (MIN_CHAR_HIRAGANA): New macro.
5091 (MAX_CHAR_HIRAGANA): New macro.
5092 (MIN_CHAR_KATAKANA): New macro.
5093 (MAX_CHAR_KATAKANA): New macro.
5094 (MAKE_CHAR): Modify for new coded-charset definition; use
5095 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5096 `XCHARSET_BYTE_OFFSET'.
5098 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5100 * mule-charset.c (CHAR96): Deleted.
5101 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5103 (latin_iso8859_2_to_ucs): Likewise.
5104 (latin_iso8859_3_to_ucs): Likewise.
5105 (latin_iso8859_4_to_ucs): Likewise.
5106 (latin_iso8859_9_to_ucs): Likewise.
5107 (latin_viscii_lower_to_ucs): Likewise.
5108 (latin_viscii_upper_to_ucs): Likewise.
5109 (latin_tcvn5712_to_ucs): Commented out.
5110 (make_charset): Change type of argument `decoding_table' from
5111 <Emchar*> to <Lisp_Object> [vector of characters].
5112 (Fmake_charset): Modify for `make_charset'.
5113 (Fmake_reverse_direction_charset): Likewise.
5114 (Fcharset_mapping_table): New function in UTF-2000.
5115 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5117 (complex_vars_of_mule_charset): Modify for type change of
5118 `*_to_ucs'; modify for `make_charset'.
5120 * char-ucs.h (struct Lisp_Charset): Change type of
5121 `decoding_table' from <Emchar*> to <Lisp_Object>.
5122 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5124 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5126 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5127 error with non-UTF-2000-Mule.
5129 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5131 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5133 (Vcharset_chinese_cns11643_4): Likewise.
5134 (Vcharset_chinese_cns11643_5): Likewise.
5135 (Vcharset_chinese_cns11643_6): Likewise.
5136 (Vcharset_chinese_cns11643_7): Likewise.
5137 (Qchinese_cns11643_3): Likewise.
5138 (Qchinese_cns11643_4): Likewise.
5139 (Qchinese_cns11643_5): Likewise.
5140 (Qchinese_cns11643_6): Likewise.
5141 (Qchinese_cns11643_7): Likewise.
5142 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5143 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5144 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5145 (complex_vars_of_mule_charset): Likewise.
5147 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5149 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5151 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5152 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5154 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5156 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5158 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5159 (breakup_char_1): Likewise.
5161 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5162 one of them includes the specified character.
5164 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5166 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5168 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5170 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5172 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5174 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5175 definition for non-UTF-2000 Mule.
5176 (latin_iso8859_3_to_ucs): Likewise.
5177 (latin_iso8859_4_to_ucs): Likewise.
5178 (latin_iso8859_9_to_ucs): Likewise.
5179 (latin_jisx0201_to_ucs): Likewise.
5180 (MIN_CHAR_THAI): Likewise.
5181 (MAX_CHAR_THAI): Likewise.
5182 (MIN_CHAR_GREEK): Likewise.
5183 (MAX_CHAR_GREEK): Likewise.
5184 (MIN_CHAR_HEBREW): Likewise.
5185 (MAX_CHAR_HEBREW): Likewise.
5186 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5187 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5188 (MIN_CHAR_CYRILLIC): Likewise.
5189 (MAX_CHAR_CYRILLIC): Likewise.
5191 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5193 * char-ucs.h (breakup_char_1): Use
5194 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5195 thai-tis620 and katakana-jisx0201 area.
5197 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5199 * char-ucs.h (breakup_char_1): Use
5200 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5203 * text-coding.c (reset_encoding_stream): Fixed.
5204 (char_encode_ucs4): Delete `& 255'.
5206 * char-ucs.h (breakup_char_1): Use
5207 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5209 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5211 * file-coding.c (Fmake_coding_system): Don't set up
5212 `codesys->fixed.size'.
5213 (encode_coding_no_conversion): Don't refer
5214 `str->codesys->fixed.size'.
5216 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5218 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5219 (latin_a_char_to_byte1): Deleted.
5220 (latin_a_char_to_byte2): Deleted.
5222 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5224 * mule-charset.c (make_charset): Add new argument `ucs_min',
5225 `ucs_max' and `code_offset'.
5226 (charset_get_byte1): New implementation [delete specific charset
5227 depended implementations].
5228 (Fmake_charset): Modify for `make_charset'.
5229 (Fmake_reverse_direction_charset): Likewise.
5230 (complex_vars_of_mule_charset): Likewise.
5232 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5234 (CHARSET_UCS_MIN): New macro.
5235 (CHARSET_UCS_MAX): New macro.
5236 (CHARSET_CODE_OFFSET): New macro.
5237 (MAKE_CHAR): Delete charset depended definitions [except
5240 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5242 * char-ucs.h (breakup_char_1): Use
5243 `Vdefault_coded_charset_priority_list' for C0-Controls,
5244 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5246 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5248 * char-ucs.h (charset_get_byte1): New function.
5249 (XCHARSET_GET_BYTE1): Deleted.
5250 (charset_get_byte2): New function.
5251 (XCHARSET_GET_BYTE2): Deleted.
5252 (Vdefault_coded_charset_priority_list): New external variable.
5253 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5254 `Vdefault_preferred_coded_charset_list'.
5256 * mule-charset.c (charset_get_byte1): New function.
5257 (charset_get_byte2): New function.
5258 (Vdefault_coded_charset_priority_list): New variable.
5259 (vars_of_mule_charset): Add new variable
5260 `default-coded-charset-priority-list'.
5262 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5264 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5265 (XCHARSET_GET_BYTE2): New inline function.
5266 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5267 `XCHARSET_GET_BYTE2'.
5269 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5271 * mule-charset.c (make_charset): Initialize
5272 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5273 NULL if table is not defined.
5275 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5277 * text-coding.c (char_encode_shift_jis): Use
5278 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5279 `ucs_to_latin_jisx0201'.
5281 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5282 (ucs_to_latin_iso8859_2): Deleted.
5283 (ucs_to_latin_iso8859_3): Deleted.
5284 (ucs_to_latin_iso8859_4): Deleted.
5285 (ucs_to_latin_iso8859_9): Deleted.
5286 (ucs_to_latin_viscii_lower): Deleted.
5287 (ucs_to_latin_viscii_upper): Deleted.
5288 (ucs_to_latin_tcvn5712): Deleted.
5289 (make_charset): Add new argument `decoding_table'; set up
5290 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5291 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5292 `decoding_table' is defined in UTF-2000.
5293 (Fmake_charset): Modify for `make_charset'.
5294 (Fmake_reverse_direction_charset): Likewise.
5295 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5296 and `GENERATE_96_SET'.
5298 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5299 (ucs_to_latin_jisx0201): Deleted.
5300 (latin_iso8859_2_to_ucs): Deleted.
5301 (ucs_to_latin_iso8859_2): Deleted.
5302 (latin_iso8859_3_to_ucs): Deleted.
5303 (ucs_to_latin_iso8859_3): Deleted.
5304 (latin_iso8859_4_to_ucs): Deleted.
5305 (ucs_to_latin_iso8859_4): Deleted.
5306 (latin_iso8859_9_to_ucs): Deleted.
5307 (ucs_to_latin_iso8859_9): Deleted.
5308 (latin_viscii_lower_to_ucs): Deleted.
5309 (ucs_to_latin_viscii_lower): Deleted.
5310 (latin_viscii_upper_to_ucs): Deleted.
5311 (ucs_to_latin_viscii_upper): Deleted.
5312 (struct Lisp_Charset): Renamed `encoding_table' to
5313 `to_byte1_table'; add `to_byte2_table'.
5314 (CHARSET_DECODING_TABLE): New macro.
5315 (CHARSET_TO_BYTE1_TABLE): New macro.
5316 (CHARSET_TO_BYTE2_TABLE): New macro.
5317 (XCHARSET_DECODING_TABLE): New macro.
5318 (XCHARSET_TO_BYTE1_TABLE): New macro.
5319 (XCHARSET_TO_BYTE2_TABLE): New macro.
5320 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5322 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5323 don't use `ucs_to_*' tables.
5325 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5327 * text-coding.c (Fmake_coding_system): Don't set up
5328 `codesys->fixed.size'.
5329 (encode_coding_no_conversion): Use `if' instead of `switch'.
5331 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5333 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5335 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5336 (Fmake_charset): Modify for `make_charset'.
5337 (Fmake_reverse_direction_charset): Likewise.
5338 (complex_vars_of_mule_charset): Likewise.
5340 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5342 * text-coding.c (char_encode_shift_jis): Use table
5343 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5345 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5347 * text-coding.c (text_encode_generic): Use `if' instead of
5349 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5352 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5354 * text-coding.c (encode_coding_sjis): Deleted.
5355 (char_encode_shift_jis): New function.
5356 (char_finish_shift_jis): New function.
5357 (reset_encoding_stream): Set up `encode_char' and `finish' for
5358 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5359 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5360 (char_encode_utf8): Treat `eol_type'.
5362 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5364 * file-coding.c (decode_coding_iso2022): Use
5365 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5367 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5369 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5372 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5374 * char-lb.h (CHAR_COLUMNS): New macro.
5376 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5378 * text-coding.c (char_encode_ucs4): New function.
5379 (char_finish_ucs4): New function.
5380 (encode_coding_ucs4): Deleted.
5381 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5382 (text_encode_generic): Delete local variable `charset' and `half'.
5383 (ucs_to_mule_table): Deleted.
5384 (mule_to_ucs_table): Deleted.
5385 (Fset_ucs_char): Deleted.
5386 (ucs_to_char): Deleted.
5387 (Fucs_char): Deleted.
5388 (Fset_char_ucs): Deleted.
5389 (Fchar_ucs): Deleted.
5390 (decode_ucs4): Deleted.
5391 (mule_char_to_ucs4): Deleted.
5392 (encode_ucs4): Deleted.
5393 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5394 (decode_coding_utf8): Likewise.
5395 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5396 (char_encode_iso2022): Fixed.
5397 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5398 `Fset_char_ucs' and `Fchar_ucs'.
5399 (complex_vars_of_file_coding): Don't initialize
5400 `ucs_to_mule_table'.
5402 * objects-tty.c (tty_initialize_font_instance): Don't use
5405 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5408 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5409 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5411 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5412 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5413 (emchar_string_displayed_columns): Likewise.
5415 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5416 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5417 (string_column_at_point): Likewise.
5418 (Fmove_to_column): Likewise.
5420 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5421 `encoding_table' and `decoding_table'.
5422 (CHARSET_REP_BYTES): Deleted.
5423 (XCHARSET_REP_BYTES): Deleted.
5424 (XCHARSET_COLUMNS): Deleted.
5425 (CHAR_COLUMNS): New macro.
5426 (lookup_composite_char): Deleted unconditionally.
5427 (composite_char_string): Likewise.
5429 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5431 * char-ucs.h (Emchar_to_byte_table): New type.
5432 (get_byte_from_character_table): New function interface.
5433 (Vcharset_latin_jisx0201): New variable.
5434 (latin_jisx0201_to_ucs): New variable.
5435 (ucs_to_latin_jisx0201): New variable.
5436 (Vcharset_latin_iso8859_2): New variable.
5437 (latin_iso8859_2_to_ucs): New variable.
5438 (ucs_to_latin_iso8859_2): New variable.
5439 (Vcharset_latin_iso8859_3): New variable.
5440 (latin_iso8859_3_to_ucs): New variable.
5441 (ucs_to_latin_iso8859_3): New variable.
5442 (Vcharset_latin_iso8859_4): New variable.
5443 (latin_iso8859_4_to_ucs): New variable.
5444 (ucs_to_latin_iso8859_4): New variable.
5445 (Vcharset_latin_iso8859_9): New variable.
5446 (latin_iso8859_9_to_ucs): New variable.
5447 (ucs_to_latin_iso8859_9): New variable.
5448 (Vcharset_latin_viscii_lower): New variable.
5449 (latin_viscii_lower_to_ucs): New variable.
5450 (ucs_to_latin_viscii_lower): New variable.
5451 (Vcharset_latin_viscii_upper): New variable.
5452 (latin_viscii_upper_to_ucs): New variable.
5453 (ucs_to_latin_viscii_upper): New variable.
5454 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5455 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5456 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5457 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5458 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5459 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5460 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5461 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5462 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5463 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5465 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5466 (Vcharset_latin_viscii_upper): New variable.
5467 (make_byte_from_character_table): New function.
5468 (put_byte_from_character_table): New function.
5469 (get_byte_from_character_table): New function.
5470 (CHAR96): New macro.
5471 (ucs_to_latin_jisx0201): New variable.
5472 (latin_jisx0201_to_ucs): New variable.
5473 (ucs_to_latin_iso8859_2): New variable.
5474 (latin_iso8859_2_to_ucs): New variable.
5475 (ucs_to_latin_iso8859_3): New variable.
5476 (latin_iso8859_3_to_ucs): New variable.
5477 (ucs_to_latin_iso8859_4): New variable.
5478 (latin_iso8859_4_to_ucs): New variable.
5479 (ucs_to_latin_iso8859_9): New variable.
5480 (latin_iso8859_9_to_ucs): New variable.
5481 (ucs_to_latin_viscii_lower): New variable.
5482 (latin_viscii_lower_to_ucs): New variable.
5483 (ucs_to_latin_viscii_upper): New variable.
5484 (latin_viscii_upper_to_ucs): New variable.
5485 (ucs_to_latin_tcvn5712): New variable.
5486 (latin_tcvn5712_to_ucs): New variable.
5487 (Qlatin_viscii_lower): New variable.
5488 (Qlatin_viscii_upper): New variable.
5489 (syms_of_mule_charset): Set up new symbol
5490 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5491 (complex_vars_of_mule_charset): Set up new charset
5492 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5493 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5494 `ucs_to_<CHARSET>' tables.
5496 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5498 * text-coding.c: New file.
5500 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5502 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5504 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5505 (MAKE_CHAR): Modify for `ucs-bmp'.
5506 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5507 non-MULE characters of BMP.
5509 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5511 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5514 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5517 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5518 - Include character.h for `CHAR_ASCII_P'.
5520 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5522 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5523 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5525 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5526 (BYTE_C0_P): Likewise.
5527 (BYTE_C1_P): Likewise.
5528 (Lstream_get_emchar_1): Likewise.
5529 (Lstream_fput_emchar): Likewise.
5530 (Lstream_funget_emchar): Likewise.
5531 (copy_internal_to_external): Likewise.
5532 (copy_external_to_internal): Likewise.
5534 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5535 (BYTE_C0_P): Likewise.
5536 (BYTE_C1_P): Likewise.
5537 (Lstream_get_emchar_1): Likewise.
5538 (Lstream_fput_emchar): Likewise.
5539 (Lstream_funget_emchar): Likewise.
5540 (copy_internal_to_external): Likewise.
5541 (copy_external_to_internal): Likewise.
5543 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5544 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5546 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5547 (BYTE_ASCII_P): Moved to mb-1byte.h.
5549 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5551 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5553 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5554 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5555 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5556 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5557 (VALIDATE_CHARPTR_FORWARD): Likewise.
5558 (simple_charptr_emchar): Moved to mb-multibyte.h.
5559 (simple_set_charptr_emchar): Likewise.
5560 (simple_charptr_copy_char): Likewise.
5561 (non_ascii_charptr_emchar): Likewise.
5562 (non_ascii_set_charptr_emchar): Likewise.
5563 (non_ascii_charptr_copy_char): Likewise.
5564 (charptr_emchar): Moved to mb-*byte.h.
5565 (set_charptr_emchar): Likewise.
5566 (charptr_copy_char): Likewise.
5568 * mb-1byte.h, mb-multibyte.h: New files.
5570 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5572 * mb-utf-8.h (MULTIBYTE): New macro.
5573 (MAX_EMCHAR_LEN): Moved from buffer.h.
5574 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5576 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5578 * mb-lb.h, multibyte.h: New files.
5580 * char-1byte.h (Charset_ID): Moved from buffer.h.
5581 (MIN_LEADING_BYTE): Likewise.
5582 (LEADING_BYTE_ASCII): Likewise.
5583 (NUM_LEADING_BYTES): Likewise.
5584 (CHARSETP): Likewise.
5585 (CHARSET_BY_LEADING_BYTE): Likewise.
5586 (XCHARSET_LEADING_BYTE): Likewise.
5587 (XCHARSET_GRAPHIC): Likewise.
5588 (XCHARSET_COLUMNS): Likewise.
5589 (XCHARSET_DIMENSION): Likewise.
5590 (CHAR_CHARSET): Likewise.
5591 (CHAR_LEADING_BYTE): Likewise.
5592 (BREAKUP_CHAR): Likewise.
5593 (Vcharset_ascii): Likewise.
5595 * buffer.h: Include multibyte.h unconditionally.
5596 (VALID_CHARPTR_P): Moved to multibyte.h.
5597 (ASSERT_VALID_CHARPTR): Likewise.
5598 (REAL_INC_CHARPTR): Likewise.
5599 (REAL_INC_CHARBYTIND): Likewise.
5600 (REAL_DEC_CHARPTR): Likewise.
5601 (INC_CHARPTR): Likewise.
5602 (INC_CHARBYTIND): Likewise.
5603 (DEC_CHARPTR): Likewise.
5604 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5605 (VALIDATE_CHARPTR_FORWARD): Likewise.
5606 (charptr_n_addr): Likewise.
5607 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5608 (simple_charptr_emchar): Moved to multibyte.h.
5609 (simple_set_charptr_emchar): Likewise.
5610 (simple_charptr_copy_char): Likewise.
5611 (non_ascii_charptr_emchar): Likewise.
5612 (non_ascii_set_charptr_emchar): Likewise.
5613 (non_ascii_charptr_copy_char): Likewise.
5614 (charptr_emchar): Likewise.
5615 (set_charptr_emchar): Likewise.
5616 (charptr_copy_char): Likewise.
5617 (charptr_emchar_n): Likewise.
5618 (Charset_ID): Moved to char-1byte.h.
5619 (Vcharset_ascii): Likewise.
5620 (CHAR_CHARSET): Likewise.
5621 (CHAR_LEADING_BYTE): Likewise.
5622 (LEADING_BYTE_ASCII): Likewise.
5623 (NUM_LEADING_BYTES): Likewise.
5624 (MIN_LEADING_BYTE): Likewise.
5625 (CHARSETP): Likewise.
5626 (CHARSET_BY_LEADING_BYTE): Likewise.
5627 (XCHARSET_LEADING_BYTE): Likewise.
5628 (XCHARSET_GRAPHIC): Likewise.
5629 (XCHARSET_COLUMNS): Likewise.
5630 (XCHARSET_DIMENSION): Likewise.
5631 (BREAKUP_CHAR): Likewise.
5633 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5635 * character.h: Add document about interface for characters.
5637 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5638 (MAKE_CHAR): Delete comment about
5639 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5640 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5641 (BREAKUP_CHAR): Modify name of arguments.
5642 (CHAR_CHARSET): Modify name of argument.
5644 * buffer.h: Delete document about Emchar accessors.
5646 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5648 * character.h (CHAR_INTP): Moved from buffer.h
5649 (CHAR_OR_CHAR_INTP): Likewise.
5650 (XCHAR_OR_CHAR_INT): Likewise.
5651 (CHECK_CHAR_COERCE_INT): Likewise.
5653 * buffer.h (CHAR_INTP): Moved to character.h
5654 (CHAR_OR_CHAR_INTP): Likewise.
5655 (XCHAR_OR_CHAR_INT): Likewise.
5656 (CHECK_CHAR_COERCE_INT): Likewise.
5658 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5661 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5662 - Include char-1byte.h, char-lb.h or char-ucs.h.
5664 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5666 * buffer.h: Include character unconditionally.
5667 (valid_char_p): Moved to char-*.h.
5668 (non_ascii_valid_char_p): Moved to char-lb.h.
5670 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5672 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5674 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5675 in UTF-2000 because it is not ported yet and not to use
5676 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5677 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5678 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5680 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5681 (CHAR_ASCII_P): Moved from character.h.
5683 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5684 (CHAR_ASCII_P): Likewise.
5685 (CHAR_FIELD1_MASK): Deleted.
5686 (CHAR_FIELD2_MASK): Deleted.
5687 (CHAR_FIELD3_MASK): Deleted.
5688 (MAX_CHAR_BASIC_LATIN): New macro.
5689 (CHAR_FIELD1): Deleted.
5690 (CHAR_FIELD2_INTERNAL): Deleted.
5691 (CHAR_FIELD3_INTERNAL): Deleted.
5692 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5693 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5694 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5695 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5696 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5697 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5698 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5699 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5700 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5701 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5702 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5703 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5704 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5705 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5706 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5707 (MIN_CHAR_COMPOSITION): Deleted.
5708 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5709 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5711 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5713 * buffer.h: Include mb-utf-8.h in UTF-2000.
5715 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5717 * mb-utf-8.h: New file.
5719 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5721 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5724 * mule-charset.h, buffer.h (Charset_ID): New type.
5726 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5728 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5729 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5730 instead of `MULE_CHAR_PRIVATE_OFFSET',
5731 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5732 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5733 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5735 * character.h (Vcharset_japanese_jisx0212): New variable
5738 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5740 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5741 (charset_by_attributes): Delete array about direction.
5742 (latin_a_char_to_charset): New variable in UTF-2000.
5743 (latin_a_char_to_byte1): New variable in UTF-2000.
5744 (latin_a_char_to_byte2): New variable in UTF-2000.
5745 (Qucs_bmp): New variable.
5746 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5748 (next_allocated_2_byte_leading_byte): Likewise.
5749 (non_ascii_set_charptr_emchar): Likewise.
5750 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5751 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5752 `charset_by_attributes'.
5753 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5754 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5755 and `CHARSET_BY_LEADING_BYTE'.
5756 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5757 `utf-2000-version' to `vars_of_mule_charset'.
5758 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5759 define `leading-code-private-11' in UTF-2000; move setting of
5760 `utf-2000-version' from `syms_of_mule_charset'.
5761 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5764 * character.h (Charset_ID): New type.
5765 (LEADING_BYTE_UCS_BMP): New macro.
5766 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5767 (CHARSET_ID_OFFSET_94): New macro.
5768 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5769 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5770 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5772 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5773 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5774 (CHARSET_ID_OFFSET_96): New macro.
5775 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5776 CHARSET_ID_OFFSET_96 and final-byte.
5777 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5778 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5779 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5780 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5781 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5782 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5783 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5784 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5785 (LEADING_BYTE_THAI_TIS620): Likewise.
5786 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5787 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5788 (CHARSET_ID_OFFSET_94x94): New macro.
5789 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5790 CHARSET_ID_OFFSET_94x94 and final-byte.
5791 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5792 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5793 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5794 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5795 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5796 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5797 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5798 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5799 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5800 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5801 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5802 (CHARSET_TYPE_128X128): New macro.
5803 (CHARSET_TYPE_256X256): New macro.
5804 (XCHARSET_PRIVATE_P): Delete unconditionally.
5805 (charset_by_attributes): Delete array about direction.
5806 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5807 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5808 (MIN_CHAR_94): New macro.
5809 (MAX_CHAR_94): New macro.
5810 (MIN_CHAR_96): New macro.
5811 (MAX_CHAR_96): New macro.
5812 (MIN_CHAR_94x94): New macro.
5813 (MAX_CHAR_94x94): New macro.
5814 (MIN_CHAR_96x96): New macro.
5815 (MAX_CHAR_96x96): New macro.
5816 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5817 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5818 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5820 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5821 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5822 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5823 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5824 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5825 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5826 `XCHARSET_LEADING_BYTE' to make code-point.
5827 (latin_a_char_to_charset): New variable.
5828 (latin_a_char_to_byte1): New variable.
5829 (latin_a_char_to_byte2): New variable.
5830 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5831 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5832 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5834 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5835 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5836 (find_charsets_in_emchar_string): Likewise.
5837 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5839 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5841 (decode_coding_iso2022): Likewise.
5843 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5846 * redisplay.c (redisplay_text_width_emchar_string): Use
5847 `Charset_ID' instead of `unsigned char'.
5848 (redisplay_frame_text_width_string): Likewise.
5850 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5853 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5854 instead of `unsigned char'.
5855 (face_cachel_charset_font_metric_info): Likewise.
5857 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5858 (get_non_ascii_char_table_value): Likewise.
5859 (get_char_table): Likewise.
5860 (put_char_table): Likewise.
5861 (map_over_other_charset): Likewise.
5862 (map_char_table): Likewise.
5864 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5865 instead of `unsigned char'.
5867 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5869 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5870 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5872 * mule-charset.c (leading_code_private_11): Don't define in
5875 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5876 in UTF-2000 because it is not ported yet and not to use
5877 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5879 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5881 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5883 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5885 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5888 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5889 of unsigned char to store leading-byte.
5891 * chartab.c (get_non_ascii_char_table_value): Don't use
5892 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5894 * file-coding.c (encode_coding_big5): Delete bogus implementation
5897 * character.h (LEADING_BYTE_*): Delete definition for
5899 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5900 (LEADING_BYTE_PREFIX_P): Deleted.
5901 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5902 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5903 (BUFBYTE_LEADING_BYTE_P): Deleted.
5904 (CHARSET_PRIVATE_P): Deleted unconditionally.
5905 (rep_bytes_by_first_byte): Deleted unconditionally.
5906 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5907 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5908 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5909 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5910 (CHAR_FIELD2): Deleted.
5911 (CHAR_FIELD3): Deleted.
5912 (MAKE_CHAR): Delete definition for non-UTF-2000.
5913 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5914 (breakup_char_1): New implementation.
5915 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5916 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5918 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5920 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5923 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5925 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5926 (CHARSET_PRIVATE_P): Likewise.
5927 (XCHARSET_PRIVATE_P): Likewise.
5928 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5930 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5932 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5934 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5936 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5937 (NUM_LEADING_BYTES): Changed from 128 to 256.
5938 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5939 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5941 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5943 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5945 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5946 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5947 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5948 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5949 (Qchinese_cns11643_3): New variable in UTF2000.
5950 (Qchinese_cns11643_4): New variable in UTF2000.
5951 (Qchinese_cns11643_5): New variable in UTF2000.
5952 (Qchinese_cns11643_6): New variable in UTF2000.
5953 (Qchinese_cns11643_7): New variable in UTF2000.
5954 (syms_of_mule_charset): Define `chinese-cns11643-3',
5955 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5956 and `chinese-cns11643-7' in UTF2000.
5957 (vars_of_mule_charset): Initialize
5958 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5960 (complex_vars_of_mule_charset): Setup charset
5961 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5962 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5964 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5966 * mule-charset.c: Move setting for `leading-code-private-11' from
5967 `syms_of_mule_charset' to `vars_of_mule_charset'.
5969 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5971 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5972 and `NUM_LEADING_BYTES' in assert.
5974 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5976 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5978 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5979 `NUM_LEADING_BYTES' instead of 128.
5981 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5983 * mule-charset.h (charset_by_leading_byte): Use
5984 `NUM_LEADING_BYTES' instead of 128.
5985 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5987 * mule-charset.c (charset_by_leading_byte): Use
5988 `NUM_LEADING_BYTES' instead of 128.
5989 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5991 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5994 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5996 * mule-charset.c (syms_of_mule_charset): Update to
5999 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
6001 * file-coding.c (encode_coding_sjis): New implementation for
6002 UTF2000. (decode_coding_sjis): Ditto.
6004 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6006 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
6007 Don't define in UTF2000.
6009 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
6012 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6013 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
6016 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
6018 * config.h.in (CHAR_IS_UCS4): New macro.
6020 * mule-charset.c (rep_bytes_by_first_byte): Modify for
6021 conventional MULE representation.
6022 (syms_of_mule_charset): Update to 0.3 (Imamiya).
6024 * mule-charset.h: Reverted to original.
6026 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
6027 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
6028 "mule-charset.h" if CHAR_IS_UCS4 is defined.
6030 * character.h: New file.
6032 * file-coding.c (Fmake_coding_system): Set 1 to
6033 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
6035 (encode_coding_no_conversion): New implementation for UTF2000.
6037 * file-coding.h (struct Lisp_Coding_System): Add new member
6040 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
6042 * file-coding.c (decode_coding_iso2022): Code-point arguments of
6043 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
6044 (encode_coding_iso2022): New implementation for UTF2000.
6046 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6048 * mule-canna.c (c2mu): New implementation for UTF2000.
6051 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6053 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
6055 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6057 * file-coding.c (reset_encoding_stream): Set 0 to
6058 `str->iso2022.current_char_boundary' in UTF2000.
6059 (encode_utf8): Don't define in UTF2000.
6060 (encode_coding_utf8): New implementation for UTF-8 representation
6062 (complex_vars_of_file_coding): Define coding-system `utf-8'.
6064 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
6066 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
6068 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
6070 (REP_BYTES_BY_FIRST_BYTE): Likewise.
6072 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
6074 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
6075 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
6076 as UTF-8 in UTF2000.
6077 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6078 (non_ascii_valid_char_p): Don't define in UTF2000.
6079 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6080 (Lstream_get_emchar_1): Likewise.
6081 (utf-2000-version): New variable in UTF2000.
6083 * lread.c (read_escape): Add new reader `u'.
6085 * insdel.c (three_to_one_table): Don't define in UTF2000.
6086 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6087 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6089 (bytind_to_bufpos_func): Likewise.
6090 (buffer_mule_signal_inserted_region): Likewise.
6091 (vars_of_insdel): Don't initialize `three_to_one_table'.
6092 (init_buffer_text): Use `buf->text->mule_size' instead of
6093 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6096 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6097 UTF-8 representation in UTF2000.
6098 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6099 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6100 (decode_coding_iso2022): Don't define local variable `lb' in
6101 UTF2000; don't use LEADING_BYTE in UTF2000; use
6102 `DECODE_ADD_UCS_CHAR' in UTF2000.
6103 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6105 * config.h.in (UTF2000): New macro.
6107 * buffer.h (struct buffer_text): Add new member `mule_size' and
6108 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6109 (valid_char_p): Return always 1 in UTF2000.
6110 (MAX_EMCHAR_LEN): 6 in UTF2000.
6111 (three_to_one_table): Don't define in UTF2000.
6112 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6114 (real_bytind_to_bufpos): Likewise.
6116 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6118 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6120 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6121 representation change.
6122 (Vutf_2000_version): New variable.
6123 (leading_code_private_11): New variable.
6124 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6125 `leading-code-private-11'.
6127 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6128 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6129 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6130 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6131 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6132 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6133 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6134 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6135 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6136 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6137 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6138 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6139 (MIN_CHAR_GREEK): New macro.
6140 (MAX_CHAR_GREEK): New macro.
6141 (MIN_CHAR_CYRILLIC): New macro.
6142 (MAX_CHAR_CYRILLIC): New macro.
6143 (MIN_CHAR_HEBREW): New macro.
6144 (MAX_CHAR_HEBREW): New macro.
6145 (MIN_CHAR_THAI): New macro.
6146 (MAX_CHAR_THAI): New macro.
6147 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6148 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6149 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6150 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6151 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6152 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6153 (CHAR_FIELD2): New inline function.
6154 (CHAR_FIELD3): New inline function.
6155 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6156 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6157 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6158 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6159 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6160 (MIN_CHAR_COMPOSITION): Likewise.
6161 (CHAR_LEADING_BYTE): Modified for character representation change.
6162 (MAKE_CHAR): Likewise.
6164 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6165 (Vcharset_greek_iso8859_7): Likewise.
6166 (Vcharset_cyrillic_iso8859_5): Likewise.
6167 (Vcharset_hebrew_iso8859_8): Likewise.
6168 (Vcharset_thai_tis620): Likewise.
6169 (Vcharset_katakana_jisx0201): Likewise.
6171 2008-12-28 Vin Shelton <acs@xemacs.org>
6173 * XEmacs 21.4.22 is released
6175 2008-12-27 Vin Shelton <acs@xemacs.org>
6177 * syswindows.h: Don't define wide character interfaces for Cygwin
6180 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6182 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6184 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6186 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6187 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6189 2008-12-25 Vin Shelton <acs@xemacs.org>
6191 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6192 By Julian Bradfield in
6193 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6195 * mule-ccl.c (ccl_driver):
6197 2007-10-07 Vin Shelton <acs@xemacs.org>
6199 * XEmacs 21.4.21 is released
6201 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6203 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6205 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6207 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6208 (png_instantiate): Initialize setjmp_buffer early, and avoid
6209 recursive entry to error handler.
6211 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6213 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6216 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6218 * event-Xt.c (x_reset_modifier_mapping):
6219 * event-gtk.c (gtk_reset_modifier_mapping):
6220 Zero out the device's modifier map once we've freed it, to prevent
6221 a double free on a re-entrant call.
6223 2007-05-17 Vin Shelton <acs@xemacs.org>
6225 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6226 64-bit linux. Patch from Hans de Graaff.
6228 2007-05-02 Vin Shelton <acs@xemacs.org>
6230 * dumper.c (pdump): Don't close pdump_fd (already closed by
6231 fclose() call. Patch from Steve Higham.
6232 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6233 already closed. Patch inspired by Steve Higham.
6235 2007-05-01 Vin Shelton <acs@xemacs.org>
6237 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6238 (mswindows_fstat): Ditto.
6239 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6241 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6243 * postgresql.c: Update Steve Baur's email address by his request.
6244 * postgresql.h: Ditto.
6246 2007-01-04 Vin Shelton <acs@xemacs.org>
6248 * fileio.c (check_writable): Check old-style readonly bit only for
6251 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6253 * src/fileio.c (check_writable):
6254 Cope with the fact that the read-only attribute trumps Windows NTFS
6258 2006-12-09 Vin Shelton <acs@xemacs.org>
6260 * XEmacs 21.4.20 is released
6262 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6264 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6265 relocated the definitions to be used sooner in file.
6266 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6267 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6270 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6272 * sound.c (init_native_sound):
6273 Only X11 and GTK devices can possibly not be on the console of the
6274 associated machine. Fixes a crash when init_native_sound is called
6275 on a msprinter device.
6277 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6279 * buffer.c (buffer-file-name): Document invariant.
6280 (buffer-file-truename): Sync wording to buffer-file-name.
6281 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6284 2006-11-19 Benson Margulies <benson@dchbk.us>
6286 * fileio.c: Add code to use full Win32 API to check for write
6287 access. Win32 has the general design policy that you aren't
6288 supposed to ask this question, since security checks change
6289 depending on asynchronous processes. Nonetheless, there is a way,
6290 by acting as if we are a server doing interpretive access
6293 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6295 * bytecode.c: Use xnew_array instead of alloca.
6297 2006-07-04 Vin Shelton <acs@xemacs.org>
6299 * redisplay-msw.c: Fix tiny, but crucial typo.
6301 2006-06-22 Jerry James <james@xemacs.org>
6303 * EmacsShell-sub.c (ChangeManaged):
6304 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6306 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6307 checking if it is NULL. Also fix a memory leak.
6308 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6309 dereference it, not the other way around.
6310 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6312 * dumper.c (pdump_register_struct): Ditto.
6313 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6314 to (short) warnpath overflow warnpath.
6315 * extents.c (detach_all_extents): Call extent_list_delete_all with
6316 a non-NULL parameter only.
6317 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6318 NULL width and height.
6319 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6320 xic before checking if they are NULL.
6321 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6323 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6324 * nas.c (Err): Fix a memory leak.
6325 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6326 Don't create the buffer if there is nothing to do.
6327 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6328 * redisplay-output.c (redisplay_output_layout): Ditto.
6329 * redisplay-tty.c (tty_output_display_block): Ditto.
6330 * redisplay-x.c (x_output_display_block): Ditto.
6331 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6332 dereference instance->scrollbar_data if it is NULL.
6333 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6334 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6335 for sb->scrollbar_data.
6336 * sound.c (init_native_sound): Avoid a buffer overflow by
6337 allocating a buffer with the appropriate size.
6339 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6341 * EmacsShell-sub.c (RootGeometryManager):
6342 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6343 Based on a suggestion by Francois L'Archeveque.
6345 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6347 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6348 current values found in GNU Emacs.
6350 2006-03-17 Vin Shelton <acs@xemacs.org>
6352 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6353 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6355 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6356 'hex_initialized' because it conflicts with 'initialized' in
6359 2006-01-28 Vin Shelton <acs@xemacs.org>
6361 * XEmacs 21.4.19 is released
6363 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6365 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6367 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6369 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6372 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6374 * database.c: Suppress compiler warning under Cygwin.
6375 * database.c: Removed __FreeBSD__ check, should be handled by
6376 HAVE_U_xxx_T defines.
6378 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6380 * console.c (stuff_buffered_input): Compile body only if
6383 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6385 * callproc.c: #include sysdir.h, so that any appropriate Mule
6386 magic happens with the chdir() call when calling a subprocess.
6388 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6390 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6391 * mule-ccl.c: Check that a character set exists before using it
6392 to create a character.
6394 2005-12-06 Vin Shelton <acs@xemacs.org>
6396 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6399 2005-12-03 Vin Shelton <acs@xemacs.org>
6401 * XEmacs 21.4.18 is released
6403 2005-11-27 Kean Johnston <kean@armory.com>
6405 * redisplay-tty.c (set_tty_modes):
6406 (reset_tty_modes): disable auto-margins if the terminal supports
6408 (init_tty_for_redisplay): fix cursor shape.
6410 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6412 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6413 for control-1 characters properly, both when reading multibyte
6414 characters and writing them.
6416 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6418 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6419 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6420 were seeing with incremental selection transfer failing.
6422 2005-11-26 Vin Shelton <acs@xemacs.org>
6424 * callproc.c (Fold_call_process_internal): Create the buffer if it
6425 does not already exist. The original patch came from Ben Wing in
6426 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6428 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6430 * callproc.c: Process-related docstring improvements spurred by
6433 2005-11-25 Vin Shelton <acs@xemacs.org>
6435 * depend: Regenerated.
6437 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6439 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6440 says it clashes with a global with the same name.
6442 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6444 * sysdll.c (dll_open): Under MacOS X return NULL under the
6445 filename is NULL. Fixes problems finding local symbols under 10.4
6448 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6450 * config.h.in: New HAVE_U_INT*_T defines.
6452 * database.c: Only use u_int*_t typedefs if not already
6455 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6457 * src/process-unix.c (unix_open_network_stream): moved
6458 'portbuf' buffer out of an inner block as it is used in the
6459 entire function. With gcc4, the stack may get corrupted
6460 after leaving this block. This patches adjusts the size of
6461 the used buffer also; static '128' bytes are far too much
6462 currently and might not suffice for future architectures
6463 (e.g. for 512 bit ones ;)). Instead of, use only the really
6464 required space (max octets * ln(256)/ln(10) chars + space
6465 for '\0' and the sign)
6467 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6469 * callproc.c: Include sysdir.h, so any necessary Mule processing
6470 is done on the current directory name before starting a new
6473 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6475 * chartab.c (Fchar_table_p):
6476 (Fget_range_char_table):
6479 Describe range representation and fix typo.
6481 2005-02-12 Vin Shelton <acs@xemacs.org>
6483 * emacs.c (shut_down_emacs): Advise users to send email to the
6484 xemacs-beta list instead of crashes@xemacs.org.
6486 2005-02-03 David Evers <extsw@appliedgenerics.com>
6488 * process-unix.c (unix_send_process): Flush the last chunk, even
6489 when the pipe is blocked.
6491 2005-02-06 Vin Shelton <acs@xemacs.org>
6493 * XEmacs 21.4.17 is released
6495 2005-01-31 Ben Wing <ben@xemacs.org>
6498 Define assert_failed() always.
6500 Always define ABORT().
6502 2005-01-25 Ben Wing <ben@xemacs.org>
6505 * Makefile.in.in (%.o):
6506 Don't compile executable as Windows (-mwindows) under Cygwin.
6507 Semi-recent changes to Cygwin's executable-startup handling make
6508 it impossible to access the TTY this way.
6510 Don't use special linker file under Cygwin (cygwin.sc) except
6511 when non-PDUMP (even in this case it is highly questionable); you
6514 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6515 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6517 2005-01-29 Ben Wing <ben@xemacs.org>
6519 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6521 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6523 2005-01-29 Ben Wing <ben@xemacs.org>
6525 * bytecode.c (optimize_compiled_function):
6527 * print.c (long_to_string):
6528 Add casts to avoid warning.
6531 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6532 #### The better solution is to move the TIFF and JPEG code to
6535 * glyphs-msw.c (mswindows_xbm_instantiate):
6536 Define __STDC__ to avoid problems with compface.h.
6538 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6540 * EmacsShell-sub.c (ABORT):
6541 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6542 * EmacsShell-sub.c (RootGeometryManager):
6544 * EmacsShell.c (ABORT):
6545 * EmacsShell.c (EmacsShellUpdateSizeHints):
6546 * alloc.c (free_lcrecord):
6547 * alloca.c (i00afunc):
6548 * buffer.c (delete_from_buffer_alist):
6549 * buffer.c (MARKED_SLOT):
6550 * bytecode.c (execute_rare_opcode):
6551 * bytecode.c (optimize_byte_code):
6552 * bytecode.c (Ffetch_bytecode):
6553 * chartab.c (char_table_type_to_symbol):
6554 * chartab.c (Freset_char_table):
6555 * chartab.c (decode_char_table_range):
6556 * chartab.c (Fget_range_char_table):
6557 * chartab.c (check_valid_char_table_value):
6558 * chartab.c (map_char_table):
6559 * chartab.c (slow_map_char_table_fun):
6560 * chartab.c (chartab_instantiate):
6561 * cm.c (cmcheckmagic):
6562 * console-msw.c (DHEADER):
6563 * console.c (MARKED_SLOT):
6564 * data.c (finish_marking_weak_lists):
6565 * data.c (encode_weak_list_type):
6566 * debug.h (DASSERT):
6567 * device-gtk.c (gtk_init_device):
6568 * device-msw.c (mswindows_get_default_margin):
6569 * device-tty.c (tty_init_device):
6570 * device-x.c (get_device_from_display):
6571 * device-x.c (x_get_visual_depth):
6572 * doprnt.c (parse_doprnt_spec):
6573 * doprnt.c (get_doprnt_args):
6574 * dumper.c (pdump_get_indirect_count):
6575 * dumper.c (pdump_register_sub):
6576 * dumper.c (pdump_register_object):
6577 * dumper.c (pdump_register_struct):
6578 * dumper.c (pdump_dump_data):
6579 * dumper.c (pdump_reloc_one):
6580 * elhash.c (print_hash_table):
6581 * elhash.c (make_standard_lisp_hash_table):
6582 * elhash.c (hash_table_instantiate):
6584 * emacs.c (Fforce_debugging_signal):
6585 * emacs.c (sort_args):
6587 * emacs.c (assert_failed):
6588 * eval.c (throw_or_bomb_out):
6589 * eval.c (signal_1):
6592 * event-Xt.c (emacs_Xt_mapping_action):
6593 * event-Xt.c (Xt_process_to_emacs_event):
6595 * event-stream.c (check_event_stream_ok):
6596 * event-stream.c (Fadd_timeout):
6597 * event-stream.c (Fadd_async_timeout):
6598 * event-stream.c (Fdiscard_input):
6599 * event-stream.c (execute_internal_event):
6600 * event-stream.c (Frecent_keys):
6601 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6602 * event-stream.c (lookup_command_event):
6603 * event-unixoid.c (poll_fds_for_input):
6605 * events.c (mark_event):
6606 * events.c (event_equal):
6607 * events.c (event_hash):
6608 * events.c (Fmake_event):
6609 * events.c (Fdeallocate_event):
6610 * events.c (event_chain_find_previous):
6611 * events.c (event_to_character):
6612 * events.c (format_event_object):
6613 * events.c (Fevent_type):
6614 * events.c (event_pixel_translation):
6615 * events.c (Fevent_properties):
6616 * extents.c (extent_in_region_p):
6617 * extents.c (print_extent):
6618 * extents.c (process_extents_for_insertion_mapper):
6619 * extents.c (report_extent_modification_mapper):
6620 * extents.c (glyph_layout_to_symbol):
6621 * faces.c (face_validate):
6622 * file-coding.c (eol_type_to_symbol):
6623 * file-coding.c (subsidiary_coding_system):
6624 * file-coding.c (Fcoding_system_type):
6625 * file-coding.c (Fcoding_system_property):
6626 * file-coding.c (mule_decode):
6627 * file-coding.c (mule_encode):
6628 * file-coding.c (encode_coding_ucs4):
6629 * file-coding.c (encode_coding_utf8):
6630 * file-coding.c (parse_iso2022_esc):
6631 * file-coding.c (encode_coding_iso2022):
6636 * fns.c (Fbase64_encode_region):
6637 * fns.c (Fbase64_encode_string):
6638 * fns.c (Fbase64_decode_region):
6639 * fns.c (Fbase64_decode_string):
6640 * font-lock.c (find_context):
6641 * font-lock.c (context_to_symbol):
6642 * frame-gtk.c (gtk_set_frame_pointer):
6643 * frame-gtk.c (gtk_update_frame_external_traits):
6644 * frame-x.c (x_wm_mark_shell_size_user_specified):
6645 * frame-x.c (x_wm_mark_shell_position_user_specified):
6646 * frame-x.c (x_wm_set_shell_iconic_p):
6647 * frame-x.c (x_wm_set_cell_size):
6648 * frame-x.c (x_wm_set_variable_size):
6649 * frame-x.c (x_wm_store_class_hints):
6650 * frame-x.c (x_wm_maybe_store_wm_command):
6651 * frame-x.c (x_initialize_frame_size):
6652 * frame-x.c (x_update_frame_external_traits):
6654 * frame.c (delete_frame_internal):
6655 * frame.c (mouse_pixel_position_1):
6656 * frame.c (change_frame_size_1):
6657 * free-hook.c (check_free):
6658 * free-hook.c (check_realloc):
6659 * free-hook.c (note_block_input):
6660 * free-hook.c (log_gcpro):
6661 * gccache-gtk.c (gc_cache_lookup):
6662 * glyphs-eimage.c (tiff_memory_write):
6663 * glyphs-gtk.c (gtk_finalize_image_instance):
6664 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6665 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6666 * glyphs-gtk.c (gtk_xpm_instantiate):
6667 * glyphs-gtk.c (gtk_unmap_subwindow):
6668 * glyphs-gtk.c (gtk_map_subwindow):
6669 * glyphs-gtk.c (gtk_button_redisplay):
6671 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6672 * glyphs-x.c (init_image_instance_from_xbm_inline):
6673 * glyphs-x.c (extract_xpm_color_names):
6674 * glyphs-x.c (x_xpm_instantiate):
6675 * glyphs.c (get_image_instantiator_governing_domain):
6676 * glyphs.c (print_image_instance):
6677 * glyphs.c (image_instance_equal):
6678 * glyphs.c (image_instance_hash):
6679 * glyphs.c (encode_image_instance_type):
6680 * glyphs.c (make_image_instance_1):
6681 * glyphs.c (inherit_instantiate):
6682 * glyphs.c (image_instantiate):
6683 * glyphs.c (allocate_glyph):
6684 * glyphs.c (Fglyph_type):
6685 * glyphs.c (redisplay_subwindow):
6686 * glyphs.c (display_table_entry):
6687 * gtk-glue.c (xemacs_list_to_gtklist):
6688 * gtk-glue.c (xemacs_gtklist_to_list):
6689 * gtk-glue.c (xemacs_list_to_array):
6690 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6691 * gutter.c (gutter_was_visible):
6692 * gutter.c (get_gutter_coords):
6693 * input-method-xlib.c (get_XIM_input):
6694 * insdel.c (bufpos_to_bytind_func):
6695 * insdel.c (bytind_to_bufpos_func):
6696 * insdel.c (move_gap):
6697 * intl.c (x_get_composed_input):
6698 * keymap.c (keymap_lookup_directly):
6699 * keymap.c (keymap_delete_inverse_internal):
6700 * keymap.c (ensure_meta_prefix_char_keymapp):
6701 * keymap.c (accessible_keymaps_mapper_1):
6702 * keymap.c (where_is_recursive_mapper):
6705 * lread.c (read_atom):
6706 * lstream.c (Lstream_delete):
6707 * lstream.c (make_lisp_buffer_stream_1):
6708 * macros.c (pop_kbd_macro_event):
6709 * malloc.c (malloc):
6711 * marker.c (bi_marker_position):
6712 * marker.c (set_bi_marker_position):
6713 * menubar-gtk.c (menu_descriptor_to_widget_1):
6714 * menubar-msw.c (prune_menubar):
6715 * menubar-x.c (set_frame_menubar):
6716 * mule-charset.c (get_unallocated_leading_byte):
6717 * mule-charset.h (CHAR_LEADING_BYTE):
6718 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6719 * nt.c (init_environment):
6720 * nt.c (generate_inode_val):
6721 * ntproc.c (delete_child):
6722 * ntproc.c (_sys_read_ahead):
6723 * ntproc.c (create_child):
6724 * objects.c (color_instantiate):
6725 * objects.c (font_instantiate):
6726 * objects.c (face_boolean_instantiate):
6727 * print.c (printing_major_badness):
6728 * process-nt.c (nt_send_process):
6729 * process-unix.c (unix_send_process):
6730 * process.c (get_process):
6731 * ralloc.c (obtain):
6732 * ralloc.c (relinquish):
6733 * ralloc.c (relocate_blocs):
6734 * ralloc.c (resize_bloc):
6735 * ralloc.c (r_alloc_free):
6736 * ralloc.c (r_re_alloc):
6737 * ralloc.c (r_alloc_thaw):
6738 * ralloc.c (init_ralloc):
6739 * ralloc.c (Free_Addr_Block):
6740 * ralloc.c (r_alloc):
6741 * redisplay-gtk.c (gtk_output_display_block):
6742 * redisplay-msw.c (mswindows_output_display_block):
6743 * redisplay-output.c (get_next_display_block):
6744 * redisplay-output.c (get_cursor_size_and_location):
6745 * redisplay-output.c (redisplay_output_layout):
6746 * redisplay-output.c (redisplay_clear_region):
6747 * redisplay-tty.c (tty_output_display_block):
6748 * redisplay-x.c (x_output_display_block):
6749 * redisplay.c (add_propagation_runes):
6750 * redisplay.c (add_glyph_rune):
6751 * redisplay.c (create_text_block):
6752 * redisplay.c (add_margin_runes):
6753 * redisplay.c (create_left_glyph_block):
6754 * redisplay.c (create_right_glyph_block):
6755 * redisplay.c (create_string_text_block):
6756 * redisplay.c (regenerate_window):
6757 * redisplay.c (REGEN_INC_FIND_START_END):
6758 * redisplay.c (redisplay_frame):
6759 * redisplay.c (point_in_line_start_cache):
6762 * regex.c (re_compile_fastmap):
6763 * regex.c (re_match_2_internal):
6764 * regex.c (regerror):
6765 * scrollbar-gtk.c (gtk_scrollbar_loop):
6766 * scrollbar-gtk.c (scrollbar_cb):
6767 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6768 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6769 * scrollbar-x.c (x_update_scrollbar_instance_status):
6770 * scrollbar-x.c (x_scrollbar_loop):
6771 * scrollbar-x.c (x_update_frame_scrollbars):
6772 * search.c (search_command):
6773 * search.c (Fmatch_data):
6774 * select-x.c (motif_clipboard_cb):
6775 * signal.c (interrupt_signal):
6776 * specifier.c (specifier_add_spec):
6777 * specifier.c (specifier_instance_from_inst_list):
6778 * specifier.c (specifier_instance):
6780 * specifier.h (struct specifier_methods):
6781 * strftime.c (add_num_time_t):
6782 * sunplay.c (init_device):
6783 * symbols.c (Fsetplist):
6784 * symbols.c (do_symval_forwarding):
6785 * symbols.c (store_symval_forwarding):
6787 * symbols.c (Fbuilt_in_variable_type):
6788 * symbols.c (decode_magic_handler_type):
6789 * symbols.c (handler_type_from_function_symbol):
6790 * syntax.c (update_syntax_cache):
6791 * sysdep.c (init_baud_rate):
6792 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6793 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6794 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6795 * toolbar.c (get_toolbar_coords):
6796 * ui-gtk.c (build_gtk_boxed):
6797 * ui-gtk.c (describe_gtk_arg):
6798 * ui-gtk.c (gtk_type_to_lisp):
6799 * ui-gtk.c (lisp_to_gtk_type):
6800 * ui-gtk.c (lisp_to_gtk_ret_type):
6801 * ui-gtk.c (lisp_to_flag):
6802 * unexnt.c (read_in_bss):
6803 * unexnt.c (map_in_heap):
6804 * window.c (real_window):
6805 * window.c (window_display_lines):
6806 * window.c (window_display_buffer):
6807 * window.c (set_window_display_buffer):
6808 * window.c (window_modeline_height):
6809 * window.c (unshow_buffer):
6810 * window.c (window_loop):
6811 * window.c (Fget_lru_window):
6812 * window.c (Fsplit_window):
6813 * window.c (Fset_window_configuration):
6814 * window.c (saved_window_index):
6815 * xgccache.c (gc_cache_lookup):
6816 abort() -> ABORT(). Eliminate preprocessor games with abort()
6817 since it creates huge problems in VC7, solvable only by including
6818 massive amounts of files in every compile (and not worth it).
6822 Inclusion of process.h does not need to be before lisp.h any more.
6823 Move later and remove comment about abort().
6825 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6827 * regex.c (re_match_2_internal):
6828 Correctly initialize loop which clears uninitialized registers.
6830 2005-01-28 Vin Shelton <acs@xemacs.org>
6832 * sheap.c (more_static_core): Applied Ben's version of the long
6835 2005-01-24 Vin Shelton <acs@xemacs.org>
6837 * sheap.c (more_static_core): Reformatted printf string so
6838 gcc-3.3.3 will compile this on Cygwin.
6840 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6842 * console.c (function_key_map): Reference `key-binding'.
6844 * keymap.c (Vkey_translation_map): Improve docstring.
6846 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6848 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6849 * window.c (window_loop): [fix] Take into account
6850 `allow-deletion-of-last-visible-frame' variable.
6851 * window.c (replace-buffer-in-windows): Ditto.
6853 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6855 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6857 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6859 * event-gtk.c: Recognise AltGr as a valid modifier.
6861 2005-01-12 Ville Skyttä <scop@xemacs.org>
6863 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6865 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6867 Fix backreference bug caught by test suite.
6869 * regex.c (regex_compile):
6870 Make backref duplicate internal register.
6872 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6874 Documentation, code clarification, and warning suppression.
6876 * regex.c (regex_compile):
6878 (re_match_2_internal):
6879 Improve comments and avoid redundant braces. [Most of the big hunk
6880 at l. 4710 is indentation; use diff -w to see the real changes.]
6881 (alt_match_null_string_p):
6882 (common_op_match_null_string_p):
6883 Avoid shadowing global on Mac OS X 10.4, at least.
6885 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6887 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6888 introduced with shy groups fix). [Already applied, probably
6889 with the second "fix shy groups" patch of 2004-10-07.]
6891 2005-01-10 Steve Youngs <steve@sxemacs.org>
6893 From Andrey Slusar <anrays@gmail.com>:
6895 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6897 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6899 * Makefile (RECURSIVE_MAKE): Removed.
6900 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6901 handling parallel builds.
6903 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6905 * Makefile.in.in: Enable support for parallel builds.
6907 2005-01-09 Steve Youngs <steve@sxemacs.org>
6909 From Andrey Slusar <anrays@gmail.com>:
6911 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6912 FreeBSD version is >= 199701 _and_ < 600006.
6914 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6916 * scrollbar.c (compute_scrollbar_instance_usage):
6917 Only call device method compute_scrollbar_instance_usage() if it
6920 2004-12-05 Vin Shelton <acs@xemacs.org>
6922 * XEmacs 21.4.16 is released
6924 2004-12-04 Vin Shelton <acs@xemacs.org>
6926 * depend: Regenerated.
6928 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6930 * regex.c (re_match_2_internal): Map internal to external
6931 registers. Fixes bug identified by Steve Youngs 2004-09-30
6932 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6934 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6936 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6937 to fix a crash. Also, check the buffer is live and it
6938 really exists in buffer_list. If the buffer is not in the list,
6941 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6943 Fix shy groups by implementing recording of all groups for
6944 repetition and backtracking. Backport from 21.5.
6946 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6947 external_to_internal_register, external_to_internal_register_size,
6948 and update comments for re_nsub.
6950 * regex.c (re_opcode_t): Update comments.
6951 (print_compiled_pattern): Ouput external_to_internal_register,
6952 external_to_internal_register_size, and re_ngroups for debugging.
6953 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6954 (regex_compile): Update header comment.
6955 Ensure that all groups are recorded so that repeat matches and
6956 backtracking work correctly. Comment related warning for groups >
6958 (re_search_2): Construct map of API indexes (which count only
6959 nonshy groups) to internal register numbers, and keep it updated.
6961 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6963 * frame-gtk.c (gtk_make_frame_visible):
6964 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6965 show/hide. This is what X uses and is prevents previously hidden
6966 widgets from suddenly reappearing.
6967 * gtk-xemacs.c (gtk_xemacs_paint):
6968 * gtk-xemacs.c (gtk_xemacs_draw):
6969 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6971 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6972 size and location changes so that they can be seen before the next
6973 idle event. Without this rapid changes to scrollbar properties
6976 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6979 * console-gtk.h (struct gtk_frame):
6980 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6981 Add hash tables track tab_control callback data.
6982 Added #defines for GTK object data names.
6983 Declaration of gtk_widget_to_frame().
6984 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6985 * frame-gtk.c (gtk_widget_to_frame): New.
6986 * frame-gtk.c (gtk_create_widgets):
6987 * frame-gtk.c (allocate_gtk_frame_struct):
6988 * frame-gtk.c (gtk_mark_frame):
6989 Manage frame callbakc hash tables.
6990 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6991 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6992 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6994 * glyphs-gtk.c (gtk_widget_query_geometry): New
6995 * glyphs-gtk.c (gtk_register_gui_item): New
6996 * glyphs-gtk.c (gtk_add_tab_item): New
6997 * glyphs-gtk.c (gtk_tab_control_callback): New
6998 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6999 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
7000 Use correct list when loading item.
7001 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
7002 Register new methods.
7003 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
7004 default size, for widgets.
7005 * gui-x.c: Improved comment.
7006 * menubar-gtk.c (__generic_button_callback): Use
7007 gtk_widget_to_frame instead of __get_channel.
7009 * ui-gtk.c: Use symbolic names for GTK object data.
7011 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
7013 * s/usg5-4.h (NSIG): Define only inside emacs binary.
7015 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
7017 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
7019 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
7021 * malloc.c (morecore): siz is a long because in some architectures
7022 (eg ia-64) an int cannot hold the address range. Additional patch
7023 from the SuSe distribution.
7025 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
7028 * malloc.c: lim_data is a long because in some architectures
7029 (eg ia-64) an int cannot hold the address range.
7030 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
7031 instead of ulimit() because ulimit() always returns -1.
7033 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
7035 * search.c: Reenable an ansync semaphore. Remove bogus comments.
7037 2004-06-11 David Kastrup <dak@gnu.org>
7039 * search.c (match_limit): Don't flag an error if match-data
7040 exceeding the allocated search_regs.num_regs gets requested, just
7043 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7045 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
7046 replace symbolic color entries with the real colors specified in
7047 xpm-color-symbols, before passing the XPM to gtk.
7048 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
7049 instead of a GTK specific field, so that it is used in by generic
7052 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
7054 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
7055 coredump from deref of NULL ptr (ExtData)
7057 2004-04-19 Jerry James <james@xemacs.org>
7059 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
7060 VALBITS to compute the location of the sign bit.
7061 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
7062 of VALBITS with EMACS_INT_MAX.
7063 * events.c (Fevent_timestamp): Ditto.
7064 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
7065 compute the halfway point to timestamp wraparound.
7066 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
7067 EMACS_INT_MIN instead of using VALBITS.
7068 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
7069 incorrect number with VALBITS.
7070 * fns.c (Frandom): Correct number of integer bits in docstring.
7071 Use INT_VALBITS instead of VALBITS to compute the denominator.
7072 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
7073 build random numbers.
7075 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7077 * event-gtk.c (gtk_event_to_emacs_event):
7079 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7080 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7081 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7082 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7083 * menubar-gtk.c (__activate_menu):
7084 * menubar-gtk.c (convert_underscores):
7085 * menubar-gtk.c (remove_underscores):
7086 * menubar-gtk.c (menu_convert):
7087 * menubar-gtk.c (menu_descriptor_to_widget_1):
7088 * menubar-gtk.c (menu_descriptor_to_widget):
7089 * menubar-gtk.c (menu_can_reuse_widget):
7090 * menubar-gtk.c (menu_create_menubar):
7091 * menubar-gtk.c (gtk_popup_menu):
7092 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7093 Added support for Gtk menu bar and menu item mnemonics.
7095 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7097 * sysdll.c: (dll_function): Added support for finding symbols in
7098 Darwin shared libraries as well in Darwin bundles.
7099 * sysdll.c (image_for_address): New
7100 * sysdll.c (my_find_image): New
7101 * sysdll.c (search_linked_libs): New
7103 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7105 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7106 return to GTK requires a different API to marshalling data to use
7108 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7110 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7112 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7114 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7116 * glyphs.c (process_image_string_instantiator):
7117 (Fset_console_type_image_conversion_list):
7118 Stop GCC from warning about shadowing of `exp'.
7120 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7122 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7124 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7126 2004-02-03 Vin Shelton <acs@xemacs.org>
7128 * glyphs.c (image_instance_layout): Remove pointless assertion.
7129 * regex.c (regex_grow_registers): Return type is void.
7131 2004-02-02 Vin Shelton <acs@xemacs.org>
7133 * XEmacs 21.4.15 is released
7135 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7137 * device-x.c (x_error_handler): Don't call stderr_out
7139 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7141 * buffer.c (other-buffer): Clarify documentation of order of
7142 arguments for FSF Emacs.
7144 2003-10-11 Olivier Galibert <galibert@pobox.com>
7146 * window.c (Fdelete_window): Dirty the mirror structure _before_
7147 marking the window deleted.
7149 2003-09-15 Jerry James <james@xemacs.org>
7151 * event-msw.c (debug_mswin_messages): Conditionally compile
7152 messages missing from the Cygwin headers.
7154 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7156 * data.c (eq_with_ebola_notice): Fix typo in comment.
7157 (Ftrue_list_p): Improve docstring.
7159 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7161 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7163 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7165 * search.c (trivial_regexp_p): Regexps containing "\{" are
7166 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7167 Stefan Monnier for suggesting a diagnosis.
7169 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7171 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7173 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7175 * search.c (Fsearch_forward):
7177 Document negative count.
7179 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7181 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7183 2003-09-13 Martin Buchholz <martin@xemacs.org>
7185 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7187 2003-09-15 Vin Shelton <acs@xemacs.org>
7189 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7192 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7194 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7195 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7196 (re_match_2_internal): Use TRANSLATE instead of
7197 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7198 non-ASCII char case conversion.
7200 2003-09-08 Mike Sperber <mike@xemacs.org>
7202 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7203 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7205 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7207 * .gdbinit (pobj): fix printing of symbol name.
7209 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7211 * frame-x.c (x_layout_widgets): When resizing is about to cause
7212 frame size slip, mark it for redisplay.
7214 2003-08-18 Jerry James <james@xemacs.org>
7216 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7218 2003-09-03 Vin Shelton <acs@xemacs.org>
7220 * XEmacs 21.4.14 is released
7222 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7224 * config.h.in (REGEX_MALLOC): Make it configure'able.
7226 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7228 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7230 * sysdll.c (dll_init):
7231 * sysdll.c (dll_open):
7232 * sysdll.c (dll_close):
7233 * sysdll.c (dll_function):
7234 * sysdll.c (dll_variable):
7235 * sysdll.c (dll_error):
7236 Add support for loading bundles using Darwin/MacOSX
7239 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7241 * process.c (start-process-internal): Document coding systems.
7243 2003-07-30 Jerry James <james@xemacs.org>
7245 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7247 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7249 * event-msw.c (mswindows_enqueue_mouse_button_event):
7250 * event-msw.c (mswindows_wnd_proc):
7251 enqueue button event when scrollwheel event isn't handled by
7252 mswindows_handle_mousewheel_event, such as when the scrollbars
7255 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7257 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7259 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7261 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7263 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7265 * regex.c (re_match_2_internal): Fix matching degenerate word
7268 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7270 * XEmacs 21.4.13 is released
7272 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7274 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7275 * lisp.h (<inttypes.h>):
7276 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7279 2003-03-15 Martin Buchholz <martin@xemacs.org>
7281 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7282 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7283 Result: "temacs can only be run in -batch mode."
7284 Fix: Check xemacs executable candidate for directory-ness.
7286 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7288 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7289 they conflict with <sys/types.h>.
7291 2003-02-14 Martin Buchholz <martin@xemacs.org>
7293 * database.c: Berkeley DB wants __STDC__ to be defined.
7295 2003-02-13 Martin Buchholz <martin@xemacs.org>
7297 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7299 2003-02-01 Martin Buchholz <martin@xemacs.org>
7301 * process-unix.c (unix_send_process): Fix C++ compile error.
7303 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7305 * Added .dylib as an acceptable shared library file extension
7306 * to support MacOSX.
7308 2003-02-01 Martin Buchholz <martin@xemacs.org>
7310 * EmacsFrameP.h (EmacsFramePart):
7311 Kludge to allow compiling with Motif1, but linking with Motif2.
7313 2003-01-28 Martin Buchholz <martin@xemacs.org>
7315 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7318 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7320 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7322 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7324 * sysdll.c: Included lisp.h to define needed alloca_array.
7326 2003-02-13 Martin Buchholz <martin@xemacs.org>
7328 Make XEmacs redisplay 10 times faster.
7329 If, that is, you're using a slow X connection and MoveOpaque.
7330 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7331 Use compress_motion = TRUE.
7332 * EmacsFrame.c (emacsFrameClassRec):
7333 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7334 * EmacsManager.c (emacsManagerClassRec):
7335 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7337 2003-01-30 Vin Shelton <acs@xemacs.org>
7339 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7341 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7343 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7344 Patch by Martin Buchholz.
7346 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7348 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7349 Thanks to icc for warning and Martin Buchholz for reporting.
7351 2003-01-29 Vin Shelton <acs@xemacs.org>
7353 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7355 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7356 remember to multiply by the element size.
7358 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7360 * XEmacs 21.4.12 "Portable Code" is released.
7362 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7364 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7365 * s/cygwin.sc: new linker file.
7367 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7369 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7371 * redisplay-x.c (x_output_string): Use X11-specified types.
7372 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7373 * emacs.c (__free_hook): Use typeof with Intel compiler.
7374 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7376 2003-01-08 Andy Piper <andy@xemacs.org>
7378 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7379 reserve size during unexec().
7381 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7383 * process-unix.c (unix_create_process): Don't let outchannel block.
7385 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7387 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7388 Needed for IsBadReadPtr().
7390 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7392 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7394 2002-12-14 Ben Wing <ben@xemacs.org>
7396 * callint.c: Declaration error.
7398 * dumper.c (pdump_load): Warning fix.
7399 * process.c: GCPRO error.
7400 * glyphs.c (unmap_subwindow):
7401 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7402 * event-stream.c (maybe_kbd_translate): Wrong argument to
7403 character_to_event().
7405 * alloc.c (garbage_collect_1):
7407 * emacs.c (debug_can_access_memory):
7408 * emacs.c (fatal_error_signal):
7409 * emacs.c (mswindows_handle_hardware_exceptions):
7412 * emacs.c (assert_failed):
7413 * emacs.c (syms_of_emacs):
7416 * print.c (std_handle_out_va):
7417 * print.c (write_string_to_stdio_stream):
7418 * print.c (write_fmt_string):
7419 * print.c (printing_badness):
7420 * print.c (printing_major_badness):
7421 * print.c (print_internal):
7422 * print.c (debug_print_no_newline):
7423 * print.c (debug_backtrace):
7424 Be more defensive in handling bad values when printing. Add code
7425 from trunk involving inhibit_non_essential_printing_operations.
7426 When going down or in debug_print(), don't do external conversion
7427 and such and try really, really hard when printing to avoid core
7428 dumping. Add force-debugging-signal, debug_break().
7430 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7432 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7433 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7435 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7437 * database.c: Fix open_database. Berkeley DB API has changed in
7438 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7440 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7442 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7444 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7446 * event-Xt.c (Xt_timeout):
7447 (Xt_timeout_callback):
7448 (emacs_Xt_add_timeout):
7449 (emacs_Xt_remove_timeout):
7450 (Xt_timeout_to_emacs_event):
7451 Turn completed_timeouts from a stack into a queue. Fixes
7452 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7454 2002-11-07 Wolfram Gloger <wg@malloc.de>
7456 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7457 * emacs.c (main): Assert that mmap'd allocation is disabled.
7459 2002-10-14 Andy Piper <andy@xemacs.org>
7461 * glyphs-widget.c (layout_query_geometry): add in fiddle
7462 factor. Include border text in width layout calculation.
7463 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7465 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7467 * XEmacs 21.4.10 "Military Intelligence" is released.
7469 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7471 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7472 using the NAS private array SoundFileInfo that no longer exists in
7473 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7474 and earlier. This is broken for some versions between 1.5a and
7477 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7479 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7481 * emacs.c (shut_down_emacs): Improve crash message.
7483 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7485 * file-coding.c (determine_real_coding_system): Check for coding
7486 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7487 shebangs and Python PEP 263.
7489 2002-10-08 Andy Piper <andy@xemacs.org>
7491 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7492 if static sizes haven't been set.
7494 2002-08-30 Mike Alexander <mta@arbortext.com>
7496 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7499 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7501 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7503 2002-09-20 Mike Sperber <mike@xemacs.org>
7505 (This partially gets back my patch from 2002-07-20 without the
7507 * callproc.c (child_setup): Remove Ben's comment noting confusion
7508 over the file descriptors >= 3: close_process_descs() doesn't
7509 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7510 * process-unix.c (unix_create_process): Call
7511 begin_dont_check_for_quit to inhibit unwanted interaction (and
7512 thus breaking of X event synchronicity) in the child.
7514 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7516 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7519 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7521 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7522 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7523 the xemacs process did not exit, but looped infinitely here. This
7526 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7528 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7529 (find_context): Improve comments.
7531 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7532 (re_match_2): An XCHAR_TABLE operation was missing.
7534 Many of the following changes were inspired by Andy Piper's (now
7535 obsolete) patch to make syntax-table text property lookup optional.
7539 * syntax.h (top level): Document semantics of syntax flags.
7540 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7541 * syntax.c, syntax.h (top level): Document syntax cache better in
7544 [Instrument syntax caching (temporary change)]
7546 * syntax.h (enum syntax_cache_statistics_functions, struct
7547 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7548 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7549 * syntax.c (scan_words, Fforward_comment, scan_lists,
7550 Fbackward_prefix_characters):
7551 * font-lock.c (find_context):
7552 Use them to instrument syntax caching.
7553 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7554 syntax_cache_statistics_function_names): New type and variables.
7555 * syntax.c (update_syntax_cache): Update and report statistics.
7557 [Major syntax cache optimizations]
7559 syntax.c (lookup_syntax_properties): Default off.
7561 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7562 * syntax.c (update_syntax_cache):
7563 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7565 [Minor syntax cache optimizations and code clarifications]
7567 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7568 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7569 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7570 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7571 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7572 (Code clarification.)
7574 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7575 scan_lists): Compute code from syncode, use Boolean macros instead
7576 of redundant masking operations. (Code clarification; any decent
7577 compiler can do this optimization.)
7579 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7582 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7583 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7584 use F*_single_property_change instead of F*_extent_change.
7585 Currently F*_single_property_change is _much_ less efficient.
7587 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7588 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7589 syntax_cache.object properly, don't leave Qt or Qnil.
7590 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7591 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7592 tests for Qt or Qnil.
7594 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7596 * redisplay.c (point_in_line_start_cache):
7597 * extents.c (print_extent_1):
7600 * extents.c (Fset_extent_property): Document `syntax-table' property.
7602 * extents.h (Fnext_single_property_change): EXFUN it.
7604 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7606 * search.c (clear_unused_search_regs): New static function.
7610 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7611 Minor clarifications in comments.
7613 * regex.c (re_match_2_internal): Ensure no stale submatches.
7615 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7617 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7619 2002-08-29 Jerry James <james@xemacs.org>
7621 * lisp.h: structrures -> structures.
7623 2002-06-03 Andy Piper <andy@xemacs.org>
7625 * frame.c (frame_conversion_internal): add conversion appropriate
7626 for setting frame dimensions in pixels.
7628 * console.h (struct console_methods): add device-specific widget
7631 * emacs.c (main_1): initialize glyph vars.
7633 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7634 (handle_focus_event_2): new function. Allow focus to
7635 be set to a particular window and widget.
7636 (enqueue_focus_event): new function. Create a
7637 synthetic focus event.
7638 (emacs_Xt_handle_magic_event): call
7639 handle_focus_event_2.
7641 * frame.c (Fset_frame_pixel_height): new function. Allow
7642 pixel-based sizing. Does the right thing on character-oriented
7644 (Fset_frame_pixel_width): ditto.
7645 (Fset_frame_pixel_size): ditto.
7646 (syms_of_frame): declare.
7648 * general-slots.h: add :vertically-justify and
7649 :horizontally-justify.
7651 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7652 (mswindows_widget_border_width): new function.
7653 (mswindows_combo_box_instantiate): set border widths.
7654 (console_type_create_glyphs_mswindows): declare.
7657 (check_valid_justification): allow vertical and horizontal
7659 (widget_border_width): new function. Call device methods.
7660 (widget_instance_border_width): ditto.
7661 (logical_unit_height): new function. Determine the height of a
7662 logical-unit. Logical units are intended to provide grid-like
7663 layout for subcontrols in a layout. If the layout is
7664 :vertically-justify top then subcontrols will be positioned on
7665 logical-unit boundaries, thus allowing adjacent subcontrols to
7667 (widget_logical_unit_height): ditto for widgets.
7668 (redisplay_widget): misc cleanup.
7669 (widget_spacing): new function. Call device specific
7670 methods. Intended to be the default gap between adjacent widgets.
7671 (widget_query_geometry): use new spacing functions to determine
7672 appropriate geometry.
7673 (initialize_widget_image_instance): initialize horizontal and
7674 vertical justification.
7675 (widget_instantiate): use logica-units where appropriate for
7676 sizing large widgets.
7677 (button_query_geometry): use widget_instance_border_width.
7678 (tree_view_query_geometry): ditto.
7679 (tab_control_query_geometry): ditto.
7680 (edit_field_query_geometry): new function.
7681 (layout_update): pick up :justify, :horizontally-justify and
7682 :vertically-justify none of which worked previously. :justify is
7683 used as a fallback for both horizontal and vertical justification.
7684 (layout_query_geometry): use logical units to size appropriately.
7685 (layout_layout): ditto.
7686 (Fwidget_logical_to_character_width): new function. Allow users to
7687 convert from logical units to characters so that frame sizes can
7688 be set appropriately.
7689 (Fwidget_logical_to_character_height): ditto.
7690 (syms_of_glyphs_widget): declare.
7691 (image_instantiator_edit_fields): add edit_field_query_geometry.
7692 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7693 :horizontally-justify.
7694 (specifier_vars_of_glyphs_widget): new function. Declare
7695 Vwidget_border_width which is not yet used.
7697 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7698 (x_widget_border_width): new function.
7699 (x_widget_instantiate): create a sensible name for widgets.
7700 (console_type_create_glyphs_x): declare x_widget_border_width.
7702 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7703 (struct Lisp_Image_Instance): add :vertically-justify and
7704 :horizontally-justify.
7705 (LAYOUT_JUSTIFY_TOP): new.
7706 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7707 (ROUND_UP): new macro. Round argument up to next integral
7710 * redisplay-output.c (redisplay_output_layout): misc formatting.
7712 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7714 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7716 * XEmacs 21.4.9 "Informed Management" is released.
7718 2002-08-19 Andy Piper <andy@xemacs.org>
7720 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7723 * realpath.c (xrealpath): normalize drive spec also so that dir
7724 sep chars are not mixed on cygwin.
7726 2002-08-06 Jerry James <james@xemacs.org>
7728 * window.c (Fsplit_window): Count only half of the divider width
7729 against the left window when splitting horizontally.
7731 2002-06-24 Andy Piper <andy@xemacs.org>
7733 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7734 toolbar was cleared.
7736 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7737 function. Split out from mswindows_output_frame_toolbars.
7738 (mswindows_output_frame_toolbars): move clear pieces to
7739 mswindows_output_frame_toolbars.
7741 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7742 out from gtk_output_frame_toolbars.
7743 (gtk_output_frame_toolbars): move clear pieces to
7744 gtk_clear_frame_toolbars.
7746 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7747 the frame is cleared. How this ever worked before is a mystery.
7748 (x_output_frame_toolbars): Only output toolbars.
7749 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7751 * gutter.c (update_gutter_geometry):
7752 Mark frame layout changed.
7753 (update_frame_gutter_geometry, update_frame_gutters):
7754 Respect frame_layout_changed.
7756 * console.h (struct console_methods): add
7757 clear_frame_toolbars_method.
7759 * redisplay.c (redisplay_frame): call
7760 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7762 * toolbar.h: declare update_frame_toolbars_geometry.
7764 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7765 out from update_frame_toolbars. Call clear_frame_toolbars.
7766 (update_frame_toolbars): only output, do not change geometry.
7768 * redisplay.c: add frame_layout_changed.
7770 * redisplay.h: add frame_layout_changed.
7771 (CLASS_RESET_CHANGED_FLAGS): set it.
7772 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7773 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7774 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7776 * device.h (struct device): add frame_layout_changed.
7777 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7779 * frame.h (struct frame): add frame_layout_changed.
7780 (MARK_FRAME_LAYOUT_CHANGED): new.
7782 2002-06-30 Mike Alexander <mta@arbortext.com>
7784 * event-msw.c (mswindows_need_event): Don't wait for a new message
7785 if the queue is not empty. Suggested by Paul Moore.
7787 2002-06-12 Andy Piper <andy@xemacs.org>
7789 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7790 for printing on accurately.
7792 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7794 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7795 WM_ACTIVATE message. Make sure that the frame is visible if the
7796 window is visible. This seemss to fix the problem where XEmacs
7797 appears to freeze after switching desktops with certain virtual
7799 (debug_output_mswin_message): Added code to output message
7800 parameters for WM_WINDOWPOSCHANGED,
7801 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7803 2002-05-25 Andy Piper <andy@xemacs.org>
7805 * select-x.c (vars_of_select_x): Fix docstring of
7806 x-selection-strict-motif-ownership
7808 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7810 * keymap.c (get_keymap):
7811 Add comment about do_autoload GCPROs own args.
7813 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7815 * bytecode.c (execute_optimized_program): check_opcode ifdef
7816 ERROR_CHECK_BYTE_CODE.
7818 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7820 Thanks to Ben Wing and Michael Sperber.
7822 * eval.c (Fcommand_execute):
7825 (Fmacroexpand_internal):
7826 (function_argcount):
7827 callint.c (Fcall_interactively):
7828 Add comment about do_autoload GCPROs own args.
7830 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7832 * eval.c (Ffuncall): Extra braces to placate GCC.
7834 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7836 * backtrace.h (grow_specpdl):
7838 * EmacsFrame.c (EmacsFrameSetValues):
7839 * eval.c (grow_specpdl):
7840 * ExternalShell.c (hack_event_masks_1):
7841 * glyphs-x.c (convert_EImage_to_XImage):
7842 (x_finalize_image_instance):
7843 * ralloc.c (page_size):
7845 * xgccache.c (gc_cache_hash):
7846 Fix unsigned comparison warnings.
7848 2002-07-29 Jerry James <james@xemacs.org>
7850 * lread.c (locate_file): Any nonnegative return value indicates
7851 success if MODE is nonnegative.
7853 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7855 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7858 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7860 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7862 * dumper.c (pdump_get_indirect_count):
7863 (pdump_scan_by_alignment):
7864 (pdump_dump_root_struct_ptrs):
7865 (pdump_dump_rtables):
7866 (pdump_dump_root_objects):
7868 * nas.c (WaveOpenDataForReading):
7869 * fns.c (print_bit_vector):
7870 * font-lock.c (SINGLE_SYNTAX_STYLE):
7871 * glyphs.c (check_for_ignored_expose):
7872 (find_matching_subwindow):
7874 * imgproc.c (get_histogram):
7875 * redisplay.c (point_in_line_start_cache):
7876 * redisplay-output.c (redisplay_unmap_subwindows):
7877 * symbols.c (defsymbol_massage_name_1):
7878 (defkeyword_massage_name):
7879 (deferror_massage_name_and_message):
7880 * redisplay-x.c (x_output_string):
7881 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7882 * frame.h (struct frame):
7883 * filelock.c (current_lock_owner):
7884 * doprnt.c (emacs_doprnt_1):
7885 * lisp.h (struct Lisp_Bit_Vector):
7889 2002-02-13 Ben Wing <ben@xemacs.org>
7891 * event-stream.c (reset_key_echo):
7892 * event-stream.c (reset_this_command_keys):
7893 * event-stream.c (execute_command_event):
7894 If console is dead as a result of C-x 5 0, then post-command stuff
7895 needs to be careful and do only non-console-specific stuff.
7897 2002-07-01 Mike Sperber <mike@xemacs.org>
7899 * process-unix.c (unix_send_process): Mark coding_outstream as
7900 non-open upon SIGPIPE.
7902 * event-stream.c (Fnext_event): Reorder switch cases to something
7905 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7907 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7908 Don't bogusly reinitialize ascii_character property.
7910 2002-07-08 Mike Sperber <mike@xemacs.org>
7912 * process.c (Fstart_process_internal): Do error checking before we
7913 fork off the child, so the child can't muck with the state of the
7916 2002-07-08 Mike Sperber <mike@xemacs.org>
7918 * ralloc.c (init_ralloc): Allocate properly for pdump.
7920 2002-06-12 Andy Piper <andy@xemacs.org>
7922 * glyphs.c (query_string_geometry): check the string.
7924 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7927 2002-06-17 Jerry James <james@xemacs.org>
7929 * sysdll.c: Remove RTLD_GLOBAL initialization.
7930 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7932 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7934 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7936 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7938 * sysdep.c (sys_rename): Make sys_rename work for the case where
7939 Windows rename sets errno to EACCES if target file exists.
7941 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7943 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7944 Fix detection of metric units to work on Win95
7946 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7948 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7950 2002-04-25 Andy Piper <andy@xemacs.org>
7952 * redisplay.c (create_text_block): Remove extra comment trailer.
7954 2002-04-24 Andy Piper <andy@xemacs.org>
7956 * redisplay.c (create_text_block): Don't actually add propagation
7957 data if the line ends after we have added a glyph.
7959 2002-04-22 Andy Piper <andy@xemacs.org>
7961 * extents.c (extent_fragment_update): check for glyphs we have
7962 previously displayed.
7963 * extents.c (print_extent_1): warning removal.
7964 * extents.h: change prototype.
7965 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7966 widths correctly for wide glyphs.
7967 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7968 * redisplay.c (prop_type): add PROP_GLYPH.
7969 * redisplay.c (struct prop_block): add glyph type
7970 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7971 to the propagation data.
7972 * redisplay.c (create_text_block): if there is a glyph in the
7973 propagation data use it to salt extent_fragment_update.
7974 * redisplay.c (create_string_text_block): ditto.
7976 2002-04-13 Nix <nix@esperi.demon.co.uk>
7978 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7979 * redisplay-output.c (compare_runes): Compare them.
7980 * redisplay.c: Update copyright date.
7981 * redisplay.c (pos_data): Add need_baseline_computation field.
7982 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7983 need_baseline_computation; zero yoffset. Set max_pixmap_height
7984 for all pixmaps, not just automatically positioned ones.
7985 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7986 * redisplay.c (calculate_baseline): New, compute textual baseline.
7987 * redisplay.c (add_glyph_rune): Call them.
7988 * redisplay.c (create_text_block): Likewise.
7989 * redisplay.c (create_overlay_glyph_block): Likewise.
7990 * redisplay.c (add_margin_runes): Likewise.
7991 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7993 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7994 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7995 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7996 * redisplay-msw.c (mswindows_output_string): Likewise.
7997 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7998 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7999 * redisplay-x.c (x_output_display_block): Likewise.
8001 2002-03-28 Ben Wing <ben@xemacs.org>
8003 * redisplay.c: Fixed bug in redisplay
8004 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
8005 and down of the lines, since they're bigger than the line
8006 size. (It was seen most obviously when there's a horizontal scroll
8007 bar, e.g. do C-h a glyph or something like that.) The problem was
8008 that the glyph-contrib-p setting on glyphs was ignored even if it
8009 was set properly, which it wasn't until now.
8011 2002-04-24 Andy Piper <andy@xemacs.org>
8013 * lisp.h (Dynarr_end): Fix definition.
8015 2002-02-06 Adrian Aichner <adrian@xemacs.org>
8017 * redisplay.c (mark_redisplay): Remove call to
8018 update_frame_window_mirror.
8020 2001-11-15 Andy Piper <andy@xemacs.org>
8022 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
8025 2002-02-13 Andy Piper <andy@xemacs.org>
8027 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
8028 we did in fact enqueue the XM_MAPFRAME event.
8030 2002-01-15 Adrian Aichner <adrian@xemacs.org>
8032 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
8033 to fix problem switching between virtual desktops under virtuawin
8034 virtual window manager.
8036 2001-07-30 Adrian Aichner <adrian@xemacs.org>
8038 * event-msw.c: Typo fix.
8039 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
8040 magic XM_MAPFRAME event has been sent.
8042 2001-11-23 Andy Piper <andy@xemacs.org>
8044 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
8046 2001-11-21 Andy Piper <andy@xemacs.org>
8048 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
8049 mouse events outside the frame.
8051 2002-03-20 Andy Piper <andy@xemacs.org>
8053 * menubar-msw.c (mswindows_popup_menu): warning removal.
8054 * dialog-msw.c (dialog_popped_down): ditto.
8056 2001-12-11 Andy Piper <andy@xemacs.org>
8058 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
8059 * dialog-msw.c (mswindows_make_dialog_box_internal): set
8061 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
8062 * menubar-msw.c (mswindows_handle_wm_command): ditto.
8063 * menubar-msw.c (mswindows_popup_menu): ditto.
8065 2001-10-29 Andy Piper <andy@xemacs.org>
8067 * dialog-msw.c (handle_directory_dialog_box): quit if the user
8070 2002-01-03 Andy Piper <andy@xemacs.org>
8072 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
8076 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8078 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8079 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8080 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8081 Detect and handle case where machine is set up for metric units
8083 2002-04-02 Andy Piper <andy@xemacs.org>
8085 * dired-msw.c (mswindows_get_files):
8086 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8087 completely handled by XEmacs. Suggested by Thomas Vogler
8088 <mail@thomas-vogler.de>.
8090 2001-11-14 Andy Piper <andy@xemacs.org>
8092 * nt.c (REG_ROOT): change registry key to XEmacs.
8094 2002-04-27 Andy Piper <andy@xemacs.org>
8096 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8098 2002-04-26 Andy Piper <andy@xemacs.org>
8100 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8103 2002-03-14 Mike Alexander <mta@arbortext.com>
8105 * event-msw.c (mswindows_unwait_process): New, remove process from
8107 * process-nt.c (nt_finalize_process_data): Call
8108 mswindows_unwait_process
8109 * console-msw.h: Declare mswindows_unwait_process
8111 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8113 * editfns.c (Fdecode_time):
8114 (Fformat_time_string):
8115 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8116 (make_time): Warning elimination (change arg name).
8118 2001-11-24 Andy Piper <andy@xemacs.org>
8120 * window.c (Fsplit_window): Doc return type.
8122 2002-04-01 Andy Piper <andy@xemacs.org>
8124 * emacs.c (Fkill_emacs): Only output message box in interactive
8127 2002-04-26 Andy Piper <andy@xemacs.org>
8129 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8132 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8134 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8137 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8139 * XEmacs 21.4.8 "Honest Recruiter" is released.
8141 2002-05-07 Nix <nix@esperi.demon.co.uk>
8143 Supersedes 2002-04-17 patch.
8145 * process.h (PROCESS_LIVE_P): Use the process status as
8146 evidence of health, not the state of the input stream.
8147 (PROCESS_READABLE_P): Say if the process is readable
8148 from. (It may be dead nonetheless.)
8149 (CHECK_READABLE_PROCESS): Test for that condition.
8151 * process.c (create_process): Use PROCESS_READABLE_P.
8152 (read_process_output, set_process_filter): Likewise.
8154 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8155 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8157 This code is #if 0'd, this is not the time to add new functions:
8159 * process.c (Fprocess_readable_p): Report readability status.
8160 * process.c (Qprocess_readable_p): New, associated symbol...
8161 * process.c (syms_of_process): ... initialize it.
8163 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8165 * XEmacs 21.4.7 "Economic Science" is released.
8167 2002-04-17 Nix <nix@esperi.demon.co.uk>
8169 * process.h (PROCESS_LIVE_P): Use the process status as
8170 evidence of health, not the state of the input stream.
8172 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8174 * sysdep.c (sys_siglist): change "signum" to "signal"
8176 2001-04-21 Martin Buchholz <martin@xemacs.org>
8178 * s/darwin.h: New file.
8179 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8181 2002-04-23 Andreas Jaeger <aj@suse.de>
8183 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8184 which use lib64 for 64-bit libs.
8185 (START_FILES): Likewise.
8187 2002-02-11 Mike Sperber <mike@xemacs.org>
8190 (x_IO_error_handler):
8191 (x_init_device): Temporarily keep device in static variable
8192 `device_being_initialized' so we can recover gracefully from
8193 internal XOpenDevice failure. (XOpenDevice is documented to
8194 return NULL on failure, but sometimes calls the IO error handler
8197 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8199 * dired.c (Ffile_name_all_completions): Change documentation --
8200 remove reference to completion-ignored-extensions.
8201 * dired.c (vars_of_dired): Change documentation for
8202 completion-ignored-extensions -- remove reference to
8203 file-name-all-completions.
8205 2002-03-06 Jerry James <james@xemacs.org>
8207 * emodules.c (emodules_load): Fix multiple loading of same module.
8209 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8210 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8211 RTLD_LAZY to avoid incorrect symbol binding when using nested
8212 shared libraries on Solaris.
8214 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8216 * fileio.c (Ffind_file_name_handler): Improve docstring.
8218 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8220 * fns.c (Fmapconcat): Improve docstring.
8222 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8224 * device-gtk.c: Add prototype for
8225 emacs_gtk_selection_clear_event_handle.
8226 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8227 selection. Setup signal handler for "selection_clear_event"
8228 (emacs_gtk_selection_clear_event_handle).
8230 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8231 other applications owning the clipboard (based on
8232 x_handle_selection_clear).
8234 2001-12-23 William M. Perry <wmperry@gnu.org>
8236 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8238 2002-01-04 Martin Buchholz <martin@xemacs.org>
8240 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8242 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8244 * XEmacs 21.4.6 "Common Lisp" is released.
8246 2001-12-16 Torsten Duwe <duwe@caldera.de>
8248 * search.c (Freplace_match): Add missing sub-expression functionality.
8250 * buffer.c (decode_buffer): Add a check for pointer type to
8251 decode_buffer, before gcc's CSE optimization reorders a
8252 dereference in front of the allow_string test.
8254 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8256 * window.c (window_loop): Fix bug that sometimes prevented
8257 window_loop() from iterating across multiple devices. Also, at
8258 Ben's request, changed infloop-detecting code to abort() instead
8259 of silently terminating window_loop().
8261 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8263 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8264 * editfns.c (make_time): New function.
8265 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8266 * lisp.h (make_time): Prototype and comment it.
8267 * dired.c (wasteful_word_to_lisp): Deprecate.
8268 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8270 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8272 * fileio.c (auto_save_1): Use current coding system, not
8275 2001-11-13 Ben Wing <ben@xemacs.org>
8278 * window.c (window_truncation_on):
8279 * window.c (syms_of_window):
8280 truncate-partial-width-windows should respect the buffer being
8281 displayed, like other redisplay vars.
8283 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8285 * event-stream.c (Fread_key_sequence): save current buffer.
8287 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8289 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8291 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8293 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8295 2001-10-26 Mike Alexander <mta@arbortext.com>
8297 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8299 2001-10-25 Andy Piper <andy@xemacs.org>
8302 * dialog-msw.c (handle_directory_proc): new function.
8303 (handle_directory_dialog_box): new fucntion.
8304 (handle_file_dialog_box): use new directory dialog support.
8305 (mswindows_make_dialog_box_internal): ditto.
8306 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8308 (mswindows_find_frame): make global.
8309 * fileio.c (Fexpand_file_name): build fix.
8310 * general-slots.h: add Qdirectory.
8311 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8313 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8314 cygwin not leaving win32 paths unchanged.
8315 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8316 cygwin runtime to do path conversion.
8317 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8318 (syms_of_win32): add new function.
8319 * window.c (window_loop): build fix.
8321 2001-10-15 Andy Piper <andy@xemacs.org>
8323 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8325 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8327 * XEmacs 21.4.5 "Civil Service" is released.
8329 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8331 * glyphs-x.c: Force buffer-tab highlight update when moving the
8332 buffer, avoiding an ugly black border, used for keyboard focus
8333 indication, on a widget that can never have keyboard focus, the
8336 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8338 * process-unix.c (unix_open_multicast_group): Remove too much
8339 conversion between host and network byte order.
8341 2001-09-10 Nix <nix@esperi.demon.co.uk>
8343 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8344 before replacing them.
8346 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8349 * src/window.c (undedicate_windows): Use it.
8350 * src/window.h: Add prototype.
8352 2001-09-17 Ben Wing <ben@xemacs.org>
8354 * fileio.c (normalize_filename):
8355 * fileio.c (Fexpand_file_name):
8356 Fix various C++ compile errors in Andy's recent code.
8358 * callint.c (Fcall_interactively):
8359 * editfns.c (Ftemp_directory):
8360 * editfns.c (Fuser_full_name):
8361 * emacs.c (argmatch):
8362 * lread.c (locate_file_map_suffixes):
8363 * redisplay-x.c (x_ring_bell):
8364 Fix sign-compare warnings.
8366 2001-09-08 Andy Piper <andy@xemacs.org>
8368 * fileio.c (normalize_filename): copied from nt.c
8369 * (Ffile_name_directory): enable win32 paths under cygwin.
8370 * (Ffile_name_nondirectory): ditto.
8371 * (directory_file_name): ditto.
8372 * (Fexpand_file_name): ditto.
8373 * (Ffile_truename): ditto.
8374 * (Fsubstitute_in_file_name): ditto.
8375 * (Ffile_name_absolute_p): ditto.
8376 * (Ffile_readable_p): ditto.
8378 2001-09-08 Andy Piper <andy@xemacs.org>
8380 * device-msw.c (mswindows_finish_init_device): remove dde
8382 * device-msw.c (mswindows_init_dde): factor out from
8383 mswindows_finish_init_device()
8384 * device-msw.c (init_mswindows_very_early): new function
8385 initialize but don't enable dde.
8386 * emacs.c (main_1): call init_mswindows_very_early.
8388 * event-msw.c (mswindows_dde_callback): only execute when we are
8390 * symsinit.h: declare init_mswindows_very_early.
8392 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8394 [sjt: This has been in 21.5 for months with no complaints.]
8396 * console.h (struct console_methods): Added flags member.
8397 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8398 (CONMETH_IMPL_FLAG):
8399 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8400 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8402 * device.c (window_system_pixelated_geometry): Use the above macros.
8404 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8405 implememntation flag.
8406 * device.h (DEVICE_DISPLAY_P): Use it.
8408 * frame.c (delete_frame_internal): Use the above macro.
8410 * redisplay.c (redisplay_device): Use it.
8411 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8412 (redisplay_frame): Ditto.
8414 * device-msw.c (mswindows_device_implementation_flags): Removed.
8415 (msprinter_device_implementation_flags): Removed.
8416 (console_type_create_device_mswindows): Removed references to
8417 implementation_flags methods, set implementation flags here.
8418 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8420 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8421 (console_type_create_device_gtk): Removed method declaration.
8422 Added commented out statement which semantically matches the
8423 commented out statement in the above removed method.
8425 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8427 The attached patch fixes a few warnings.
8429 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8430 * src/frame-gtk.c: guard against GNOME calls in GTK only
8431 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8432 * src/select-gtk.c: prototype lisp_to_time
8434 2001-06-08 Ben Wing <ben@xemacs.org>
8436 ------ gc-in-window-procedure fixes ------
8439 * alloc.c (struct post_gc_action):
8440 * alloc.c (register_post_gc_action):
8441 * alloc.c (run_post_gc_actions):
8442 * alloc.c (garbage_collect_1):
8443 Create "post-gc actions", to avoid those dreaded "GC during window
8444 procedure" problems.
8447 Abort, clean and simple, when GC in window procedure. We want
8448 to flush these puppies out.
8451 * glyphs-msw.c (finalize_destroy_window):
8452 * glyphs-msw.c (mswindows_finalize_image_instance):
8453 Use a post-gc action when destroying subwindows.
8456 Declare register_post_gc_action().
8459 * scrollbar-msw.c (unshow_that_mofo):
8460 Use a post-gc action when unshowing scrollbar windows, if in gc.
8462 * redisplay.c (mark_redisplay):
8463 Add comment about the utter evilness of what's going down here.
8465 ------ cygwin setitimer fixes ------
8467 * Makefile.in.in (sheap_objs):
8468 * Makefile.in.in (profile_objs):
8469 * Makefile.in.in (objs):
8470 Compile profile.c only when HAVE_SETITIMER.
8472 * nt.c (mswindows_sigset):
8473 * nt.c (mswindows_sighold):
8474 * nt.c (mswindows_sigrelse):
8475 * nt.c (mswindows_sigpause):
8476 * nt.c (mswindows_raise):
8477 * nt.c (close_file_data):
8481 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8484 * profile.c (Fstart_profiling):
8485 * profile.c (Fstop_profiling):
8486 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8487 instead of just plain setitimer().
8490 * signal.c (set_one_shot_timer):
8492 Define qxe_setitimer() as an encapsulation around setitimer() --
8493 call setitimer() directly unless Cygwin or MS Win, in which case
8494 we use our simulated version in win32.c.
8497 * systime.h (struct itimerval):
8498 * systime.h (ITIMER_REAL):
8499 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8500 comment about "qxe" and the policy regarding encapsulation.
8503 * win32.c (setitimer_helper_proc):
8504 * win32.c (setitimer_helper_period):
8505 * win32.c (setitimer_helper):
8506 * win32.c (mswindows_setitimer):
8507 Move setitimer() emulation here, so Cygwin can use it.
8508 Rename a couple of functions and variables to be longer and more
8509 descriptive. In setitimer_helper_proc(), send the signal
8510 using either mswindows_raise() or (on Cygwin) kill(). If for
8511 some reason we are still getting lockups, we'll change the kill()
8512 to directly invoke the signal handlers.
8514 ------ windows shell fixes ------
8518 Comments about how these two files must die.
8520 * callproc.c (init_callproc):
8521 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8522 not just COMSPEC. (more correct and closer to FSF.) Don't
8523 force a value for SHELL into the environment. (Comments added
8524 to explain why not.)
8526 * nt.c (init_user_info):
8527 Don't shove a fabricated SHELL into the environment. See above.
8529 2001-06-01 Ben Wing <ben@xemacs.org>
8531 * Makefile.in.in (ldflags):
8532 eliminate that pesky "defaulting to 00401000" warning.
8536 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8538 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8539 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8541 2001-04-24 Jerry James <james@xemacs.org>
8543 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8546 2001-06-01 Ben Wing <ben@xemacs.org>
8548 * event-msw.c (debug_mswin_messages):
8549 conditionalize the messages that were causing compile errors.
8550 (if only macros could generate #ifdef statements ...)
8552 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8554 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8556 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8558 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8560 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8562 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8563 * process-unix.c (unix_canonicalize_host_name):
8564 sysdep.c (init_system_name):
8565 Use it to conditionally support IPv6 canonicalization.
8567 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8570 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8572 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8574 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8575 attempt is made to scroll when no scroll bar is available.
8577 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8579 * input-method-motif.c (XIM_delete_frame): New callback.
8580 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8581 got deleted from 21.4.3.)
8583 2001-06-01 Ben Wing <ben@xemacs.org>
8585 * nt.c (mswindows_utime):
8586 * nt.c (close_file_data):
8587 fix off-by-one-indirection error.
8589 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8591 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8592 because set_file_times() now takes Lisp_Object path, instead of
8594 * nt.c: Include buffer.h.
8595 * nt.c (convert_from_time_t): New.
8596 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8597 not set mtime correctly.
8598 * nt.h: Declare mswindows_utime().
8599 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8600 path, instead of char*.
8601 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8603 2001-05-30 Ben Wing <ben@xemacs.org>
8607 (Stephen, just take all event-msw.c patches. This includes
8608 the "iconify" fix below.)
8611 * event-msw.c (mswindows_dequeue_dispatch_event):
8612 * event-msw.c (assert):
8613 * event-msw.c (emacs_mswindows_quit_p):
8614 * event-msw.c (debug_mswin_messages):
8615 * event-msw.c (debug_output_mswin_message):
8616 * event-msw.c (vars_of_event_mswindows):
8617 Fix yet more problems with C-g handling.
8618 Implement debug-mswindows-events.
8620 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8622 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8624 2001-05-23 Ben Wing <ben@xemacs.org>
8626 * event-msw.c (winsock_writer):
8627 * event-msw.c (winsock_closer):
8628 prior kludgy code was clobbering the buffer, thinking it was
8629 "unused" space to store an unneeded return value; instead, use
8630 the variable we've already got staring us in the face.
8632 2001-05-17 Andy Piper <andy@xemacs.org>
8634 * sysfile.h: don't assume that file attributes are boolean
8636 2001-05-23 Ben Wing <ben@xemacs.org>
8638 * device-msw.c (msprinter_init_device):
8639 signal an error rather than crash with an unavailable network
8640 printer (from Mike Alexander).
8643 * event-msw.c (struct winsock_stream):
8644 * event-msw.c (winsock_writer):
8645 * event-msw.c (winsock_closer):
8646 * event-msw.c (make_winsock_stream_1):
8647 cleanup headers. fix (hopefully) an error with data corruption
8648 when sending to a network connection.
8650 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8651 to handle the ~user prefix by (a) always assuming we're referencing
8652 ourselves and not even verifying the user -- hence any file with
8653 a tilde as its first char is invalid! (b) if there wasn't a slash
8654 following the filename, the pointer was set *past* the end of
8655 file and we started reading from uninitialized memory. Now we
8656 simply treat these as files, always.
8658 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8660 2001-05-19 Ben Wing <ben@xemacs.org>
8662 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8665 * process-nt.c (vars_of_process_nt):
8666 remove unused mswindows-quote-process-args. rec for 21.4.
8668 2001-05-12 Ben Wing <ben@xemacs.org>
8670 * event-msw.c (mswindows_dde_callback):
8671 * event-msw.c (mswindows_wnd_proc):
8672 eliminate cygwin warnings.
8674 2001-05-06 Ben Wing <ben@xemacs.org>
8678 * device-msw.c (print_dialog_worker):
8679 * device-msw.c (mswindows_handle_print_dialog_box):
8680 * device-msw.c (syms_of_device_mswindows):
8681 * dialog-msw.c (mswindows_make_dialog_box_internal):
8683 implement printing the selection when it's selected.
8685 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8687 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8689 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8691 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8692 EMACS_INT is signed.
8694 2001-04-15 Michael Lausch <mla@1012surf.net>
8696 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8697 gtk_widget_request_size() to give scrollbar >0 width for
8700 2001-05-30 William M. Perry <wmperry@gnu.org>
8702 * event-gtk.c: Check for buttons as modifier keys.
8704 2001-05-25 Craig Lanning <CraigL@Knology.net>
8707 Properly find MinGW's <process.h> inside Cygwin's restructured
8708 include directories. Don't try to include <cygwin/version.h>
8709 since we are dropping support for MinGW in versions of Cygwin
8712 Drop support for MinGW in versions of Cygwin before b21.
8714 Properly find MinGW's <process.h> inside Cygwin's restructured
8715 include directories.
8717 Drop support for MinGW in versions of Cygwin before b21.
8719 Even though a.out.h is no longer detected by configure, allow
8720 MinGW to use it until we figure out how to do the job with Win32.
8722 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8724 * syntax.c (find_start_of_comment):
8725 Fix `unbalanced parentheses' bug when dealing with mixed comment
8726 styles in c++/java/etc. mode
8728 2001-05-29 Mike Alexander <mta@arbortext.com>
8730 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8731 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8733 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8735 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8737 2001-03-31 Mike Sperber <mike@xemacs.org>
8739 * search.c (Freplace_match): Support FSF-style specification of
8740 match subexpression when applied to a buffer.
8742 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8744 * event-stream.c (is_scrollbar_event): add missing semicolon
8746 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8748 * Makefile.in.in: Use TAR macro instead of hardcoding
8749 tar. Allows use of GNU tar instead of system tar
8751 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8753 * event-stream.c (is_scrollbar_event): add missing semicolon
8755 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8757 * XEmacs 21.4.3 "Academic Rigor" is released.
8759 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8761 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8763 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8765 * buffer.c (Vcase_fold_search): Remove obsolete
8766 comment about non ASCII case-fold-search. This
8767 bug has been fixed by case-table changes.
8769 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8771 * event-msw.c: Restore include of events-mod.h.
8773 2001-04-22 zhaoway <zw@debian.org>
8775 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8778 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8780 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8782 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8784 * mule-charset.c (Fmake_charset): Add missing else.
8786 2001-04-23 Ben Wing <ben@xemacs.org>
8788 * event-msw.c (FAKE_MOD_QUIT):
8789 * event-msw.c (mswindows_dequeue_dispatch_event):
8790 * event-msw.c (mswindows_wnd_proc):
8791 * event-msw.c (emacs_mswindows_quit_p):
8792 Get critical quit working.
8794 2001-05-05 Ben Wing <ben@xemacs.org>
8798 * device-msw.c (mswindows_get_default_margin):
8799 * frame-msw.c (mswindows_size_frame_internal):
8800 * frame-msw.c (msprinter_init_frame_1):
8801 * frame-msw.c (vars_of_frame_mswindows):
8802 Change top/bottom margin defaults to 0.5 inches.
8804 2001-05-01 Martin Buchholz <martin@xemacs.org>
8806 Fix link error with gcc 3.0 on Linux.
8807 * terminfo.c (UP): Remove.
8808 * terminfo.c (BC): Remove.
8809 * terminfo.c (PC): Remove.
8810 They weren't used, and in any case, these symbols should be
8811 defined in the *library*.
8813 2001-05-03 Martin Buchholz <martin@xemacs.org>
8815 * s/aix4.h: Fix crash with xlc -O3.
8816 Improve comment explaining how -O3 works.
8818 2001-04-15 Ben Wing <ben@xemacs.org>
8821 * event-stream.c (Fnext_event):
8822 * event-stream.c (is_scrollbar_event):
8823 * event-stream.c (execute_command_event):
8824 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8825 crash' problem. His fix introduces other problems. We filter
8826 out scrollbar events specifically, making them somewhat invisible
8827 to command-building, and not appearing in `this-command-keys'.
8828 More work is still needed (see comments in event-stream.c), but
8829 this fixes all the major problems.
8831 2001-04-20 Ben Wing <ben@xemacs.org>
8833 * .cvsignore: Added stuff for Windows.
8835 2001-04-28 Ben Wing <ben@xemacs.org>
8837 * buffer.c (Ferase_buffer):
8838 * editfns.c (buffer_insert1):
8839 * editfns.c (Finsert_before_markers):
8840 * editfns.c (Finsert_string):
8841 * editfns.c (Finsert_char):
8842 * editfns.c (Fdelete_region):
8843 * editfns.c (Fwiden):
8844 * editfns.c (Fnarrow_to_region):
8845 remove bogus lines setting zmacs_region_stays to 0.
8847 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8849 * process-unix.c (unix_open_network_stream): If connect() fails
8850 invalidate file descriptor after closing it.
8852 2001-03-08 Mike Alexander <mta@arbortext.com>
8854 * event-msw.c (mswindows_need_event_in_modal_loop):
8855 Don't dispatch a message if we didn't get one.
8856 (mswindows_need_event):
8857 Terminate the correct process when one exits instead of the first
8858 one on Vprocess_list and look for process termination when in
8859 mswindows_protect_modal_loop.
8861 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8863 * XEmacs 21.4.1 "Copyleft" is released.
8865 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8867 * input-method-motif.c (XIM_delete_frame): New callback.
8868 (XIM_init_frame): Register it.
8870 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8872 * XEmacs 21.4.0 "Solid Vapor" is released.
8874 2001-04-15 Ben Wing <ben@xemacs.org>
8876 * cmdloop.c (call_command_loop):
8877 Fix braino in bit-rotting code.
8879 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8881 * extents.c (Fset_extent_endpoints): Force creation of extent info
8882 in buffer_or_string.
8884 * extents.c (process_extents_for_insertion_mapper): Correctly
8885 check for open-open zero-length extents.
8887 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8889 * lisp.h: New typedefs Memory_count, Element_count.
8892 Sign-compare warning elimination: several unsigned -> signed.
8893 Based on work by Ben Wing <ben@xemacs.org>.
8895 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8897 * XEmacs 21.2.47 "Zephir" is released.
8899 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8901 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8903 2001-04-03 Mike Sperber <mike@xemacs.org>
8905 * search.c: Revert previous patch due because of release.
8907 2001-03-30 Ben Wing <ben@xemacs.org>
8910 Add missing killpg prototype.
8913 Add a comment about fixing problems when a new entry is added
8916 * frame-msw.c (mswindows_init_frame_1):
8917 Fix compile warnings.
8919 * menubar.c (vars_of_menubar):
8920 Provide `menu-accelerator-support' to indicate that we properly
8921 support %_ in menu specifications, so that package code can
8922 conditionalize on this (and remove %_ from menu specifications
8927 * scrollbar-msw.c (can_scroll):
8929 Fix handling of mouse wheel under Windows to follow standards --
8930 now scrolls window under pointer, not selected window.
8932 2001-03-31 Mike Sperber <mike@xemacs.org>
8934 * search.c (Freplace_match): Support FSF-style specification of
8935 match subexpression when applied to a buffer.
8937 2001-03-15 Martin Buchholz <martin@xemacs.org>
8939 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8940 function to modify KEYMAP, so map over a copy of the hash table.
8942 2001-03-21 Martin Buchholz <martin@xemacs.org>
8944 * XEmacs 21.2.46 "Urania" is released.
8946 2001-03-20 Dan Holmsand <dan@eyebee.com>
8948 * realpath.c (xrealpath): Make file-truename work with symlinks to
8949 /cygdrive paths on cygwin. Always lowercase drive-letters on
8951 (cygwin_readlink): Don't try to find canonical filename unless
8954 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8956 * ChangeLog: Log GTK merge.
8962 Revert gratuitous whitespace changes from GTK merge.
8964 * emacs.c: Document end of complex #ifdef @ l. 1495.
8967 2001-03-12 Andy Piper <andy@xemacs.org>
8969 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8970 have to do likewise.
8972 2001-03-12 Andy Piper <andy@xemacs.org>
8974 * sysdep.c: we only support mingw now.
8976 2001-03-09 Andy Piper <andy@xemacs.org>
8978 * unexcw.c (copy_executable_and_dump_data_section): making approx
8979 overrun a warning only.
8981 2001-03-10 William M. Perry <wmperry@aventail.com>
8983 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8984 satisfy Stephen's identical-after-cpp plea.
8986 2001-03-02 Ben Wing <ben@xemacs.org>
8989 * cmds.c (Fforward_char):
8993 Augment documentation of the most common motion commands to make
8994 note of the shifted-motion support.
8996 2001-03-02 Ben Wing <ben@xemacs.org>
8998 * nt.c (mswindows_fstat):
8999 * nt.c (mswindows_stat):
9000 * search.c (boyer_moore):
9001 Fix compile warnings under Windows.
9003 * sysdep.c (sys_readdir):
9004 Fix buggy filename-conversion code under Mule.
9006 2001-03-09 William M. Perry <wmperry@aventail.com>
9028 * redisplay-output.c:
9034 The Great GTK Merge.
9041 * emacs-widget-accessors.c:
9055 * native-gtk-toolbar.c:
9066 The Great GTK Merge: new files.
9068 2001-02-26 Ben Wing <ben@xemacs.org>
9070 Reapplied Lstream change.
9072 2001-02-26 Ben Wing <ben@xemacs.org>
9074 Undid the last change, since it is more controversial than I
9075 thought. It should be back in at some point soon.
9077 2001-02-25 Ben Wing <ben@xemacs.org>
9080 * callproc.c (Fold_call_process_internal):
9081 * event-msw.c (ntpipe_slurp_reader):
9082 * event-msw.c (ntpipe_shove_writer):
9083 * event-msw.c (winsock_reader):
9084 * event-msw.c (winsock_writer):
9086 * file-coding.c (detect_eol_type):
9087 * file-coding.c (detect_coding_type):
9088 * file-coding.c (determine_real_coding_system):
9089 * file-coding.c (Fdetect_coding_region):
9090 * file-coding.c (decoding_reader):
9091 * file-coding.c (decoding_writer):
9092 * file-coding.c (mule_decode):
9093 * file-coding.c (Fdecode_coding_region):
9094 * file-coding.c (encoding_reader):
9095 * file-coding.c (encoding_writer):
9096 * file-coding.c (mule_encode):
9097 * file-coding.c (Fencode_coding_region):
9098 * file-coding.c (detect_coding_sjis):
9099 * file-coding.c (decode_coding_sjis):
9100 * file-coding.c (encode_coding_sjis):
9101 * file-coding.c (detect_coding_big5):
9102 * file-coding.c (decode_coding_big5):
9103 * file-coding.c (encode_coding_big5):
9104 * file-coding.c (detect_coding_ucs4):
9105 * file-coding.c (decode_coding_ucs4):
9106 * file-coding.c (encode_coding_ucs4):
9107 * file-coding.c (detect_coding_utf8):
9108 * file-coding.c (decode_coding_utf8):
9109 * file-coding.c (encode_coding_utf8):
9110 * file-coding.c (detect_coding_iso2022):
9111 * file-coding.c (decode_coding_iso2022):
9112 * file-coding.c (encode_coding_iso2022):
9113 * file-coding.c (decode_coding_no_conversion):
9114 * file-coding.c (encode_coding_no_conversion):
9115 * glyphs-x.c (write_lisp_string_to_temp_file):
9116 * gpmevent.c (tty_get_foreign_selection):
9119 * lstream.c (Lstream_flush_out):
9120 * lstream.c (Lstream_adding):
9121 * lstream.c (Lstream_write_1):
9122 * lstream.c (Lstream_write):
9123 * lstream.c (Lstream_raw_read):
9124 * lstream.c (Lstream_read_more):
9125 * lstream.c (Lstream_read):
9126 * lstream.c (Lstream_unread):
9127 * lstream.c (Lstream_fputc):
9128 * lstream.c (stdio_reader):
9129 * lstream.c (stdio_writer):
9130 * lstream.c (filedesc_reader):
9131 * lstream.c (filedesc_writer):
9132 * lstream.c (lisp_string_reader):
9133 * lstream.c (struct fixed_buffer_stream):
9134 * lstream.c (make_fixed_buffer_input_stream):
9135 * lstream.c (make_fixed_buffer_output_stream):
9136 * lstream.c (fixed_buffer_reader):
9137 * lstream.c (fixed_buffer_writer):
9138 * lstream.c (struct resizing_buffer_stream):
9139 * lstream.c (resizing_buffer_writer):
9140 * lstream.c (dynarr_writer):
9141 * lstream.c (lisp_buffer_reader):
9142 * lstream.c (lisp_buffer_writer):
9144 * lstream.h (lstream_implementation):
9145 * lstream.h (struct lstream):
9147 * process-nt.c (nt_send_process):
9148 * process-unix.c (unix_send_process):
9150 Correct Lstream lossage due to mixing of signed and unsigned
9151 quantities. All Lstream uses of size_t and ssize_t are now a
9152 single signed data type Lstream_data_count. This fixes problems
9153 under Windows with sending large quantities of data to a process,
9154 and may well fix other subtle bugs.
9156 2001-02-23 Martin Buchholz <martin@xemacs.org>
9158 * XEmacs 21.2.45 "Thelxepeia" is released.
9160 2001-02-21 Martin Buchholz <martin@xemacs.org>
9162 * lisp-union.h (XSETINT):
9165 Reverse previous change of 2001-02-06.
9167 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9169 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9171 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9172 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9173 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9174 * regex.c (POS_AS_IN_BUFFER): removed
9175 * regex.c (re_search_2):
9176 * regex.c (re_match_2):
9177 Don't use an offset of 1 when calculating buffer positions, since
9178 `BI_BUF_BEGV' does it already.
9180 2001-02-18 Wim Dumon <wim@easics.be>
9182 * insdel.c (prepare_to_modify_buffer): Also check for
9183 supersession when clash-detection is enabled.
9185 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9187 * regex.c (re_match_2_internal):
9188 Convert temp characters from 'const unsigned char' to 're_char'.
9189 Fix crashing bug with extended characters under mule.
9190 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9191 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9192 font-lock, pdump, and new syntax-table code.
9193 * syntax.c (find_start_of_comment):
9194 (find_end_of_comment):
9196 Fix crashing bugs involving moving beyond end of buffer.
9197 * syntax.c (find_start_of_comment):
9198 Fixed logic to allow proper detection of cases where the same
9199 character is used to end both a two-char comment start and a
9200 two-char comment end sequence. Fixes `(forward-comment -1)'.
9201 * syntax.c (find_start_of_comment):
9202 Return position just past last comment-end character for all cases
9203 (previously was only done for two-char comment-end sequences).
9204 * syntax.c (forward-comment):
9205 Take value returned from `find_end_of_comment', rather than
9207 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9208 Properly deal with BUFFERP (syntax_cache.object)
9210 2001-02-17 Martin Buchholz <martin@xemacs.org>
9212 * alloc.c (Fgarbage_collect):
9213 * alloc.c (make_bit_vector_from_byte_vector):
9214 -Wsign-compare-correctness.
9216 2001-02-16 Martin Buchholz <martin@xemacs.org>
9218 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9219 (XSETCHAR): Likewise.
9220 (XSETOBJ): Likewise.
9222 2001-02-15 Martin Buchholz <martin@xemacs.org>
9224 * mule-canna.c (canna-func-delete_previous):
9225 Rename to canna-func-delete-previous.
9227 2001-02-14 Martin Buchholz <martin@xemacs.org>
9229 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9231 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9233 * font-lock.c (find_context): Fix C++ compile errors introduced by
9236 2001-02-13 Martin Buchholz <martin@xemacs.org>
9238 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9239 pragma, but earlier ones barf on the same pragma.
9241 2001-02-06 Mike Sperber <mike@xemacs.org>
9243 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9244 `configure-mule-lisp-directory'.
9246 2001-02-12 Martin Buchholz <martin@xemacs.org>
9248 Make sure dump-id.c is compiled in the same way as other .c's.
9249 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9250 * dump-id.h: Remove.
9251 * emacs.c: Move dump-id.h into dumper.h.
9252 * dumper.h: Move dump-id.h into dumper.h.
9254 Use standard .c.o rule for building dump-id.o.
9255 Remove preprocessor flags from link command.
9256 Add dump-id.o to ${otherobjs} if PDUMP.
9258 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9260 Port FSF 20.7 syntax table improvements.
9264 Fixups for new syntax table stuff.
9265 * dired.c: Include syntax.c.
9266 (Fdirectory_files): Initialize regex_match_object and
9268 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9269 and Fget_char_property.
9271 Use ported FSF 20.7 syntax table improvements.
9276 2001-02-09 Martin Buchholz <martin@xemacs.org>
9278 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9279 Unixware's enum boolean from sys/types.h.
9281 2001-02-10 Martin Buchholz <martin@xemacs.org>
9283 Fix support for building with latest Purify.
9284 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9285 (PURIFY_FLAGS): Likewise.
9287 2001-02-09 Martin Buchholz <martin@xemacs.org>
9289 * fileio.c (lisp_string_set_file_times): New.
9290 * fileio.c (Fcopy_file): Use it.
9292 (copy-file filename non-ascii-filename t t)
9293 ==> No such file or directory, non-ascii-filename
9295 2001-02-10 Martin Buchholz <martin@xemacs.org>
9297 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9298 USHRT_MAX seems clearer than ~0 anyways.
9300 2001-02-09 Martin Buchholz <martin@xemacs.org>
9302 dumper improvements. Inspired by Olivier.
9303 * dumper.c (pdump_max_align): New.
9304 * dumper.c (pdump_add_entry): Use pdump_max_align.
9305 * dumper.c (pdump_get_entry_list): Likewise.
9306 * dumper.c (pdump_scan_by_alignment): Likewise.
9307 Don't iterate through unnecessary alignments.
9308 * dumper.c (pdump_file_get): No need to align result of malloc().
9309 * dumper.c (pdump_mallocadr): Remove.
9310 The result of malloc() is guaranteed to be maximally aligned.
9311 * dumper.c: s/elmt/elt/g;
9312 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9313 * dumper.c (pdump_alert_undump_object): Likewise.
9314 * dumper.c (pdump_align_table):
9315 Don't support alignments > 64.
9316 Store ALIGNOF's, not shift counts, in table.
9318 2001-02-09 Martin Buchholz <martin@xemacs.org>
9320 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9321 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9322 * systime.h: Use HAVE_UTIME.
9323 * sysdep.c (struct utimbuf): Remove.
9324 * sysdep.c (set_file_times): Prefer utime() to utimes().
9325 * config.h.in (HAVE_UTIME): New.
9326 * config.h.in (HAVE_UTIME_H): Remove.
9327 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9329 2001-02-09 Martin Buchholz <martin@xemacs.org>
9331 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9333 2001-02-08 Martin Buchholz <martin@xemacs.org>
9335 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9337 2001-02-08 Martin Buchholz <martin@xemacs.org>
9339 * XEmacs 21.2.44 "Thalia" is released.
9341 2001-02-06 Martin Buchholz <martin@xemacs.org>
9343 Fixes crashes in kill-emacs on some systems.
9344 * process-unix.c (unix_kill_child_process):
9345 It's OK for kill() to fail with ESRCH.
9347 2001-02-07 Martin Buchholz <martin@xemacs.org>
9349 Contortions to make .gdbinit tricks work on most systems.
9350 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9351 * alloc.c (dbg_valmask): Make non-const.
9352 * alloc.c (dbg_typemask): Make non-const.
9353 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9354 * alloc.c (dbg_valbits): Make non-const.
9355 * alloc.c (dbg_gctypebits): Make non-const.
9356 * .gdbinit (decode_object): Make it work with AIX cc.
9358 2001-02-06 Martin Buchholz <martin@xemacs.org>
9360 * elhash.c (make_general_lisp_hash_table):
9361 Use simpler and more efficient calloc to clear entries.
9363 2001-02-07 Martin Buchholz <martin@xemacs.org>
9365 * window.c (window_scroll): Work around an AIX C compiler bug.
9366 Fixes 'scroll-up' does nothing problem with xlC.
9368 2001-02-05 Martin Buchholz <martin@xemacs.org>
9370 * .gdbinit: Remove obsolete comment.
9372 2001-01-31 Mike Alexander <mta@arbortext.com>
9374 * select.c (Fown_selection_internal): Set owned_p for device
9377 2001-02-01 Martin Buchholz <martin@xemacs.org>
9380 "not" cannot be used as a macro name as it is an operator in C++
9381 * config.h.in: Stop #defining `not'.
9382 * chartab.c (check_category_char): not ==> not_p
9383 * chartab.h: Likewise.
9384 * regex.c (re_match_2_internal): Likewise.
9386 2001-02-02 Martin Buchholz <martin@xemacs.org>
9388 * lisp-disunion.h: Fix up comments.
9390 2001-01-31 Martin Buchholz <martin@xemacs.org>
9392 * keymap.c (define_key_check_and_coerce_keysym):
9394 Support mouse-6 and mouse-7 bindings in the obvious way.
9396 2001-02-01 Martin Buchholz <martin@xemacs.org>
9398 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9400 2001-01-30 Martin Buchholz <martin@xemacs.org>
9402 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9403 Previous patch missed DEFVAR_INT_MAGIC.
9404 Make sure future DEFVAR_foo use correct types.
9405 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9406 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9407 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9408 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9409 * (DEFVAR_INT): Likewise.
9410 * redisplay.c (vertical_clip): Should be of type Fixnum.
9411 * redisplay.c (horizontal_clip): Likewise.
9412 * lisp.h (dump_add_opaque_int): New.
9413 (dump_add_opaque_fixnum): New.
9415 2001-01-29 Andy Piper <andy@xemacs.org>
9417 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9418 since they can be eval'ed
9420 2001-01-29 Martin Buchholz <martin@xemacs.org>
9422 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9423 Oops, XEmacs redefines `class'. Use `typename' instead.
9425 2001-01-28 Martin Buchholz <martin@xemacs.org>
9427 * dumper.c: Fix C++ compile errors.
9429 2001-01-29 Martin Buchholz <martin@xemacs.org>
9431 * tparam.c: Use correct prototypes.
9433 2001-01-28 Martin Buchholz <martin@xemacs.org>
9435 * sysproc.h: #include util.h for NetBSD's openpty.
9437 2001-01-27 Martin Buchholz <martin@xemacs.org>
9439 More 64-bit correctness.
9440 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9441 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9443 This finally finishes the 64-bit SGI port.
9444 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9445 * symbols.c: Fix up comments and type casts.
9446 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9447 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9448 * symeval.h (Fixnum): New type.
9449 * symeval.h (symbol_value_type): Fix up comment.
9465 * mule-canna.c: A million DEFVAR_INTs here...
9466 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9479 s/int/Fixnum/g in DEFVAR_INT declarations.
9481 2001-01-26 Martin Buchholz <martin@xemacs.org>
9483 Port pdump to SGI alignment-sensitive environment.
9484 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9485 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9487 Define and use aligned reading and writing macros.
9488 Use buffered stdio instead of posix i/o for faster dumping.
9489 Eliminate kludgy 256 byte space for header.
9490 Read and write from dump file using structs for alignment safety.
9491 * dumper.c (pdump_align_stream): New.
9492 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9493 * dumper.c (PDUMP_READ_ALIGNED): New.
9494 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9495 * dumper.c (pdump_static_Lisp_Object): New struct.
9496 * dumper.c (pdump_static_pointer): New struct.
9497 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9498 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9499 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9500 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9502 * dumper.c (pdump_backtrace):
9503 * dumper.c (pdump_get_indirect_count):
9504 * dumper.c (pdump_register_object):
9505 * dumper.c (pdump_register_struct):
9506 * dumper.c (pdump_reloc_one):
9507 * dumper.c (pdump_scan_by_alignment):
9508 * dumper.c (pdump_dump_from_root_struct_ptrs):
9509 * dumper.c (pdump_dump_opaques):
9510 * dumper.c (pdump_dump_rtables):
9511 * dumper.c (pdump_dump_from_root_objects):
9513 * dumper.c (pdump_load_finish):
9514 Use aligned reading and writing.
9516 * dumper.c (pdump_free): Make static.
9517 * dumper.c (pdump_hFile): Likewise.
9518 * dumper.c (pdump_hMap): Likewise.
9520 2001-01-26 Martin Buchholz <martin@xemacs.org>
9522 * XEmacs 21.2.43 "Terspichore" is released.
9524 2001-01-25 Martin Buchholz <martin@xemacs.org>
9526 Type fiddling for window_config.saved_windows_count
9527 * window.c (struct window_config):
9528 Make saved_windows_count member unsigned.
9529 * window.c (sizeof_window_config_for_n_windows):
9530 Make parameter unsigned.
9531 * window.c (mark_window_config):
9532 * window.c (window_config_equal):
9533 * window.c (free_window_configuration):
9534 * window.c (Fset_window_configuration):
9535 * window.c (count_windows):
9536 * window.c (Fcurrent_window_configuration):
9537 * window.c (reinit_vars_of_window):
9538 Update all callers and users.
9540 2001-01-25 Martin Buchholz <martin@xemacs.org>
9542 Alignment correctness for flexible arrays.
9543 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9544 Make alignment-correct. Add interesting comments.
9545 * alloc.c (size_vector):
9546 * alloc.c (make_vector_internal):
9547 * alloc.c (make_bit_vector_internal):
9548 * alloc.c (sweep_bit_vectors_1):
9549 * fns.c (size_bit_vector):
9550 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9551 * window.c (sizeof_window_config_for_n_windows):
9552 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9554 2001-01-24 Martin Buchholz <martin@xemacs.org>
9556 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9558 2001-01-23 Andy Piper <andy@xemacs.org>
9560 * select.c (Fown_selection_internal): pass owned_p
9562 * select-msw.c (mswindows_own_selection): New Signature.
9564 * console.h (struct console_methods): add owned_p to
9567 * select-x.c (x_own_selection): pass owned_p
9568 (hack_motif_clipboard_selection): use owned_p
9569 (vars_of_select_x): new variable -
9570 x_selection_strict_motif_ownership.
9572 2001-01-23 Martin Buchholz <martin@xemacs.org>
9574 * specifier.h (specifier_data_offset): Remove pointless parens.
9575 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9577 2001-01-24 Martin Buchholz <martin@xemacs.org>
9579 Make Lisp_Object sizeof methods be alignment-correct.
9580 pdump must restore objects to the same alignment as the C compiler
9581 assumes. It really matters on SGIs.
9582 * lstream.c (aligned_sizeof_lstream): New.
9583 (sizeof_lstream): Use aligned_sizeof_lstream.
9584 (Lstream_new): Likewise.
9585 * opaque.c (aligned_sizeof_opaque): New.
9586 (sizeof_opaque): Use aligned_sizeof_opaque.
9587 (make_opaque): Likewise.
9588 * specifier.c (aligned_sizeof_specifier): New.
9589 (sizeof_specifier): Use aligned_sizeof_specifier.
9590 (make_specifier_internal): Likewise.
9592 2001-01-23 Martin Buchholz <martin@xemacs.org>
9594 * lstream.h (struct lstream): Use max_align_t for trailing data.
9595 * specifier.h (struct Lisp_Specifier): Likewise.
9597 2001-01-22 Martin Buchholz <martin@xemacs.org>
9599 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9600 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9601 (CCL_SUSPEND): Likewise.
9602 (CCL_INVALID_CMD): Likewise.
9603 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9604 (ccl_driver): Likewise.
9605 (CCL_WRITE_CHAR): Macro hygiene.
9606 (CCL_WRITE_STRING): Macro hygiene.
9608 2001-01-22 Martin Buchholz <martin@xemacs.org>
9610 Port "portable" dumper to SunOS 4 and HP-UX.
9611 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9612 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9613 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9615 2001-01-22 Martin Buchholz <martin@xemacs.org>
9617 * lisp.h (ALIGNOF): A better definition for C++.
9619 2001-01-20 Martin Buchholz <martin@xemacs.org>
9622 Fix printf warnings: int format, long int arg.
9623 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9624 (PUSH_FAILURE_POINT): Use correct printf formats.
9625 (POP_FAILURE_POINT): Use correct printf formats.
9626 Use do {...} while (0)
9628 2001-01-20 Martin Buchholz <martin@xemacs.org>
9630 * XEmacs 21.2.42 "Poseidon" is released.
9632 2001-01-20 Martin Buchholz <martin@xemacs.org>
9634 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9636 2001-01-19 Martin Buchholz <martin@xemacs.org>
9638 De-kludgify FIXED_TYPE free list frobbing.
9639 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9640 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9641 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9642 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9643 * alloc.c (LRECORD_FREE_P): New.
9644 * alloc.c (MARK_LRECORD_AS_FREE): New.
9645 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9646 * alloc.c (STRUCT_FREE_P): Deleted.
9647 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9648 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9649 * alloc.c (STRING_CHARS_FREE_P): New.
9650 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9651 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9652 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9653 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9654 * alloc.c (resize_string): Use new definitions.
9655 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9656 * alloc.c (verify_string_chars_integrity): Use new definitions.
9657 * alloc.c (compact_string_chars): Use new definitions.
9658 * alloc.c: Update monster comments.
9659 * lrecord.h (lrecord_type): Add some new lrecord types for
9662 2001-01-18 Martin Buchholz <martin@xemacs.org>
9664 Improve alignment hackery.
9665 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9666 (max_align_t): Moved from opaque.h - general purpose.
9667 (ALIGN_PTR): Use size_t, not long.
9668 * opaque.h (max_align_t): Move to lisp.h.
9670 2001-01-18 Norbert Koch <nk@LF.net>
9672 * gui.h: Fix and add prototypes to fix build problems.
9674 2001-01-18 Martin Buchholz <martin@xemacs.org>
9676 temacs is going away, so `dump-temacs' is now a bad name.
9677 * .dbxrc (dump-temacs): Rename to `dmp'.
9678 * .gdbinit (dump-temacs): Rename to `dmp'.
9680 2001-01-17 Andy Piper <andy@xemacs.org>
9682 * glyphs.c (print_image_instance): comment to make martin happy.
9684 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9687 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9689 (mswindows_tab_control_redisplay): warning suppression.
9691 * glyphs-widget.c (widget_update): re-write to cope with updated
9693 (widget_instantiate): use new gui_item functions.
9694 (tab_control_update): deleted.
9695 (progress_gauge_update): deleted.
9696 (image_instantiator_progress_guage): take out update reference.
9697 (image_instantiator_tree_view): ditto.
9698 (image_instantiator_tab_control): ditto.
9700 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9702 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9703 return whether anything was changed.
9704 (update_gui_item_keywords): as it sounds.
9706 * gui.h: declare widget_gui_parse_item_keywords.
9708 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9709 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9711 2001-01-17 Martin Buchholz <martin@xemacs.org>
9713 * XEmacs 21.2.41 "Polyhymnia" is released.
9715 2001-01-16 Didier Verna <didier@xemacs.org>
9717 * glyphs.c (image_instantiate): don't use fallbacks when
9718 instantiating a face's background pixmap by inheritance.
9720 2001-01-14 Mike Sperber <mike@xemacs.org>
9722 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9723 Conditionalize accordingly.
9725 2001-01-16 Martin Buchholz <martin@xemacs.org>
9727 * dumper.c (pdump_file_get): Fix a compiler warning.
9729 2001-01-15 Martin Buchholz <martin@xemacs.org>
9731 Make Purify happy when pdumping.
9732 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9733 iniitalizing all bits of new lisp object memory.
9734 * symbols.c (Fmake_local_variable): Likewise.
9735 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9736 * symbols.c (Fdefvaralias): Likewise.
9737 * mule-charset.c (vars_of_mule_charset): Likewise.
9739 2001-01-15 Martin Buchholz <martin@xemacs.org>
9740 Add the `-nd' flag when running pre-dump operations under the debugger.
9741 * .dbxrc (run-temacs): Add `-nd'.
9742 * .dbxrc (update-elc): Likewise.
9743 * .dbxrc (dump-temacs): Likewise.
9744 * .gdbinit (run-temacs): Likewise.
9745 * .gdbinit (check-temacs): Likewise.
9746 * .gdbinit (update-elc): Likewise.
9747 * .gdbinit (dump-temacs): Likewise.
9749 2001-01-14 Martin Buchholz <martin@xemacs.org>
9751 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9752 export OBJECT_MODE=64
9753 configure --pdump --use-union-type=no
9754 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9755 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9757 * miscplay.c (sndcnv8U_2mono):
9758 Avoid two uses of `++' in the same expression.
9759 Suppresses a GCC warning.
9761 2001-01-13 Martin Buchholz <martin@xemacs.org>
9763 Make sure future compilers don't miscompile alloc.c.
9765 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9766 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9768 2001-01-12 Martin Buchholz <martin@xemacs.org>
9770 * dumper.c: A little post-pdump-rename comment fixup.
9772 2001-01-09 Jerry James <james@eecs.ku.edu>
9774 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9776 2001-01-13 Martin Buchholz <martin@xemacs.org>
9778 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9782 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9785 replace_symbol pdump_wire_lists pdump_weak_object_chains
9786 replace_symbol pdump_wire_list dump_add_weak_object_chain
9788 replace_symbol pdump_wires pdump_root_objects
9789 replace_symbol pdump_wire dump_add_root_object
9791 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9792 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9794 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9795 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9796 replace_symbol dumpstructinfo pdump_root_struct_ptr
9797 replace_symbol dumpstruct dump_add_root_struct_ptr
9799 replace_symbol dumpopaque dump_add_opaque
9800 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9801 replace_symbol dumpopaqueinfos pdump_opaques
9802 replace_symbol dumpopaqueinfo pdump_opaque
9804 replace_symbol nb_structdump nb_root_struct_ptrs
9805 replace_symbol nb_opaquedump nb_opaques
9807 replace_symbol align_table pdump_align_table
9808 replace_symbol dump_header pdump_header
9810 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9811 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9814 2001-01-12 Martin Buchholz <martin@xemacs.org>
9816 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9817 optimizing bytecount_to_charcount().
9819 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9822 (HAVE_DLFCN_H): Removed.
9823 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9825 2001-01-06 Martin Buchholz <martin@xemacs.org>
9827 Portable dumper maintainability improvements.
9828 * alloc.c (staticpro):
9829 * alloc.c (staticpro_nodump):
9830 * alloc.c (garbage_collect_1):
9831 * alloc.c (reinit_alloc_once_early):
9832 * alloc.c (init_alloc_once_early):
9833 * alloc.c: Move dumper functions to alloc.c.
9834 * dumper.c (pdump_backtrace):
9835 * dumper.c (pdump_dump_structs):
9836 * dumper.c (pdump_dump_opaques):
9837 * dumper.c (pdump_dump_rtables):
9838 * dumper.c (pdump_dump_wired):
9840 * dumper.c (pdump_load_check):
9841 * dumper.c (pdump_load_finish):
9842 * dumper.c (pdump_file_unmap):
9843 * dumper.c (pdump_file_get):
9844 * dumper.c (pdump_resource_free):
9845 * dumper.c (pdump_resource_get):
9846 * dumper.c (pdump_file_free):
9847 * dumper.c (pdump_file_try):
9848 * dumper.c (pdump_load):
9849 Remove fixed size limits on staticpro(), staticpro_nodump(),
9850 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9851 Remove custom code for dumping lrecord_implementations_table - use
9853 Remove (most of the) custom code for dumping staticpros - dump it
9854 like any other dynarr.
9856 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9857 * dumper.c: Moved functions from alloc.c.
9858 * alloc.c (dumpstruct): Moved to dumper.c.
9859 * alloc.c (dumpopaque): Likewise.
9860 * alloc.c (pdump_wire): Likewise.
9861 * alloc.c (pdump_wire_list): Likewise.
9863 * lisp.h (Dynarr_sizeof): New.
9864 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9865 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9866 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9868 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9869 * lisp.h (dumpopaque): ditto.
9870 * lisp.h (pdump_wire): ditto.
9871 * lisp.h (pdump_wire_list): ditto.
9873 2001-01-09 Martin Buchholz <martin@xemacs.org>
9875 * make-src-depend (PrintPatternDeps):
9876 Use `sort' to make output independent of perl version.
9878 2001-01-08 Martin Buchholz <martin@xemacs.org>
9881 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9882 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9884 2001-01-03 Didier Verna <didier@xemacs.org>
9886 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9887 that `focus_frame' is alive before thinking of calling
9888 `redisplay_redraw_cursor' on it.
9890 2001-01-08 Martin Buchholz <martin@xemacs.org>
9892 * XEmacs 21.2.40 is released.
9894 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9896 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9898 2001-01-06 Martin Buchholz <martin@xemacs.org>
9900 * alloc.c (dbg_valmask): Make const.
9901 * alloc.c (dbg_typemask): Make const.
9902 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9903 * alloc.c (dbg_valbits): Make const.
9904 * alloc.c (dbg_gctypebits): Make const.
9906 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9908 * redisplay-x.c (x_bevel_area):
9909 redisplay.h (struct rune):
9910 Typo fixes in comments.
9912 2001-01-05 Andy Piper <andy@xemacs.org>
9914 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9917 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9919 2001-01-05 Martin Buchholz <martin@xemacs.org>
9921 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9923 * mule-ccl.c (stack_idx_of_map_multiple):
9924 Non const global data must not be initialized!
9925 Found by MIYASHITA Hisashi.
9927 2001-01-02 Andy Piper <andy@xemacs.org>
9929 * frame.c (change_frame_size): make sure frame size is always
9932 * glyphs.c (image_instance_layout): minor code reuse.
9934 * window.c (Fcurrent_window_configuration): revert previous
9937 2001-01-02 Martin Buchholz <martin@xemacs.org>
9940 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9942 2000-12-31 Andy Piper <andy@xemacs.org>
9944 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9945 when widget gets unmapped.
9947 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9948 function. Make sure widgets losing focus don't just drop it.
9949 (handle_focus_event_1): record the widget with focus.
9951 2000-12-31 Andy Piper <andy@xemacs.org>
9953 * window.c (allocate_window): use
9954 make_image_instance_cache_hash_table.
9955 (make_dummy_parent): ditto.
9956 (Fset_window_configuration): ditto.
9958 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9960 * glyphs.c (process_image_string_instantiator): use
9962 (get_image_instantiator_governing_domain): ditto.
9963 (normalize_image_instantiator): ditto.
9964 (instantiate_image_instantiator): ditto.
9965 (make_image_instance_1): ditto.
9966 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9967 (instantiator_eq_equal): new function for use with instance hash
9969 (instantiator_eq_hash): ditto.
9970 (make_image_instance_cache_hash_table): create a suitable hash
9971 table for storing image instances.
9973 * elhash.h (hash_table_weakness): new internal weakness type
9974 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9975 declare new functions.
9977 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9978 another weakness type for glyphs.
9979 (make_standard_lisp_hash_table): new function split out from
9980 make_general_lisp_hash_table.
9981 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9982 (hash_table_instantiate): ditto.
9983 (Fmake_hash_table): ditto.
9985 2000-12-31 Martin Buchholz <martin@xemacs.org>
9987 * XEmacs 21.2.39 is released.
9989 2000-12-29 Andy Piper <andy@xemacs.org>
9991 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9993 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9994 the frame has changed so that we pick up geometry changes such as
9997 2000-12-28 Andy Piper <andy@xemacs.org>
9999 * lastfile.c (my_ebss): make a char array so we can pad the
10000 bss. Fixes cygwin unexec.
10002 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
10004 2000-12-26 Andy Piper <andy@xemacs.org>
10006 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
10007 comments and try and be more precise about a non-/SIGIO world.
10008 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
10011 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
10012 we don't normalize to zero width or height.
10014 2000-12-24 Andy Piper <andy@xemacs.org>
10016 * Makefile.in.in (ldflags): add -mwindows when appropriate.
10018 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
10020 * s/sco5.h: SCO 5 has pty support.
10022 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
10024 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
10025 input-method-xlib.c contains whole contents of input-method-xfs.c,
10026 so we can use input-method-xlib.c's code for USE_XFONTSET
10028 * input-method-xfs.c: removed.
10030 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
10032 * file-coding.h (enum coding_category_type): reorder enumerators to
10033 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
10034 (now one greater than largest real coding_category_type enumerator).
10035 * file-coding.c (coding_category_symbol, coding_category_by_priority,
10036 coding_category_system, fcd_descriptihon_1, decode_coding_category,
10037 Fcoding_category_list, Fset_coding_priority_list,
10038 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
10039 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
10041 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10043 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
10044 * redisplay-output.c (redisplay_output_window): Clear top of window
10045 when face is changed.
10046 * redisplay-x.c (x_redraw_exposed_window): Call
10047 redisplay_clear_top_of_window.
10048 * redisplay.h: Publish redisplay_clear_top_of_window.
10050 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10052 * buffer.c (Fkill_buffer): Map over all devices.
10053 * window.c (window_loop): Remove UNSHOW_BUFFER code.
10054 (list_windows): New function.
10055 (list_all_windows): Ditto.
10056 (Freplace_buffer_in_windows): Use them.
10058 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10060 * database.c (berkdb_subtype): Recognize new subtype `queue'.
10061 (Fopen_database): Use `db_create' instead of `db_open'.
10062 (syms_of_database): Initialize Qqueue.
10064 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10066 * buffer.c (common_init_complex_vars_of_buffer): Initialize
10067 buffer_local_face_property.
10068 * buffer.h (struct buffer): New member buffer_local_face_property.
10069 * window.c (Fset_window_buffer): Mark window's face as changed
10070 when buffer has buffer local face.
10071 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
10072 * objects.c (color_after_change): Set buffer_local_face_property
10073 when locale of face specifier is buffer.
10074 * objects.c (font_after_change): Ditto.
10075 * objects.c (face_boolean_after_change): Ditto.
10076 * glyphs.c (image_after_change): Ditto.
10078 2000-12-09 Dan Holmsand <dan@eyebee.com>
10080 * nt.c (mswindows_fstat): Report file permissions, volume serial
10081 number, etc. Code adapted from FSF Emacs 20.7.
10083 2000-12-09 Dan Holmsand <dan@eyebee.com>
10085 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10086 of stat when we don't have symbolic links, to make sure
10087 mswindows_stat is called on mswindows.
10089 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10091 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10093 2000-12-12 Martin Buchholz <martin@xemacs.org>
10095 * doprnt.c (emacs_doprnt_1): More printing fixes.
10096 Make printing of numbers compatible with libc and FSF Emacs.
10097 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10098 Use the system printf to do most of the hard work of formatting,
10099 instead of doprnt_1().
10100 Calculate memory to allocate for format string.
10101 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10102 (doprnt_1): Cleaner code and documentation.
10104 2000-12-01 Jerry James <james@eecs.ukans.edu>
10106 * Makefile.in.in: Use the loop variable to install headers.
10108 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10110 * window.c (Fsplit_window): Don't invalidate face cache.
10112 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10114 * minibuf.c (Fall_completions): Undo the previous change
10115 which removed checking elements start with space.
10117 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10119 * mule-canna.c: Didier suppression.
10121 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10123 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10124 (warning suppression). Add English comment translations.
10126 2000-12-05 Martin Buchholz <martin@xemacs.org>
10128 * unexelfsgi.c (unexec): Better test for mmap failure.
10130 2000-12-05 Martin Buchholz <martin@xemacs.org>
10132 * XEmacs 21.2.38 is released.
10134 2000-12-05 Martin Buchholz <martin@xemacs.org>
10136 * redisplay.c (bar-cursor): Make a user variable.
10138 * symsinit.h: Add init_postgresql_from_environment.
10140 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10142 * regex.c: Convert to clean C.
10144 2000-12-05 Dan Holmsand <dan@eyebee.com>
10147 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10149 (sys_readlink): renamed to system_readlink to avoid conflict with
10150 the other sys_readlink.
10152 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10154 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10156 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10158 * postgresql.c (init_postgresql_from_environment): new function.
10159 (vars_of_postgresql): Move code initializing Lisp variables out and
10160 into init_postgresql_from_environment.
10161 emacs.c (main_1): Call init_postgresql_from_environment if and only
10162 if running a dumped XEmacs.
10164 2000-08-31 Dan Holmsand <dan@eyebee.com>
10166 * buffer.c: Make find-file-compare-truenames default to true on
10169 * realpath.c (win32_abs_start):
10171 (win32_readlink): New functions.
10172 (xrealpath): Return really real filenames on windows.
10174 * fileio.c (Ffile_truename): Make file-truename work on windows.
10176 2000-11-29 Didier Verna <didier@xemacs.org>
10178 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10179 * faces.c (update_face_cachel_data): use it.
10180 * faces.c (add_face_cachel): use it. Complete background pixmap
10181 frobbing in face cache if `update_face_cachel_data' has not done so.
10183 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10185 * search.c (string_match_1): Don't set last_thing_searched
10186 when search failed.
10188 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10190 * buffer.c: Include casetab.h
10191 (common_init_complex_vars_of_buffer): Use new case-table object.
10192 * buffer.h: Include casetab.h
10193 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10194 (DOWNCASE_TABLE_OF): Ditto.
10195 * bufslots.h: Remove char-tables and add case-table.
10196 * casetab.c: Include casetab.h
10197 (CASE_TABLE_P): Removed.
10198 (mark_case_table): New function.
10199 (allocate_case_table): New function.
10200 (Fcase_table_p): Use new case-table.
10201 (case_table_char): New function.
10202 (Fget_case_table): Ditto.
10203 (Fput_case_table): Ditto.
10204 (Fput_case_table_pair): Ditto.
10205 (Fcopy_case_table): Ditto.
10206 (Fcurrent_case_table): Return case-table.
10207 (Fstandard_case_table): Return case-table.
10208 (Fset_case_table): Fix doc-string.
10209 (set_case_table): Use case-table
10210 (syms_of_casetab): DEFSUBR new functions.
10211 (complex_vars_of_casetab): Set up standard case-table.
10212 * casetab.h: New file.
10213 * editfns.c: Include casetab.h
10214 (Fcompare_buffer_substrings): Use case-table.
10215 * inline.c: Include casetab.h
10216 * lisp.h: Remove bogus extern.
10217 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10218 * search.c: Include casetab.h
10219 (TRANSLATE_ASCII): Removed.
10220 (TRANSLATE): Unconditionally translate character.
10221 (looking_at_1): Use case-table.
10222 (string_match_1): Ditto.
10223 (fast_string_match): Ditto.
10224 (search_command): Ditto.
10225 (search_buffer): Separate boyer_moore. Check whether
10226 boyer_moore is possible.
10227 (simple_search): New function.
10228 (boyer_moore): Separated from search_buffer. Translate char.
10230 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10232 * regex.c (RE_TR_ASCII): Removed.
10233 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10234 (PATFETCH): Call PATFETCH_RAW.
10235 (PATFETCH_RAW): Fetch Emchar.
10236 (PATUNFETCH): Decrement charptr.
10237 (GET_BUFFER_SPACE): Rename b to buf_end.
10239 (BUF_PUSH_2): Ditto.
10240 (BUF_PUSH_3): Ditto.
10241 (EXTEND_BUFFER): Ditto.
10242 (SET_LIST_BIT): Ditto.
10243 (regex_compile): Ditto. Translate non ASCII char.
10244 (compile_range): Ditto.
10245 (re_search_2): Ditto.
10246 (re_match_2_internal): Compare Emchar.
10247 (bcmp_translate): Ditto.
10249 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10251 * lisp.h (basic char/int typedefs): comment improvement.
10253 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10255 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10256 unstomp inhibit_site_lisp. Improve comments.
10258 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10260 * mule-charset.c (Fcharset_property): improve type checking, comments.
10262 2000-11-28 Andy Piper <andy@xemacs.org>
10264 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10265 clipped display for windows in the gutter also.
10266 (redisplay_display_boxes_in_window_p): change semantics of return
10267 codes to be more intuitive.
10269 * gutter.h: declare display_boxes_in_gutter_p.
10271 * gutter.c (display_boxes_in_gutter_p): new function for
10274 2000-11-22 Andy Piper <andy@xemacs.org>
10276 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10279 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10281 * callproc.c (Fold_call_process_internal):
10282 * gpm.c (Freceive_gpm_event):
10283 (tty_get_foreign_selection): Might be just warning supression.
10284 * fileio.c (Fwrite_region_internal):
10285 (Fset_visited_file_modtime):
10286 * keymap.c (event_matches_key_specifier_p):
10287 Initialize GCPROed variable.
10289 * menubar-x.c (command_builder_find_menu_accelerator):
10290 Initialize before use.
10292 2000-11-23 Andy Piper <andy@xemacs.org>
10294 * unexcw.c (unexec): make the resulting executable executable.
10296 2000-11-21 Martin Buchholz <martin@xemacs.org>
10298 * doc.c (get_doc_string):
10299 Use size_t, not int, for result of XSTRING_LENGTH.
10301 * cmds.c (Fdelete_char):
10302 * cmds.c (Fpoint_at_eol):
10303 * cmds.c (Fself_insert_command):
10304 Use EMACS_INT, not int, for result of XINT.
10305 Someday, someone will want to insert more than 2**31 identical characters.
10307 * cmds.c (Fdelete_char):
10308 * cmds.c (Fdelete_backward_char):
10309 * syntax.c (Fforward_word):
10310 * syntax.c (Fforward_comment):
10311 Make COUNT argument optional, for consistency with forward-char et al.
10313 2000-11-22 Martin Buchholz <martin@xemacs.org>
10316 * print.c (long_to_string):
10317 Return a useful value: the pointer at end of data written.
10320 Use `static const char * const' for constant strings.
10321 (union printf_arg): Delete `i', `ui' members.
10324 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10325 Do all printf-ing via the `l' specifier.
10326 Use EMACS_INT instead of int.
10329 2000-11-20 Didier Verna <didier@xemacs.org>
10331 * faces.c (update_face_cachel_data): don't frob the background
10332 pixmap when the window is being created. The face is needed but
10333 does not exist yet.
10335 2000-11-20 Andy Piper <andy@xemacs.org>
10337 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10338 messing with a debug environment.
10340 2000-11-20 Martin Buchholz <martin@xemacs.org>
10342 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10344 2000-11-20 Martin Buchholz <martin@xemacs.org>
10346 * casetab.c (Fcase_table_p): Fix compile error and crash.
10348 2000-11-18 Philip Aston <philipa@mail.com>
10350 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10352 2000-11-18 Martin Buchholz <martin@xemacs.org>
10354 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10355 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10357 2000-11-17 Martin Buchholz <martin@xemacs.org>
10359 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10360 * unexelf.c: Use HAVE_ELF_H.
10361 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10362 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10363 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10364 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10366 So this is an unexelfsgi.c from a different line of development.
10368 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10370 * regex.c (RE_TR_ASCII): New function.
10371 (RE_TRANSLATE): Call it.
10373 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10375 * buffer.h (TRT_TABLE_OF): Remove assert.
10376 (IN_TRT_TABLE_DOMAIN): Removed.
10378 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10380 * free-hook.c (log_gcpro):
10381 (show_gcprohist): Add support for GCPRO5.
10383 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10385 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10387 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10389 * symeval.h: Declare flush_all_buffer_local_cache.
10391 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10392 (flush_buffer_local_cache): Added.
10393 (flush_all_buffer_local_cache): Added.
10395 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10397 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10398 (pdump_dump_data): Ditto.
10399 (pdump_reloc_one): Ditto.
10400 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10404 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10406 * buffer.c: Remove if 0'ed entry.
10407 * buffer.h: Rewrite TRT to use char-table.
10408 * bufslots.h: Remove mirror tables.
10409 * casetab.c: Remove mirror tables.
10410 (CASE_TABLE_P): New macro.
10411 (Fcase_table_p): Element of a case table is string or char-table.
10412 (make_mirror_trt_table): Removed.
10413 (set_case_table): Setup char-table from strings for backward
10415 * dired.c (Fdirectory_files):
10416 * dired-msw.c: (mswindows_get_files):
10417 * lisp.h: Change prototype of re_pattern_buffer.
10418 * regex.c: (RE_TRANSLATE): New macro.
10419 (TRANSLATE_P): Ditto.
10420 Change translate to type RE_TRANSLATE_TYPE.
10421 * regex.h: Define RE_TRANSLATE_TYPE
10422 * search.c (TRANSLATE): New macro.
10423 (TRANSLATE_ASCII): New macro.
10424 Translate table is changed to Lisp_Object.
10425 (signal_failure): Inhibit return.
10427 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10434 Do UNGCPRO before return.
10436 2000-11-14 Martin Buchholz <martin@xemacs.org>
10438 * XEmacs 21.2.37 is released.
10440 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10442 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10443 Add comments about discarded return value.
10445 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10448 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10450 2000-10-27 Andy Piper <andy@xemacs.org>
10452 * gutter.c (Fset_default_gutter_position): default left and right
10453 gutters to visible.
10454 (calculate_gutter_size): calculate resonable heuristic for left
10455 and right gutter sizes.
10456 (specifier_vars_of_gutter): change left and right gutter sizes to
10458 (calculate_gutter_size_from_display_lines): new function.
10459 (output_gutter): check for resizing on left and right gutters.
10460 (clear_gutter): don't special case top and left gutters.
10461 (specifier_vars_of_gutter): use new signature for
10462 set_specifier_caching.
10464 * glyphs-x.c (x_redisplay_widget): spelling fix.
10465 * glyphs.c (specifier_vars_of_glyphs):
10466 * menubar.c (specifier_vars_of_menubar):
10467 * redisplay.c (specifier_vars_of_redisplay):
10468 * toolbar.c (specifier_vars_of_toolbar):
10469 * window.c (specifier_vars_of_window):
10470 * scrollbar.c (specifier_vars_of_scrollbar):
10471 (complex_vars_of_scrollbar): use new signature for
10472 set_specifier_caching.
10474 * specifier.c (set_specifier_caching): include recompute flag.
10475 (recompute_one_cached_specifier_in_window): always recompute if
10477 (recompute_one_cached_specifier_in_frame): ditto.
10479 * specifier.h (struct specifier_caching): add recompute flag.
10481 2000-10-24 Andy Piper <andy@xemacs.org>
10483 * unexcw.c (copy_executable_and_dump_data_section): add new
10484 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10487 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10489 * console-x.h (x_device): New member modifier_release_time.
10490 * event-Xt.c (x_handle_sticky_modifiers):
10491 Bound interval modifier keys are sticky.
10492 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10493 * events.h: extern it.
10495 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10497 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10499 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10501 * event-stream.c (execute_command_event): Preserve current_events
10502 and the like when event is misc-user-event.
10503 Inhibit quit during the call to maybe_echo_keys.
10505 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10507 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10508 symlink when buffer is killed.
10509 (inhibit_clash_detection): New variable.
10511 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10513 * console.c (Fset_input_method): Trigger redisplay on tty.
10515 2000-11-07 Martin Buchholz <martin@xemacs.org>
10517 * process.c (Fprocess_status): Revert to previous behavior:
10518 (process-status "nosuchprocess") ==> nil
10520 2000-11-06 Martin Buchholz <martin@xemacs.org>
10522 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10523 Work around another GCC 2.95.2 optimizer bug.
10525 2000-11-02 Martin Buchholz <martin@xemacs.org>
10527 * process.c (Fget_process): Use LIST_LOOP_2.
10528 (kill_buffer_processes): Use LIST_LOOP_2.
10530 * minibuf.c (Fall_completions):
10531 Delete old non-functional code for FSF fourth argument.
10533 * frame.c (frame_matches_frame_spec):
10534 Renamed from `frame_matches_frametype'. Update all callers.
10535 (device_matches_device_spec):
10536 Renamed from 'device_matches_console_spec'. Update all callers.
10538 * doc.c (Fsubstitute_command_keys):
10539 Remove buffer overflow crash. Small code cleanups.
10541 * casetab.c (check_case_table): Simpler code.
10543 * window.c (Freplace_buffer_in_windows):
10544 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10545 (and similar implementation) as Fdelete_windows_on.
10546 Update all callers.
10548 * alloc.c (Fmake_list):
10549 * alloc.c (make_vector):
10550 * alloc.c (Fmake_vector):
10551 * alloc.c (make_bit_vector):
10552 * alloc.c (Fmake_bit_vector):
10553 * alloc.c (Fbit_vector):
10554 * alloc.c (Fmake_string):
10555 * alloc.c (Fpurecopy):
10556 * alloc.c (Fmemory_limit):
10558 * buffer.c (Fget_buffer):
10559 * buffer.c (Fkill_buffer):
10560 * buffer.c (complex_vars_of_buffer):
10561 * bytecode.c (Fcompiled_function_stack_depth):
10562 * callint.c (Fprefix_numeric_value):
10564 * event-stream.c (Fread_key_sequence):
10566 * casetab.c (Fcase_table_p):
10567 * casetab.c (check_case_table):
10568 * casetab.c (Fset_case_table):
10569 * casetab.c (Fset_standard_case_table):
10571 * chartab.c (Fchar_table_type):
10572 * chartab.c (Freset_char_table):
10573 * chartab.c (Fget_char_table):
10574 * chartab.c (Fget_range_char_table):
10575 * chartab.c (Fput_char_table):
10576 * chartab.c (Fmap_char_table):
10577 * chartab.c (Fcategory_table_p):
10578 * chartab.c (Fcheck_category_at):
10579 * chartab.c (Fchar_in_category_p):
10580 * chartab.c (Fcategory_table):
10581 * chartab.c (Fcopy_category_table):
10582 * chartab.c (Fset_category_table):
10583 * chartab.c (Fcategory_designator_p):
10584 * chartab.c (Fcategory_table_value_p):
10585 * cmds.c (Fdelete_char):
10586 * cmds.c (Fdelete_backward_char):
10587 * cmds.c (Fself_insert_command):
10588 * cmds.c (Fself_insert_internal):
10589 * console.c (Fvalid_console_type_p):
10590 * console.c (Fcdfw_console):
10591 * console.c (Fconsole_type):
10592 * console.c (Fconsole_name):
10593 * console.c (Fconsole_device_list):
10594 * console.c (Fconsole_on_window_system_p):
10597 * data.c (Fold_eq):
10598 * data.c (Fsubr_interactive):
10599 * data.c (Fchar_to_int):
10600 * data.c (Fint_to_char):
10601 * data.c (Fsetcar):
10602 * data.c (Fsetcdr):
10603 * data.c (Fnumber_to_string):
10604 * data.c (Fstring_to_number):
10606 * database.c (mark_database):
10607 * database.c (finalize_database):
10608 * database.c (Fdatabase_live_p):
10609 * database.c (Fdatabasep):
10610 * device-x.c (Fx_get_resource):
10611 * device.c (Fdfw_device):
10613 * dired.c (Ffile_name_completion):
10614 * dired.c (Ffile_name_all_completions):
10615 * dired.c (Fuser_name_completion):
10616 * dired.c (Fuser_name_completion_1):
10617 * dired.c (Fuser_name_all_completions):
10618 * doc.c (Fdocumentation):
10619 * doc.c (Fdocumentation_property):
10620 * doc.c (Fsubstitute_command_keys):
10622 * editfns.c (Fchar_to_string):
10623 * editfns.c (Fstring_to_char):
10624 * editfns.c (Ftemp_directory):
10625 * editfns.c (Finsert_char):
10626 * editfns.c (Fbuffer_substring_no_properties):
10627 * editfns.c (Fnarrow_to_region):
10628 * editfns.c (Fchar_equal):
10629 * editfns.c (Fchar_Equal):
10630 * editfns.c (Ftranspose_regions):
10631 * emacs.c (Fdump_emacs):
10633 * eval.c (Fcommand_execute):
10634 * eval.c (Fautoload):
10635 * eval.c (Fbacktrace):
10636 * eval.c (Fbacktrace_frame):
10638 * events.c (Fcopy_event):
10639 * events.c (Fcharacter_to_event):
10640 * events.c (Fevent_button):
10641 * events.c (Fevent_process):
10643 * extents.c (Fnext_extent_change):
10644 * extents.c (Fextent_property):
10645 * faces.c (Ffacep):
10646 * faces.c (Fmake_face):
10648 * file-coding.c (Fencode_shift_jis_char):
10649 * file-coding.c (Fencode_big5_char):
10650 * fileio.c (Ffile_name_directory):
10651 * fileio.c (Ffile_name_nondirectory):
10652 * fileio.c (Ffile_name_as_directory):
10653 * fileio.c (Fdirectory_file_name):
10654 * fileio.c (Ffile_truename):
10655 * fileio.c (Fsubstitute_in_file_name):
10656 * fileio.c (Ffile_modes):
10657 * fileio.c (Fset_file_modes):
10658 * fileio.c (Fset_default_file_modes):
10659 * fileio.c (Fverify_visited_file_modtime):
10660 * floatfns.c (Facos):
10661 * floatfns.c (Fasin):
10662 * floatfns.c (Fatan):
10663 * floatfns.c (Fcos):
10664 * floatfns.c (Fsin):
10665 * floatfns.c (Ftan):
10666 * floatfns.c (Fbessel_j0):
10667 * floatfns.c (Fbessel_j1):
10668 * floatfns.c (Fbessel_jn):
10669 * floatfns.c (Fbessel_y0):
10670 * floatfns.c (Fbessel_y1):
10671 * floatfns.c (Fbessel_yn):
10672 * floatfns.c (Ferf):
10673 * floatfns.c (Ferfc):
10674 * floatfns.c (Flog_gamma):
10675 * floatfns.c (Fexp):
10676 * floatfns.c (Fexpt):
10677 * floatfns.c (Flog):
10678 * floatfns.c (Flog10):
10679 * floatfns.c (Fsqrt):
10680 * floatfns.c (Fcube_root):
10681 * floatfns.c (Facosh):
10682 * floatfns.c (Fasinh):
10683 * floatfns.c (Fatanh):
10684 * floatfns.c (Fcosh):
10685 * floatfns.c (Fsinh):
10686 * floatfns.c (Ftanh):
10687 * floatfns.c (Fabs):
10688 * floatfns.c (Ffloat):
10689 * floatfns.c (Flogb):
10690 * floatfns.c (Fceiling):
10691 * floatfns.c (Ffloor):
10692 * floatfns.c (Fround):
10693 * floatfns.c (Ftruncate):
10694 * floatfns.c (Ffceiling):
10695 * floatfns.c (Fffloor):
10696 * floatfns.c (Ffround):
10697 * floatfns.c (Fftruncate):
10698 * fns.c (Fstring_equal):
10699 * fns.c (Fstring_lessp):
10702 * fns.c (vconcat2):
10703 * fns.c (vconcat3):
10704 * fns.c (Fsubstring):
10706 * fns.c (Fold_assoc):
10707 * fns.c (assoc_no_quit):
10709 * fns.c (Fold_assq):
10710 * fns.c (assq_no_quit):
10712 * fns.c (Fold_rassoc):
10714 * fns.c (Fold_rassq):
10715 * fns.c (rassq_no_quit):
10716 * fns.c (Fremassoc):
10717 * fns.c (remassoc_no_quit):
10718 * fns.c (Fremassq):
10719 * fns.c (remassq_no_quit):
10720 * fns.c (Fremrassoc):
10721 * fns.c (Fremrassq):
10722 * fns.c (remrassq_no_quit):
10724 * fns.c (Fplist_get):
10725 * fns.c (Fplist_put):
10726 * fns.c (Fplist_remprop):
10727 * fns.c (Fplist_member):
10728 * fns.c (Flax_plist_get):
10729 * fns.c (Flax_plist_put):
10730 * fns.c (Flax_plist_remprop):
10731 * fns.c (Flax_plist_member):
10733 * fns.c (Fold_equal):
10734 * fns.c (Frequire):
10735 * fns.c (Fbase64_encode_region):
10736 * fns.c (Fbase64_encode_string):
10737 * fns.c (Fbase64_decode_region):
10739 * frame.c (frame_matches_frame_spec):
10740 * frame.c (device_matches_device_spec):
10741 * frame.c (next_frame):
10742 * frame.c (previous_frame):
10743 * frame.c (Fnext_frame):
10744 * frame.c (Fprevious_frame):
10745 * frame.c (Fframe_property):
10746 * frame.c (Fset_frame_height):
10747 * frame.c (Fset_frame_size):
10751 * glyphs.c (decode_error_behavior_flag):
10752 * glyphs.c (Fmake_image_instance):
10753 * indent.c (Findent_to):
10754 * intl.c (Fignore_defer_gettext):
10755 * keymap.c (Fkeymapp):
10756 * keymap.c (Flookup_key):
10758 * lread.c (Fload_internal):
10759 * lread.c (Feval_buffer):
10760 * lread.c (Feval_region):
10761 * macros.c (Fexecute_kbd_macro):
10762 * marker.c (set_marker_internal):
10763 * marker.c (Fset_marker):
10764 * marker.c (set_marker_restricted):
10765 * marker.c (Fcopy_marker):
10766 * marker.c (noseeum_copy_marker):
10768 * menubar.c (Fpopup_menu):
10770 * mule-charset.c (Fcharset_name):
10771 * mule-charset.c (Fchar_charset):
10772 * mule-charset.c (Fchar_octet):
10773 * mule-charset.c (Fsplit_char):
10774 * mule-wnnfns.c (Fwnn_open):
10775 * mule-wnnfns.c (Fwnn_dict_comment):
10776 * mule-wnnfns.c (Fwnn_quit_henkan):
10777 * mule-wnnfns.c (Fwnn_word_toroku):
10778 * mule-wnnfns.c (Fwnn_word_sakujo):
10779 * mule-wnnfns.c (Fwnn_word_use):
10780 * mule-wnnfns.c (Fwnn_hindo_set):
10782 * objects.c (Fmake_color_instance):
10783 * objects.c (Fmake_font_instance):
10784 * print.c (Fwrite_char):
10786 * process.c (mark_process):
10787 * process.c (print_process):
10788 * process.c (get_process_from_usid):
10789 * process.c (Fprocessp):
10790 * process.c (Fprocess_live_p):
10791 * process.c (Fget_process):
10792 * process.c (Fget_buffer_process):
10793 * process.c (get_process):
10794 * process.c (Fprocess_id):
10795 * process.c (Fprocess_name):
10796 * process.c (Fprocess_command):
10797 * process.c (init_process_io_handles):
10798 * process.c (start_process_unwind):
10799 * process.c (Fstart_process_internal):
10800 * process.c (Fopen_multicast_group_internal):
10801 * process.c (Fset_process_window_size):
10802 * process.c (read_process_output):
10803 * process.c (send_process):
10804 * process.c (Fprocess_tty_name):
10805 * process.c (Fset_process_buffer):
10806 * process.c (Fprocess_buffer):
10807 * process.c (Fprocess_mark):
10808 * process.c (set_process_filter):
10809 * process.c (Fset_process_filter):
10810 * process.c (Fprocess_filter):
10811 * process.c (Fprocess_send_region):
10812 * process.c (Fprocess_send_string):
10813 * process.c (exec_sentinel):
10814 * process.c (Fset_process_sentinel):
10815 * process.c (Fprocess_sentinel):
10816 * process.c (status_notify):
10817 * process.c (Fprocess_status):
10818 * process.c (Fprocess_exit_status):
10819 * process.c (process_send_signal):
10820 * process.c (Fprocess_send_eof):
10821 * process.c (deactivate_process):
10822 * process.c (remove_process):
10823 * process.c (Fdelete_process):
10824 * process.c (kill_buffer_processes):
10825 * process.c (Fprocess_kill_without_query):
10826 * process.c (Fprocess_kill_without_query_p):
10828 * rangetab.c (Fget_range_table):
10829 * rangetab.c (Fput_range_table):
10830 * rangetab.c (Fremove_range_table):
10831 * rangetab.c (Fclear_range_table):
10833 * search.c (Fskip_chars_forward):
10834 * search.c (Fskip_chars_backward):
10835 * search.c (Fskip_syntax_forward):
10836 * search.c (Fskip_syntax_backward):
10837 * search.c (search_command):
10838 * search.c (Freplace_match):
10839 * search.c (Fregexp_quote):
10840 * select.c (Fown_selection_internal):
10841 * select.c (Fselection_owner_p):
10842 * select.c (Fselection_exists_p):
10843 * select.c (Fget_selection_internal):
10846 * symbols.c (Fintern):
10847 * symbols.c (Fintern_soft):
10848 * symbols.c (Funintern):
10849 * symbols.c (Fapropos_internal):
10850 * symbols.c (Fset_default):
10852 * syntax.c (Fsyntax_table_p):
10853 * syntax.c (Fcopy_syntax_table):
10854 * syntax.c (Fset_syntax_table):
10855 * syntax.c (Fchar_syntax):
10856 * syntax.c (syntax_match):
10857 * syntax.c (Fmatching_paren):
10858 * syntax.c (Fforward_word):
10859 * syntax.c (scan_lists):
10860 * syntax.c (Fscan_lists):
10861 * syntax.c (Fscan_sexps):
10862 * syntax.c (Fparse_partial_sexp):
10863 * toolbar.c (Fcheck_toolbar_button_syntax):
10866 * window.c (Fwindowp):
10867 * window.c (Fwindow_live_p):
10868 * window.c (Fwindow_point):
10869 * window.c (Fdelete_window):
10870 * window.c (Fnext_window):
10871 * window.c (Fprevious_window):
10872 * window.c (Fother_window):
10873 * window.c (window_loop):
10874 * window.c (Fget_lru_window):
10875 * window.c (Fsplit_window):
10876 * window.c (Fenlarge_window):
10877 * window.c (Fenlarge_window_pixels):
10878 * window.c (Fshrink_window):
10879 * window.c (Fshrink_window_pixels):
10880 * window.c (change_window_height):
10881 * window.c (Fwindow_configuration_p):
10882 * window.c (Fcurrent_window_configuration):
10884 * casefiddle.c (casify_object):
10885 * casefiddle.c (Fupcase):
10886 * casefiddle.c (Fdowncase):
10887 * casefiddle.c (Fcapitalize):
10888 * casefiddle.c (Fupcase_initials):
10889 * casefiddle.c (casify_region_internal):
10890 * casefiddle.c (casify_region):
10891 * casefiddle.c (Fupcase_region):
10892 * casefiddle.c (Fdowncase_region):
10893 * casefiddle.c (Fcapitalize_region):
10894 * casefiddle.c (Fupcase_initials_region):
10895 * casefiddle.c (Fupcase_word):
10896 * casefiddle.c (Fdowncase_word):
10897 * casefiddle.c (Fcapitalize_word):
10898 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10899 Replace 0 with '\0' when working with bytes.
10900 Replace initial "(" with "\(" in docstrings.
10902 2000-11-01 Martin Buchholz <martin@xemacs.org>
10904 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10906 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10908 2000-10-31 Martin Buchholz <martin@xemacs.org>
10910 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10912 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10914 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10917 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10919 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10920 (inhibit_auto_save_session): New variable.
10921 (vars_of_fileio): Declare and initialize them.
10922 * fileio.c (Fdo_auto_save): Don't create session file if
10923 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10925 2000-10-31 Martin Buchholz <martin@xemacs.org>
10927 * sgiplay.c (play_internal): C++ compilability.
10928 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10929 * callproc.c (Fold_call_process_internal):
10930 Remove unused vars `env', `first'.
10931 * scrollbar.c (update_scrollbar_instance):
10932 #### unused var `current_window'.
10933 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10934 etc. within #ifdef NOT_YET.
10935 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10936 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10937 * specifier.c (specifier_instance):
10938 #### unused var `tag'.
10939 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10941 2000-10-27 Martin Buchholz <martin@xemacs.org>
10943 * fns.c (Fbutlast):
10944 * fns.c (list_sort):
10945 * fns.c (Ffillarray):
10946 * fns.c (bytecode_nconc2):
10949 * fns.c (Fmapconcat):
10950 Be pedantically 64-bit correct. For the time when someone will
10951 want to have a list with length > 2**32.
10953 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10954 Work around MIPSpro compiler bug.
10956 * process-unix.c (unix_kill_child_process): Add snarky comment.
10957 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10959 * config.h.in: Oops, _getpt ==> _getpty
10961 2000-10-26 Martin Buchholz <martin@xemacs.org>
10965 Use void*, not char*, as return type of alloca().
10967 * alloc.c (free_marker): Side effect inside assert expression!
10969 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10971 * mule-charset.c (Fset_charset_ccl_program): To check
10972 if the given ccl program is valid, use setup_ccl_program()
10973 instead of CHECK_VECTOR().
10974 (Fmake_charset): Likewise.
10976 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10978 * faces.c (get_extent_fragment_face_cache_index):
10979 Fix cachel.merged_faces memory leak.
10981 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10983 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10984 Reset MSB of octets obtained by DECODE_SJIS
10985 because of the incompatibility with Emacs.
10986 (ccl_driver)<CCL_ENCODE_SJIS>:
10987 Set MSB of octets before passing them to
10988 ENCODE_SJIS because of the incompatibility
10991 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10993 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10994 (DECLARE_LRECORD): Undo the last change.
10995 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10997 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10999 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
11000 the implementation to lrecord_implementations_table.
11002 2000-10-14 Daiki Ueno <ueno@unixuser.org>
11004 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
11005 initial value of `lrecord_type_##c_name' and
11006 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
11007 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
11008 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
11009 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
11010 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
11012 2000-10-17 Martin Buchholz <martin@xemacs.org>
11014 * miscplay.c (sndcnv8S_2mono):
11015 (sndcnv2monounsigned):
11016 (sndcnvULaw_2linear):
11018 Remove implementation-defined behavior.
11020 2000-10-12 Martin Buchholz <martin@xemacs.org>
11022 * input-method-xlib.c: Warning suppression.
11024 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
11026 * mule-ccl.c: Sync up with Emacs 21.0.90.
11027 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
11029 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
11031 (ccl_driver[WriteMultibyteChar2]): Bug fix.
11032 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
11033 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
11034 leading char belongs to official 2-dimensional charset.
11035 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
11036 write the given character as is. Otherwise,
11037 if it is a multibyte char, convert it by
11038 non_ascii_set_charptr_emchar, then write it.
11039 (CCL_WRITE_STRING): Likewise.
11040 (ccl_get_compiled_code): New function.
11041 (setup_ccl_program): When ccl_prog is invalid,
11043 (Fregister_code_conversion_map): New function.
11044 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
11046 * mule-ccl.h: Sync up with Emacs 21.0.90.
11047 (Fregister_ccl_program): export it.
11049 * redisplay-msw.c (separate_textual_runs):
11050 If ccl program is not valid, don't do ccl conversion.
11052 * redisplay-x.c (separate_textual_runs): Ditto.
11054 * file-coding.c (Fmake_coding_system):
11055 When type is ccl and value is vector, register it
11056 with a proper symbol. And checks whether the
11057 given ccl program is valid.
11058 (mule_decode): When calling ccl_driver, if src indicates
11059 NULL pointer, set an empty string instead.
11060 (mule_encode): Likewise.
11062 2000-10-11 Martin Buchholz <martin@xemacs.org>
11064 The following large batch of changes gets us back to a state of
11065 C++ compilability. Extbyte is now a char, which means that
11066 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
11068 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
11070 * sound.c (Fplay_sound): Type correctness.
11072 * select-x.c (hack_motif_clipboard_selection): Type correctness.
11073 (x_get_window_property): Type correctness.
11074 (receive_incremental_selection): unsigned char ==> Extbyte
11075 (selection_data_to_lisp_data): unsigned char ==> Extbyte
11076 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
11077 (Fx_store_cutbuffer_internal): Type correctness.
11079 * process-unix.c (try_to_initialize_subtty): Type correctness.
11081 * objects-x.c (x_print_color_instance): Type correctness.
11082 (x_print_font_instance): Type correctness.
11083 (x_list_fonts): SExtbyte ==> Extbyte.
11084 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11085 (x_find_charset_font): SExtbyte ==> Extbyte.
11086 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11087 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11088 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11089 Use bufbyte_strcmp.
11091 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11092 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11093 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11094 (BYTE_C0_P): Use bit ops for char-signedness safety.
11095 (BYTE_C1_P): Use bit ops for char-signedness safety.
11096 (CHARSET_BY_LEADING_BYTE):
11097 (CHARSET_BY_ATTRIBUTES):
11098 Always use inline function.
11099 Use type_checking_assert.
11102 * mule-charset.c (non_ascii_charptr_copy_char):
11103 Modify to work with both ASCII and non-ASCII characters.
11104 Improve docs and variable names.
11105 Replace over-clever fall-through switch with a simple loop.
11106 (Lstream_get_emchar_1):
11107 Replace over-clever fall-through switch with a simple loop.
11109 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11110 Warning suppression.
11112 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11113 the return value of Lstream_getc, which could be EOF as well.
11115 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11117 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11118 APIs can be used on Extbytes without casts. Risky!
11119 (SExtbyte): Remove.
11120 (UExtbyte): Remove.
11122 * input-method-xlib.c (XIM_init_device):
11123 Use Xlib.h instead of IntrinsicP.h.
11124 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11125 which will break in X11R7.
11126 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11127 to call XRegisterIMInstantiateCallback with correct types.
11129 * gui-x.c (button_item_to_widget_value): Type correctness.
11131 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11133 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11134 (xbm_instantiate_1): Type correctness.
11135 (BUILD_GLYPH_INST): Type correctness.
11137 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11140 (decode_coding_sjis):
11141 (decode_coding_big5):
11142 (decode_coding_ucs4):
11143 (decode_coding_utf8):
11144 (decode_coding_iso2022):
11145 (decode_coding_no_conversion):
11146 Make all decoding functions take an Extbyte * arg.
11147 (encode_coding_sjis):
11148 (encode_coding_big5):
11149 (encode_coding_ucs4):
11150 (encode_coding_utf8):
11151 (encode_coding_iso2022):
11152 (encode_coding_no_conversion):
11153 Make all encoding functions take a Bufbyte * arg.
11154 Use size_t instead of unsigned int for memory sizes.
11155 Only cast to unsigned char whenever dereferencing Extbyte *.
11157 * doc.c (unparesseuxify_doc_string): Type correctness.
11159 * console-x.c (split_up_display_spec):
11160 Rewrite without using details of internal string representation.
11161 (x_semi_canonicalize_device_connection): Type correctness.
11164 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11165 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11166 (HAVE_XFREE386): Removed.
11168 * buffer.h (DEC_CHARPTR): `const' correctness.
11169 (bufbyte_strcmp): New.
11170 (bufbyte_memcmp): New.
11172 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11174 * buffer.h (XCHAR_OR_CHAR_INT):
11175 Always use inline function.
11176 Remove redundant type checking assert() - XINT will abort quite nicely.
11178 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11180 * search.c (Freplace_match): Set newtext to an empty string.
11182 2000-10-10 Martin Buchholz <martin@xemacs.org>
11184 * s/decosf1-3.h: Remove #include of stropts.h
11185 * s/ptx.h: Remove #include of stropts.h
11186 * s/usg5-4.h: Remove #include of stropts.h
11189 Use stropts.h, not sys/stropts.h.
11190 Use strtio.h, not sys/strtio.h.
11192 2000-10-04 Martin Buchholz <martin@xemacs.org>
11194 * XEmacs 21.2.36 is released.
11196 2000-09-21 Andy Piper <andy@xemacs.org>
11198 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11199 changes still involve copying the widget tree.
11200 (update_widget_face): make sure a change is register in the widget
11201 tree. Call update_tab_widget_face appropriately.
11202 (update_tab_widget_face): ditto.
11203 (x_tab_control_redisplay): make sure non-structural changes still
11204 involve copying the widget tree.
11206 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11208 * lread.c (locate_file): Check the path element is non-nil.
11210 2000-10-02 Martin Buchholz <martin@xemacs.org>
11212 * lisp.h: Warning suppression for SCO compilers.
11214 * redisplay-tty.c (reset_tty_modes): Fix crash.
11215 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11217 2000-09-27 Martin Buchholz <martin@xemacs.org>
11219 Big signal/process handling overhaul. Bugs fixed:
11220 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11221 M-x comint-kill-subjob should work for both values nil and t of
11222 process-connection-type. It was broken on most platforms.
11223 Testing on Irix and Cygwin still needed. Other plaforms tested.
11224 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11225 * process-unix.c: Signal/Process handling overhaul.
11226 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11227 (allocate_pty): Use all available modern methods of allocating
11228 ptys, falling back to old style BSD allocation as a last resort.
11229 Use allegedly more secure Unix98 pty allocation by default.
11230 (allocate_pty_the_old_fashioned_way): New. the last resort.
11231 (unix_create_process): Push ptem, ldterm, ttcompat where
11232 available. Autoconfiscate.
11233 (try_to_initialize_subtty): New.
11234 (unix_kill_child_process): Proper signal handling for ptys on most
11235 platforms, using special knowledge of AIX, BSD, etc...
11236 (unix_create_process): Always disconnect_controlling_terminal() for
11237 subprocesses, whether using ptys or not.
11238 * process.h: Remove old getpt-dependent PTY code.
11239 * process.c (Fprocess_send_signal): New, obvious generic function.
11240 (decode_signal): New.
11241 (Finterrupt_process):
11245 (Fcontinue_process):
11246 (Fsignal_process): Use decode_signal.
11247 (process_send_signal):
11248 Many docstring corrections.
11249 Allow any signal to be sent to a process object.
11250 * config.h.in: Add symbols for big signal/process overhaul.
11251 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11252 * sysproc.h: Include process-related headers, where available:
11253 sys/stropts.h sys/strtio.h pty.h libutil.h
11261 Remove old S&M pty stuff.
11262 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11263 * systty.h: Simplify cpp hackery, improve comments.
11264 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11266 * editfns.c (Fformat_time_string):
11267 Be a little more paranoid with the return value of ctime.
11269 * fileio.c (check_executable):
11271 Use symbolic constants X_OK, W_OK.
11273 * console-x.c (split_up_display_spec): Fix a warning.
11275 2000-10-02 Martin Buchholz <martin@xemacs.org>
11277 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11278 * ntproc.c (sys_spawnve): make_string ==> build_string
11279 Small clarity improvements.
11281 2000-09-30 Martin Buchholz <martin@xemacs.org>
11283 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11285 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11287 * config.h.in (HAVE_STRCASECMP): Remove.
11289 2000-09-29 Martin Buchholz <martin@xemacs.org>
11291 * redisplay-output.c (redisplay_output_pixmap):
11292 Cleaner and possibly more 64-bit correct code.
11294 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11296 * dumper.c (pdump_load_finish): move restoration of
11297 `noninteractive1' to emacs.c (main_1).
11298 * emacs.c (main_1): protect LISP-visible command-line flags
11301 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11303 * Makefile.in.in (versionclean): Use EXE_TARGET and
11304 DUMP_TARGET instead of literal program names.
11306 2000-09-20 Martin Buchholz <martin@xemacs.org>
11308 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11310 2000-09-19 Martin Buchholz <martin@xemacs.org>
11312 * *: Spelling mega-patch
11314 2000-09-19 Martin Buchholz <martin@xemacs.org>
11316 * fns.c (bad_bad_turtle):
11317 Delete "Eek!" comment, since we fixed the bug to which it refers.
11319 2000-09-16 Martin Buchholz <martin@xemacs.org>
11321 * alloca.c: Replace REGISTER with register.
11323 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11325 * file-coding.c (ucs_to_char): Use countof.
11327 2000-09-16 Martin Buchholz <martin@xemacs.org>
11329 * file-coding.c: (ucs_to_char):
11330 (complex_vars_of_file_coding):
11331 Use countof instead of sizeof.
11332 Use CHECK_NATNUM instead of CHECK_INT.
11334 * sysdep.c (strcasecmp): Remove.
11335 * device-x.c (ascii_strcasecmp): New.
11336 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11337 Avoid using non-standard non-portable strcasecmp.
11339 2000-09-16 Martin Buchholz <martin@xemacs.org>
11341 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11342 * font-lock.c: remove reference to emacsfns.h.
11343 * search.c: small doc improvement.
11344 * event-Xt.c: correct file names in comments.
11345 * console-x.h Correct file names in comments.
11346 * frame.c: Correct file names in comments.
11347 * event-stream.c: remove Energize from comments.
11349 2000-09-15 Martin Buchholz <martin@xemacs.org>
11351 * symeval.h (DEFERROR_STANDARD):
11354 (DEFSYMBOL_NO_DUMP):
11355 (DEFSYMBOL_MULTIWORD_PREDICATE):
11356 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11358 The construct &##name is not sensible C.
11359 Fixes compilation errors with Unixware native compiler.
11361 2000-09-14 Martin Buchholz <martin@xemacs.org>
11363 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11364 (next_frame_internal): Removed. We now just have next_frame.
11366 Write a simpler and cleaner one-pass algorithm.
11367 Remove called_from_delete_device arg and #ifdefed-out code.
11369 Renamed from prev_frame. Update callers.
11370 Cleaned up to have an analogous implementation to next_frame.
11371 (other_visible_frames_internal): Remove the
11372 called_from_delete_device bogus arg, and hence, remove this
11373 function. Just use other_visible_frames().
11375 * window.c (Fnext_window):
11376 Prettify docstring.
11377 Since next_frame() is guaranteed to return a frame, remove check
11378 for nil inserted in previous patch.
11379 (Fprevious_window):
11380 Prettify docstring.
11381 Make code look more like Fnext_window.
11383 Respect the `console' arg when iterating through windows.
11384 Fixes bug: (get-buffer-window buffer t device) not respecting
11386 This function needs more work, as others have pointed out.
11388 * frame.h: Rename prev_frame to previous_frame.
11389 device_matches_console_spec no longer takes a `frame' arg.
11394 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11395 From "Golubev I. N." <gin@mo.msk.ru>.
11397 * make-src-depend: Fix typo.
11399 2000-09-13 Martin Buchholz <martin@xemacs.org>
11401 * window.c (Fnext_window):
11402 next_frame() might return nil, not a frame.
11404 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11406 * frame.c (next_frame_internal):
11407 We've passed a frame if we've passed its device.
11409 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11410 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11412 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11414 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11415 Allow option to suppress accelerators in menu/dialog items.
11416 (populate_or_checksum_helper): Pass dialog title through above.
11418 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11420 * event-msw.c (mswindows_key_to_emacs_keysym):
11421 Add "pause" key, fix "menu" key.
11423 2000-09-09 Martin Buchholz <martin@xemacs.org>
11425 * eval.c (reinit_vars_of_eval):
11426 Increase max_lisp_eval_depth to 1000,
11427 required for thai-xtis.el to byte-compile under some circumstances.
11429 2000-09-04 Martin Buchholz <martin@xemacs.org>
11431 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11432 From Kenichi Handa.
11434 2000-09-01 Martin Buchholz <martin@xemacs.org>
11436 * make-src-depend: Make the generated Makefiles smaller.
11438 * s/hpux.h (SETUP_SLAVE_PTY):
11439 Provide a %d in the format string for the errno argument.
11441 * editfns.c (Ftemp_directory):
11443 Avoid buffer overrun on very long file name.
11445 * input-method-xlib.c (XIM_init_device):
11446 6th parameter of XRegisterIMInstantiateCallback has different
11447 pointer types on different OSes, so simply cast to (void *).
11449 * unexhp9k800.c: Warning fixes. Fiddly changes.
11451 * sysdll.c (dll_open):
11452 shl_load will hang hard if passed a NULL filename.
11453 Simply return NULL for compatibility with dlopen.
11454 * sysdll.c: Conform to XEmacs coding standards.
11456 * sysdep.c (get_pty_max_bytes):
11457 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11459 2000-08-31 Martin Buchholz <martin@xemacs.org>
11461 * tooltalk.c: Add #include <syssignal.h>
11463 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11465 * s/hpux.h: Don't use undefined function sigunblock().
11467 2000-08-31 Martin Buchholz <martin@xemacs.org>
11469 * config.h.in: Add HAVE_BALLOON_HELP.
11470 * emacs.c: Use HAVE_BALLOON_HELP.
11471 * Makefile.in.in (x_objs):
11472 Make Balloon Help conditional on finding shape.h.
11474 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11476 * syntax.c (regex_emacs_buffer_p): New variable.
11477 * syntax.h (regex_emacs_buffer_p): extern.
11478 * search.c (looking_at_1):
11480 (fast_string_match):
11481 (search_buffer): Set regex_emacs_buffer_p.
11482 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11483 when before_dot, at_dot, after_dot.
11485 2000-08-23 Andy Piper <andy@xemacs.org>
11487 * gui-x.c (popup_selection_callback): Only set action_occurred
11488 when we really have an image instance.
11489 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11491 2000-08-23 Andy Piper <andy@xemacs.org>
11493 * gui-msw.c (mswindows_handle_gui_wm_command): set
11495 * gui-x.c (popup_selection_callback): ditto.
11497 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11498 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11499 (struct Lisp_Image_Instance): add action_occurred flag.
11501 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11502 (image_instance_changed): ditto.
11503 (reset_frame_subwindow_instance_cache): only unmap windows - do
11504 not remove them from the cache also.
11506 * glyphs-widget.c (tab_control_update): better debug.
11507 (progress_gauge_update): ditto.
11508 (layout_update): ditto.
11509 (layout_instantiate): ditto.
11510 (tab_control_order_only_changed): cope with null pending items.
11512 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11513 debug. Force selection of an item when an action occurred. Cope
11514 with null pending_items.
11515 (mswindows_progress_gauge_redisplay): better debug.
11516 * glyphs-x.c (x_tab_control_redisplay): ditto.
11518 * redisplay.c (redisplay_frame): reset the frame cache if the
11521 * window.c (Fset_window_configuration): potentially re-enable
11523 (window_unmap_subwindows): need to finalize instances here since
11524 it is only used in mark_window_as_deleted.
11526 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11528 * nas.c (SndOpenDataForReading):
11529 nas.c (WaveOpenDataForReading):
11530 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11531 Somehow escaped from the 2000-08-14 patch.
11533 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11535 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11536 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11538 2000-08-21 Andy Piper <andy@xemacs.org>
11540 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11541 window if it is not already displayed.
11543 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11544 it is not already displayed.
11546 * window.c (Fset_window_configuration): don't reset the frame
11549 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11550 instances from the frame cache if we are actually finalizing them.
11551 (reset_frame_subwindow_instance_cache): reset frame cache only
11552 after unmapping everything.
11553 (map_subwindow): set displayed flag after mapping.
11555 2000-08-21 Martin Buchholz <martin@xemacs.org>
11557 * data.c (indirect_function):
11558 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11560 * eval.c (function_argcount):
11561 Use original function when signaling errors.
11563 2000-08-18 Andy Piper <andy@xemacs.org>
11565 * frame.c (delete_frame_internal): use new
11566 free_frame_subwindow_instances name.
11568 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11569 (add_tab_item): make return type correct.
11570 (mswindows_tab_control_instantiate): assert index of tab.
11571 (mswindows_tab_control_redisplay): Re-code to use
11572 gui_item_equal_sans_selected and gui_item_list_find_selected.
11574 * glyphs-widget.c (tab_control_update): Correct comment.
11576 * window.c (window_unmap_subwindows): use new
11577 unmap_subwindow_instance_cache_mapper.
11578 (window_unmap_subwindows_cache_mapper): deleted.
11579 (Fset_window_configuration): comparisons should now be with
11580 EQ. Preserve the subwindow instance cache across configuration
11582 (allocate_window): ditto.
11583 (make_dummy_parent): ditto.
11585 * glyphs.c (free_frame_subwindow_instances): rename from
11586 free_frame_subwindow_instance_cache. finalize all instances rather
11587 than just those in the display cache.
11588 (finalize_all_subwindow_instances): walk windows unmapping and
11589 finalizing subwindows.
11590 (unmap_subwindow_instance_cache_mapper): moved from
11591 window.c. Allow finalization as well as unmapping.
11593 * gui.c (gui_item_list_find_selected): new function.
11595 * gui.h (gui_item_list_find_selected): declare.
11597 * glyphs-x.c (x_tab_control_redisplay): pick tab
11598 explicitly. Re-code to use gui_item_equal_sans_selected and
11599 gui_item_list_find_selected.
11601 * glyphs-x.h: add lwlib-utils.h
11603 * buffer.c (Frecord_buffer): undo previous change.
11605 2000-08-09 Vin Shelton <acs@xemacs.org>
11607 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11608 possible. Create temporary files more securely. The patch was
11609 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11610 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11611 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11614 2000-08-07 Ben Wing <ben@xemacs.org>
11616 * getloadavg.c: remove duplicate (and windows-breaking)
11617 includes of fcntl.h and sys/file.h.
11619 * nt.c: remove duplicate getloadavg() definition.
11621 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11624 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11626 * eval.c (function_argcount): If function needs to be autoloaded
11627 actually use the loaded definition.
11630 2000-08-05 Ben Wing <ben@xemacs.org>
11632 * getloadavg.c: add prototype for getloadavg(). remove
11633 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11634 of the code). remove duplicate header includes.
11636 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11638 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11639 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11640 useful load average.
11642 * alloc.c (reinit_alloc_once_early): removed references to
11643 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11644 the lisp vars are the only things referencing the malloc_sbrk_*
11645 vars, and they were already if 0'd out. these vars only exist
11646 in the older malloc.c, which is basically unused, and they're
11647 only for informational purposes.
11649 * m\*.h: removed useless VIRT_ADDR_VARIES.
11651 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11653 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11655 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11656 color if the image is a mono pixmap.
11658 2000-07-30 Ben Wing <ben@xemacs.org>
11660 * Makefile.in.in (release):
11663 * buffer.c (directory_is_current_directory):
11664 * dired-msw.c (mswindows_get_files):
11666 * dired.c (Fdirectory_files):
11667 * dired.c (file_name_completion_stat):
11668 * dired.c (Ffile_attributes):
11669 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11670 preprocessor tricks, to avoid problems on some machines
11673 * callproc.c (egetenv): GC docs.
11676 * console-msw.h (struct mswindows_dialog_id):
11677 * lrecord.h (lrecord_type):
11678 New object for use with MSW dialogs.
11680 * console.h (struct console_methods):
11681 New enable/disable frame methods, for proper modal dialogs.
11683 * device-msw.c (msprinter_default_printer): Fix to follow
11684 proper Mule conventions.
11687 * device-msw.c (signal_open_printer_error):
11688 * device-msw.c (msprinter_init_device):
11689 * device-msw.c (ensure_not_printing):
11690 * device-msw.c (plist_get_margin):
11691 * device-msw.c (Fmsprinter_select_settings):
11692 * device-msw.c (finalize_devmode):
11693 * device-msw.c (Fmsprinter_settings_despecialize):
11694 * device-msw.c (signal_enum_priner_error):
11695 * extents.c (decode_extent):
11696 * extents.c (decode_map_extents_flags):
11697 * extents.c (decode_extent_at_flag):
11698 * extents.c (Fextent_at):
11699 * extents.c (Fextents_at):
11700 * extents.c (symbol_to_glyph_layout):
11701 [[[[2]]]] Use structured errors.
11704 * dialog-msw.c (mswindows_is_dialog_msg):
11705 * dialog-msw.c (mark_mswindows_dialog_id):
11706 * dialog-msw.c (dialog_proc):
11707 * dialog-msw.c (handle_question_dialog_box):
11708 * dialog-msw.c (syms_of_dialog_mswindows):
11709 Define new object to clean up marking; use it as a dialog identifier.
11710 Call new delete-dialog-box-hook.
11712 * dialog-x.c (dbox_selection_callback):
11713 * dialog-x.c (dbox_descriptor_to_widget_value):
11714 * dialog-x.c (x_make_dialog_box_internal):
11715 Call new delete-dialog-box-hook.
11719 * dialog.c (syms_of_dialog):
11720 * dialog.c (vars_of_dialog):
11721 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11724 * eval.c (signal_call_debugger):
11725 when noninteractive, output stack traces on the console instead
11726 of in a (never-seen) buffer.
11728 * eval.c (signal_type_error):
11729 * eval.c (invalid_argument_2):
11731 new funs for use w/structured errors.
11734 * event-Xt.c (x_to_emacs_keysym):
11735 * event-Xt.c (describe_event):
11736 * event-Xt.c (emacs_Xt_event_handler):
11737 * event-Xt.c (vars_of_event_Xt):
11739 * event-msw.c (mswindows_wnd_proc):
11740 * event-msw.c (vars_of_event_mswindows):
11741 rename {x,mswindows}-debug-events to debug-{}-events for
11742 consistency with other debug-foo variables.
11745 document next-event more clearly.
11747 * fileio.c (Ffile_name_directory):
11748 * fileio.c (Ffile_name_nondirectory):
11749 * fileio.c (Funhandled_file_name_directory):
11750 * fileio.c (file_name_as_directory):
11751 * fileio.c (Ffile_name_as_directory):
11752 * fileio.c (directory_file_name):
11753 * fileio.c (Fdirectory_file_name):
11754 * fileio.c (Fmake_temp_name):
11755 * fileio.c (Ffile_truename):
11756 * fileio.c (Fsubstitute_in_file_name):
11757 * fileio.c (expand_and_dir_to_file):
11758 * fileio.c (barf_or_query_if_file_exists):
11759 * fileio.c (check_executable):
11760 * fileio.c (Ffile_exists_p):
11761 * fileio.c (Ffile_writable_p):
11762 * fileio.c (Ffile_directory_p):
11763 * fileio.c (Ffile_regular_p):
11764 * fileio.c (Ffile_modes):
11765 * fileio.c (Ffile_newer_than_file_p):
11766 * fileio.c (Fverify_visited_file_modtime):
11767 * fileio.c (Fset_visited_file_modtime):
11768 * fileio.c (auto_save_1):
11773 * frame-msw.c (mswindows_init_frame_1):
11774 * frame-msw.c (mswindows_enable_frame):
11775 * frame-msw.c (error_frame_unsizable):
11776 * frame-msw.c (msprinter_init_frame_1):
11777 * frame-msw.c (msprinter_init_frame_3):
11778 * frame-msw.c (console_type_create_frame_mswindows):
11780 implement new enable/disable frame methods.
11783 * frame-x.c (x_enable_frame):
11784 * frame-x.c (console_type_create_frame_x):
11785 implement new enable/disable frame methods.
11788 * frame.c (Fdisable_frame):
11789 * frame.c (syms_of_frame):
11790 * frame.h (struct frame):
11791 implement new enable/disable frame methods/functions.
11796 * glyphs-msw.c (mswindows_widget_instantiate):
11797 comment that initial-focus should be implemented.
11800 * glyphs-widget.c (check_valid_instantiator):
11801 * glyphs-widget.c (check_valid_orientation):
11802 * glyphs-widget.c (check_valid_tab_orientation):
11803 * glyphs-widget.c (check_valid_justification):
11804 * glyphs-widget.c (check_valid_border):
11805 * glyphs-widget.c (check_valid_callback):
11806 * glyphs-widget.c (check_valid_int_or_function):
11807 * glyphs-widget.c (check_valid_string_or_vector):
11808 * glyphs-widget.c (check_valid_item_list_1):
11809 * glyphs-widget.c (widget_validate):
11810 * glyphs-widget.c (combo_box_validate):
11811 * glyphs-widget.c (widget_instantiate):
11812 * glyphs-widget.c (syms_of_glyphs_widget):
11813 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11814 * glyphs-widget.c (image_instantiator_combo_box):
11815 * glyphs-widget.c (image_instantiator_scrollbar):
11816 * glyphs-widget.c (image_instantiator_tab_control):
11817 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11819 support (unimplemented) keyword initial-focus.
11820 reindent long macros.
11822 * glyphs-x.c (x_redisplay_widget):
11823 * glyphs-x.c (x_button_instantiate):
11824 * glyphs-x.c (x_button_redisplay):
11825 * glyphs-x.c (x_progress_gauge_instantiate):
11826 * glyphs-x.c (x_edit_field_instantiate):
11827 * glyphs-x.c (x_combo_box_instantiate):
11828 * glyphs-x.c (x_tab_control_instantiate):
11829 * glyphs-x.c (x_label_instantiate):
11831 * gui-x.c (button_item_to_widget_value):
11832 * gui-x.c (gui_items_to_widget_values_1):
11833 * gui-x.c (gui_item_children_to_widget_values):
11834 * gui-x.c (gui_items_to_widget_values):
11836 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11837 add new flag to gui-parsing routines to indicate whether
11838 accelerator specs should be supported.
11840 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11842 * glyphs.h (struct Lisp_Image_Instance):
11843 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11844 add initial-focus flag.
11847 * gui.c (syms_of_gui):
11848 * gui.c (vars_of_gui):
11849 clean up menu-no-selection-hook.
11852 support delete-dialog-box-hook.
11854 * lread.c (Fload_internal):
11855 * lread.c (locate_file_in_directory_mapper):
11859 * lrecord.h (struct toolbar_button):
11860 * lrecord.h (syms_of_toolbar):
11861 document how to create a new object.
11863 * menubar-msw.c (mswindows_char_is_accelerator):
11864 may be called on frames w/o menus.
11866 * menubar.c (vars_of_menubar):
11867 clean up :filter docs.
11874 * process-nt.c (validate_signal_number):
11875 * process-nt.c (signal_cannot_launch):
11876 * process-nt.c (nt_create_process):
11877 * process-nt.c (nt_send_process):
11878 * process-nt.c (nt_kill_child_process):
11879 * process-nt.c (nt_open_network_stream):
11880 * process-nt.c (syms_of_process_nt):
11882 delete quote-handling. call new lisp code that does it better.
11884 * process-unix.c (connect_to_file_descriptor):
11885 * process-unix.c (allocate_pty):
11886 * process-unix.c (unix_send_process):
11887 * process-unix.c (unix_kill_child_process):
11888 * process-unix.c (unix_open_network_stream):
11889 * process-unix.c (unix_open_multicast_group):
11893 * process.c (Fstart_process_internal):
11894 (2). need to canonicalize process path even if absolute.
11896 * select-msw.c (symbol_to_ms_cf):
11897 * select-msw.c (ms_cf_to_symbol):
11898 * select-msw.c (cf_is_autofreed):
11899 * select-msw.c (mswindows_destroy_selection):
11901 * select.c (syms_of_select):
11903 support dibv5, fix bugs. (from Mike Alexander)
11905 * select.c (Fget_selection_internal):
11906 * select.c (select_convert_out):
11909 * sysdep.c (xemacs_stat):
11912 * sysdep.c (mkdir):
11913 * sysdep.c (rmdir):
11914 but keep original stat() here because we provide encapsulation
11918 * sysfile.h (fstat):
11919 remove stat garbage.
11922 fix X/MSW conflict.
11923 don't include tchar.h. it's inappropriate because it makes
11924 compile-time distinctions when we want runtime distinctions.
11925 (we provide our own tchar replacements)
11928 use default object printer for toolbar-button.
11931 make sure we don't encapsulate.
11933 * window.c (vars_of_window):
11934 emphasize that temp-buffer-show-hook is obsolete.
11936 2000-08-05 Martin Buchholz <martin@xemacs.org>
11938 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11939 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11941 * events.c (Fevent_timestamp_lessp):
11942 Not 64-bit clean. Use EMACS_INT, not int.
11944 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11946 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11947 unsigned int and changed the last enum to
11948 lrecord_type_last_built_in_type.
11949 (lrecord_implementations_table): changed prototype to know how
11950 long the array is supposed to be.
11951 (lrecord_type_count): new unsigned int to keep track of the
11952 current number of lisp lrecord types.
11953 (DEFINE_EXTERNAL_LRECORD):
11954 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11955 dynamic-modules to declare new lisp types. They are the same
11956 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11957 int for each new type, and increment lrecord_type_count by 1.
11959 * alloc.c (lrecord_implementations_table): Changed to reference
11960 lrecord_type_last_built_in_type for the size of the array.
11961 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11963 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11965 * glyphs.h (check_valid_item_list): Renamed from
11966 check_valid_item_list_1.
11968 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11970 * select.c (Qselect_coerce): New.
11971 * select.c (Vselection_coercion_alist): New.
11972 * select.c (syms_of_select): Declare.
11973 * select.c (get-selection-internal): Use it.
11974 Use the new select-coerce functionality.
11976 * select.c (select_coerce): New.
11977 * select.h (select_coerce): Declare.
11978 New function to coerce one type of data into another.
11980 2000-08-03 Martin Buchholz <martin@xemacs.org>
11982 * callproc.c (Fcall_process_internal):
11983 (Fcall_process_internal):
11984 * process-unix.c (unix_create_process):
11985 Save and restore the value of errno, so that error messages are accurate.
11987 2000-08-01 Martin Buchholz <martin@xemacs.org>
11989 * elhash.c (print_hash_table):
11990 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11991 Prettify docstrings and indentation.
11993 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11995 * window.c (Fwindow_pixel_edges): Subtract frame border and
11998 2000-07-31 Andy Piper <andy@xemacs.org>
12000 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
12001 will acknowledge the change.
12003 * glyphs.h: declare tab_control_order_only_changed.
12005 * glyphs-x.c (x_tab_control_redisplay): use
12006 tab_control_order_only_changed.
12008 * glyphs-widget.c (tab_control_order_only_changed): new function.
12010 * glyphs-msw.c (mswindows_tab_control_redisplay): use
12011 tab_control_order_only_changed.
12013 * gui.c (gui_item_equal_sans_selected): new function.
12014 (gui_item_equal): use it.
12016 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
12017 :properties in favor of :items..
12019 * glyphs-widget.c (check_valid_item_list): rename from
12020 check_valid_item_list_1.
12021 (check_valid_item_list_1): renamed.
12022 (combo_box_validate): deprecate :properties in favor of :items.
12023 (widget_instantiate): ditto.
12024 (tab_control_update): ditto.
12025 (image_instantiator_combo_box): ditto.
12026 (image_instantiator_tree_view): ditto.
12027 (image_instantiator_tab_control): ditto.
12028 (layout_post_instantiate): remove dead code.
12030 * print.c (debug_print_no_newline): only write to debugger if in
12033 * elhash.c (Fmake_hash_table): update doc string.
12035 * event-msw.c (mswindows_wnd_proc): don't allow processing of
12036 messages whilst in GC. This at least stops XEmacs crashing but has
12037 the potential for wierd behaviour.
12039 2000-07-31 Martin Buchholz <martin@xemacs.org>
12042 Make existence of s&m files optional.
12044 * s/bsd386.h: Remove HAVE_GETLOADAVG.
12045 * s/freebsd.h: Remove HAVE_GETLOADAVG.
12046 * s/gnu.h: Remove HAVE_GETLOADAVG.
12047 * s/netbsd.h: Remove HAVE_GETLOADAVG.
12048 * s/sol2.h: Remove HAVE_GETLOADAVG.
12049 * lisp.h: Remove getloadavg() declaration.
12051 Include <sys/loadavg.h> if available.
12052 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
12053 * config.h.in: Group together getloadavg()-related macros.
12054 Use only configure-time tests to detect getloadavg().
12056 2000-07-30 Martin Buchholz <martin@xemacs.org>
12058 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
12060 2000-07-25 Andy Piper <andy@xemacs.org>
12062 * syswindows.h: add tchar.h for native builds.
12064 * frame.c (syms_of_frame): remove set-glyph-image.
12066 * general-slots.h: add Qset_glyph_image.
12068 * glyphs-widget.c (layout_update): add domain arg to
12070 (syms_of_glyphs_widget): remove set-glyph-image.
12072 2000-07-23 Ben Wing <ben@xemacs.org>
12074 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
12077 2000-07-22 Andy Piper <andy@xemacs.org>
12079 * symsinit.h: add syms_of_win32().
12081 * gui-msw.c (syms_of_gui_mswindows): remove
12082 Fmswindows_shell_execute.
12083 (Fmswindows_shell_execute): moved to win32.c.
12085 * emacs.c (main_1): add syms_of_win32 ().
12087 * win32.c (init_potentially_nonexistent_functions): rewrite in
12088 compiler-friendly terms.
12089 (Fmswindows_shell_execute): move here from gui-msw.c.
12090 (syms_of_win32): new.
12092 * device-msw.c (Fmswindows_printer_list): clean up args to
12094 Don't include tchar under cygwin or mingw.
12095 (msprinter_default_printer): make cygwin-friendly.
12097 2000-07-21 Andy Piper <andy@xemacs.org>
12099 * glyphs-widget.c (image_instantiator_tree_view): use tab
12100 control's update function.
12101 (layout_property): new function. Retrieve items.
12103 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12104 function. Re-populate the tree view from the pending items.
12106 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12107 is designated the parent if the domain is an image instance. This
12108 is needed so that dirtiness can be cascade up the hierarchy and
12109 thus for layout children to be redisplayed correctly.
12110 (allocate_image_instance): rename glyph -> parent.
12112 * redisplay.h: change redisplay_output_layout signature.
12114 * redisplay-msw.c (mswindows_output_display_block): use domain
12117 * redisplay-x.c (x_output_display_block): use domain arg.
12119 2000-07-10 Andy Piper <andy@xemacs.org>
12121 * window.c (Fset_window_configuration): add comment.
12123 * redisplay-output.c (compare_runes):
12124 (redisplay_output_subwindow): redisplay rather than update subwindow.
12125 (redisplay_output_layout): ditto.
12127 * redisplay-msw.c (mswindows_frame_output_end):
12128 (mswindows_frame_output_end): make defer window pos optional.
12130 * lisp.h: add Flast.
12132 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12133 normalize method. Change update method to be for changed
12134 instantiators. Add redisplay method. Change signature of layout
12136 (struct Lisp_Image_Instance): add instantiator.
12137 (IMAGE_INSTANCE_INSTANTIATOR): new.
12138 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12139 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12140 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12143 (find_instantiator_differences): new function.
12144 (Fset_instantiator_property): new convenience function.
12145 (check_image_instance_structure): strictly check for vector
12147 (normalize_image_instantiator): make non-static.
12148 (instantiate_image_instantiator): pass on dest_mask and use new
12149 signatures for image_instance_layout and friends.
12150 (mark_image_instance): mark the instantiator. Mark the subwindow
12151 face not the widget face.
12152 (image_instance_equal): add instantiator.
12153 (image_instance_hash): ditto.
12154 (allocate_image_instance): ditto.
12155 (Fset_image_instance_property): removed.
12156 (Fimage_instance_file_name): ditto.
12157 (Fcolorize_image_instance): ditto.
12158 (image_instance_layout): add offsets to be set.
12159 (update_image_instance): new function. update an image instance
12160 from its changed instantiator.
12161 (inherit_normalize): add dest_mask.
12162 (xbm_normalize): ditto.
12163 (xface_normalize): ditto.
12164 (xpm_normalize): ditto.
12165 (text_update): set_property -> update.
12166 (image_instantiate): use the glyph identity as a hash key, not the
12168 (glyph_width): use new image_instance_layout signature.
12169 (glyph_ascent): ditto.
12170 (glyph_descent): ditto.
12171 (glyph_height): ditto.
12172 (glyph_query_geometry): ressurrect.
12173 (glyph_layout): ditto.
12174 (redisplay_subwindow): update -> redisplay.
12175 (syms_of_glyphs): add Fset_instantiator_property.
12176 (image_instantiator_format_create): set_property -> update.
12179 (autodetect_normalize): add dest_maks to signature.
12180 (x_redisplay_subwindow): update -> redisplay.
12181 (x_redisplay_widget): ditto.
12182 (x_button_redisplay): ditto.
12183 (x_progress_gauge_redisplay): ditto.
12184 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12186 (console_type_create_glyphs_x): update -> redisplay.
12187 (image_instantiator_format_create_glyphs_x): ditto.
12190 (check_valid_instantiator): disallow glyphs in the instantiator,
12191 they must now be vectors.
12192 (check_valid_instantiator_list): ditto.
12193 (glyph_instantiator_to_glyph): use internal symbol rather than
12195 (widget_update): renamed from widget_set_property. Call cascaded
12197 (redisplay_widget): renamed from update_widget.
12198 (widget_layout): image_instance_layout now takes position as well
12200 (widget_normalize): ditto.
12201 (widget_instantiate): ditto.
12202 (tab_control_query_geometry) ditto.:
12203 (tab_control_update): renamed from tab_control_set_property.
12204 (progress_gauge_update): set_property -> update.
12205 (layout_normalize): rewrite so that child instantiators are
12207 (layout_update): new function. Create glyphs from the normalized
12208 children and cope with any other layout keywords. We do not
12209 instantiate children here that will be take care of by
12210 redisplay_output_layout.
12211 (layout_instantiate): call layout_update and not much else.
12212 (layout_post_instantiate): not sure whether this is needed
12214 (layout_query_geometry): query glyph geometry rather than
12215 image_instance geometry.
12216 (layout_layout): set offsets from pass in parameters. Use glyph
12217 geometry and layout functions rather than image instance ones.
12218 (native_layout_layout): ditto.
12219 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12220 (image_instantiator_widget): set_property -> update.
12221 (image_instantiator_buttons): ditto.
12222 (image_instantiator_progress_guage): ditto.
12223 (image_instantiator_tab_control): ditto.
12224 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12225 (image_instantiator_layout): add update method.
12227 * glyphs-msw.c (bmp_normalize):
12228 (mswindows_resource_normalize): add dest_mask so that it can be
12229 proprogated by layout_normalize.
12230 (begin_defer_window_pos): make optional because it may not be the
12231 right thing to do and it introduces differences with X.
12232 (mswindows_unmap_subwindow): ditto.
12233 (mswindows_map_subwindow): ditto.
12234 (mswindows_redisplay_subwindow): renamed from
12235 mswindows_update_subwindow.
12236 (mswindows_redisplay_widget): ditto.
12237 (mswindows_button_redisplay): renamed from
12238 mswindows_button_update. Update is now what the instantiation
12239 function does for a changed instantiator.
12240 (mswindows_progress_gauge_instantiate): set the progress value
12241 here if appropriate.
12242 (mswindows_tab_control_redisplay): cope with re-ordering of the
12243 members of the tab widget by simply selecting the new top
12244 widget. This makes things appear ok if you click on a tab.
12245 (mswindows_combo_box_instantiate): image_instance_layout now takes
12246 position as well as size.
12247 (mswindows_progress_gauge_redisplay): renamed from
12248 mswindows_progress_gauge_update.
12249 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12250 (image_instantiator_format_create_glyphs_mswindows): ditto.
12252 * glyphs-eimage.c (jpeg_normalize):
12255 (tiff_normalize): add dest_mask so that it can be proprogated by
12259 (print_hash_table):
12260 (hash_table_weakness_validate):
12261 (decode_hash_table_weakness):
12262 (Fhash_table_weakness):
12263 (Fhash_table_type):
12264 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12266 * console.h (struct console_methods): move update_* to
12269 2000-07-20 Ben Wing <ben@xemacs.org>
12271 * *.[ch] (XSETOBJ): remove unused middle argument.
12272 lisp-disunion.h: correct wrap_object() to one argument.
12274 2000-07-15 Ben Wing <ben@xemacs.org>
12277 * s/cygwin32.h (CYGWIN_CONV_PATH):
12278 Add missing logb prototype for v1.1.
12279 Use post-b20 names and alias to pre-b20 names when pre-b20.
12281 * s/windowsnt.h: [5].
12283 2000-07-15 Ben Wing <ben@xemacs.org>
12285 * Makefile.in.in (x_objs):
12286 * Makefile.in.in (sheap_objs):
12287 * Makefile.in.in (objs):
12288 added win32.o, cosmetic cleanups.
12290 * alloc.c (Fmake_byte_code):
12291 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12292 etc. macros which declare their own args now.
12294 * alloc.c (syms_of_alloc):
12295 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12298 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12300 * buffer.c (Fget_file_buffer):
12301 Fixed GCPRO problem.
12303 * buffer.c (get_truename_buffer):
12304 Fixed comment about GC checking.
12306 * buffer.c (syms_of_buffer):
12307 Undeclared those dedicated frame funs.
12311 Define convenience macros for internal/external conversions.
12312 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12313 and Qenvironment_variable_encoding for cleaner code.
12316 Remove dedicated-frame; in lisp.
12318 * bytecode.c (funcall_compiled_function):
12321 * bytecode.c (syms_of_bytecode):
12325 * console-msw.c (mswindows_show_console): Rewrote.
12327 * console-msw.c (Fmswindows_debugging_output): New.
12328 Sends to OutputDebugString (special MSWin debugger interface).
12330 * console-msw.c (Fmswindows_message_box):
12331 Fixed stupid bugs so it works when called from kill-emacs.
12333 * console-msw.c (syms_of_console_mswindows):
12334 Declare Fmswindows_debugging_output.
12337 New MSWin prototypes.
12339 * console-msw.h (struct mswindows_frame):
12340 New entry last-click-mods for improved button-modifier support.
12342 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12343 New struct entry `popup' with corresponding accessor.
12346 * console-x.c (split_up_display_spec):
12347 * console-x.c (get_display_arg_connection):
12348 * console-x.c (x_semi_canonicalize_console_connection):
12349 * console-x.c (x_canonicalize_device_connection):
12350 [[[6]]]: Change char to more specific type.
12351 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12353 * console-x.c (x_semi_canonicalize_console_connection):
12354 * console-x.c (x_canonicalize_device_connection):
12355 [[[9]]]: Fix up error signalling to use new structured error system.
12358 [[[4]]]: Define codesys aliases:
12359 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12360 Qx_color_name_encoding, Qx_display_name_encoding.
12362 * console.h (struct console_methods):
12363 New method make_dialog_box_internal supersedes older
12364 popup_dialog_box method.
12367 Define many new errors, part of new structured errors.
12369 * data.c (init_errors_once_early):
12370 * data.c (syms_of_data):
12373 * device-msw.c (mswindows_init_device):
12374 [[[5]]]: Cleanup to support NT 3.51.
12376 * device-msw.c (decode_devmode): Cleanup.
12378 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12379 * device-msw.c (mswindows_handle_print_dialog_box):
12380 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12381 * device-msw.c (syms_of_device_mswindows):
12382 Delete the dialog box primitives recently introduced by Kirill and
12383 instead interface to general dialog box interface.
12386 * device-x.c (compute_x_app_name):
12387 * device-x.c (x_init_device):
12388 * device-x.c (Fx_valid_keysym_name_p):
12389 * device-x.c (Fx_set_font_path):
12393 * device.h (wrap_device): New.
12394 First of its kind; meant to replace XSETDEVICE.
12396 * dialog-msw.c: Many file-dialog symbols.
12398 * dialog-msw.c (mswindows_register_popup_frame): New.
12399 * dialog-msw.c (mswindows_is_dialog_msg): New.
12400 For supporting kbd traversal in dialog boxes.
12402 * dialog-msw.c (dialog_proc):
12403 Support hitting ESC in dialogs.
12405 * dialog-msw.c (struct):
12406 Common dialog box errors.
12408 * dialog-msw.c (handle_file_dialog_box): New.
12409 Add file dialog code.
12411 * dialog-msw.c (handle_question_dialog_box):
12412 Redo existing code to support new question dialog syntax.
12414 * dialog-msw.c (console_type_create_dialog_mswindows):
12415 We support new dialog console method.
12417 * dialog-msw.c (syms_of_dialog_mswindows):
12418 * dialog-msw.c (vars_of_dialog_mswindows):
12419 New file dialog symbols, vars.
12422 * dialog-x.c (maybe_run_dbox_text_callback):
12423 * dialog-x.c (dbox_descriptor_to_widget_value):
12424 * dialog-x.c (x_make_dialog_box_internal):
12425 * dialog-x.c (console_type_create_dialog_x):
12426 Mule-ize entire file.
12427 Redo to support question dialog syntax.
12431 * dialog.c (Fmake_dialog_box_internal):
12432 * dialog.c (syms_of_dialog):
12433 Kill old popup-dialog-box, replace with new primitive.
12434 Just call device method or signal error.
12436 * eldap.c (Fldap_open):
12437 * eldap.c (Fldap_search_basic):
12438 * eldap.c (Fldap_add):
12439 * eldap.c (Fldap_modify):
12444 * emacs.c (make_arg_list_1):
12445 * emacs.c (make_arg_list):
12446 Mule-ize call to dll_init().
12450 * emacs.c (make_argc_argv):
12451 * emacs.c (free_argc_argv):
12452 * emacs.c (init_cmdargs):
12453 * emacs.c (main_1):
12454 * emacs.c (Fkill_emacs):
12455 * emacs.c (Fdump_emacs):
12456 Update comments about what can be used in syms_* etc.
12457 Call init_win32() when necessary.
12458 Fix up MS Win dialog box in kill-buffer to actually work right.
12469 * eval.c (condition_case_3):
12471 * eval.c (function_argcount):
12472 * eval.c (funcall_lambda):
12475 * eval.c (type_error): New.
12476 * eval.c (maybe_type_error): New.
12477 * eval.c (continuable_type_error): New.
12478 * eval.c (maybe_continuable_type_error): New.
12479 * eval.c (type_error_with_frob): New.
12480 * eval.c (maybe_type_error_with_frob): New.
12481 * eval.c (continuable_type_error_with_frob): New.
12482 * eval.c (maybe_continuable_type_error_with_frob): New.
12483 New functions for use with structured errors.
12486 * event-Xt.c (x_event_to_emacs_event):
12487 Buttons are now modifiers too.
12489 * event-Xt.c (emacs_Xt_current_event_timestamp):
12490 Implement new event method.
12491 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12494 * event-msw.c (ntpipe_shove_writer): [5].
12495 * event-msw.c (mswindows_enqueue_mouse_button_event):
12496 * event-msw.c (mswindows_drain_windows_queue):
12497 * event-msw.c (mswindows_wnd_proc): [7].
12498 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12499 * event-msw.c (mswindows_modifier_state):
12500 Throughout: support new button modifiers.
12502 * event-msw.c (emacs_mswindows_current_event_timestamp):
12503 Implement new event method.
12504 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12507 * event-stream.c (event_stream_current_event_timestamp): New.
12508 * event-stream.c (maybe_kbd_translate): New functionality.
12509 * event-stream.c (vars_of_event_stream):
12510 Document new kbd-translate-table functionality.
12512 * event-stream.c (Fcurrent_event_timestamp): New.
12513 New primitive for use in fabricated events.
12514 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12516 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12519 * events.c (Fmake_event):
12520 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12524 * events.c (format_event_object): fix gcc warnings.
12526 * events.c (Fevent_timestamp): Document new primitives.
12528 * events.c (TIMESTAMP_HALFSPACE): New.
12530 * events.c (Fevent_timestamp_lessp): New. New primitive for
12531 comparing timestamps correctly (half-space algorithm).
12533 * events.c (Fevent_modifier_bits): Doc fix.
12535 * events.c (Fevent_modifiers): Major doc addition.
12536 * events.c (event_x_y_pixel_internal): Typo fix.
12537 * events.c (syms_of_events): Declare new primitives.
12540 Update long comment for button modifiers, timestamps.
12542 * events.h (struct event_stream):
12543 New current_event_timestamp method.
12546 * extents.c (extent_in_region_p):
12547 * extents.c (decode_extent):
12548 * extents.c (Fset_extent_parent):
12549 * extents.c (decode_map_extents_flags):
12553 * extents.c (struct extent_at_arg):
12554 * extents.c (decode_extent_at_flag):
12555 * extents.c (extent_at_mapper):
12556 * extents.c (extent_at_bytind):
12557 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12558 * extents.c (Fextents_at): New primitive. [9].
12559 * extents.c (symbol_to_glyph_layout): [9].
12560 Support new primitive `extents-at'.
12563 * extents.c (get_text_property_bytind):
12564 extent_at_bytind has another arg.
12567 * extents.c (syms_of_extents): New primitive.
12569 * file-coding.c (Fmake_coding_system): [1].
12570 * file-coding.c (subsidiary_coding_system): fix gcc warning
12571 * file-coding.c (syms_of_file_coding): [2].
12573 * fileio.c (Fexpand_file_name):
12574 * fileio.c (Fsysnetunam):
12575 * fileio.c (Ffile_exists_p):
12576 * fileio.c (Ffile_executable_p):
12577 * fileio.c (Fverify_visited_file_modtime):
12580 * fileio.c (syms_of_fileio): [2].
12582 * filelock.c (lock_file_1):
12583 * filelock.c (current_lock_owner):
12584 * filelock.c (lock_if_free):
12585 * filelock.c (lock_file):
12586 * filelock.c (unlock_file):
12589 * fns.c (concat): Fix gcc warning.
12592 * fns.c (Fold_member):
12594 * fns.c (Fold_memq):
12595 * fns.c (memq_no_quit):
12597 * fns.c (Fold_assoc):
12599 * fns.c (Fold_assq):
12600 * fns.c (assq_no_quit):
12602 * fns.c (Fold_rassoc):
12604 * fns.c (Fold_rassq):
12605 * fns.c (rassq_no_quit):
12607 * fns.c (Fold_delete):
12609 * fns.c (Fold_delq):
12610 * fns.c (delq_no_quit):
12611 * fns.c (Fremassoc):
12612 * fns.c (Fremassq):
12613 * fns.c (remassq_no_quit):
12614 * fns.c (Fremrassoc):
12615 * fns.c (Fremrassq):
12616 * fns.c (remrassq_no_quit):
12617 * fns.c (Freverse):
12621 * frame-msw.c (mswindows_init_frame_1):
12622 * frame-msw.c (mswindows_delete_frame):
12623 Register popups with dialog code so keyboard traversing works.
12625 * frame-tty.c (tty_raise_frame_no_select): [1].
12628 * frame-x.c (x_set_frame_text_value):
12629 * frame-x.c (x_set_frame_properties):
12630 * frame-x.c (x_create_widgets):
12634 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12636 * frame.h (wrap_frame): New.
12637 Macro like wrap_device.
12640 * general.c (SYMBOL):
12641 * general.c (syms_of_general):
12642 Major reorg. This is now just a wrapper and symbols themselves
12643 are listed in general-slots.h.
12645 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12646 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12648 * glyphs-msw.c (mswindows_native_layout_instantiate):
12649 Add DS_CONTROL so keyboard traversal will work.
12652 * glyphs-widget.c (syms_of_glyphs_widget):
12653 Move some symbols to general-slots.h.
12656 * glyphs-x.c (xbm_instantiate_1):
12657 * glyphs-x.c (x_xbm_instantiate):
12658 * glyphs-x.c (x_xface_instantiate):
12659 * glyphs-x.c (autodetect_instantiate):
12660 * glyphs-x.c (cursor_font_instantiate):
12661 * glyphs-x.c (x_update_widget):
12662 * glyphs-x.c (x_widget_instantiate):
12663 * glyphs.c (bitmap_to_lisp_data):
12664 * glyphs.c (pixmap_to_lisp_data):
12667 * glyphs.c (syms_of_glyphs):
12671 * gui-x.c (print_widget_value):
12672 * gui-x.c (menu_separator_style_and_to_external):
12673 * gui-x.c (add_accel_and_to_external):
12674 * gui-x.c (button_item_to_widget_value):
12675 * gui-x.c (gui_items_to_widget_values_1):
12676 * gui-x.c (gui_items_to_widget_values):
12677 * gui-x.c (syms_of_gui_x):
12678 * gui-x.c (vars_of_gui_x):
12679 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12683 Muleize, prototype changes matching gui-x.c.
12686 * gui.c (separator_string_p):
12687 * gui.c (gui_item_add_keyval_pair):
12688 * gui.c (make_gui_item_from_keywords_internal):
12689 * gui.c (signal_too_long_error):
12690 * gui.c (parse_gui_item_tree_item):
12691 * gui.c (syms_of_gui):
12692 * gui.c (vars_of_gui):
12694 menu-no-selection-hook moved here (used by MSWin).
12695 Move some symbols to general-slots.h.
12699 * insdel.c (get_buffer_pos_char):
12700 * insdel.c (get_buffer_range_char):
12703 * keymap.c (keymap_lookup_directly):
12704 * keymap.c (keymap_store):
12705 * keymap.c (ensure_meta_prefix_char_keymapp):
12706 * keymap.c (describe_map):
12708 Support new button modifiers.
12710 * lisp-disunion.h (wrap_object):
12711 * lisp-disunion.h (XSETOBJ):
12712 Rename make_obj to wrap_object.
12715 * lisp-union.h (make_int):
12716 * lisp-union.h (make_char):
12717 Support wrap_object.
12720 * lisp.h (LIST_LOOP):
12721 * lisp.h (EXTERNAL_LIST_LOOP):
12722 * lisp.h (LIST_LOOP_2):
12723 * lisp.h (EXTERNAL_LIST_LOOP_1):
12724 * lisp.h (EXTERNAL_LIST_LOOP_2):
12725 * lisp.h (EXTERNAL_LIST_LOOP_3):
12726 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12727 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12728 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12729 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12730 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12731 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12732 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12733 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12734 * lisp.h (struct Lisp_Symbol):
12735 * lisp.h (maybe_continuable_error_with_frob):
12736 Fix up section comments.
12737 Add new types for char to indicate usage.
12738 Delete symbols auto-generated from general-slots.h.
12739 Add prototypes for structured error functions.
12740 Add long comments describing looping macros and change interface
12741 so that lvalues are automatically declared.
12742 Add NO_DECLARE macro in case callers want to declare lvalues
12745 * lread.c (read_syntax_error):
12746 * lread.c (continuable_read_syntax_error):
12747 * lread.c (read_structure):
12748 * lread.c (sequence_reader):
12749 * lread.c (read_list_conser):
12750 * lread.c (read_compiled_function):
12751 Rename syntax_error and continuable_syntax_error to avoid clash
12752 with same-named structured error functions.
12754 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12755 * menubar-msw.c (populate_menu_add_item):
12756 * menubar-msw.c (populate_or_checksum_helper):
12761 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12762 Mule-ize whole file.
12764 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12766 * mule-charset.c (Fmake_charset):
12767 * mule-wnnfns.c (Fwnn_set_param):
12770 * ntproc.c (create_child):
12771 * ntproc.c (Fwin32_set_current_locale):
12772 Add comments portending doom.
12775 * objects-msw.c (old_font_enum_callback_2):
12776 * objects-msw.c (font_enum_callback_1):
12777 * objects-msw.c (mswindows_enumerate_fonts):
12781 * objects-x.c (allocate_nearest_color):
12782 * objects-x.c (x_parse_nearest_color):
12783 * objects-x.c (x_initialize_color_instance):
12784 * objects-x.c (x_print_color_instance):
12785 * objects-x.c (x_finalize_color_instance):
12786 * objects-x.c (x_valid_color_name_p):
12787 * objects-x.c (x_initialize_font_instance):
12788 * objects-x.c (x_print_font_instance):
12789 * objects-x.c (valid_x_font_name_p):
12790 * objects-x.c (truename_via_FONT_prop):
12791 * objects-x.c (truename_via_random_props):
12792 * objects-x.c (truename_via_XListFonts):
12793 * objects-x.c (x_font_truename):
12794 * objects-x.c (x_font_instance_truename):
12795 * objects-x.c (x_font_instance_properties):
12796 * objects-x.c (x_list_fonts):
12797 * objects-x.c (x_find_charset_font):
12798 Mule-ize entire file.
12805 * print.c (std_handle_out_external):
12806 * print.c (debug_print_no_newline):
12807 * print.c (syms_of_print):
12808 Output to all debugger kinds in debug-print.
12809 Fix console-output code under MSWin to actually work.
12811 * process-nt.c (send_signal):
12812 * process-nt.c (nt_create_process):
12813 Use newer Unicode macros.
12815 * process-unix.c (unix_create_process):
12816 * process-unix.c (unix_canonicalize_host_name):
12817 * process-unix.c (unix_open_network_stream):
12823 * search.c (syms_of_search):
12826 * select-msw.c (mswindows_destroy_selection):
12829 * select-x.c (symbol_to_x_atom):
12832 * select.c (syms_of_select):
12835 * sound.c (Fplay_sound_file):
12839 * specifier.c (decode_specifier_type):
12840 * specifier.c (Fvalid_specifier_locale_type_p):
12841 * specifier.c (check_valid_locale_or_locale_type):
12842 * specifier.c (decode_locale):
12843 * specifier.c (decode_locale_type):
12844 * specifier.c (decode_locale_list):
12845 * specifier.c (check_valid_domain):
12846 * specifier.c (decode_specifier_tag_set):
12847 * specifier.c (Fcanonicalize_tag_set):
12848 * specifier.c (Fdefine_specifier_tag):
12849 * specifier.c (Fspecifier_tag_predicate):
12850 * specifier.c (check_valid_inst_list):
12851 * specifier.c (check_valid_spec_list):
12852 * specifier.c (decode_how_to_add_specification):
12853 * specifier.c (check_modifiable_specifier):
12854 * specifier.c (specifier_add_spec):
12855 * specifier.c (boolean_validate):
12856 * specifier.c (display_table_validate):
12859 * specifier.c (syms_of_specifier):
12860 Move some symbols to general-slots.h.
12864 * symbols.c (Fmapatoms):
12865 * symbols.c (Fapropos_internal):
12868 * symbols.c (set_default_buffer_slot_variable):
12869 * symbols.c (set_default_console_slot_variable):
12872 * symbols.c (defsymbol_massage_name_1):
12873 * symbols.c (defkeyword_massage_name):
12874 * symbols.c (deferror_1):
12875 * symbols.c (deferror):
12876 * symbols.c (deferror_massage_name_and_message):
12878 * symeval.h (DEFSYMBOL):
12879 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12881 * symbols.c (syms_of_symbols):
12885 * symsinit.h (init_win32): New.
12886 Also new is syms_of_dialog_mswindows.
12889 Add new Unicode macros, missing Cygwin wide-char functions,
12890 convenience conversion macros for Qmswindows_tstr, macros for
12891 encapsulating required MSWin <-> Cygwin filename conversions,
12892 prototype for dynamically-extracted (not in NT 3.51) functions.
12897 * tooltalk.c (Fadd_tooltalk_message_arg):
12898 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12899 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12902 * tooltalk.c (syms_of_tooltalk):
12906 * unexnt.c (unexec):
12907 Fix up headers, declaration of unexec() to be more standard.
12909 2000-07-20 Martin Buchholz <martin@xemacs.org>
12911 * offix.h: Revert change to guard macros - they're used in offix.c!
12913 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12915 * lisp.h: Defsubred Fdelete.
12917 * console-msw.h: (msprinter_default_printer): Added.
12919 * console-msw.c (msprinter_canonicalize_console_connection):
12920 (msprinter_canonicalize_device_connection): Added.
12922 * device-msw.c (msprinter_default_printer):
12923 (Fmswingows_get_default_printer):
12924 (signal_enum_priner_error):
12925 (Fmswingows_printer_list): Added.
12927 2000-07-19 Martin Buchholz <martin@xemacs.org>
12929 * XEmacs 21.2.35 is released.
12931 2000-07-19 Martin Buchholz <martin@xemacs.org>
12933 * select-x.c (x_handle_selection_request):
12934 Text selected in xemacs and pasted into xterm failed to appear.
12935 Spelling fixes and cosmetic changes.
12937 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12939 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12940 XEmacs frame (fix for doubling chars in dialog boxes).
12942 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12944 * select.c (select_convert_in, select_convert_out):
12945 Don't call intern() every time.
12947 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12948 * select.c (vars_of_select): Initialise them.
12950 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12952 * select.c (selection-coercible-types): New.
12954 * select.c (own-selection-internal):
12955 * select.c (get-selection-internal):
12956 MULE bug fix - these should default to COMPOUND_TEXT and not
12957 STRING for MULE. I think.
12959 * select.c (select_convert_out): Use selection-coercible-types
12960 to find types that we can attempt to perform coercions on.
12962 2000-07-18 Martin Buchholz <martin@xemacs.org>
12966 Add coding: cookie to identify encoding.
12968 * mule-canna.c (CANNA_mode_keys): make static.
12969 Use proper prototypes, even for functions of no arguments.
12970 Remove external prototype for Fding().
12972 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12974 * select.c (syms_of_select): Add missing DEFSUBR.
12976 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12978 * select.c (get_selection_internal, own_selection_internal):
12979 Make the type default to STRING, rather than placing a nil type
12980 into Vselection_alist.
12982 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12984 * gpmevent.c (tty_selection_exists_p):
12985 * gpmevent.c (tty_own_selection):
12986 Updated parameter lists.
12988 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12990 * select.h (selection-alist): Removed declaration.
12992 * select.h (get_local_selection):
12993 * select.c (get_local_selection):
12996 * select.h (convert_selection): Removed declaration.
12997 * select.c (convert_selection): Removed.
12998 This function belongs in Lisp.
13000 * select.h (select_convert_in): Declare.
13001 * select.h (select_convert_out): Declare.
13002 * select.c (select_convert_in): New.
13003 * select.c (select_convert_out): New.
13004 New conversion functions for other files to call.
13006 * select.h (select_notify_buffer_kill): Declare.
13007 * select.c (select_notify_buffer_kill): New.
13008 New functions that get called from kill-buffer.
13010 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
13011 X-specific lisp code.
13013 * select.h: Declare some of the lisp-visible functions for
13016 * select.c (clean_local_selection_data): Removed. This was
13017 a disgusting function, and previously should have been in
13018 select-x.c in any case. The functionality is now provided
13019 in select-convert-from-integer (select.el).
13021 * select.c (available-selection-types): Fixed stupidity where
13022 INTEGER and ATOM got added twice. Also add STRING when we see an
13025 * select.c (get-selection-internal): Removed symbol stripping. No
13026 longer causes conversion when data comes from the internal cache.
13028 * select.c (syms_of_select): Added new functions.
13030 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
13031 error checking - previously this called abort!
13033 * select-x.c (x_own_selection): Changed comment.
13035 * select-x.c (x_handle_selection_request): Use select_convert_out.
13036 Don't mess with selection-alist; it's an internal variable of select.c.
13038 * select-x.c (x_get_foreign_selection): Use select_convert_in.
13040 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
13041 rather than messing with selection-alist.
13043 * select-msw.c (mswindows_get_foreign_selection):
13044 Use TO_INTERNAL_FORMAT rather than hacking.
13046 2000-07-14 Martin Buchholz <martin@xemacs.org>
13048 * process-unix.c (unix_open_multicast_group):
13049 (unix_open_multicast_group): Remove useless casts.
13051 2000-07-13 Martin Buchholz <martin@xemacs.org>
13053 * sound.c (Fplay_sound): Fix `unused variable' warning.
13055 * emacs.c (main): Use correct type for _environ on SCO5.
13057 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
13059 * console.h (own_selection_method):
13060 * console.h (selection_exists_p_method):
13061 * console.h (available_selection_types_method): New.
13062 * console.h (register_selection_data_type_method): New.
13063 * console.h (selection_data_type_name): New.
13065 * console-msw.h (mswindows_destroy_selection): Declare it. New
13066 function & alist to track GlobalAlloc()'d handles that need
13067 releasing when the clipboard data gets replaced or emptied.
13069 * event-msw.c (mswindows_wnd_proc): Call it.
13071 * lisp.h, general.c (Qappend): New symbol representing a
13074 * select.c (own-selection-internal):
13075 * select.c (selection-exists-p):
13076 * select.c (available-selection-types): New.
13077 * select.c (register-selection-data-type): New.
13078 * select.c (selection-data-type-name): New. New functions to deal
13079 with device-specific selection data formats.
13080 * select.c (selection-converter-out-alist): Renamed.
13081 * select.c (selection-converter-in-alist): New.
13082 * select.c (selection-appender-alist): New. Added new alists.
13083 * select.c (syms_of_select, vars_of_select): Added new symbols &
13085 * select.c (get_local_selection): Split.
13086 * select.c: Removed spurious type checking - selections may now be
13087 of any type, not just strings.
13088 * select.c (own-selection-internal):
13090 * select.h, select.c (convert_selection): New. Created
13091 convert_selection() function based on get_local_selection().
13092 * select.h, select.c (QCF_*): New symbols representing mswindows
13094 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13095 symbols representing `how-to-add' modes.
13097 * select-msw.c (x_sym_p): New.
13098 * select-msw.c (symbol_to_ms_cf): New.
13099 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13100 symbols & clipboard formats. Can also handle string names.
13101 * select-msw.c (mswindows_own_selection):
13102 * select-msw.c (mswindows_selection_exists_p):
13103 Added `data-type' parameter. Use it.
13104 * select-msw.c (mswindows_available_selection_types): New.
13105 * select-msw.c (mswindows_register_selection_data_type): New.
13106 * select-msw.c (mswindows_selection_data_type_name): New.
13107 * select-msw.c (mswindows_own_selection):
13108 * select-msw.c (mswindows_get_foreign_selection):
13109 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13110 * select-msw.c (console_create_select_mswindows): Added new methods.
13111 * select-msw.c (mswindows_destroy_selection): New.
13112 * select-msw.c (Vhandle_alist): New list.
13113 * select-msw.c (mswindows_own_selection):
13115 * select-x.c (x_own_selection):
13116 * select-x.c (x_selection_exists_p):
13117 * select-x.c: Added some comments about maybe using new
13119 * select-x.c (x_own_selection):
13121 * specifier.c: Remove definition of Qappend (now in general.c)
13122 * specifier.c (syms_of_specifier): Remove Qappend.
13124 2000-07-12 Martin Buchholz <martin@xemacs.org>
13126 * config.h.in: Add socklen_t.
13128 * s/decosf4-0.h: No special compiler flags needed or desired.
13129 In particular, undefine _BSD for DEC OSF 4.0.
13131 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13133 * redisplay-msw.c (msprinter_frame_output_end): Added.
13134 (console_type_create_redisplay_mswindows): Referred the above.
13136 * frame.c (setup_frame_without_minibuffer): Do not create a
13137 default minibuffer frame on a printer device.
13139 * frame-msw.c (apply_dc_geometry): Added.
13140 (msprinter_start_page):
13141 (msprinter_init_frame_3):
13142 (msprinter_eject_page): Use it.
13144 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13145 and removed residual duplex and orientation properties.
13147 2000-07-11 Martin Buchholz <martin@xemacs.org>
13149 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13151 * unexalpha.c: Remove system prototypes from C sources!
13153 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13155 * eval.c: Remove references to M-x edit-options in DEFUNs for
13156 `defvar' and `defconst'.
13158 2000-07-09 Martin Buchholz <martin@xemacs.org>
13160 * config.h.in: Remove SMART_INCLUDE hackery.
13162 PostgreSQL hacking:
13163 * config.h.in: Don't use SMART_INCLUDE.
13165 * postgresql.h: Include libpq-fe.h here. Fix typo.
13166 * inline.c: Simply #include "postgresql.h"
13168 - Don't use SMART_INCLUDE
13169 - Use simply "const".
13170 - Use standard doc string conventions.
13171 - Use correct type for result of PQstatus.
13173 2000-07-09 Martin Buchholz <martin@xemacs.org>
13175 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13177 C++ compilation changes.
13178 * config.h.in (EXTERN_C): Define.
13179 * config.h.in (not): This is also a C++ keyword.
13180 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13181 * cm.c: Use EXTERN_C.
13182 * redisplay-tty.c: Use EXTERN_C.
13183 * sysdep.c: Use EXTERN_C. Remove Gould support.
13185 2000-07-09 Martin Buchholz <martin@xemacs.org>
13187 * general.c: Remove duplicate definition for Qfunction.
13189 2000-07-08 Ben Wing <ben@xemacs.org>
13191 * device-msw.c (msprinter_init_device):
13192 * device-msw.c (sync_printer_with_devmode):
13193 * device-msw.c (handle_devmode_changes):
13194 * device-msw.c (print_dialog_worker):
13195 * device-msw.c (Fmsprinter_apply_settings):
13196 * device-msw.c (hash_devmode):
13197 * device-msw.c (Fmsprinter_settings_despecialize):
13198 use Qmswindows_tstr, not Qctext.
13200 * vm-limit.c (check_memory_limits):
13201 avoid infinite loop printing warning messages.
13203 2000-07-05 Craig Lanning <lanning@scra.org>
13205 * Makefile.in.in: Add support for including the Windows resources
13206 when building with the cygwin and mingw targets.
13208 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13209 not set or not correct.
13210 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13211 (init_initial_directory): Don't try to use $PWD on the
13212 WIN32_NATIVE target.
13215 [[Add -mwindows to eliminate console window.]] not required --ben
13216 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13217 (MAIL_USE_POP): removed; now handled by configure.
13219 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13220 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13221 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13222 (MAIL_USE_POP): removed; now handled by configure.
13223 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13224 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13225 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13227 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13228 up from <winsock.h> via systime.h.
13229 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13230 (getpagesize): from Dan Holmsand, added.
13231 Added #endif which was left dangling by Ben's mega patch; added
13232 comment to help prevent this in the future.
13234 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13236 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13238 * console-msw.h (struct mswindows_device): Removed unnecessary
13239 cached device geometry values.
13240 Added update_tick and an accessor macro.
13241 (Lisp_Devmode): Added lrecord declaration.
13242 (struct msprinter_device): Contain devmode as a Lisp object.
13243 Added mswindows_get_selected_frame_hwnd();
13245 * console.h (struct console_methods): Indentation nitpicking.
13247 * device-msw.c (mswindows_init_device): Do not initialize geometry
13248 cache. Initialize update tick.
13249 (mswindows_device_system_metrics): Ask the device for its geometry.
13250 (global_free_2_maybe):
13251 (devmode_to_hglobal):
13252 (handle_printer_changes):
13253 (ensure_not_printing):
13254 (print_dialog_worker):
13255 (Fmsprinter_print_setup_dialog):
13256 (Fmsprinter_print_dialog):
13257 (plist_get_margin):
13258 (plist_set_margin):
13259 (Fmsprinter_page_setup_dialog): Added functions.
13260 (sync_printer_with_devmode):
13261 (handle_devmode_changes):
13262 (Fmsprinter_get_settings):
13263 (Fmsprinter_select_settings):
13264 (Fmsprinter_apply_settings):
13265 (allocate_devmode):
13266 (Fmsprinter_settings_copy):
13267 (Fmsprinter_settings_despecialize):
13269 (finalize_devmode):
13271 (hash_devmode): Added functions
13272 (syms_of_device_mswindows): Init devmode lrecord class.
13274 * device.h: Added an exfun for find-device.
13276 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13277 geometry; although, recreate the device compatible DC.
13279 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13280 (msprinter_init_frame_3):
13281 (msprinter_frame_property):
13282 (msprinter_internal_frame_property_p):
13283 (msprinter_frame_properties):
13284 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13285 print job properties (will move to device settings).
13287 * lisp.h: Added symbols.
13289 * general.c (syms_of_general): Declared them.
13291 * hash.c (string_hash): Added.
13293 * lrecord.h (lrecord_type): Added devmode lrecord type.
13295 2000-07-02 Mike Sperber <mike@xemacs.org>
13297 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13300 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13302 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13305 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13307 * data.c (Fstring_to_number): Don't recognize floating point if
13310 2000-06-22 Martin Buchholz <martin@xemacs.org>
13312 * glyphs-widget.c (tab_control_query_geometry):
13313 (widget_query_geometry):
13314 (button_query_geometry):
13315 * glyphs.c (text_query_geometry):
13316 Enforce type correctness.
13318 2000-06-18 Martin Buchholz <martin@xemacs.org>
13320 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13321 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13323 2000-06-17 Martin Buchholz <martin@xemacs.org>
13325 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13326 conflicts with gcc's fixincluded version of FOO.h.
13328 * glyphs.h (image_instance_geometry): Remove trailing `,'
13330 2000-06-08 Mike Alexander <mta@arbortext.com>
13332 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13333 (shove_thread): Don't write the same output twice
13334 (make_ntpipe_output_stream): Increase priority of shove thread
13335 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13337 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13340 2000-06-12 Ben Wing <ben@xemacs.org>
13342 * s\mingw32.h (sigset):
13343 * s\windowsnt.h (sigset):
13344 rename msw_ to mswindows_ for consistency with general convention.
13346 2000-06-12 Ben Wing <ben@xemacs.org>
13349 * console-msw.c (mswindows_get_console_hwnd):
13350 * console-msw.c (mswindows_ensure_console_allocated):
13351 * console-msw.c (mswindows_hide_console):
13352 * console-msw.c (mswindows_show_console):
13353 * console-msw.c (mswindows_ensure_console_buffered):
13354 * console-msw.c (mswindows_output_console_string):
13355 * console-msw.c (mswindows_windows9x_p):
13357 * device-msw.c (mswindows_get_workspace_coords):
13358 * device-msw.c (mswindows_device_system_metrics):
13359 * dialog-msw.c (mswindows_popup_dialog_box):
13360 * event-msw.c (mswindows_wnd_proc):
13361 * frame-msw.c (mswindows_size_frame_internal):
13362 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13363 * menubar-msw.c (displayable_menu_item):
13364 * menubar-msw.c (mswindows_char_is_accelerator):
13366 * nt.c (mswindows_sigset):
13367 * nt.c (mswindows_sigrelse):
13368 * nt.c (mswindows_sigpause):
13369 * nt.c (mswindows_raise):
13370 * nt.c (timer_proc):
13372 * ntproc.c (find_child_console):
13373 * ntproc.c (sys_kill):
13375 * print.c (std_handle_out_external):
13376 * process-nt.c (find_child_console):
13377 * process-nt.c (send_signal_the_95_way):
13378 * process-nt.c (ensure_console_window_exists):
13379 * process-nt.c (nt_create_process):
13381 rename msw_ to mswindows_ for consistency with general convention.
13385 include nt.h, not syswindows.h.
13387 * nt.c (mswindows_fstat):
13388 * nt.c (mswindows_stat):
13389 prefix mswindows_ instead of attempting to directly override the
13390 library functions. fix declarations.
13393 include syswindows.h. move some sysdep.h stuff here.
13396 include syswindows.h, not <windows.h>.
13404 * sysdep.c (sys_fstat):
13405 * sysdep.c (sys_stat):
13406 call mswindows versions when appropriate.
13409 move mswin decls to nt.h.
13412 add long comment describing appropriate use of the various windows
13415 2000-06-11 Ben Wing <ben@xemacs.org>
13417 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13419 2000-06-10 Ben Wing <ben@xemacs.org>
13421 * Makefile.in.in (release):
13422 Correction to make sure xemacs.exe always dumped when correct.
13426 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13428 * buffer.c (set_buffer_internal):
13429 [[[[2]]]]: Remove HAVE_FEP code.
13431 * buffer.c (init_initial_directory):
13435 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13439 * callproc.c (call_process_cleanup):
13440 * callproc.c (Fold_call_process_internal):
13441 * callproc.c (child_setup):
13442 * callproc.c (getenv_internal):
13443 * callproc.c (init_callproc):
13444 * callproc.c (vars_of_callproc):
13445 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13446 __CYGWIN32__ -> CYGWIN.
13447 DOS_NT -> WIN32_NATIVE.
13448 Remove MSDOS support/references, converting to WIN32_NATIVE
13450 __MINGW32__ -> MINGW.
13451 Fix windows.h includes.
13452 Remove bogus HAVE_NTGUI.
13458 mswindows_message_outputted added for use in allowing startup
13459 errors on the console to be seen.
13461 * console-msw.c (msw_ensure_console_allocated):
13462 * console-msw.c (msw_output_console_string):
13463 * console-msw.c (DHEADER):
13464 * console-msw.c (DOPAQUE_DATA):
13465 * console-msw.c (DEVENT):
13466 * console-msw.c (DCONS):
13467 * console-msw.c (DCONSCDR):
13468 * console-msw.c (DSTRING):
13469 * console-msw.c (DVECTOR):
13470 * console-msw.c (DSYMBOL):
13471 * console-msw.c (DSYMNAME):
13474 * console-stream.c (stream_init_console):
13475 Fix text/binary problems.
13478 * device-msw.c (mswindows_finish_init_device):
13479 * device-msw.c (mswindows_delete_device):
13482 * device.c (handle_asynch_device_change):
13486 * dgif_lib.c (DGifOpenFileName):
13487 * dgif_lib.c (DGifOpenFileHandle):
13488 * dgif_lib.c (DGifGetLine):
13489 * dgif_lib.c (DGifGetPixel):
13490 Added config.h/lisp.h, fix up includes.
13497 * dired.c (file_name_completion):
13498 * dired.c (Ffile_attributes):
13499 * dired.c (syms_of_dired):
13503 * dumper.c (pdump_file_unmap):
13504 * dumper.c (pdump_load):
13508 * editfns.c (Ftemp_directory):
13509 * editfns.c (user_login_name):
13510 * editfns.c (Fuser_real_login_name):
13511 * editfns.c (get_home_directory):
13514 * elhash.c (finish_marking_weak_hash_tables):
13515 [[[[5]]]]: Fix GCC warnings.
13518 * emacs.c (mswindows_handle_hardware_exceptions):
13519 * emacs.c (make_arg_list_1):
13520 * emacs.c (main_1):
13521 * emacs.c (Fkill_emacs):
13522 * emacs.c (Fdump_emacs):
13524 Fix problems with nested crashes, add long comment.
13526 * event-Xt.c (init_event_Xt_late):
13530 * event-msw.c (mswindows_dde_callback):
13531 * event-msw.c (mswindows_handle_sticky_modifiers):
13532 * event-msw.c (mswindows_wnd_proc):
13536 * events.c (character_to_event):
13540 * fileio.c (Ffile_name_directory):
13541 * fileio.c (Ffile_name_nondirectory):
13542 * fileio.c (directory_file_name):
13543 * fileio.c (Fexpand_file_name):
13544 * fileio.c (Fsubstitute_in_file_name):
13545 * fileio.c (Ffile_name_absolute_p):
13546 * fileio.c (check_executable):
13547 * fileio.c (Ffile_readable_p):
13548 * fileio.c (Ffile_accessible_directory_p):
13549 * fileio.c (Ffile_modes):
13550 * fileio.c (Funix_sync):
13551 * fileio.c (vars_of_fileio):
13554 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13556 Expand getdefdir defn.
13557 Fix bogus rename() comment.
13559 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13560 to use standard XEmacs include files, e.g. sysfile.h, rather
13561 than system-specific includes.
13567 * frame.c (vars_of_frame):
13571 * getloadavg.c (getloadavg):
13573 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13574 (We don't use it elsewhere in the code; just add a comment.)
13581 * glyphs-msw.c (mswindows_resource_instantiate):
13584 * glyphs-x.c (x_native_layout_instantiate):
13587 * gui-msw.c (Fmswindows_shell_execute):
13596 * lread.c (locate_file_in_directory_mapper):
13603 * mem-limits.h (get_lim_data):
13615 * nt.c (rva_to_section):
13616 * nt.c (mswindows_executable_type):
13618 Fix closedir() defn.
13621 [[[[8]]]]: *_OK defs moved to sysfile.h.
13630 * print.c (std_handle_out_external):
13634 * process-nt.c (nt_create_process):
13636 try to fix process quoting somewhat.
13638 * process-unix.c (unix_create_process):
13642 * process.c (vars_of_process):
13649 * realpath.c (xrealpath):
13652 * redisplay-tty.c (init_tty_for_redisplay):
13662 * sheap.c (more_static_core):
13663 * sheap.c (report_sheap_usage):
13667 * signal.c (alarm_signal):
13674 * strftime.c (zone_name):
13677 * symsinit.h (init_sunpro):
13681 commctrl.h not in Cygwin b20.1.
13684 * sysdep.c (endif):
13685 * sysdep.c (sys_subshell):
13686 * sysdep.c (init_baud_rate):
13687 * sysdep.c (emacs_get_tty):
13688 * sysdep.c (emacs_set_tty):
13689 * sysdep.c (tty_init_sys_modes_on_device):
13690 * sysdep.c (init_system_name):
13691 * sysdep.c (sys_open):
13692 * sysdep.c (interruptible_open):
13693 * sysdep.c (sys_fopen):
13694 * sysdep.c (sys_mkdir):
13695 * sysdep.c (sys_rename):
13696 * sysdep.c (get_process_times_1):
13703 * sysdir.h (DIRENTRY_NONEMPTY):
13706 * sysdll.c (dll_init):
13712 added text/binary defs.
13718 * sysproc.h (EDESTADDRREQ):
13719 * sysproc.h (poll_fds_for_input):
13736 Always define WIN32_LEAN_AND_MEAN.
13738 * unexcw.c (unexec):
13742 * unexec.c (copy_text_and_data):
13743 * unexec.c (adjust_lnnoptrs):
13747 * unexnt.c (_start):
13750 2000-06-07 Ben Wing <ben@xemacs.org>
13752 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13753 was used only as a model. We've long since extracted any useful
13754 logic or code out of this. (I just did an exhaustive search.)
13756 * s\msdos.h: Removed.
13758 * s\windows95.h: Removed.
13760 2000-06-10 Ben Wing <ben@xemacs.org>
13764 Don't use extern with fun defs.
13768 Remove nt\inc include.
13769 Remove getdisk, getdefdir. (The former is unused, the latter
13770 expanded in fileio.h.)
13773 * s\windowsnt.h (WIN32_NATIVE):
13774 * s\windowsnt.h (HAVE_STRCASECMP):
13776 Add long comment about preprocessor changes.
13777 Remove getdisk, getdefdir. (The former is unused, the latter
13778 expanded in fileio.h.)
13780 2000-06-10 Ben Wing <ben@xemacs.org>
13789 Remove bogus/unused NO_SOCK_SIGIO.
13791 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13793 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13796 2000-06-04 Mike Sperber <mike@xemacs.org>
13798 * casetab.c (set_case_table): For `set-standard-case-table',
13799 actually deposit the new case tables where the rest of XEmacs can
13802 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13804 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13806 2000-06-05 Ben Wing <ben@xemacs.org>
13808 * callproc.c (child_setup): Don't do close_load_descs() under
13809 MS Windows. Put in a comment explaining why.
13811 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13813 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13814 Toolkit shell" which breaks `kill-compilation' on Windows NT
13815 native, retaining STDERR handling improvements.
13817 2000-06-01 Andreas Jaeger <aj@suse.de>
13819 * s/s390.h: Support for S390, based on a patch by Martin
13820 Schwidefsky <schwidefsky@de.ibm.com>.
13822 2000-05-30 Andy Piper <andy@xemacs.org>
13824 * window.c (allocate_window):
13825 (make_dummy_parent):
13826 (Fset_window_configuration): use new hashtable type.
13828 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13829 (struct image_instantiator_methods):
13830 (struct Lisp_Image_Instance): make instance geometry signed.
13832 * glyphs.c (instantiate_image_instantiator):
13833 (image_instance_query_geometry):
13834 (image_instance_layout):
13835 (image_instance_layout):
13836 (query_string_geometry):
13837 (text_query_geometry):
13838 (image_instantiate):
13839 (image_instantiate):
13840 (cache_subwindow_instance_in_frame_maybe):
13841 (subwindow_query_geometry): make instance geometry signed.
13843 * glyphs-widget.c (widget_query_geometry):
13845 (button_query_geometry):
13846 (tree_view_query_geometry):
13847 (tab_control_query_geometry):
13848 (layout_query_geometry):
13850 (native_layout_layout): make instance geometry signed.
13852 2000-05-29 Olivier Galibert <galibert@pobox.com>
13854 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13857 * general.c (syms_of_general): Add Qfull_assoc symbol.
13859 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13861 (decode_weak_list_type): Decode full-assoc type.
13862 (encode_weak_list_type): Encode full-assoc type.
13863 (Fmake_weak_list): Update doc string.
13865 2000-05-30 Andy Piper <andy@xemacs.org>
13867 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13869 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13870 (decode_hash_table_weakness): ditto.
13871 (Fhash_table_weakness): ditto.
13872 (Fhash_table_type): ditto.
13873 (finish_marking_weak_hash_tables): ditto.
13874 (hash_table_weakness_validate): ditto.
13875 (syms_of_elhash): ditto.
13877 2000-05-28 Martin Buchholz <martin@xemacs.org>
13879 * XEmacs 21.2.34 is released.
13881 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13883 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13885 (updating_line_start_cache): Gone.
13886 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13887 generic code to force a minimum of 1 line laid out in the
13890 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13892 * glyphs.c (instantiate_image_instantiator): Check for initialized
13893 height & width no longer special cases IMAGE_NOTHING.
13894 (nothing_instantiate): Set height and width of instance.
13896 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13898 * unexelf.c (unexec): Search for ".data" section.
13899 Initialize new_data2_offset from old_data_index.
13900 Remove redundant check for ElfW.
13902 2000-05-23 Andy Piper <andy@xemacs.org>
13904 * glyphs.c (get_image_instantiator_governing_domain): allow more
13905 specific domains as the governing domain rather than expecting an
13906 exact match. This fixes problems with layouts.
13908 2000-05-22 Andy Piper <andy@xemacs.org>
13910 * redisplay-output.c (compare_runes): check for non-images
13912 * glyphs.c (set_glyph_dirty_p): ditto.
13913 (update_glyph_cachel_data): ditto.
13915 * glyphs-widget.c (layout_post_instantiate): ditto.
13916 (layout_post_instantiate): ditto.
13918 * event-msw.c (mswindows_wnd_proc): warning removal.
13920 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13922 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13924 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13926 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13928 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13929 (mswindows_executable_type): mingw32 now has enough headers for
13932 2000-05-20 Andy Piper <andy@xemacs.org>
13934 * console-msw.c (mswindows_output_last_error): ; -> ,
13936 2000-05-12 Andy Piper <andy@xemacs.org>
13938 * console-msw.c (FROB): compare ints with ints.
13940 2000-05-11 Andy Piper <andy@xemacs.org>
13942 * glyphs-x.c (x_finalize_image_instance): make minimal build
13945 2000-05-20 Ben Wing <ben@xemacs.org>
13948 * event-Xt.c (vars_of_event_Xt):
13949 move modifier-keys-are-sticky to event-stream.c.
13952 * event-msw.c (mswindows_enqueue_mouse_button_event):
13953 * event-msw.c (key_needs_default_processing_p):
13954 * event-msw.c (XEMSW_LCONTROL):
13955 * event-msw.c (mswindows_handle_sticky_modifiers):
13956 * event-msw.c (FROB):
13957 * event-msw.c (clear_sticky_modifiers):
13958 * event-msw.c (output_modifier_keyboard_state):
13959 * event-msw.c (output_alt_keyboard_state):
13960 * event-msw.c (mswindows_wnd_proc):
13961 * event-msw.c (mswindows_modifier_state):
13962 * event-msw.c (emacs_mswindows_handle_magic_event):
13963 implement sticky modifiers.
13966 * event-stream.c (vars_of_event_stream):
13967 move modifier-keys-are-sticky here.
13970 add CHECK_FUNCTION.
13973 implement map-range-table.
13976 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13978 * redisplay-tty.c (reset_tty_modes):
13979 (tty_redisplay_shutdown): Adjust argument type to
13980 tty_frame_output_end.
13982 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13984 * eval.c (Fbacktrace): Don't output a line with only right
13987 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13989 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13990 (Fpq_reset_poll): Ditto.
13992 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13994 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13996 2000-05-16 Ben Wing <ben@xemacs.org>
13999 * buffer.c (dfc_convert_to/from_internal_format):
14000 * buffer.c (reinit_vars_of_buffer):
14001 Fix conversion functions to allow reentrancy.
14004 * console-msw.c (mswindows_output_last_error):
14005 New fun, generally useful -- output a human-readable
14006 version of GetLastError() on the console.
14009 * console-msw.h (struct mswindows_frame):
14010 Changes for DeferWindowPos. Declare mswindows_output_last_error().
14012 * console-stream.c (stream_output_begin):
14013 * console-stream.c (stream_output_end):
14014 * console-stream.c (stream_output_vertical_divider):
14015 * console-stream.c (stream_clear_region):
14016 * console-stream.c (stream_flash):
14017 * console-stream.c (console_type_create_stream):
14018 Delete blank stream methods, not needed.
14020 * console.h (struct console_methods):
14021 Split begin/end methods into window and frame.
14024 * event-msw.c (mswindows_handle_paint):
14025 * event-msw.c (output_alt_keyboard_state):
14026 * event-msw.c (mswindows_wnd_proc):
14027 * event-msw.c (vars_of_event_mswindows):
14028 Comment about problems with ignored-expose.
14029 Define mswindows-debug-events; not really implemented.
14031 * frame-msw.c (mswindows_init_frame_1):
14035 * glyphs-msw.c (begin_defer_window_pos):
14036 * glyphs-msw.c (mswindows_unmap_subwindow):
14037 * glyphs-msw.c (mswindows_map_subwindow):
14038 * glyphs-msw.c (mswindows_resize_subwindow):
14039 Use DeferWindowPos to reduce flashing when mapping/unmapping.
14041 * glyphs.c (make_image_instance_1):
14044 * gutter.c (Fredisplay_gutter_area):
14045 Use new begin/end methods.
14047 * lisp.h (Dynarr_new2):
14051 * redisplay-msw.c (mswindows_frame_output_begin):
14052 * redisplay-msw.c (mswindows_frame_output_end):
14053 * redisplay-msw.c (console_type_create_redisplay_mswindows):
14054 New begin/end methods -- handle DeferWindowPos.
14056 * redisplay-output.c (redisplay_move_cursor):
14057 * redisplay-output.c (redraw_cursor_in_window):
14058 * redisplay-output.c (redisplay_update_line):
14059 * redisplay-output.c (redisplay_output_window):
14060 New begin/end methods.
14063 * redisplay-tty.c (tty_frame_output_begin):
14064 * redisplay-tty.c (tty_frame_output_end):
14065 * redisplay-tty.c (console_type_create_redisplay_tty):
14066 New begin/end methods.
14069 * redisplay-x.c (x_window_output_begin):
14070 * redisplay-x.c (x_window_output_end):
14071 * redisplay-x.c (console_type_create_redisplay_x):
14072 New begin/end methods.
14074 * redisplay.c (redisplay_frame):
14075 * redisplay.c (Fredisplay_echo_area):
14076 New begin/end methods.
14077 use MAYBE_DEVMETH for clear_frame; it may not exist.
14079 * window.h (WINDOW_XFRAME):
14080 WINDOW_XFOO macros -- get locale and decode struct pointer.
14083 2000-05-12 Ben Wing <ben@xemacs.org>
14086 * emacs.c (ensure_no_quitting_from_now_on):
14087 * emacs.c (fatal_error_signal):
14088 * emacs.c (mswindows_handle_hardware_exceptions):
14090 * emacs.c (Fkill_emacs):
14091 * emacs.c (shut_down_emacs):
14092 * emacs.c (assert_failed):
14093 various improvements in fatal error handling.
14096 move preparing_for_armageddon to emacs.c.
14099 declare fatal_error_in_progress.
14102 * print.c (std_handle_out_external):
14103 * print.c (std_handle_out_va):
14104 * print.c (stderr_out):
14105 * print.c (stdout_out):
14106 use console under mswin when no standard output.
14107 don't do code conversion during fatal error.
14109 * scrollbar.c (Fscrollbar_page_up):
14110 * scrollbar.c (Fscrollbar_page_down):
14111 fix missing else. reindent.
14113 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14117 * glyphs.h (GLYPH_CACHEL_DESCENT):
14118 (GLYPH_CACHEL_DESCENT):
14119 (GLYPH_CACHEL_DESCENT):
14120 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14121 used in case these are inline functions.
14122 Use more absurd values to error check.
14124 include window.h for error check functions.
14126 2000-05-11 Ben Wing <ben@xemacs.org>
14128 * cmdloop.c (Freally_early_error_handler):
14129 Display message box under windows; otherwise, message will disappear
14130 before it can be viewed.
14133 * console-msw.c (Fmswindows_message_box):
14134 * console-msw.c (FROB):
14135 * console-msw.c (syms_of_console_mswindows):
14136 Define new fun `mswindows-message-box'.
14137 #### I will merge this into `popup-dialog-box'; just give me
14141 * general.c (syms_of_general):
14142 Some new symbols used in `mswindows-message-box'.
14145 * glyphs.c (Fset_image_instance_property):
14146 put warning in this fun.
14149 * glyphs.h (GLYPH_CACHEL_WIDTH):
14150 * glyphs.h (GLYPH_CACHEL_ASCENT):
14151 * glyphs.h (GLYPH_CACHEL):
14152 * glyphs.h (GLYPH_CACHEL_GLYPH):
14153 define error-checking versions to try to catch a bug i've seen --
14154 redisplay gets in an infinite loop because the glyph width of the
14155 continuation glyph is 65535.
14158 Extern message-box stuff.
14160 * window.c (allocate_window):
14161 * window.c (make_dummy_parent):
14162 * window.c (Fset_window_configuration):
14163 Use EQUAL not EQ for subwindow caches to make them work a bit
14164 better. (Something is still very broken.)
14167 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14169 * glyphs.c (image_instantiate): Suppress gcc warnings.
14170 (Fmake_image_instance): Fix doc string.
14171 * specifier.c (Fmake_specifier): Ditto.
14173 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14175 * paths.h.in (PATH_LOCK): Removed.
14176 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14177 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14179 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14181 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14182 Document (featurep '(and xemacs 21.02)).
14184 2000-05-09 Ben Wing <ben@xemacs.org>
14186 * buffer.c (complex_vars_of_buffer):
14187 update modeline-format doc.
14190 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14193 timeline of all released versions of Emacs, for use in creating
14194 authorship comments and in synching up.
14196 * glyphs-widget.c (image_instantiator_buttons):
14197 * glyphs-widget.c (image_instantiator_edit_fields):
14198 * glyphs-widget.c (image_instantiator_combo_box):
14199 * glyphs-widget.c (image_instantiator_scrollbar):
14200 * glyphs-widget.c (image_instantiator_progress_guage):
14201 * glyphs-widget.c (image_instantiator_tree_view):
14202 * glyphs-widget.c (image_instantiator_tab_control):
14203 * glyphs-widget.c (image_instantiator_labels):
14204 * glyphs-widget.c (image_instantiator_layout):
14205 * glyphs-widget.c (image_instantiator_native_layout):
14206 rename decode_domain method to governing_domain.
14209 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14210 * glyphs.c (add_entry_to_device_ii_format_list):
14211 make sure we don't put an entry more than once into the list.
14212 * glyphs.c (check_instance_cache_mapper):
14213 *************************************************************
14214 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14216 *************************************************************
14217 * glyphs.c (get_image_instantiator_governing_domain):
14218 clean up, expand on new concept of governing domain.
14219 * glyphs.c (instantiate_image_instantiator):
14220 * glyphs.c (allocate_image_instance):
14221 use governing_domain instead of cache_domain in naming.
14222 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14223 * glyphs.c (make_image_instance_1):
14224 * glyphs.c (Fmake_image_instance):
14225 allow for any domain (not just device), and process the
14226 governing domain correctly. very big doc fix.
14227 * glyphs.c (Fimage_instance_domain):
14228 new primitive, to retrieve the governing domain of an image instance.
14229 * glyphs.c (image_instantiate):
14230 use new governing_domain stuff. this fixes a crash you could get
14231 by instantiating certain widget glyphs in frame locales. (should
14232 signal an error instead of crashing.)
14233 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14234 * glyphs.c (Fglyphp): clean up doc.
14235 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14236 * glyphs.c (syms_of_glyphs):
14237 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14238 * glyphs.c (image_instantiator_format_create): add some comments about
14240 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14241 for current-display-table. (Apparently Hrjove implemented in 1998 a
14242 design I wrote up in 1996, but didn't update the doc string.)
14244 * glyphs.h: clean up a doc string.
14245 * glyphs.h (governing_domain):
14246 * glyphs.h (struct image_instantiator_methods):
14247 changes for governing_domain stuff.
14250 * gutter.c (Fgutter_specifier_p):
14251 * gutter.c (Fgutter_size_specifier_p):
14252 * gutter.c (Fgutter_visible_specifier_p):
14254 * objects.c (Fcolor_specifier_p):
14255 * objects.c (Ffont_specifier_p):
14256 * objects.c (Fface_boolean_specifier_p):
14257 doc strings moved to make-*-specifier.
14259 * redisplay.c (add_disp_table_entry_runes_1):
14260 * redisplay.c (generate_fstring_runes):
14261 * redisplay.c (screen):
14262 add random comments and doc strings.
14265 * specifier.c (Fmake_specifier):
14266 major overhaul of this doc string.
14268 * specifier.c (Fvalid_specifier_domain_p):
14269 comment about the bogosity of image instances being domains.
14270 * specifier.c (decode_domain):
14271 now non-static, used in glyphs.c.
14272 * specifier.c (specifier_instance):
14273 comment about the bogosity of image instances being domains.
14274 * specifier.c (Fgeneric_specifier_p):
14275 move doc string to make-generic-specifier.
14276 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14280 * specifier.h (DOMAIN_FRAME):
14281 * specifier.h (DOMAIN_LIVE_P):
14282 * specifier.h (DOMAIN_XDEVICE):
14284 add comments about problems with these macros.
14285 prototype for decode_domain.
14288 * toolbar.c (Ftoolbar_specifier_p):
14289 move doc string to `make-toolbar-specifier'.
14291 * window.c (window_unmap_subwindows_cache_mapper):
14292 *************************************************************
14293 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14295 *************************************************************
14297 2000-05-09 Andy Piper <andy@xemacs.org>
14299 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14301 * window.c (Fset_window_configuration): reset the frame subwindow
14302 cache and re-initialize the window subwindow caches.
14304 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14306 2000-05-09 Ben Wing <ben@xemacs.org>
14308 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14311 2000-04-26 Mike Woolley <mike@bulsara.com>
14313 * ntheap.c: Changed recreate_heap to limit the amount reserved
14314 for the heap to that which is actually available. Also now
14315 displays a message box (with some dignostics) in the event that
14316 it still can't start.
14318 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14320 * callproc.c (Fold_call_process_internal): GCPRO path
14322 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14324 Patch by Bill Perry.
14326 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14327 back data instead of #ifdef.
14328 (Fscrollbar_page_down): ditto.
14330 2000-05-07 Ben Wing <ben@xemacs.org>
14333 Kludge for defining Qmswindows_tstr.
14336 * nt.c (open_input_file):
14337 * nt.c (open_output_file):
14338 * nt.c (rva_to_section):
14339 * nt.c (mswindows_executable_type):
14340 Move all memory-mapped-file routines here (some were in unexnt.c,
14341 which is bad because they are used by process-nt.c, and unexnt
14342 won't be around when portable dumping). Synched the above routines
14346 Removed ifdef'd out bogus code.
14347 Fixed some prototypes.
14349 * nt.h (file_data):
14350 * nt.h (OFFSET_TO_RVA):
14351 * nt.h (RVA_TO_OFFSET):
14352 * nt.h (RVA_TO_PTR):
14353 Moved the memory-mapped-file structures, macros and prototypes
14354 here, to parallel nt.c. ntheap.h should really be removed
14355 entirely, and it's a non-portable-dumper specific file.
14357 * ntheap.h (round_to_next):
14358 Moved the memory-mapped-file structures, macros and prototypes
14361 * ntproc.c (compare_env):
14362 Moved rva_to_section and mswindows_executable_type to nt.c.
14363 Moved compare_env to process-nt.c.
14364 ntproc.c will die, one day.
14366 * ntproc.c (sys_spawnve):
14367 Account for win32_ -> mswindows_.
14370 * process-nt.c (struct nt_process_data):
14371 * process-nt.c (ensure_console_window_exists):
14372 * process-nt.c (compare_env):
14373 * process-nt.c (nt_create_process):
14374 * process-nt.c (nt_kill_process_by_pid):
14375 * process-nt.c (syms_of_process_nt):
14376 * process-nt.c (vars_of_process_nt):
14377 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14378 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14379 changes). Eliminate our old `nt-quote-process-args' mechanism.
14380 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14381 Move compare_env here from ntproc.c.
14383 * process.c (Fprocess_send_region):
14384 Takes an optional fourth argument, BUFFER, which should fix some
14385 problems with call-process.
14388 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14391 Move ICC_BAR_CLASSES to syscommctrl.h.
14392 Add preliminary macros for MSWindows/Mule. More to come.
14395 * unexnt.c (unexec):
14396 open_output_file moved to nt.c.
14399 2000-05-05 Andy Piper <andy@xemacs.org>
14401 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14402 instance from the frame cache also since GC may catch up too late
14403 to make frame deletion sane.
14405 2000-05-04 Andy Piper <andy@xemacs.org>
14407 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14408 (x_finalize_image_instance): ungcpro on deletion.
14410 * glyphs.c (image_instantiator_format_create): give pointers a
14411 query geometry method so that the geometry is at least set.
14413 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14414 initialize layouts if using widgets.
14416 2000-05-03 Andy Piper <andy@xemacs.org>
14418 * nt.c: remove bogus reference to sysmmsystem.h
14420 * gui-x.c (popup_selection_callback): fix no selection abort.
14422 2000-05-02 Andy Piper <andy@xemacs.org>
14424 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14425 (mswindows_widget_instantiate): ditto.
14427 * glyphs-widget.c (initialize_widget_image_instance): initialize
14428 children correctly.
14429 (widget_instantiate): cope with children and items in the same
14432 * glyphs.c (mark_image_instance): cope with children as a first
14434 (image_instance_equal): ditto.
14435 (image_instance_hash): ditto.
14436 (image_instance_changed): ditto.
14438 2000-04-30 Andy Piper <andy@xemacs.org>
14440 * glyphs.c (subwindow_query_geometry): new function. Return some
14442 (subwindow_instantiate): don't assign dimensions if none have been
14444 (image_instantiator_format_create): add subwindow_query_geometry.
14445 (print_image_instance): cope with layouts as widgets.
14447 2000-04-29 Andy Piper <andy@xemacs.org>
14449 * frame.c (delete_frame_internal): call
14450 free_frame_subwindow_instance_cache so that all subwindows are
14451 finalized before their parent.
14452 (mark_frame): remove subwindow_cachels.
14453 (Fmake_frame): remove subwindow_cachel manipulation.
14454 (allocate_frame_core): subwindow_instance_cache is a weak list.
14455 (delete_frame_internal): set subwindow_instance_cache to nil.
14457 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14459 (mswindows_finalize_image_instance): use the device
14460 not the domain as the domain may have died already.
14462 * glyphs-x.c (x_finalize_image_instance): ditto.
14463 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14466 * redisplay-output.c (redisplay_unmap_subwindows): update for
14467 subwindow instance cache as a weak list.
14468 (redisplay_unmap_subwindows_maybe): ditto.
14469 (redisplay_unmap_subwindows_except_us): ditto.
14471 * glyphs.c (unmap_subwindow): error checking will check the domain
14472 so don't deal with it here. Don't use cachels anymore.
14473 (map_subwindow): ditto.
14474 (update_subwindow_cachel_data): remove old accessor names.
14475 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14476 (Fresize_subwindow): don't update cachel.
14477 (mark_subwindow_cachels):
14478 (update_subwindow_cachel_data):
14479 (add_subwindow_cachel):
14480 (get_subwindow_cachel_index):
14481 (update_subwindow_cachel):
14482 (reset_subwindow_cachels):
14483 (mark_subwindow_cachels_as_not_updated): deleted.
14484 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14485 subwindow instance to the frame cache.
14486 (find_matching_subwindow): update for subwindow instance cache as
14488 (update_widget_instances): ditto.
14489 (image_instance_type_to_mask):inlined.
14490 (free_frame_subwindow_instance_cache): new function. finalize all
14491 subwindows that are instantiated.
14493 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14494 of cachel information.
14495 (IMAGE_INSTANCE_DISPLAY_X):
14496 (IMAGE_INSTANCE_DISPLAY_Y):
14497 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14498 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14499 (XIMAGE_INSTANCE_DISPLAY_X):
14500 (XIMAGE_INSTANCE_DISPLAY_Y):
14501 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14502 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14503 remove subwindow_cachel structure and function references.
14504 (image_instance_type_to_mask): inline from glyphs.c
14506 * redisplay.c (redisplay_frame): remove subwindow_cachel
14509 * frame.h (struct frame): remove subwindow_cachels.
14510 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14512 * frameslots.h: add subwindow_instance_cache.
14514 * window.c (replace_window): check subwindow cache of replacement.
14515 (window_unmap_subwindows_cache_mapper):
14516 (window_unmap_subwindows): new functions. Unmap all subwindows
14517 cached on this window.
14518 (mark_window_as_deleted): unmap all subwindows.
14520 2000-04-27 Andy Piper <andy@xemacs.org>
14522 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14524 * glyphs-widget.c (widget_layout): return something.
14525 (layout_layout): return something. Fail if not initialized.
14526 (layout_query_geometry): ditto.
14527 (image_instantiator_native_layout): new function. Initialized the
14528 native layout type.
14529 (widget_instantiate): don't do layout stuff here.
14531 * glyphs.c (instantiate_image_instantiator): reorded calling or
14532 instantiate and post_instantiate with layout in between.
14533 (image_instance_layout): be more selective about deciding whether
14534 the layout has been done or not.
14536 * glyphs.h (struct image_instantiator_methods): return a value
14537 from layout_method.
14539 2000-04-26 Andy Piper <andy@xemacs.org>
14541 * glyphs.c (allocate_image_instance): make initial width and
14542 height unspecified. Set initialized to 0.
14544 * syscommctrl.h new file. Encapsulates commctrl.h.
14546 * syswindows.h new file. Encapsulates windows.h.
14548 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14550 * console-msw.h: ditto.
14552 * redisplay-tty.c (tty_output_display_block): remove layout references.
14554 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14555 window handle rather than just the frame.
14557 * glyphs.c (mark_image_instance): remove layout references.
14558 (print_image_instance): ditto.
14559 (image_instance_equal): ditto.
14560 (image_instance_hash): ditto.
14561 (decode_image_instance_type): ditto.
14562 (encode_image_instance_type): ditto.
14563 (image_instantiate): ditto.
14564 (allocate_glyph): ditto.
14565 (Fimage_instance_height): ditto.
14566 (Fimage_instance_width): ditto.
14567 (update_subwindow): ditto.
14569 * redisplay-x.c (x_output_display_block): recode for layouts as
14572 * redisplay-output.c (redisplay_output_layout): recode for layouts
14574 (compare_runes): remove layout references.
14576 * redisplay-msw.c (mswindows_output_display_block): recode for
14577 layouts as widgets.
14579 * glyphs-widget.c (image_instantiator_layout): remove
14580 layout_possible_dest_types.
14581 (layout_possible_dest_types): deleted.
14583 * glyphs.h (image_instance_type): remove layout references.
14584 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14585 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14586 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14588 2000-04-25 Andy Piper <andy@xemacs.org>
14590 * glyphs-widget.c (image_instantiator_buttons):
14591 (image_instantiator_edit_fields):
14592 (image_instantiator_combo_box):
14593 (image_instantiator_scrollbar):
14594 (image_instantiator_progress_guage):
14595 (image_instantiator_tree_view):
14596 (image_instantiator_tab_control):
14597 (image_instantiator_labels):
14598 (image_instantiator_layout): call default post_instantiate method.
14599 (widget_post_instantiate): new function. Simply lays out the
14602 * glyphs.h (struct image_instantiator_methods): add
14603 post_instantiate method.
14605 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14608 2000-04-23 Andy Piper <andy@xemacs.org>
14610 * glyphs.h (struct image_instantiator_methods): add
14611 decode_domain_method.
14612 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14613 derived from the domain.
14614 (IMAGE_INSTANCE_FRAME): new accessor.
14615 (XIMAGE_INSTANCE_FRAME): ditto.
14617 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14618 instead of _SUBWINDOW_FRAME.
14619 (finalize_image_instance): ditto.
14620 (Fimage_instance_foreground): ditto.
14621 (Fimage_instance_background): ditto.
14622 (image_instantiate): ditto.
14623 (update_subwindow_cachel): ditto.
14624 (update_subwindow): ditto.
14625 (unmap_subwindow): ditto.
14626 (map_subwindow): ditto
14627 (subwindow_instantiate): ditto.
14628 * glyphs-msw.c (mswindows_update_widget): ditto.
14629 (mswindows_progress_gauge_instantiate): ditto.
14630 (mswindows_tab_control_update): ditto.
14631 * glyphs-x.c (x_update_widget): ditto.
14632 (x_widget_instantiate): ditto.
14633 (x_tab_control_instantiate): ditto.
14634 (x_tab_control_update): ditto.
14635 * event-msw.c (mswindows_wnd_proc): ditto
14637 * glyphs-widget.c (image_instantiator_layout): use
14638 subwindow_decode_domain.
14639 (image_instantiator_buttons): ditto.
14640 (image_instantiator_edit_fields): ditto.
14641 (image_instantiator_combo_box): ditto.
14642 (image_instantiator_scrollbar): ditto.
14643 (image_instantiator_progress_guage): ditto.
14644 (image_instantiator_tree_view): ditto.
14645 (image_instantiator_tab_control): ditto.
14646 (image_instantiator_labels): ditto.
14647 (image_instantiator_layout): ditto.
14649 * glyphs.c: add instance error checking to many functions.
14650 (instantiate_image_instantiator): decode device from cache_domain.
14651 (image_instantiate): partially rewrite by using
14652 decode_image_instantiator_domain to determine what domain the
14653 instance needs to be cached in.
14654 (decode_image_instantiator_domain): new function. Determine what
14655 domain the image needs to be cached in.
14656 (check_window_subwindow_cache): new error checking function.
14657 (check_instance_cache_mapper): ditto.
14658 (check_image_instance_structure): ditto.
14659 (subwindow_decode_domain): new function. Encodes a window as a
14660 subwindow's cache domain.
14661 (image_instantiator_format_create): use it for text and
14664 2000-04-21 Andy Piper <andy@xemacs.org>
14666 * glyphs.c (image_instance_device): new function.
14667 (image_instance_frame): new function.
14668 (image_instance_window): new function.
14669 (image_instance_live_p): new function.
14671 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14674 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14675 (IMAGE_INSTANCE_DOMAIN): new accessor.
14676 (XIMAGE_INSTANCE_DOMAIN): ditto.
14678 * glyphs-x.c (x_finalize_image_instance): device->domain.
14680 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14681 (mswindows_finalize_image_instance): ditto.
14683 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14684 (gif_instantiate): ditto.
14685 (png_instantiate): ditto.
14686 (tiff_instantiate): ditto.
14688 * glyphs.c (instantiate_image_instantiator): use domain rather
14690 (mark_image_instance): device -> domain.
14691 (print_image_instance): ditto.
14692 (finalize_image_instance): ditto.
14693 (image_instance_equal): ditto.
14694 (allocate_image_instance): ditto.
14695 (Fcolorize_image_instance): ditto.
14696 (query_string_geometry): ditto.
14697 (image_instantiate): ditto
14698 (query_string_font): ditto.
14699 (image_instantiate): ditto.
14700 (update_subwindow): ditto.
14701 (unmap_subwindow): ditto.
14702 (map_subwindow): ditto.
14703 (subwindow_instantiate): ditto.
14705 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14706 (DOMAIN_FRAME): ditto.
14707 (DOMAIN_WINDOW): ditto.
14708 (DOMAIN_LIVE_P): ditto.
14709 (XDOMAIN_DEVICE): ditto.
14710 (XDOMAIN_FRAME): ditto.
14711 (XDOMAIN_WINDOW): ditto.
14713 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14714 a valid specifier domain.
14716 2000-04-19 Andy Piper <andy@xemacs.org>
14718 * glyphs-widget.c (syms_of_glyphs_widget): remove
14719 widget-callback-current-channel.
14720 (vars_of_glyphs_widget): ditto.
14723 * gui.c (get_gui_callback): revert to previous behaviour.
14725 2000-04-18 Andy Piper <andy@xemacs.org>
14727 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14728 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14729 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14731 * glyphs.c (image_instance_equal): add margin_width.
14732 (image_instance_hash): ditto.
14734 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14735 (layout_query_geometry): ditto.
14736 (layout_layout): ditto.
14737 (syms_of_glyphs_widget): add margin-width.
14738 (image_instantiator_layout): allow margin-width.
14740 * glyphs.c (update_widget_instances): make a normal function.
14741 (syms_of_glyphs): remove Qupdate_widget_instances.
14744 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14745 so that we don't corrupt ideas about the last event or
14746 command. Remove widget-callback-current-channel fiddling.
14747 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14749 2000-05-01 Martin Buchholz <martin@xemacs.org>
14751 * XEmacs 21.2.33 is released.
14753 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14755 * make-src-depend: Allow dots in header file name.
14757 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14759 * mule-charset.h (struct charset_lookup): Add
14760 next_allocated_1_byte_leading_byte and
14761 next_allocated_2_byte_leading_byte.
14762 * mule-charset.c: Move above two variables so that those values
14765 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14767 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14768 when string length is zero.
14769 (find_charsets_in_emchar_string): Ditto.
14771 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14773 * lisp.h: extern Qdialog and Qmenubar.
14775 * gui-x.c: added events.h.
14776 also fixed typo which made the file uncompilable.
14778 * general.c: Added Qmenubar and Qdialog
14780 2000-04-28 Ben Wing <ben@xemacs.org>
14782 * frame-msw.c (mswindows_init_frame_1):
14783 * frame-msw.c (mswindows_mark_frame):
14784 * event-msw.c (mswindows_enqueue_dispatch_event):
14786 * console-msw.h (struct mswindows_frame):
14787 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14788 there are now three hash tables for callbacks.
14789 mswindows_enqueue_dispatch_event is no longer static.
14791 * dialog-x.c (maybe_run_dbox_text_callback):
14792 * dialog-x.c (dbox_descriptor_to_widget_value):
14793 switch to new cons3 form for callbacks.
14795 * glyphs-msw.c (mswindows_register_gui_item):
14796 * glyphs-msw.c (mswindows_widget_instantiate):
14797 * glyphs-msw.c (add_tree_item):
14798 * glyphs-msw.c (add_tab_item):
14799 new image instance parameter, so it can be passed to callback-ex.
14800 respect :callback-ex as well as :callback.
14802 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14805 * glyphs.c (print_image_instance):
14806 prettify, e.g. now prints widget type.
14809 certain funs have new image instance parameter.
14812 * gui.c (get_gui_callback):
14813 * gui.c (gui_item_add_keyval_pair):
14814 * gui.c (gui_item_init):
14815 * gui.c (gui_add_item_keywords_to_plist):
14816 * gui.c (mark_gui_item):
14817 * gui.c (gui_item_hash):
14818 * gui.c (gui_item_equal):
14819 * gui.c (copy_gui_item):
14820 * gui.c (syms_of_gui):
14821 recognize callback-ex in a number of places.
14822 also, fix the annoying "can't get out of yes-no dialog" bug.
14825 * gui.h (struct Lisp_Gui_Item):
14826 recognize callback-ex in a number of places.
14828 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14829 new parameter in button_item_to_widget_value.
14831 * glyphs-x.c (x_update_widget):
14832 * glyphs-x.c (x_button_instantiate):
14833 * glyphs-x.c (x_button_update):
14834 * glyphs-x.c (x_progress_gauge_instantiate):
14835 * glyphs-x.c (x_edit_field_instantiate):
14836 * glyphs-x.c (x_combo_box_instantiate):
14837 * glyphs-x.c (x_tab_control_instantiate):
14838 * glyphs-x.c (x_label_instantiate):
14839 new image instance parameter in various places.
14842 * event-Xt.c (enqueue_Xt_dispatch_event):
14843 this fun gets exported.
14846 * gui-msw.c (mswindows_handle_gui_wm_command):
14847 handle both :callback and :callback-ex, and generate our own
14848 event because it's one of the callback-ex arguments.
14851 * gui-x.c (popup_selection_callback):
14852 handle both :callback and :callback-ex, and generate our own
14853 event because it's one of the callback-ex arguments.
14854 * gui-x.c (button_item_to_widget_value):
14855 * gui-x.c (gui_items_to_widget_values_1):
14856 * gui-x.c (gui_item_children_to_widget_values):
14857 * gui-x.c (gui_items_to_widget_values):
14858 new image instance parameter in various places.
14860 * fns.c (Freplace_list):
14861 fix small typo in doc string.
14864 declare enqueue_Xt_dispatch_event.
14866 2000-04-28 Ben Wing <ben@xemacs.org>
14869 * buffer.c (Frecord_buffer):
14870 * buffer.c (syms_of_buffer):
14871 delete record-buffer-hook.
14874 * fns.c (Freplace_list):
14875 * fns.c (syms_of_fns):
14876 new primitive replace-list.
14879 slot for old buffer-alist.
14882 exfun replace-list.
14885 * redisplay.c (redisplay_frame):
14886 * redisplay.c (syms_of_redisplay):
14887 * redisplay.c (vars_of_redisplay):
14888 new hook buffer-list-changed-hook.
14891 2000-04-27 Ben Wing <ben@xemacs.org>
14893 * extents.h: extern in_modeline_generation.
14895 * redisplay.c (generate_formatted_string_db): set
14896 in_modeline_generation.
14898 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14899 flags if in modeline generation. otherwise frame-modified-tick
14900 is ticked far too often.
14901 Declare in_modeline_generation.
14903 2000-04-26 Ben Wing <ben@xemacs.org>
14905 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14907 (vars_of_emacs): add quick-build as an error-checking option.
14908 A bit kludgy, but there doesn't seem much point in creating
14909 a real var for this.
14911 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14913 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14915 * redisplay.h (struct display_line): Add a new variable,
14918 * redisplay.c (create_text_block): Set dl->line_continuation if
14919 the line continues.
14920 (create_string_text_block): Ditto.
14921 (regenerate_window_incrementally): Use line_continuation instead
14922 of searching continuation glyph.
14923 (add_margin_runes): Call add_glyph_rune.
14924 (add_glyph_rune): Handle margin glyph.
14926 2000-04-20 Martin Buchholz <martin@xemacs.org>
14928 * filelock.c (fill_in_lock_file_name):
14930 Check for IS_ANY_SEP instead of '/'.
14932 Avoid generating gratuitous garbage. Call user_login_name() directly.
14933 Never check errno without first seeing that system call failed.
14934 (unlock_file): Add GCPRO.
14935 (Flock_buffer): Fix docstring.
14936 (Ffile_locked_p): Fix docstring. Add GCPRO.
14938 2000-04-19 Martin Buchholz <martin@xemacs.org>
14940 * sysdep.c (get_pty_max_bytes):
14941 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14942 strings longer than 252 bytes.
14944 * md5.c: Unconditionally include ANSI header <limits.h>
14946 * glyphs-x.c (convert_EImage_to_XImage):
14947 * lisp-union.h (union Lisp_Object):
14948 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14950 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14952 * filelock.c (current_lock_owner): Remove unused variable o, p.
14954 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14956 * callint.c: Remove multiply defined symbol Qlet
14957 (syms_of_callint): ditto.
14959 2000-04-14 Andy Piper <andy@xemacs.org>
14961 * general.c (syms_of_general): add last-command, this-command, let
14964 * lisp.h: declare various symbols.
14966 * glyphs.h: declare Qwidget_callback_current_channel;
14968 * glyphs-widget.c (syms_of_glyphs_widget): add
14969 Qgui_callback_current_channel.
14970 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14972 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14973 widget-callback-current-channel when invoking the interactive
14974 arg. Also bind last-command and next-command when invoking the
14976 * gui-x.c (popup_selection_callback): ditto.
14978 * gui.c (get_gui_callback): massage args so that we are always
14979 calling eval. This allows us to add our own variable bindings
14982 * glyphs-x.c (x_button_instantiate): use
14983 gui_items_to_widget_values since this is GC safe.
14984 (x_progress_gauge_instantiate): ditto.
14985 (x_edit_field_instantiate): ditto.
14986 (x_label_instantiate): ditto.
14988 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14989 (emacs_Xt_event_widget_focus_out): new function
14990 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14992 (emacs_Xt_event_add_widget_actions): new function. add focus
14993 functions as actions.
14994 (init_event_Xt_late): use it.
14996 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14998 * event-stream.c (Fdispatch_event): Doc fix.
15000 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
15002 * postgresql.c: Remove all references to PQsetenv*.
15004 * postgresql.h: Remove references to PGsetenvHandler object.
15005 * lrecord.h (lrecord_type): Ditto.
15007 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15009 * glyphs-msw.h (struct mswindows_image_instance_data): Added
15010 real_heigh and real_width members, and accessor macros for these.
15012 * glyphs-msw.c (init_image_instance_geometry): New function.
15013 (init_image_instance_from_dibitmap): Use it.
15014 (mswindows_resource_instantiate): Use it.
15015 (init_image_instance_from_xbm_inline): Use it.
15016 (mswindows_initialize_image_instance_mask): Use real bitmap
15018 (mswindows_create_resized_bitmap): Ditto.
15019 (mswindows_create_resized_mask): Ditto.
15021 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
15022 and bitmap to their surface size.
15024 2000-04-11 Jan Vroonhof <jan@xemacs.org>
15026 * process-unix.c (unix_send_process): Guard against process MIA
15027 after Faccept_process_output.
15029 2000-04-11 Ben Wing <ben@xemacs.org>
15031 * eval.c (unbind_to_hairy): fix brokenness introduced by
15032 nanosecond speed improvements.
15034 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
15036 * sunplay.c (init_device): To play sounds correctly, the device
15037 apparently needs to be initialized at least once by XEmacs. Make
15040 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
15042 * redisplay.c (add_margin_runes): Add text image glyph
15045 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
15047 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
15048 gcc is newer than 2.5.
15050 2000-04-06 Colin Rafferty <colin@xemacs.org>
15052 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
15054 * fns.c (size_bit_vector):
15055 * alloc.c (size_vector):
15056 (make_vector_internal):
15057 (make_bit_vector_internal):
15058 (sweep_bit_vectors_1):
15059 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
15061 2000-04-06 Andy Piper <andy@xemacs.org>
15063 * gmalloc.c (malloc): undo previous change.
15068 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
15070 * line-number.c (buffer_line_number): Revert to former version.
15072 2000-04-06 Andy Piper <andy@xemacs.org>
15074 * gmalloc.c (malloc): add error checking.
15079 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15080 button_item_to_widget_value arg.
15082 * glyphs-x.c (x_button_instantiate): add extra
15083 button_item_to_widget_value arg.
15084 (x_progress_gauge_instantiate): ditto.
15085 (x_edit_field_instantiate): ditto.
15086 (x_label_instantiate): ditto.
15088 * gui-x.c (gui_items_to_widget_values_1): add extra
15089 button_item_to_widget_value arg.
15090 (button_item_to_widget_value): add extra menu_item_p arg.
15092 * gui-x.h: change signature of button_item_to_widget_value.
15094 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15095 button_item_to_widget_value arg.
15097 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15099 * buffer.h (struct buffer): auto_save_modified should be long.
15101 2000-04-05 Andy Piper <andy@xemacs.org>
15103 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15105 (button_query_geometry): give a little more room so that athena
15108 2000-04-05 Andy Piper <andy@xemacs.org>
15110 * faces.c (complex_vars_of_faces): The widget face should inherit
15111 the font of the gui-element face.
15113 2000-04-04 Andy Piper <andy@xemacs.org>
15115 * glyphs-x.c (x_button_update): new function. unconditionally
15116 update a button's state when the instance is dirty.
15117 (image_instantiator_format_create_glyphs_x): add x_button_update.
15118 (x_widget_instantiate): remove old resize cruft.
15120 2000-04-02 Andy Piper <andy@xemacs.org>
15122 * frame.c (change_frame_size_1): The introduction of gutters means
15123 that we need to allow 0 as a potential frame dimension.
15125 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15127 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15128 image glyph if allow_cursor.
15129 (add_hscroll_rune): Don't allow cursor to border glyph.
15130 (create_text_block): Ditto.
15132 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15133 text not in buffer.
15134 (redisplay_output_layout): Call ensure_face_cachel_complete for
15138 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15140 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15142 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15145 * redisplay-tty.c (tty_output_display_block): Delete the routine
15146 for text image glyph
15147 * redisplay-x.c (x_output_display_block): ditto
15148 * redisplay-msw.c (mswindows_output_display_block): ditto
15150 2000-02-02 Mike Alexander <mta@arbortext.com>
15152 Note: Some of these were committed by accident as part of other
15155 * regex.c (regex_compile): Avoid compiler warnings.
15157 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15159 * nt.h: Declare term_ntproc correctly.
15161 * nt.c: Remove incorrect declaration of get_home_directory which
15162 is declared correctly in lisp.h.
15164 * keymap.c (get_keyelt): Avoid compiler warnings.
15165 (raw_lookup_key_mapper): Avoid compiler warnings.
15167 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15169 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15171 * filemode.c (mode_string): Avoid compiler warnings.
15173 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15176 * events-mod.h: Undef some things that winuser.h defines differently.
15178 * data.c (Faset): Avoid compiler warnings.
15180 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15182 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15184 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15185 Fall through to simple beep on error.
15186 Replace "extern" by real header file.
15188 * linuxplay.c: Use nativesound.h
15189 (play_sound_data): Return error code. Be less verbose on error.
15191 * sunplay.c: Use nativesound.h
15192 (play_sound_data): Return error code. Be less verbose on error.
15194 * ntplay.c: Use nativesound.h
15195 (play_sound_data): Return fake error code
15197 * sgiplay.c: Use nativesound.h
15198 (play_sound_data): Return error code
15200 * hpplay.c: Use nativesound.h, partially implement
15201 new error code. Break compilation until finished.
15202 (play_sound_data): error code.
15204 * nativesound.h (play_sound_file):
15205 (play_sound_data): Prototype in new header.
15207 2000-03-31 Andy Piper <andy@xemacs.org>
15209 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15210 for toggle and radio buttons.
15211 (image_instantiator_buttons): use it.
15213 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15215 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15216 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15217 found. Scrollbar event probably belonged to some old config.
15219 2000-03-31 Andy Piper <andy@xemacs.org>
15221 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15223 (initialize_widget_image_instance): default layout to
15224 LAYOUT_HORIZONTAL rather than 0.
15225 (widget_instantiate): reverse the item list at the end rather than
15227 (layout_layout): re-code for the border text at the front of the
15228 item list rather than at the end.
15229 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15230 provided by the user.
15231 (widget_query_geometry): comment.
15233 2000-03-30 Andy Piper <andy@xemacs.org>
15235 * glyphs-widget.c (image_instantiator_layout): allow standard
15236 widget keywords in layouts.
15238 * gutter.c (output_gutter): cope with nil gutter contents.
15240 * frame.c (Fset_frame_properties): add gutter docs.
15242 2000-03-29 Andy Piper <andy@xemacs.org>
15244 * toolbar-msw.c (TBSTYLE_FLAT): add.
15245 (mswindows_output_toolbar): minor fiddling.
15247 2000-03-29 Andy Piper <andy@xemacs.org>
15249 * gutter.c (output_gutter): force gutter size recalculation if
15250 what we are trying to display won't fit.
15251 (update_gutter_geometry): new function. A per-gutter version of
15252 update_frame_gutter_geometry.
15253 (update_frame_gutter_geometry): use it.
15254 (redraw_exposed_gutter): add extra debugging output.
15256 2000-03-28 Mike Alexander <mta@arbortext.com>
15258 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15259 (pdump_file_unmap): Implement it on Windows
15260 (pdump_file_get): Save alocated handles for pdump_file_unmap
15262 2000-03-28 Andy Piper <andy@xemacs.org>
15264 * gui.c (get_gui_callback): treat Quit specially.
15266 2000-03-27 Andy Piper <andy@xemacs.org>
15268 * glyphs.c (image_instantiate): be careful to check in the same
15271 2000-03-27 Didier Verna <didier@xemacs.org>
15273 * config.h.in: define the proper SMART_INCLUDE macro.
15274 handle renaming of `foo_h_path' to `foo_h_file'.
15276 * database.c: ditto.
15280 * linuxplay.c: ditto.
15282 * terminfo.c: ditto.
15284 * tooltalk.h: ditto.
15286 2000-03-27 Andy Piper <andy@xemacs.org>
15288 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15289 gets updated whenever the face might have changed.
15291 2000-03-26 Mike Alexander <mta@arbortext.com>
15293 * dumper.c (pdump_resource_free): Fix the comment.
15295 2000-03-21 Olivier Galibert <galibert@pobox.com>
15297 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15299 2000-03-22 Mike Alexander <mta@arbortext.com>
15301 * dumper.c: Include Windows headers on Windows
15302 (pdump_resource_free): Add a body to the function
15303 (pdump_load): exe_name -> exe_path and add some comments.
15305 2000-03-25 Mike Alexander <mta@arbortext.com>
15307 * gui.c (copy_gui_item_tree): Return a value in all cases
15309 2000-03-21 Didier Verna <didier@xemacs.org>
15311 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15313 (SMART_INCLUDE): new macro.
15314 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15315 the proper location.
15317 * postgresql.c: use it.
15321 2000-03-24 Andy Piper <andy@xemacs.org>
15323 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15326 2000-03-24 Andy Piper <andy@xemacs.org>
15328 * redisplay-output.c (compare_runes): use image_instance_changed
15329 to detect changes. Do not depend on glyphs_changed, only depend on
15331 (redisplay_output_layout): add debug messages.
15332 (compare_runes): ditto.
15334 * glyphs.h: declare new functions.
15335 (struct Lisp_Image_Instance): remove percent and associated
15338 * gui.h: declare new copying functions.
15340 * gui.c (copy_gui_item_tree): new function.
15341 (copy_gui_item): new function.
15342 (gui_item_id_hash): revert to standard hash.
15343 (gui_item_hash): ditto.
15344 (gui_item_hash_internal): deleted.
15345 (mark_gui_item): mark value.
15346 (gui_item_add_keyval_pair): add value.
15347 (gui_item_init): ditto.
15348 (gui_add_item_keywords_to_plist): ditto.
15349 (gui_item_equal): ditto.
15350 (syms_of_gui): add Q_value.
15352 * glyphs-x.c (x_progress_gauge_update): use pending items and
15353 value for setting the state.
15354 (x_update_widget): don't set items from pending here.
15356 * glyphs-widget.c (update_widget): update items here.
15357 (progress_gauge_set_property): use items for storing value. Put
15358 new value in pending items.
15360 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15361 items for new value. Convert percent -> value.
15362 (mswindows_tab_control_update): don't update items here.
15364 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15365 (update_subwindow): ditto.
15366 (image_instance_changed): new function. Compare hash values and
15367 past and present widget items.
15368 (image_instantiate): We more careful about where we instantiate
15370 (image_instantiate): add error checking.
15372 * gutter.c (syms_of_gutter): use -hook.
15374 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15376 * console-tty.c (Fset_console_tty_input_coding_system): Use
15378 (Fset_console_tty_output_coding_system): Use Qterminal.
15379 (tty_init_console): Use Qkeyboard and Qterminal.
15381 2000-03-21 Ben Wing <ben@xemacs.org>
15383 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15384 From Mike Alexander <mta@arbortext.com>.
15386 2000-03-21 Ben Wing <ben@xemacs.org>
15388 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15389 process brokenness. Proper implementation to come.
15391 Rename call-process-internal to old-call-process-internal.
15392 New impl. in process.el.
15394 2000-03-21 Martin Buchholz <martin@xemacs.org>
15396 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15398 2000-03-20 Andy Piper <andy@xemacs.org>
15400 * glyphs.c (full_list_hash): make hashes of the same elements in
15401 different orders return different values.
15403 2000-03-20 Martin Buchholz <martin@xemacs.org>
15405 * XEmacs 21.2.32 is released.
15407 2000-03-20 Martin Buchholz <martin@xemacs.org>
15409 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15410 (DFC_MALLOC_USE_CONVERTED_DATA):
15411 Add aliasing-safe casts to allow use with char* or unsigned char*
15414 * eldap.c (Fldap_open):
15415 (Fldap_search_basic):
15418 Make C++-compilable.
15419 Make sure GCPRO'ed variables are initialized.
15420 Use temp variables to avoid repeated calls to Flength.
15422 2000-03-16 Martin Buchholz <martin@xemacs.org>
15425 Make sure PATH_MAX is always defined.
15426 Include limits.h for PATH_MAX.
15427 Deprecate use of MAXPATHLEN.
15429 2000-03-10 Martin Buchholz <martin@xemacs.org>
15431 * emacs.c: Add reinit_vars_of_fileio.
15432 * symsinit.h: Add reinit_vars_of_fileio.
15433 * fileio.c (reinit_vars_of_fileio): New.
15434 * fileio.c (Fmake_temp_name):
15435 Initialize temp_name random number from microseconds to make
15436 collisions even less likely. Initialize always at process startup
15437 time. (make-temp-name) used to return the same file name twice in
15439 Random stylistic fiddling.
15442 2000-03-20 Andy Piper <andy@xemacs.org>
15444 * glyphs.c (image_instantiate): allow text glyphs to be
15445 instantiated in the minibuffer window.
15447 2000-03-19 Andy Piper <andy@xemacs.org>
15449 * glyphs.c (image_instance_hash): be careful about which items we
15452 * glyphs-widget.c (tab_control_set_property): record into pending
15453 items rather than the actual items.
15455 * glyphs-x.c (x_update_widget): use pending items to update with.
15457 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15460 * glyphs.c (mark_image_instance): mark pending items.
15462 * window.c (Fset_window_configuration): record the buffer.
15463 (Fselect_window): totally revert previous change which breaks many
15466 2000-03-18 Andy Piper <andy@xemacs.org>
15468 * glyphs-msw.c (mswindows_tab_control_update): force selected
15471 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15472 window domain cache, otherwise we get inconsistencies at
15473 startup. There is something fishy at startup which can lead to the
15474 minibuffer being the selected window when the gutter content is
15477 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15479 (parse_gui_item_tree_children): ditto.
15480 (parse_gui_item_tree_item): ditto.
15482 * glyphs.c (Fupdate_widget_instances): return something.
15484 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15486 * window.c (Fselect_window): Undo 2000-03-17 change.
15488 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15490 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15491 against v7.0 libraries. Insta-coredump city until the postgres
15494 2000-03-17 Andy Piper <andy@xemacs.org>
15496 * faces.c (complex_vars_of_faces): don't give the widget face an
15497 inherited background pixmap.
15499 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15502 * event-stream.c (Fdispatch_non_command_events): return something.
15504 * gutter.c (output_gutter): use widget face.
15505 (clear_gutter): ditto.
15507 * NEWS: adjust again.
15509 * window.c (Fselect_window): make sure this runs to completion to
15510 avoid oddities with Fset_window_configuration.
15511 (Fcurrent_window_configuration): in general do not save the
15512 minibuffer as the selected window.
15514 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15516 2000-03-16 Olivier Galibert <galibert@pobox.com>
15518 * emacs.c (Frunning_temacs_p): Revert previous patch.
15519 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15521 2000-03-16 Andy Piper <andy@xemacs.org>
15523 * glyphs-x.c (x_tab_control_update): if no widget values then
15526 * NEWS: update for new features.
15528 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15529 synthetic event to the native system.
15530 (reinit_vars_of_event_Xt): set force_event_pending to
15531 emacs_Xt_force_event_pending.
15533 * events.h (struct event_stream): add force_event_pending.
15535 * specifier.c (recompute_one_cached_specifier_in_window): add
15538 * redisplay.c (redisplay_frame): don't call
15539 update_frame_subwindows. Reset subwindow cachels when
15540 subwindows_changed, removing this was an optimization too far.
15542 * redisplay-output.c (compare_runes): reorganize so that we catch
15543 glyph changes when we want them. Set optimize_output when this
15544 would help layouts.
15545 (redisplay_output_layout): remove frame_really_changed, use
15546 optimize_output instead.
15548 * redisplay-msw.c (mswindows_output_display_block): reset
15549 optimize_output after outputting a glyph.
15550 * redisplay-x.c (x_output_display_block): ditto.
15551 * redisplay-tty.c (tty_output_display_block): ditto.
15553 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15555 (gutter_specs_changed): do specific gutter positions.
15556 (top_gutter_specs_changed): new function. Only update the
15557 specified gutter specs.
15558 (bottom_gutter_specs_changed): ditto.
15559 (left_gutter_specs_changed): ditto.
15560 (right_gutter_specs_changed): ditto.
15562 * gui.c (gui_item_hash_internal): new function, does a real hash.
15563 (gui_item_id_hash): use it.
15564 (gui_item_hash): hash the eval'ed gui_item.
15566 * gui-x.c (popup_selection_callback): send an eval event to call
15567 Fupdate_widget_instances.
15569 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15570 to call Fupdate_widget_instances.
15572 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15573 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15575 * glyphs.c: (update_frame_subwindows): deleted.
15576 (Fupdate_widget_instances): new function for updating the dirty
15577 state of widgets that might have changed.
15578 (syms_of_glyphs): add Qupdate_widget_instances.
15579 (full_list_hash): hash a list completely.
15580 (image_instance_hash): use it for items and properties.
15582 * frame-msw.c (mswindows_size_frame_internal): remove unused
15585 * faces.h (struct face_cachel): fix comment.
15587 * event-stream.c (Fdispatch_non_command_events): new
15588 function. Process non-command events, forcing an event cycle
15590 (syms_of_event_stream): declare.
15591 (event_stream_force_event_pending): new function. Force an event
15592 on the native event queue so that an event cycle will occur next
15596 (struct ntpipe_shove_stream):
15597 (mswindows_enqueue_dispatch_event):
15598 (mswindows_dequeue_dispatch_event):
15599 (mswindows_cancel_dispatch_event):
15600 (mswindows_pump_outstanding_events):
15601 (mswindows_drain_windows_queue):
15602 (mswindows_handle_paint):
15603 (mswindows_wnd_proc):
15604 (mswindows_key_to_emacs_keysym):
15605 (get_process_input_waitable):
15606 (emacs_mswindows_delete_stream_pair): re-indent file.
15607 (mswindows_need_event): do not process further fds if the windows
15608 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15609 fixes the 100% cpu problem.
15610 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15612 2000-03-15 Olivier Galibert <galibert@pobox.com>
15618 * emacs.c: Moved dump file searching to dumper.c.
15619 (Frunning_temacs_p): Fixed.
15621 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15622 last_lrecord_type_index_assigned.
15624 2000-02-20 Olivier Galibert <galibert@pobox.com>
15626 * symsinit.h: Added reinit parameter to init_console_stream
15629 * lisp.h: Added file parameter to pdump_load declaration.
15631 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15632 support. Added dump file searching.
15634 * config.h.in: Added EMACS_PROGNAME.
15636 * console-stream.c (init_console_stream): Fix reinitialisation
15637 when running from temacs.
15639 * alloc.c (pdump): Add id support.
15640 (pdump_load): Add file parameter and signature/id support.
15642 * Makefile.in.in: Add full pdump support.
15644 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15646 * postgresql.c: Update documentation to reflect latest code
15648 (print_result): Show tuple counts in printed representation when
15650 (Fpq_put_nbytes): MULE-ize.
15651 (Fpq_get_line_async): Ditto.
15653 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15655 * postgresql.c (Fpq_lo_import): Fix return value.
15656 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15658 2000-03-13 Ben Wing <ben@xemacs.org>
15660 * alloc.c (pdump_load):
15661 Fix compile warning under mswin.
15663 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15665 * postgresql.c: Mule-ization, bug fixes.
15666 Use PG_CODING to encapsulate coding system name changes.
15667 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15668 (pg-coding-system): Create.
15670 (Fpq_conn_defaults): Mule-ize.
15671 (Fpq_connectdb): Mule-ize & bug fix.
15672 (Fpq_connect_start): Mule-ize.
15673 (Fpq_set_client_encoding): Mule-ize.
15674 (Fpq_finish): Document `DEAD' connection status.
15675 (Fpq_clear): Ditto.
15676 (Fpq_pgconn): Mule-ize.
15677 (Fpq_exec): Mule-ize & bug fix.
15678 (Fpq_send_query): Ditto.
15679 (Fpq_get_result): Ditto.
15680 (Fpq_res_status): Mule-ize.
15681 (Fpq_result_error_message): Mule-ize.
15682 (Fpq_ntuples): fix comments.
15683 (Fpq_fname): Mule-ize.
15684 (Fpq_fnumber): Mule-ize.
15685 (Fpq_ftype): fix comments.
15686 (Fpq_get_value): Mule-ize.
15687 (Fpq_cmd_status): Ditto.
15688 (Fpq_cmd_tuples): Ditto.
15689 (Fpq_oid_value): Ditto.
15690 (Fpq_notifies): Ditto.
15691 (Fpq_lo_import): Ditto.
15692 (Fpq_lo_export): Ditto.
15693 (Fpq_get_line): Ditto.
15694 (Fpq_put_line): Mule-ize and bug fix.
15695 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15697 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15699 * postgresql.c (vars_of_postgresql): Mule-ize.
15700 (Fpq_conn_defaults): Ditto.
15702 2000-03-12 Ben Wing <ben@xemacs.org>
15704 * alloc.c (Fmake_byte_code):
15705 * alloc.c (debug_string_purity_print):
15706 * alloc.c (pdump_backtrace):
15707 * alloc.c (pdump_get_indirect_count):
15708 * alloc.c (pdump_register_sub):
15709 * alloc.c (pdump_register_object):
15710 * alloc.c (pdump_register_struct):
15711 * alloc.c (pdump_dump_data):
15712 * alloc.c (pdump_reloc_one):
15716 * console-msw.c (GetConsoleHwnd):
15717 * console-msw.c (msw_hide_console):
15718 * console-msw.c (msw_show_console):
15719 * console-msw.c (msw_ensure_console_buffered):
15720 * console-msw.c (msw_output_console_string):
15721 * console-msw.c (console_type_create_mswindows):
15723 a) Added functions to manipulate the console window for use with
15726 b) Added support for writing text to the console, which is now
15727 used under Windows when xemacs is not being run non-interactively,
15728 to write text that would otherwise be destined for stdout because
15729 under these circumstances, text written to stdout tends to
15730 disappear and not be seen.
15734 * event-Xt.c (x_event_to_emacs_event):
15735 * event-Xt.c (describe_event_window):
15736 * events-mod.h (XEMACS_MOD_CONTROL):
15738 * events.c (Fmake_event):
15739 * events.c (character_to_event):
15740 * events.c (event_to_character):
15741 * events.c (format_event_object):
15742 * events.c (Fevent_modifiers):
15744 * events.h (struct key_data):
15745 * events.h (struct button_data):
15746 * events.h (struct misc_user_data):
15747 * frame-x.c (Fcde_start_drag_internal):
15748 * frame-x.c (Foffix_start_drag_internal):
15749 * gpmevent.c (Freceive_gpm_event):
15751 * keymap.c (bucky_sym_to_bucky_bit):
15752 * keymap.c (control_meta_superify):
15753 * keymap.c (make_key_description):
15754 * keymap.c (keymap_lookup_directly):
15755 * keymap.c (create_bucky_submap):
15756 * keymap.c (keymap_store):
15757 * keymap.c (define_key_check_and_coerce_keysym):
15758 * keymap.c (define_key_parser):
15759 * keymap.c (define_key_alternate_name):
15760 * keymap.c (Fdefine_key):
15761 * keymap.c (raw_lookup_key_mapper):
15762 * keymap.c (struct map_keymap_unsorted_closure):
15763 * keymap.c (map_keymap_unsorted_mapper):
15764 * keymap.c (map_keymap_sort_predicate):
15765 * keymap.c (map_keymap_sorted):
15766 * keymap.c (accessible_keymaps_mapper_1):
15767 * keymap.c (where_is_recursive_mapper):
15768 * keymap.c (describe_map_mapper):
15769 * keymap.c (describe_map_sort_predicate):
15770 * keymap.c (describe_map):
15771 * keymap.c (complex_vars_of_keymap):
15772 And a number of other files, the key modifier preprocessor
15773 constants that xemacs uses have names that conflict with constants
15774 defined under MS Windows for other purposes, so they were renamed
15775 to begin with the prefix XEMACS_. The variables that hold such
15776 modifiers were changed to consistently be of type int to fix
15777 various compile warnings.
15779 * console.c (complex_vars_of_console):
15782 * device-msw.c (mswindows_finish_init_device):
15783 * device-msw.c (msw_get_workspace_coords):
15784 * device-msw.c (mswindows_device_system_metrics):
15785 and various other files, added support for a new
15786 device property called offset-workspace which returns the position
15787 of the upper left corner of the workspace area and goes along with
15788 the existing size-workspace property.
15791 * dialog-msw.c (push_bufbyte_string_as_unicode):
15792 * dialog-msw.c (mswindows_popup_dialog_box):
15793 Added support for XEmacs-style accelerator specifications in
15794 button text. Note: I didn't add support for this under X Windows,
15795 and somebody needs to do this.
15798 * dialog.c (Fpopup_dialog_box):
15799 Documented the support for accelerators that was just mentioned.
15801 editfns.c (get_home_directory): Changed behavior under Windows
15802 when HOME not defined; former behavior was irretrievably broken.
15805 * emacs.c (main_1):
15807 * minibuf.c (clear_echo_area_internal):
15808 * minibuf.c (echo_area_append):
15810 * print.c (std_handle_out_external):
15811 * print.c (std_handle_out_va):
15813 * print.c (write_string_to_stdio_stream):
15814 * print.c (output_string):
15815 * print.c (debug_print):
15816 * print.c (debug_backtrace):
15817 * print.c (debug_short_backtrace):
15818 Cleaned up the code that prints text to stdout so that this can be
15819 changed to output into a console window instead under MS Windows,
15820 as described above.
15823 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15824 * eval.c (internal_catch):
15825 * eval.c (unwind_to_catch):
15826 * eval.c (throw_or_bomb_out):
15827 * eval.c (condition_case_1):
15828 * eval.c (signal_1):
15829 * eval.c (check_error_state_sanity):
15830 * eval.c (call_with_suspended_errors_1):
15831 * eval.c (call_with_suspended_errors):
15832 * eval.c (reinit_vars_of_eval):
15833 Added code to catch throw loops and check for a pesky bug that may
15837 * event-msw.c (key_needs_default_processing_p):
15838 * event-msw.c (mswindows_wnd_proc):
15839 * event-msw.c (mswindows_modifier_state):
15840 * event-msw.c (emacs_mswindows_quit_p):
15841 * event-msw.c (vars_of_event_mswindows):
15842 a) Added support for using the alt key to select menu items as is
15843 standard under MS Windows. This is controlled using the variable
15844 menu-accelerator-enabled, just like under X Windows. There is an
15845 option on the options menu to turn this support on. I really
15846 think that it should be on by default under Windows, but I'm not
15847 going to make this change yet.
15849 b) Added support for dynamic display size changes under Windows.
15852 * event-stream.c (maybe_echo_keys):
15853 * event-stream.c (Fnext_event):
15854 * event-stream.c (command_builder_find_leaf):
15855 * event-stream.c (lookup_command_event):
15856 * event-stream.c (execute_command_event):
15857 * event-stream.c (pre_command_hook):
15858 * event-stream.c (post_command_hook):
15859 * event-stream.c (syms_of_event_stream):
15860 * event-stream.c (vars_of_event_stream):
15861 * event-stream.c (complex_vars_of_event_stream):
15862 * events.h (struct command_builder):
15864 a) Tried to clean up a little bit the horribly written x-specific
15865 accelerator code that crept into this file. I moved this code
15866 into menubar-x.c where it belongs. I also needed to move the
15867 command builder structure into the file events.h because it is
15868 accessed directly by this accelerator code. What I didn't do, but
15869 which should be done at some point, is to properly abstract this
15870 code using device methods instead of the kludgy way that it
15871 currently hooks into the event code.
15873 b) Added the lisp variables this-command-properties and
15874 last-command- properties, which should be used to synchronize two
15875 adjacent commands in preference to playing games with the variable
15876 this-command, which is typically what happens.
15878 c) Added some slightly nasty code to hook into the lisp support
15879 for shifted- motion-key selection. This is actually necessary for
15880 somewhat complicated reasons, which are described in
15881 simple.el. (NB: I think the proper thing would be to have the code
15882 that calls the pre and post command hooks also call out to generic
15883 lisp functions in simple.el, where all built-in stuff could be
15884 added. I will think about this more.)
15886 * event-unixoid.c (poll_fds_for_input):
15887 * lread.c (readchar):
15888 * redisplay-tty.c (tty_clear_frame):
15889 * redisplay-x.c (x_get_gc):
15890 * signal.c (interrupt_signal):
15891 And a whole bunch of other files: fixed up places that printed
15892 directly to stderr to instead call the function stderr_out so that
15893 the changes I made under Windows work correctly.
15895 * filemode.c (mode_string):
15899 * frame-msw.c (mswindows_size_frame_internal):
15900 Fixed the computation of frame size and position to keep the frame
15901 within the workspace area, rather than within the physical
15902 dimensions of the screen, so that the frame doesn't overlap window
15903 manager decorations, such as the start menu and toolbar, typically
15904 at the bottom of the screen.
15906 * frame.c (vars_of_frame):
15907 Changed the default frame title format under MS Windows to consist
15908 of buffername-XEmacs, which is standard under MS Windows. I think
15909 it might be a good idea to change this everywhere because I think
15910 it is superior to the current frame title format, but this is the
15911 kind of change that is likely to cause some people to get annoyed,
15912 so I'm not making it.
15914 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15916 * gui-msw.c (mswindows_handle_gui_wm_command):
15917 Fixed compile warnings.
15920 * gui-x.c (strdup_and_add_accel):
15921 * gui-x.c (button_item_to_widget_value):
15923 Added code to automatically put an accelerator onto the beginning
15924 of menu items that don't have one as is now the standard, and is
15925 described more later. Also fixed things so that the menu item
15926 name can be an evaluated expression, again a new standard.
15929 * gui.c (gui_item_add_keyval_pair):
15930 * gui.c (make_gui_item_from_keywords_internal):
15931 * gui.c (gui_add_item_keywords_to_plist):
15932 * gui.c (gui_item_accelerator):
15933 * gui.c (gui_name_accelerator):
15934 * gui.c (gui_item_included_p):
15935 * gui.c (gui_item_display_flush_left):
15936 * gui.c (gui_item_display_flush_right):
15937 * gui.c (parse_gui_item_tree_item):
15938 * gui.c (parse_gui_item_tree_children):
15939 * gui.c (parse_gui_item_tree_list):
15940 Mule-ized. Cleanup. GCPRO addition.
15942 * line-number.c (buffer_line_number):
15944 * lisp.h (EMACS_INT_MAX):
15945 Added the manifest constant EMACS_INT_MIN corresponding to the
15946 existing constant EMACS_INT_MAX. This is partially to fix compile
15947 warnings under Windows, and partly for cleanliness.
15950 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15951 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15952 * menubar-msw.c (displayable_menu_item):
15953 * menubar-msw.c (populate_menu_add_item):
15954 * menubar-msw.c (populate_or_checksum_helper):
15955 * menubar-msw.c (populate_menu):
15956 * menubar-msw.c (update_frame_menubar_maybe):
15957 * menubar-msw.c (prune_menubar):
15958 * menubar-msw.c (msw_char_is_accelerator):
15959 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15960 * menubar-msw.c (mswindows_handle_wm_command):
15961 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15962 * menubar-msw.c (mswindows_handle_wm_initmenu):
15963 * menubar-msw.c (mswindows_update_frame_menubars):
15964 * menubar-msw.c (mswindows_free_frame_menubars):
15965 * menubar-msw.c (mswindows_popup_menu):
15966 Fixed a bug in handling accelerators where an extra character
15967 would be displayed in the menu item. Also generalized the
15968 function displayable_menu_item because it is now used by the
15969 dialog box code as well. And finally, added code in the functions
15970 that create the menubar to extract a list of accelerators for the
15971 top level menubar, which is used in the event code to determine
15972 whether a particular alt-key combination should be used to invoke
15973 a menu item, or should be passed through to access the standard
15974 XEmacs keymap binding for this key combination.
15976 Much needed GCPROing.
15979 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15980 * menubar-x.c (menu_item_descriptor_to_widget_value):
15981 * menubar-x.c (restore_in_menu_callback):
15982 * menubar-x.c (x_popup_menu):
15983 * menubar-x.c (menu_move_up):
15984 * menubar-x.c (menu_move_down):
15985 * menubar-x.c (menu_move_left):
15986 * menubar-x.c (menu_move_right):
15987 * menubar-x.c (menu_select_item):
15988 * menubar-x.c (command_builder_operate_menu_accelerator):
15989 * menubar-x.c (menu_accelerator_junk_on_error):
15990 * menubar-x.c (command_builder_find_menu_accelerator):
15991 * menubar-x.c (Faccelerate_menu):
15993 Moved a whole bunch of code here that was previously in
15994 event-stream.c as described above. There is also code connected
15995 to the new standard of adding an accelerator to the beginning of
15996 menu items that don't have one as described above and below.
15999 * menubar.c (menu_parse_submenu_keywords):
16000 * menubar.c (Fmenu_find_real_submenu):
16001 * menubar.c (Fnormalize_menu_item_name):
16002 * menubar.c (syms_of_menubar):
16003 * menubar.c (vars_of_menubar):
16004 * menubar.c (complex_vars_of_menubar):
16006 a) Cleaned up a bunch of documentation and improved it.
16008 b) XEmacs now automatically adds an accelerator onto the beginning
16009 of any menu items that don't have one. I did this because there
16010 will inevitably be some menu items on the main menubar that don't
16011 have accelerators on them because the package that adds that
16012 particular menu item hasn't yet been fixed up to have accelerators
16013 in them and it looked rather strange to have some items with and
16014 some items without accelerators, especially since even in items
16015 without accelerators, you can, at least under windows, still
16016 access the item through an accelerator corresponding to the first
16017 character in the item's name. If people don't like this behavior,
16018 I can add a variable to turn it off optionally, but I'm not sure
16019 this is a good idea because we really do need to have accelerators
16020 on all of the menu items, and if a package doesn't like the
16021 accelerators being put on the first character, then it should put
16022 the accelerators where they belong.
16024 c) I made a behavior change, which is that the descriptor that
16025 specifies the text of the menu item, which formerly was just a
16026 string, can now also be an evaluated expression. This makes this
16027 descriptor parallel with all of the others, which could also be
16028 evaluated expressions. This also obviates the need for the
16029 keyword :label, which was previously listed in the documentation
16030 as unimplemented, and which was for the same purpose.
16035 * ntproc.c (new_child):
16036 * ntproc.c (sys_spawnve):
16037 * ntproc.c (find_child_console):
16038 * ntproc.c (sys_kill):
16039 Fixed compile warnings. By the way, this file should really go
16040 away entirely, and this will happen as soon as Kirill makes his
16041 final round of process cleanups, which affect the function
16045 * process-nt.c (struct nt_process_data):
16046 * process-nt.c (find_process_from_pid):
16047 * process-nt.c (send_signal_the_nt_way):
16048 * process-nt.c (enable_child_signals):
16049 * process-nt.c (find_child_console):
16050 * process-nt.c (send_signal_the_95_way):
16051 * process-nt.c (nt_finalize_process_data):
16052 * process-nt.c (ensure_console_window_exists):
16053 * process-nt.c (nt_create_process):
16054 * process-nt.c (nt_kill_child_process):
16055 * process-nt.c (nt_kill_process_by_pid):
16056 * process-nt.c (nt_open_network_stream):
16057 * process-nt.c (vars_of_process_nt):
16058 Copied over code from Emacs 20.5 to correctly send signals to sub-
16059 processes under Windows 95. Also added code to automatically
16060 create and hide console window when a sub-process is created under
16061 Windows 95, which obviates the need for the separate runemacs.exe
16062 executable, and finally implemented some variables that were
16063 implemented in Emacs 20.5, but previously not in XEmacs. These
16064 include mswindows- start-process-share-console and
16065 mswindows-start-process-inherit-error-mode. (Both of these only
16066 apply to Windows 95.)
16068 * regex.c (regex_compile): Fixed a compile warning.
16071 * select-msw.c (mswindows_own_selection):
16072 * select-msw.c (mswindows_get_foreign_selection):
16073 * select-msw.c (mswindows_disown_selection):
16074 * select-msw.c (console_type_create_select_mswindows):
16075 * select-msw.c (syms_of_select_mswindows):
16076 Cleaned up the file and implemented the device method
16077 selection_exists_p, which had accidentally been left out. Also
16078 removed four lisp functions that were remnants from before the
16079 time when the selection code was properly device abstracted.
16080 These functions are no longer needed because there are generic
16081 equivalents, and because they were added recently and don't exist
16082 in FSF Emacs, I don't think there's any problem with just deleting
16086 * sysdep.c (sys_subshell):
16087 Fixed a compile warning, although in this case there's probably
16088 something wrong with this code, and it ought to be looked into
16089 more thoroughly by somebody who understands it.
16092 * window.c (Fwindow_text_area_height):
16093 * window.c (Fwindow_width):
16094 * window.c (Fwindow_full_width):
16095 * window.c (Fwindow_pixel_width):
16096 * window.c (debug_print_window):
16097 * window.c (syms_of_window):
16098 Added functions window-text-area-height and window-full-width,
16099 which are functions for returning various width and height
16100 characteristics of a window. (One of these functions is necessary
16101 for making the file dialog box work correctly, and the other one
16102 was added for completeness.) Also added a table to the
16103 documentation for window-height which describes the entire scheme
16104 for accessing width and height characteristics of a window.
16106 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16108 * nt.c (fstat): Added a comment for another problem with
16109 non-encapsulated [f]stat(), reported by Adrian Aichner
16110 <aichner@ecf.teradyne.com>.
16112 2000-03-11 Andy Piper <andy@xemacs.org>
16114 * window.c (make_dummy_parent): initialize subwindow instance
16116 (Fset_window_configuration): zero extent_modiff.
16118 2000-03-10 Andy Piper <andy@xemacs.org>
16120 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16121 more changes can be triggered.
16122 (Fredisplay_frame): ditto.
16123 (Fredraw_device): ditto.
16124 (Fredisplay_device): ditto.
16125 (redisplay_frame): make non-static.
16126 (redisplay_frame): call update_frame_gutter_geometry outside of
16129 * gutter.h: declare update_frame_gutter_geometry.
16131 * redisplay.h: declare redisplay_frame.
16133 * gutter.c (update_frame_gutter_geometry): move geometry changes
16134 in update_frame_gutters here. Geometry changes can only occur
16135 outside of redisplay.
16136 (update_frame_gutters): remove geometry change code.
16137 (Fredisplay_gutter_area): make sure that we are in display when we
16138 update and that we have flushed any size changes.
16140 2000-03-11 Andy Piper <andy@xemacs.org>
16142 * alloc.c (pdump_dump_data): remove i & count shadows.
16144 2000-02-27 Mike Alexander <mta@arbortext.com>
16146 * sysdep.h: Declare pdump_read_file
16148 * sysdep.c (pdump_read_file): New function
16150 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16153 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16155 * lrecord.h: add `lrecord_type_pgsetenv'.
16157 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16159 * symsinit.h: declare (vars|syms)_of* functions.
16160 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16162 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16164 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16166 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16169 * emacs.c (main_1): Call postgres initialization code.
16171 * postgresql.h: New file. PostgreSQL RDBMS support.
16172 * postgresql.c: New file.
16174 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16176 * redisplay-output.c (redisplay_output_display_block): Disable
16179 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16181 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16182 (Fcanna_henkan_next): Ditto.
16183 (Fcanna_bunsetu_henkou): Ditto.
16184 (Fcanna_henkan_kakutei): Ditto.
16185 (Fcanna_henkan_end): Ditto.
16186 (Fcanna_henkan_quit): Ditto.
16187 (Fcanna_henkan_next): Set retun value correctly.
16188 (c2mu): Use unsigned char instead of signed char.
16190 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16192 * emacs.c (main_1): Always call syms_of_gui.
16193 * inline.c: include gui.h
16195 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16197 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16198 converted to Lisp_Object.
16199 (Qtop_bottom): New variable.
16200 (syms_of_redisplay): Initialize it.
16201 * redisplay.h (Vvisible_bell): Ditto.
16202 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16203 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16204 only flash top and bottom.
16206 2000-03-08 Andy Piper <andy@xemacs.org>
16208 * buffer.c (Frename_buffer): record new buffer name the right way.
16210 2000-03-08 Andy Piper <andy@xemacs.org>
16212 * glyphs.c (update_subwindow): increase hash depth so that widget
16213 items get picked up properly.
16215 * redisplay-output.c (compare_runes): increase hash depth so that
16216 widget items get picked up properly.
16218 2000-03-08 Andy Piper <andy@xemacs.org>
16220 * gutter.c (output_gutter): add some debug.
16222 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16223 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16224 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16226 * redisplay-output.c (compare_runes): use display_hash to
16227 determine if glyphs really are not the same.
16229 * glyphs.c (update_subwindow): check display_hash to see if
16230 anything really needs to be updated. If not then do
16231 nothing. Record the display_hash after updating.
16232 (image_instance_equal): compare the image_instance face also.
16234 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16236 * redisplay.h: Fix comment style.
16238 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16240 * consle-msw.h (struct mswindows_frame):
16241 Added new member paint_pending to indicate whether a WM_PAINT
16242 magic event has been queued for this frame.
16244 * event-msw.c (mswindows_drain_windows_queue):
16245 Don't queue a WM_PAINT magic event if one is already queued.
16246 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16248 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16250 2000-03-07 Didier Verna <didier@xemacs.org>
16252 * dired.c: #include `regex.h' after `sysfile.h'.
16254 2000-03-06 Martin Buchholz <martin@xemacs.org>
16256 * sound.c (init_nas_sound): Fix compiler warning.
16258 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16260 (MARK_STRUCT_AS_FREE):
16261 (MARK_STRUCT_AS_NOT_FREE):
16262 Make `gcc -fstrict-aliasing' work properly.
16264 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16266 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16267 (mswindows_delete_device): Call CoUnnitialize().
16269 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16271 2000-02-25 <CraigL@DyCon.com>
16273 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16276 * sysdep.c: This extern declaration for environ prevents MinGW
16277 from finding the variable in CRTDLL.DLL.
16279 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16281 (SHGFI_EXETYPE): ..
16282 (WM_MOUSEWHEEL): ..
16283 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16285 (MMRESULT): Removed, now defined in cygwin's windows headers.
16287 (uid_t,gid_t,pid_t,ssize_t): ..
16288 (_timeb): Removed, MinGW defines both _timeb and timeb.
16289 (HAVE_H_ERRNO): Added.
16290 (HAVE_TZNAME): Added, configure is not detecting this.
16292 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16294 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16295 * syntax.c (syntax_match): Use it.
16297 * cmds.c: Import auto-fill-chars from FSF Emacs.
16298 (Vauto_fill_chars): New variables.
16299 (internal_self_insert): Check Vauto_fill_chars.
16301 Declare auto-fill-chars as a Lisp variable and initialize it.
16303 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16305 * fileio.c (Fmake_symbolic_link):
16307 Run handlers even if local machine doesn't have symlinks.
16309 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16311 * event-msw.c (mswindows_drain_windows_queue):
16312 Don't generate paint magic events for non-XEmacs frames.
16314 2000-03-05 Andy Piper <andy@xemacs.org>
16316 * redisplay.c (redisplay_frame): generate_displayable_area and
16317 friends assumes that we are not in GC, we therefore have to make
16318 sure that this doesn't happen.
16320 * gutter.c (calculate_gutter_size): generate_displayable_area
16321 assumes that we are not in GC, we therefore have to make sure that
16322 this doesn't happen.
16324 2000-03-05 Martin Buchholz <martin@xemacs.org>
16326 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16328 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16330 * redisplay.c (regenerate_window): Make sure we set a sane value
16331 for end_pos even if we jump out of the loop.
16332 (regenerate_window): Answer Ben's question :-).
16333 (start_end_of_last_line): Add may_error argument.
16334 (start_of_last_line):
16335 (end_of_last_line): Pass may_error = 0.
16336 (end_of_last_line_may_error): New function.
16337 (pixel_to_glyph_translation): Use it, so we don't crash in
16340 2000-03-04 Andy Piper <andy@xemacs.org>
16342 * window.h (struct window): add gutter_extent_modiff.
16344 * window.c (allocate_window): zero out gutter_extent_modiff.
16346 * redisplay.h: declare sync_display_line_structs.
16348 * redisplay.c (add_glyph_rune): add a better comment.
16350 * redisplay-output.c (sync_display_line_structs): made non-static.
16351 (compare_runes): remove unneccesary glyph cachel access.
16353 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16355 * gutter.c (output_gutter): don't output the gutter if extent
16356 changes only involve extents in buffers. use 4 sets of display
16358 (gutter_extent_signal_changed_region_maybe): new function. Mark
16359 extents in gutters as changed.
16360 (update_frame_gutters): use 4 sets of display lines.
16361 (reset_gutter_display_lines): ditto.
16362 (free_frame_gutters): ditto.
16363 (redraw_exposed_gutter): force output of gutters.
16365 * frame.h (struct frame): add 4 sets of gutter display lines.
16367 * extents.c: (extent_changed_for_redisplay): signal changes to
16368 extents in strings in the gutter as well as extents in buffers.
16370 2000-03-02 Andy Piper <andy@xemacs.org>
16372 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16374 * frame.c (Fmake_frame): make sure the gutters get initialized
16375 after the frame is visible.
16376 (set_frame_selected_window): re-arrange compilation macros a
16378 (change_frame_size_1): mark gutters changed.
16380 * device.c (Fset_device_class): mark gutters changed.
16382 2000-03-01 Andy Piper <andy@xemacs.org>
16384 * window.c (window_top_frame_gutter_height): deleted.
16385 (window_bottom_frame_gutter_height): ditto.
16386 (window_left_frame_gutter_height): ditto.
16387 (window_right_frame_gutter_height): ditto.
16388 (window_top_gutter_height): don't use them.
16389 (window_bottom_gutter_height): ditto.
16390 (window_left_gutter_width): ditto.
16391 (window_right_gutter_width): ditto.
16392 (Fsplit_window): ditto.
16393 (Fwindow_pixel_edges): don't use border dimensions here.
16395 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16396 (update_scrollbar_instance): ditto.
16398 * redisplay.c (generate_modeline): don't take gutters into account.
16399 (generate_modeline): ditto.
16400 (redisplay_frame): small gutter display optimization.
16402 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16404 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16405 gutters into account.
16407 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16408 for window position and type.
16410 * gutter.c (get_gutter_coords): fix for frame gutters.
16411 (update_frame_gutters): update frame geometry if the gutters have
16413 (init_frame_gutters): record current gutter geometries.
16415 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16417 (mswindows_widget_instantiate): ditto.
16419 * frame.h (struct frame): add current_gutter_bounds.
16421 * frame.c (change_frame_size_1): position window and minibuffer
16422 appropriately taking into account the frame gutters.
16424 * frame-x.c: (x_initialize_frame_size): take into account the
16427 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16429 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16431 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16433 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16435 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16437 * file-coding.c (reset_decoding_stream): Clear previous
16438 detection state when autodetect.
16440 2000-02-29 Didier Verna <didier@xemacs.org>
16442 * extents.c (set_extent_glyph_1): don't require extents to be
16445 2000-02-27 Andy Piper <andy@xemacs.org>
16447 * gutter.c (Fset_default_gutter_position): don't default left and
16448 right gutter visibility to t.
16449 (Fset_default_gutter_position): run
16450 default-gutter-position-changed-hook.
16451 (syms_of_gutter): add default-gutter-position-changed-hook.
16453 2000-02-26 Andy Piper <andy@xemacs.org>
16455 * specifier.c (Fmake_specifier): add gutter references.
16457 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16459 * lisp.h: declare Fvalid_plist_p.
16461 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16463 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16464 well as its visibility so that it gets reconstructed.
16465 (construct_window_gutter_spec): new function. Construct a string
16466 to be displayed in the gutter from a plist of strings. Take care
16467 to only use elements that are declared as visible.
16468 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16470 (gutter_validate): allow plists of strings in the specifier.
16471 (gutter_specs_changed): construct the real_gutter from the gutter
16472 specs using construct_window_gutter_spec.
16473 (gutter_visible_validate): gutter-visible is a new specifier type.
16474 (Fgutter_visible_specifier_p): new function for the new specifier.
16475 (syms_of_gutter): declare gutter-visible and
16476 Fgutter_visible_specifier_p.
16477 (specifier_type_create_gutter): intitalize new gutter-visible
16479 (reinit_specifier_type_create_gutter): ditto.
16480 (specifier_vars_of_gutter): use new specifier type for gutter
16482 (init_frame_gutters): construct real_gutter correctly.
16483 (Fgutter_specifier_p): beef up documentation.
16484 (Fgutter_size_specifier_p): ditto.
16486 * winslots.h: add real_gutter slots.
16488 2000-02-25 Andy Piper <andy@xemacs.org>
16490 * device-msw.c: Be kind to older cygwin versions. From Raymond
16491 Toy <toy@rtp.ericsson.se>.
16493 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16494 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16496 2000-02-25 Martin Buchholz <martin@xemacs.org>
16498 * elhash.c (MARK_OBJ): Practice macro hygiene.
16500 2000-02-24 Martin Buchholz <martin@xemacs.org>
16502 * miscplay.c: s/__inline__/inline/g;
16503 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16504 (get_device_compdc): INLINE ==> static inline
16505 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16506 find -name '*.h' | \
16507 xargs global-replace \
16508 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16510 2000-02-25 Andy Piper <andy@xemacs.org>
16512 * window.c (window_top_frame_gutter_height): new function.
16513 (window_top_window_gutter_height): ditto.
16514 (window_top_gutter_height): use them.
16515 (window_bottom_frame_gutter_height): new function.
16516 (window_bottom_window_gutter_height): ditto.
16517 (window_bottom_gutter_height): use them.
16518 (window_left_window_gutter_width): new function.
16519 (window_left_frame_gutter_width): ditto.
16520 (window_left_gutter_width): use them.
16521 (window_right_window_gutter_width): new function.
16522 (window_right_frame_gutter_width): ditto.
16523 (window_right_gutter_width): use them.
16524 (window_pixel_height): new function. calulate window pixel height
16525 with frame gutter involvement.
16526 (Fsplit_window): calculate new sizes taking frame gutters into
16528 (window_char_height_to_pixel_height): don't include frame gutters.
16529 (window_char_height): use window_pixel_height.
16530 (window_pixheight): rename from window_pixel_height.
16531 (change_window_height): use it.
16532 (window_pixel_height_to_char_height): don't include frame gutters.
16533 (window_char_width_to_pixel_width): ditto.
16535 2000-02-25 Andy Piper <andy@xemacs.org>
16537 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16540 2000-02-24 Martin Buchholz <martin@xemacs.org>
16542 * alloc.c (staticpro):
16543 (staticpro_nodump):
16548 (compact_string_chars):
16549 (pdump_dump_wired):
16550 Convert: if (foo) abort(); ==> assert (! foo);
16552 * eldap.c (Fldap_search_basic):
16556 Fix compiler warnings, and possible crashes if (random) return
16557 value were to be used.
16559 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16561 * device-msw.c: Workaround ResetDC failure.
16563 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16564 applying a devmode.
16566 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16567 (mswindows_text_width): Do not start printer page.
16569 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16571 * glyphs-msw.c: Added image methods to msprinter console and
16572 msprinter-specific image instantiation.
16574 2000-02-20 Mike Alexander <mta@arbortext.com>
16576 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16577 to avoid crashes when selection-sets-clipboard is on
16578 (mswindows_own_selection): ditto
16580 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16583 * redisplay-msw.c (get_frame_dc):
16584 (get_frame_compdc):
16586 * device-msw.c (mswindows_init_device):
16587 (mswindows_delete_device):
16588 (msprinter_init_device):
16589 (msprinter_delete_device):
16590 * frame-msw.c (mswindows_init_frame_1):
16591 (mswindows_delete_frame):
16592 (msprinter_init_frame_3):
16593 (msprinter_delete_frame): Move compatible DC to device object from
16594 frame object, for both mswindows and msprinter. Only one at a time
16595 is needed, it is a real waste to have one per frame!
16597 2000-02-23 Andy Piper <andy@xemacs.org>
16599 * glyphs.c: add dynamic width and height elements.
16600 (image_instance_equal): ditto.
16602 * glyphs-widget.c (widget_query_geometry): calculate width and
16603 height dynamically if required.
16604 (initialize_widget_image_instance): initialize dynamic dimensions.
16605 (widget_instantiate): pick-up dynamic dimensions.
16607 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16608 dynamic determination. Add appropriate macros.
16610 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16612 (WINDOW_GUTTER_SIZE): ditto.
16613 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16615 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16617 (get_frame_dc): ditto.
16619 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16622 2000-02-23 Martin Buchholz <martin@xemacs.org>
16624 * XEmacs 21.2.31 is released.
16626 2000-02-22 Ben Wing <ben@xemacs.org>
16628 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16630 2000-02-22 Andy Piper <andy@xemacs.org>
16632 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16634 2000-02-21 Mike Sperber <mike@xemacs.org>
16638 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16641 2000-02-21 Mike Sperber <mike@xemacs.org>
16643 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16645 2000-02-21 Martin Buchholz <martin@xemacs.org>
16647 * XEmacs 21.2.30 is released.
16649 2000-02-20 Martin Buchholz <martin@xemacs.org>
16651 Performance hacking.
16653 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16654 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16655 * emacs.c (main_1):
16657 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16658 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16659 * symeval.h (DEFVAR_SYMVAL_FWD):
16660 * symbols.c (guts_of_unbound_marker):
16661 Make all c_readonly objects also lisp_readonly and marked for life.
16662 * lrecord.h (struct lrecord_implementation):
16663 Document flags better.
16664 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16665 * lrecord.h (DECLARE_LRECORD):
16666 * lrecord.h (XSETRECORD):
16667 * lrecord.h (RECORDP):
16668 * lrecord.h (RECORD_TYPEP):
16669 * lrecord.h (RECORD_MARKER): New.
16670 * lrecord.h (error_check_*):
16671 * lrecord.h (CONCHECK_NONRECORD):
16672 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16673 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16674 * lrecord.h (set_lheader_implementation):
16675 * lrecord.h (enum lrecord_type): New.
16676 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16677 * alloc.c (disksave_object_finalization_1):
16678 * alloc.c (mark_object):
16679 * alloc.c (lrecord_type_index):
16680 * alloc.c (tick_lcrecord_stats):
16681 * alloc.c (Fgarbage_collect):
16682 * alloc.c (init_alloc_once_early):
16683 * alloc.c (pdump_load):
16684 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16685 * alloc.c (lrecord_type_index): Delete.
16686 Make lisp object type indexes be constant.
16687 Makes (byte-compile) 5% faster.
16688 Put all marker functions into their own array.
16689 Makes (garbage-collect) 5% faster.
16690 Optimize SYMBOL_VALUE_MAGIC_P.
16691 Makes (byte-compile) 2-3% faster.
16692 * config.h.in (gc_checking_assert): New.
16693 * alloc.c: Use gc_checking_assert().
16694 * .dbxrc: Make compatible with new object type implementation.
16695 * .gdbinit: Make compatible with new object type implementation.
16696 * alloc.c: Delete all symbols defined only for debugging, such as
16697 Lisp_Type_Vector and lrecord_charset.
16699 2000-02-21 Andy Piper <andy@xemacs.org>
16701 * gui-msw.c (Fmswindows_shell_execute): fix file location
16704 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16705 unshowing so that set_window_buffer doesn't undo
16706 kill_buffer_hook's hard work.
16708 * glyphs-widget.c (tab_control_query_geometry): don't count the
16709 first item when calculating geometry.
16711 * glyphs.c (map_subwindow): remove redundant code.
16712 (update_frame_subwindows): be more circumspect about when to
16715 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16716 when items haven't changed. Update faces if faces have changed as
16717 well as just the widget face.
16718 (x_tab_control_update): Update faces if faces have changed as well
16719 as just the widget face.
16721 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16723 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16725 (build_syscolor_string): Use mswindows_color_to_string to try to
16727 (mswindows_device_system_metrics): Reverse the foreground and
16728 background colors so that they match the documentation.
16730 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16731 they match the default Windows palette.
16732 (mswindows_color_to_string): New function.
16734 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16736 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16738 2000-02-18 Olivier Galibert <galibert@pobox.com>
16740 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16741 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16743 * symbols.c (init_symbols_once_early): Removed obsolete
16744 DATA_SEG_BITS related kludge.
16745 (defvar_magic): Ditto.
16747 * malloc.c: Removed obsolete DATA_SEG_BITS
16749 * mem-limits.h: Ditto.
16751 * Makefile.in.in: Removed obsolete HAVE_SHM
16754 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16756 * device-msw.c (mswindows_delete_device): Free DDE string
16759 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16761 * keymap.c (get_keyelt):
16762 * unexnt.c (unexec):
16763 * vm-limit.c (memory_warnings):
16764 * ntheap.c (recreate_heap):
16765 * ntheap.h (UNINIT_PTR):
16766 * select-msw.c (Fmswindows_get_clipboard):
16767 (Fmswindows_set_clipboard):
16768 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16770 * menubar-msw.c (displayable_menu_item):
16772 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16773 * sysdep.c (sys_subshell):
16774 * process-nt.c (nt_create_process):
16775 * nt.c (normalize_filename):
16776 (dostounix_filename):
16777 (unixtodos_filename):
16778 * ntproc.c (win32_executable_type):
16779 * ntplay.c (play_sound_data_1):
16781 * editfns.c (get_home_directory):
16782 * event-msw.c (struct winsock_stream):
16783 (mswindows_dde_callback):
16784 * device-msw.c (msprinter_init_device):
16785 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16787 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16788 mswindows_clear_toolbar were swapped!
16790 * objects-msw.c:(colormap_t):
16792 * emacs.c (struct standard_args): Fixed const jumble.
16794 * glyphs-widget.c (update_widget): Fixed comparison notation.
16796 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16798 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16799 __declspec(noreturn) syntax.
16801 2000-02-19 Martin Buchholz <martin@xemacs.org>
16803 * eldap.c (Fldap_open):
16804 (Fldap_search_basic):
16807 Use new coding system conversion macros.
16809 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16811 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16813 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16815 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16816 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16818 * eldap.c (Qadd, Qreplace): New constant symbols
16819 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16820 interruptions by XEmacs signals
16821 Remove unnecessary calls to slow_down_interrupts and
16822 speed_up_interrupts
16823 (Fldap_search_basic): Renamed from Fldap_search_internal
16824 Added new optional parameter VERBOSE that triggers the
16825 display of progress messages
16826 Remove unnecessary calls to slow_down_interrupts and
16827 speed_up_interrupts
16828 LDAP result code analysis rewritten
16829 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16830 (syms_of_eldap): Define the new symbols and functions
16833 2000-02-17 Martin Buchholz <martin@xemacs.org>
16835 * realpath.c: Determine PATH_MAX maximally portably.
16837 * insdel.c (bytecount_to_charcount): Optimize.
16838 The function used to be optimized for entirely ASCII sequences.
16839 Now it is optimized for successive characters from the same
16840 charset. This also wins big for _mostly_ ASCII sequences.
16842 * fileio.c (Ffile_truename): convert return from realpath() using
16843 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16844 - Rewrite GCPROing slightly.
16846 * sysdep.c (sys_open): Do filename conversion, like all other
16847 sys_* functions. Fixes bug:
16848 (let ((file-name-coding-system 'iso-8859-2))
16849 (write-region x y latin2-name))
16850 ==> writes filename using internal encoding.
16852 2000-02-18 Martin Buchholz <martin@xemacs.org>
16854 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16855 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16856 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16857 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16858 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16859 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16860 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16861 (CONST_IF_NOT_DEBUG): Delete.
16862 * alloc.c (this_one_is_unmarkable): Delete.
16863 (mark_object): Don't check for this_one_is_unmarkable. Use the
16864 c_readonly flag instead.
16865 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16867 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16869 * event-msw.c (mswindows_drain_windows_queue):
16870 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16871 away redundant repaint events.
16873 2000-02-17 Andy Piper <andy@xemacs.org>
16875 * redisplay.h: declare mark_redisplay_structs.
16877 * redisplay.c (redisplay_window):
16878 (redisplay_frame): don't check subwindows_state_changed.
16879 (mark_redisplay): mark gutters here.
16881 * glyphs.c: (instantiate_image_instantiator): always layout if we
16882 haven't done so already.
16883 (allocate_image_instance): don't mark as dirty.
16884 (update_subwindow): bind inhibit_quit.
16886 * gutter.c (mark_gutters): new function.
16888 * glyphs-x.c (x_update_widget): Always resize to get round a
16891 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16892 breaking absolutely everything.
16894 * gutter.h: declare mark_gutters.
16896 2000-02-16 Martin Buchholz <martin@xemacs.org>
16898 * XEmacs 21.2.29 is released.
16900 2000-02-15 Olivier Galibert <galibert@pobox.com>
16902 * fns.c (size_bit_vector): Fix computation of the size.
16904 2000-02-15 Martin Buchholz <martin@xemacs.org>
16906 * *.[ch]: Change CONST to const globally.
16907 find -name '*.[ch]' | \
16908 xargs global-replace \
16909 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16910 - Remove vestigial references to CONST_IS_LOSING
16912 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16914 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16915 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16916 events instead of dispatching them directly.
16917 (mswindows_handle_paint): New function to do repainting.
16918 (mswindows_wnd_proc):
16919 (emacs_mswindows_handle_magic_event): Call above function.
16921 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16923 * objects-msw.c (mswindows_create_font_variant): Return the new
16925 (initialize_font_instance): Get font metrics from the underlined
16926 variant of the font to cope with the case where the underlined
16927 font has a bigger descent.
16929 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16931 * gui.c (gui_item_accelerator): Return the first underlined
16932 character in item name.
16934 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16936 * lisp.h: Added Qprinter.
16938 * general.c (syms_of_general): Initialized it.
16940 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16942 (get_frame_compdc): Made inline.
16944 * console.h (struct console_methods): Added eject_page method.
16946 * frame.h: Added FRAME_DISPLAY_P and friends.
16947 Aligned backslahes in many macros in more readable fashion.
16948 Added page_number to struct frame, and an accessor macro
16951 * defice.h: Added DEVICE_DISPLAY_P and friends.
16953 * device.c (Fdevice_printer_p): Used these.
16955 * frame.c (allocate_frame_core): Initialize page number.
16956 (Fprint_job_page_number):
16957 (Fprint_job_eject_page): Implemented.
16959 * frame-msw.c (msprinter_eject_page): Added method.
16960 (msprinter_start_page): Added.
16962 * window.c (Fwindow_truncated_p): Fixed docstring.
16963 (Fwindow_last_line_visible_height): Implemented.
16965 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16967 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16969 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16971 * syntax.c (scan_words): Always advance at least one character.
16973 2000-02-13 Andy Piper <andy@xemacs.org>
16975 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16976 to make sure the glyph is in the cachels.
16978 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16979 global image instance flag.
16980 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16981 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16983 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16984 (Fset_image_instance_property): mark layout as changed.
16985 (invalidate_glyph_geometry_maybe): mark layout as changed.
16986 (glyph_width): use new NEEDS_LAYOUT macro.
16987 (glyph_ascent): ditto.
16988 (glyph_descent): ditto.
16989 (glyph_height): ditto.
16990 (image_instance_layout): mark layout as clean after laying out.
16991 (update_subwindow): don't mark layout as clean here.
16993 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16994 should no longer be needed.
16996 * glyphs-x.c (x_update_widget): sanitize asserts.
16997 (x_finalize_image_instance): sanitize assignment to widgets.
16999 * glyphs-widget.c (widget_instantiate): don't need to clear the
17002 2000-02-13 Martin Buchholz <martin@xemacs.org>
17004 * sysdep.c (getcwd): Use standard prototype.
17005 * sysdep.h (getcwd): Use standard prototype.
17007 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
17008 (sequence, start, end).
17009 Remove redundant type checking.
17010 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
17011 view of `caller-protects') to avoid a crash where the real fix was
17014 2000-02-12 Martin Buchholz <martin@xemacs.org>
17016 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
17018 * s/sol2.h: Remove feature macro initialization.
17020 * alloc.c (alloc_lcrecord): Add more type checking assertions.
17021 (vector_hash): New. Code from internal_hash.
17023 Fix up allocation subsystem comments.
17025 * config.h.in: Add __EXTENSIONS__ for Solaris.
17027 * systime.h (EMACS_GETTIMEOFDAY): New.
17028 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
17029 Remove Solaris-specific code.
17030 Use void* for the (ignored) second arg for gettimeofday().
17032 * elhash.c (hash_table_hash): Implement it, finally.
17033 * elhash.c: Use hashcode_t.
17035 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
17036 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
17038 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
17039 * fns.c (size_bit_vector):
17040 * alloc.c (size_vector):
17041 (make_vector_internal):
17042 (make_bit_vector_internal):
17043 (sweep_bit_vectors_1):
17044 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
17046 2000-02-10 Martin Buchholz <martin@xemacs.org>
17048 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
17049 Include strings.h to avoid warnings for bzero and strcasecmp.
17051 2000-02-10 Olivier Galibert <galibert@pobox.com>
17053 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
17054 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
17056 * fns.c (size_bit_vector): New. Declare bit vectors as a
17059 2000-02-10 Olivier Galibert <galibert@pobox.com>
17061 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
17062 use a value field instead.
17063 (symbol_value_forward_forward): Use value field.
17064 (DEFVAR_SYMVAL_FWD): Use value field.
17065 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
17066 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
17067 (DEFVAR_CONST_INT): Ditto.
17068 (DEFVAR_BOOL): Ditto.
17069 (DEFVAR_CONST_BOOL): Ditto.
17070 (DEFVAR_INT_MAGIC): Ditto.
17071 (DEFVAR_BOOL_MAGIC): Ditto.
17073 * symbols.c (guts_of_unbound_marker): Use value field.
17074 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
17075 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
17077 * lisp.h: Declare dumpopaque and noninteractive1.
17079 * alloc.c (dumpopaque): Added.
17080 (pdump_dump_opaquevec): Added.
17081 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17082 (pdump_load): Reload opaque data. Sync noninteractive1 with
17085 2000-02-10 Andy Piper <andy@xemacs.org>
17087 * glyphs.c (image_instance_layout): if the size changes, mark it
17090 * redisplay-output.c (redisplay_output_layout): Update the
17092 (redisplay_output_subwindow): ditto.
17094 * glyphs.c (update_subwindow): make sure we reset flags for
17095 layouts as well as everything else.
17097 * glyphs-widget.c (layout_layout): don't need to set the instances
17100 2000-02-09 Martin Buchholz <martin@xemacs.org>
17102 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17103 not HAVE_DLOPEN, which is a lower-level thing.
17105 * .cvsignore: Ignore gmon.out
17107 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17109 * .cvsignore: Ignore portable dumper xemacs.dmp file
17111 2000-02-09 Andy Piper <andy@xemacs.org>
17113 * redisplay-output.c (redisplay_output_layout): be more clever
17114 about when we output based on the changed flags.
17116 * glyphs.h (struct image_instantiator_methods): add update_method.
17117 (struct Lisp_Image_Instance): add changed flags. Declare new
17118 macros for manipulating them.
17120 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17121 (image_instance_parent_glyph): find an image_instance's parent
17122 glyph or image_instance.
17123 (image_instance_layout): mark the size as changed.
17124 (set_image_instance_dirty_p): new function. mark an image
17125 instance, plus all of its parents, as dirty.
17126 (Fset_image_instance_property): use it.
17127 (Fglyph_animated_timeout_handler): use it.
17128 (update_subwindow): call update_widget and device methods for
17129 update_subwindow. Mark all changed flags as clean.
17130 (Fresize_subwindow): mark size as changed.
17132 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17134 (x_update_subwindow): only resize subwindows here.
17135 (x_update_widget): new function. Update all changed properties of
17137 (x_resize_subwindow): deleted.
17138 (x_widget_set_property): deleted.
17139 (x_progress_gauge_set_property): deleted.
17140 (x_progress_gauge_update): new function. Implement recorded
17142 (x_tab_control_update): ditto.
17143 (x_tab_control_set_property): deleted.
17144 (console_type_create_glyphs_x): declare new functions.
17145 (image_instantiator_format_create_glyphs_x): ditto.
17147 * glyphs-widget.c (widget_set_property): mark text changed.
17148 (update_widget): new function. Update properties of a widget.
17149 (widget_instantiate): for layouts make sure we set their
17150 children's parent correctly.
17151 (tab_control_set_property): new function. Record changes that will
17152 take place under redisplay's control.
17153 (progress_gauge_set_property): ditto.
17154 (image_instantiator_progress_guage): declare new functions.
17155 (image_instantiator_tab_control): ditto.
17157 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17159 (mswindows_update_widget): new function. Update all properties on
17160 a widget that have changed.
17161 (mswindows_button_update): new function. Update a button's set
17163 (mswindows_tab_control_update): new function. Update the items in
17165 (mswindows_tab_control_set_property): deleted.
17166 (mswindows_progress_gauge_update): new function. Update the
17167 progress gauge's progress.
17168 (mswindows_widget_set_property): deleted. This is all done
17169 asynchronously now.
17170 (mswindows_progress_gauge_set_property): ditto.
17171 (console_type_create_glyphs_mswindows): declare new methods.
17172 (image_instantiator_format_create_glyphs_mswindows): ditto.
17174 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17175 (msprinter_set_frame_properties): ditto.
17177 * console.h (struct console_methods): Add update_widget_method.
17179 2000-02-09 Andy Piper <andy@xemacs.org>
17181 * gui-msw.c (Fmswindows_shell_execute): Make
17182 mswindows-shell-execute industrial strength.
17184 2000-02-08 Martin Buchholz <martin@xemacs.org>
17186 * lrecord.h: Make macro argument `props' match member function `plist'.
17189 * fns.c (Fremprop):
17190 * fns.c (Fobject_plist):
17193 Object property list frobbing cleanup.
17194 - Allow any lisp object (compared with `eq'), not just symbols, as
17195 keys in object plists.
17196 - Move symbol plist frobbing into symbols.c, where it belongs.
17197 - Move string plist frobbing into alloc.c, where it belongs.
17198 - Everything's an lrecord now, so no need to test for symbolp, etc.
17199 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17201 * extents.c: Reorder code to remove declarations.
17203 * frame.h (store_in_alist): Remove useless declaration.
17205 2000-02-07 Martin Buchholz <martin@xemacs.org>
17207 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17208 * config.h.in: Add HAVE_XCONVERTCASE.
17210 2000-02-07 Andy Piper <andy@xemacs.org>
17212 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17213 it breaks many things.
17215 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17217 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17218 actually can start a common comment type.
17219 * src/syntax.h (SYNTAX_END_P): ditto for end.
17221 2000-02-07 Martin Buchholz <martin@xemacs.org>
17223 * XEmacs 21.2.28 is released.
17225 2000-02-06 Martin Buchholz <martin@xemacs.org>
17227 * event-Xt.c (x_keysym_to_character): New.
17228 (maybe_define_x_key_as_self_inserting_character): New.
17229 (x_has_keysym): New.
17230 Auto-define all keys on the keyboard as self-insert-key.
17232 2000-02-02 Martin Buchholz <martin@xemacs.org>
17234 * menubar.c (vars_of_menubar): A small code simplification.
17236 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17239 * ExternalClient.c:
17240 * EmacsShell-sub.c:
17243 Use consistent style for specifying X resources.
17245 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17246 This makes (dontusethis-set-symbol-value-handler) actually usable.
17248 * lrecord.h (lrecord_decription_type):
17249 * alloc.c (pdump_register_sub):
17252 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17253 Comply with XEmacs coding style.
17254 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17255 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17257 * keymap.c (Faccessible_keymaps):
17258 Make (accessible-keymaps map "\C-h") do the Right Thing.
17259 Make (accessible-keymaps map []) do the Right Thing.
17260 Make (accessible-keymaps map "") do the Right Thing.
17261 (check_keymap_definition_loop): New function.
17262 (keymap_store_internal): Keep luser from shooting self in foot,
17263 via (define-key ctl-x-4-map "p" global-map).
17264 Remove fullness slot from struct Lisp_Keymap, since hash tables
17266 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17268 2000-01-30 Martin Buchholz <martin@xemacs.org>
17270 * redisplay.c (init_redisplay): Fix small memory leak.
17272 * elhash.c (pdump_reorganize_hash_table):
17273 Rename from reorganize_hash_table. Change prototype.
17274 Reuse the original memory for hentries. Save 100k.
17275 * alloc.c (PDUMP_READ): new macro.
17276 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17277 * alloc.c: No need to #ifndef before #undef.
17279 * print.c: Allow debug_print() to print readably by modifying
17280 debug_print_readably. Use consistent variable names.
17282 * .dbxrc: Try to get things to work even if stopped in a function
17283 without source available by explicitly specifying source files.
17284 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17286 * unexnt.c (_start): Removed bogus code which caused loading heap
17287 from differrent executable file.
17288 Removed bogus assignment to _fmode, which caused inconsistencies.
17290 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17292 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17293 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17294 Do not preliminary `#define signal sigset'.
17296 * systime.h: Do not prototype environ on windows nt and cygwin,
17297 this conflicts with system header.
17299 * syssignal.h: Use correct define for WINDOWSNT
17301 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17302 with system header.
17304 * sysdep.c (near start of file): Fixed commentary and rearranged
17305 ifdefs in readable order.
17306 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17309 (end_of_data): Do not compile in if using PDUMP.
17311 * symsinit.h: Prototyped vars_of_nt().
17313 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17314 (find_child_console): Use it.
17315 (sys_kill): Use it.
17317 * ntheap.h: Do not extern os_subtype.
17319 * ntheap.c (cache_system_info): Do not cache unneeded:
17320 nt_major_version, nt_minor_version and os_subtype.
17321 (recreate_heap): Do not compile in when PDUMPing.
17323 * nt.c (geteuid and friends): Use the new varibale
17324 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17325 (init_user_info): Removed the above mentioned hackery.
17326 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17327 stat has been fixed in the C runtime.
17328 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17330 * file-coding.c (struct file_coding_dump): Do not define
17331 ucs_to_mule_table in the struct if not MULE.
17332 (struct struct lrecord_description fcd_description_1): Do not dump
17335 * emacs.c (main_1): Call vars_of_nt().
17336 (right before Fdump_emacs_data): Don't need lastfile if using both
17337 portabe dumper and system malloc.
17339 * alloc.c (Fmemory_limit): Conditionalized out.
17340 (pdump): Use OPEN_BINARY for the portable dump file.
17341 (pdump_load): Ditto.
17343 2000-02-02 Mike Alexander <mta@arbortext.com>
17345 * nt.c (convert_time): Set tm_isdst before calling mktime and
17346 avoid calling it at all if the compiler supports 64 bit integers.
17347 Also initialize utc_base_ft before using it.
17349 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17351 * frame.c (change_frame_size_1): Take f->internal_border_width
17352 into consideration when calculating the width of the frame.
17354 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17356 * window.c (frame_min_height):
17357 (frame_size_valid_p):
17358 (frame_pixsize_valid_p): Added.
17359 (check_frame_size): Generalized.
17361 * window.h: Prototyped the above.
17364 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17365 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17366 Deleted Vwin32_* and Vbinary_process_* unused variables.
17368 * device-msw.c (msprinter_init_device): Do not get printer font
17369 list; Added DEVMODE functions.
17371 * frame-msw.c: Added lots of printer code.
17373 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17376 * console-msw.h: Added more msprinter device private slots.
17378 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17380 * event-msw.c (key_needs_default_processing_p): Added.
17381 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17383 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17385 * glyphs.c (image_instance_layout): Mark image instance as clean
17387 (glyph_dirty_p): Removed redundant function.
17388 (invalidate_glyph_geometry_maybe): Added.
17389 (update_glyph_cachel_data): Call it.
17391 * glyphs.h: Prototyped it.
17393 * redisplay.c (add_glyph_rune): Call it.
17394 (redisplay_window): Reset glyphs cachels when frame faces have
17395 changed, thus forcing recomputation of built-in border glyphs.
17397 2000-01-30 Martin Buchholz <martin@xemacs.org>
17399 * Makefile.in.in: Make portable dumper and purify play well together.
17400 Add imperfect, but better than nothing, support for pdump.
17401 Remove xemacs.dmp when temacs is re-generated.
17402 Don't ignore errors when dumping xemacs.
17404 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17406 2000-01-28 Andy Piper <andy@xemacs.org>
17408 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17409 (setup_normal_frame): ditto.
17410 (setup_frame_without_minibuffer): ditto.
17411 (setup_minibuffer_frame): ditto.
17412 (delete_frame_internal): ditto.
17413 (Fmake_frame_invisible): ditto.
17414 (Ficonify_frame): ditto.
17416 * window.h: change Fset_window_buffer signature.
17418 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17419 (Fset_window_buffer): allow recording of buffer if the window is
17420 the selected window.
17421 (window_loop): Use new Fset_window signature.
17423 2000-01-23 Daniel Pittman <daniel@danann.net>
17425 * config.h.in: Added template for `HAVE_ATHENA_3D'
17427 2000-01-29 Andy Piper <andy@xemacs.org>
17429 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17431 * gutter.c (output_gutter): Don't output if the window isn't live.
17433 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17435 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17436 of 01/12/00: Moved SetFocus back here where it belongs.
17438 2000-01-23 Andy Piper <andy@xemacs.org>
17440 * s/cygwin32.h: declare printer things.
17442 2000-01-26 Andy Piper <andy@xemacs.org>
17444 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17447 2000-01-24 Andy Piper <andy@xemacs.org>
17449 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17450 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17452 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17454 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17456 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17458 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17459 (mswindows_output_display_block): Avoid local shadows.
17461 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17462 (mswindows_enqueue_mouse_button_event): ditto.
17463 (mswindows_handle_gui_wm_command): remove declaration.
17465 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17468 * console-msw.h: Avoid shadows.
17469 (mswindows_get_toolbar_button_text):
17470 (emacs_mswindows_create_stream_pair):
17471 (emacs_mswindows_delete_stream_pair):
17472 (mswindows_handle_toolbar_wm_command): declare.
17474 * device-msw.c (build_syscolor_string): Avoid shadows.
17476 2000-01-23 Andy Piper <andy@xemacs.org>
17478 * glyphs-widget.c (widget_instantiate): reverse the items for
17479 layouts so that children are in the expected order.
17481 2000-01-28 Martin Buchholz <martin@xemacs.org>
17483 * ralloc.c: safe_bcopy ==> memmove
17484 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17485 * s/msdos.h: Remove BCOPY macros.
17486 * insdel.c (gap_right): Remove BCOPY conditional code.
17487 * insdel.c (gap_left): Remove BCOPY conditional code.
17488 XEmacs demands a working ANSI C compiler - hence memmove.
17490 * regex.c (regex_compile): Remove accidental use of trigraphs.
17492 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17494 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17497 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17499 * event-msw.c (mswindows_drain_windows_queue): Added the
17501 (mswindows_need_event): Commented the call to
17502 mswindows_drain_windows_queue().
17503 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17506 * console-msw.h: Moved a few function prototypes here from
17509 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17510 parameter from unsigned short to unsigned long.
17511 (Fmswindows_shell_execute): Added return value.
17513 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17515 * sysdep.c (init_system_name):
17516 process-unix.c (unix_canonicalized_host_name):
17517 Don't call freeaddrinfo() if getaddrinfo() fails.
17519 * process-unix.c (unix_open_unix_network_stream):
17520 Moved the code to get a port # into address loop.
17522 2000-01-27 Martin Buchholz <martin@xemacs.org>
17524 * buffer.c (reinit_vars_of_buffer):
17525 The right place to initialize conversion_in_dynarr and
17526 conversion_out_dynarr.
17528 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17530 * process-unix.c (unix_canonicalize_host_name): Muleize.
17531 (unix_open_network_stream): Muleize.
17533 * buffer.h: Fix up prototypes for ralloc.c functions.
17535 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17536 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17537 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17538 instead of gethostbyname()
17539 * process-unix.c: In unix_canonicalize_host_name() and
17540 unix_open_network_stream(), add code to use getaddrinfo()
17541 instead of gethostbyname().
17543 2000-01-27 Daniel Pittman <daniel@danann.net>
17545 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17546 libs when built with flat Athena.
17548 2000-01-27 Martin Buchholz <martin@xemacs.org>
17550 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17551 Use coding standards for function prototypes.
17553 2000-01-25 Martin Buchholz <martin@xemacs.org>
17555 * dialog-msw.c (push_lisp_string_as_unicode):
17556 * doc.c (unparesseuxify_doc_string):
17557 * dired.c (Fuser_name_completion_1):
17558 * dired.c (Fuser_name_all_completions):
17559 * dired.c (free_user_cache):
17560 * dired.c (user_name_completion):
17561 * console-x.c (get_display_arg_connection):
17562 * minibuf.c (clear_echo_area_internal):
17563 * minibuf.c (echo_area_append):
17564 * eldap.c (Fldap_open):
17565 * eldap.c (Fldap_search_internal):
17566 * frame-x.c (x_set_frame_text_value):
17567 * frame-x.c (x_set_frame_properties):
17568 * frame-x.c (x_create_widgets):
17569 * redisplay-tty.c (term_get_fkeys_1):
17570 * objects-x.c (x_parse_nearest_color):
17571 * objects-x.c (x_valid_color_name_p):
17572 * objects-x.c (x_initialize_font_instance):
17573 * objects-x.c (x_list_fonts):
17574 * objects-x.c (x_find_charset_font):
17575 * tooltalk.c (Fadd_tooltalk_message_arg):
17576 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17577 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17578 * process-unix.c (unix_create_process):
17579 * ntproc.c (sys_spawnve):
17580 * sound.c (Fplay_sound_file):
17581 * sound.c (Fplay_sound):
17582 * buffer.c (init_initial_directory):
17583 * buffer.c (init_buffer):
17584 * editfns.c (init_editfns):
17585 * editfns.c (Ftemp_directory):
17586 * editfns.c (Fuser_full_name):
17587 * editfns.c (uncache_home_directory):
17588 * editfns.c (get_home_directory):
17589 * editfns.c (Fuser_home_directory):
17590 * editfns.c (Fformat_time_string):
17591 * editfns.c (Fcurrent_time_string):
17592 * gui-x.c (button_item_to_widget_value):
17593 * database.c (Fopen_database):
17594 * event-Xt.c (x_to_emacs_keysym):
17595 * event-Xt.c (x_event_to_emacs_event):
17596 * event-Xt.c (describe_event_window):
17597 * event-msw.c (mswindows_wnd_proc):
17598 * glyphs-eimage.c (jpeg_instantiate):
17599 * glyphs-eimage.c (gif_instantiate):
17600 * glyphs-eimage.c (png_instantiate):
17601 * glyphs-eimage.c (tiff_instantiate):
17602 * glyphs-x.c (xbm_instantiate_1):
17603 * glyphs-x.c (x_xbm_instantiate):
17604 * glyphs-x.c (x_xface_instantiate):
17605 * glyphs-x.c (autodetect_instantiate):
17606 * glyphs-x.c (cursor_font_instantiate):
17607 * glyphs-x.c (x_widget_instantiate):
17608 * glyphs-x.c (x_widget_set_property):
17609 * glyphs-x.c (x_widget_property):
17610 * glyphs-x.c (BUILD_GLYPH_INST):
17611 * print.c (write_string_to_stdio_stream):
17612 * print.c (output_string):
17613 * print.c (Falternate_debugging_output):
17614 * print.c (Fexternal_debugging_output):
17615 * glyphs-msw.c (extract_xpm_color_names):
17616 * glyphs-msw.c (mswindows_xpm_instantiate):
17617 * glyphs-msw.c (bmp_instantiate):
17618 * glyphs-msw.c (resource_name_to_resource):
17619 * glyphs-msw.c (mswindows_resource_instantiate):
17620 * glyphs-msw.c (xbm_instantiate_1):
17621 * glyphs-msw.c (mswindows_xbm_instantiate):
17622 * glyphs-msw.c (mswindows_xface_instantiate):
17623 * glyphs-msw.c (mswindows_widget_instantiate):
17624 * glyphs-msw.c (add_tree_item):
17625 * glyphs-msw.c (add_tab_item):
17626 * glyphs-msw.c (mswindows_combo_box_instantiate):
17627 * glyphs-msw.c (mswindows_widget_property):
17628 * glyphs-msw.c (mswindows_combo_box_property):
17629 * glyphs-msw.c (mswindows_widget_set_property):
17630 * console.c (stuff_buffered_input):
17631 * objects-msw.c (mswindows_initialize_color_instance):
17632 * objects-msw.c (mswindows_valid_color_name_p):
17633 * objects-msw.c (mswindows_list_fonts):
17634 * objects-msw.c (mswindows_font_instance_truename):
17635 * bytecode.c (optimize_compiled_function):
17636 * select-x.c (symbol_to_x_atom):
17637 * select-x.c (x_atom_to_symbol):
17638 * select-x.c (hack_motif_clipboard_selection):
17639 * select-x.c (selection_data_to_lisp_data):
17640 * select-x.c (lisp_data_to_selection_data):
17641 * select-x.c (Fx_get_cutbuffer_internal):
17642 * select-x.c (Fx_store_cutbuffer_internal):
17643 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17644 * buffer.h (TO_INTERNAL_FORMAT): New function.
17645 * emacs.c (make_arg_list_1):
17646 * emacs.c (make_argc_argv):
17647 * emacs.c (main_1):
17648 * emacs.c (Fdump_emacs):
17649 * emacs.c (split_string_by_emchar_1):
17654 * device-x.c (x_init_device):
17655 * device-x.c (Fx_valid_keysym_name_p):
17656 * device-x.c (Fx_get_font_path):
17657 * device-x.c (Fx_set_font_path):
17658 * glyphs.c (bitmap_to_lisp_data):
17659 * glyphs.c (pixmap_to_lisp_data):
17660 * alloc.c (make_ext_string): Use coding system arguments. Update
17662 * alloc.c (build_string):
17663 * callproc.c (child_setup):
17664 * callproc.c (init_callproc):
17665 * fileio.c (lisp_strerror):
17666 * fileio.c (directory_file_name):
17667 * fileio.c (Fexpand_file_name):
17668 * fileio.c (Ffile_truename):
17669 * fileio.c (Fsysnetunam):
17670 * fileio.c (Fdo_auto_save):
17671 * sysdep.c (sys_readdir):
17672 * tests.c: New file. Allow adding C tests.
17673 Replace GET_* macros with a more comprehensible and flexible
17674 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17676 Any coding system can be used to do format conversion.
17677 Eliminate enum external_data_format.
17678 Eliminate convert_to_external_format.
17679 Eliminate convert_to_internal_format.
17680 Make sure file-name, keyboard, terminal, and ctext are always
17681 defined as coding systems or aliases. Make
17682 file-name-coding-system, terminal-coding-system, and
17683 keyboard-coding-system magical variables that are equivalent to
17684 defining the corresponding coding system aliases.
17686 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17687 * file-coding.c (Fcoding_system_alias_p): New function.
17688 * file-coding.c (Fcoding_system_aliasee): New function.
17689 * file-coding.c (append_suffix_to_symbol): New function.
17690 * file-coding.c (dangling_coding_system_alias_p): New function.
17691 * file-coding.c (Ffind_coding_system):
17692 * file-coding.c (Fcopy_coding_system):
17693 * file-coding.c (encode_coding_no_conversion):
17694 * file-coding.c (syms_of_file_coding):
17695 * file-coding.c (vars_of_file_coding):
17696 Rewrite coding system alias code.
17697 Allow nested aliases, like symbolic links.
17698 Allow redefinition of coding system aliases.
17699 Prevent existence of dangling coding system aliases.
17701 * dired.c (Fuser_name_completion_1):
17702 * dired.c (Fuser_name_all_completions):
17703 A crash would happen if user did QUIT in the middle of building
17704 user_name_cache. Remove redundant code in mainline and unwind_protect.
17707 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17709 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17710 an unsigned char *. Update all callers.
17712 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17714 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17716 2000-01-25 Martin Buchholz <martin@xemacs.org>
17718 * elhash.c (hentry_description): Use more portable definition.
17719 (resize_hash_table): Initialize new hentries using
17720 xnew_array_and_zero, thereby simplifying the code.
17722 * mule-charset.c (make_charset): Make sure entire object is
17723 initialized, to avoid Purify warnings.
17725 * alloc.c (resize_string): Fix unlikely crash with big strings.
17727 2000-01-24 Martin Buchholz <martin@xemacs.org>
17729 * realpath.c (xrealpath):
17730 Don't call getwd().
17732 2000-01-25 Martin Buchholz <martin@xemacs.org>
17734 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17736 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17738 * unexelfsgi.c (unexec): Change the way we decide which segment
17739 should be extended.
17741 Assumption that .bss section should be outside the PT_LOADable
17742 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17743 it's present) is inside the 'data' segment. This would fail the
17744 test which was used to find a segment to grow and cover new
17745 heap. Instead of this assumption, I created another one - on IRIX
17746 the segment to grow should start below .bss and it's address
17747 should extent above the end of .bss. Once this segment is
17748 identified, it's grown to accommodate the new heap and new
17749 zero-length .bss section is added at the end of .data2.
17751 2000-01-25 Martin Buchholz <martin@xemacs.org>
17753 * eval.c (Feval): Wrong number of arguments should use original
17754 function, not the indirect_function version of it.
17756 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17758 * glyphs-x.c (x_button_instantiate): Don't add image if
17759 it is not a pixmap.
17760 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17763 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17765 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17767 (DEFVAR_INT_MAGIC): Ditto.
17768 (DEFVAR_BOOL_MAGIC): Ditto.
17769 * glyphs.h: Reindent backslash.
17771 2000-01-24 Martin Buchholz <martin@xemacs.org>
17773 * glyphs-widget.c (layout_query_geometry):
17774 (layout_layout): Use correct types for gheight, gwidth.
17776 2000-01-24 Martin Buchholz <martin@xemacs.org>
17778 * EmacsManager.c (QueryGeometry): Purified.
17780 2000-01-23 Martin Buchholz <martin@xemacs.org>
17782 * alloc.c (make_float): Make sure entire object is initialized, to
17783 avoid Purify warnings.
17784 (pdump_register_sub): Remove useless assignment.
17785 (pdump): Use xmalloc, not malloc.
17786 (pdump_load): Use xmalloc, not malloc.
17788 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17795 * sysdep.c: Removed redundant #include <windows.h>
17797 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17799 * frame.c (delete_frame_internal): Do not delete device when its
17800 implementation so declares.
17801 (delete_frame_internal): Set device selected frame to nil when
17802 last frame goes away.
17804 * device-msw.c (msprinter_device_system_metrics): Implemented.
17805 (mswindows_device_system_metrics): Added 'device-dpi property.
17807 * device.c: (Fdevice_printer_p): Added.
17808 Added 'offset-workspace device metric.
17810 * console.h (device_metrics): Declared DM_offset_workspace.
17812 2000-01-23 Martin Buchholz <martin@xemacs.org>
17814 * fileio.c (Ffile_truename): Remove pointless and confusing
17815 initialization of elen.
17817 * glyphs-widget.c: Compiler warning fixes.
17819 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17821 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17822 instead of a Lisp_Object as argument to make it consistent with
17823 the other LIVE_P macros.
17824 (CHECK_LIVE_PROCESS): New macro.
17826 * process.c: Declare Qprocess_live_p.
17827 (Fprocess_live_p): New function.
17828 (create_process): Use PROCESS_LIVE_P.
17829 (read_process_output): Ditto.
17830 (set_process_filter): Ditto.
17831 (Fdelete_process): Ditto.
17832 (kill_buffer_processes): Ditto
17833 (process_send_signal): Use CHECK_LIVE_PROCESS.
17834 (Fprocess_input_coding_system): Check whether process is still
17835 alive (fix PR#1061).
17836 (Fprocess_output_coding_system): Ditto.
17837 (Fprocess_coding_system): Ditto.
17838 (Fset_process_input_coding_system): Ditto.
17839 (Fset_process_output_coding_system): Ditto.
17841 2000-01-23 Andy Piper <andy@xemacs.org>
17843 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17846 * glyphs.c (mark_image_instance): take into account changed
17847 image_instance format.
17848 (image_instance_equal): ditto.
17849 (image_instance_hash): ditto.
17851 * glyphs-widget.c (widget_instantiate): Incorporate layout
17852 instantiation here. Delay layout of the layout until later.
17853 (layout_instantiate): deleted.
17854 (layout_query_geometry): new function. get the geometry of a
17856 (layout_layout): layout a layout dynamically.
17857 (image_instantiator_widget): New function - splitting up
17858 image_instantiator_format_create_glyphs_widget for netwinder
17860 (image_instantiator_buttons):
17861 (image_instantiator_edit_fields):
17862 (image_instantiator_combo_box):
17863 (image_instantiator_scrollbar):
17864 (image_instantiator_progress_guage):
17865 (image_instantiator_tree_view):
17866 (image_instantiator_tab_control):
17867 (image_instantiator_labels):
17868 (image_instantiator_layout): ditto.
17869 (image_instantiator_format_create_glyphs_widget): Call preceding
17872 2000-01-22 Martin Buchholz <martin@xemacs.org>
17874 * process.c (Fset_process_coding_system):
17875 * device-x.c (Fx_keysym_hash_table):
17878 * lstream.c (Lstream_write): Return documented value, not 0.
17880 * fileio.c (directory_file_name):
17881 (Fsubstitute_in_file_name):
17882 (Fsubstitute_insert_file_contents_internal):
17883 (Fwrite_region_internal):
17888 Remove vestigial APOLLO-conditional code.
17890 2000-01-21 Martin Buchholz <martin@xemacs.org>
17892 * getpagesize.h: Add guard macros.
17893 * libsst.h: Add guard macros.
17894 * libst.h: Add guard macros.
17895 * line-number.h: Add guard macros.
17896 * ndir.h: Add guard macros.
17897 * sysfloat.h: Add guard macros.
17898 * sysfile.h: Add guard macros.
17899 * sysproc.h: Add guard macros.
17900 * syswait.h: Add guard macros.
17901 * xintrinsic.h: Add guard macros.
17902 * xintrinsicp.h: Add guard macros.
17903 * xmmanager.h: Add guard macros.
17904 * xmmanagerp.h: Add guard macros.
17905 * xmprimitive.h: Add guard macros.
17906 * xmu.h: Add guard macros.
17907 * gpmevent.h: Add copyright statement. Add guard macros.
17908 * miscplay.h: Add guard macros.
17909 * *.h: Use consistent C-standards-approved guard macro names.
17911 * opaque.c (make_opaque): Switch parameter order.
17912 * opaque.h (make_opaque): Switch parameter order.
17913 Update all callers.
17914 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17916 * config.h.in (type_checking_assert): Added.
17917 (bufpos_checking_assert): Added.
17919 2000-01-21 Martin Buchholz <martin@xemacs.org>
17921 * alloc.c: Harmless pdump changes.
17923 - spell alignment correctly.
17924 * sysdep.c: Use countof()
17926 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17928 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17929 initially_selected_for_input() console method, default to 0.
17930 (semi_canonicalize_console_connection): Try to delegate to
17931 canonicalize_console_connection if no such console method.
17932 (canonicalize_console_connection): Vice versa.
17933 (print_console): Do not print nil connection.
17935 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17936 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17937 (XDEVIMPF_FRAMELESS_OK): Added.
17938 (CONSOLE_INHERITS_METHOD): Added.
17940 * console-msw.c (mswindows_canonicalize_console_connection):
17942 (mswindows_canonicalize_device_connection): Added.
17944 * console-msw.h (struct msprinter_device): Added this struct and
17946 (mswindows_device): Made fontlist a lisp object.
17948 * device.c (semi_canonicalize_device_connection): Try to delegate
17949 to canonicalize_device_connection if no such console method.
17950 (canonicalize_device_connection): Vice versa.
17951 (print_device): Do not print nil connection.
17953 * device-msw.c (mswindows_init_device): Call InitCommonControls
17955 (mswindows_delete_device): Removed fontlist deallocation.
17956 (mswindows_mark_device): Added.
17958 * events.c (event_equal): Added abort() at unreached code.
17959 (event_hash): Ditto.
17961 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17962 fallback tags of Windows devices.
17964 * general.c (syms_of_general): Initialized Qmsprinter.
17966 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17967 of fallback tags of Windows devices.
17969 * lisp.h: Declared Qmsprinter.
17971 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17973 (mswindows_list_fonts): Ditto.
17974 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17975 that it can be used by both mswindows and msprinter devices.
17976 (initialize_font_instance): Added.
17977 (mswindows_initialize_font_instance): Use it.
17978 (msprinter_initialize_font_instance): Added.
17980 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17981 and implementation flags check.
17982 (redisplay_without_hooks): Changed the call to the above.
17983 (Fredraw_device): Ditto.
17984 (Fredisplay_device): Ditto.
17986 * redisplay-msw.c (get_frame_dc): Implemented.
17987 (get_frame_compdc): Implemented.
17988 (many functions): Use the two functions above to get device
17989 contexts, ether for a window or a printer.
17991 2000-01-21 Olivier Galibert <galibert@pobox.com>
17993 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17994 initialization here.
17995 (init_symbols_once_early): Call it.
17996 * emacs.c (main_1): Call it.
17997 * symsinit.h: Declare it.
17999 2000-01-19 Olivier Galibert <galibert@pobox.com>
18001 * alloc.c: Use a lrecord_header * in the backtrace instead of a
18003 (pdump_backtrace): Ditto.
18004 (pdump_register_object): Ditto. Cleanup use of the pointers.
18005 (pdump_get_entry): Abort if trying to register a null pointer.
18006 (pdump_dump_data): Cleanup types when relocating.
18007 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
18008 (pdump_dump_rtables): Remove bad casts.
18009 (pdump_load): Cleanup relocation w.r.t union type. Use a
18010 Lisp_Object instead of a EMACS_INT for the hashtable
18013 2000-01-20 Martin Buchholz <martin@xemacs.org>
18015 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
18017 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
18019 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
18021 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
18023 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18025 * faces.h (FACE_STRIKETHRU_P): Added.
18027 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
18030 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
18031 (mswindows_set_dc_font): New function, aware of font variants,
18032 separated from mswindows_update_dc.
18034 * objects-msw.h (struct mswindows_font_instance_data): Added
18037 * objects-msw.c (mswindows_finalize_font_instance): Delete all
18038 cached fonts and the data structure.
18039 (mswindows_initialize_font_instance): Added creation of font data
18041 (mswindows_print_font_instance): Print at least something.
18042 (mswindows_create_font_variant): Implemented.
18043 (mswindows_get_hfont): Implemented.
18045 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
18047 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
18048 prototyping problem with msvc.
18050 * emacs.c (main_1): added syms_of_gui_mswindows() call
18052 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
18053 syms_of_gui_mswindows() function
18055 * symsinit.h: added the prototype for syms_of_gui_mswindows()
18057 2000-01-18 Martin Buchholz <martin@xemacs.org>
18059 * XEmacs 21.2.27 is released.
18061 2000-01-18 Martin Buchholz <martin@xemacs.org>
18063 * glyphs-eimage.c (struct tiff_error_struct):
18065 (tiff_warning_func):
18066 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
18071 * unexec.c: Remove vestigial Lucid C code.
18075 * libsst.c: Ansify.
18076 Remove declarations of errno and strerror().
18078 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18080 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18082 2000-01-16 Martin Buchholz <martin@xemacs.org>
18084 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18087 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18092 Change enum eol_type to eol_type_t.
18094 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18096 * gui.c (get_gui_callback): Check cons before accessing car.
18098 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18100 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18101 (XSETSPECIFIER_TYPE): Ditto.
18103 2000-01-17 Didier Verna <didier@xemacs.org>
18105 * redisplay.c (generate_fstring_runes): compute string size in
18106 characters, not bytes.
18108 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18110 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18112 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18114 * print.c (print_error_message): Call print_prepare().
18116 2000-01-14 Martin Buchholz <martin@xemacs.org>
18118 * .dbxrc: Renamed from dbxrc.
18120 * events.c (event_to_character):
18121 Use `assert (foo)' instead of `if (!foo) abort()'
18123 * .gdbinit (xtype): Add documentation.
18124 * .gdbinit (check-temacs): New function.
18125 * .gdbinit (check-xemacs): New function.
18126 * dbxrc (check-xemacs): New function.
18127 * dbxrc (check-xemacs): New function.
18129 2000-01-14 Andy Piper <andy@xemacs.org>
18131 * glyphs-widget.c (widget_query_geometry): Make sure that we
18132 calculate default dimensions correctly.
18134 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18136 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18138 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18139 pdump_wire'd variable.
18141 * emacs.c: (main_1): Conditionalized calls to
18142 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18144 2000-01-13 Martin Buchholz <martin@xemacs.org>
18146 * window.c (Fset_window_configuration):
18147 * sysdep.c (_start):
18148 * input-method-motif.c (res):
18149 * event-Xt.c (Xt_process_to_emacs_event):
18150 Simple compiler warning fixes.
18152 * bytecode.c (funcall_compiled_function): Use the original
18153 function symbol on the backtrace list in preference to the
18154 compiled_function object in error messages.
18156 2000-01-13 Andy Piper <andy@xemacs.org>
18158 * glyphs-x.c (update_widget_face): Make sure we update the widget
18159 background as well as foreground.
18161 2000-01-13 Andy Piper <andy@xemacs.org>
18163 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18164 fields to subwindow.
18165 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18166 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18167 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18168 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18170 * glyphs-widget.c (check_valid_tab_orientation): new function.
18171 (initialize_widget_image_instance): zero orientation and
18173 (widget_instantiate): pick up orientation.
18174 (tab_control_query_geometry): return appropriate values for
18177 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18178 appropriate creation flags for left, right and bottom tabs.
18180 * s/cygwin32.h: add tab definitions.
18182 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18184 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18185 frame upon hiding a subwindow.
18186 (mswindows_button_instantiate): Changed the push button style to
18188 (mswindows_button_instantiate): Removed button BS_NOTIFY
18190 (mswindows_button_instantiate): Removed redundant check for
18191 a disabled gui item.
18192 (mswindows_button_instantiate): Made use of WS_TABSTOP
18193 consistent: "operable" controls (edit, button, tree, scroll) have
18194 this style, "display-only" ones (static, progress gauge) do
18195 not. This style is currently ignored by XEmacs though. Also,
18196 removed the WS_EX_CONTROLPARENT style - it is not for children,
18197 it is for their parents!
18198 (mswindows_edit_field_instantiate): Ditto.
18199 (mswindows_progress_gauge_instantiate): Ditto.
18200 (mswindows_tree_view_instantiate): Ditto.
18201 (mswindows_tab_control_instantiate): Ditto.
18202 (mswindows_scrollbar_instantiate): Ditto.
18203 (mswindows_combo_box_instantiate): Ditto.
18204 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18205 style to the "clip" window.
18206 (mswindows_button_instantiate): Removed compilation warning by
18207 equally typing terms of the ?: operator.
18209 2000-01-12 Didier Verna <didier@xemacs.org>
18211 * redisplay.c (generate_fstring_runes): new parameter holding the
18212 last modeline-format extent.
18213 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18214 extent, fill the glyph block with it.
18215 (generate_fstring_runes): handle these parameters.
18216 (generate_formatted_string_db): ditto.
18218 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18219 glyphs'extents in the modeline.
18221 1999-01-11 Mike Woolley <mike@bulsara.com>
18223 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18224 256Mb, as a workaround for the non-starting problem many people
18227 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18229 * console-tty.c (Fset_console_tty_output_coding_system):
18230 Force redrawing tty frame.
18232 2000-01-10 Didier Verna <didier@xemacs.org>
18234 * redisplay.c (generate_fstring_runes): fix size computation bug.
18236 2000-01-09 William M. Perry <wmperry@aventail.com>
18238 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18240 2000-01-09 Andy Piper <andy@xemacs.org>
18242 * glyphs-msw.c: index -> i to avoid shadows.
18243 (xbm_create_bitmap_from_data): make static.
18244 (check_valid_string_or_int): deleted.
18245 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18247 * glyphs-x.c (x_update_subwindow): remove unused args.
18249 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18250 back pointer - this is done in allocate_image_instance.
18251 (query_string_font): return Qnil to make the compiler happy.
18252 (unmap_subwindow): set to ~0 to make the compiler happy.
18253 (glyph_query_geometry): comment out until used.
18254 (glyph_layout): ditto.
18256 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18258 * insdel.c (signal_after_change): Remove extraneous unbind_to().